{"openapi":"3.0.2","info":{"title":"VInoc Connect - API","description":"Sistema informático programable por interfaces (“API”, por sus siglas en inglés) de telecomunicaciones fijas y móviles.","license":{"name":"VInoc Connect - Todos los derechos reservados (2026)","url":"https://impi.gob.mx/03-2022-091915453000-01"},"version":"kanary"},"paths":{"/geo/{LAT}/{LONG}/{MAX}":{"get":{"tags":["Geolocation"],"summary":"Get the closest points of precence to the user","description":"Get.Geo\nThis locate the nearest geolocalization from our fiber optic providers and return the geometry of the nerest sectors.\nParameters:\n        - **LAT:** -> Latitude of the point of interest\n        - **LONG:** -> Longitude of the point of interest\n        - **MAX:** -> Max distance for query in meters\nResults: Return the geometry of the nerest sectors.","operationId":"geo_geo__LAT___LONG___MAX__get","parameters":[{"description":"This is the latitude. Its required","required":true,"schema":{"title":"Latitude","type":"number","description":"This is the latitude. Its required"},"example":-99.19216632558293,"name":"LAT","in":"path"},{"description":"This is the longitude. Its required","required":true,"schema":{"title":"Longitude","type":"number","description":"This is the longitude. Its required"},"example":18.943167575627836,"name":"LONG","in":"path"},{"description":"Max distance for query allowed lte 10,000[m]. Default 100[m]","required":true,"schema":{"title":"Query Distance","type":"integer","description":"Max distance for query allowed lte 10,000[m]. Default 100[m]","lte":10000},"example":100,"name":"MAX","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/":{"get":{"tags":["Firebase Auth"],"summary":"Welcome to the Auth","operationId":"home_auth__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/token/get_token":{"post":{"tags":["Firebase Auth"],"summary":"Get the idToken to Authorize in this API","description":"Get FireBase Barrer Token\n\nThis method return the Barrer Token used to make request to this API.\n\nRequires:\n\n    - username: EmailStr\n    - password: str\n\nReturns:\n\n    - FirebaseResponseToken","operationId":"get_fb_token_barrer_auth_token_get_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FireBaseUserLoginBasic"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirebaseResponseToken"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/token/firebase":{"post":{"tags":["Firebase Auth"],"summary":"Authorize method used by this GUI","operationId":"token_firebase_auth_token_firebase_post","parameters":[{"required":true,"schema":{"title":"Scheme","type":"string"},"name":"scheme","in":"query"},{"required":true,"schema":{"title":"Credentials","type":"string"},"name":"credentials","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/token/firebase/me":{"get":{"tags":["Firebase Auth"],"summary":"Get information of your account.","operationId":"token_firebase_me_auth_token_firebase_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FireBaseUser"}}}}},"security":[{"HTTPBearer":[]}]}},"/auth/token/legacy/token":{"get":{"tags":["Firebase Auth"],"summary":"Get all Genereted Legacy Token","description":"This return all the Generated Legacy Token for a Given User.\n\nRequires:\n\n\nReturn:\n\n    - List[UserLegacyTokensResponse]","operationId":"get_my_legay_tokens_auth_token_legacy_token_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["Firebase Auth"],"summary":"Generate a Legacy Token","description":"Generate a Legacy Token.\n\nThis generates a token to be used with some legacy methods in this API.\n\nRemember that anyone who owns a bearer token can use it instead of its rightful owner, and can do whatever this token can do.\n\nIf you are developing from scratch, you should use our Auth Method instead.\n\nRequires:\n\n    - expire_days:  This field is required.\n\nReturns:\n\n    - token","operationId":"generate_legay_token_auth_token_legacy_token_post","parameters":[{"description":"Generate a Token Expire in Days","required":false,"schema":{"title":"Token Expire","type":"integer","description":"Generate a Token Expire in Days","default":1},"example":1,"name":"expire_days","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/auth/token/legacy/token/{token_uuid4}":{"delete":{"tags":["Firebase Auth"],"summary":"Deleate a Legacy Token from given account","description":"This deletes the Given Legacy Token from the account.\n\n\nRequires\n\n    - token_uuid4\n\nReturns\n\n    - none","operationId":"deleate_legay_token_auth_token_legacy_token__token_uuid4__delete","parameters":[{"required":true,"schema":{"title":"Token Uuid4","type":"string","format":"uuid4"},"name":"token_uuid4","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/account/profile":{"get":{"tags":["Account Profile"],"summary":"Get Account Profile","description":"Get Account Profile\n\nThis get the Account Profile\n\nRequieres:\n\n    -\n\nReturns:\n\n    - UserProfileResponse","operationId":"get_account_profile_connect_account_profile_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProfileResponse"}}}}},"security":[{"HTTPBearer":[]}]},"put":{"tags":["Account Profile"],"summary":"Edit Profile","description":"Edit an Account Profile\n\nThis edit an Account Profile to be abble to use the system and receive legal invoices.\n\nParams:\n\n    - UserProfileEditAllowed\n\nReturns:\n\n    - UserProfileResponse","operationId":"edit_profile_connect_account_profile_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProfileEditAllowed"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProfileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["Account Profile"],"summary":"New Profile","description":"Create a new Account Profile\n\nThis creates a new Account Profile to be abble to use the system and receive legal invoices.\n\nParams:\n\n    - UserProfileEditAllowed\n\nReturns:\n\n    - UserProfileResponse","operationId":"new_profile_connect_account_profile_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProfileEditAllowed"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProfileResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/account/otp_generate":{"post":{"tags":["Account Profile"],"summary":"Otp Generate","description":"Generate a OPT to Confirm Mobile Phone from a User.\n\nThis sends a OTP code to the user registered phone number if not confirmed yet.\n\nParameters:\n\n-\n\nReturn: MobileOTPToken","operationId":"otp_generate_connect_account_otp_generate_post","responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/account/otp_mobile_verification":{"post":{"tags":["Account Profile"],"summary":"Otp With Token Confirmation","description":"Confirm Mobile Phone of a User.\n\nParameters:\n    - UserOTP(Model)\n        -- jwt_token : str\n        -- otpCode : str\n\nReturn:\n\n    - UserProfileResponse","operationId":"otp_with_token_confirmation_connect_account_otp_mobile_verification_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserOTP"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/contact_us/form":{"post":{"tags":["Connect - Contact US"],"summary":"Post New Contact Form","description":"Contact Us Form\n\nThis send a message to our team to contact you back.\n\nThis request is only available through our site web, you should get a recapcha token to be able to send a message.\n\nRecapcha Site Key: 6LeKGyIqAAAAAD0N8HKt_Rg1R5YXk_2cjd9B_mYj\n\nParameters:\n\n    - contact_us: ContactUsForm  (Schema)\n    - recaptcha_request: RecaptchaRequestFrontend (Schema)\n    - tracking: TrackingData (Schema, opcional) - atribucion de campanas\n\nReturn: ContactUsResponse (201 nuevo Lead, 200 si el event_id ya existia)","operationId":"post_new_contact_form_connect_contact_us_form_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_post_new_contact_form_connect_contact_us_form_post"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactUsResponse"}}}},"200":{"description":"event_id ya registrado; se devuelve el Lead existente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactUsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/connect/contact_us/mailgun-webhook/":{"post":{"tags":["Connect - Contact US"],"summary":"Mailgun Webhook","description":"Endpoint to process incoming emails from Mailgun's webhook.","operationId":"mailgun_webhook_connect_contact_us_mailgun_webhook__post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_mailgun_webhook_connect_contact_us_mailgun_webhook__post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/connect/contact_us/mailgun-create-jira-issue/":{"post":{"tags":["Connect - Contact US"],"summary":"Mailgun Webhook","description":"Endpoint to process incoming emails from Mailgun's webhook and send it to JIRA as an issue.\nPlease contact us at noc@vinoc.mx to use this feature. ","operationId":"mailgun_webhook_connect_contact_us_mailgun_create_jira_issue__post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_mailgun_webhook_connect_contact_us_mailgun_create_jira_issue__post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/connect/organization/new":{"post":{"tags":["Connect - Organization"],"summary":"Post New Organization","description":"Post New Organization\n\nCreate a new Organization for the user\n\nParameters:\n\n- OrganizationModel()\n\nReturn: Organization()","operationId":"post_new_organization_connect_organization_new_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationModel"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organization"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/organization/by_uuid/{uuid}":{"get":{"tags":["Connect - Organization"],"summary":"Get Organization By Uuid","description":"Get Organization by uuid\n\nGet Organization of a loged in user by uuid\n\nParameters:\n\n-  Organziation(uuid)\n\nReturn: Organization","operationId":"get_organization_by_uuid_connect_organization_by_uuid__uuid__get","parameters":[{"required":true,"schema":{"title":"Uuid","type":"string","format":"uuid3"},"name":"uuid","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organization"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]},"put":{"tags":["Connect - Organization"],"summary":"Edit Organization","description":"Edit Organization by uuid\n\nThis methoed edit a Organization of a loged in user by OrganizationModel and existing uuid.\n\nParameters\n\n- OrganizationModel\n\n-- UUID3 of the organization to edit its required\n\nReturn Organization","operationId":"edit_organization_connect_organization_by_uuid__uuid__put","parameters":[{"required":true,"schema":{"title":"Uuid","type":"string","format":"uuid3"},"name":"uuid","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationModel"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organization"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]},"delete":{"tags":["Connect - Organization"],"summary":"Delete Organization","description":"Delete Organization by uuid\n\nThis method delete a Organization of a loged in user by uuid\n\nParameters:\n\n- Organization(uuid=UUID3)\n\nReturn HTTP CODE 200","operationId":"delete_organization_connect_organization_by_uuid__uuid__delete","parameters":[{"required":true,"schema":{"title":"Uuid","type":"string","format":"uuid3"},"name":"uuid","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/organization/my_organizations":{"get":{"tags":["Connect - Organization"],"summary":"Get My Organizations","description":"Get all my Organizations\n\nGet all organizations from the current user\n\nParameters:\n\n-  None\n\nReturn: List[Organization]","operationId":"get_my_organizations_connect_organization_my_organizations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get My Organizations Connect Organization My Organizations Get","type":"array","items":{"$ref":"#/components/schemas/Organization"}}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/organization_users/get_all/full":{"get":{"tags":["Connect - Organization Users"],"summary":"Get Organization Users Full View","description":"Get All Users in a given organization.\n\nThis method return the UserResponse in a given organization query param.\n\nRequires:\n\n    -  organization : str = Query ( required, default=\"default\" )\n\nPagination:\n\n    - limit : int = Query()\n    - offset : int = Query()\n\nReturns:\n\nPagination of\n    - List[UserResponse] sorted by extensionNumber","operationId":"get_organization_users_full_view_connect_organization_users_get_all_full_get","parameters":[{"description":"This is the organization name controled by the user, returned as UUID3. \n Use str(default) until multitentant is fully implemented.","required":false,"schema":{"title":"Organization name","type":"string","description":"This is the organization name controled by the user, returned as UUID3. \n Use str(default) until multitentant is fully implemented.","default":"default"},"example":"default","name":"organization","in":"query"},{"description":"This is the maximum number of results to return","required":false,"schema":{"title":"Pagination","exclusiveMaximum":1000.0,"type":"integer","description":"This is the maximum number of results to return","default":10},"example":100,"name":"limit","in":"query"},{"description":"Pointer in ordered request query","required":false,"schema":{"title":"Offset","type":"integer","description":"Pointer in ordered request query","default":0},"example":0,"name":"offset","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Organization Users Full View Connect Organization Users Get All Full Get","type":"array","items":{"$ref":"#/components/schemas/UserResponse"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/organization_users/get_all/dashboard":{"get":{"tags":["Connect - Organization Users"],"summary":"Get Organization Users Dashboard View","description":"Get All Users in a given organization.\n\nThis method return the UserResponseDashboard in a given organization query param.\n\nRequires:\n\n    -  organization : str = Query ( required, default=\"default\" )\n\nPagination:\n\n    - limit : int = Query()\n    - offset : int = Query()\n\nReturns:\n\nPagination of\n    - List[UserResponseDashboard] sorted by extensionNumber","operationId":"get_organization_users_dashboard_view_connect_organization_users_get_all_dashboard_get","parameters":[{"description":"This is the organization name controled by the user, returned as UUID3. \n Use str(default) until multitentant is fully implemented.","required":false,"schema":{"title":"Organization name","type":"string","description":"This is the organization name controled by the user, returned as UUID3. \n Use str(default) until multitentant is fully implemented.","default":"default"},"example":"default","name":"organization","in":"query"},{"description":"This is the maximum number of results to return","required":false,"schema":{"title":"Pagination","exclusiveMaximum":1000.0,"type":"integer","description":"This is the maximum number of results to return","default":10},"example":100,"name":"limit","in":"query"},{"description":"Pointer in ordered request query","required":false,"schema":{"title":"Offset","type":"integer","description":"Pointer in ordered request query","default":0},"example":0,"name":"offset","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Organization Users Dashboard View Connect Organization Users Get All Dashboard Get","type":"array","items":{"$ref":"#/components/schemas/UserResponseDashboardView"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/organization_users/new":{"post":{"tags":["Connect - Organization Users"],"summary":"Post Organization User","description":"Post User in a organization\n\nThis method post a new User into the system for a given organization and auth user.\n\n\nRequires:\n\n    -  data: UserModel\n    -  organization: str = default (Until implemented multitenant functions)\n\nReturns:\n\n    - UserResponse","operationId":"post_organization_user_connect_organization_users_new_post","parameters":[{"required":false,"schema":{"title":"Organization","type":"string","default":"default"},"name":"organization","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserModel"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/organization_users/get/{organization_user_uuid3}":{"get":{"tags":["Connect - Organization Users"],"summary":"Get Organization User","description":"Get  User in a given organization.\n\nThis method return the UserResponse in a given organization-\n\nRequires:\n\n    - organization_user_uuid3 : str(UUID3) = Path(required)\n    - organization : str = Query (default=\"default\")\n\nReturns:\n    -  UserResponse","operationId":"get_organization_user_connect_organization_users_get__organization_user_uuid3__get","parameters":[{"required":true,"schema":{"title":"Organization User Uuid3","type":"string","format":"uuid3"},"name":"organization_user_uuid3","in":"path"},{"description":"This is the organization name controled by the user, returned as UUID3. \n Use str(default) until multitentant is fully implemented.","required":false,"schema":{"title":"Organization name","type":"string","description":"This is the organization name controled by the user, returned as UUID3. \n Use str(default) until multitentant is fully implemented.","default":"default"},"example":"default","name":"organization","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/organization_users/put/{organization_user_uuid3}":{"put":{"tags":["Connect - Organization Users"],"summary":"Put Organization User","description":"Get  User in a given organization.\n\nThis method return the UserResponse in a given organization-\n\nRequires:\n\n    - UserModel\n\nReturns:\n    -  UserResponse","operationId":"put_organization_user_connect_organization_users_put__organization_user_uuid3__put","parameters":[{"required":true,"schema":{"title":"Organization User Uuid3","type":"string","format":"uuid3"},"name":"organization_user_uuid3","in":"path"},{"description":"This is the organization name controled by the user, returned as UUID3. \n Use str(default) until multitentant is fully implemented.","required":false,"schema":{"title":"Organization name","type":"string","description":"This is the organization name controled by the user, returned as UUID3. \n Use str(default) until multitentant is fully implemented.","default":"default"},"example":"default","name":"organization","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserModel"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/organization_users/delete/{organization_user_uuid3}":{"delete":{"tags":["Connect - Organization Users"],"summary":"Delete Organization User","description":"Delete  User in a given organization.\n\nThis method delete  a User in a given organization-\n\nRequires:\n\n    - organization_user_uuid3\n\nReturns:\n    -  {}","operationId":"delete_organization_user_connect_organization_users_delete__organization_user_uuid3__delete","parameters":[{"required":true,"schema":{"title":"Organization User Uuid3","type":"string","format":"uuid3"},"name":"organization_user_uuid3","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/organization_users/devices/new":{"post":{"tags":["Connect - Organzation Users - Devices"],"summary":"Post New Device","description":"Create a new Device\n\nThis creates a Devices in a given User and Organization.\n\nParameters:\n\n- device : DeviceResponse (Model)\n\nReturn: DeviceResponse (Model)","operationId":"post_new_device_connect_organization_users_devices_new_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_post_new_device_connect_organization_users_devices_new_post"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/organization_users/devices/delete/{device_uuid}":{"delete":{"tags":["Connect - Organzation Users - Devices"],"summary":"Delete Device","description":"Delete a  Device\n\nThis delete a Devices Collection in a given User and Organization.\n\nParameters:\n\n- device_uuid\n\nReturn: {}","operationId":"delete_device_connect_organization_users_devices_delete__device_uuid__delete","parameters":[{"required":true,"schema":{"title":"Device Uuid","type":"string"},"name":"device_uuid","in":"path"}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/organization_users/devices/all":{"get":{"tags":["Connect - Organzation Users - Devices"],"summary":"Get All Devices","description":"Get all  Devices in a organization.\n\nThis gets all the devices in a given user and organization.\n\nParameters:\n\n-\n\nReturn: List[DeviceResponse]","operationId":"get_all_devices_connect_organization_users_devices_all_get","parameters":[{"required":false,"schema":{"title":"Organization","maxLength":500,"minLength":1,"type":"string","default":"default"},"name":"organization","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get All Devices Connect Organization Users Devices All Get","type":"array","items":{"$ref":"#/components/schemas/DeviceResponse"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/organization_users/devices/get/{device_uuid}":{"get":{"tags":["Connect - Organzation Users - Devices"],"summary":"Get Device By Uuid","description":"Get Device by UUID\n\nThis device owned by the user\n\nParameters:\n\n-  device_uuid\n\nReturn: DeviceResponse","operationId":"get_device_by_uuid_connect_organization_users_devices_get__device_uuid__get","parameters":[{"required":true,"schema":{"title":"Device Uuid","type":"string","format":"uuid4"},"name":"device_uuid","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/organization_users/devices/put/{device_uuid}":{"put":{"tags":["Connect - Organzation Users - Devices"],"summary":"Put Device By Uuid","description":"Edit Device by UUID\n\nThis edit a device owned by the user\n\nParameters:\n\n-  device_uuid\n\nReturn: DeviceResponse","operationId":"put_device_by_uuid_connect_organization_users_devices_put__device_uuid__put","parameters":[{"required":true,"schema":{"title":"Device Uuid","type":"string","format":"uuid4"},"name":"device_uuid","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/campaign/new":{"post":{"tags":["Connect - Campaign"],"summary":"Post New Campain","description":"Post New Campain\n\nCreate a new Campain for the user\n\nParameters:\n\n- CampainBase\n    - cron_job: CronJob() - Unix type - Example: https://crontab.guru/\n- organization\n\nReturn: Campain model created","operationId":"post_new_campain_connect_campaign_new_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/campaign/uuid/{campaign_uuid3}":{"get":{"tags":["Connect - Campaign"],"summary":"Get Campain Uuid","description":"Get Campain by UUID\n\nThis search for Campain by UUID return one if exist or error 404 if not.\n\nParameters:\n\n- campain_uuid: str\n\nReturn: Campain","operationId":"get_campain_uuid_connect_campaign_uuid__campaign_uuid3__get","parameters":[{"required":true,"schema":{"title":"Campaign Uuid3","type":"string","format":"uuid3"},"name":"campaign_uuid3","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"title":"Organization Name","type":"string"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]},"delete":{"tags":["Connect - Campaign"],"summary":"Delete Campain Uuid","description":"Del Campain by UUID\n\nThis delete a Campain by UUID\n\nParameters:\n\n    - campain_uuid: str\n\nReturn: Delete","operationId":"delete_campain_uuid_connect_campaign_uuid__campaign_uuid3__delete","parameters":[{"required":true,"schema":{"title":"Campaign Uuid3","type":"string","format":"uuid3"},"name":"campaign_uuid3","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"title":"Organization Name","type":"string"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/campaign/get_all":{"get":{"tags":["Connect - Campaign"],"summary":"Get All Campains","description":"Get all Campains\n\nThis gets all the campains active and paused by a given user\n\nReturn: List[Campain]","operationId":"get_all_campains_connect_campaign_get_all_get","requestBody":{"content":{"application/json":{"schema":{"title":"Organization Name","type":"string"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get All Campains Connect Campaign Get All Get","type":"array","items":{"$ref":"#/components/schemas/CampaignResponse"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/campaign/dashboard/all":{"get":{"tags":["Connect - Campaign"],"summary":"Get Dashboard All Campains","description":"Get all Campains with dashboard metadata\n\nThis gets all the campains active and paused by a given user,\nincluding paginated results and global dashboard counters.\n\nReturn: CampaignDashboardResponse","operationId":"get_dashboard_all_campains_connect_campaign_dashboard_all_get","parameters":[{"description":"Page index starting from 0","required":false,"schema":{"title":"Page Index","minimum":0.0,"type":"integer","description":"Page index starting from 0","default":0},"name":"pageIndex","in":"query"},{"description":"This is the maximum number of results to return in the requested page","required":false,"schema":{"title":"Page Size","maximum":1000.0,"type":"integer","description":"This is the maximum number of results to return in the requested page","default":10},"name":"pageSize","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"title":"Organization Name","type":"string"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignDashboardResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/campaign/uuid/{campaign_uuid}":{"put":{"tags":["Connect - Campaign"],"summary":"Edit Campaign","description":"Edit Campaign by UUID\n\nThis edit a Campaign by UUID\n\nParameters:\n\n- Campaign\n\nReturn: Campaign","operationId":"edit_campaign_connect_campaign_uuid__campaign_uuid__put","parameters":[{"required":true,"schema":{"title":"Campaign Uuid","type":"string","format":"uuid3"},"name":"campaign_uuid","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignBase"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/campaign/run_now/{campaign_uuid3}":{"post":{"tags":["Connect - Campaign"],"summary":"Manual Run Campaign","description":"Manually triggers a campaign execution by dropping an execution task. ","operationId":"manual_run_campaign_connect_campaign_run_now__campaign_uuid3__post","parameters":[{"required":true,"schema":{"title":"Campaign Uuid3","type":"string","format":"uuid3"},"name":"campaign_uuid3","in":"path"}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/campaign/queue-status":{"get":{"tags":["Connect - Campaign"],"summary":"Get User Campaign Queue Status","description":"Returns the real-time operational state and percentage advancement of running campaigns\nfrom Redis Memory explicitly enforcing user identity logic.","operationId":"get_user_campaign_queue_status_connect_campaign_queue_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get User Campaign Queue Status Connect Campaign Queue Status Get","type":"array","items":{"$ref":"#/components/schemas/CampaignQueueStatusResponse"}}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/campaign/cancel_campaign_job/{campaign_uuid3}/{campaign_job_uuid4}":{"post":{"tags":["Connect - Campaign"],"summary":"Cancel Campaign Job User","description":"Cancel a running campaign job directly. Security checks owner natively against Firebase Token.","operationId":"cancel_campaign_job_user_connect_campaign_cancel_campaign_job__campaign_uuid3___campaign_job_uuid4__post","parameters":[{"required":true,"schema":{"title":"Campaign Uuid3","type":"string","format":"uuid3"},"name":"campaign_uuid3","in":"path"},{"required":true,"schema":{"title":"Campaign Job Uuid4","type":"string","format":"uuid"},"name":"campaign_job_uuid4","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/campaign_reports/all_jobs/{campaign_uuid3}":{"get":{"tags":["Connect - Campaign Reports"],"summary":"Get All Campaign Jobs","description":"Get Campaign Jobs by Campaign UUID3\n\nThis returns the paginated runed jobs.\n\nParameters:\n\n-  campaign_uuid3\n-  pageIndex\n-  pageSize\n\nReturn: CampaignJobReportPaginationResponse","operationId":"get_all_campaign_jobs_connect_campaign_reports_all_jobs__campaign_uuid3__get","parameters":[{"required":true,"schema":{"title":"Campaign Uuid3","type":"string","format":"uuid3"},"name":"campaign_uuid3","in":"path"},{"required":false,"schema":{"title":"Pageindex","minimum":0.0,"type":"integer","default":0},"name":"pageIndex","in":"query"},{"required":false,"schema":{"title":"Pagesize","maximum":100.0,"minimum":1.0,"type":"integer","default":10},"name":"pageSize","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignJobReportPaginationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/campaign_reports/get_job/{campaign_job_uuid4}":{"get":{"tags":["Connect - Campaign Reports"],"summary":"Get Campaign Job","description":"Get Campaign Job by campaign_job_uuid4\n\nThis returns the full view of the requested job with all the messages and responses.\n\nParameters:\n\n-  campaign_job_uuid4\n\nReturn: CampaignJobReportResponse","operationId":"get_campaign_job_connect_campaign_reports_get_job__campaign_job_uuid4__get","parameters":[{"required":true,"schema":{"title":"Campaign Job Uuid4","type":"string","format":"uuid4"},"name":"campaign_job_uuid4","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampaignJobReportResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/contacts/list/get_all":{"get":{"tags":["Connect - Contacts"],"summary":"Get All List Of Contacts","operationId":"get_all_list_of_contacts_connect_contacts_list_get_all_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get All List Of Contacts Connect Contacts List Get All Get","type":"array","items":{"$ref":"#/components/schemas/ListResponseDasboard"}}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/contacts/list/new":{"post":{"tags":["Connect - Contacts"],"summary":"Post New List","description":"Post New Contact List\n\nThis creates a new and Unique Contact List for the user\n\nParameters:\n\n    - ListModel\n\nReturn: ListDocument","operationId":"post_new_list_connect_contacts_list_new_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListModel"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListDocument"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/contacts/list/update/{list_uuid}":{"put":{"tags":["Connect - Contacts"],"summary":"Update List","description":"Update Contact List\n\nThis updates a Contact List for the user\n\nParameters:\n\n    - ListModel\n\nReturn: ListDocument","operationId":"update_list_connect_contacts_list_update__list_uuid__put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListUpdateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponseDasboard"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/contacts/list/contact/new":{"post":{"tags":["Connect - Contacts"],"summary":"Post New Contacts","description":"Post new contacts in a given List name\n\nThis  push contacts into a given list name, if a phone number its provided it will be classificate as Enum(Phone) authomaticly.\nIf the listName does not exist, will return Error 404.\n\nParameters:\n\n    - listName  : str\n    - contacts : List[ContactModel]\n\nReturn: Error or success with HTTP code 201","operationId":"post_new_contacts_connect_contacts_list_contact_new_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_post_new_contacts_connect_contacts_list_contact_new_post"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/contacts/list/uuid/{list_uuid}":{"get":{"tags":["Connect - Contacts"],"summary":"Get List Of Contacts By Uuid","description":"Get Contact List by UUID\n\nThis returns a Contact List by UUID\n\nParameters:\n\n    - list_uuid  : UUID3\n\nReturn: ListResponseDasboard","operationId":"get_list_of_contacts_by_uuid_connect_contacts_list_uuid__list_uuid__get","parameters":[{"required":true,"schema":{"title":"List Uuid","type":"string","format":"uuid3"},"name":"list_uuid","in":"path"},{"description":"Page index starting from 0","required":false,"schema":{"title":"Page Index","minimum":0.0,"type":"integer","description":"Page index starting from 0","default":0},"example":0,"name":"pageIndex","in":"query"},{"description":"This is the maximum number of results to return in the requested page","required":false,"schema":{"title":"Page Size","maximum":1000.0,"type":"integer","description":"This is the maximum number of results to return in the requested page","default":10},"example":10,"name":"pageSize","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/contacts/list/name/{listName}":{"get":{"tags":["Connect - Contacts"],"summary":"Get List Of Contacts By Listname","description":"Get contacts from a given list by name\n\nThis get all contacts from a given list name, if the listName does not exist, will return Error 404.\n\nParameters:\n\n    - listName : str\n\nReturn: ListDocument","operationId":"get_list_of_contacts_by_listName_connect_contacts_list_name__listName__get","parameters":[{"required":true,"schema":{"title":"Listname","type":"string"},"example":"main","name":"listName","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListDocument"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/contacts/list/uuid/{list_uuid}/reduced":{"get":{"tags":["Connect - Contacts"],"summary":"Get List Params Reduced","description":"Get List Document without contacts and _id\n\nThis gets a List Document without contacts to reduce bandwidth or just edit the List Document Base.\n\nParameters:\n\n    - list_uuid  : UUID3\n\nReturn: ListResponseDasboard","operationId":"get_list_params_reduced_connect_contacts_list_uuid__list_uuid__reduced_get","parameters":[{"required":true,"schema":{"title":"List Uuid","type":"string","format":"uuid3"},"name":"list_uuid","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/contacts/list/{listName}":{"delete":{"tags":["Connect - Contacts"],"summary":"Delete List","description":"Delete Contact List\n\nThsi delete the contact list and all the contacts associated with the given list name.\n\nParameters:\n\n- listName: str\n\nReturn: Error or success with HTTP code 200","operationId":"delete_list_connect_contacts_list__listName__delete","parameters":[{"required":true,"schema":{"title":"Listname","type":"string"},"example":"main","name":"listName","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/contacts/list/contact/edit":{"put":{"tags":["Connect - Contacts"],"summary":"Edit Contact","operationId":"edit_contact_connect_contacts_list_contact_edit_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Body_edit_contact_connect_contacts_list_contact_edit_put"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/contacts/list/{listName}/{contactUUID}":{"delete":{"tags":["Connect - Contacts"],"summary":"Delete Contact","operationId":"delete_contact_connect_contacts_list__listName___contactUUID__delete","parameters":[{"required":true,"schema":{"title":"Listname","type":"string"},"example":"main","name":"listName","in":"path"},{"required":true,"schema":{"title":"Contactuuid","type":"string","format":"uuid4"},"example":"6ba7b810-9dad-11d1-80b4-00c04fd430c8","name":"contactUUID","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/did/get_all":{"get":{"tags":["Connect - DID"],"summary":"Get My Did","description":"Get My DIDs\n\nThis get all the DID that the user has\n\nParameters:\n\nAuthorization:\n\n    - Bearer\n\nReturn: List[DidResponse]","operationId":"get_my_did_connect_did_get_all_get","parameters":[{"description":"Page index starting from 0","required":false,"schema":{"title":"Page Index","minimum":0.0,"type":"integer","description":"Page index starting from 0","default":0},"example":0,"name":"pageIndex","in":"query"},{"description":"This is the maximum number of results to return in the requested page","required":false,"schema":{"title":"Page Size","maximum":1000.0,"type":"integer","description":"This is the maximum number of results to return in the requested page","default":10},"example":10,"name":"pageSize","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/did/port/did":{"get":{"tags":["Connect - DID"],"summary":"Get Port Request","description":"This get all the Port Requests made by the user\n\nParameters:\n\n    - None\n\nResponse: List[PortRequestResponse]","operationId":"get_port_request_connect_did_port_did_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Port Request Connect Did Port Did Get","type":"array","items":{"$ref":"#/components/schemas/PortRequestResponse"}}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["Connect - DID"],"summary":"Port New Did","description":"This creates a request for a new DID for the user\n\nParameters:\n\n    - Port(BaseModel)\n\nResponse: PortRequestResponse","operationId":"port_new_did_connect_did_port_did_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Port"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PortRequestResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/did/search/countrys/":{"get":{"tags":["Connect - DID"],"summary":"Did Supported Countrys","description":"This finds Country Codes available to mint DID.\n\nParameters:\n\nReturn:\n\n    - List[DidSupportedCountrys]","operationId":"did_supported_countrys_connect_did_search_countrys__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Did Supported Countrys Connect Did Search Countrys  Get","type":"array","items":{"$ref":"#/components/schemas/DidSupportedCountrysModel"}}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/did/search/area_code/{country_code}":{"get":{"tags":["Connect - DID"],"summary":"Did Area Codes","description":"This finds area codes in a given country code.\n\nParameters:\n\n    - country_code: EnumSupportedCountryCodes\n\nResponse: CountryAreaCodes","operationId":"did_area_codes_connect_did_search_area_code__country_code__get","parameters":[{"description":"Country code with E164 format, is required.","required":true,"schema":{"title":"CC E164","type":"integer","description":"Country code with E164 format, is required."},"example":52,"name":"country_code","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Did Area Codes Connect Did Search Area Code  Country Code  Get","type":"array","items":{"$ref":"#/components/schemas/DidAgregateAreaCode"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/did/search/did/{did}":{"get":{"tags":["Connect - DID"],"summary":"Did In A Range Available","description":"This find an available RANDOM DID in the database for given pattern of a did e164 format.\n\nParameters:\n\n    - did: str\n    - didtype : EnumDidType default RANGE_FIXED\n    - limit: int\n    - offset: int\n\nResponse: DidRangeAvailable","operationId":"did_in_a_range_available_connect_did_search_did__did__get","parameters":[{"description":"Format e164 by prefix or number","required":true,"schema":{"title":"DID in a range to search","type":"string","description":"Format e164 by prefix or number"},"example":"52800","name":"did","in":"path"},{"description":"EnumDidType to search. Default is RANGE_FIXED.","required":false,"schema":{"title":"Type of DID","allOf":[{"$ref":"#/components/schemas/EnumDidType"}],"description":"EnumDidType to search. Default is RANGE_FIXED.","default":"RANGE_FIXED"},"name":"didtype","in":"query"},{"description":"This is the page index to return, default is 0.","required":false,"schema":{"title":"Page Index","type":"integer","description":"This is the page index to return, default is 0.","default":0},"example":0,"name":"pageIndex","in":"query"},{"description":"This is the maximum number of results to return in the requested page, default is 10.","required":false,"schema":{"title":"Page Size","maximum":1000.0,"type":"integer","description":"This is the maximum number of results to return in the requested page, default is 10.","default":10},"example":10,"name":"pageSize","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DidResponsePagination"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/did/search/random/{did_cc_w_area_code}":{"get":{"tags":["Connect - DID"],"summary":"Did Get Random","description":"This get an available DID in the database for given country code and area code.\n\nParameters:\n\n    - did_cc_w_area_code: str\n\nResponse: DidResponse","operationId":"did_get_random_connect_did_search_random__did_cc_w_area_code__get","parameters":[{"description":"Country code with E164 format, is required.","required":true,"schema":{"title":"DID Country Code with Area Code","type":"string","description":"Country code with E164 format, is required."},"example":"52800","name":"did_cc_w_area_code","in":"path"},{"description":"FIXED or MOBILE in available inmediatly by operator numbers range","required":false,"schema":{"title":"Type of DID","allOf":[{"$ref":"#/components/schemas/EnumDidType"}],"description":"FIXED or MOBILE in available inmediatly by operator numbers range","default":"RANGE_FIXED"},"name":"didtype","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Did Get Random Connect Did Search Random  Did Cc W Area Code  Get","type":"array","items":{"$ref":"#/components/schemas/DidResponse"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/did/mint/new":{"post":{"tags":["Connect - DID"],"summary":"Mint New Did","description":"This receives DID in the E164 format and if available minted and adjudicate to the user.\n\nParameters:\n\n    - didE164: str\n\nResponse: DidResponse","operationId":"mint_new_did_connect_did_mint_new_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DidBase"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DidResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/did/burn":{"delete":{"tags":["Connect - DID"],"summary":"Burn Did","description":"This burn a DID and is added to the CREMATORIUM waiting list.\n\nParams:\n\n-  DidBase\n\nReturns:\n\n- DidResponse","operationId":"burn_did_connect_did_burn_delete","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DidBase"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DidResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/did/settings/{didE164}":{"get":{"tags":["Connect - DID"],"summary":"Get Did Settings","description":"This receives DID in the E164 format and if available minted and adjudicate to the user.\n\nParameters:\n\n    - didE164: str\n\nResponse: DidResponse","operationId":"get_did_settings_connect_did_settings__didE164__get","parameters":[{"required":true,"schema":{"title":"Dide164","type":"string","max_lenght":20},"name":"didE164","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DidResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]},"put":{"tags":["Connect - DID"],"summary":"Put Did Settings","description":"This receives DID in the E164 format and if user own it Put settings\n\nParameters:\n\n    - didE164: str\n    - settings: DidSettings\n\nResponse: DidResponse","operationId":"put_did_settings_connect_did_settings__didE164__put","parameters":[{"required":true,"schema":{"title":"Dide164","type":"string","max_lenght":20},"name":"didE164","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DidSettings"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DidResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/did/group_names":{"get":{"tags":["Connect - DID"],"summary":"Get Did Group Names","description":"Return DID group names and count of DID in the group.\n\nParameters:\n\n    -  None\n\nResponse: List[DidAgregationGroup]","operationId":"get_did_group_names_connect_did_group_names_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Did Group Names Connect Did Group Names Get","type":"array","items":{"$ref":"#/components/schemas/DidAgregationGroup"}}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/sms/send":{"post":{"tags":["Connect - SMS"],"summary":"Post Send Sms","description":"Send SMS\n\nSend a new SMS(Short Message Service) to the PSTN.\n\nParameters:\n\n- sendSms : SmsSend\n\nReturn: SmsMessageResponse (Model)","operationId":"post_send_sms_connect_sms_send_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmsSend"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmsMessageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/sms/legacy/send":{"post":{"tags":["Connect - SMS"],"summary":"Post Legacy Send Sms","description":"Send SMS\n\nSend a new SMS(Short Message Service) to the PSTN ussing Query Params.\n\nYou should not use this method since could be insecure and is not the recomended way to use this API,\nwe stronggly recommend to use the Barear Token method.\n\nThis method was created to support old auth systems.\n\nTo authenticate in this API method, you should generate a Legacy Token first.\n\nParameters:\n\n- sendSms : SmsSend\n\nReturn: SmsMessageResponse (Model)","operationId":"post_legacy_send_sms_connect_sms_legacy_send_post","parameters":[{"required":true,"schema":{"title":"From","maxLength":20,"minLength":5,"type":"string"},"name":"cid","in":"query"},{"required":true,"schema":{"title":"To","maxLength":20,"minLength":5,"type":"string"},"name":"to","in":"query"},{"description":"Message text 2","required":true,"schema":{"title":"Message","maxLength":680,"type":"string","description":"Message text 2"},"example":"message in body request","name":"body","in":"query"}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmsMessageResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyQuery":[]}]}},"/connect/sms/detail_records/{year}/{month}":{"get":{"tags":["Connect - SMS"],"summary":"Get Sms Detail Records","description":"This get the Sms Detail Records.\n\nParameters:\n\n    - year\n    - month\n    - pageIndex (Optional, default 0)\n    - pageSize (Optional, default 10)\n\nResponse: SmsDetailRecordResponse (Model)","operationId":"get_sms_detail_records_connect_sms_detail_records__year___month__get","parameters":[{"required":true,"schema":{"title":"Year","maximum":9999.0,"minimum":2000.0,"type":"integer"},"name":"year","in":"path"},{"required":true,"schema":{"title":"Month","maximum":12.0,"minimum":1.0,"type":"integer"},"name":"month","in":"path"},{"description":"This is the page index to return, default is 0.","required":false,"schema":{"title":"Page Index","type":"integer","description":"This is the page index to return, default is 0.","default":0},"example":0,"name":"pageIndex","in":"query"},{"description":"This is the maximum number of results to return in the requested page, default is 10.","required":false,"schema":{"title":"Page Size","maximum":1000.0,"type":"integer","description":"This is the maximum number of results to return in the requested page, default is 10.","default":10},"example":10,"name":"pageSize","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmsDetailRecordResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/pnn/number/{number}":{"get":{"tags":["Connect - Public Numbering Assigments (PNN Mexico)"],"summary":"Get Number Assigment Mexico","description":"Get Number Assigment Mexico (PNN Mexico)\n\nThis gets the original Number Assigment information.\n\nNote: For date now assigments, use the number portability lookup (NPL) method of this API.\n\nParams:\n\n    - number\n\nReturns:\n\n    - NumberingFilesModelPublicResponse (Model)","operationId":"get_number_assigment_mexico_connect_pnn_number__number__get","parameters":[{"required":true,"schema":{"title":"Number","type":"string","max_lenght":20},"example":"2211243260","name":"number","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NumberingFilesModelPublicResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/npl/number/{number}":{"get":{"tags":["Connect -  Number Portability Lookup (Mexico)"],"summary":"Get Number Portability Lookup","description":"Get Number Portability Lookup (Mexico)\n\nThis gets the Number information assigment.\n\nIf portability information exist for the number, then this return the current provider.\n\nParams:\n\n    - number\n\nReturns:\n\n    - NumberPortabilityLookup (Model)","operationId":"get_number_portability_lookup_connect_npl_number__number__get","parameters":[{"required":true,"schema":{"title":"Number","type":"string","max_lenght":20},"example":"2211243260","name":"number","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NumberPortabilityLookup"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/npl/legacy/number/{number}":{"get":{"tags":["Connect -  Number Portability Lookup (Mexico)"],"summary":"Get Number Portability Lookup Legacy","description":"Get Number Portability Lookup (Mexico) - Legacy Method.\n\nThis gets the Number information assigment.\n\nIf portability information exist for the number, then this return the current provider.\n\nParams:\n\n    - number\n\nReturns:\n\n    - NumberPortabilityLookup (Model)","operationId":"get_number_portability_lookup_legacy_connect_npl_legacy_number__number__get","parameters":[{"required":true,"schema":{"title":"Number","pattern":"^[1-9][0-9]*$","type":"string","max_lenght":20},"example":"2211243260","name":"number","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NumberPortabilityLookup"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/connect/billing/openpay/charges":{"post":{"tags":["Account Billing"],"summary":"Openpay Charges","description":"Create a Charge type to openpay.\n\nThis post a Credit Card charge to the account and returns the status of the charge.\n\nRequire:\n\n- OpenPayCharges\n\nReturns:\n\n- OpenPayTransactionCardResponse or\n- OpenPayTransactionBankAccountTransferResponse or\n- OpenPayTransactionStoreTransferResponse or\n- OpenPayTransactionAlipayTransferResponse\n\nNot look at me, openpay multi-singleton response.","operationId":"openpay_charges_connect_billing_openpay_charges_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenPayCharges"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/billing/stripe/charges":{"post":{"tags":["Account Billing"],"summary":"Stripe Charges","description":"Create a Charge type to Stripe.","operationId":"stripe_charges_connect_billing_stripe_charges_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StripeCharges"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/billing/stripe/checkout":{"post":{"tags":["Account Billing"],"summary":"Stripe Checkout","description":"Create a Stripe Checkout Session for an order using direct REST.","operationId":"stripe_checkout_connect_billing_stripe_checkout_post","parameters":[{"description":"URL to redirect after success","required":true,"schema":{"title":"Success Url","type":"string","description":"URL to redirect after success"},"name":"success_url","in":"query"},{"description":"URL to redirect after cancel","required":true,"schema":{"title":"Cancel Url","type":"string","description":"URL to redirect after cancel"},"name":"cancel_url","in":"query"},{"description":"The UUID of the order","required":true,"schema":{"title":"Order-Id","type":"string","description":"The UUID of the order"},"name":"order-id","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/billing/sms/credits":{"get":{"tags":["Account Billing"],"summary":"Get Sms Credits Avaiblable","description":"Get  SMS credits available in the account.\n\nThis gets the SMS credits in the account.\n\nRequire:\n\n-\n\nReturns:\n\n-  SmsCredits","operationId":"get_sms_credits_avaiblable_connect_billing_sms_credits_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmsCreditsResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/billing/orders":{"get":{"tags":["Account Billing"],"summary":"Get Account Billing Orders","description":"Get Orders in the account.\n\nThis gets all the orders and current state in the account.\n\nRequire:\n\n-\n\nReturns:\n\n-  List[OrderResponse]","operationId":"get_account_billing_orders_connect_billing_orders_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Account Billing Orders Connect Billing Orders Get","type":"array","items":{"$ref":"#/components/schemas/OrderResponse"}}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/billing/order/{uuid}":{"get":{"tags":["Account Billing"],"summary":"Get Account Billing Order By Id","description":"Get Order Id in the account.\n\nThis gets the given order id and current state in the account.\n\nRequire:\n\n- uuid\n\nReturns:\n\n-  OrderResponse","operationId":"get_account_billing_order_by_id_connect_billing_order__uuid__get","parameters":[{"required":true,"schema":{"title":"Uuid","type":"string","format":"uuid4"},"name":"uuid","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/billing/order/{uuid}/transaction":{"get":{"tags":["Account Billing"],"summary":"Get Order Transaction","description":"Get Order transaction by order uuid.\n\nThis gets the given order id and current state in the account.\n\nRequire:\n\n- uuid\n\nReturns:\n\n- OpenPayTransactionCardResponse or\n- OpenPayTransactionBankAccountTransferResponse or\n- OpenPayTransactionStoreTransferResponse or\n- OpenPayTransactionAlipayTransferResponse\n\nNot look at me, openpay multi-singleton response.","operationId":"get_order_transaction_connect_billing_order__uuid__transaction_get","parameters":[{"required":true,"schema":{"title":"Uuid","type":"string","format":"uuid4"},"name":"uuid","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/billing/order/new":{"post":{"tags":["Account Billing"],"summary":"Post New Order In Account","description":"Post a new order in the account.\n\nThis post a new order in the account.\n\nRequire:\n\n- CreateOrder\n\nReturns:\n\n-  OrderResponse","operationId":"post_new_order_in_account_connect_billing_order_new_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOrder"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/connect/products/get_all":{"get":{"tags":["Products"],"summary":"Get All Products","description":"Get all Products\n\nGet all products available\n\nParameters:\n\n-\n\nReturn: List[ProductResponse]","operationId":"get_all_products_connect_products_get_all_get","parameters":[{"description":"The currency of the product","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/modules__products__poducts_models__EnumBillingCurrency"}],"description":"The currency of the product","default":"MXN"},"name":"currency","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get All Products Connect Products Get All Get","type":"array","items":{"$ref":"#/components/schemas/ProductResponse"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/connect/products/uuid/{uuid}":{"get":{"tags":["Products"],"summary":"Get Product By Uuid","description":"Get Product by UUID\n\nThis get the Product by given UUID\n\nParameters:\n\n- uuid: UUID4\n- currency: EnumBillingCurrency\n\nReturns:\n\n- ProductResponse","operationId":"get_product_by_uuid_connect_products_uuid__uuid__get","parameters":[{"description":"UUID4 of the product","required":true,"schema":{"title":"Uuid","type":"string","description":"UUID4 of the product","format":"uuid4"},"name":"uuid","in":"path"},{"description":"The currency of the product","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/modules__products__poducts_models__EnumBillingCurrency"}],"description":"The currency of the product","default":"MXN"},"name":"currency","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"ActionForwardToNumber":{"title":"ActionForwardToNumber","type":"object","properties":{"anounceCaller":{"title":"Anouncecaller","type":"boolean","default":false},"number":{"title":"Number","maxLength":20,"type":"string","example":"5500000000"}}},"ActionForwardToNumberOptions":{"title":"ActionForwardToNumberOptions","type":"object","properties":{"anounceCaller":{"title":"Anouncecaller","type":"boolean","default":false}}},"ArrayMode":{"title":"ArrayMode","required":["timeout","mode"],"type":"object","properties":{"timeout":{"title":"Call Time Out","exclusiveMaximum":3600.0,"type":"integer","description":"Ring Time out for this extension and mode, lt 3600 seconds (1h)"},"internalAction":{"title":"Internalaction","allOf":[{"$ref":"#/components/schemas/ExtensionForwardDialPlan"}],"default":{"action":"FORWARD_VOICEMAIL","timeout":60}},"internalActionUnregistered":{"title":"Internalactionunregistered","allOf":[{"$ref":"#/components/schemas/ExtensionForwardDialPlan"}],"default":{"action":"FORWARD_VOICEMAIL","timeout":60}},"externalAction":{"title":"Externalaction","allOf":[{"$ref":"#/components/schemas/ExtensionForwardDialPlan"}],"default":{"action":"FORWARD_VOICEMAIL","timeout":60}},"externalActionUnregistered":{"title":"Externalactionunregistered","allOf":[{"$ref":"#/components/schemas/ExtensionForwardDialPlan"}],"default":{"action":"FORWARD_VOICEMAIL","timeout":60}},"logOutQueues":{"title":"Logoutqueues","type":"boolean","default":false},"acceptCallFromRingGroups":{"title":"Acceptcallfromringgroups","type":"boolean","default":true},"acceptPushNotifications":{"title":"Acceptpushnotifications","type":"boolean","default":true},"voiceMailGreeting":{"title":"Voicemailgreeting","type":"string","format":"uuid4"},"exceptions":{"title":"Exceptions","type":"array","items":{"$ref":"#/components/schemas/Exceptions"},"default":[]},"mode":{"$ref":"#/components/schemas/EnumExtensionStatus"}},"description":"EnumExtensionStatus.ACTION should be unique peer ACTION in the List"},"Body_edit_contact_connect_contacts_list_contact_edit_put":{"title":"Body_edit_contact_connect_contacts_list_contact_edit_put","required":["listName","contactUUID","contact"],"type":"object","properties":{"listName":{"title":"Listname","type":"string"},"contactUUID":{"title":"Contactuuid","type":"string","format":"uuid4"},"contact":{"$ref":"#/components/schemas/ContactModel"}}},"Body_mailgun_webhook_connect_contact_us_mailgun_create_jira_issue__post":{"title":"Body_mailgun_webhook_connect_contact_us_mailgun_create_jira_issue__post","required":["recipient","sender","from","subject","body-plain","stripped-text","timestamp","token","signature"],"type":"object","properties":{"recipient":{"title":"Recipient","type":"string"},"sender":{"title":"Sender","type":"string"},"from":{"title":"From","type":"string"},"subject":{"title":"Subject","type":"string"},"body-plain":{"title":"Body-Plain","type":"string"},"stripped-text":{"title":"Stripped-Text","type":"string"},"stripped-signature":{"title":"Stripped-Signature","type":"string"},"body-html":{"title":"Body-Html","type":"string"},"stripped-html":{"title":"Stripped-Html","type":"string"},"timestamp":{"title":"Timestamp","type":"integer"},"token":{"title":"Token","type":"string"},"signature":{"title":"Signature","type":"string"},"message_headers":{"title":"Message Headers","type":"string"},"X-Original-Sender":{"title":"X-Original-Sender","type":"string"}}},"Body_mailgun_webhook_connect_contact_us_mailgun_webhook__post":{"title":"Body_mailgun_webhook_connect_contact_us_mailgun_webhook__post","required":["recipient","sender","from","subject","body-plain","stripped-text","timestamp","token","signature"],"type":"object","properties":{"recipient":{"title":"Recipient","type":"string"},"sender":{"title":"Sender","type":"string"},"from":{"title":"From","type":"string"},"subject":{"title":"Subject","type":"string"},"body-plain":{"title":"Body-Plain","type":"string"},"stripped-text":{"title":"Stripped-Text","type":"string"},"stripped-signature":{"title":"Stripped-Signature","type":"string"},"body-html":{"title":"Body-Html","type":"string"},"stripped-html":{"title":"Stripped-Html","type":"string"},"timestamp":{"title":"Timestamp","type":"integer"},"token":{"title":"Token","type":"string"},"signature":{"title":"Signature","type":"string"},"message_headers":{"title":"Message Headers","type":"string"},"X-Original-Sender":{"title":"X-Original-Sender","type":"string"}}},"Body_post_new_contact_form_connect_contact_us_form_post":{"title":"Body_post_new_contact_form_connect_contact_us_form_post","required":["contact_us","recaptcha_request"],"type":"object","properties":{"contact_us":{"$ref":"#/components/schemas/ContactUsForm"},"recaptcha_request":{"$ref":"#/components/schemas/RecaptchaRequestFrontend"},"tracking":{"$ref":"#/components/schemas/TrackingData"}}},"Body_post_new_contacts_connect_contacts_list_contact_new_post":{"title":"Body_post_new_contacts_connect_contacts_list_contact_new_post","required":["listName","contacts"],"type":"object","properties":{"listName":{"title":"Listname","type":"string"},"contacts":{"title":"Contacts","type":"array","items":{"$ref":"#/components/schemas/ContactModel"}}}},"Body_post_new_device_connect_organization_users_devices_new_post":{"title":"Body_post_new_device_connect_organization_users_devices_new_post","required":["deviceCreate"],"type":"object","properties":{"deviceCreate":{"$ref":"#/components/schemas/DeviceCreate"},"organization":{"title":"Organization","maxLength":500,"minLength":1,"type":"string","default":"default"}}},"CampaignBase":{"title":"CampaignBase","type":"object","properties":{"campaign_status":{"allOf":[{"$ref":"#/components/schemas/EnumCampainStatus"}],"default":"PAUSED"},"name":{"title":"Name","maxLength":100,"minLength":1,"type":"string"},"description":{"title":"Description","maxLength":300,"type":"string","example":"This is a example campaign"},"start_date":{"title":"Start Date","type":"string","format":"date-time","example":"2022-06-20T22:29:52.177000+00:00"},"end_date":{"title":"End Date","type":"string","format":"date-time","example":"2022-06-20T22:29:52.177000+00:00"},"cron_job":{"$ref":"#/components/schemas/CronJobTyped"},"campaign_type":{"title":"Campaign Type","type":"array","items":{"$ref":"#/components/schemas/CampainType"}},"contact_list":{"title":"Contact List","type":"array","items":{"type":"string","format":"uuid3"}},"did_group_name":{"title":"Did Group Name","type":"array","items":{"type":"string"}},"created_at":{"title":"Created At","type":"string","format":"date-time"},"total_sms_sent":{"title":"Total Sms Sent","type":"integer","description":"Counter for all time SMS","default":0},"total_voice_calls":{"title":"Total Voice Calls","type":"integer","description":"Counter for all time voice calls","default":0}}},"CampaignCreate":{"title":"CampaignCreate","required":["name","description","start_date","end_date","cron_job"],"type":"object","properties":{"campaign_status":{"allOf":[{"$ref":"#/components/schemas/EnumCampainStatus"}],"default":"PAUSED"},"name":{"title":"Name","maxLength":100,"minLength":1,"type":"string","example":"lorem ipsum"},"description":{"title":"Description","maxLength":300,"type":"string","example":"This is an example campaign"},"start_date":{"title":"Start Date","type":"string","format":"date-time","example":"2022-06-20T22:29:52.177000+00:00"},"end_date":{"title":"End Date","type":"string","format":"date-time","example":"2022-06-20T22:29:52.177000+00:00"},"cron_job":{"$ref":"#/components/schemas/CronJobTyped"},"campaign_type":{"title":"Campaign Type","type":"array","items":{"$ref":"#/components/schemas/CampainType"}},"contact_list":{"title":"Contact List","type":"array","items":{"type":"string","format":"uuid3"}},"did_group_name":{"title":"Did Group Name","type":"array","items":{"type":"string"}},"created_at":{"title":"Created At","type":"string","format":"date-time"},"total_sms_sent":{"title":"Total Sms Sent","type":"integer","description":"Counter for all time SMS","default":0},"total_voice_calls":{"title":"Total Voice Calls","type":"integer","description":"Counter for all time voice calls","default":0},"organization":{"title":"Organization","type":"string","format":"uuid3"}}},"CampaignDashboardMetadata":{"title":"CampaignDashboardMetadata","type":"object","properties":{"total_count":{"title":"Total Count","type":"integer","default":0},"pageIndex":{"title":"Pageindex","type":"integer","default":0},"pageSize":{"title":"Pagesize","type":"integer","default":0},"last_month_campaigns":{"title":"Last Month Campaigns","type":"integer","default":0},"last_year_campaigns":{"title":"Last Year Campaigns","type":"integer","default":0},"total_sms_all_time":{"title":"Total Sms All Time","type":"integer","default":0},"total_voice_all_time":{"title":"Total Voice All Time","type":"integer","default":0}}},"CampaignDashboardResponse":{"title":"CampaignDashboardResponse","required":["metadata","campaigns"],"type":"object","properties":{"metadata":{"$ref":"#/components/schemas/CampaignDashboardMetadata"},"campaigns":{"title":"Campaigns","type":"array","items":{"$ref":"#/components/schemas/CampaignResponse"}}}},"CampaignJobReportPaginationResponse":{"title":"CampaignJobReportPaginationResponse","required":["metadata"],"type":"object","properties":{"items":{"title":"Items","type":"array","items":{"$ref":"#/components/schemas/CampaignJobReportResponseDashboard"},"default":[]},"metadata":{"$ref":"#/components/schemas/modules__sms__sms_module__Pagination"}}},"CampaignJobReportResponse":{"title":"CampaignJobReportResponse","required":["campaign_uuid3","campaign_job_uuid4","execution_date"],"type":"object","properties":{"campaign_uuid3":{"title":"Campaign Uuid3","type":"string","format":"uuid3"},"campaign_job_uuid4":{"title":"Campaign Job Uuid4","type":"string","format":"uuid4"},"execution_date":{"title":"Execution Date","type":"string","format":"date-time","example":"2022-06-20T22:29:52.177000+00:00"},"end_execution_date":{"title":"End Execution Date","type":"string","format":"date-time"},"messages_success":{"title":"Messages Success","type":"integer","default":0},"messages_failed":{"title":"Messages Failed","type":"integer","default":0},"job_status":{"allOf":[{"$ref":"#/components/schemas/EnumCampaignEndJobStatus"}],"default":"CREATED"},"messages":{"title":"Messages","type":"array","items":{"$ref":"#/components/schemas/MessageResponse"},"default":[]}}},"CampaignJobReportResponseDashboard":{"title":"CampaignJobReportResponseDashboard","required":["campaign_uuid3","campaign_job_uuid4","execution_date"],"type":"object","properties":{"campaign_uuid3":{"title":"Campaign Uuid3","type":"string","format":"uuid3"},"campaign_job_uuid4":{"title":"Campaign Job Uuid4","type":"string","format":"uuid4"},"execution_date":{"title":"Execution Date","type":"string","format":"date-time","example":"2022-06-20T22:29:52.177000+00:00"},"end_execution_date":{"title":"End Execution Date","type":"string","format":"date-time"},"messages_success":{"title":"Messages Success","type":"integer","default":0},"messages_failed":{"title":"Messages Failed","type":"integer","default":0},"job_status":{"allOf":[{"$ref":"#/components/schemas/EnumCampaignEndJobStatus"}],"default":"CREATED"}}},"CampaignQueueMetrics":{"title":"CampaignQueueMetrics","type":"object","properties":{"total":{"title":"Total","type":"integer","default":0},"pending":{"title":"Pending","type":"integer","default":0},"success":{"title":"Success","type":"integer","default":0},"failed":{"title":"Failed","type":"integer","default":0}}},"CampaignQueueStatusEnum":{"title":"CampaignQueueStatusEnum","enum":["PENDING_SETUP","PROCESSING","COMPLETED","CANCELED"],"type":"string","description":"An enumeration."},"CampaignQueueStatusResponse":{"title":"CampaignQueueStatusResponse","required":["campaign_uuid3","status","metrics"],"type":"object","properties":{"campaign_uuid3":{"title":"Campaign Uuid3","type":"string"},"campaign_job_uuid4":{"title":"Campaign Job Uuid4","type":"string"},"name":{"title":"Name","type":"string","default":"Unnamed Campaign"},"owner":{"title":"Owner","type":"string"},"status":{"$ref":"#/components/schemas/CampaignQueueStatusEnum"},"advance_percentage":{"title":"Advance Percentage","type":"number","default":0.0},"metrics":{"$ref":"#/components/schemas/CampaignQueueMetrics"}}},"CampaignResponse":{"title":"CampaignResponse","required":["campaign_uuid3"],"type":"object","properties":{"campaign_uuid3":{"title":"Campaign Uuid3","type":"string","format":"uuid3"},"organization":{"title":"Organization","type":"string","format":"uuid3"},"campaign_status":{"allOf":[{"$ref":"#/components/schemas/EnumCampainStatus"}],"default":"PAUSED"},"name":{"title":"Name","maxLength":100,"minLength":1,"type":"string"},"description":{"title":"Description","maxLength":300,"type":"string","example":"This is a example campaign"},"start_date":{"title":"Start Date","type":"string","format":"date-time","example":"2022-06-20T22:29:52.177000+00:00"},"end_date":{"title":"End Date","type":"string","format":"date-time","example":"2022-06-20T22:29:52.177000+00:00"},"cron_job":{"$ref":"#/components/schemas/CronJobTyped"},"campaign_type":{"title":"Campaign Type","type":"array","items":{"$ref":"#/components/schemas/CampainType"}},"contact_list":{"title":"Contact List","type":"array","items":{"type":"string","format":"uuid3"}},"did_group_name":{"title":"Did Group Name","type":"array","items":{"type":"string"}},"created_at":{"title":"Created At","type":"string","format":"date-time"},"total_sms_sent":{"title":"Total Sms Sent","type":"integer","description":"Counter for all time SMS","default":0},"total_voice_calls":{"title":"Total Voice Calls","type":"integer","description":"Counter for all time voice calls","default":0}}},"CampainType":{"title":"CampainType","required":["campaign_type"],"type":"object","properties":{"campaign_type":{"$ref":"#/components/schemas/EnumCampainType"},"active":{"title":"Active","type":"boolean","default":true},"message":{"title":"Message","maxLength":300,"type":"string","example":"lorem ipsum campaign message"}}},"CompanyPaperWork":{"title":"CompanyPaperWork","required":["incorporation_act_doc","incorporation_act_num"],"type":"object","properties":{"incorporation_act_doc":{"title":"Incorporation Act Doc","type":"string","description":"Legal Act of business, only for EnumPerson.Business","example":"https://aws3.s3.amazonaws.com/did-port-test/id_card.pdf","max_lennth":1000},"incorporation_act_num":{"title":"Incorporation Act Num","type":"string","max_lennth":100},"legal_representative_doc":{"title":"Legal Representative Doc","type":"string","description":"Legal representative act if not included in Legal Constitution Act of EnumPerson.Business","example":"https://aws3.s3.amazonaws.com/did-port-test/id_card.pdf","max_lennth":1000},"legal_representative_num":{"title":"Legal Representative Num","type":"string","max_lennth":100}}},"ContactModel":{"title":"ContactModel","required":["phones"],"type":"object","properties":{"uuid4":{"title":"Uuid4","type":"string","format":"uuid4","example":"49053245-1317-42ee-b575-202831382c5c"},"name":{"title":"Name","maxLength":50,"minLength":1,"type":"string","example":"Juan"},"lastName":{"title":"Lastname","maxLength":100,"type":"string","example":"Perez"},"lastName2":{"title":"Lastname2","maxLength":100,"type":"string","example":"Gomez"},"company":{"title":"Company","maxLength":100,"type":"string","example":"Donuts Company"},"email":{"title":"Email","type":"string","format":"email","example":"jhon@example.com"},"phones":{"title":"Phones","type":"array","items":{"$ref":"#/components/schemas/Phone"},"example":[{"number":"123456789","type":""}]},"variables":{"title":"Variables","maxItems":50,"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/Variables"},"default":[]}}},"ContactUsForm":{"title":"ContactUsForm","required":["name","email","phone"],"type":"object","properties":{"name":{"title":"Name","minLength":2,"type":"string"},"email":{"title":"Email","type":"string","format":"email"},"phone":{"title":"Phone","minLength":8,"type":"string"},"company":{"title":"Company","type":"string"},"message":{"title":"Message","type":"string"},"locations":{"title":"Locations","type":"string","default":"N/D"},"extensions":{"title":"Extensions","type":"string"},"speed":{"title":"Speed","type":"string"},"url_referer":{"title":"Url Referer","type":"string","description":"URL Referer"},"custom_1":{"title":"Custom 1","allOf":[{"$ref":"#/components/schemas/CustumField"}],"description":"Custom Field 1 (temporal)"},"custom_2":{"title":"Custom 2","allOf":[{"$ref":"#/components/schemas/CustumField"}],"description":"Custom Field 2 (temporal)"},"utm_medium":{"title":"Utm Medium","type":"string","description":"UTM Medium"},"utm_source":{"title":"Utm Source","type":"string","description":"UTM Source"},"utm_campaign":{"title":"Utm Campaign","type":"string","description":"UTM Campaign"},"utm_content":{"title":"Utm Content","type":"string","description":"UTM Content"},"utm_term":{"title":"Utm Term","type":"string","description":"UTM Term"},"utm_id":{"title":"Utm Id","type":"string","description":"UTM ID (ID de campana de la plataforma de anuncios)"},"campaign_id":{"title":"Campaign Id","type":"string","description":"Alias de entrada de utm_id (compatibilidad). No es el ID interno del CRM."}},"description":"Base para modelos que normalizan strings vacios y truncan en lugar de rechazar.\n\nCada subclase declara `_max_lengths` (campo -> maximo). Los campos que no\naparecen ahi usan `_default_max_len`."},"ContactUsResponse":{"title":"ContactUsResponse","required":["message_id"],"type":"object","properties":{"message_id":{"title":"Message Id","type":"string","description":"ID del mensaje; el sitio lo guarda como crm_message_id","format":"uuid"},"lead_id":{"title":"Lead Id","type":"string","description":"ID del Lead en SuiteCRM"},"event_id":{"title":"Event Id","type":"string","description":"tracking.event_id recibido"}}},"CountryEnum":{"title":"CountryEnum","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BQ","BA","BW","BV","BR","IO","BN","BG","BF","BI","KH","CM","CA","CV","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KR","KP","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SK","SI","SB","SO","ZA","GS","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"],"type":"string","description":"An enumeration."},"CreateOrder":{"title":"CreateOrder","required":["products"],"type":"object","properties":{"products":{"title":"List of ProductOrder","type":"array","items":{"$ref":"#/components/schemas/ProductOrder"},"description":"This is a list of ProductOrder, each ProductOrder is a product to order, the quanty and the billing cicle of the product to order"},"currency":{"title":"The currency of the order","allOf":[{"$ref":"#/components/schemas/modules__products__poducts_models__EnumBillingCurrency"}],"description":"This is the currency of all the products in the order, must be one of the valid billing currencies of the ProductPricing model","default":"MXN"},"method":{"$ref":"#/components/schemas/EnumOpenPayAcceptedCharges"}},"description":"This is the model exposed to the user to create a new order"},"CronJobTyped":{"title":"CronJobTyped","type":"object","properties":{"minute":{"title":"Minute","maximum":59.0,"minimum":0.0,"type":"integer","default":0,"example":0},"hour":{"title":"Hour","maximum":24.0,"minimum":0.0,"type":"integer","default":9,"example":9},"day_month":{"type":"array","items":{"$ref":"#/components/schemas/EnumDaysMonth"}},"month":{"type":"array","items":{"$ref":"#/components/schemas/EnumMonths"}},"day_week":{"type":"array","items":{"$ref":"#/components/schemas/EnumDayWeek"}}}},"CustumField":{"title":"CustumField","type":"object","properties":{"name":{"title":"Name","type":"string"},"value":{"title":"Value","type":"string"}},"description":"Campo libre temporal (custom_1 / custom_2). Ya no debe tumbar el request."},"DeviceCreate":{"title":"DeviceCreate","required":["web_password","device_password","name","organization_user_uuid3"],"type":"object","properties":{"lenguage":{"allOf":[{"$ref":"#/components/schemas/Language"}],"default":"Spanish, Castilian"},"tz":{"title":"TZ","type":"string","description":"Time Zone of the device"},"web_password":{"title":"Web Password","maxLength":100,"minLength":10,"type":"string"},"codecs":{"type":"array","items":{"$ref":"#/components/schemas/EnumDeviceCodecs"},"default":["G729","G711u","G711a","G722"]},"time_format":{"allOf":[{"$ref":"#/components/schemas/TimeFormat"}],"default":"24-hour clock"},"transfer_method":{"allOf":[{"$ref":"#/components/schemas/TransferMethod"}],"default":"BLIND"},"lldp":{"allOf":[{"$ref":"#/components/schemas/EnumEnableDisable"}],"default":"DISABLE"},"ring_tone":{"title":"Ring Tone","type":"integer","default":0},"led_notification":{"allOf":[{"$ref":"#/components/schemas/LedNotification"}],"default":"BOTH (Voicemail and Missed calls)"},"black_light_time_out":{"title":"Black Light Time Out","type":"integer","default":30},"vlan_wan":{"$ref":"#/components/schemas/VlanConfiguration"},"vlan_lan":{"$ref":"#/components/schemas/VlanConfiguration"},"brand":{"title":"Brand","maxLength":150,"type":"string"},"model":{"title":"Model","maxLength":150,"type":"string"},"provision_key":{"title":"Provision Key","maxLength":500,"type":"string"},"device_password":{"title":"Device Password","maxLength":150,"minLength":10,"type":"string"},"device_mac":{"title":"Device Mac Address","pattern":"^([A-F0-9]{2}:){5}[A-F0-9]{2}$","type":"string","description":"MAC Address of device to provision in TITLE LETTERS and format AF:AF:AF:AF:AF:AF","example":"3B:BB:33:EE:AC:02"},"sip_port_local":{"title":"Sip Port Local","type":"integer","default":5060,"gte":0,"lte":65535},"rtp_port_start":{"title":"Rtp Port Start","type":"integer","default":10000,"gte":0,"lte":65535},"rtp_port_end":{"title":"Rtp Port End","type":"integer","default":20000,"gte":0,"lte":65535},"name":{"title":"Name","maxLength":200,"minLength":1,"type":"string"},"organization_user_uuid3":{"title":"Organization User Uuid3","type":"string","format":"uuid3"}},"description":"This must be paseed to create a New Device"},"DeviceResponse":{"title":"DeviceResponse","required":["web_password","device_password","name","organization_user_uuid3","device_uuid"],"type":"object","properties":{"organization":{"title":"Organization","type":"string","format":"uuid3"},"lenguage":{"allOf":[{"$ref":"#/components/schemas/Language"}],"default":"Spanish, Castilian"},"tz":{"title":"TZ","type":"string","description":"Time Zone of the device"},"web_password":{"title":"Web Password","maxLength":100,"minLength":10,"type":"string"},"codecs":{"type":"array","items":{"$ref":"#/components/schemas/EnumDeviceCodecs"},"default":["G729","G711u","G711a","G722"]},"time_format":{"allOf":[{"$ref":"#/components/schemas/TimeFormat"}],"default":"24-hour clock"},"transfer_method":{"allOf":[{"$ref":"#/components/schemas/TransferMethod"}],"default":"BLIND"},"lldp":{"allOf":[{"$ref":"#/components/schemas/EnumEnableDisable"}],"default":"DISABLE"},"ring_tone":{"title":"Ring Tone","type":"integer","default":0},"led_notification":{"allOf":[{"$ref":"#/components/schemas/LedNotification"}],"default":"BOTH (Voicemail and Missed calls)"},"black_light_time_out":{"title":"Black Light Time Out","type":"integer","default":30},"vlan_wan":{"$ref":"#/components/schemas/VlanConfiguration"},"vlan_lan":{"$ref":"#/components/schemas/VlanConfiguration"},"brand":{"title":"Brand","maxLength":150,"type":"string"},"model":{"title":"Model","maxLength":150,"type":"string"},"provision_key":{"title":"Provision Key","maxLength":500,"type":"string"},"device_password":{"title":"Device Password","maxLength":150,"minLength":10,"type":"string"},"device_mac":{"title":"Device Mac Address","pattern":"^([A-F0-9]{2}:){5}[A-F0-9]{2}$","type":"string","description":"MAC Address of device to provision in TITLE LETTERS and format AF:AF:AF:AF:AF:AF","example":"3B:BB:33:EE:AC:02"},"sip_port_local":{"title":"Sip Port Local","type":"integer","default":5060,"gte":0,"lte":65535},"rtp_port_start":{"title":"Rtp Port Start","type":"integer","default":10000,"gte":0,"lte":65535},"rtp_port_end":{"title":"Rtp Port End","type":"integer","default":20000,"gte":0,"lte":65535},"name":{"title":"Name","maxLength":200,"minLength":1,"type":"string"},"organization_user_uuid3":{"title":"Organization User Uuid3","type":"string","format":"uuid3"},"device_uuid":{"title":"Device UUID4","type":"string","format":"uuid4","detail":"This ensures device UUID is unique."}},"description":"This must be a response, don't accept it for post or put under devices"},"DidAgregateAreaCode":{"title":"DidAgregateAreaCode","type":"object","properties":{"_id":{"title":" Id","type":"integer"},"state":{"title":"State","type":"string","example":"Ciudad de Mexico","max_lennth":100},"city":{"title":"City","type":"string","example":"Azcapotzalco","max_lennth":100},"total":{"title":"Total","type":"integer"}},"description":"Agregation model for response to area code"},"DidAgregationGroup":{"title":"DidAgregationGroup","type":"object","properties":{"_id":{"title":" Id","type":"string"},"count":{"title":"Count","type":"integer"}},"description":"Agregation model for response to available Group Names of the DID"},"DidBase":{"title":"DidBase","required":["didE164"],"type":"object","properties":{"didE164":{"title":"Dide164","maxLength":20,"minLength":7,"type":"string","example":"525512345678"}}},"DidOwner":{"title":"DidOwner","required":["owner","activationDate"],"type":"object","properties":{"owner":{"title":"Owner","type":"string"},"organization_uuid":{"title":"Organization Uuid","type":"string","format":"uuid3"},"activationDate":{"title":"Activationdate","type":"string","format":"date-time","example":"2020-01-01T00:00:00"},"burnedDate":{"title":"Burneddate","type":"string","format":"date-time","example":"2020-01-01T00:00:00"}}},"DidPagination":{"title":"DidPagination","required":["length","pageIndex","pageSize"],"type":"object","properties":{"length":{"title":"Length","type":"integer","example":100},"pageIndex":{"title":"Pageindex","type":"integer","example":1},"pageSize":{"title":"Pagesize","type":"integer","example":10}}},"DidPort":{"title":"DidPort","required":["from_did_e164"],"type":"object","properties":{"from_did_e164":{"title":"From Did E164","exclusiveMaximum":999999999999999.0,"exclusiveMinimum":999999.0,"type":"integer","example":525512345678},"to_did_e164":{"title":"To Did E164","exclusiveMaximum":999999999999999.0,"exclusiveMinimum":999999.0,"type":"integer","example":525512345678}}},"DidResponse":{"title":"DidResponse","required":["currency","country","prefix","didType","creationDate","codec","didE164"],"type":"object","properties":{"maxConcurrentCalls":{"title":"Maxconcurrentcalls","exclusiveMaximum":1001.0,"type":"integer","default":300,"example":0},"includedCC":{"title":"Includedcc","exclusiveMaximum":1001.0,"type":"integer","default":3,"example":0},"connectionCost":{"title":"Connectioncost","type":"number","default":0,"example":0},"includedSeconds":{"title":"Includedseconds","type":"integer","default":0,"example":0},"perMinuteCost":{"title":"Perminutecost","type":"number","default":0,"example":0},"initialIncrement":{"title":"Initialincrement","type":"integer","default":60,"example":0},"increment":{"title":"Increment","type":"integer","default":60,"example":0},"setupFee":{"title":"Setupfee","type":"number"},"monthlyFee":{"title":"Monthlyfee","type":"number","default":100,"example":100},"callTimeoutSeconds":{"title":"Calltimeoutseconds","type":"integer"},"currency":{"allOf":[{"$ref":"#/components/schemas/modules__billing__billing_model__EnumBillingCurrency"}],"example":"MXN"},"country":{"allOf":[{"$ref":"#/components/schemas/EnumSupportedCountryCodes"}],"example":52},"prefix":{"title":"Prefix","exclusiveMaximum":999999.0,"exclusiveMinimum":1.0,"type":"integer","example":5255},"city":{"title":"City","type":"string","example":"Azcapotzalco","max_lennth":100},"state":{"title":"State","type":"string","example":"Ciudad de Mexico","max_lennth":100},"didType":{"allOf":[{"$ref":"#/components/schemas/EnumDidType"}],"example":"RANGE_FIXED"},"creationDate":{"title":"Creationdate","type":"string","format":"date-time","example":"2020-01-01T00:00:00"},"adminStatus":{"allOf":[{"$ref":"#/components/schemas/EnumAdminDIDStatus"}],"default":"AVAILABLE","example":"AVAILABLE"},"callType":{"allOf":[{"$ref":"#/components/schemas/EnumCallType"}],"example":"DID-Local"},"destination":{"title":"Destination","maxLength":200,"minLength":1,"type":"string","example":"500"},"codec":{"type":"array","items":{"$ref":"#/components/schemas/EnumDidCodecs"},"example":["G729","G711a","G711u"]},"ownerDidStatus":{"allOf":[{"$ref":"#/components/schemas/EnumDIDStatus"}],"example":"ACTIVE"},"group_name":{"title":"Group Name","maxLength":50,"type":"string","description":"Used to identify a Group of DID in Campains, default is default","default":"default","example":"default"},"group_head":{"title":"Group Head","type":"boolean","default":false},"didE164":{"title":"Dide164","maxLength":20,"minLength":7,"type":"string","example":"525512345678"},"owner":{"$ref":"#/components/schemas/DidOwner"}},"description":"Response to the owner of a DID"},"DidResponsePagination":{"title":"DidResponsePagination","required":["metadata","data"],"type":"object","properties":{"metadata":{"$ref":"#/components/schemas/DidPagination"},"data":{"title":"Data","type":"array","items":{"$ref":"#/components/schemas/DidResponse"}}}},"DidSettings":{"title":"DidSettings","required":["codec"],"type":"object","properties":{"callType":{"allOf":[{"$ref":"#/components/schemas/EnumCallType"}],"example":"DID-Local"},"destination":{"title":"Destination","maxLength":200,"minLength":1,"type":"string","example":"500"},"codec":{"type":"array","items":{"$ref":"#/components/schemas/EnumDidCodecs"},"example":["G729","G711a","G711u"]},"ownerDidStatus":{"allOf":[{"$ref":"#/components/schemas/EnumDIDStatus"}],"example":"ACTIVE"},"group_name":{"title":"Group Name","maxLength":50,"type":"string","description":"Used to identify a Group of DID in Campains, default is default","default":"default","example":"default"},"group_head":{"title":"Group Head","type":"boolean","default":false}}},"DidSupportedCountrysModel":{"title":"DidSupportedCountrysModel","required":["codeE164","country_name"],"type":"object","properties":{"codeE164":{"title":"Country Code E164","type":"string","description":"Supported E164 code in this system","example":"52"},"country_name":{"title":"Country Name","type":"string","description":"Country Name of the Country Code","example":"Mexico"}}},"EnumAdminDIDStatus":{"title":"EnumAdminDIDStatus","enum":["AVAILABLE","ASSIGNED","CREMATORIUM","ADMIN_RESERVED","ADMIN_WARNING","ADMIN_DISABLED","ADMIN_REJECTED","PORT_REJECTED","PORTED","ADMIN_REVIEWING"],"type":"string","description":"An enumeration."},"EnumAgentStatus":{"title":"EnumAgentStatus","enum":["IN","OUT"],"type":"string","description":"An enumeration."},"EnumBLF":{"title":"EnumBLF","enum":["BLANK","LINE_KEY","BLF","SPEED_DIAL","CUSTUM_SPEED_DIAL","SHARED_PARKING","AGENT_LOGIN_LOGOUT","CHANGE_STATUS"],"type":"string","description":"An enumeration."},"EnumBillingCicle":{"title":"EnumBillingCicle","enum":["daily","weekly","monthly","quarterly","semiannually","annually","biannually","triennially"],"type":"string","description":"An enumeration."},"EnumCallType":{"title":"EnumCallType","enum":["","DID-Local","DID@IP/URL","Direct-IP","PSTN","SIP-DID","MS-Teams"],"type":"string","description":"An enumeration."},"EnumCampaignEndJobStatus":{"title":"EnumCampaignEndJobStatus","enum":["CREATED","NOCREDITS","SUCCESS","UNKNOWN_ERROR","CANCELED"],"type":"string","description":"An enumeration."},"EnumCampainStatus":{"title":"EnumCampainStatus","enum":["ACTIVE","PAUSED","EXPIRED","DELETED"],"type":"string","description":"An enumeration."},"EnumCampainType":{"title":"EnumCampainType","enum":["SMS","VOICE"],"type":"string","description":"An enumeration."},"EnumDIDStatus":{"title":"EnumDIDStatus","enum":["ACTIVE","BURNED","DISABLED","PORTED_OUT","SUSPENDED"],"type":"string","description":"An enumeration."},"EnumDayWeek":{"title":"EnumDayWeek","enum":[7,1,2,3,4,5,6],"type":"integer","description":"An enumeration."},"EnumDaysMonth":{"title":"EnumDaysMonth","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31],"type":"integer","description":"An enumeration."},"EnumDeviceCodecs":{"title":"EnumDeviceCodecs","enum":["G729","G711a","G711u","G722"],"type":"string","description":"An enumeration."},"EnumDidCodecs":{"title":"EnumDidCodecs","enum":["G729","G711a","G711u","G722"],"type":"string","description":"An enumeration."},"EnumDidType":{"title":"EnumDidType","enum":["RANGE_MOBILE","RANGE_FIXED","RANGE_TOLLFREE","PORTED_FIXED","PORTED_MOBILE","PORTED_TOLLFREE","PROVIDER_FIXED","PROVIDER_MOBILE","PROVIDER_TOLLFREE"],"type":"string","description":"An enumeration."},"EnumEnableDisable":{"title":"EnumEnableDisable","enum":["ENABLE","DISABLE"],"type":"string","description":"An enumeration."},"EnumExtensionAction":{"title":"EnumExtensionAction","enum":["FORWARD_VOICEMAIL","FORWARD_EXTENSION_VOICEMAIL","FORWARD_MOBILE","FORWARD_EXTENSION","FORWARD_NUMBER","END_CALL"],"type":"string","description":"An enumeration."},"EnumExtensionStatus":{"title":"EnumExtensionStatus","enum":["AVAILABLE","AUSENT","DONT_DISTURB","LUNCH","BUSINESS_TRIP"],"type":"string","description":"An enumeration."},"EnumHours":{"title":"EnumHours","enum":["ALL_HOURS","GLOBAL_OFFICE_HOURS","OUT_GLOBAL_OFFICE_HOURS","SPECIFIC_HOURS","SPECIFIC_HOURS_HOLIDAYS_EXCEPTION","OUTSIDE_SPECIFIC_HOURS","OUTSIDE_SPECIFIC_HOURS_INCLUIDING_HOLIDAYS"],"type":"string","description":"An enumeration."},"EnumIsMPP":{"title":"EnumIsMPP","enum":["Y","N"],"type":"string","description":"Indicador de es MPP:\n\n    - Y: MPP\n    - N: CPP o no corresponde"},"EnumMonths":{"title":"EnumMonths","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12],"type":"integer","description":"An enumeration."},"EnumOpenPayAcceptedCharges":{"title":"EnumOpenPayAcceptedCharges","enum":["card","store","bank_account","alipay","stripe"],"type":"string","description":"An enumeration."},"EnumOrderStatus":{"title":"EnumOrderStatus","enum":["paid","pending","cancelled","suspended","terminated","refunded","fraud","active"],"type":"string","description":"An enumeration."},"EnumPayType":{"title":"EnumPayType","enum":["free","onetime","recurring"],"type":"string","description":"An enumeration."},"EnumProductType":{"title":"EnumProductType","enum":["hostingaccount","reselleraccount","server","internet","internetanalogvoice","internetvoip","voip","sms","other"],"type":"string","description":"An enumeration."},"EnumRecording":{"title":"EnumRecording","enum":["OFF","RECORD_ALL_CALLS","RECORD_EXTERNAL_CALLS"],"type":"string","description":"An enumeration."},"EnumSmsEncoding":{"title":"EnumSmsEncoding","enum":["GSM","LATIN1","UCS2","gsm","latin1","ucs2"],"type":"string","description":"An enumeration."},"EnumSupportedCountryCodes":{"title":"EnumSupportedCountryCodes","enum":[52],"type":"integer","description":"An enumeration."},"EnumTipoRed":{"title":"EnumTipoRed","enum":["F","M","A"],"type":"string","description":"Tipo Red\n\n    - F:Subscriptor\n    - M: Suscriptor\n    - A: Cualquiera"},"EnumVoiceMailAction":{"title":"EnumVoiceMailAction","enum":["No voice mail email notification","Send only email notification","Send email notification with attached voice message","Send email notification with attached voice message and delete in pbx"],"type":"string","description":"An enumeration."},"Exceptions":{"title":"Exceptions","required":["fromDirectory"],"type":"object","properties":{"fromDirectory":{"$ref":"#/components/schemas/ExtensionDirectory"},"hours":{"allOf":[{"$ref":"#/components/schemas/EnumHours"}],"default":"ALL_HOURS"},"forwardTo":{"allOf":[{"$ref":"#/components/schemas/EnumExtensionAction"}],"default":"FORWARD_VOICEMAIL"}}},"Extension":{"title":"Extension","required":["extensionNumber"],"type":"object","properties":{"extensionNumber":{"title":"Extensionnumber","maximum":99999.0,"minimum":100.0,"type":"integer","example":100}}},"ExtensionDirectory":{"title":"ExtensionDirectory","required":["number"],"type":"object","properties":{"number":{"title":"Number","maxLength":20,"type":"string"},"name":{"title":"Name","maxLength":200,"type":"string"},"lastName":{"title":"Lastname","maxLength":200,"type":"string"}}},"ExtensionForwardDialPlan":{"title":"ExtensionForwardDialPlan","type":"object","properties":{"action":{"allOf":[{"$ref":"#/components/schemas/EnumExtensionAction"}],"default":"FORWARD_VOICEMAIL"},"actionExtensionVoiceMail":{"$ref":"#/components/schemas/Extension"},"actionForwardToMobile":{"$ref":"#/components/schemas/ActionForwardToNumberOptions"},"actionForwardToExtension":{"$ref":"#/components/schemas/Extension"},"actionForwardToNumber":{"$ref":"#/components/schemas/ActionForwardToNumber"}}},"FireBaseUser":{"title":"FireBaseUser","required":["iss","aud","auth_time","user_id","sub","iat","exp","email","email_verified","uid"],"type":"object","properties":{"iss":{"title":"Iss","type":"string"},"aud":{"title":"Aud","type":"string"},"auth_time":{"title":"Auth Time","type":"integer"},"user_id":{"title":"User Id","type":"string"},"sub":{"title":"Sub","type":"string"},"iat":{"title":"Iat","type":"integer"},"exp":{"title":"Exp","type":"integer"},"email":{"title":"Email","type":"string","format":"email"},"email_verified":{"title":"Email Verified","type":"boolean"},"firebase":{"$ref":"#/components/schemas/Firebase"},"uid":{"title":"Uid","type":"string"}}},"FireBaseUserLoginBasic":{"title":"FireBaseUserLoginBasic","required":["email","password"],"type":"object","properties":{"email":{"title":"Email","type":"string","format":"email"},"password":{"title":"Password","maxLength":500,"type":"string"}}},"Firebase":{"title":"Firebase","type":"object","properties":{"identies":{"title":"Identies","type":"array","items":{}},"sign_in_provider":{"title":"Sign In Provider","type":"string"}}},"FirebaseResponseToken":{"title":"FirebaseResponseToken","required":["idToken"],"type":"object","properties":{"status":{"title":"Status","type":"string","default":"success"},"idToken":{"title":"Idtoken","type":"string"}},"description":"This method return the idToken returned by the Google Auth provider:\n\nurl = https://identitytoolkit.googleapis.com/v1/accounts:signInWithPassword\n\nparams= {\"key\": FIREBASE_WEB_API_KEY }\n\ndata= { \"email\": email,\n        \"password\": password,\n        \"returnSecureToken\": True\n    }\n\nReturns idToken to be ussed with this API."},"HTTPValidationError":{"title":"HTTPValidationError","type":"object","properties":{"detail":{"title":"Detail","type":"array","items":{"$ref":"#/components/schemas/ValidationError"}}}},"IdentityTypeEnum":{"title":"IdentityTypeEnum","enum":["NATIONAL_ID","PASSPORT","MIGRATION_CARD","ELECTRONIC_ID"],"type":"string","description":"An enumeration."},"Language":{"title":"Language","enum":["Abkhazian","Afar","Afrikaans","Akan","Albanian","Amharic","Arabic","Aragonese","Armenian","Assamese","Avaric","Avestan","Aymara","Azerbaijani","Bambara","Bashkir","Basque","Belarusian","Bengali","Bihari languages","Bislama","Bosnian","Breton","Bulgarian","Burmese","Catalan, Valencian","Chamorro","Chechen","Chichewa, Chewa, Nyanja","Chinese","Chuvash","Cornish","Corsican","Cree","Croatian","Czech","Danish","Divehi, Dhivehi, Maldivian","Dutch, Flemish","Dzongkha","English","Esperanto","Estonian","Ewe","Faroese","Fijian","Finnish","French","Fulah","Galician","Georgian","German","Greek, Modern (1453-)","Guarani","Gujarati","Haitian, Haitian Creole","Hausa","Hebrew","Herero","Hindi","Hiri Motu","Hungarian","Interlingua (International Auxiliary Language Association)","Indonesian","Interlingue, Occidental","Irish","Igbo","Inupiaq","Ido","Icelandic","Italian","Inuktitut","Japanese","Javanese","Kalaallisut, Greenlandic","Kannada","Kanuri","Kashmiri","Kazakh","Central Khmer","Kikuyu, Gikuyu","Kinyarwanda","Kirghiz, Kyrgyz","Komi","Kongo","Korean","Kurdish","Kuanyama, Kwanyama","Latin","Luxembourgish, Letzeburgesch","Ganda","Limburgan, Limburger, Limburgish","Lingala","Lao","Lithuanian","Luba-Katanga","Latvian","Manx","Macedonian","Malagasy","Malay","Malayalam","Maltese","Maori","Marathi","Marshallese","Mongolian","Nauru","Navajo, Navaho","North Ndebele","Nepali","Ndonga","Norwegian Bokm√•l","Norwegian Nynorsk","Norwegian","Sichuan Yi, Nuosu","South Ndebele","Occitan","Ojibwa","Church¬†Slavic, Old Slavonic, Church Slavonic, Old Bulgarian, Old¬†Church¬†Slavonic","Oromo","Oriya","Ossetian, Ossetic","Panjabi, Punjabi","Pali","Persian","Polish","Pashto, Pushto","Portuguese","Quechua","Romansh","Rundi","Romanian, Moldavian, Moldovan","Russian","Sanskrit","Sardinian","Sindhi","Northern Sami","Samoan","Sango","Serbian","Gaelic, Scottish Gaelic","Shona","Sinhala, Sinhalese","Slovak","Slovenian","Somali","Southern Sotho","Spanish, Castilian","Sundanese","Swahili","Swati","Swedish","Tamil","Telugu","Tajik","Thai","Tigrinya","Tibetan","Turkmen","Tagalog","Tswana","Tonga (Tonga Islands)","Turkish","Tsonga","Tatar","Twi","Tahitian","Uighur, Uyghur","Ukrainian","Urdu","Uzbek","Venda","Vietnamese","Volap√ºk","Walloon","Welsh","Wolof","Western Frisian","Xhosa","Yiddish","Yoruba","Zhuang, Chuang","Zulu"],"description":"An enumeration."},"LedNotification":{"title":"LedNotification","enum":["BOTH (Voicemail and Missed calls)","VOICEMAIL","MISSED","NO POWER LED NOTIFICATION"],"type":"string","description":"An enumeration."},"ListDocument":{"title":"ListDocument","required":["listName","list_uuid","owner"],"type":"object","properties":{"listName":{"title":"Listname","maxLength":100,"minLength":1,"type":"string","example":"main"},"listType":{"allOf":[{"$ref":"#/components/schemas/ListEnum"}],"default":"STATIC"},"description":{"title":"Description","maxLength":300,"type":"string","example":"This is a example list"},"variables":{"title":"Variables","maxItems":50,"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/VariablesName"},"default":[]},"contacts":{"title":"Contacts","type":"array","items":{"$ref":"#/components/schemas/ContactModel"}},"metadata":{"title":"Pagination contacts metadata","allOf":[{"$ref":"#/components/schemas/modules__contacts__contacts_models__Pagination"}],"description":"This metadata is used to paginate the contacts in the list","example":{"lenght":100,"pageIndex":0,"pageSize":10}},"list_uuid":{"title":"List Uuid","type":"string","format":"uuid3"},"organization":{"title":"Organization","type":"string","format":"uuid3"},"_id":{"title":" Id","type":"string","examples":["5eb7cf5a86d9755df3a6c593","5eb7cfb05e32e07750a1756a"]},"owner":{"title":"Owner","type":"string"}},"description":"Document Mapping class.\n\nFields:\n\n- `id` - MongoDB document ObjectID \"_id\" field.\nMapped to the PydanticObjectId class\n\nInherited from:\n\n- Pydantic BaseModel\n- [UpdateMethods](https://roman-right.github.io/beanie/api/interfaces/#aggregatemethods)"},"ListEnum":{"title":"ListEnum","enum":["DYNAMIC","STATIC"],"type":"string","description":"An enumeration."},"ListModel":{"title":"ListModel","required":["listName"],"type":"object","properties":{"listName":{"title":"Listname","maxLength":100,"minLength":1,"type":"string","example":"main"},"listType":{"allOf":[{"$ref":"#/components/schemas/ListEnum"}],"default":"STATIC"},"description":{"title":"Description","maxLength":300,"type":"string","example":"This is a example list"},"variables":{"title":"Variables","maxItems":50,"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/VariablesName"},"default":[]},"contacts":{"title":"Contacts","type":"array","items":{"$ref":"#/components/schemas/ContactModel"}},"metadata":{"title":"Pagination contacts metadata","allOf":[{"$ref":"#/components/schemas/modules__contacts__contacts_models__Pagination"}],"description":"This metadata is used to paginate the contacts in the list","example":{"lenght":100,"pageIndex":0,"pageSize":10}}}},"ListResponse":{"title":"ListResponse","required":["listName","list_uuid"],"type":"object","properties":{"listName":{"title":"Listname","maxLength":100,"minLength":1,"type":"string","example":"main"},"listType":{"allOf":[{"$ref":"#/components/schemas/ListEnum"}],"default":"STATIC"},"description":{"title":"Description","maxLength":300,"type":"string","example":"This is a example list"},"variables":{"title":"Variables","maxItems":50,"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/VariablesName"},"default":[]},"contacts":{"title":"Contacts","type":"array","items":{"$ref":"#/components/schemas/ContactModel"}},"metadata":{"title":"Pagination contacts metadata","allOf":[{"$ref":"#/components/schemas/modules__contacts__contacts_models__Pagination"}],"description":"This metadata is used to paginate the contacts in the list","example":{"lenght":100,"pageIndex":0,"pageSize":10}},"list_uuid":{"title":"List Uuid","type":"string","format":"uuid3"},"organization":{"title":"Organization","type":"string","format":"uuid3"}}},"ListResponseDasboard":{"title":"ListResponseDasboard","required":["list_uuid","listName","listType"],"type":"object","properties":{"list_uuid":{"title":"List Uuid","type":"string","format":"uuid3"},"listName":{"title":"Listname","maxLength":100,"minLength":1,"type":"string","example":"main"},"contactsCount":{"title":"Contactscount","type":"integer"},"listType":{"$ref":"#/components/schemas/ListEnum"},"description":{"title":"Description","maxLength":300,"type":"string","example":"This is a example list"},"variables":{"title":"Variables","type":"array","items":{"$ref":"#/components/schemas/Variables"}}},"description":"This reponse don't include the contacts in the list, save db bandwith at response."},"ListUpdateRequest":{"title":"ListUpdateRequest","required":["list_uuid"],"type":"object","properties":{"list_uuid":{"title":"List Uuid","type":"string","format":"uuid3"},"listName":{"title":"Listname","maxLength":100,"minLength":1,"type":"string","example":"main"},"listType":{"title":"Listtype","type":"string"},"description":{"title":"Description","type":"string"}}},"MessageResponse":{"title":"MessageResponse","required":["success"],"type":"object","properties":{"uuid":{"title":"Uuid","type":"string","format":"uuid4"},"remote_id":{"title":"Remote Id","maxLength":100,"type":"string"},"msisdn":{"title":"Msisdn","maxLength":20,"type":"string"},"created":{"title":"Created","type":"string","format":"date-time"},"sent_at":{"title":"Sent At","type":"string","format":"date-time"},"success":{"title":"Success","type":"boolean"},"billedParts":{"title":"Billedparts","type":"integer"},"sentUsingEncoding":{"$ref":"#/components/schemas/EnumSmsEncoding"},"cid":{"title":"Cid","maxLength":20,"type":"string"},"billedPartLength":{"title":"Billedpartlength","type":"integer"},"messageLength":{"title":"Messagelength","type":"integer"},"carrier":{"title":"Carrier","type":"string"},"tag":{"title":"Tag","type":"string"},"errorMessage":{"title":"Errormessage","type":"string"}}},"NumberPortabilityLookup":{"title":"NumberPortabilityLookup","required":["Number","RCR","Tipo","isMPP","isPorted"],"type":"object","properties":{"Number":{"title":"Number","type":"string"},"RIDA":{"title":"Service Provider (IDA)","type":"string","description":"Code of the Servide Provider (M-VNO Network ID)"},"RCR":{"title":"Network Provider Code (IDO)","type":"string","description":"Network Provider Code who are the current provider of the RIDA"},"RIDA_name":{"title":"Rida Name","type":"string"},"RCR_name":{"title":"Rcr Name","type":"string"},"Tipo":{"allOf":[{"$ref":"#/components/schemas/EnumTipoRed"}],"example":"F"},"isMPP":{"allOf":[{"$ref":"#/components/schemas/EnumIsMPP"}],"example":"N"},"isPorted":{"title":"Isported","type":"boolean"}}},"NumberingFilesModelPublicResponse":{"title":"NumberingFilesModelPublicResponse","required":["IDA","Inicio","Fin","Tipo","isMPP","IDAdeCRV"],"type":"object","properties":{"IDA":{"title":"IDA","maxLength":3,"type":"string","description":"IDO/ABC asociado con el IDA","example":"130","min_lenght":3},"Inicio":{"title":"Numero Inicial","type":"string","description":"El número o el primer número de un rango","example":"8005120000"},"Fin":{"title":"Numero Final","type":"string","description":"El número o el último número de un rango","example":"8005129999"},"Tipo":{"allOf":[{"$ref":"#/components/schemas/EnumTipoRed"}],"example":"F"},"isMPP":{"allOf":[{"$ref":"#/components/schemas/EnumIsMPP"}],"example":"N"},"IDAdeCRV":{"title":"IDA de CRV","maxLength":3,"type":"string","description":"si la entidad no es para CRV, entonces el IDA e IDA de CRV serán iguales","example":"130","min_lenght":3},"RIDA_name":{"title":"Razon Social","type":"string","description":"Nombre comercial del Prestador de Servicios a quien se le asigno la numeración","example":"VINOC"}},"description":"This is the response for the public API.\nRIDA_name is not saved in this DB, but is intended to send as response."},"OpenPayCharges":{"title":"OpenPayCharges","required":["method","amount","description","order_id"],"type":"object","properties":{"method":{"$ref":"#/components/schemas/EnumOpenPayAcceptedCharges"},"source_id":{"title":"Source Id","type":"string","description":"Token, required only for card type charges"},"amount":{"title":"Amount","type":"number"},"currency":{"allOf":[{"$ref":"#/components/schemas/modules__billing__billing_model__EnumBillingCurrency"}],"default":"MXN"},"description":{"title":"Description","maxLength":100,"minLength":1,"type":"string","example":"VInoc Connect"},"order_id":{"title":"Order Id","maxLength":100,"minLength":1,"type":"string","example":"UUID4"},"device_session_id":{"title":"Device Session Id","maxLength":32,"minLength":32,"type":"string","description":"... Device Session ID, only for card charges ","example":"cnjpm5eg4h4rrjchc7o28c35t92i9eue"},"capture":{"title":"Capture","type":"boolean","default":true},"customer":{"$ref":"#/components/schemas/OpenPayCustomerObject"},"payment_plan":{"$ref":"#/components/schemas/PaymentPlan"},"metadata":{"title":"Metadata","type":"array","items":{}},"use_card_points":{"title":"Use Card Points","type":"string","default":"NONE"},"send_email":{"title":"Send Email","type":"boolean"},"redirect_url":{"title":"Redirect URL","type":"string","description":"Nota: Este parámetro solo se puede utilizar si se especifica el manejo de 3D Secure."},"use_3d_secure":{"title":"Use 3D Secure","type":"string","default":"false"}}},"OpenPayCustomerObject":{"title":"OpenPayCustomerObject","required":["name","last_name","email","phone_number"],"type":"object","properties":{"external_id":{"title":"External Id","maxLength":100,"type":"string","example":"firebase_sub"},"name":{"title":"Name","maxLength":100,"type":"string","example":"Juan"},"last_name":{"title":"Last Name","maxLength":100,"type":"string","example":"Perez"},"email":{"title":"Email","type":"string","format":"email","example":"example@example.com"},"requires_account":{"title":"Requires Account","type":"boolean","default":false},"phone_number":{"title":"Phone Number","maxLength":100,"type":"string","example":"1234567890"},"address":{"$ref":"#/components/schemas/modules__billing__billing_model__Address"}}},"OrderResponse":{"title":"OrderResponse","required":["products","uuid","order_date","total_cicle"],"type":"object","properties":{"products":{"title":"List of ProductOrder","type":"array","items":{"$ref":"#/components/schemas/ProductOrder"},"description":"This is a list of ProductOrder, each ProductOrder is a product to order, the quanty and the billing cicle of the product to order"},"currency":{"title":"The currency of the order","allOf":[{"$ref":"#/components/schemas/modules__products__poducts_models__EnumBillingCurrency"}],"description":"This is the currency of all the products in the order, must be one of the valid billing currencies of the ProductPricing model","default":"MXN"},"method":{"$ref":"#/components/schemas/EnumOpenPayAcceptedCharges"},"uuid":{"title":"The id of the order","type":"string","description":"This value is a UUID4 and autogenerated by the API","format":"uuid4"},"order_date":{"title":"The datetime of the order","type":"string","format":"date-time"},"order_status":{"title":"The status of the order","allOf":[{"$ref":"#/components/schemas/EnumOrderStatus"}],"default":"pending"},"total_cicle":{"title":"The total of the order","exclusiveMinimum":0.0,"type":"number","description":"This is the total amount of the order incluiding taxes of the products and the shipping cost if any."},"total_setupfee":{"title":"The total setupfee of the order","type":"number","description":"This is the total amount of the setupfee of the order incluiding taxes of the products and the shipping cost if any.","default":0},"billed":{"title":"Billed status","type":"boolean","default":false},"invoice_result":{"title":"PAC Invoicing response","type":"object"}},"description":"This is the model exposed to the user to create a new order"},"Organization":{"title":"Organization","required":["name","taxid","address","person","uuid","owner"],"type":"object","properties":{"name":{"title":"Name","maxLength":100,"minLength":1,"type":"string"},"domain":{"title":"Domain","maxLength":65536,"minLength":1,"type":"string","format":"uri","example":"http://example.com.mx"},"taxid":{"title":"Taxid","maxLength":100,"minLength":1,"type":"string","example":"XEXX010101000"},"address":{"$ref":"#/components/schemas/modules__organization__organization_model__Address"},"person":{"$ref":"#/components/schemas/PersonPaperWork"},"company":{"$ref":"#/components/schemas/CompanyPaperWork"},"_id":{"title":" Id","type":"string","examples":["5eb7cf5a86d9755df3a6c593","5eb7cfb05e32e07750a1756a"]},"uuid":{"title":"Uuid","type":"string","format":"uuid3"},"owner":{"title":"Owner","type":"string"},"confirmed":{"title":"Confirmed","type":"boolean","default":false},"taxid_confirmed":{"title":"Taxid Confirmed","type":"boolean","default":false},"address_confirmed":{"title":"Address Confirmed","type":"boolean","default":false},"domain_confirmed":{"title":"Domain Confirmed","type":"boolean","default":false},"name_confirmed":{"title":"Name Confirmed","type":"boolean","default":false},"brand_confirmed":{"title":"Brand Confirmed","type":"boolean","default":false},"brand_logo_confirmed":{"title":"Brand Logo Confirmed","type":"boolean","default":false},"incorporation_act_confirmed":{"title":"Incorporation Act Confirmed","type":"boolean","default":false},"legal_representative_confirmed":{"title":"Legal Representative Confirmed","type":"boolean","default":false}},"description":"Document Mapping class.\n\nFields:\n\n- `id` - MongoDB document ObjectID \"_id\" field.\nMapped to the PydanticObjectId class\n\nInherited from:\n\n- Pydantic BaseModel\n- [UpdateMethods](https://roman-right.github.io/beanie/api/interfaces/#aggregatemethods)"},"OrganizationModel":{"title":"OrganizationModel","required":["name","taxid","address","person"],"type":"object","properties":{"name":{"title":"Name","maxLength":100,"minLength":1,"type":"string"},"domain":{"title":"Domain","maxLength":65536,"minLength":1,"type":"string","format":"uri","example":"http://example.com.mx"},"taxid":{"title":"Taxid","maxLength":100,"minLength":1,"type":"string","example":"XEXX010101000"},"address":{"$ref":"#/components/schemas/modules__organization__organization_model__Address"},"person":{"$ref":"#/components/schemas/PersonPaperWork"},"company":{"$ref":"#/components/schemas/CompanyPaperWork"}}},"PaymentPlan":{"title":"PaymentPlan","required":["payments"],"type":"object","properties":{"payments":{"title":"Payments","type":"integer"}}},"PersonPaperWork":{"title":"PersonPaperWork","required":["identity","tax_id_papers","id_card"],"type":"object","properties":{"identity":{"$ref":"#/components/schemas/IdentityTypeEnum"},"tax_id_papers":{"title":"Tax Id Papers","type":"string","description":"Tax ID Papers","example":"https://aws3.s3.amazonaws.com/did-port-test/tax_papers.pdf","max_lennth":500},"id_card":{"title":"Id Card","type":"string","description":"ID Card of the person","example":"https://aws3.s3.amazonaws.com/did-port-test/id_card.pdf","max_lennth":500}}},"Phone":{"title":"Phone","required":["number"],"type":"object","properties":{"number":{"title":"Number","type":"integer"},"type":{"$ref":"#/components/schemas/PhoneType"}}},"PhoneType":{"title":"PhoneType","enum":["MOBILE","FIXED","NOTFOUND",""],"type":"string","description":"An enumeration."},"Port":{"title":"Port","required":["did_port","country","didType"],"type":"object","properties":{"did_port":{"title":"Did Port","minItems":1,"type":"array","items":{"$ref":"#/components/schemas/DidPort"}},"country":{"allOf":[{"$ref":"#/components/schemas/EnumSupportedCountryCodes"}],"example":52},"didType":{"allOf":[{"$ref":"#/components/schemas/EnumDidType"}],"example":"RANGE_FIXED"},"nip":{"title":"Nip","type":"string","description":"NIP, only EnumPerson.HOME","max_lennth":10},"port_form":{"title":"Port Form","type":"string","description":"Port Form signed by person of the Id Card with Administration Legal Power Act of the Busness, only for EnumPerson.Business","example":"https://aws3.s3.amazonaws.com/did-port-test/id_card.pdf","max_lennth":500},"organization":{"$ref":"#/components/schemas/OrganizationModel"}},"description":"Allow to write to users in a DidRequest"},"PortRequestResponse":{"title":"PortRequestResponse","required":["did_port","country","didType","requestDate"],"type":"object","properties":{"did_port":{"title":"Did Port","minItems":1,"type":"array","items":{"$ref":"#/components/schemas/DidPort"}},"country":{"allOf":[{"$ref":"#/components/schemas/EnumSupportedCountryCodes"}],"example":52},"didType":{"allOf":[{"$ref":"#/components/schemas/EnumDidType"}],"example":"RANGE_FIXED"},"nip":{"title":"Nip","type":"string","description":"NIP, only EnumPerson.HOME","max_lennth":10},"port_form":{"title":"Port Form","type":"string","description":"Port Form signed by person of the Id Card with Administration Legal Power Act of the Busness, only for EnumPerson.Business","example":"https://aws3.s3.amazonaws.com/did-port-test/id_card.pdf","max_lennth":500},"organization":{"title":"Organization","type":"string","format":"uuid3"},"adminDidStatus":{"$ref":"#/components/schemas/EnumAdminDIDStatus"},"requestDate":{"title":"Requestdate","type":"string","format":"date-time","example":"2020-01-01T00:00:00"},"aprovedDate":{"title":"Aproveddate","type":"string","format":"date-time","example":"2020-01-01T00:00:00"},"port_provider":{"title":"Port Provider","type":"string"},"port_id":{"title":"Port Id","type":"string"},"port_url":{"title":"Port Url","type":"string"}},"description":"PortRequestResponse"},"ProductOrder":{"title":"ProductOrder","required":["uuid","cicle"],"type":"object","properties":{"uuid":{"title":"The id of the product","type":"string","description":"This value is the UUID4 of the Product, must exist the product to ve a valid order","format":"uuid4","example":"47877b4a-f192-4472-b9f6-2f5456db732a"},"qty":{"title":"The quanty of the product","type":"integer","description":"This is the quanty of the product to order, if not specified 1 is the default value","default":1},"cicle":{"title":"The billing cicle of the product","allOf":[{"$ref":"#/components/schemas/EnumBillingCicle"}],"description":"This is the billing cicle of the product, must be one of the valid billing cicles of the ProductPricing model","example":"monthly"}}},"ProductPricing":{"title":"ProductPricing","required":["currencyid","msetupfee","qsetupfee","ssetupfee","asetupfee","bsetupfee","tsetupfee","monthly","quarterly","semiannually","annually","biennially","triennially"],"type":"object","properties":{"currencyid":{"allOf":[{"$ref":"#/components/schemas/modules__products__poducts_models__EnumBillingCurrency"}],"description":"The currency of the pricing","example":"MXN"},"prefix":{"title":"Prefix","type":"string","description":"The prefix of the pricing","example":"$"},"suffix":{"title":"Suffix","type":"string","description":"The suffix of the pricing","example":"MXN"},"msetupfee":{"title":"Msetupfee","type":"string","description":"The setup fee for monthly billing","example":"0.00"},"qsetupfee":{"title":"Qsetupfee","type":"string","description":"The setup fee for quarterly billing","example":"0.00"},"ssetupfee":{"title":"Ssetupfee","type":"string","description":"The setup fee for semiannually billing","example":"0.00"},"asetupfee":{"title":"Asetupfee","type":"string","description":"The setup fee for annually billing","example":"0.00"},"bsetupfee":{"title":"Bsetupfee","type":"string","description":"The setup fee for biannually billing","example":"0.00"},"tsetupfee":{"title":"Tsetupfee","type":"string","description":"The setup fee for triennially billing","example":"0.00"},"monthly":{"title":"Monthly","type":"string","description":"The monthly price, -1.00 to disable","example":"-1.00"},"quarterly":{"title":"Quarterly","type":"string","description":"The quarterly price, -1.00 to disable","example":"-1.00"},"semiannually":{"title":"Semiannually","type":"string","description":"The semiannually price, -1.00 to disable","example":"-1.00"},"annually":{"title":"Annually","type":"string","description":"The annually price, -1.00 to disable","example":"-1.00"},"biennially":{"title":"Biennially","type":"string","description":"The biennially price, -1.00 to disable","example":"-1.00"},"triennially":{"title":"Triennially","type":"string","description":"The triennially price, -1.00 to disable","example":"-1.00"}}},"ProductRecomendation":{"title":"ProductRecomendation","required":["product_uuid","oder_uuid4"],"type":"object","properties":{"product_uuid":{"title":"Product Uuid","type":"string","description":"The id of the product to recommend","format":"uuid4","example":"1"},"oder_uuid4":{"title":"Oder Uuid4","type":"string","description":"The id in the order to recommend","format":"uuid4","example":"1"}}},"ProductResponse":{"title":"ProductResponse","required":["name","type_product","paytype","uuid"],"type":"object","properties":{"name":{"title":"Name","type":"string","description":"The name of the product","example":"product"},"slug":{"title":"Slug","type":"string","description":"The friendly name of the product. Will be generated if not supplied.","example":"product"},"description":{"title":"Description","type":"string","description":"The description of the product","example":"A description of the product"},"shortdescription":{"title":"Shortdescription","type":"string","description":"The short description of the product","example":"A short description of the product"},"tagline":{"title":"Tagline","type":"string","description":"The tagline of the product","example":"A tagline for the product"},"type_product":{"allOf":[{"$ref":"#/components/schemas/EnumProductType"}],"description":"One of hostingaccount, reselleraccount, server or other","example":"other"},"color":{"title":"Color","type":"string","description":"The color to associate with the product in specific areas of the cart.","example":"#000000"},"pricing":{"title":"Pricing","type":"array","items":{"$ref":"#/components/schemas/ProductPricing"}},"paytype":{"allOf":[{"$ref":"#/components/schemas/EnumPayType"}],"description":"The payment type of the product. One of free, onetime, recurring","example":"onetime"},"tax":{"title":"Tax","type":"boolean","default":true},"stockcontrol":{"title":"Stockcontrol","type":"boolean","description":"Set to true to enable stock control on the product","example":false},"qty":{"title":"Qty","type":"integer","description":"How much of this product is in stock"},"isFeatured":{"title":"Isfeatured","type":"boolean","default":false},"recommendations":{"title":"Recommendations","type":"array","items":{"$ref":"#/components/schemas/ProductRecomendation"}},"proratabilling":{"title":"Proratabilling","type":"boolean","description":"Set to true to enable prorata billing","example":false},"proratadate":{"title":"Proratadate","type":"integer","description":"The specific billing date for all sales of the product. If you set this to 1, the system will charge all clients on the 1st of each month.","example":1},"proratachargenextmonth":{"title":"Proratachargenextmonth","type":"boolean","description":"After this day of the month, the system will also charge a client for the next month in their initial payment when signing up on a monthly billing cycle. If you enable this, they would pay the prorated amount plus the next month in advance.","example":false},"sms_configuration":{"$ref":"#/components/schemas/ProductSMS"},"uuid":{"title":"Uuid","type":"string","description":"The uuid of the product","format":"uuid4"}},"description":"This is the response without Product Admin Values"},"ProductSMS":{"title":"ProductSMS","required":["credits_out","credits_in","incomming","callback_enable","did_enable","did_incluided","premium_sms","premium_did","vigency_months"],"type":"object","properties":{"credits_out":{"title":"Credits Out","type":"integer","description":"The number of Outgoing Credits to give the client","example":1},"credits_in":{"title":"Credits In","type":"integer","description":"The number of Incomming Credits to give the client","example":1},"incomming":{"title":"Incomming","type":"boolean","description":"Set to true to enable incomming sms","example":true},"callback_enable":{"title":"Callback Enable","type":"boolean","description":"Set to true to enable callback webhooks","example":true},"did_enable":{"title":"Did Enable","type":"boolean","description":"Set to true to enable dids","example":true},"did_incluided":{"title":"Did Incluided","type":"integer","description":"The number of dids to include in this package","example":1},"premium_sms":{"title":"Premium Sms","type":"boolean","description":"Set to true to enable premium sms","example":false},"premium_did":{"title":"Premium Did","type":"boolean","description":"Set to true to enable premium did","example":false},"did_premium_incluided":{"title":"Did Premium Incluided","type":"integer","description":"The number of premium dids to include in this package","example":0},"vigency_months":{"title":"Vigency Months","type":"integer","description":"The number of months the credits will be valid","example":1}}},"RecaptchaRequestFrontend":{"title":"RecaptchaRequestFrontend","required":["response"],"type":"object","properties":{"response":{"title":"Response","type":"string"},"remoteip":{"title":"Remoteip","type":"string"}}},"SmsCreditsResponse":{"title":"SmsCreditsResponse","type":"object","properties":{"credits":{"title":"Credits","type":"integer","default":0},"credits_from_redis":{"title":"Credits From Redis","type":"integer","default":0}}},"SmsDetailRecordResponse":{"title":"SmsDetailRecordResponse","required":["year_and_month_stamp"],"type":"object","properties":{"messages":{"title":"Messages","type":"array","items":{"$ref":"#/components/schemas/MessageResponse"},"default":[]},"year_and_month_stamp":{"title":"Year And Month Stamp","type":"string","format":"date-time","example":"2022-06-20T22:29:52.177000+00:00"},"metadata":{"title":"Pagination contacts metadata","allOf":[{"$ref":"#/components/schemas/modules__sms__sms_module__Pagination"}],"description":"This metadata is used to paginate the contacts in the list","example":{"lenght":100,"pageIndex":0,"pageSize":10}}}},"SmsMessageResponse":{"title":"SmsMessageResponse","required":["success","creditsAvailable","reimbursed"],"type":"object","properties":{"success":{"title":"Success","type":"boolean"},"messages":{"title":"Messages","type":"array","items":{"$ref":"#/components/schemas/MessageResponse"},"default":[]},"creditsAvailable":{"title":"Creditsavailable","type":"integer"},"reimbursed":{"title":"Reimbursed","type":"integer"}},"description":"Sms Message Response\n\nResponse to the user"},"SmsSend":{"title":"SmsSend","required":["cid","body","to"],"type":"object","properties":{"cid":{"title":"Cid","maxLength":20,"type":"string"},"body":{"title":"Message","maxLength":680,"type":"string","description":"Message text 2","example":"message in body request"},"encoding":{"allOf":[{"$ref":"#/components/schemas/EnumSmsEncoding"}],"default":"GSM","example":"gsm"},"to":{"title":"Phone Numbers","maxLength":20,"minLength":6,"type":"array","items":{"maxLength":20,"minLength":6,"type":"string"},"description":"Array of Phone Numers destination."}}},"StripeCharges":{"title":"StripeCharges","required":["amount","description","order_id","source"],"type":"object","properties":{"amount":{"title":"Amount","type":"number"},"currency":{"allOf":[{"$ref":"#/components/schemas/modules__billing__billing_model__EnumBillingCurrency"}],"default":"MXN"},"description":{"title":"Description","maxLength":100,"minLength":1,"type":"string","example":"VInoc Connect"},"order_id":{"title":"Order Id","maxLength":100,"minLength":1,"type":"string","example":"UUID4"},"source":{"title":"Source","type":"string","description":"Stripe Source/Token"}}},"TimeFormat":{"title":"TimeFormat","enum":["24-hour clock","12-hour clock"],"type":"string","description":"An enumeration."},"TouchData":{"title":"TouchData","type":"object","properties":{"source":{"title":"Source","type":"string"},"medium":{"title":"Medium","type":"string"},"campaign":{"title":"Campaign","type":"string"},"content":{"title":"Content","type":"string"},"term":{"title":"Term","type":"string"},"campaign_id":{"title":"Campaign Id","type":"string"},"landing_page":{"title":"Landing Page","type":"string"},"ts":{"title":"Ts","type":"string"}},"description":"Base para modelos que normalizan strings vacios y truncan en lugar de rechazar.\n\nCada subclase declara `_max_lengths` (campo -> maximo). Los campos que no\naparecen ahi usan `_default_max_len`."},"TrackingData":{"title":"TrackingData","type":"object","properties":{"event_id":{"title":"Event Id","type":"string"},"form_id":{"title":"Form Id","type":"string"},"page_url":{"title":"Page Url","type":"string"},"page_title":{"title":"Page Title","type":"string"},"landing_page":{"title":"Landing Page","type":"string"},"referrer":{"title":"Referrer","type":"string"},"gclid":{"title":"Gclid","type":"string"},"gbraid":{"title":"Gbraid","type":"string"},"wbraid":{"title":"Wbraid","type":"string"},"dclid":{"title":"Dclid","type":"string"},"fbclid":{"title":"Fbclid","type":"string"},"fbc":{"title":"Fbc","type":"string"},"fbp":{"title":"Fbp","type":"string"},"ttclid":{"title":"Ttclid","type":"string"},"ttp":{"title":"Ttp","type":"string"},"msclkid":{"title":"Msclkid","type":"string"},"li_fat_id":{"title":"Li Fat Id","type":"string"},"ga_client_id":{"title":"Ga Client Id","type":"string"},"gcl_aw":{"title":"Gcl Aw","type":"string"},"user_agent":{"title":"User Agent","type":"string"},"language":{"title":"Language","type":"string"},"consent":{"title":"Consent","type":"string"},"last_touch":{"$ref":"#/components/schemas/TouchData"},"first_touch":{"$ref":"#/components/schemas/TouchData"}},"description":"Base para modelos que normalizan strings vacios y truncan en lugar de rechazar.\n\nCada subclase declara `_max_lengths` (campo -> maximo). Los campos que no\naparecen ahi usan `_default_max_len`."},"TransferMethod":{"title":"TransferMethod","enum":["BLIND","ATTENDED/CONSULTATIVE TRANSFER"],"type":"string","description":"An enumeration."},"UserModel":{"title":"UserModel","required":["extensionNumber","voiceMailPin","name","surname"],"type":"object","properties":{"extensionNumber":{"title":"Extensionnumber","maximum":99999.0,"minimum":100.0,"type":"integer","example":100},"outBoundCallerId":{"title":"Outboundcallerid","maxLength":20,"type":"string","default":"","example":""},"devices":{"title":"Fixed Devices","type":"array","items":{"$ref":"#/components/schemas/DeviceResponse"},"description":"This is the fixed devices of the user","default":[]},"type":{"allOf":[{"$ref":"#/components/schemas/EnumBLF"}],"default":"BLANK"},"blank":{"title":"Blank","type":"string"},"lineKey":{"title":"Linekey","type":"string"},"BLF":{"$ref":"#/components/schemas/Extension"},"speedDial":{"$ref":"#/components/schemas/Extension"},"customSpeedDial":{"$ref":"#/components/schemas/ExtensionDirectory"},"agentLogin":{"$ref":"#/components/schemas/EnumAgentStatus"},"changeStatus":{"$ref":"#/components/schemas/EnumExtensionStatus"},"disable":{"title":"Disable","type":"boolean","default":false},"disableExternalCalls":{"title":"Disableexternalcalls","type":"boolean","default":false},"enablePinProtect":{"title":"Enablepinprotect","type":"boolean","default":false},"disableVPN":{"title":"Disablevpn","type":"boolean","default":false},"pinProtectTime":{"title":"Pinprotecttime","type":"integer","default":0},"callRecording":{"allOf":[{"$ref":"#/components/schemas/EnumRecording"}],"default":"OFF"},"hotDesking":{"title":"Hotdesking","type":"boolean","default":false},"sendEmailOnMissedCall":{"title":"Sendemailonmissedcall","type":"boolean","default":true},"hideThisExtensionFromPhoneBook":{"title":"Hidethisextensionfromphonebook","type":"boolean","default":false},"pbxDeliverAudio":{"title":"Pbxdeliveraudio","type":"boolean","default":true},"supportReInvites":{"title":"Supportreinvites","type":"boolean","default":true},"supportReplaceHeader":{"title":"Supportreplaceheader","type":"boolean","default":true},"pinActive":{"title":"Pinactive","type":"boolean","default":true},"voiceMailPin":{"title":"Voicemailpin","exclusiveMaximum":9999.0,"exclusiveMinimum":999.0,"type":"integer","example":9825},"emailAction":{"allOf":[{"$ref":"#/components/schemas/EnumVoiceMailAction"}],"default":"No voice mail email notification"},"disablePin":{"title":"Disablepin","type":"boolean","default":false},"reproduceCallId":{"title":"Reproducecallid","type":"boolean","default":false},"voiceMailMessageName":{"title":"Voicemailmessagename","maxLength":900,"type":"string","example":"100-voicemail.wav"},"voiceMailMessageUUID":{"title":"Voicemailmessageuuid","type":"string","format":"uuid4","example":"9fcd6459-75fb-48e8-b208-00284eb377ee"},"statusModes":{"title":"Statusmodes","maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/ArrayMode"},"default":[{"mode":"AVAILABLE","timeout":60,"internalAction":{"action":"FORWARD_VOICEMAIL","timeout":60},"externalAction":{"action":"FORWARD_VOICEMAIL","timeout":60},"externalActionUnregistered":{"action":"FORWARD_VOICEMAIL","timeout":60},"logOutQueues":false,"acceptCallFromRingGroups":true,"acceptPushNotifications":true},{"mode":"BUSINESS_TRIP","timeout":60,"internalAction":{"action":"FORWARD_VOICEMAIL","timeout":60},"externalAction":{"action":"FORWARD_VOICEMAIL","timeout":60}},{"mode":"DONT_DISTURB","timeout":60,"internalAction":{"action":"FORWARD_VOICEMAIL","timeout":60},"externalAction":{"action":"FORWARD_VOICEMAIL","timeout":60}},{"mode":"AUSENT","timeout":60,"internalAction":{"action":"FORWARD_VOICEMAIL","timeout":60},"externalAction":{"action":"FORWARD_VOICEMAIL","timeout":60}},{"mode":"LUNCH","timeout":60,"internalAction":{"action":"FORWARD_VOICEMAIL","timeout":60},"externalAction":{"action":"FORWARD_VOICEMAIL","timeout":60}}]},"buildingname":{"title":"Building","maxLength":200,"type":"string","example":"Torre B"},"co":{"title":"Country","allOf":[{"$ref":"#/components/schemas/CountryEnum"}],"default":"MX"},"name":{"title":"Name","maxLength":200,"type":"string"},"surname":{"title":"Last Name","maxLength":200,"type":"string"},"displayname":{"title":"Displayname","maxLength":200,"type":"string"},"company":{"title":"Company","maxLength":200,"type":"string"},"comment":{"title":"Comment","maxLength":200,"type":"string"},"mail":{"title":"Mail","type":"string","format":"email"},"mobile":{"title":"Mobile","maxLength":20,"type":"string"},"pager":{"title":"Pager","maxLength":20,"type":"string"},"radio":{"title":"Radio","maxLength":20,"type":"string"},"ipPhone":{"title":"LDAP IP Phone","maxLength":500,"type":"string","description":"SIP URI","example":"100@sipuri.vino.mx"}},"description":"UserModel  allow user to edit or create at this level"},"UserOTP":{"title":"UserOTP","required":["jwt_token","otpCode"],"type":"object","properties":{"jwt_token":{"title":"Jwt Token","type":"string"},"otpCode":{"title":"Otpcode","type":"string"},"generationTime":{"title":"Generationtime","type":"string","format":"date-time","example":"2022-06-20T22:29:52.177000+00:00"}}},"UserProfileEditAllowed":{"title":"UserProfileEditAllowed","required":["name","lastName","email","mobile","businessName","country"],"type":"object","properties":{"name":{"title":"Name","maxLength":50,"minLength":1,"type":"string"},"lastName":{"title":"Lastname","maxLength":50,"minLength":1,"type":"string"},"email":{"title":"Email","type":"string","format":"email"},"mobileCountryCode":{"title":"Mobilecountrycode","maxLength":4,"minLength":1,"pattern":"^[1-9][0-9]*$","type":"string","default":"52","example":"52"},"mobile":{"title":"Mobile","maxLength":20,"minLength":8,"pattern":"^[1-9][0-9]*$","type":"string","example":"5555555555"},"businessName":{"title":"Businessname","maxLength":100,"minLength":1,"type":"string"},"country":{"$ref":"#/components/schemas/CountryEnum"},"taxId":{"title":"Taxid","maxLength":50,"minLength":1,"type":"string","default":"XAXX010101000","example":"XAXX010101000"},"taxRegime":{"title":"Taxregime","maxLength":50,"minLength":1,"type":"string","default":"616","example":"616"},"usoCFDI":{"title":"Usocfdi","maxLength":50,"minLength":1,"type":"string","default":"S01","example":"S01"},"zipCode":{"title":"Zipcode","maxLength":10,"minLength":1,"type":"string","default":"44160","example":"44160"},"line1":{"title":"Line1","maxLength":100,"type":"string","example":"Av. Siempre Viva 69 - 420"},"line2":{"title":"Line2","maxLength":100,"type":"string","example":"Colonia"},"line3":{"title":"Line3","maxLength":100,"type":"string","example":"Delegacion"},"state":{"title":"State","maxLength":100,"type":"string","example":"Jalisco"},"city":{"title":"City","maxLength":100,"type":"string","example":"Guadalajara"}}},"UserProfileResponse":{"title":"UserProfileResponse","required":["name","lastName","email","mobile","businessName","country"],"type":"object","properties":{"name":{"title":"Name","maxLength":50,"minLength":1,"type":"string"},"lastName":{"title":"Lastname","maxLength":50,"minLength":1,"type":"string"},"email":{"title":"Email","type":"string","format":"email"},"mobileCountryCode":{"title":"Mobilecountrycode","maxLength":4,"minLength":1,"pattern":"^[1-9][0-9]*$","type":"string","default":"52","example":"52"},"mobile":{"title":"Mobile","maxLength":20,"minLength":8,"pattern":"^[1-9][0-9]*$","type":"string","example":"5555555555"},"businessName":{"title":"Businessname","maxLength":100,"minLength":1,"type":"string"},"country":{"$ref":"#/components/schemas/CountryEnum"},"taxId":{"title":"Taxid","maxLength":50,"minLength":1,"type":"string","default":"XAXX010101000","example":"XAXX010101000"},"taxRegime":{"title":"Taxregime","maxLength":50,"minLength":1,"type":"string","default":"616","example":"616"},"usoCFDI":{"title":"Usocfdi","maxLength":50,"minLength":1,"type":"string","default":"S01","example":"S01"},"zipCode":{"title":"Zipcode","maxLength":10,"minLength":1,"type":"string","default":"44160","example":"44160"},"line1":{"title":"Line1","maxLength":100,"type":"string","example":"Av. Siempre Viva 69 - 420"},"line2":{"title":"Line2","maxLength":100,"type":"string","example":"Colonia"},"line3":{"title":"Line3","maxLength":100,"type":"string","example":"Delegacion"},"state":{"title":"State","maxLength":100,"type":"string","example":"Jalisco"},"city":{"title":"City","maxLength":100,"type":"string","example":"Guadalajara"},"email_verified":{"title":"Email Verified","type":"boolean","default":false},"mobile_verified":{"title":"Mobile Verified","type":"boolean","default":false},"rate_group_uuid":{"title":"Rate Group Uuid","type":"string","format":"uuid4"}}},"UserResponse":{"title":"UserResponse","required":["extensionNumber","voiceMailPin","name","surname","organization_user_uuid3"],"type":"object","properties":{"extensionNumber":{"title":"Extensionnumber","maximum":99999.0,"minimum":100.0,"type":"integer","example":100},"outBoundCallerId":{"title":"Outboundcallerid","maxLength":20,"type":"string","default":"","example":""},"devices":{"title":"Fixed Devices","type":"array","items":{"$ref":"#/components/schemas/DeviceResponse"},"description":"This is the fixed devices of the user","default":[]},"type":{"allOf":[{"$ref":"#/components/schemas/EnumBLF"}],"default":"BLANK"},"blank":{"title":"Blank","type":"string"},"lineKey":{"title":"Linekey","type":"string"},"BLF":{"$ref":"#/components/schemas/Extension"},"speedDial":{"$ref":"#/components/schemas/Extension"},"customSpeedDial":{"$ref":"#/components/schemas/ExtensionDirectory"},"agentLogin":{"$ref":"#/components/schemas/EnumAgentStatus"},"changeStatus":{"$ref":"#/components/schemas/EnumExtensionStatus"},"disable":{"title":"Disable","type":"boolean","default":false},"disableExternalCalls":{"title":"Disableexternalcalls","type":"boolean","default":false},"enablePinProtect":{"title":"Enablepinprotect","type":"boolean","default":false},"disableVPN":{"title":"Disablevpn","type":"boolean","default":false},"pinProtectTime":{"title":"Pinprotecttime","type":"integer","default":0},"callRecording":{"allOf":[{"$ref":"#/components/schemas/EnumRecording"}],"default":"OFF"},"hotDesking":{"title":"Hotdesking","type":"boolean","default":false},"sendEmailOnMissedCall":{"title":"Sendemailonmissedcall","type":"boolean","default":true},"hideThisExtensionFromPhoneBook":{"title":"Hidethisextensionfromphonebook","type":"boolean","default":false},"pbxDeliverAudio":{"title":"Pbxdeliveraudio","type":"boolean","default":true},"supportReInvites":{"title":"Supportreinvites","type":"boolean","default":true},"supportReplaceHeader":{"title":"Supportreplaceheader","type":"boolean","default":true},"pinActive":{"title":"Pinactive","type":"boolean","default":true},"voiceMailPin":{"title":"Voicemailpin","exclusiveMaximum":9999.0,"exclusiveMinimum":999.0,"type":"integer","example":9825},"emailAction":{"allOf":[{"$ref":"#/components/schemas/EnumVoiceMailAction"}],"default":"No voice mail email notification"},"disablePin":{"title":"Disablepin","type":"boolean","default":false},"reproduceCallId":{"title":"Reproducecallid","type":"boolean","default":false},"voiceMailMessageName":{"title":"Voicemailmessagename","maxLength":900,"type":"string","example":"100-voicemail.wav"},"voiceMailMessageUUID":{"title":"Voicemailmessageuuid","type":"string","format":"uuid4","example":"9fcd6459-75fb-48e8-b208-00284eb377ee"},"statusModes":{"title":"Statusmodes","maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/ArrayMode"},"default":[{"mode":"AVAILABLE","timeout":60,"internalAction":{"action":"FORWARD_VOICEMAIL","timeout":60},"externalAction":{"action":"FORWARD_VOICEMAIL","timeout":60},"externalActionUnregistered":{"action":"FORWARD_VOICEMAIL","timeout":60},"logOutQueues":false,"acceptCallFromRingGroups":true,"acceptPushNotifications":true},{"mode":"BUSINESS_TRIP","timeout":60,"internalAction":{"action":"FORWARD_VOICEMAIL","timeout":60},"externalAction":{"action":"FORWARD_VOICEMAIL","timeout":60}},{"mode":"DONT_DISTURB","timeout":60,"internalAction":{"action":"FORWARD_VOICEMAIL","timeout":60},"externalAction":{"action":"FORWARD_VOICEMAIL","timeout":60}},{"mode":"AUSENT","timeout":60,"internalAction":{"action":"FORWARD_VOICEMAIL","timeout":60},"externalAction":{"action":"FORWARD_VOICEMAIL","timeout":60}},{"mode":"LUNCH","timeout":60,"internalAction":{"action":"FORWARD_VOICEMAIL","timeout":60},"externalAction":{"action":"FORWARD_VOICEMAIL","timeout":60}}]},"buildingname":{"title":"Building","maxLength":200,"type":"string","example":"Torre B"},"co":{"title":"Country","allOf":[{"$ref":"#/components/schemas/CountryEnum"}],"default":"MX"},"name":{"title":"Name","maxLength":200,"type":"string"},"surname":{"title":"Last Name","maxLength":200,"type":"string"},"displayname":{"title":"Displayname","maxLength":200,"type":"string"},"company":{"title":"Company","maxLength":200,"type":"string"},"comment":{"title":"Comment","maxLength":200,"type":"string"},"mail":{"title":"Mail","type":"string","format":"email"},"mobile":{"title":"Mobile","maxLength":20,"type":"string"},"pager":{"title":"Pager","maxLength":20,"type":"string"},"radio":{"title":"Radio","maxLength":20,"type":"string"},"ipPhone":{"title":"LDAP IP Phone","maxLength":500,"type":"string","description":"SIP URI","example":"100@sipuri.vino.mx"},"organization_user_uuid3":{"title":"Organization User Uuid3","type":"string","format":"uuid3"},"organization":{"title":"Organization","type":"string","format":"uuid3"}},"description":"This is the user response model, users are not permited to edit this values but them can read\n\nParams:\n\n    - organziationUserUuid3\n    - organization\n\norganziationUserUuid3 is structured as follow:\n\nuuid3(NS_DNS,\"vinoc.mx\",\"username\",\"organization_name\",\"extensionNumber\")\n\nThis is guaranty of the extensionNumber is always unique for a given organization and user name.\n\nIf organization_name is blank or null, then str: \"default\" should be ussed."},"UserResponseDashboardView":{"title":"UserResponseDashboardView","required":["name","surname","organization_user_uuid3","extensionNumber"],"type":"object","properties":{"buildingname":{"title":"Building","maxLength":200,"type":"string","example":"Torre B"},"co":{"title":"Country","allOf":[{"$ref":"#/components/schemas/CountryEnum"}],"default":"MX"},"name":{"title":"Name","maxLength":200,"type":"string"},"surname":{"title":"Last Name","maxLength":200,"type":"string"},"displayname":{"title":"Displayname","maxLength":200,"type":"string"},"company":{"title":"Company","maxLength":200,"type":"string"},"comment":{"title":"Comment","maxLength":200,"type":"string"},"mail":{"title":"Mail","type":"string","format":"email"},"mobile":{"title":"Mobile","maxLength":20,"type":"string"},"pager":{"title":"Pager","maxLength":20,"type":"string"},"radio":{"title":"Radio","maxLength":20,"type":"string"},"ipPhone":{"title":"LDAP IP Phone","maxLength":500,"type":"string","description":"SIP URI","example":"100@sipuri.vino.mx"},"organization_user_uuid3":{"title":"Organization User Uuid3","type":"string","format":"uuid3"},"organization":{"title":"Organization","type":"string","format":"uuid3"},"outBoundCallerId":{"title":"Outboundcallerid","maxLength":20,"type":"string","default":"","example":""},"extensionNumber":{"title":"Extensionnumber","maximum":99999.0,"minimum":100.0,"type":"integer","example":100}},"description":"This is a Projection Model to returns params to the GUI Dashboard View.\nSave the bandwith!."},"ValidationError":{"title":"ValidationError","required":["loc","msg","type"],"type":"object","properties":{"loc":{"title":"Location","type":"array","items":{"anyOf":[{"type":"string"},{"type":"integer"}]}},"msg":{"title":"Message","type":"string"},"type":{"title":"Error Type","type":"string"}}},"Variables":{"title":"Variables","type":"object","properties":{"name":{"title":"Name","maxLength":20,"type":"string","default":"","example":"tarjeta"},"value":{"title":"Value","maxLength":20,"type":"string","default":"","example":"**1234"}}},"VariablesName":{"title":"VariablesName","type":"object","properties":{"name":{"title":"Name","maxLength":20,"type":"string","default":"","example":"tarjeta"}}},"VlanConfiguration":{"title":"VlanConfiguration","type":"object","properties":{"enabled":{"allOf":[{"$ref":"#/components/schemas/EnumEnableDisable"}],"default":"DISABLE"},"vlan":{"title":"Vlan","maximum":4094.0,"minimum":0.0,"type":"integer","default":0},"vlan_priority":{"title":"Vlan Priority","maximum":100000.0,"minimum":0.0,"type":"integer","default":0}}},"modules__billing__billing_model__Address":{"title":"Address","required":["line1","state","city","country_code","postal_code"],"type":"object","properties":{"line1":{"title":"Line1","type":"string"},"line2":{"title":"Line2","type":"string"},"line3":{"title":"Line3","type":"string"},"state":{"title":"State","type":"string"},"city":{"title":"City","type":"string"},"country_code":{"title":"Country Code","type":"string"},"postal_code":{"title":"Postal Code","type":"string"}}},"modules__billing__billing_model__EnumBillingCurrency":{"title":"EnumBillingCurrency","enum":["MXN","USD"],"type":"string","description":"An enumeration."},"modules__contacts__contacts_models__Pagination":{"title":"Pagination","required":["length","pageIndex","pageSize"],"type":"object","properties":{"length":{"title":"Length","type":"integer","example":100},"pageIndex":{"title":"Pageindex","type":"integer","example":1},"pageSize":{"title":"Pagesize","type":"integer","example":10}}},"modules__organization__organization_model__Address":{"title":"Address","required":["country","zip_code","state","municipality","locality","street","external_number","internal_number"],"type":"object","properties":{"country":{"allOf":[{"$ref":"#/components/schemas/CountryEnum"}],"example":"MX"},"zip_code":{"title":"Zip Code","maxLength":20,"minLength":1,"type":"string","example":"44160"},"state":{"title":"State","maxLength":100,"minLength":1,"type":"string","example":"Jalisco"},"municipality":{"title":"Municipality","maxLength":100,"minLength":1,"type":"string","example":"Guadalajara"},"locality":{"title":"Locality","maxLength":100,"minLength":1,"type":"string","example":"Down Town"},"street":{"title":"Street","maxLength":100,"minLength":1,"type":"string","example":"Fake Street"},"external_number":{"title":"External Number","maxLength":10,"minLength":1,"type":"string","example":"123"},"internal_number":{"title":"Internal Number","maxLength":10,"minLength":1,"type":"string","example":"A"}}},"modules__products__poducts_models__EnumBillingCurrency":{"title":"EnumBillingCurrency","enum":["MXN","USD"],"type":"string","description":"An enumeration."},"modules__sms__sms_module__Pagination":{"title":"Pagination","required":["length","pageIndex","pageSize"],"type":"object","properties":{"length":{"title":"Length","type":"integer","example":100},"pageIndex":{"title":"Pageindex","type":"integer","example":1},"pageSize":{"title":"Pagesize","type":"integer","example":10}}}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"},"APIKeyQuery":{"type":"apiKey","description":"Legacy token auth for QueryParam","in":"query","name":"LEGACY-API-KEY-QUERY"},"APIKeyHeader":{"type":"apiKey","description":"Legacy token auth Header Param","in":"header","name":"LEGACY-API-KEY-HEADER"}}}}