jaxl-python 0.0.50__tar.gz → 0.0.51__tar.gz
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_python-0.0.50 → jaxl_python-0.0.51}/PKG-INFO +1 -1
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/_scm_version.py +2 -2
- jaxl_python-0.0.51/jaxl/api/client/api/v1/v1_calls_reschedule_create.py +204 -0
- jaxl_python-0.0.51/jaxl/api/client/api/v1/v1_calls_schedule_create.py +199 -0
- jaxl_python-0.0.51/jaxl/api/client/api/v1/v1_calls_schedule_destroy.py +179 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/__init__.py +6 -0
- jaxl_python-0.0.51/jaxl/api/client/models/call_reschedule_request.py +70 -0
- jaxl_python-0.0.51/jaxl/api/client/models/call_schedule_request.py +104 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/call_transfer_request_request.py +13 -1
- jaxl_python-0.0.51/jaxl/api/client/models/kb_search_mode_enum.py +18 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/kb_search_request.py +33 -7
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/kind_enum.py +1 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/resources/calls.py +108 -1
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl_python.egg-info/PKG-INFO +1 -1
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl_python.egg-info/SOURCES.txt +6 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/.github/workflows/sdk.yml +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/.gitignore +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/.isort.cfg +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/.pylintrc +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/.vscode/settings.json +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/LICENSE.md +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/README.md +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/SPECIFICATION.md +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/docs.sh +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/examples/README.md +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/examples/__init__.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/examples/prompts/example.txt +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/examples/py.typed +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/examples/request_and_confirm_code_then_send_to_phone.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/examples/request_code_and_send_to_phone.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/examples/send_to_phone.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/examples/streaming_aiagent.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/examples/streaming_audio_chunks.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/examples/streaming_speech_segments.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/examples/streaming_transcriptions.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/examples/streaming_wav_file.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/index.md +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/__init__.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/_client.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/_sdk.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/base.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/cli.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/__init__.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/__init__.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/__init__.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_app_organizations_list.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_app_organizations_providers_list.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_appusers_me_retrieve.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_calls_add_create.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_calls_audio_retrieve.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_calls_hangup_retrieve.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_calls_list.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_calls_messages_create.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_calls_metadata_create.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_calls_report_retrieve.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_calls_retrieve.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_calls_tags_create.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_calls_token_create.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_calls_transfer_create.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_calls_tts_create.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_calls_usage_retrieve.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_campaign_list.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_campaign_upload_create.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_customer_consumables_retrieve.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_devices_attest_create.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_devices_list.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_integrations_create.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_ivr_create.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_ivr_list.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_ivr_options_create.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_ivr_options_list.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_ivr_options_partial_update.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_kyc_list.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_messages_list.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_org_kb_create.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_phonenumbers_list.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_phonenumbers_partial_update.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v1/v1_phonenumbers_search_retrieve.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v2/__init__.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v2/v2_app_organizations_employees_list.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v2/v2_app_organizations_groups_list.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v3/__init__.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/api/v3/v3_orders_subscriptions_list.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/client.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/errors.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/address_provider.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/address_provider_status_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/analytic.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/app_price.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/app_user.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/available_phone_number.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/available_phone_number_capabilities.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/available_phone_number_provider_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/call.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/call_add_request_request.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/call_audio_reason.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/call_cost.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/call_location_epoch.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/call_message_request_request.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/call_message_request_type_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/call_metadata.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/call_report.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/call_report_reason.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/call_report_status_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/call_tag_request.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/call_tag_response.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/call_token_request.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/call_token_response.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/call_tts_request_request.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/call_type_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/call_usage_by_currency_response.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/call_usage_response.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/call_usage_stats_response.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/campaign.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/campaign_metadata.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/campaign_metadata_metadata.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/campaign_response.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/campaign_response_status_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/campaign_stats.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/campaign_tag.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/campaign_upload_request.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/campaign_upload_request_options.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/campaign_upload_type_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/campaign_window_request.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/can_user_resubscribe_plan.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/canceled_by_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/capabilities.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/connection.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/content_type_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/country.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/cta.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/cta_request.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/cta_type_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/currency_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/customer_consumable_total.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/customer_order_subscriptions_serializer_v2.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/customer_order_subscriptions_serializer_v2_status_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/customer_provider_serializer_v2.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/device.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/device_attestation_error.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/device_attestation_error_reason_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/device_attestation_response.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/dh_message.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/dh_message_attachment.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/dh_message_reaction.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/dh_message_type_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/direction_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/emoji.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/emoji_reaction.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/exotel_auth_request_request.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/failure_reason_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/id_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/integrations_error_response.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/integrations_properties_request.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/integrations_request_provider_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/integrations_request_request.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/integrations_response.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/intent_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/invalid_provider_request.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/iso_country_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/item.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/ivr_collection.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/ivr_collection_request.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/ivr_menu_request.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/ivr_menu_request_settings.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/ivr_menu_response.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/ivr_menu_response_settings.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/ivr_menu_response_status_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/ivr_options_invalid_response.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/ivr_options_request.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/ivr_options_response.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/kb_sse_event.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/kwik_engage_auth_request_request.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/kyc.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/kyc_status_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/kyc_upload_metadata.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/location.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/next_or_cta_request.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/nimbus_post_auth_request_request.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/order_status_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/organization.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/organization_employee.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/organization_employee_preferences.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/organization_employee_status_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/organization_group_inline.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/organization_group_response.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/organization_preferences.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/organization_provider.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/paginated_call_list.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/paginated_campaign_response_list.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/paginated_customer_order_subscriptions_serializer_v2_list.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/paginated_device_list.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/paginated_dh_message_list.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/paginated_ivr_menu_response_list.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/paginated_ivr_options_response_list.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/paginated_kyc_list.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/paginated_organization_employee_list.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/paginated_organization_group_response_list.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/paginated_organization_list.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/paginated_organization_provider_list.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/paginated_phone_number_list.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/patched_ivr_options_update_request.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/patched_phone_number_update_request.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/patched_phone_number_update_request_frontdesk.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/payment_gateway_fees_info.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/period_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/phone_number.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/phone_number_attributes.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/phone_number_capabilities.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/phone_number_frontdesk.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/phone_number_provider_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/phone_number_search_response.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/phone_number_status_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/plan.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/plan_cancel_info.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/plan_expiry_timestamp.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/plan_expiry_timestamp_type_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/plan_extra_details.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/plan_item.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/plan_type.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/plan_type_cycle.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/platform_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/product_group.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/proof.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/proof_status_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/provider_status_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/reaction_by.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/rental_currency_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/resource_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/ringing_strategy_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/sales_max_auth_request_request.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/shopify_auth_request_request.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/stripe_auth_request_request.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/upload_metadata.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/user_agent.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/user_agent_browser.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/user_agent_device.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/user_agent_operating_system.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/user_agent_platform.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/user_identity.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/v1_app_organizations_list_status_item.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/v1_calls_list_direction.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/v1_calls_metadata_create_json_body.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/v1_calls_metadata_create_response_200.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/v1_calls_report_retrieve_date_range.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/v1_calls_report_retrieve_fields_item.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/v1_campaign_list_status_item.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/v1_customer_consumables_retrieve_currency.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/v1_ivr_list_duration.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/v1_kyc_list_iso_country.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/v1_kyc_list_provider_status_item.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/v1_kyc_list_resource.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/v1_kyc_list_status.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/v1_messages_list_types_item.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/v1_phonenumbers_list_additional_status_item.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/v1_phonenumbers_list_provider.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/v1_phonenumbers_list_status.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/v1_phonenumbers_search_retrieve_intent.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/v1_phonenumbers_search_retrieve_iso_country_code.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/v1_phonenumbers_search_retrieve_resource.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/v2_app_organizations_employees_list_status_item.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/v3_orders_subscriptions_list_currency.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/v3_orders_subscriptions_list_status_item.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/models/why_enum.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/client/types.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/py.typed +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/resources/__init__.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/resources/_constants.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/resources/accounts.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/resources/apps.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/resources/campaigns.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/resources/devices.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/resources/ivrs.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/resources/kycs.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/resources/members.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/resources/messages.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/resources/notifications.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/resources/orgs.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/resources/payments.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/resources/phones.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/resources/silence.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl/api/resources/teams.py +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl_python.egg-info/dependency_links.txt +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl_python.egg-info/entry_points.txt +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl_python.egg-info/not-zip-safe +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl_python.egg-info/requires.txt +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/jaxl_python.egg-info/top_level.txt +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/mkdocs.yml +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/pyproject.toml +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/setup.cfg +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/setup.gif +0 -0
- {jaxl_python-0.0.50 → jaxl_python-0.0.51}/tests/test_streaming_vad.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: jaxl-python
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.51
|
|
4
4
|
Summary: Official Python SDK and CLI for interfacing with the Jaxl API. Manage calls, messages, IVRs, devices, teams, payments, campaigns, streaming transcriptions and AI Agents. Built on OpenAPI, it offers both generated API clients and Pythonic wrappers for ease of use.
|
|
5
5
|
Home-page: https://github.com/jaxl-innovations-private-limited/jaxl-python
|
|
6
6
|
Download-URL: https://github.com/jaxl-innovations-private-limited/jaxl-python/archive/main.zip
|
|
@@ -0,0 +1,204 @@
|
|
|
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.call import Call
|
|
18
|
+
from ...models.call_reschedule_request import CallRescheduleRequest
|
|
19
|
+
from ...types import Response
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def _get_kwargs(
|
|
23
|
+
id: int,
|
|
24
|
+
*,
|
|
25
|
+
client: AuthenticatedClient,
|
|
26
|
+
json_body: CallRescheduleRequest,
|
|
27
|
+
) -> Dict[str, Any]:
|
|
28
|
+
url = "{}/v1/calls/{id}/schedule/".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": "post",
|
|
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(*, client: Client, response: httpx.Response) -> Optional[Call]:
|
|
46
|
+
if response.status_code == HTTPStatus.OK:
|
|
47
|
+
response_200 = Call.from_dict(response.json())
|
|
48
|
+
|
|
49
|
+
return response_200
|
|
50
|
+
if client.raise_on_unexpected_status:
|
|
51
|
+
raise errors.UnexpectedStatus(f"Unexpected status code: {response.status_code}")
|
|
52
|
+
else:
|
|
53
|
+
return None
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
def _build_response(*, client: Client, response: httpx.Response) -> Response[Call]:
|
|
57
|
+
return Response(
|
|
58
|
+
status_code=HTTPStatus(response.status_code),
|
|
59
|
+
content=response.content,
|
|
60
|
+
headers=response.headers,
|
|
61
|
+
parsed=_parse_response(client=client, response=response),
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
def sync_detailed(
|
|
66
|
+
id: int,
|
|
67
|
+
*,
|
|
68
|
+
client: AuthenticatedClient,
|
|
69
|
+
json_body: CallRescheduleRequest,
|
|
70
|
+
) -> Response[Call]:
|
|
71
|
+
"""F-167a K-1b — POST = move a still-pending scheduled call to a
|
|
72
|
+
new run_at (evict + re-schedule); DELETE = cancel it. Both 409 on
|
|
73
|
+
a call that already placed/cancelled — the caller learns the truth
|
|
74
|
+
instead of a silent no-op.
|
|
75
|
+
|
|
76
|
+
Args:
|
|
77
|
+
id (int):
|
|
78
|
+
json_body (CallRescheduleRequest): F-167a K-1b — `POST /v1/calls/<id>/schedule/`: move a
|
|
79
|
+
still-pending
|
|
80
|
+
scheduled call to a new `run_at`.
|
|
81
|
+
|
|
82
|
+
Raises:
|
|
83
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
84
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
85
|
+
|
|
86
|
+
Returns:
|
|
87
|
+
Response[Call]
|
|
88
|
+
"""
|
|
89
|
+
|
|
90
|
+
kwargs = _get_kwargs(
|
|
91
|
+
id=id,
|
|
92
|
+
client=client,
|
|
93
|
+
json_body=json_body,
|
|
94
|
+
)
|
|
95
|
+
|
|
96
|
+
response = httpx.request(
|
|
97
|
+
verify=client.verify_ssl,
|
|
98
|
+
**kwargs,
|
|
99
|
+
)
|
|
100
|
+
|
|
101
|
+
return _build_response(client=client, response=response)
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
def sync(
|
|
105
|
+
id: int,
|
|
106
|
+
*,
|
|
107
|
+
client: AuthenticatedClient,
|
|
108
|
+
json_body: CallRescheduleRequest,
|
|
109
|
+
) -> Optional[Call]:
|
|
110
|
+
"""F-167a K-1b — POST = move a still-pending scheduled call to a
|
|
111
|
+
new run_at (evict + re-schedule); DELETE = cancel it. Both 409 on
|
|
112
|
+
a call that already placed/cancelled — the caller learns the truth
|
|
113
|
+
instead of a silent no-op.
|
|
114
|
+
|
|
115
|
+
Args:
|
|
116
|
+
id (int):
|
|
117
|
+
json_body (CallRescheduleRequest): F-167a K-1b — `POST /v1/calls/<id>/schedule/`: move a
|
|
118
|
+
still-pending
|
|
119
|
+
scheduled call to a new `run_at`.
|
|
120
|
+
|
|
121
|
+
Raises:
|
|
122
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
123
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
124
|
+
|
|
125
|
+
Returns:
|
|
126
|
+
Response[Call]
|
|
127
|
+
"""
|
|
128
|
+
|
|
129
|
+
return sync_detailed(
|
|
130
|
+
id=id,
|
|
131
|
+
client=client,
|
|
132
|
+
json_body=json_body,
|
|
133
|
+
).parsed
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
async def asyncio_detailed(
|
|
137
|
+
id: int,
|
|
138
|
+
*,
|
|
139
|
+
client: AuthenticatedClient,
|
|
140
|
+
json_body: CallRescheduleRequest,
|
|
141
|
+
) -> Response[Call]:
|
|
142
|
+
"""F-167a K-1b — POST = move a still-pending scheduled call to a
|
|
143
|
+
new run_at (evict + re-schedule); DELETE = cancel it. Both 409 on
|
|
144
|
+
a call that already placed/cancelled — the caller learns the truth
|
|
145
|
+
instead of a silent no-op.
|
|
146
|
+
|
|
147
|
+
Args:
|
|
148
|
+
id (int):
|
|
149
|
+
json_body (CallRescheduleRequest): F-167a K-1b — `POST /v1/calls/<id>/schedule/`: move a
|
|
150
|
+
still-pending
|
|
151
|
+
scheduled call to a new `run_at`.
|
|
152
|
+
|
|
153
|
+
Raises:
|
|
154
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
155
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
156
|
+
|
|
157
|
+
Returns:
|
|
158
|
+
Response[Call]
|
|
159
|
+
"""
|
|
160
|
+
|
|
161
|
+
kwargs = _get_kwargs(
|
|
162
|
+
id=id,
|
|
163
|
+
client=client,
|
|
164
|
+
json_body=json_body,
|
|
165
|
+
)
|
|
166
|
+
|
|
167
|
+
async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
|
|
168
|
+
response = await _client.request(**kwargs)
|
|
169
|
+
|
|
170
|
+
return _build_response(client=client, response=response)
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
async def asyncio(
|
|
174
|
+
id: int,
|
|
175
|
+
*,
|
|
176
|
+
client: AuthenticatedClient,
|
|
177
|
+
json_body: CallRescheduleRequest,
|
|
178
|
+
) -> Optional[Call]:
|
|
179
|
+
"""F-167a K-1b — POST = move a still-pending scheduled call to a
|
|
180
|
+
new run_at (evict + re-schedule); DELETE = cancel it. Both 409 on
|
|
181
|
+
a call that already placed/cancelled — the caller learns the truth
|
|
182
|
+
instead of a silent no-op.
|
|
183
|
+
|
|
184
|
+
Args:
|
|
185
|
+
id (int):
|
|
186
|
+
json_body (CallRescheduleRequest): F-167a K-1b — `POST /v1/calls/<id>/schedule/`: move a
|
|
187
|
+
still-pending
|
|
188
|
+
scheduled call to a new `run_at`.
|
|
189
|
+
|
|
190
|
+
Raises:
|
|
191
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
192
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
193
|
+
|
|
194
|
+
Returns:
|
|
195
|
+
Response[Call]
|
|
196
|
+
"""
|
|
197
|
+
|
|
198
|
+
return (
|
|
199
|
+
await asyncio_detailed(
|
|
200
|
+
id=id,
|
|
201
|
+
client=client,
|
|
202
|
+
json_body=json_body,
|
|
203
|
+
)
|
|
204
|
+
).parsed
|
|
@@ -0,0 +1,199 @@
|
|
|
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.call import Call
|
|
18
|
+
from ...models.call_schedule_request import CallScheduleRequest
|
|
19
|
+
from ...types import Response
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def _get_kwargs(
|
|
23
|
+
*,
|
|
24
|
+
client: AuthenticatedClient,
|
|
25
|
+
json_body: CallScheduleRequest,
|
|
26
|
+
) -> Dict[str, Any]:
|
|
27
|
+
url = "{}/v1/calls/schedule/".format(client.base_url)
|
|
28
|
+
|
|
29
|
+
headers: Dict[str, str] = client.get_headers()
|
|
30
|
+
cookies: Dict[str, Any] = client.get_cookies()
|
|
31
|
+
|
|
32
|
+
json_json_body = json_body.to_dict()
|
|
33
|
+
|
|
34
|
+
return {
|
|
35
|
+
"method": "post",
|
|
36
|
+
"url": url,
|
|
37
|
+
"headers": headers,
|
|
38
|
+
"cookies": cookies,
|
|
39
|
+
"timeout": client.get_timeout(),
|
|
40
|
+
"json": json_json_body,
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def _parse_response(*, client: Client, response: httpx.Response) -> Optional[Call]:
|
|
45
|
+
if response.status_code == HTTPStatus.CREATED:
|
|
46
|
+
response_201 = Call.from_dict(response.json())
|
|
47
|
+
|
|
48
|
+
return response_201
|
|
49
|
+
if client.raise_on_unexpected_status:
|
|
50
|
+
raise errors.UnexpectedStatus(f"Unexpected status code: {response.status_code}")
|
|
51
|
+
else:
|
|
52
|
+
return None
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
def _build_response(*, client: Client, response: httpx.Response) -> Response[Call]:
|
|
56
|
+
return Response(
|
|
57
|
+
status_code=HTTPStatus(response.status_code),
|
|
58
|
+
content=response.content,
|
|
59
|
+
headers=response.headers,
|
|
60
|
+
parsed=_parse_response(client=client, response=response),
|
|
61
|
+
)
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
def sync_detailed(
|
|
65
|
+
*,
|
|
66
|
+
client: AuthenticatedClient,
|
|
67
|
+
json_body: CallScheduleRequest,
|
|
68
|
+
) -> Response[Call]:
|
|
69
|
+
"""F-167a K-1b — schedule a standalone outbound call for a future
|
|
70
|
+
time. Rides the F-85 lifecycle (same row shape, same placement
|
|
71
|
+
task with its balance/from-ownership gates, same cancel path) —
|
|
72
|
+
no prior call or tag needed.
|
|
73
|
+
|
|
74
|
+
Args:
|
|
75
|
+
json_body (CallScheduleRequest): F-167a K-1b — `POST /v1/calls/schedule/`: schedule a
|
|
76
|
+
standalone
|
|
77
|
+
outbound call for a future time (no prior call / tag needed).
|
|
78
|
+
E.164 numbers; `run_at` ISO-8601 with timezone; `ivr_id` decides what
|
|
79
|
+
the callee lands in on answer (required — same rule as calls create).
|
|
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[Call]
|
|
87
|
+
"""
|
|
88
|
+
|
|
89
|
+
kwargs = _get_kwargs(
|
|
90
|
+
client=client,
|
|
91
|
+
json_body=json_body,
|
|
92
|
+
)
|
|
93
|
+
|
|
94
|
+
response = httpx.request(
|
|
95
|
+
verify=client.verify_ssl,
|
|
96
|
+
**kwargs,
|
|
97
|
+
)
|
|
98
|
+
|
|
99
|
+
return _build_response(client=client, response=response)
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
def sync(
|
|
103
|
+
*,
|
|
104
|
+
client: AuthenticatedClient,
|
|
105
|
+
json_body: CallScheduleRequest,
|
|
106
|
+
) -> Optional[Call]:
|
|
107
|
+
"""F-167a K-1b — schedule a standalone outbound call for a future
|
|
108
|
+
time. Rides the F-85 lifecycle (same row shape, same placement
|
|
109
|
+
task with its balance/from-ownership gates, same cancel path) —
|
|
110
|
+
no prior call or tag needed.
|
|
111
|
+
|
|
112
|
+
Args:
|
|
113
|
+
json_body (CallScheduleRequest): F-167a K-1b — `POST /v1/calls/schedule/`: schedule a
|
|
114
|
+
standalone
|
|
115
|
+
outbound call for a future time (no prior call / tag needed).
|
|
116
|
+
E.164 numbers; `run_at` ISO-8601 with timezone; `ivr_id` decides what
|
|
117
|
+
the callee lands in on answer (required — same rule as calls create).
|
|
118
|
+
|
|
119
|
+
Raises:
|
|
120
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
121
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
122
|
+
|
|
123
|
+
Returns:
|
|
124
|
+
Response[Call]
|
|
125
|
+
"""
|
|
126
|
+
|
|
127
|
+
return sync_detailed(
|
|
128
|
+
client=client,
|
|
129
|
+
json_body=json_body,
|
|
130
|
+
).parsed
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
async def asyncio_detailed(
|
|
134
|
+
*,
|
|
135
|
+
client: AuthenticatedClient,
|
|
136
|
+
json_body: CallScheduleRequest,
|
|
137
|
+
) -> Response[Call]:
|
|
138
|
+
"""F-167a K-1b — schedule a standalone outbound call for a future
|
|
139
|
+
time. Rides the F-85 lifecycle (same row shape, same placement
|
|
140
|
+
task with its balance/from-ownership gates, same cancel path) —
|
|
141
|
+
no prior call or tag needed.
|
|
142
|
+
|
|
143
|
+
Args:
|
|
144
|
+
json_body (CallScheduleRequest): F-167a K-1b — `POST /v1/calls/schedule/`: schedule a
|
|
145
|
+
standalone
|
|
146
|
+
outbound call for a future time (no prior call / tag needed).
|
|
147
|
+
E.164 numbers; `run_at` ISO-8601 with timezone; `ivr_id` decides what
|
|
148
|
+
the callee lands in on answer (required — same rule as calls create).
|
|
149
|
+
|
|
150
|
+
Raises:
|
|
151
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
152
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
153
|
+
|
|
154
|
+
Returns:
|
|
155
|
+
Response[Call]
|
|
156
|
+
"""
|
|
157
|
+
|
|
158
|
+
kwargs = _get_kwargs(
|
|
159
|
+
client=client,
|
|
160
|
+
json_body=json_body,
|
|
161
|
+
)
|
|
162
|
+
|
|
163
|
+
async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
|
|
164
|
+
response = await _client.request(**kwargs)
|
|
165
|
+
|
|
166
|
+
return _build_response(client=client, response=response)
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
async def asyncio(
|
|
170
|
+
*,
|
|
171
|
+
client: AuthenticatedClient,
|
|
172
|
+
json_body: CallScheduleRequest,
|
|
173
|
+
) -> Optional[Call]:
|
|
174
|
+
"""F-167a K-1b — schedule a standalone outbound call for a future
|
|
175
|
+
time. Rides the F-85 lifecycle (same row shape, same placement
|
|
176
|
+
task with its balance/from-ownership gates, same cancel path) —
|
|
177
|
+
no prior call or tag needed.
|
|
178
|
+
|
|
179
|
+
Args:
|
|
180
|
+
json_body (CallScheduleRequest): F-167a K-1b — `POST /v1/calls/schedule/`: schedule a
|
|
181
|
+
standalone
|
|
182
|
+
outbound call for a future time (no prior call / tag needed).
|
|
183
|
+
E.164 numbers; `run_at` ISO-8601 with timezone; `ivr_id` decides what
|
|
184
|
+
the callee lands in on answer (required — same rule as calls create).
|
|
185
|
+
|
|
186
|
+
Raises:
|
|
187
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
188
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
189
|
+
|
|
190
|
+
Returns:
|
|
191
|
+
Response[Call]
|
|
192
|
+
"""
|
|
193
|
+
|
|
194
|
+
return (
|
|
195
|
+
await asyncio_detailed(
|
|
196
|
+
client=client,
|
|
197
|
+
json_body=json_body,
|
|
198
|
+
)
|
|
199
|
+
).parsed
|
|
@@ -0,0 +1,179 @@
|
|
|
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.call import Call
|
|
18
|
+
from ...types import Response
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def _get_kwargs(
|
|
22
|
+
id: int,
|
|
23
|
+
*,
|
|
24
|
+
client: AuthenticatedClient,
|
|
25
|
+
) -> Dict[str, Any]:
|
|
26
|
+
url = "{}/v1/calls/{id}/schedule/".format(client.base_url, id=id)
|
|
27
|
+
|
|
28
|
+
headers: Dict[str, str] = client.get_headers()
|
|
29
|
+
cookies: Dict[str, Any] = client.get_cookies()
|
|
30
|
+
|
|
31
|
+
return {
|
|
32
|
+
"method": "delete",
|
|
33
|
+
"url": url,
|
|
34
|
+
"headers": headers,
|
|
35
|
+
"cookies": cookies,
|
|
36
|
+
"timeout": client.get_timeout(),
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def _parse_response(*, client: Client, response: httpx.Response) -> Optional[Call]:
|
|
41
|
+
if response.status_code == HTTPStatus.OK:
|
|
42
|
+
response_200 = Call.from_dict(response.json())
|
|
43
|
+
|
|
44
|
+
return response_200
|
|
45
|
+
if client.raise_on_unexpected_status:
|
|
46
|
+
raise errors.UnexpectedStatus(f"Unexpected status code: {response.status_code}")
|
|
47
|
+
else:
|
|
48
|
+
return None
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
def _build_response(*, client: Client, response: httpx.Response) -> Response[Call]:
|
|
52
|
+
return Response(
|
|
53
|
+
status_code=HTTPStatus(response.status_code),
|
|
54
|
+
content=response.content,
|
|
55
|
+
headers=response.headers,
|
|
56
|
+
parsed=_parse_response(client=client, response=response),
|
|
57
|
+
)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
def sync_detailed(
|
|
61
|
+
id: int,
|
|
62
|
+
*,
|
|
63
|
+
client: AuthenticatedClient,
|
|
64
|
+
) -> Response[Call]:
|
|
65
|
+
"""F-167a K-1b — POST = move a still-pending scheduled call to a
|
|
66
|
+
new run_at (evict + re-schedule); DELETE = cancel it. Both 409 on
|
|
67
|
+
a call that already placed/cancelled — the caller learns the truth
|
|
68
|
+
instead of a silent no-op.
|
|
69
|
+
|
|
70
|
+
Args:
|
|
71
|
+
id (int):
|
|
72
|
+
|
|
73
|
+
Raises:
|
|
74
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
75
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
76
|
+
|
|
77
|
+
Returns:
|
|
78
|
+
Response[Call]
|
|
79
|
+
"""
|
|
80
|
+
|
|
81
|
+
kwargs = _get_kwargs(
|
|
82
|
+
id=id,
|
|
83
|
+
client=client,
|
|
84
|
+
)
|
|
85
|
+
|
|
86
|
+
response = httpx.request(
|
|
87
|
+
verify=client.verify_ssl,
|
|
88
|
+
**kwargs,
|
|
89
|
+
)
|
|
90
|
+
|
|
91
|
+
return _build_response(client=client, response=response)
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
def sync(
|
|
95
|
+
id: int,
|
|
96
|
+
*,
|
|
97
|
+
client: AuthenticatedClient,
|
|
98
|
+
) -> Optional[Call]:
|
|
99
|
+
"""F-167a K-1b — POST = move a still-pending scheduled call to a
|
|
100
|
+
new run_at (evict + re-schedule); DELETE = cancel it. Both 409 on
|
|
101
|
+
a call that already placed/cancelled — the caller learns the truth
|
|
102
|
+
instead of a silent no-op.
|
|
103
|
+
|
|
104
|
+
Args:
|
|
105
|
+
id (int):
|
|
106
|
+
|
|
107
|
+
Raises:
|
|
108
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
109
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
110
|
+
|
|
111
|
+
Returns:
|
|
112
|
+
Response[Call]
|
|
113
|
+
"""
|
|
114
|
+
|
|
115
|
+
return sync_detailed(
|
|
116
|
+
id=id,
|
|
117
|
+
client=client,
|
|
118
|
+
).parsed
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
async def asyncio_detailed(
|
|
122
|
+
id: int,
|
|
123
|
+
*,
|
|
124
|
+
client: AuthenticatedClient,
|
|
125
|
+
) -> Response[Call]:
|
|
126
|
+
"""F-167a K-1b — POST = move a still-pending scheduled call to a
|
|
127
|
+
new run_at (evict + re-schedule); DELETE = cancel it. Both 409 on
|
|
128
|
+
a call that already placed/cancelled — the caller learns the truth
|
|
129
|
+
instead of a silent no-op.
|
|
130
|
+
|
|
131
|
+
Args:
|
|
132
|
+
id (int):
|
|
133
|
+
|
|
134
|
+
Raises:
|
|
135
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
136
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
137
|
+
|
|
138
|
+
Returns:
|
|
139
|
+
Response[Call]
|
|
140
|
+
"""
|
|
141
|
+
|
|
142
|
+
kwargs = _get_kwargs(
|
|
143
|
+
id=id,
|
|
144
|
+
client=client,
|
|
145
|
+
)
|
|
146
|
+
|
|
147
|
+
async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
|
|
148
|
+
response = await _client.request(**kwargs)
|
|
149
|
+
|
|
150
|
+
return _build_response(client=client, response=response)
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
async def asyncio(
|
|
154
|
+
id: int,
|
|
155
|
+
*,
|
|
156
|
+
client: AuthenticatedClient,
|
|
157
|
+
) -> Optional[Call]:
|
|
158
|
+
"""F-167a K-1b — POST = move a still-pending scheduled call to a
|
|
159
|
+
new run_at (evict + re-schedule); DELETE = cancel it. Both 409 on
|
|
160
|
+
a call that already placed/cancelled — the caller learns the truth
|
|
161
|
+
instead of a silent no-op.
|
|
162
|
+
|
|
163
|
+
Args:
|
|
164
|
+
id (int):
|
|
165
|
+
|
|
166
|
+
Raises:
|
|
167
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
168
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
169
|
+
|
|
170
|
+
Returns:
|
|
171
|
+
Response[Call]
|
|
172
|
+
"""
|
|
173
|
+
|
|
174
|
+
return (
|
|
175
|
+
await asyncio_detailed(
|
|
176
|
+
id=id,
|
|
177
|
+
client=client,
|
|
178
|
+
)
|
|
179
|
+
).parsed
|
|
@@ -28,6 +28,8 @@ from .call_metadata import CallMetadata
|
|
|
28
28
|
from .call_report import CallReport
|
|
29
29
|
from .call_report_reason import CallReportReason
|
|
30
30
|
from .call_report_status_enum import CallReportStatusEnum
|
|
31
|
+
from .call_reschedule_request import CallRescheduleRequest
|
|
32
|
+
from .call_schedule_request import CallScheduleRequest
|
|
31
33
|
from .call_tag_request import CallTagRequest
|
|
32
34
|
from .call_tag_response import CallTagResponse
|
|
33
35
|
from .call_token_request import CallTokenRequest
|
|
@@ -100,6 +102,7 @@ from .ivr_menu_response_status_enum import IVRMenuResponseStatusEnum
|
|
|
100
102
|
from .ivr_options_invalid_response import IVROptionsInvalidResponse
|
|
101
103
|
from .ivr_options_request import IVROptionsRequest
|
|
102
104
|
from .ivr_options_response import IVROptionsResponse
|
|
105
|
+
from .kb_search_mode_enum import KbSearchModeEnum
|
|
103
106
|
from .kb_search_request import KbSearchRequest
|
|
104
107
|
from .kb_sse_event import KbSseEvent
|
|
105
108
|
from .kind_enum import KindEnum
|
|
@@ -234,6 +237,8 @@ __all__ = (
|
|
|
234
237
|
"CallReport",
|
|
235
238
|
"CallReportReason",
|
|
236
239
|
"CallReportStatusEnum",
|
|
240
|
+
"CallRescheduleRequest",
|
|
241
|
+
"CallScheduleRequest",
|
|
237
242
|
"CallTagRequest",
|
|
238
243
|
"CallTagResponse",
|
|
239
244
|
"CallTokenRequest",
|
|
@@ -302,6 +307,7 @@ __all__ = (
|
|
|
302
307
|
"IVROptionsInvalidResponse",
|
|
303
308
|
"IVROptionsRequest",
|
|
304
309
|
"IVROptionsResponse",
|
|
310
|
+
"KbSearchModeEnum",
|
|
305
311
|
"KbSearchRequest",
|
|
306
312
|
"KbSseEvent",
|
|
307
313
|
"KindEnum",
|
|
@@ -0,0 +1,70 @@
|
|
|
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
|
+
import datetime
|
|
11
|
+
from typing import Any, Dict, List, Type, TypeVar
|
|
12
|
+
|
|
13
|
+
import attr
|
|
14
|
+
from dateutil.parser import isoparse
|
|
15
|
+
|
|
16
|
+
T = TypeVar("T", bound="CallRescheduleRequest")
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
@attr.s(auto_attribs=True)
|
|
20
|
+
class CallRescheduleRequest:
|
|
21
|
+
"""F-167a K-1b — `POST /v1/calls/<id>/schedule/`: move a still-pending
|
|
22
|
+
scheduled call to a new `run_at`.
|
|
23
|
+
|
|
24
|
+
Attributes:
|
|
25
|
+
run_at (datetime.datetime):
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
run_at: datetime.datetime
|
|
29
|
+
additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
|
|
30
|
+
|
|
31
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
32
|
+
run_at = self.run_at.isoformat()
|
|
33
|
+
|
|
34
|
+
field_dict: Dict[str, Any] = {}
|
|
35
|
+
field_dict.update(self.additional_properties)
|
|
36
|
+
field_dict.update(
|
|
37
|
+
{
|
|
38
|
+
"run_at": run_at,
|
|
39
|
+
}
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
return field_dict
|
|
43
|
+
|
|
44
|
+
@classmethod
|
|
45
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
46
|
+
d = src_dict.copy()
|
|
47
|
+
run_at = isoparse(d.pop("run_at"))
|
|
48
|
+
|
|
49
|
+
call_reschedule_request = cls(
|
|
50
|
+
run_at=run_at,
|
|
51
|
+
)
|
|
52
|
+
|
|
53
|
+
call_reschedule_request.additional_properties = d
|
|
54
|
+
return call_reschedule_request
|
|
55
|
+
|
|
56
|
+
@property
|
|
57
|
+
def additional_keys(self) -> List[str]:
|
|
58
|
+
return list(self.additional_properties.keys())
|
|
59
|
+
|
|
60
|
+
def __getitem__(self, key: str) -> Any:
|
|
61
|
+
return self.additional_properties[key]
|
|
62
|
+
|
|
63
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
64
|
+
self.additional_properties[key] = value
|
|
65
|
+
|
|
66
|
+
def __delitem__(self, key: str) -> None:
|
|
67
|
+
del self.additional_properties[key]
|
|
68
|
+
|
|
69
|
+
def __contains__(self, key: str) -> bool:
|
|
70
|
+
return key in self.additional_properties
|