jaxl-python 0.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- jaxl/api/__init__.py +85 -0
- jaxl/api/_client.py +588 -0
- jaxl/api/cli.py +53 -0
- jaxl/api/client/__init__.py +18 -0
- jaxl/api/client/_scm_version.py +21 -0
- jaxl/api/client/_scm_version.pyi +7 -0
- jaxl/api/client/api/__init__.py +10 -0
- jaxl/api/client/api/schema/__init__.py +9 -0
- jaxl/api/client/api/schema/schema_retrieve.py +214 -0
- jaxl/api/client/api/v1/__init__.py +9 -0
- jaxl/api/client/api/v1/v1_accounts_logout_create.py +120 -0
- jaxl/api/client/api/v1/v1_accounts_otp_create.py +186 -0
- jaxl/api/client/api/v1/v1_accounts_remove_create.py +122 -0
- jaxl/api/client/api/v1/v1_accounts_verify_create.py +183 -0
- jaxl/api/client/api/v1/v1_analytics_data_retrieve.py +349 -0
- jaxl/api/client/api/v1/v1_analytics_list.py +234 -0
- jaxl/api/client/api/v1/v1_app_countries_list.py +192 -0
- jaxl/api/client/api/v1/v1_app_domains_list.py +207 -0
- jaxl/api/client/api/v1/v1_app_organizations_create.py +178 -0
- jaxl/api/client/api/v1/v1_app_organizations_credentials_retrieve.py +152 -0
- jaxl/api/client/api/v1/v1_app_organizations_devices_list.py +205 -0
- jaxl/api/client/api/v1/v1_app_organizations_list.py +221 -0
- jaxl/api/client/api/v1/v1_app_organizations_me_retrieve.py +178 -0
- jaxl/api/client/api/v1/v1_app_organizations_retrieve.py +171 -0
- jaxl/api/client/api/v1/v1_app_referrals_create.py +175 -0
- jaxl/api/client/api/v1/v1_apps_contact_create.py +124 -0
- jaxl/api/client/api/v1/v1_apps_context_create.py +178 -0
- jaxl/api/client/api/v1/v1_apps_retrieve.py +167 -0
- jaxl/api/client/api/v1/v1_appusers_me_retrieve.py +146 -0
- jaxl/api/client/api/v1/v1_appusers_preferences_create.py +175 -0
- jaxl/api/client/api/v1/v1_appusers_retrieve.py +167 -0
- jaxl/api/client/api/v1/v1_appusers_sdds_create.py +171 -0
- jaxl/api/client/api/v1/v1_call_recording_retrieve.py +188 -0
- jaxl/api/client/api/v1/v1_call_tags_list.py +207 -0
- jaxl/api/client/api/v1/v1_calls_accept_create.py +188 -0
- jaxl/api/client/api/v1/v1_calls_act_create.py +137 -0
- jaxl/api/client/api/v1/v1_calls_dates_retrieve.py +177 -0
- jaxl/api/client/api/v1/v1_calls_destroy.py +114 -0
- jaxl/api/client/api/v1/v1_calls_hangup_retrieve.py +118 -0
- jaxl/api/client/api/v1/v1_calls_list.py +436 -0
- jaxl/api/client/api/v1/v1_calls_record_create.py +129 -0
- jaxl/api/client/api/v1/v1_calls_recording_retrieve.py +177 -0
- jaxl/api/client/api/v1/v1_calls_retrieve.py +186 -0
- jaxl/api/client/api/v1/v1_calls_search_list.py +286 -0
- jaxl/api/client/api/v1/v1_calls_share_create.py +197 -0
- jaxl/api/client/api/v1/v1_calls_tags_create.py +194 -0
- jaxl/api/client/api/v1/v1_calls_tags_destroy.py +127 -0
- jaxl/api/client/api/v1/v1_calls_tags_list.py +188 -0
- jaxl/api/client/api/v1/v1_calls_token_create.py +175 -0
- jaxl/api/client/api/v1/v1_calls_transcribe_create.py +200 -0
- jaxl/api/client/api/v1/v1_calls_transcriptions_list.py +201 -0
- jaxl/api/client/api/v1/v1_calls_usage_retrieve.py +219 -0
- jaxl/api/client/api/v1/v1_campaign_clone_create.py +191 -0
- jaxl/api/client/api/v1/v1_campaign_export_retrieve.py +128 -0
- jaxl/api/client/api/v1/v1_campaign_list.py +217 -0
- jaxl/api/client/api/v1/v1_campaign_partial_update.py +196 -0
- jaxl/api/client/api/v1/v1_campaign_upload_create.py +171 -0
- jaxl/api/client/api/v1/v1_clients_verify_create.py +175 -0
- jaxl/api/client/api/v1/v1_contacts_list.py +188 -0
- jaxl/api/client/api/v1/v1_conversation_ack_retrieve.py +173 -0
- jaxl/api/client/api/v1/v1_conversation_add_members_create.py +209 -0
- jaxl/api/client/api/v1/v1_conversation_create.py +175 -0
- jaxl/api/client/api/v1/v1_conversation_list.py +192 -0
- jaxl/api/client/api/v1/v1_conversation_members_list.py +207 -0
- jaxl/api/client/api/v1/v1_conversation_messages_list.py +222 -0
- jaxl/api/client/api/v1/v1_conversation_remove_member_retrieve.py +192 -0
- jaxl/api/client/api/v1/v1_conversation_update_name_partial_update.py +120 -0
- jaxl/api/client/api/v1/v1_credit_list.py +188 -0
- jaxl/api/client/api/v1/v1_customer_consumables_retrieve.py +194 -0
- jaxl/api/client/api/v1/v1_customer_invoice_retrieve.py +120 -0
- jaxl/api/client/api/v1/v1_customer_subscription_cancel_create.py +177 -0
- jaxl/api/client/api/v1/v1_customer_subscription_resume_create.py +180 -0
- jaxl/api/client/api/v1/v1_device_keys_get_create.py +174 -0
- jaxl/api/client/api/v1/v1_device_keys_multiget_list.py +214 -0
- jaxl/api/client/api/v1/v1_device_keys_multiset_create.py +118 -0
- jaxl/api/client/api/v1/v1_device_keys_remove_create.py +118 -0
- jaxl/api/client/api/v1/v1_device_keys_set_create.py +120 -0
- jaxl/api/client/api/v1/v1_device_keys_wget_create.py +182 -0
- jaxl/api/client/api/v1/v1_device_transport_create.py +175 -0
- jaxl/api/client/api/v1/v1_devices_attest_create.py +231 -0
- jaxl/api/client/api/v1/v1_devices_link_create.py +150 -0
- jaxl/api/client/api/v1/v1_devices_list.py +222 -0
- jaxl/api/client/api/v1/v1_devices_parent_retrieve.py +175 -0
- jaxl/api/client/api/v1/v1_devices_retrieve.py +174 -0
- jaxl/api/client/api/v1/v1_devices_sdds_create.py +177 -0
- jaxl/api/client/api/v1/v1_devices_sdds_retrieve.py +171 -0
- jaxl/api/client/api/v1/v1_devices_token_create.py +188 -0
- jaxl/api/client/api/v1/v1_devices_unlink_create.py +114 -0
- jaxl/api/client/api/v1/v1_devices_update.py +193 -0
- jaxl/api/client/api/v1/v1_families_invite_update.py +175 -0
- jaxl/api/client/api/v1/v1_families_list.py +192 -0
- jaxl/api/client/api/v1/v1_families_membership_create.py +188 -0
- jaxl/api/client/api/v1/v1_families_retrieve.py +167 -0
- jaxl/api/client/api/v1/v1_greeting_audio_create.py +171 -0
- jaxl/api/client/api/v1/v1_greeting_deactivate_partial_update.py +172 -0
- jaxl/api/client/api/v1/v1_greeting_disable_create.py +173 -0
- jaxl/api/client/api/v1/v1_greeting_latest_create.py +176 -0
- jaxl/api/client/api/v1/v1_greeting_list.py +275 -0
- jaxl/api/client/api/v1/v1_greeting_new_create.py +173 -0
- jaxl/api/client/api/v1/v1_greeting_resolve_create.py +174 -0
- jaxl/api/client/api/v1/v1_greeting_retrieve.py +169 -0
- jaxl/api/client/api/v1/v1_greeting_upload_create.py +173 -0
- jaxl/api/client/api/v1/v1_ivr_create.py +175 -0
- jaxl/api/client/api/v1/v1_ivr_list.py +229 -0
- jaxl/api/client/api/v1/v1_ivr_options_create.py +199 -0
- jaxl/api/client/api/v1/v1_ivr_options_list.py +207 -0
- jaxl/api/client/api/v1/v1_ivr_options_partial_update.py +216 -0
- jaxl/api/client/api/v1/v1_ivr_options_retrieve.py +189 -0
- jaxl/api/client/api/v1/v1_ivr_partial_update.py +188 -0
- jaxl/api/client/api/v1/v1_ivr_retrieve.py +209 -0
- jaxl/api/client/api/v1/v1_ivr_try_create.py +236 -0
- jaxl/api/client/api/v1/v1_ivr_try_retrieve.py +219 -0
- jaxl/api/client/api/v1/v1_kyc_aadhar_create.py +199 -0
- jaxl/api/client/api/v1/v1_kyc_address_create.py +239 -0
- jaxl/api/client/api/v1/v1_kyc_address_list.py +302 -0
- jaxl/api/client/api/v1/v1_kyc_address_retrieve.py +167 -0
- jaxl/api/client/api/v1/v1_kyc_address_url_create.py +191 -0
- jaxl/api/client/api/v1/v1_kyc_countries_list.py +188 -0
- jaxl/api/client/api/v1/v1_kyc_create.py +176 -0
- jaxl/api/client/api/v1/v1_kyc_identity_create.py +211 -0
- jaxl/api/client/api/v1/v1_kyc_identity_list.py +210 -0
- jaxl/api/client/api/v1/v1_kyc_identity_retrieve.py +167 -0
- jaxl/api/client/api/v1/v1_kyc_identity_url_create.py +191 -0
- jaxl/api/client/api/v1/v1_kyc_list.py +277 -0
- jaxl/api/client/api/v1/v1_kyc_otp_create.py +180 -0
- jaxl/api/client/api/v1/v1_kyc_partial_update.py +180 -0
- jaxl/api/client/api/v1/v1_kyc_proof_list.py +188 -0
- jaxl/api/client/api/v1/v1_kyc_proof_ocr_list.py +190 -0
- jaxl/api/client/api/v1/v1_kyc_proof_retrieve.py +163 -0
- jaxl/api/client/api/v1/v1_kyc_proof_url_create.py +189 -0
- jaxl/api/client/api/v1/v1_kyc_requirements_retrieve.py +224 -0
- jaxl/api/client/api/v1/v1_kyc_retrieve.py +163 -0
- jaxl/api/client/api/v1/v1_kyc_summary_list.py +289 -0
- jaxl/api/client/api/v1/v1_kyc_upload_create.py +178 -0
- jaxl/api/client/api/v1/v1_kyc_verify_create.py +180 -0
- jaxl/api/client/api/v1/v1_library_create.py +171 -0
- jaxl/api/client/api/v1/v1_library_default_retrieve.py +178 -0
- jaxl/api/client/api/v1/v1_library_list.py +215 -0
- jaxl/api/client/api/v1/v1_live_create.py +181 -0
- jaxl/api/client/api/v1/v1_message_create.py +175 -0
- jaxl/api/client/api/v1/v1_message_destroy.py +114 -0
- jaxl/api/client/api/v1/v1_message_search_list.py +235 -0
- jaxl/api/client/api/v1/v1_messages_destroy.py +118 -0
- jaxl/api/client/api/v1/v1_messages_list.py +229 -0
- jaxl/api/client/api/v1/v1_messages_reactions_create.py +196 -0
- jaxl/api/client/api/v1/v1_messages_reactions_destroy.py +190 -0
- jaxl/api/client/api/v1/v1_messages_receipt_partial_update.py +198 -0
- jaxl/api/client/api/v1/v1_messages_retrieve.py +193 -0
- jaxl/api/client/api/v1/v1_notifications_ack_create.py +118 -0
- jaxl/api/client/api/v1/v1_orders_attributes_partial_update.py +205 -0
- jaxl/api/client/api/v1/v1_orders_attributes_retrieve.py +186 -0
- jaxl/api/client/api/v1/v1_orders_checkout_create.py +233 -0
- jaxl/api/client/api/v1/v1_orders_checkout_destroy.py +177 -0
- jaxl/api/client/api/v1/v1_orders_receipt_validate_create.py +202 -0
- jaxl/api/client/api/v1/v1_payments_list.py +292 -0
- jaxl/api/client/api/v1/v1_pdf_convert_create.py +177 -0
- jaxl/api/client/api/v1/v1_phonenumbers_check_create.py +178 -0
- jaxl/api/client/api/v1/v1_phonenumbers_checkout_create.py +120 -0
- jaxl/api/client/api/v1/v1_phonenumbers_list.py +301 -0
- jaxl/api/client/api/v1/v1_phonenumbers_partial_update.py +192 -0
- jaxl/api/client/api/v1/v1_phonenumbers_retrieve.py +171 -0
- jaxl/api/client/api/v1/v1_phonenumbers_search_retrieve.py +319 -0
- jaxl/api/client/api/v1/v1_plans_bundle_create.py +176 -0
- jaxl/api/client/api/v1/v1_plans_countries_list.py +241 -0
- jaxl/api/client/api/v1/v1_plans_create.py +180 -0
- jaxl/api/client/api/v1/v1_plans_list.py +304 -0
- jaxl/api/client/api/v1/v1_plans_resources_list.py +221 -0
- jaxl/api/client/api/v1/v1_plans_retrieve.py +226 -0
- jaxl/api/client/api/v1/v1_plans_summary_list.py +283 -0
- jaxl/api/client/api/v1/v1_pricing_data_retrieve.py +231 -0
- jaxl/api/client/api/v1/v1_sim_command_create.py +123 -0
- jaxl/api/client/api/v1/v1_sim_create.py +174 -0
- jaxl/api/client/api/v1/v1_sim_destroy.py +112 -0
- jaxl/api/client/api/v1/v1_sim_heartbeart_create.py +112 -0
- jaxl/api/client/api/v1/v1_sim_sms_create.py +123 -0
- jaxl/api/client/api/v1/v1_sms_create.py +174 -0
- jaxl/api/client/api/v1/v1_thread_create.py +167 -0
- jaxl/api/client/api/v1/v1_thread_list.py +207 -0
- jaxl/api/client/api/v1/v1_ticket_create.py +175 -0
- jaxl/api/client/api/v1/v1_transcription_locale_retrieve.py +146 -0
- jaxl/api/client/api/v1/v1_transcription_result_retrieve.py +146 -0
- jaxl/api/client/api/v1/v1_transcription_search_list.py +237 -0
- jaxl/api/client/api/v1/v1_transcription_url_retrieve.py +194 -0
- jaxl/api/client/api/v1/v1_tts_create.py +171 -0
- jaxl/api/client/api/v1/v1_users_me_retrieve.py +146 -0
- jaxl/api/client/api/v1/v1_users_retrieve.py +167 -0
- jaxl/api/client/api/v2/__init__.py +9 -0
- jaxl/api/client/api/v2/v2_app_organizations_employees_invite_create.py +194 -0
- jaxl/api/client/api/v2/v2_app_organizations_employees_list.py +282 -0
- jaxl/api/client/api/v2/v2_app_organizations_employees_membership_create.py +205 -0
- jaxl/api/client/api/v2/v2_app_organizations_employees_partial_update.py +136 -0
- jaxl/api/client/api/v2/v2_app_organizations_employees_retrieve.py +189 -0
- jaxl/api/client/api/v2/v2_app_organizations_groups_create.py +194 -0
- jaxl/api/client/api/v2/v2_app_organizations_groups_list.py +224 -0
- jaxl/api/client/api/v2/v2_app_organizations_groups_members_partial_update.py +141 -0
- jaxl/api/client/api/v2/v2_app_organizations_groups_members_retrieve.py +197 -0
- jaxl/api/client/api/v2/v2_app_organizations_groups_partial_update.py +205 -0
- jaxl/api/client/api/v2/v2_app_organizations_groups_phone_number_partial_update.py +136 -0
- jaxl/api/client/api/v2/v2_app_organizations_groups_retrieve.py +186 -0
- jaxl/api/client/api/v2/v2_campaign_clone_create.py +191 -0
- jaxl/api/client/api/v2/v2_campaign_export_retrieve.py +128 -0
- jaxl/api/client/api/v2/v2_campaign_list.py +215 -0
- jaxl/api/client/api/v2/v2_campaign_partial_update.py +196 -0
- jaxl/api/client/api/v2/v2_customer_orders_notification_retrieve.py +148 -0
- jaxl/api/client/api/v2/v2_orders_receipt_validate_create.py +204 -0
- jaxl/api/client/api/v2/v2_transcription_search_list.py +237 -0
- jaxl/api/client/api/v2/v2_users_me_retrieve.py +150 -0
- jaxl/api/client/api/v3/__init__.py +9 -0
- jaxl/api/client/api/v3/v3_orders_consumables_list.py +228 -0
- jaxl/api/client/api/v3/v3_orders_consumables_retrieve.py +209 -0
- jaxl/api/client/api/v3/v3_orders_skus_list.py +205 -0
- jaxl/api/client/api/v3/v3_orders_subscriptions_list.py +287 -0
- jaxl/api/client/api/v3/v3_orders_subscriptions_retrieve.py +209 -0
- jaxl/api/client/client.py +73 -0
- jaxl/api/client/errors.py +19 -0
- jaxl/api/client/models/__init__.py +1191 -0
- jaxl/api/client/models/aadhar_attributes_request.py +106 -0
- jaxl/api/client/models/aadhar_invalid_document_response.py +75 -0
- jaxl/api/client/models/aadhar_otp_invalid_response.py +67 -0
- jaxl/api/client/models/aadhar_otp_request_request.py +74 -0
- jaxl/api/client/models/aadhar_otp_response.py +74 -0
- jaxl/api/client/models/aadhar_otp_verification_request_request.py +74 -0
- jaxl/api/client/models/aadhar_otp_verification_response.py +80 -0
- jaxl/api/client/models/aadhar_upload_request.py +121 -0
- jaxl/api/client/models/ack.py +67 -0
- jaxl/api/client/models/act_enum.py +20 -0
- jaxl/api/client/models/action_enum.py +20 -0
- jaxl/api/client/models/additional_fields.py +115 -0
- jaxl/api/client/models/additional_fields_type_enum.py +19 -0
- jaxl/api/client/models/address_creation_request.py +111 -0
- jaxl/api/client/models/address_provider.py +182 -0
- jaxl/api/client/models/address_provider_status_enum.py +20 -0
- jaxl/api/client/models/address_requirement.py +77 -0
- jaxl/api/client/models/analytic.py +91 -0
- jaxl/api/client/models/analytics_slug_response.py +83 -0
- jaxl/api/client/models/app.py +89 -0
- jaxl/api/client/models/app_contact_request.py +74 -0
- jaxl/api/client/models/app_context_response.py +165 -0
- jaxl/api/client/models/app_country.py +96 -0
- jaxl/api/client/models/app_domain.py +83 -0
- jaxl/api/client/models/app_price.py +107 -0
- jaxl/api/client/models/app_user.py +110 -0
- jaxl/api/client/models/app_user_preferences.py +85 -0
- jaxl/api/client/models/app_user_preferences_preferences.py +54 -0
- jaxl/api/client/models/app_user_preferences_request.py +85 -0
- jaxl/api/client/models/app_user_preferences_request_preferences.py +54 -0
- jaxl/api/client/models/app_user_sdds_response.py +67 -0
- jaxl/api/client/models/available_phone_number.py +159 -0
- jaxl/api/client/models/available_phone_number_capabilities.py +83 -0
- jaxl/api/client/models/available_phone_number_provider_enum.py +20 -0
- jaxl/api/client/models/bundle_create_request.py +109 -0
- jaxl/api/client/models/business_attributes_request.py +81 -0
- jaxl/api/client/models/call.py +447 -0
- jaxl/api/client/models/call_accept_request.py +76 -0
- jaxl/api/client/models/call_accept_response.py +123 -0
- jaxl/api/client/models/call_accept_response_reason_enum.py +18 -0
- jaxl/api/client/models/call_act_request.py +75 -0
- jaxl/api/client/models/call_cost.py +75 -0
- jaxl/api/client/models/call_date_response.py +69 -0
- jaxl/api/client/models/call_dates_response.py +82 -0
- jaxl/api/client/models/call_location_epoch.py +74 -0
- jaxl/api/client/models/call_metadata.py +54 -0
- jaxl/api/client/models/call_recording_response.py +67 -0
- jaxl/api/client/models/call_recording_share_response.py +67 -0
- jaxl/api/client/models/call_recording_status_request.py +71 -0
- jaxl/api/client/models/call_recording_status_status_enum.py +19 -0
- jaxl/api/client/models/call_search_response.py +97 -0
- jaxl/api/client/models/call_tag_count.py +81 -0
- jaxl/api/client/models/call_tag_request.py +67 -0
- jaxl/api/client/models/call_tag_response.py +74 -0
- jaxl/api/client/models/call_token_request.py +138 -0
- jaxl/api/client/models/call_token_response.py +147 -0
- jaxl/api/client/models/call_transcribe_request.py +92 -0
- jaxl/api/client/models/call_type_enum.py +20 -0
- jaxl/api/client/models/call_usage_by_currency_response.py +133 -0
- jaxl/api/client/models/call_usage_response.py +97 -0
- jaxl/api/client/models/call_usage_stats_response.py +91 -0
- jaxl/api/client/models/campaign.py +104 -0
- jaxl/api/client/models/campaign_clone_request_request.py +74 -0
- jaxl/api/client/models/campaign_invalid_update_response.py +67 -0
- jaxl/api/client/models/campaign_metadata.py +104 -0
- jaxl/api/client/models/campaign_metadata_metadata.py +54 -0
- jaxl/api/client/models/campaign_response.py +141 -0
- jaxl/api/client/models/campaign_response_status_enum.py +25 -0
- jaxl/api/client/models/campaign_stats.py +95 -0
- jaxl/api/client/models/campaign_stats_v2.py +105 -0
- jaxl/api/client/models/campaign_tag.py +74 -0
- jaxl/api/client/models/campaign_update_status_enum.py +18 -0
- jaxl/api/client/models/campaign_upload_request.py +248 -0
- jaxl/api/client/models/campaign_upload_request.py.orig +239 -0
- jaxl/api/client/models/campaign_upload_type_enum.py +22 -0
- jaxl/api/client/models/campaign_usage_summary.py +88 -0
- jaxl/api/client/models/campaign_v2.py +141 -0
- jaxl/api/client/models/campaign_v2_status_enum.py +26 -0
- jaxl/api/client/models/campaign_window_request.py +81 -0
- jaxl/api/client/models/can_user_resubscribe_plan.py +74 -0
- jaxl/api/client/models/cancel_subscription_response.py +67 -0
- jaxl/api/client/models/canceled_by_enum.py +21 -0
- jaxl/api/client/models/cannot_create_plan.py +67 -0
- jaxl/api/client/models/cannot_create_user_identity_response.py +67 -0
- jaxl/api/client/models/cannot_resume_subscription_response.py +67 -0
- jaxl/api/client/models/capabilities.py +115 -0
- jaxl/api/client/models/chart_type_enum.py +20 -0
- jaxl/api/client/models/checkout_options.py +106 -0
- jaxl/api/client/models/checkout_session_expired_response.py +67 -0
- jaxl/api/client/models/cmd_enum.py +18 -0
- jaxl/api/client/models/connection.py +123 -0
- jaxl/api/client/models/contact.py +145 -0
- jaxl/api/client/models/contact_address.py +102 -0
- jaxl/api/client/models/contact_email.py +81 -0
- jaxl/api/client/models/contact_phone.py +74 -0
- jaxl/api/client/models/content_type_enum.py +19 -0
- jaxl/api/client/models/conversation.py +135 -0
- jaxl/api/client/models/conversation_create_request.py +92 -0
- jaxl/api/client/models/conversation_type_enum.py +20 -0
- jaxl/api/client/models/country.py +128 -0
- jaxl/api/client/models/create_thread_request.py +67 -0
- jaxl/api/client/models/credit.py +108 -0
- jaxl/api/client/models/cta.py +127 -0
- jaxl/api/client/models/cta_request.py +127 -0
- jaxl/api/client/models/cta_type_enum.py +22 -0
- jaxl/api/client/models/currency_enum.py +56 -0
- jaxl/api/client/models/current_status_enum.py +22 -0
- jaxl/api/client/models/customer_cannot_checkout_due_to_ongoing_checkout.py +75 -0
- jaxl/api/client/models/customer_cannot_purchase_item.py +83 -0
- jaxl/api/client/models/customer_consumable_total.py +81 -0
- jaxl/api/client/models/customer_order_consumables_serializer_v2.py +133 -0
- jaxl/api/client/models/customer_order_sku.py +87 -0
- jaxl/api/client/models/customer_order_status_changed_notification.py +244 -0
- jaxl/api/client/models/customer_order_status_changed_notification_attributes.py +54 -0
- jaxl/api/client/models/customer_order_status_changed_notification_order_attributes.py +56 -0
- jaxl/api/client/models/customer_order_status_changed_notification_type_enum.py +25 -0
- jaxl/api/client/models/customer_order_subscriptions_serializer_v2.py +286 -0
- jaxl/api/client/models/customer_order_subscriptions_serializer_v2_status_enum.py +24 -0
- jaxl/api/client/models/customer_provider_serializer_v2.py +104 -0
- jaxl/api/client/models/device.py +249 -0
- jaxl/api/client/models/device_attestation_error.py +71 -0
- jaxl/api/client/models/device_attestation_error_reason_enum.py +40 -0
- jaxl/api/client/models/device_attestation_response.py +67 -0
- jaxl/api/client/models/device_attestation_response_request.py +67 -0
- jaxl/api/client/models/device_link_response.py +67 -0
- jaxl/api/client/models/device_token_provider_enum.py +19 -0
- jaxl/api/client/models/device_token_request.py +77 -0
- jaxl/api/client/models/device_token_response.py +67 -0
- jaxl/api/client/models/device_transport_request.py +113 -0
- jaxl/api/client/models/device_transport_response.py +118 -0
- jaxl/api/client/models/device_update_request.py +67 -0
- jaxl/api/client/models/dh_message.py +249 -0
- jaxl/api/client/models/dh_message_attachment.py +110 -0
- jaxl/api/client/models/dh_message_reaction.py +92 -0
- jaxl/api/client/models/dh_message_reaction_request_request.py +67 -0
- jaxl/api/client/models/dh_message_type_enum.py +27 -0
- jaxl/api/client/models/dh_public_key_read_receipt_response.py +67 -0
- jaxl/api/client/models/direction_enum.py +19 -0
- jaxl/api/client/models/download_response.py +102 -0
- jaxl/api/client/models/download_response_headers.py +54 -0
- jaxl/api/client/models/duration_enum.py +21 -0
- jaxl/api/client/models/emoji.py +74 -0
- jaxl/api/client/models/emoji_reaction.py +92 -0
- jaxl/api/client/models/environment_enum.py +20 -0
- jaxl/api/client/models/family.py +129 -0
- jaxl/api/client/models/family_invite.py +67 -0
- jaxl/api/client/models/family_invite_request.py +67 -0
- jaxl/api/client/models/family_membership.py +92 -0
- jaxl/api/client/models/family_status.py +69 -0
- jaxl/api/client/models/family_status_request.py +69 -0
- jaxl/api/client/models/family_status_status_enum.py +21 -0
- jaxl/api/client/models/format_enum.py +18 -0
- jaxl/api/client/models/gateway_enum.py +25 -0
- jaxl/api/client/models/greeting.py +132 -0
- jaxl/api/client/models/greeting_configuration_response.py +185 -0
- jaxl/api/client/models/greeting_creation_request_request.py +245 -0
- jaxl/api/client/models/greeting_creation_response.py +89 -0
- jaxl/api/client/models/greeting_type_enum.py +19 -0
- jaxl/api/client/models/id_enum.py +18 -0
- jaxl/api/client/models/identity_requirement.py +67 -0
- jaxl/api/client/models/improper_user_identity_attributes.py +77 -0
- jaxl/api/client/models/improper_user_identity_attributes_errors.py +54 -0
- jaxl/api/client/models/inbound.py +142 -0
- jaxl/api/client/models/incorrect_pdf_image_conversion.py +67 -0
- jaxl/api/client/models/individual_plan_request.py +67 -0
- jaxl/api/client/models/information.py +93 -0
- jaxl/api/client/models/invalid_call_search_response.py +67 -0
- jaxl/api/client/models/invalid_request.py +67 -0
- jaxl/api/client/models/invalid_sms_response.py +67 -0
- jaxl/api/client/models/iso_country_enum.py +185 -0
- jaxl/api/client/models/item.py +125 -0
- jaxl/api/client/models/ivr.py +81 -0
- jaxl/api/client/models/ivr_collection.py +77 -0
- jaxl/api/client/models/ivr_collection_request.py +77 -0
- jaxl/api/client/models/ivr_menu_request.py +77 -0
- jaxl/api/client/models/ivr_menu_response.py +140 -0
- jaxl/api/client/models/ivr_menu_response_status_enum.py +20 -0
- jaxl/api/client/models/ivr_options_invalid_response.py +67 -0
- jaxl/api/client/models/ivr_options_request.py +116 -0
- jaxl/api/client/models/ivr_options_response.py +145 -0
- jaxl/api/client/models/ivr_simulation_state_request.py +81 -0
- jaxl/api/client/models/ivr_state.py +117 -0
- jaxl/api/client/models/ivr_try_request.py +74 -0
- jaxl/api/client/models/jaxl_app_context_context.py +117 -0
- jaxl/api/client/models/jaxl_app_context_context_app.py +147 -0
- jaxl/api/client/models/jaxl_app_context_context_app_type_enum.py +20 -0
- jaxl/api/client/models/jaxl_app_context_context_config.py +82 -0
- jaxl/api/client/models/jaxl_app_context_context_config_firebase.py +109 -0
- jaxl/api/client/models/jaxl_app_context_context_device.py +74 -0
- jaxl/api/client/models/jaxl_app_context_context_user.py +81 -0
- jaxl/api/client/models/jaxl_app_detail_context.py +89 -0
- jaxl/api/client/models/jaxl_app_detail_context_app.py +88 -0
- jaxl/api/client/models/jaxl_app_detail_context_endpoints.py +67 -0
- jaxl/api/client/models/jaxl_app_messaging_context.py +67 -0
- jaxl/api/client/models/jaxl_app_organization_context.py +91 -0
- jaxl/api/client/models/jaxl_app_pay_context.py +67 -0
- jaxl/api/client/models/jaxl_app_transport_context.py +81 -0
- jaxl/api/client/models/jaxl_call_recording_response.py +67 -0
- jaxl/api/client/models/key_chain_get_request.py +67 -0
- jaxl/api/client/models/key_chain_get_response.py +85 -0
- jaxl/api/client/models/key_chain_multi_get_response.py +92 -0
- jaxl/api/client/models/key_chain_multi_set_request.py +82 -0
- jaxl/api/client/models/key_chain_remove_request.py +67 -0
- jaxl/api/client/models/key_chain_set_request.py +81 -0
- jaxl/api/client/models/key_chain_wget_request.py +82 -0
- jaxl/api/client/models/key_chain_wget_response.py +82 -0
- jaxl/api/client/models/key_info.py +90 -0
- jaxl/api/client/models/key_info_type_enum.py +20 -0
- jaxl/api/client/models/kyc.py +239 -0
- jaxl/api/client/models/kyc_address_creation_request.py +138 -0
- jaxl/api/client/models/kyc_component_download_request.py +67 -0
- jaxl/api/client/models/kyc_component_download_response.py +80 -0
- jaxl/api/client/models/kyc_countries.py +92 -0
- jaxl/api/client/models/kyc_creation_request.py +172 -0
- jaxl/api/client/models/kyc_document_response.py +102 -0
- jaxl/api/client/models/kyc_improper_address_response.py +77 -0
- jaxl/api/client/models/kyc_improper_address_response_errors.py +54 -0
- jaxl/api/client/models/kyc_invalid_response.py +67 -0
- jaxl/api/client/models/kyc_invalidated_address_response.py +67 -0
- jaxl/api/client/models/kyc_invalidated_address_with_suggestion_response.py +88 -0
- jaxl/api/client/models/kyc_invalidated_address_with_suggestion_response_suggested_address.py +56 -0
- jaxl/api/client/models/kyc_proof_upload_data_request.py +164 -0
- jaxl/api/client/models/kyc_proof_upload_request.py +142 -0
- jaxl/api/client/models/kyc_requirements_response.py +114 -0
- jaxl/api/client/models/kyc_status_enum.py +18 -0
- jaxl/api/client/models/kyc_summary.py +115 -0
- jaxl/api/client/models/kyc_upload_metadata.py +81 -0
- jaxl/api/client/models/language_enum.py +75 -0
- jaxl/api/client/models/library_response.py +110 -0
- jaxl/api/client/models/line_chart_response.py +92 -0
- jaxl/api/client/models/list_member.py +104 -0
- jaxl/api/client/models/live_request.py +101 -0
- jaxl/api/client/models/live_response.py +67 -0
- jaxl/api/client/models/locale_enum.py +43 -0
- jaxl/api/client/models/location.py +74 -0
- jaxl/api/client/models/location_enum.py +20 -0
- jaxl/api/client/models/logout_account_request.py +67 -0
- jaxl/api/client/models/member_request.py +74 -0
- jaxl/api/client/models/message.py +130 -0
- jaxl/api/client/models/message_create_request.py +92 -0
- jaxl/api/client/models/message_search_response.py +115 -0
- jaxl/api/client/models/message_word_position_response.py +67 -0
- jaxl/api/client/models/message_word_search_response.py +93 -0
- jaxl/api/client/models/next_or_cta_request.py +90 -0
- jaxl/api/client/models/non_compliant_kyc.py +94 -0
- jaxl/api/client/models/non_compliant_kyc_response.py +95 -0
- jaxl/api/client/models/notification_request.py +67 -0
- jaxl/api/client/models/number_type.py +154 -0
- jaxl/api/client/models/order_attributes.py +100 -0
- jaxl/api/client/models/order_attributes_attributes.py +54 -0
- jaxl/api/client/models/order_checkout_response.py +88 -0
- jaxl/api/client/models/order_status_enum.py +22 -0
- jaxl/api/client/models/organization.py +123 -0
- jaxl/api/client/models/organization_create_request.py +77 -0
- jaxl/api/client/models/organization_employee.py +188 -0
- jaxl/api/client/models/organization_employee_invitation_request.py +86 -0
- jaxl/api/client/models/organization_employee_invite_request.py +77 -0
- jaxl/api/client/models/organization_employee_invite_response.py +93 -0
- jaxl/api/client/models/organization_employee_membership_request.py +69 -0
- jaxl/api/client/models/organization_employee_preferences.py +54 -0
- jaxl/api/client/models/organization_employee_status_enum.py +21 -0
- jaxl/api/client/models/organization_group_inline.py +74 -0
- jaxl/api/client/models/organization_group_member_response.py +78 -0
- jaxl/api/client/models/organization_group_request.py +68 -0
- jaxl/api/client/models/organization_group_response.py +106 -0
- jaxl/api/client/models/organization_preferences.py +54 -0
- jaxl/api/client/models/otp_provider_enum.py +20 -0
- jaxl/api/client/models/otp_request.py +85 -0
- jaxl/api/client/models/otp_response.py +74 -0
- jaxl/api/client/models/outbound.py +88 -0
- jaxl/api/client/models/paginated_address_provider_list.py +108 -0
- jaxl/api/client/models/paginated_analytics_slug_response_list.py +108 -0
- jaxl/api/client/models/paginated_app_country_list.py +108 -0
- jaxl/api/client/models/paginated_app_domain_list.py +108 -0
- jaxl/api/client/models/paginated_call_list.py +108 -0
- jaxl/api/client/models/paginated_call_search_response_list.py +108 -0
- jaxl/api/client/models/paginated_call_tag_count_list.py +108 -0
- jaxl/api/client/models/paginated_call_tag_response_list.py +108 -0
- jaxl/api/client/models/paginated_campaign_response_list.py +108 -0
- jaxl/api/client/models/paginated_campaign_v2_list.py +108 -0
- jaxl/api/client/models/paginated_contact_list.py +108 -0
- jaxl/api/client/models/paginated_conversation_list.py +108 -0
- jaxl/api/client/models/paginated_country_list.py +108 -0
- jaxl/api/client/models/paginated_credit_list.py +108 -0
- jaxl/api/client/models/paginated_customer_order_consumables_serializer_v2_list.py +116 -0
- jaxl/api/client/models/paginated_customer_order_sku_list.py +108 -0
- jaxl/api/client/models/paginated_customer_order_subscriptions_serializer_v2_list.py +116 -0
- jaxl/api/client/models/paginated_device_list.py +108 -0
- jaxl/api/client/models/paginated_dh_message_list.py +108 -0
- jaxl/api/client/models/paginated_family_list.py +108 -0
- jaxl/api/client/models/paginated_greeting_configuration_response_list.py +112 -0
- jaxl/api/client/models/paginated_ivr_menu_response_list.py +108 -0
- jaxl/api/client/models/paginated_ivr_options_response_list.py +108 -0
- jaxl/api/client/models/paginated_key_chain_multi_get_response_list.py +110 -0
- jaxl/api/client/models/paginated_kyc_countries_list.py +108 -0
- jaxl/api/client/models/paginated_kyc_list.py +108 -0
- jaxl/api/client/models/paginated_kyc_summary_list.py +108 -0
- jaxl/api/client/models/paginated_library_response_list.py +108 -0
- jaxl/api/client/models/paginated_list_member_list.py +108 -0
- jaxl/api/client/models/paginated_message_list.py +108 -0
- jaxl/api/client/models/paginated_message_search_response_list.py +108 -0
- jaxl/api/client/models/paginated_organization_employee_list.py +108 -0
- jaxl/api/client/models/paginated_organization_group_response_list.py +110 -0
- jaxl/api/client/models/paginated_organization_list.py +108 -0
- jaxl/api/client/models/paginated_payment_list.py +108 -0
- jaxl/api/client/models/paginated_phone_number_list.py +108 -0
- jaxl/api/client/models/paginated_plan_country_number_types_list.py +108 -0
- jaxl/api/client/models/paginated_plan_list.py +108 -0
- jaxl/api/client/models/paginated_plan_summary_response_list.py +108 -0
- jaxl/api/client/models/paginated_proof_list.py +108 -0
- jaxl/api/client/models/paginated_thread_list.py +108 -0
- jaxl/api/client/models/paginated_transcription_list.py +108 -0
- jaxl/api/client/models/paginated_transcription_search_response_list.py +112 -0
- jaxl/api/client/models/paginated_transcription_search_response_serializer_v2_list.py +116 -0
- jaxl/api/client/models/paginated_unmatched_fields_list.py +108 -0
- jaxl/api/client/models/paginated_user_identity_list.py +108 -0
- jaxl/api/client/models/patched_campaign_update_request.py +92 -0
- jaxl/api/client/models/patched_conversation_name_request.py +75 -0
- jaxl/api/client/models/patched_dh_public_key_read_receipt_request.py +87 -0
- jaxl/api/client/models/patched_ivr_menu_request.py +75 -0
- jaxl/api/client/models/patched_ivr_options_update_request.py +115 -0
- jaxl/api/client/models/patched_kyc_detail_request.py +67 -0
- jaxl/api/client/models/patched_order_attributes_request.py +102 -0
- jaxl/api/client/models/patched_order_attributes_request_attributes.py +54 -0
- jaxl/api/client/models/patched_organization_group_member_update_request.py +88 -0
- jaxl/api/client/models/patched_organization_group_phone_number_update_request.py +75 -0
- jaxl/api/client/models/patched_organization_group_update_request.py +88 -0
- jaxl/api/client/models/patched_organization_member_update_request.py +88 -0
- jaxl/api/client/models/patched_phone_number_request.py +68 -0
- jaxl/api/client/models/payment.py +183 -0
- jaxl/api/client/models/payment_gateway_fees_info.py +74 -0
- jaxl/api/client/models/pdf_image_conversion_request.py +126 -0
- jaxl/api/client/models/period_enum.py +21 -0
- jaxl/api/client/models/phone_number.py +175 -0
- jaxl/api/client/models/phone_number_capabilities.py +81 -0
- jaxl/api/client/models/phone_number_check_request.py +67 -0
- jaxl/api/client/models/phone_number_check_response.py +83 -0
- jaxl/api/client/models/phone_number_checkout_request.py +78 -0
- jaxl/api/client/models/phone_number_provider_enum.py +23 -0
- jaxl/api/client/models/phone_number_search_response.py +100 -0
- jaxl/api/client/models/phone_number_status_enum.py +25 -0
- jaxl/api/client/models/pie_chart_response.py +82 -0
- jaxl/api/client/models/plan.py +225 -0
- jaxl/api/client/models/plan_cancel_info.py +97 -0
- jaxl/api/client/models/plan_country_number_types.py +74 -0
- jaxl/api/client/models/plan_create_request.py +215 -0
- jaxl/api/client/models/plan_create_request_item_attributes.py +54 -0
- jaxl/api/client/models/plan_create_type_enum.py +18 -0
- jaxl/api/client/models/plan_expiry_timestamp.py +101 -0
- jaxl/api/client/models/plan_expiry_timestamp_type_enum.py +19 -0
- jaxl/api/client/models/plan_extra_details.py +54 -0
- jaxl/api/client/models/plan_item.py +116 -0
- jaxl/api/client/models/plan_price_gateway_request.py +140 -0
- jaxl/api/client/models/plan_price_gateway_request_attributes.py +54 -0
- jaxl/api/client/models/plan_response.py +67 -0
- jaxl/api/client/models/plan_summary_response.py +240 -0
- jaxl/api/client/models/plan_summary_response_extra_details.py +54 -0
- jaxl/api/client/models/plan_type.py +92 -0
- jaxl/api/client/models/plan_type_cycle.py +84 -0
- jaxl/api/client/models/platform_enum.py +23 -0
- jaxl/api/client/models/point_response.py +92 -0
- jaxl/api/client/models/pricing_error.py +67 -0
- jaxl/api/client/models/pricing_response.py +101 -0
- jaxl/api/client/models/product_group.py +74 -0
- jaxl/api/client/models/proof.py +151 -0
- jaxl/api/client/models/proof_document.py +114 -0
- jaxl/api/client/models/proof_download_response.py +85 -0
- jaxl/api/client/models/proof_field.py +92 -0
- jaxl/api/client/models/proof_field_request.py +92 -0
- jaxl/api/client/models/proof_id_request.py +67 -0
- jaxl/api/client/models/proof_status_enum.py +21 -0
- jaxl/api/client/models/proofs_requirement.py +89 -0
- jaxl/api/client/models/provider_notes.py +67 -0
- jaxl/api/client/models/provider_pricing.py +83 -0
- jaxl/api/client/models/provider_status_enum.py +22 -0
- jaxl/api/client/models/purpose_enum.py +20 -0
- jaxl/api/client/models/quoted.py +81 -0
- jaxl/api/client/models/razor_pay_checkout_options.py +197 -0
- jaxl/api/client/models/razor_pay_config.py +73 -0
- jaxl/api/client/models/razor_pay_config_display.py +54 -0
- jaxl/api/client/models/razor_pay_model.py +99 -0
- jaxl/api/client/models/razor_pay_read_only.py +67 -0
- jaxl/api/client/models/razor_pay_retry.py +75 -0
- jaxl/api/client/models/reaction_by.py +74 -0
- jaxl/api/client/models/receipt_validate_request.py +74 -0
- jaxl/api/client/models/receipt_validate_response.py +67 -0
- jaxl/api/client/models/receipt_validate_serializer_v2_request.py +95 -0
- jaxl/api/client/models/referral_request.py +67 -0
- jaxl/api/client/models/referral_response.py +67 -0
- jaxl/api/client/models/remove_account_request.py +74 -0
- jaxl/api/client/models/rental_currency_enum.py +18 -0
- jaxl/api/client/models/requirement_enum.py +20 -0
- jaxl/api/client/models/resolution_enum.py +21 -0
- jaxl/api/client/models/resolve_greeting_response.py +89 -0
- jaxl/api/client/models/resource_enum.py +19 -0
- jaxl/api/client/models/resume_subscription_response.py +81 -0
- jaxl/api/client/models/role_enum.py +18 -0
- jaxl/api/client/models/roles_enum.py +21 -0
- jaxl/api/client/models/scenario.py +79 -0
- jaxl/api/client/models/scenario_enum.py +23 -0
- jaxl/api/client/models/scenario_request.py +79 -0
- jaxl/api/client/models/schema_retrieve_format.py +18 -0
- jaxl/api/client/models/schema_retrieve_lang.py +115 -0
- jaxl/api/client/models/schema_retrieve_response_200.py +54 -0
- jaxl/api/client/models/sim.py +184 -0
- jaxl/api/client/models/sim_command_request_request.py +77 -0
- jaxl/api/client/models/sim_create_request.py +161 -0
- jaxl/api/client/models/sim_create_request_metadata.py +54 -0
- jaxl/api/client/models/sim_metadata.py +54 -0
- jaxl/api/client/models/sim_sms_create_request.py +74 -0
- jaxl/api/client/models/sms_request_request.py +88 -0
- jaxl/api/client/models/state_enum.py +18 -0
- jaxl/api/client/models/t_enum.py +20 -0
- jaxl/api/client/models/table_chart_response.py +91 -0
- jaxl/api/client/models/thread.py +92 -0
- jaxl/api/client/models/ticket_create_request.py +74 -0
- jaxl/api/client/models/ticket_id.py +67 -0
- jaxl/api/client/models/transcription.py +84 -0
- jaxl/api/client/models/transcription_alternatives.py +101 -0
- jaxl/api/client/models/transcription_download_response.py +104 -0
- jaxl/api/client/models/transcription_locale.py +75 -0
- jaxl/api/client/models/transcription_result.py +113 -0
- jaxl/api/client/models/transcription_results.py +82 -0
- jaxl/api/client/models/transcription_search_response.py +107 -0
- jaxl/api/client/models/transcription_search_response_serializer_v2.py +124 -0
- jaxl/api/client/models/transcription_word.py +81 -0
- jaxl/api/client/models/transcription_word_position_response.py +81 -0
- jaxl/api/client/models/transcription_word_search_response.py +121 -0
- jaxl/api/client/models/transport_packet.py +131 -0
- jaxl/api/client/models/transport_packet_d.py +54 -0
- jaxl/api/client/models/transport_packet_request.py +131 -0
- jaxl/api/client/models/transport_packet_request_d.py +54 -0
- jaxl/api/client/models/transport_token.py +74 -0
- jaxl/api/client/models/tts_request_request.py +102 -0
- jaxl/api/client/models/tts_response.py +67 -0
- jaxl/api/client/models/unable_to_clone_campaign.py +67 -0
- jaxl/api/client/models/unable_to_fetch_library_files.py +67 -0
- jaxl/api/client/models/unable_to_transcribe_call.py +67 -0
- jaxl/api/client/models/unit_enum.py +27 -0
- jaxl/api/client/models/unmatched_fields.py +92 -0
- jaxl/api/client/models/upload.py +110 -0
- jaxl/api/client/models/upload_request_request.py +67 -0
- jaxl/api/client/models/user.py +99 -0
- jaxl/api/client/models/user_agent.py +117 -0
- jaxl/api/client/models/user_agent_browser.py +74 -0
- jaxl/api/client/models/user_agent_device.py +74 -0
- jaxl/api/client/models/user_agent_operating_system.py +67 -0
- jaxl/api/client/models/user_agent_platform.py +85 -0
- jaxl/api/client/models/user_identity.py +119 -0
- jaxl/api/client/models/user_identity_attributes_request.py +139 -0
- jaxl/api/client/models/user_identity_creation_request.py +96 -0
- jaxl/api/client/models/user_identity_uploaded_data_request.py +124 -0
- jaxl/api/client/models/user_identity_uploaded_data_request_additional_attributes.py +56 -0
- jaxl/api/client/models/user_serializer_v2.py +75 -0
- jaxl/api/client/models/v1_analytics_data_retrieve_date_range.py +46 -0
- jaxl/api/client/models/v1_analytics_data_retrieve_resolution.py +21 -0
- jaxl/api/client/models/v1_app_organizations_credentials_retrieve_os.py +18 -0
- jaxl/api/client/models/v1_app_organizations_credentials_retrieve_platform.py +19 -0
- jaxl/api/client/models/v1_app_organizations_list_status_item.py +21 -0
- jaxl/api/client/models/v1_calls_list_direction.py +19 -0
- jaxl/api/client/models/v1_campaign_export_retrieve_as.py +22 -0
- jaxl/api/client/models/v1_campaign_list_status_item.py +25 -0
- jaxl/api/client/models/v1_customer_consumables_retrieve_currency.py +55 -0
- jaxl/api/client/models/v1_greeting_list_greeting_type_item.py +19 -0
- jaxl/api/client/models/v1_greeting_list_language_item.py +75 -0
- jaxl/api/client/models/v1_greeting_list_scenario_item.py +23 -0
- jaxl/api/client/models/v1_ivr_list_duration.py +23 -0
- jaxl/api/client/models/v1_ivr_retrieve_duration.py +23 -0
- jaxl/api/client/models/v1_ivr_try_create_lang.py +75 -0
- jaxl/api/client/models/v1_ivr_try_retrieve_lang.py +75 -0
- jaxl/api/client/models/v1_kyc_address_list_exclude.py +185 -0
- jaxl/api/client/models/v1_kyc_address_list_iso_country.py +185 -0
- jaxl/api/client/models/v1_kyc_address_list_resource.py +19 -0
- jaxl/api/client/models/v1_kyc_address_list_status.py +20 -0
- jaxl/api/client/models/v1_kyc_identity_list_iso_country.py +185 -0
- jaxl/api/client/models/v1_kyc_list_iso_country.py +185 -0
- jaxl/api/client/models/v1_kyc_list_provider_status_item.py +22 -0
- jaxl/api/client/models/v1_kyc_list_resource.py +19 -0
- jaxl/api/client/models/v1_kyc_list_status.py +18 -0
- jaxl/api/client/models/v1_kyc_requirements_retrieve_iso_country.py +185 -0
- jaxl/api/client/models/v1_kyc_requirements_retrieve_resource.py +19 -0
- jaxl/api/client/models/v1_kyc_summary_list_iso_country.py +185 -0
- jaxl/api/client/models/v1_kyc_summary_list_provider_status_item.py +22 -0
- jaxl/api/client/models/v1_kyc_summary_list_resource.py +19 -0
- jaxl/api/client/models/v1_kyc_summary_list_status.py +18 -0
- jaxl/api/client/models/v1_library_default_retrieve_scenario.py +19 -0
- jaxl/api/client/models/v1_library_list_scenario.py +21 -0
- jaxl/api/client/models/v1_payments_list_currency.py +55 -0
- jaxl/api/client/models/v1_payments_list_subscription_type.py +18 -0
- jaxl/api/client/models/v1_phonenumbers_list_additional_status_item.py +25 -0
- jaxl/api/client/models/v1_phonenumbers_list_provider.py +23 -0
- jaxl/api/client/models/v1_phonenumbers_list_status.py +25 -0
- jaxl/api/client/models/v1_phonenumbers_search_retrieve_iso_country_code.py +185 -0
- jaxl/api/client/models/v1_phonenumbers_search_retrieve_resource.py +19 -0
- jaxl/api/client/models/v1_plans_countries_list_type.py +18 -0
- jaxl/api/client/models/v1_plans_list_currency.py +55 -0
- jaxl/api/client/models/v1_plans_list_type.py +18 -0
- jaxl/api/client/models/v1_plans_resources_list_type.py +18 -0
- jaxl/api/client/models/v1_plans_retrieve_currency.py +55 -0
- jaxl/api/client/models/v1_plans_summary_list_currency.py +55 -0
- jaxl/api/client/models/v1_plans_summary_list_gateway.py +25 -0
- jaxl/api/client/models/v1_plans_summary_list_type.py +18 -0
- jaxl/api/client/models/v2_app_organizations_employees_list_status_item.py +21 -0
- jaxl/api/client/models/v2_campaign_export_retrieve_as.py +22 -0
- jaxl/api/client/models/v2_campaign_list_status_item.py +25 -0
- jaxl/api/client/models/v3_orders_consumables_list_currency.py +55 -0
- jaxl/api/client/models/v3_orders_consumables_retrieve_currency.py +55 -0
- jaxl/api/client/models/v3_orders_subscriptions_list_currency.py +55 -0
- jaxl/api/client/models/v3_orders_subscriptions_list_status_item.py +24 -0
- jaxl/api/client/models/v3_orders_subscriptions_retrieve_currency.py +55 -0
- jaxl/api/client/models/verify_request.py +74 -0
- jaxl/api/client/models/verify_response.py +117 -0
- jaxl/api/client/models/verify_token_request.py +85 -0
- jaxl/api/client/models/verify_token_response.py +67 -0
- jaxl/api/client/models/voice_enum.py +18 -0
- jaxl/api/client/py.typed +1 -0
- jaxl/api/client/types.py +54 -0
- jaxl/api/py.typed +0 -0
- jaxl/api/resources/__init__.py +8 -0
- jaxl/api/resources/_constants.py +11 -0
- jaxl/api/resources/accounts.py +66 -0
- jaxl/api/resources/calls.py +141 -0
- jaxl/api/resources/campaigns.py +44 -0
- jaxl/api/resources/devices.py +28 -0
- jaxl/api/resources/ivrs.py +199 -0
- jaxl/api/resources/kycs.py +45 -0
- jaxl/api/resources/members.py +50 -0
- jaxl/api/resources/messages.py +61 -0
- jaxl/api/resources/notifications.py +15 -0
- jaxl/api/resources/payments.py +110 -0
- jaxl/api/resources/phones.py +140 -0
- jaxl/api/resources/teams.py +42 -0
- jaxl_python-0.0.1.dist-info/METADATA +174 -0
- jaxl_python-0.0.1.dist-info/RECORD +754 -0
- jaxl_python-0.0.1.dist-info/WHEEL +5 -0
- jaxl_python-0.0.1.dist-info/entry_points.txt +2 -0
- jaxl_python-0.0.1.dist-info/licenses/LICENSE.md +6 -0
- jaxl_python-0.0.1.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Copyright (c) 2010-present by Jaxl Innovations Private Limited.
|
|
3
|
+
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
Redistribution and use in source and binary forms,
|
|
7
|
+
with or without modification, is strictly prohibited.
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
from http import HTTPStatus
|
|
11
|
+
from typing import Any, Dict, Optional
|
|
12
|
+
|
|
13
|
+
import httpx
|
|
14
|
+
|
|
15
|
+
from ... import errors
|
|
16
|
+
from ...client import AuthenticatedClient, Client
|
|
17
|
+
from ...models.ivr_menu_response import IVRMenuResponse
|
|
18
|
+
from ...models.patched_ivr_menu_request import PatchedIVRMenuRequest
|
|
19
|
+
from ...types import Response
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def _get_kwargs(
|
|
23
|
+
id: int,
|
|
24
|
+
*,
|
|
25
|
+
client: AuthenticatedClient,
|
|
26
|
+
json_body: PatchedIVRMenuRequest,
|
|
27
|
+
) -> Dict[str, Any]:
|
|
28
|
+
url = "{}/v1/ivr/{id}/".format(client.base_url, id=id)
|
|
29
|
+
|
|
30
|
+
headers: Dict[str, str] = client.get_headers()
|
|
31
|
+
cookies: Dict[str, Any] = client.get_cookies()
|
|
32
|
+
|
|
33
|
+
json_json_body = json_body.to_dict()
|
|
34
|
+
|
|
35
|
+
return {
|
|
36
|
+
"method": "patch",
|
|
37
|
+
"url": url,
|
|
38
|
+
"headers": headers,
|
|
39
|
+
"cookies": cookies,
|
|
40
|
+
"timeout": client.get_timeout(),
|
|
41
|
+
"json": json_json_body,
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
def _parse_response(
|
|
46
|
+
*, client: Client, response: httpx.Response
|
|
47
|
+
) -> Optional[IVRMenuResponse]:
|
|
48
|
+
if response.status_code == HTTPStatus.OK:
|
|
49
|
+
response_200 = IVRMenuResponse.from_dict(response.json())
|
|
50
|
+
|
|
51
|
+
return response_200
|
|
52
|
+
if client.raise_on_unexpected_status:
|
|
53
|
+
raise errors.UnexpectedStatus(f"Unexpected status code: {response.status_code}")
|
|
54
|
+
else:
|
|
55
|
+
return None
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
def _build_response(
|
|
59
|
+
*, client: Client, response: httpx.Response
|
|
60
|
+
) -> Response[IVRMenuResponse]:
|
|
61
|
+
return Response(
|
|
62
|
+
status_code=HTTPStatus(response.status_code),
|
|
63
|
+
content=response.content,
|
|
64
|
+
headers=response.headers,
|
|
65
|
+
parsed=_parse_response(client=client, response=response),
|
|
66
|
+
)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
def sync_detailed(
|
|
70
|
+
id: int,
|
|
71
|
+
*,
|
|
72
|
+
client: AuthenticatedClient,
|
|
73
|
+
json_body: PatchedIVRMenuRequest,
|
|
74
|
+
) -> Response[IVRMenuResponse]:
|
|
75
|
+
"""API view set for IVR Menu model.
|
|
76
|
+
|
|
77
|
+
Args:
|
|
78
|
+
id (int):
|
|
79
|
+
json_body (PatchedIVRMenuRequest):
|
|
80
|
+
|
|
81
|
+
Raises:
|
|
82
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
83
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
84
|
+
|
|
85
|
+
Returns:
|
|
86
|
+
Response[IVRMenuResponse]
|
|
87
|
+
"""
|
|
88
|
+
|
|
89
|
+
kwargs = _get_kwargs(
|
|
90
|
+
id=id,
|
|
91
|
+
client=client,
|
|
92
|
+
json_body=json_body,
|
|
93
|
+
)
|
|
94
|
+
|
|
95
|
+
response = httpx.request(
|
|
96
|
+
verify=client.verify_ssl,
|
|
97
|
+
**kwargs,
|
|
98
|
+
)
|
|
99
|
+
|
|
100
|
+
return _build_response(client=client, response=response)
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
def sync(
|
|
104
|
+
id: int,
|
|
105
|
+
*,
|
|
106
|
+
client: AuthenticatedClient,
|
|
107
|
+
json_body: PatchedIVRMenuRequest,
|
|
108
|
+
) -> Optional[IVRMenuResponse]:
|
|
109
|
+
"""API view set for IVR Menu model.
|
|
110
|
+
|
|
111
|
+
Args:
|
|
112
|
+
id (int):
|
|
113
|
+
json_body (PatchedIVRMenuRequest):
|
|
114
|
+
|
|
115
|
+
Raises:
|
|
116
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
117
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
118
|
+
|
|
119
|
+
Returns:
|
|
120
|
+
Response[IVRMenuResponse]
|
|
121
|
+
"""
|
|
122
|
+
|
|
123
|
+
return sync_detailed(
|
|
124
|
+
id=id,
|
|
125
|
+
client=client,
|
|
126
|
+
json_body=json_body,
|
|
127
|
+
).parsed
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
async def asyncio_detailed(
|
|
131
|
+
id: int,
|
|
132
|
+
*,
|
|
133
|
+
client: AuthenticatedClient,
|
|
134
|
+
json_body: PatchedIVRMenuRequest,
|
|
135
|
+
) -> Response[IVRMenuResponse]:
|
|
136
|
+
"""API view set for IVR Menu model.
|
|
137
|
+
|
|
138
|
+
Args:
|
|
139
|
+
id (int):
|
|
140
|
+
json_body (PatchedIVRMenuRequest):
|
|
141
|
+
|
|
142
|
+
Raises:
|
|
143
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
144
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
145
|
+
|
|
146
|
+
Returns:
|
|
147
|
+
Response[IVRMenuResponse]
|
|
148
|
+
"""
|
|
149
|
+
|
|
150
|
+
kwargs = _get_kwargs(
|
|
151
|
+
id=id,
|
|
152
|
+
client=client,
|
|
153
|
+
json_body=json_body,
|
|
154
|
+
)
|
|
155
|
+
|
|
156
|
+
async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
|
|
157
|
+
response = await _client.request(**kwargs)
|
|
158
|
+
|
|
159
|
+
return _build_response(client=client, response=response)
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
async def asyncio(
|
|
163
|
+
id: int,
|
|
164
|
+
*,
|
|
165
|
+
client: AuthenticatedClient,
|
|
166
|
+
json_body: PatchedIVRMenuRequest,
|
|
167
|
+
) -> Optional[IVRMenuResponse]:
|
|
168
|
+
"""API view set for IVR Menu model.
|
|
169
|
+
|
|
170
|
+
Args:
|
|
171
|
+
id (int):
|
|
172
|
+
json_body (PatchedIVRMenuRequest):
|
|
173
|
+
|
|
174
|
+
Raises:
|
|
175
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
176
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
177
|
+
|
|
178
|
+
Returns:
|
|
179
|
+
Response[IVRMenuResponse]
|
|
180
|
+
"""
|
|
181
|
+
|
|
182
|
+
return (
|
|
183
|
+
await asyncio_detailed(
|
|
184
|
+
id=id,
|
|
185
|
+
client=client,
|
|
186
|
+
json_body=json_body,
|
|
187
|
+
)
|
|
188
|
+
).parsed
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Copyright (c) 2010-present by Jaxl Innovations Private Limited.
|
|
3
|
+
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
Redistribution and use in source and binary forms,
|
|
7
|
+
with or without modification, is strictly prohibited.
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
from http import HTTPStatus
|
|
11
|
+
from typing import Any, Dict, Optional, Union
|
|
12
|
+
|
|
13
|
+
import httpx
|
|
14
|
+
|
|
15
|
+
from ... import errors
|
|
16
|
+
from ...client import AuthenticatedClient, Client
|
|
17
|
+
from ...models.ivr_menu_response import IVRMenuResponse
|
|
18
|
+
from ...models.v1_ivr_retrieve_duration import V1IvrRetrieveDuration
|
|
19
|
+
from ...types import UNSET, Response, Unset
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def _get_kwargs(
|
|
23
|
+
id: int,
|
|
24
|
+
*,
|
|
25
|
+
client: AuthenticatedClient,
|
|
26
|
+
duration: Union[
|
|
27
|
+
Unset, None, V1IvrRetrieveDuration
|
|
28
|
+
] = V1IvrRetrieveDuration.ONE_WEEK,
|
|
29
|
+
) -> Dict[str, Any]:
|
|
30
|
+
url = "{}/v1/ivr/{id}/".format(client.base_url, id=id)
|
|
31
|
+
|
|
32
|
+
headers: Dict[str, str] = client.get_headers()
|
|
33
|
+
cookies: Dict[str, Any] = client.get_cookies()
|
|
34
|
+
|
|
35
|
+
params: Dict[str, Any] = {}
|
|
36
|
+
json_duration: Union[Unset, None, str] = UNSET
|
|
37
|
+
if not isinstance(duration, Unset):
|
|
38
|
+
json_duration = duration.value if duration else None
|
|
39
|
+
|
|
40
|
+
params["duration"] = json_duration
|
|
41
|
+
|
|
42
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
43
|
+
|
|
44
|
+
return {
|
|
45
|
+
"method": "get",
|
|
46
|
+
"url": url,
|
|
47
|
+
"headers": headers,
|
|
48
|
+
"cookies": cookies,
|
|
49
|
+
"timeout": client.get_timeout(),
|
|
50
|
+
"params": params,
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
def _parse_response(
|
|
55
|
+
*, client: Client, response: httpx.Response
|
|
56
|
+
) -> Optional[IVRMenuResponse]:
|
|
57
|
+
if response.status_code == HTTPStatus.OK:
|
|
58
|
+
response_200 = IVRMenuResponse.from_dict(response.json())
|
|
59
|
+
|
|
60
|
+
return response_200
|
|
61
|
+
if client.raise_on_unexpected_status:
|
|
62
|
+
raise errors.UnexpectedStatus(f"Unexpected status code: {response.status_code}")
|
|
63
|
+
else:
|
|
64
|
+
return None
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
def _build_response(
|
|
68
|
+
*, client: Client, response: httpx.Response
|
|
69
|
+
) -> Response[IVRMenuResponse]:
|
|
70
|
+
return Response(
|
|
71
|
+
status_code=HTTPStatus(response.status_code),
|
|
72
|
+
content=response.content,
|
|
73
|
+
headers=response.headers,
|
|
74
|
+
parsed=_parse_response(client=client, response=response),
|
|
75
|
+
)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
def sync_detailed(
|
|
79
|
+
id: int,
|
|
80
|
+
*,
|
|
81
|
+
client: AuthenticatedClient,
|
|
82
|
+
duration: Union[
|
|
83
|
+
Unset, None, V1IvrRetrieveDuration
|
|
84
|
+
] = V1IvrRetrieveDuration.ONE_WEEK,
|
|
85
|
+
) -> Response[IVRMenuResponse]:
|
|
86
|
+
"""API view set for IVR Menu model.
|
|
87
|
+
|
|
88
|
+
Args:
|
|
89
|
+
id (int):
|
|
90
|
+
duration (Union[Unset, None, V1IvrRetrieveDuration]): Default:
|
|
91
|
+
V1IvrRetrieveDuration.ONE_WEEK.
|
|
92
|
+
|
|
93
|
+
Raises:
|
|
94
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
95
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
96
|
+
|
|
97
|
+
Returns:
|
|
98
|
+
Response[IVRMenuResponse]
|
|
99
|
+
"""
|
|
100
|
+
|
|
101
|
+
kwargs = _get_kwargs(
|
|
102
|
+
id=id,
|
|
103
|
+
client=client,
|
|
104
|
+
duration=duration,
|
|
105
|
+
)
|
|
106
|
+
|
|
107
|
+
response = httpx.request(
|
|
108
|
+
verify=client.verify_ssl,
|
|
109
|
+
**kwargs,
|
|
110
|
+
)
|
|
111
|
+
|
|
112
|
+
return _build_response(client=client, response=response)
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
def sync(
|
|
116
|
+
id: int,
|
|
117
|
+
*,
|
|
118
|
+
client: AuthenticatedClient,
|
|
119
|
+
duration: Union[
|
|
120
|
+
Unset, None, V1IvrRetrieveDuration
|
|
121
|
+
] = V1IvrRetrieveDuration.ONE_WEEK,
|
|
122
|
+
) -> Optional[IVRMenuResponse]:
|
|
123
|
+
"""API view set for IVR Menu model.
|
|
124
|
+
|
|
125
|
+
Args:
|
|
126
|
+
id (int):
|
|
127
|
+
duration (Union[Unset, None, V1IvrRetrieveDuration]): Default:
|
|
128
|
+
V1IvrRetrieveDuration.ONE_WEEK.
|
|
129
|
+
|
|
130
|
+
Raises:
|
|
131
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
132
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
133
|
+
|
|
134
|
+
Returns:
|
|
135
|
+
Response[IVRMenuResponse]
|
|
136
|
+
"""
|
|
137
|
+
|
|
138
|
+
return sync_detailed(
|
|
139
|
+
id=id,
|
|
140
|
+
client=client,
|
|
141
|
+
duration=duration,
|
|
142
|
+
).parsed
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
async def asyncio_detailed(
|
|
146
|
+
id: int,
|
|
147
|
+
*,
|
|
148
|
+
client: AuthenticatedClient,
|
|
149
|
+
duration: Union[
|
|
150
|
+
Unset, None, V1IvrRetrieveDuration
|
|
151
|
+
] = V1IvrRetrieveDuration.ONE_WEEK,
|
|
152
|
+
) -> Response[IVRMenuResponse]:
|
|
153
|
+
"""API view set for IVR Menu model.
|
|
154
|
+
|
|
155
|
+
Args:
|
|
156
|
+
id (int):
|
|
157
|
+
duration (Union[Unset, None, V1IvrRetrieveDuration]): Default:
|
|
158
|
+
V1IvrRetrieveDuration.ONE_WEEK.
|
|
159
|
+
|
|
160
|
+
Raises:
|
|
161
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
162
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
163
|
+
|
|
164
|
+
Returns:
|
|
165
|
+
Response[IVRMenuResponse]
|
|
166
|
+
"""
|
|
167
|
+
|
|
168
|
+
kwargs = _get_kwargs(
|
|
169
|
+
id=id,
|
|
170
|
+
client=client,
|
|
171
|
+
duration=duration,
|
|
172
|
+
)
|
|
173
|
+
|
|
174
|
+
async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
|
|
175
|
+
response = await _client.request(**kwargs)
|
|
176
|
+
|
|
177
|
+
return _build_response(client=client, response=response)
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
async def asyncio(
|
|
181
|
+
id: int,
|
|
182
|
+
*,
|
|
183
|
+
client: AuthenticatedClient,
|
|
184
|
+
duration: Union[
|
|
185
|
+
Unset, None, V1IvrRetrieveDuration
|
|
186
|
+
] = V1IvrRetrieveDuration.ONE_WEEK,
|
|
187
|
+
) -> Optional[IVRMenuResponse]:
|
|
188
|
+
"""API view set for IVR Menu model.
|
|
189
|
+
|
|
190
|
+
Args:
|
|
191
|
+
id (int):
|
|
192
|
+
duration (Union[Unset, None, V1IvrRetrieveDuration]): Default:
|
|
193
|
+
V1IvrRetrieveDuration.ONE_WEEK.
|
|
194
|
+
|
|
195
|
+
Raises:
|
|
196
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
197
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
198
|
+
|
|
199
|
+
Returns:
|
|
200
|
+
Response[IVRMenuResponse]
|
|
201
|
+
"""
|
|
202
|
+
|
|
203
|
+
return (
|
|
204
|
+
await asyncio_detailed(
|
|
205
|
+
id=id,
|
|
206
|
+
client=client,
|
|
207
|
+
duration=duration,
|
|
208
|
+
)
|
|
209
|
+
).parsed
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Copyright (c) 2010-present by Jaxl Innovations Private Limited.
|
|
3
|
+
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
Redistribution and use in source and binary forms,
|
|
7
|
+
with or without modification, is strictly prohibited.
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
from http import HTTPStatus
|
|
11
|
+
from typing import Any, Dict, Optional, Union, cast
|
|
12
|
+
|
|
13
|
+
import httpx
|
|
14
|
+
|
|
15
|
+
from ... import errors
|
|
16
|
+
from ...client import AuthenticatedClient, Client
|
|
17
|
+
from ...models.ivr import IVR
|
|
18
|
+
from ...models.ivr_simulation_state_request import IVRSimulationStateRequest
|
|
19
|
+
from ...models.ivr_try_request import IVRTryRequest
|
|
20
|
+
from ...models.v1_ivr_try_create_lang import V1IvrTryCreateLang
|
|
21
|
+
from ...types import UNSET, Response, Unset
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def _get_kwargs(
|
|
25
|
+
id: int,
|
|
26
|
+
*,
|
|
27
|
+
client: AuthenticatedClient,
|
|
28
|
+
json_body: IVRTryRequest,
|
|
29
|
+
lang: Union[Unset, None, V1IvrTryCreateLang] = V1IvrTryCreateLang.EN,
|
|
30
|
+
state: Union[Unset, None, "IVRSimulationStateRequest"] = UNSET,
|
|
31
|
+
) -> Dict[str, Any]:
|
|
32
|
+
url = "{}/v1/ivr/{id}/try/".format(client.base_url, id=id)
|
|
33
|
+
|
|
34
|
+
headers: Dict[str, str] = client.get_headers()
|
|
35
|
+
cookies: Dict[str, Any] = client.get_cookies()
|
|
36
|
+
|
|
37
|
+
params: Dict[str, Any] = {}
|
|
38
|
+
json_lang: Union[Unset, None, str] = UNSET
|
|
39
|
+
if not isinstance(lang, Unset):
|
|
40
|
+
json_lang = lang.value if lang else None
|
|
41
|
+
|
|
42
|
+
params["lang"] = json_lang
|
|
43
|
+
|
|
44
|
+
json_state: Union[Unset, None, Dict[str, Any]] = UNSET
|
|
45
|
+
if not isinstance(state, Unset):
|
|
46
|
+
json_state = state.to_dict() if state else None
|
|
47
|
+
|
|
48
|
+
if not isinstance(json_state, Unset) and json_state is not None:
|
|
49
|
+
params.update(json_state)
|
|
50
|
+
|
|
51
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
52
|
+
|
|
53
|
+
json_json_body = json_body.to_dict()
|
|
54
|
+
|
|
55
|
+
return {
|
|
56
|
+
"method": "post",
|
|
57
|
+
"url": url,
|
|
58
|
+
"headers": headers,
|
|
59
|
+
"cookies": cookies,
|
|
60
|
+
"timeout": client.get_timeout(),
|
|
61
|
+
"json": json_json_body,
|
|
62
|
+
"params": params,
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
def _parse_response(
|
|
67
|
+
*, client: Client, response: httpx.Response
|
|
68
|
+
) -> Optional[Union[Any, IVR]]:
|
|
69
|
+
if response.status_code == HTTPStatus.OK:
|
|
70
|
+
response_200 = IVR.from_dict(response.json())
|
|
71
|
+
|
|
72
|
+
return response_200
|
|
73
|
+
if response.status_code == HTTPStatus.BAD_REQUEST:
|
|
74
|
+
response_400 = cast(Any, None)
|
|
75
|
+
return response_400
|
|
76
|
+
if client.raise_on_unexpected_status:
|
|
77
|
+
raise errors.UnexpectedStatus(f"Unexpected status code: {response.status_code}")
|
|
78
|
+
else:
|
|
79
|
+
return None
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
def _build_response(
|
|
83
|
+
*, client: Client, response: httpx.Response
|
|
84
|
+
) -> Response[Union[Any, IVR]]:
|
|
85
|
+
return Response(
|
|
86
|
+
status_code=HTTPStatus(response.status_code),
|
|
87
|
+
content=response.content,
|
|
88
|
+
headers=response.headers,
|
|
89
|
+
parsed=_parse_response(client=client, response=response),
|
|
90
|
+
)
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
def sync_detailed(
|
|
94
|
+
id: int,
|
|
95
|
+
*,
|
|
96
|
+
client: AuthenticatedClient,
|
|
97
|
+
json_body: IVRTryRequest,
|
|
98
|
+
lang: Union[Unset, None, V1IvrTryCreateLang] = V1IvrTryCreateLang.EN,
|
|
99
|
+
state: Union[Unset, None, "IVRSimulationStateRequest"] = UNSET,
|
|
100
|
+
) -> Response[Union[Any, IVR]]:
|
|
101
|
+
"""API view set for IVR Menu model.
|
|
102
|
+
|
|
103
|
+
Args:
|
|
104
|
+
id (int):
|
|
105
|
+
lang (Union[Unset, None, V1IvrTryCreateLang]): Default: V1IvrTryCreateLang.EN.
|
|
106
|
+
state (Union[Unset, None, IVRSimulationStateRequest]):
|
|
107
|
+
json_body (IVRTryRequest):
|
|
108
|
+
|
|
109
|
+
Raises:
|
|
110
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
111
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
112
|
+
|
|
113
|
+
Returns:
|
|
114
|
+
Response[Union[Any, IVR]]
|
|
115
|
+
"""
|
|
116
|
+
|
|
117
|
+
kwargs = _get_kwargs(
|
|
118
|
+
id=id,
|
|
119
|
+
client=client,
|
|
120
|
+
json_body=json_body,
|
|
121
|
+
lang=lang,
|
|
122
|
+
state=state,
|
|
123
|
+
)
|
|
124
|
+
|
|
125
|
+
response = httpx.request(
|
|
126
|
+
verify=client.verify_ssl,
|
|
127
|
+
**kwargs,
|
|
128
|
+
)
|
|
129
|
+
|
|
130
|
+
return _build_response(client=client, response=response)
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
def sync(
|
|
134
|
+
id: int,
|
|
135
|
+
*,
|
|
136
|
+
client: AuthenticatedClient,
|
|
137
|
+
json_body: IVRTryRequest,
|
|
138
|
+
lang: Union[Unset, None, V1IvrTryCreateLang] = V1IvrTryCreateLang.EN,
|
|
139
|
+
state: Union[Unset, None, "IVRSimulationStateRequest"] = UNSET,
|
|
140
|
+
) -> Optional[Union[Any, IVR]]:
|
|
141
|
+
"""API view set for IVR Menu model.
|
|
142
|
+
|
|
143
|
+
Args:
|
|
144
|
+
id (int):
|
|
145
|
+
lang (Union[Unset, None, V1IvrTryCreateLang]): Default: V1IvrTryCreateLang.EN.
|
|
146
|
+
state (Union[Unset, None, IVRSimulationStateRequest]):
|
|
147
|
+
json_body (IVRTryRequest):
|
|
148
|
+
|
|
149
|
+
Raises:
|
|
150
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
151
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
152
|
+
|
|
153
|
+
Returns:
|
|
154
|
+
Response[Union[Any, IVR]]
|
|
155
|
+
"""
|
|
156
|
+
|
|
157
|
+
return sync_detailed(
|
|
158
|
+
id=id,
|
|
159
|
+
client=client,
|
|
160
|
+
json_body=json_body,
|
|
161
|
+
lang=lang,
|
|
162
|
+
state=state,
|
|
163
|
+
).parsed
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
async def asyncio_detailed(
|
|
167
|
+
id: int,
|
|
168
|
+
*,
|
|
169
|
+
client: AuthenticatedClient,
|
|
170
|
+
json_body: IVRTryRequest,
|
|
171
|
+
lang: Union[Unset, None, V1IvrTryCreateLang] = V1IvrTryCreateLang.EN,
|
|
172
|
+
state: Union[Unset, None, "IVRSimulationStateRequest"] = UNSET,
|
|
173
|
+
) -> Response[Union[Any, IVR]]:
|
|
174
|
+
"""API view set for IVR Menu model.
|
|
175
|
+
|
|
176
|
+
Args:
|
|
177
|
+
id (int):
|
|
178
|
+
lang (Union[Unset, None, V1IvrTryCreateLang]): Default: V1IvrTryCreateLang.EN.
|
|
179
|
+
state (Union[Unset, None, IVRSimulationStateRequest]):
|
|
180
|
+
json_body (IVRTryRequest):
|
|
181
|
+
|
|
182
|
+
Raises:
|
|
183
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
184
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
185
|
+
|
|
186
|
+
Returns:
|
|
187
|
+
Response[Union[Any, IVR]]
|
|
188
|
+
"""
|
|
189
|
+
|
|
190
|
+
kwargs = _get_kwargs(
|
|
191
|
+
id=id,
|
|
192
|
+
client=client,
|
|
193
|
+
json_body=json_body,
|
|
194
|
+
lang=lang,
|
|
195
|
+
state=state,
|
|
196
|
+
)
|
|
197
|
+
|
|
198
|
+
async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
|
|
199
|
+
response = await _client.request(**kwargs)
|
|
200
|
+
|
|
201
|
+
return _build_response(client=client, response=response)
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
async def asyncio(
|
|
205
|
+
id: int,
|
|
206
|
+
*,
|
|
207
|
+
client: AuthenticatedClient,
|
|
208
|
+
json_body: IVRTryRequest,
|
|
209
|
+
lang: Union[Unset, None, V1IvrTryCreateLang] = V1IvrTryCreateLang.EN,
|
|
210
|
+
state: Union[Unset, None, "IVRSimulationStateRequest"] = UNSET,
|
|
211
|
+
) -> Optional[Union[Any, IVR]]:
|
|
212
|
+
"""API view set for IVR Menu model.
|
|
213
|
+
|
|
214
|
+
Args:
|
|
215
|
+
id (int):
|
|
216
|
+
lang (Union[Unset, None, V1IvrTryCreateLang]): Default: V1IvrTryCreateLang.EN.
|
|
217
|
+
state (Union[Unset, None, IVRSimulationStateRequest]):
|
|
218
|
+
json_body (IVRTryRequest):
|
|
219
|
+
|
|
220
|
+
Raises:
|
|
221
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
222
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
223
|
+
|
|
224
|
+
Returns:
|
|
225
|
+
Response[Union[Any, IVR]]
|
|
226
|
+
"""
|
|
227
|
+
|
|
228
|
+
return (
|
|
229
|
+
await asyncio_detailed(
|
|
230
|
+
id=id,
|
|
231
|
+
client=client,
|
|
232
|
+
json_body=json_body,
|
|
233
|
+
lang=lang,
|
|
234
|
+
state=state,
|
|
235
|
+
)
|
|
236
|
+
).parsed
|