jaxl-python 0.0.38__tar.gz → 0.0.40__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.38 → jaxl_python-0.0.40}/.gitignore +3 -1
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/.pylintrc +1 -1
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/PKG-INFO +1 -1
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/examples/__init__.py +2 -0
- jaxl_python-0.0.40/examples/streaming_wav_file.py +95 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/base.py +7 -2
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/_scm_version.py +2 -2
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_calls_list.py +84 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_messages_list.py +102 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v2/v2_app_organizations_groups_list.py +8 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/__init__.py +8 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/app_user.py +7 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/call.py +17 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/call_message_request_type_enum.py +1 -0
- jaxl_python-0.0.40/jaxl/api/client/models/call_report.py +146 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/call_tag_request.py +11 -1
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/call_tag_response.py +11 -1
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/call_token_request.py +24 -1
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/campaign_metadata.py +7 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/campaign_response.py +8 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/campaign_upload_request.py +18 -6
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/device_attestation_error_reason_enum.py +1 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/dh_message.py +37 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/dh_message_type_enum.py +4 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/integrations_properties_request.py +18 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/integrations_request_provider_enum.py +5 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/ivr_menu_request.py +24 -1
- jaxl_python-0.0.40/jaxl/api/client/models/ivr_menu_request_settings.py +53 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/ivr_menu_response.py +24 -0
- jaxl_python-0.0.40/jaxl/api/client/models/ivr_menu_response_settings.py +60 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/organization.py +12 -1
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/organization_provider.py +11 -1
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/phone_number.py +35 -0
- jaxl_python-0.0.40/jaxl/api/client/models/upload_metadata.py +97 -0
- jaxl_python-0.0.40/jaxl/api/client/models/v1_messages_list_types_item.py +30 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/resources/apps.py +28 -17
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/resources/calls.py +63 -1
- jaxl_python-0.0.40/jaxl/api/resources/silence.py +151 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl_python.egg-info/PKG-INFO +1 -1
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl_python.egg-info/SOURCES.txt +5 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/tests/test_streaming_vad.py +17 -2
- jaxl_python-0.0.38/jaxl/api/client/models/call_report.py +0 -84
- jaxl_python-0.0.38/jaxl/api/resources/silence.py +0 -86
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/.github/workflows/sdk.yml +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/.isort.cfg +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/.vscode/settings.json +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/LICENSE.md +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/README.md +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/SPECIFICATION.md +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/docs.sh +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/examples/README.md +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/examples/prompts/example.txt +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/examples/py.typed +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/examples/request_and_confirm_code_then_send_to_phone.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/examples/request_code_and_send_to_phone.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/examples/send_to_phone.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/examples/streaming_aiagent.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/examples/streaming_audio_chunks.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/examples/streaming_speech_segments.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/examples/streaming_transcriptions.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/index.md +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/__init__.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/_client.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/_sdk.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/cli.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/__init__.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/__init__.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/__init__.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_app_organizations_list.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_app_organizations_providers_list.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_appusers_me_retrieve.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_calls_add_create.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_calls_audio_retrieve.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_calls_hangup_retrieve.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_calls_messages_create.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_calls_report_retrieve.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_calls_retrieve.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_calls_tags_create.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_calls_token_create.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_calls_transfer_create.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_calls_tts_create.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_calls_usage_retrieve.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_campaign_list.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_campaign_upload_create.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_customer_consumables_retrieve.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_devices_attest_create.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_devices_list.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_integrations_create.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_ivr_create.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_ivr_list.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_ivr_options_create.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_ivr_options_list.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_ivr_options_partial_update.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_kyc_list.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_phonenumbers_list.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_phonenumbers_partial_update.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v1/v1_phonenumbers_search_retrieve.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v2/__init__.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v2/v2_app_organizations_employees_list.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v3/__init__.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/api/v3/v3_orders_subscriptions_list.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/client.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/errors.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/address_provider.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/address_provider_status_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/analytic.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/app_price.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/available_phone_number.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/available_phone_number_capabilities.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/available_phone_number_provider_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/call_add_request_request.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/call_audio_reason.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/call_cost.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/call_location_epoch.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/call_message_request_request.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/call_metadata.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/call_report_reason.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/call_report_status_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/call_token_response.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/call_transfer_request_request.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/call_tts_request_request.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/call_type_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/call_usage_by_currency_response.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/call_usage_response.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/call_usage_stats_response.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/campaign.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/campaign_metadata_metadata.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/campaign_response_status_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/campaign_stats.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/campaign_tag.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/campaign_upload_request_options.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/campaign_upload_type_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/campaign_window_request.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/can_user_resubscribe_plan.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/canceled_by_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/capabilities.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/connection.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/content_type_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/country.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/cta.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/cta_request.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/cta_type_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/currency_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/customer_consumable_total.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/customer_order_subscriptions_serializer_v2.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/customer_order_subscriptions_serializer_v2_status_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/customer_provider_serializer_v2.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/device.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/device_attestation_error.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/device_attestation_response.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/dh_message_attachment.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/dh_message_reaction.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/direction_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/emoji.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/emoji_reaction.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/exotel_auth_request_request.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/id_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/integrations_error_response.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/integrations_request_request.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/integrations_response.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/intent_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/invalid_provider_request.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/iso_country_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/item.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/ivr_collection.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/ivr_collection_request.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/ivr_menu_response_status_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/ivr_options_invalid_response.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/ivr_options_request.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/ivr_options_response.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/kyc.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/kyc_status_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/kyc_upload_metadata.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/location.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/next_or_cta_request.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/order_status_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/organization_employee.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/organization_employee_preferences.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/organization_employee_status_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/organization_group_inline.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/organization_group_response.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/organization_preferences.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/paginated_call_list.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/paginated_campaign_response_list.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/paginated_customer_order_subscriptions_serializer_v2_list.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/paginated_device_list.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/paginated_dh_message_list.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/paginated_ivr_menu_response_list.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/paginated_ivr_options_response_list.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/paginated_kyc_list.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/paginated_organization_employee_list.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/paginated_organization_group_response_list.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/paginated_organization_list.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/paginated_organization_provider_list.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/paginated_phone_number_list.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/patched_ivr_options_update_request.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/patched_phone_number_request.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/payment_gateway_fees_info.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/period_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/phone_number_attributes.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/phone_number_capabilities.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/phone_number_provider_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/phone_number_search_response.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/phone_number_status_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/plan.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/plan_cancel_info.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/plan_expiry_timestamp.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/plan_expiry_timestamp_type_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/plan_extra_details.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/plan_item.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/plan_type.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/plan_type_cycle.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/platform_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/product_group.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/proof.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/proof_status_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/provider_status_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/reaction_by.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/rental_currency_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/resource_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/shopify_auth_request_request.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/stripe_auth_request_request.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/user_agent.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/user_agent_browser.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/user_agent_device.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/user_agent_operating_system.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/user_agent_platform.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/user_identity.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/v1_app_organizations_list_status_item.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/v1_calls_list_direction.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/v1_calls_report_retrieve_date_range.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/v1_calls_report_retrieve_fields_item.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/v1_campaign_list_status_item.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/v1_customer_consumables_retrieve_currency.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/v1_ivr_list_duration.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/v1_kyc_list_iso_country.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/v1_kyc_list_provider_status_item.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/v1_kyc_list_resource.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/v1_kyc_list_status.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/v1_phonenumbers_list_additional_status_item.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/v1_phonenumbers_list_provider.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/v1_phonenumbers_list_status.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/v1_phonenumbers_search_retrieve_intent.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/v1_phonenumbers_search_retrieve_iso_country_code.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/v1_phonenumbers_search_retrieve_resource.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/v2_app_organizations_employees_list_status_item.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/v3_orders_subscriptions_list_currency.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/v3_orders_subscriptions_list_status_item.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/models/why_enum.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/client/types.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/py.typed +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/resources/__init__.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/resources/_constants.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/resources/accounts.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/resources/campaigns.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/resources/devices.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/resources/ivrs.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/resources/kycs.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/resources/members.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/resources/messages.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/resources/notifications.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/resources/orgs.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/resources/payments.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/resources/phones.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl/api/resources/teams.py +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl_python.egg-info/dependency_links.txt +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl_python.egg-info/entry_points.txt +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl_python.egg-info/not-zip-safe +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl_python.egg-info/requires.txt +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/jaxl_python.egg-info/top_level.txt +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/mkdocs.yml +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/pyproject.toml +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/setup.cfg +0 -0
- {jaxl_python-0.0.38 → jaxl_python-0.0.40}/setup.gif +0 -0
|
@@ -56,7 +56,7 @@ py-version=3.9
|
|
|
56
56
|
|
|
57
57
|
# When enabled, pylint would attempt to guess common misconfiguration and emit
|
|
58
58
|
# user-friendly hints instead of false-positive error messages.
|
|
59
|
-
suggestion-mode=yes
|
|
59
|
+
; suggestion-mode=yes
|
|
60
60
|
|
|
61
61
|
# Allow loading of arbitrary C extensions. Extensions are imported into the
|
|
62
62
|
# active Python interpreter and may run arbitrary code.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: jaxl-python
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.40
|
|
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
|
|
@@ -16,6 +16,7 @@ from .streaming_aiagent import JaxlAppStreamingAIAgent
|
|
|
16
16
|
from .streaming_audio_chunks import JaxlAppStreamingAudioChunk
|
|
17
17
|
from .streaming_speech_segments import JaxlAppStreamingSpeechSegment
|
|
18
18
|
from .streaming_transcriptions import JaxlAppStreamingTranscription
|
|
19
|
+
from .streaming_wav_file import JaxlAppStreamingWavFile
|
|
19
20
|
|
|
20
21
|
|
|
21
22
|
__all__ = [
|
|
@@ -26,4 +27,5 @@ __all__ = [
|
|
|
26
27
|
"JaxlAppStreamingSpeechSegment",
|
|
27
28
|
"JaxlAppStreamingTranscription",
|
|
28
29
|
"JaxlAppStreamingAIAgent",
|
|
30
|
+
"JaxlAppStreamingWavFile",
|
|
29
31
|
]
|
|
@@ -0,0 +1,95 @@
|
|
|
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 asyncio
|
|
11
|
+
# pylint: disable=deprecated-module
|
|
12
|
+
import audioop
|
|
13
|
+
import os
|
|
14
|
+
import wave
|
|
15
|
+
from pathlib import Path
|
|
16
|
+
from typing import Dict
|
|
17
|
+
|
|
18
|
+
from jaxl.api.base import (
|
|
19
|
+
HANDLER_RESPONSE,
|
|
20
|
+
BaseJaxlApp,
|
|
21
|
+
JaxlWebhookRequest,
|
|
22
|
+
JaxlWebhookResponse,
|
|
23
|
+
)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
SAMPLE_RATE = 8000
|
|
27
|
+
SAMPLE_WIDTH = 2
|
|
28
|
+
CHANNELS = 1
|
|
29
|
+
FRAME_MS = 20
|
|
30
|
+
FRAME_BYTES = SAMPLE_RATE * SAMPLE_WIDTH * FRAME_MS // 1000
|
|
31
|
+
SEND_INTERVAL_S = 0.010 # Send faster than real-time to avoid SIP jitter.
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
def load_wav_as_slin16_8k_mono(path: str) -> bytes:
|
|
35
|
+
with wave.open(path, "rb") as wav:
|
|
36
|
+
audio = wav.readframes(wav.getnframes())
|
|
37
|
+
sample_width = wav.getsampwidth()
|
|
38
|
+
channels = wav.getnchannels()
|
|
39
|
+
sample_rate = wav.getframerate()
|
|
40
|
+
|
|
41
|
+
if channels != CHANNELS:
|
|
42
|
+
audio = audioop.tomono(audio, sample_width, 0.5, 0.5)
|
|
43
|
+
channels = CHANNELS
|
|
44
|
+
if sample_width != SAMPLE_WIDTH:
|
|
45
|
+
audio = audioop.lin2lin(audio, sample_width, SAMPLE_WIDTH)
|
|
46
|
+
sample_width = SAMPLE_WIDTH
|
|
47
|
+
if sample_rate != SAMPLE_RATE:
|
|
48
|
+
audio, _ = audioop.ratecv(
|
|
49
|
+
audio,
|
|
50
|
+
sample_width,
|
|
51
|
+
channels,
|
|
52
|
+
sample_rate,
|
|
53
|
+
SAMPLE_RATE,
|
|
54
|
+
None,
|
|
55
|
+
)
|
|
56
|
+
return audio
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
class JaxlAppStreamingWavFile(BaseJaxlApp):
|
|
60
|
+
"""Minimal incoming-call app that streams one WAV file over the live stream."""
|
|
61
|
+
|
|
62
|
+
def __init__(self) -> None:
|
|
63
|
+
self._playback_tasks: Dict[int, asyncio.Task[None]] = {}
|
|
64
|
+
self._wav_path = os.environ.get("JAXL_STREAMING_WAV_PATH", "example.wav")
|
|
65
|
+
self._audio = load_wav_as_slin16_8k_mono(self._wav_path)
|
|
66
|
+
|
|
67
|
+
async def handle_setup(self, req: JaxlWebhookRequest) -> HANDLER_RESPONSE:
|
|
68
|
+
return JaxlWebhookResponse(prompt=[], num_characters=-1)
|
|
69
|
+
|
|
70
|
+
async def handle_teardown(self, req: JaxlWebhookRequest) -> HANDLER_RESPONSE:
|
|
71
|
+
assert req.state is not None
|
|
72
|
+
self._cancel_playback(req.state.call_id)
|
|
73
|
+
return None
|
|
74
|
+
|
|
75
|
+
async def on_stream_connect(self, call_id: int) -> None:
|
|
76
|
+
self._cancel_playback(call_id)
|
|
77
|
+
self._playback_tasks[call_id] = asyncio.create_task(self._stream_wav(call_id))
|
|
78
|
+
|
|
79
|
+
async def on_stream_disconnect(self, call_id: int) -> None:
|
|
80
|
+
self._cancel_playback(call_id)
|
|
81
|
+
|
|
82
|
+
def _cancel_playback(self, call_id: int) -> None:
|
|
83
|
+
task = self._playback_tasks.pop(call_id, None)
|
|
84
|
+
if task is not None:
|
|
85
|
+
task.cancel()
|
|
86
|
+
|
|
87
|
+
async def _stream_wav(self, call_id: int) -> None:
|
|
88
|
+
print(f"Streaming {Path(self._wav_path)} to call {call_id}")
|
|
89
|
+
for offset in range(0, len(self._audio), FRAME_BYTES):
|
|
90
|
+
chunk = self._audio[offset : offset + FRAME_BYTES]
|
|
91
|
+
if len(chunk) < FRAME_BYTES:
|
|
92
|
+
chunk += b"\x00" * (FRAME_BYTES - len(chunk))
|
|
93
|
+
if not await self.send_audio(call_id, chunk):
|
|
94
|
+
break
|
|
95
|
+
await asyncio.sleep(SEND_INTERVAL_S)
|
|
@@ -308,7 +308,12 @@ class BaseJaxlApp:
|
|
|
308
308
|
return None
|
|
309
309
|
|
|
310
310
|
async def add_tag(
|
|
311
|
-
self, call_id: int, tag: str
|
|
311
|
+
self, call_id: int, tag: str, rationale: Optional[str] = None
|
|
312
312
|
) -> Optional[Response[CallTagResponse]]:
|
|
313
|
-
"""Add tag to a call by ID.
|
|
313
|
+
"""Add tag to a call by ID.
|
|
314
|
+
|
|
315
|
+
`rationale` (optional) carries the caller's explanation for
|
|
316
|
+
the tag (e.g. an AI agent's reasoning) and is persisted
|
|
317
|
+
alongside the tag by the backend.
|
|
318
|
+
"""
|
|
314
319
|
return None
|
|
@@ -7,6 +7,7 @@ Redistribution and use in source and binary forms,
|
|
|
7
7
|
with or without modification, is strictly prohibited.
|
|
8
8
|
"""
|
|
9
9
|
|
|
10
|
+
import datetime
|
|
10
11
|
from http import HTTPStatus
|
|
11
12
|
from typing import Any, Dict, List, Optional, Union
|
|
12
13
|
|
|
@@ -24,9 +25,12 @@ def _get_kwargs(
|
|
|
24
25
|
client: AuthenticatedClient,
|
|
25
26
|
aid: Union[Unset, None, List[int]] = UNSET,
|
|
26
27
|
bot: Union[Unset, None, bool] = UNSET,
|
|
28
|
+
campaign: Union[Unset, None, bool] = UNSET,
|
|
29
|
+
campaign_id: Union[Unset, None, int] = UNSET,
|
|
27
30
|
currency: int,
|
|
28
31
|
direction: Union[Unset, None, V1CallsListDirection] = UNSET,
|
|
29
32
|
duration: Union[Unset, None, int] = UNSET,
|
|
33
|
+
end_time: Union[Unset, None, datetime.datetime] = UNSET,
|
|
30
34
|
from_number: Union[Unset, None, str] = UNSET,
|
|
31
35
|
ivr: Union[Unset, None, bool] = UNSET,
|
|
32
36
|
limit: Union[Unset, None, int] = UNSET,
|
|
@@ -35,6 +39,8 @@ def _get_kwargs(
|
|
|
35
39
|
other_numbers: Union[Unset, None, str] = UNSET,
|
|
36
40
|
our_numbers: Union[Unset, None, str] = UNSET,
|
|
37
41
|
recording: Union[Unset, None, bool] = UNSET,
|
|
42
|
+
start_time: Union[Unset, None, datetime.datetime] = UNSET,
|
|
43
|
+
tag: Union[Unset, None, str] = UNSET,
|
|
38
44
|
tag_operator: Union[Unset, None, bool] = UNSET,
|
|
39
45
|
tid: Union[Unset, None, List[int]] = UNSET,
|
|
40
46
|
to_number: Union[Unset, None, str] = UNSET,
|
|
@@ -57,6 +63,10 @@ def _get_kwargs(
|
|
|
57
63
|
|
|
58
64
|
params["bot"] = bot
|
|
59
65
|
|
|
66
|
+
params["campaign"] = campaign
|
|
67
|
+
|
|
68
|
+
params["campaign_id"] = campaign_id
|
|
69
|
+
|
|
60
70
|
params["currency"] = currency
|
|
61
71
|
|
|
62
72
|
json_direction: Union[Unset, None, int] = UNSET
|
|
@@ -67,6 +77,12 @@ def _get_kwargs(
|
|
|
67
77
|
|
|
68
78
|
params["duration"] = duration
|
|
69
79
|
|
|
80
|
+
json_end_time: Union[Unset, None, str] = UNSET
|
|
81
|
+
if not isinstance(end_time, Unset):
|
|
82
|
+
json_end_time = end_time.isoformat() if end_time else None
|
|
83
|
+
|
|
84
|
+
params["end_time"] = json_end_time
|
|
85
|
+
|
|
70
86
|
params["from_number"] = from_number
|
|
71
87
|
|
|
72
88
|
params["ivr"] = ivr
|
|
@@ -83,6 +99,14 @@ def _get_kwargs(
|
|
|
83
99
|
|
|
84
100
|
params["recording"] = recording
|
|
85
101
|
|
|
102
|
+
json_start_time: Union[Unset, None, str] = UNSET
|
|
103
|
+
if not isinstance(start_time, Unset):
|
|
104
|
+
json_start_time = start_time.isoformat() if start_time else None
|
|
105
|
+
|
|
106
|
+
params["start_time"] = json_start_time
|
|
107
|
+
|
|
108
|
+
params["tag"] = tag
|
|
109
|
+
|
|
86
110
|
params["tag_operator"] = tag_operator
|
|
87
111
|
|
|
88
112
|
json_tid: Union[Unset, None, List[int]] = UNSET
|
|
@@ -139,9 +163,12 @@ def sync_detailed(
|
|
|
139
163
|
client: AuthenticatedClient,
|
|
140
164
|
aid: Union[Unset, None, List[int]] = UNSET,
|
|
141
165
|
bot: Union[Unset, None, bool] = UNSET,
|
|
166
|
+
campaign: Union[Unset, None, bool] = UNSET,
|
|
167
|
+
campaign_id: Union[Unset, None, int] = UNSET,
|
|
142
168
|
currency: int,
|
|
143
169
|
direction: Union[Unset, None, V1CallsListDirection] = UNSET,
|
|
144
170
|
duration: Union[Unset, None, int] = UNSET,
|
|
171
|
+
end_time: Union[Unset, None, datetime.datetime] = UNSET,
|
|
145
172
|
from_number: Union[Unset, None, str] = UNSET,
|
|
146
173
|
ivr: Union[Unset, None, bool] = UNSET,
|
|
147
174
|
limit: Union[Unset, None, int] = UNSET,
|
|
@@ -150,6 +177,8 @@ def sync_detailed(
|
|
|
150
177
|
other_numbers: Union[Unset, None, str] = UNSET,
|
|
151
178
|
our_numbers: Union[Unset, None, str] = UNSET,
|
|
152
179
|
recording: Union[Unset, None, bool] = UNSET,
|
|
180
|
+
start_time: Union[Unset, None, datetime.datetime] = UNSET,
|
|
181
|
+
tag: Union[Unset, None, str] = UNSET,
|
|
153
182
|
tag_operator: Union[Unset, None, bool] = UNSET,
|
|
154
183
|
tid: Union[Unset, None, List[int]] = UNSET,
|
|
155
184
|
to_number: Union[Unset, None, str] = UNSET,
|
|
@@ -160,9 +189,12 @@ def sync_detailed(
|
|
|
160
189
|
Args:
|
|
161
190
|
aid (Union[Unset, None, List[int]]):
|
|
162
191
|
bot (Union[Unset, None, bool]):
|
|
192
|
+
campaign (Union[Unset, None, bool]):
|
|
193
|
+
campaign_id (Union[Unset, None, int]):
|
|
163
194
|
currency (int):
|
|
164
195
|
direction (Union[Unset, None, V1CallsListDirection]):
|
|
165
196
|
duration (Union[Unset, None, int]):
|
|
197
|
+
end_time (Union[Unset, None, datetime.datetime]):
|
|
166
198
|
from_number (Union[Unset, None, str]):
|
|
167
199
|
ivr (Union[Unset, None, bool]):
|
|
168
200
|
limit (Union[Unset, None, int]):
|
|
@@ -171,6 +203,8 @@ def sync_detailed(
|
|
|
171
203
|
other_numbers (Union[Unset, None, str]):
|
|
172
204
|
our_numbers (Union[Unset, None, str]):
|
|
173
205
|
recording (Union[Unset, None, bool]):
|
|
206
|
+
start_time (Union[Unset, None, datetime.datetime]):
|
|
207
|
+
tag (Union[Unset, None, str]):
|
|
174
208
|
tag_operator (Union[Unset, None, bool]):
|
|
175
209
|
tid (Union[Unset, None, List[int]]):
|
|
176
210
|
to_number (Union[Unset, None, str]):
|
|
@@ -188,9 +222,12 @@ def sync_detailed(
|
|
|
188
222
|
client=client,
|
|
189
223
|
aid=aid,
|
|
190
224
|
bot=bot,
|
|
225
|
+
campaign=campaign,
|
|
226
|
+
campaign_id=campaign_id,
|
|
191
227
|
currency=currency,
|
|
192
228
|
direction=direction,
|
|
193
229
|
duration=duration,
|
|
230
|
+
end_time=end_time,
|
|
194
231
|
from_number=from_number,
|
|
195
232
|
ivr=ivr,
|
|
196
233
|
limit=limit,
|
|
@@ -199,6 +236,8 @@ def sync_detailed(
|
|
|
199
236
|
other_numbers=other_numbers,
|
|
200
237
|
our_numbers=our_numbers,
|
|
201
238
|
recording=recording,
|
|
239
|
+
start_time=start_time,
|
|
240
|
+
tag=tag,
|
|
202
241
|
tag_operator=tag_operator,
|
|
203
242
|
tid=tid,
|
|
204
243
|
to_number=to_number,
|
|
@@ -218,9 +257,12 @@ def sync(
|
|
|
218
257
|
client: AuthenticatedClient,
|
|
219
258
|
aid: Union[Unset, None, List[int]] = UNSET,
|
|
220
259
|
bot: Union[Unset, None, bool] = UNSET,
|
|
260
|
+
campaign: Union[Unset, None, bool] = UNSET,
|
|
261
|
+
campaign_id: Union[Unset, None, int] = UNSET,
|
|
221
262
|
currency: int,
|
|
222
263
|
direction: Union[Unset, None, V1CallsListDirection] = UNSET,
|
|
223
264
|
duration: Union[Unset, None, int] = UNSET,
|
|
265
|
+
end_time: Union[Unset, None, datetime.datetime] = UNSET,
|
|
224
266
|
from_number: Union[Unset, None, str] = UNSET,
|
|
225
267
|
ivr: Union[Unset, None, bool] = UNSET,
|
|
226
268
|
limit: Union[Unset, None, int] = UNSET,
|
|
@@ -229,6 +271,8 @@ def sync(
|
|
|
229
271
|
other_numbers: Union[Unset, None, str] = UNSET,
|
|
230
272
|
our_numbers: Union[Unset, None, str] = UNSET,
|
|
231
273
|
recording: Union[Unset, None, bool] = UNSET,
|
|
274
|
+
start_time: Union[Unset, None, datetime.datetime] = UNSET,
|
|
275
|
+
tag: Union[Unset, None, str] = UNSET,
|
|
232
276
|
tag_operator: Union[Unset, None, bool] = UNSET,
|
|
233
277
|
tid: Union[Unset, None, List[int]] = UNSET,
|
|
234
278
|
to_number: Union[Unset, None, str] = UNSET,
|
|
@@ -239,9 +283,12 @@ def sync(
|
|
|
239
283
|
Args:
|
|
240
284
|
aid (Union[Unset, None, List[int]]):
|
|
241
285
|
bot (Union[Unset, None, bool]):
|
|
286
|
+
campaign (Union[Unset, None, bool]):
|
|
287
|
+
campaign_id (Union[Unset, None, int]):
|
|
242
288
|
currency (int):
|
|
243
289
|
direction (Union[Unset, None, V1CallsListDirection]):
|
|
244
290
|
duration (Union[Unset, None, int]):
|
|
291
|
+
end_time (Union[Unset, None, datetime.datetime]):
|
|
245
292
|
from_number (Union[Unset, None, str]):
|
|
246
293
|
ivr (Union[Unset, None, bool]):
|
|
247
294
|
limit (Union[Unset, None, int]):
|
|
@@ -250,6 +297,8 @@ def sync(
|
|
|
250
297
|
other_numbers (Union[Unset, None, str]):
|
|
251
298
|
our_numbers (Union[Unset, None, str]):
|
|
252
299
|
recording (Union[Unset, None, bool]):
|
|
300
|
+
start_time (Union[Unset, None, datetime.datetime]):
|
|
301
|
+
tag (Union[Unset, None, str]):
|
|
253
302
|
tag_operator (Union[Unset, None, bool]):
|
|
254
303
|
tid (Union[Unset, None, List[int]]):
|
|
255
304
|
to_number (Union[Unset, None, str]):
|
|
@@ -267,9 +316,12 @@ def sync(
|
|
|
267
316
|
client=client,
|
|
268
317
|
aid=aid,
|
|
269
318
|
bot=bot,
|
|
319
|
+
campaign=campaign,
|
|
320
|
+
campaign_id=campaign_id,
|
|
270
321
|
currency=currency,
|
|
271
322
|
direction=direction,
|
|
272
323
|
duration=duration,
|
|
324
|
+
end_time=end_time,
|
|
273
325
|
from_number=from_number,
|
|
274
326
|
ivr=ivr,
|
|
275
327
|
limit=limit,
|
|
@@ -278,6 +330,8 @@ def sync(
|
|
|
278
330
|
other_numbers=other_numbers,
|
|
279
331
|
our_numbers=our_numbers,
|
|
280
332
|
recording=recording,
|
|
333
|
+
start_time=start_time,
|
|
334
|
+
tag=tag,
|
|
281
335
|
tag_operator=tag_operator,
|
|
282
336
|
tid=tid,
|
|
283
337
|
to_number=to_number,
|
|
@@ -290,9 +344,12 @@ async def asyncio_detailed(
|
|
|
290
344
|
client: AuthenticatedClient,
|
|
291
345
|
aid: Union[Unset, None, List[int]] = UNSET,
|
|
292
346
|
bot: Union[Unset, None, bool] = UNSET,
|
|
347
|
+
campaign: Union[Unset, None, bool] = UNSET,
|
|
348
|
+
campaign_id: Union[Unset, None, int] = UNSET,
|
|
293
349
|
currency: int,
|
|
294
350
|
direction: Union[Unset, None, V1CallsListDirection] = UNSET,
|
|
295
351
|
duration: Union[Unset, None, int] = UNSET,
|
|
352
|
+
end_time: Union[Unset, None, datetime.datetime] = UNSET,
|
|
296
353
|
from_number: Union[Unset, None, str] = UNSET,
|
|
297
354
|
ivr: Union[Unset, None, bool] = UNSET,
|
|
298
355
|
limit: Union[Unset, None, int] = UNSET,
|
|
@@ -301,6 +358,8 @@ async def asyncio_detailed(
|
|
|
301
358
|
other_numbers: Union[Unset, None, str] = UNSET,
|
|
302
359
|
our_numbers: Union[Unset, None, str] = UNSET,
|
|
303
360
|
recording: Union[Unset, None, bool] = UNSET,
|
|
361
|
+
start_time: Union[Unset, None, datetime.datetime] = UNSET,
|
|
362
|
+
tag: Union[Unset, None, str] = UNSET,
|
|
304
363
|
tag_operator: Union[Unset, None, bool] = UNSET,
|
|
305
364
|
tid: Union[Unset, None, List[int]] = UNSET,
|
|
306
365
|
to_number: Union[Unset, None, str] = UNSET,
|
|
@@ -311,9 +370,12 @@ async def asyncio_detailed(
|
|
|
311
370
|
Args:
|
|
312
371
|
aid (Union[Unset, None, List[int]]):
|
|
313
372
|
bot (Union[Unset, None, bool]):
|
|
373
|
+
campaign (Union[Unset, None, bool]):
|
|
374
|
+
campaign_id (Union[Unset, None, int]):
|
|
314
375
|
currency (int):
|
|
315
376
|
direction (Union[Unset, None, V1CallsListDirection]):
|
|
316
377
|
duration (Union[Unset, None, int]):
|
|
378
|
+
end_time (Union[Unset, None, datetime.datetime]):
|
|
317
379
|
from_number (Union[Unset, None, str]):
|
|
318
380
|
ivr (Union[Unset, None, bool]):
|
|
319
381
|
limit (Union[Unset, None, int]):
|
|
@@ -322,6 +384,8 @@ async def asyncio_detailed(
|
|
|
322
384
|
other_numbers (Union[Unset, None, str]):
|
|
323
385
|
our_numbers (Union[Unset, None, str]):
|
|
324
386
|
recording (Union[Unset, None, bool]):
|
|
387
|
+
start_time (Union[Unset, None, datetime.datetime]):
|
|
388
|
+
tag (Union[Unset, None, str]):
|
|
325
389
|
tag_operator (Union[Unset, None, bool]):
|
|
326
390
|
tid (Union[Unset, None, List[int]]):
|
|
327
391
|
to_number (Union[Unset, None, str]):
|
|
@@ -339,9 +403,12 @@ async def asyncio_detailed(
|
|
|
339
403
|
client=client,
|
|
340
404
|
aid=aid,
|
|
341
405
|
bot=bot,
|
|
406
|
+
campaign=campaign,
|
|
407
|
+
campaign_id=campaign_id,
|
|
342
408
|
currency=currency,
|
|
343
409
|
direction=direction,
|
|
344
410
|
duration=duration,
|
|
411
|
+
end_time=end_time,
|
|
345
412
|
from_number=from_number,
|
|
346
413
|
ivr=ivr,
|
|
347
414
|
limit=limit,
|
|
@@ -350,6 +417,8 @@ async def asyncio_detailed(
|
|
|
350
417
|
other_numbers=other_numbers,
|
|
351
418
|
our_numbers=our_numbers,
|
|
352
419
|
recording=recording,
|
|
420
|
+
start_time=start_time,
|
|
421
|
+
tag=tag,
|
|
353
422
|
tag_operator=tag_operator,
|
|
354
423
|
tid=tid,
|
|
355
424
|
to_number=to_number,
|
|
@@ -367,9 +436,12 @@ async def asyncio(
|
|
|
367
436
|
client: AuthenticatedClient,
|
|
368
437
|
aid: Union[Unset, None, List[int]] = UNSET,
|
|
369
438
|
bot: Union[Unset, None, bool] = UNSET,
|
|
439
|
+
campaign: Union[Unset, None, bool] = UNSET,
|
|
440
|
+
campaign_id: Union[Unset, None, int] = UNSET,
|
|
370
441
|
currency: int,
|
|
371
442
|
direction: Union[Unset, None, V1CallsListDirection] = UNSET,
|
|
372
443
|
duration: Union[Unset, None, int] = UNSET,
|
|
444
|
+
end_time: Union[Unset, None, datetime.datetime] = UNSET,
|
|
373
445
|
from_number: Union[Unset, None, str] = UNSET,
|
|
374
446
|
ivr: Union[Unset, None, bool] = UNSET,
|
|
375
447
|
limit: Union[Unset, None, int] = UNSET,
|
|
@@ -378,6 +450,8 @@ async def asyncio(
|
|
|
378
450
|
other_numbers: Union[Unset, None, str] = UNSET,
|
|
379
451
|
our_numbers: Union[Unset, None, str] = UNSET,
|
|
380
452
|
recording: Union[Unset, None, bool] = UNSET,
|
|
453
|
+
start_time: Union[Unset, None, datetime.datetime] = UNSET,
|
|
454
|
+
tag: Union[Unset, None, str] = UNSET,
|
|
381
455
|
tag_operator: Union[Unset, None, bool] = UNSET,
|
|
382
456
|
tid: Union[Unset, None, List[int]] = UNSET,
|
|
383
457
|
to_number: Union[Unset, None, str] = UNSET,
|
|
@@ -388,9 +462,12 @@ async def asyncio(
|
|
|
388
462
|
Args:
|
|
389
463
|
aid (Union[Unset, None, List[int]]):
|
|
390
464
|
bot (Union[Unset, None, bool]):
|
|
465
|
+
campaign (Union[Unset, None, bool]):
|
|
466
|
+
campaign_id (Union[Unset, None, int]):
|
|
391
467
|
currency (int):
|
|
392
468
|
direction (Union[Unset, None, V1CallsListDirection]):
|
|
393
469
|
duration (Union[Unset, None, int]):
|
|
470
|
+
end_time (Union[Unset, None, datetime.datetime]):
|
|
394
471
|
from_number (Union[Unset, None, str]):
|
|
395
472
|
ivr (Union[Unset, None, bool]):
|
|
396
473
|
limit (Union[Unset, None, int]):
|
|
@@ -399,6 +476,8 @@ async def asyncio(
|
|
|
399
476
|
other_numbers (Union[Unset, None, str]):
|
|
400
477
|
our_numbers (Union[Unset, None, str]):
|
|
401
478
|
recording (Union[Unset, None, bool]):
|
|
479
|
+
start_time (Union[Unset, None, datetime.datetime]):
|
|
480
|
+
tag (Union[Unset, None, str]):
|
|
402
481
|
tag_operator (Union[Unset, None, bool]):
|
|
403
482
|
tid (Union[Unset, None, List[int]]):
|
|
404
483
|
to_number (Union[Unset, None, str]):
|
|
@@ -417,9 +496,12 @@ async def asyncio(
|
|
|
417
496
|
client=client,
|
|
418
497
|
aid=aid,
|
|
419
498
|
bot=bot,
|
|
499
|
+
campaign=campaign,
|
|
500
|
+
campaign_id=campaign_id,
|
|
420
501
|
currency=currency,
|
|
421
502
|
direction=direction,
|
|
422
503
|
duration=duration,
|
|
504
|
+
end_time=end_time,
|
|
423
505
|
from_number=from_number,
|
|
424
506
|
ivr=ivr,
|
|
425
507
|
limit=limit,
|
|
@@ -428,6 +510,8 @@ async def asyncio(
|
|
|
428
510
|
other_numbers=other_numbers,
|
|
429
511
|
our_numbers=our_numbers,
|
|
430
512
|
recording=recording,
|
|
513
|
+
start_time=start_time,
|
|
514
|
+
tag=tag,
|
|
431
515
|
tag_operator=tag_operator,
|
|
432
516
|
tid=tid,
|
|
433
517
|
to_number=to_number,
|