jaxl-python 0.0.53__tar.gz → 0.0.54__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.53 → jaxl_python-0.0.54}/.gitignore +1 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/PKG-INFO +148 -3
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/README.md +146 -2
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/examples/README.md +13 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/_sdk.py +2 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/_scm_version.py +2 -2
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_calls_dtmf_create.py +18 -4
- jaxl_python-0.0.54/jaxl/api/client/api/v1/v1_calls_transfer_create.py +191 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/__init__.py +18 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/call_dtmf_request_request.py +3 -3
- jaxl_python-0.0.54/jaxl/api/client/models/call_transfer_rejected.py +95 -0
- jaxl_python-0.0.54/jaxl/api/client/models/call_transfer_rejected_errors.py +53 -0
- jaxl_python-0.0.54/jaxl/api/client/models/cashfree_checkout_auth_request_request.py +79 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/failure_reason_enum.py +4 -0
- jaxl_python-0.0.54/jaxl/api/client/models/go_kwik_checkout_auth_request_request.py +78 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/integrations_properties_request.py +112 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/integrations_request_provider_enum.py +3 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/patched_phone_number_update_request.py +44 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/phone_number.py +38 -0
- jaxl_python-0.0.54/jaxl/api/client/models/ringing_order_enum.py +18 -0
- jaxl_python-0.0.54/jaxl/api/client/models/shiprocket_delivery_auth_request_request.py +78 -0
- jaxl_python-0.0.54/jaxl/api/client/models/twilio_call_auth_request_request.py +74 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/resources/calls.py +4 -4
- jaxl_python-0.0.54/jaxl/api/resources/integrations.py +374 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl_python.egg-info/PKG-INFO +148 -3
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl_python.egg-info/SOURCES.txt +8 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl_python.egg-info/requires.txt +1 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/setup.cfg +1 -0
- jaxl_python-0.0.53/jaxl/api/client/api/v1/v1_calls_transfer_create.py +0 -127
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/.github/workflows/sdk.yml +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/.isort.cfg +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/.pylintrc +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/.vscode/settings.json +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/LICENSE.md +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/SPECIFICATION.md +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/calls_add_unset.patch +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/campaign_upload_request.patch +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/docs.sh +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/examples/__init__.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/examples/prompts/example.txt +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/examples/py.typed +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/examples/request_and_confirm_code_then_send_to_phone.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/examples/request_code_and_send_to_phone.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/examples/send_to_phone.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/examples/streaming_aiagent.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/examples/streaming_audio_chunks.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/examples/streaming_speech_segments.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/examples/streaming_transcriptions.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/examples/streaming_wav_file.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/index.md +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/ivr_options.patch +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/__init__.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/_client.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/base.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/cli.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/__init__.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/__init__.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/__init__.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_app_organizations_list.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_app_organizations_providers_list.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_appusers_me_retrieve.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_calls_add_create.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_calls_audio_retrieve.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_calls_hangup_retrieve.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_calls_list.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_calls_messages_create.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_calls_metadata_create.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_calls_report_retrieve.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_calls_reschedule_create.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_calls_retrieve.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_calls_schedule_create.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_calls_schedule_destroy.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_calls_tags_create.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_calls_token_create.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_calls_tts_create.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_calls_usage_retrieve.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_campaign_list.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_campaign_upload_create.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_customer_consumables_retrieve.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_devices_attest_create.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_devices_list.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_integrations_create.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_ivr_create.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_ivr_list.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_ivr_options_create.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_ivr_options_list.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_ivr_options_partial_update.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_kyc_list.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_messages_list.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_org_kb_create.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_phonenumbers_list.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_phonenumbers_partial_update.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v1/v1_phonenumbers_search_retrieve.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v2/__init__.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v2/v2_app_organizations_employees_list.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v2/v2_app_organizations_groups_list.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v3/__init__.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/api/v3/v3_orders_subscriptions_list.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/client.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/errors.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/address_provider.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/address_provider_status_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/analytic.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/app_price.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/app_user.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/available_phone_number.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/available_phone_number_capabilities.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/available_phone_number_provider_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/call.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/call_add_request_request.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/call_audio_reason.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/call_cost.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/call_location_epoch.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/call_message_request_request.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/call_message_request_type_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/call_metadata.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/call_report.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/call_report_reason.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/call_report_status_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/call_reschedule_request.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/call_schedule_request.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/call_tag_request.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/call_tag_response.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/call_token_request.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/call_token_response.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/call_transfer_request_request.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/call_tts_request_request.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/call_type_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/call_usage_by_currency_response.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/call_usage_response.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/call_usage_stats_response.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/campaign.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/campaign_metadata.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/campaign_metadata_metadata.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/campaign_response.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/campaign_response_status_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/campaign_stats.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/campaign_tag.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/campaign_upload_request.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/campaign_upload_request_options.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/campaign_upload_type_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/campaign_window_request.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/can_user_resubscribe_plan.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/canceled_by_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/capabilities.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/connection.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/content_type_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/country.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/cta.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/cta_request.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/cta_type_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/currency_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/customer_consumable_total.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/customer_order_subscriptions_serializer_v2.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/customer_order_subscriptions_serializer_v2_status_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/customer_provider_serializer_v2.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/device.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/device_attestation_error.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/device_attestation_error_reason_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/device_attestation_response.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/dh_message.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/dh_message_attachment.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/dh_message_reaction.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/dh_message_type_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/direction_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/emoji.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/emoji_reaction.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/exotel_auth_request_request.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/id_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/integrations_error_response.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/integrations_request_request.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/integrations_response.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/intent_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/invalid_provider_request.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/iso_country_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/item.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/ivr_collection.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/ivr_collection_request.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/ivr_menu_request.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/ivr_menu_request_settings.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/ivr_menu_response.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/ivr_menu_response_settings.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/ivr_menu_response_status_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/ivr_options_invalid_response.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/ivr_options_request.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/ivr_options_response.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/kb_search_mode_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/kb_search_request.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/kb_sse_event.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/kind_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/kwik_engage_auth_request_request.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/kyc.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/kyc_status_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/kyc_upload_metadata.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/location.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/next_or_cta_request.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/nimbus_post_auth_request_request.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/order_status_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/organization.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/organization_employee.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/organization_employee_preferences.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/organization_employee_status_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/organization_group_inline.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/organization_group_response.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/organization_preferences.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/organization_provider.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/paginated_call_list.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/paginated_campaign_response_list.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/paginated_customer_order_subscriptions_serializer_v2_list.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/paginated_device_list.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/paginated_dh_message_list.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/paginated_ivr_menu_response_list.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/paginated_ivr_options_response_list.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/paginated_kyc_list.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/paginated_organization_employee_list.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/paginated_organization_group_response_list.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/paginated_organization_list.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/paginated_organization_provider_list.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/paginated_phone_number_list.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/patched_ivr_options_update_request.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/patched_phone_number_update_request_frontdesk.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/payment_gateway_fees_info.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/period_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/phone_number_attributes.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/phone_number_capabilities.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/phone_number_frontdesk.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/phone_number_provider_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/phone_number_search_response.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/phone_number_status_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/plan.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/plan_cancel_info.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/plan_expiry_timestamp.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/plan_expiry_timestamp_type_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/plan_extra_details.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/plan_item.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/plan_type.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/plan_type_cycle.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/platform_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/product_group.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/proof.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/proof_status_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/provider_status_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/reaction_by.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/rental_currency_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/resource_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/ringing_strategy_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/sales_max_auth_request_request.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/shopify_auth_request_request.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/stripe_auth_request_request.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/upload_metadata.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/user_agent.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/user_agent_browser.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/user_agent_device.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/user_agent_operating_system.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/user_agent_platform.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/user_identity.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/v1_app_organizations_list_status_item.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/v1_calls_list_direction.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/v1_calls_metadata_create_json_body.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/v1_calls_metadata_create_response_200.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/v1_calls_report_retrieve_date_range.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/v1_calls_report_retrieve_fields_item.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/v1_campaign_list_status_item.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/v1_customer_consumables_retrieve_currency.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/v1_ivr_list_duration.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/v1_kyc_list_iso_country.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/v1_kyc_list_provider_status_item.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/v1_kyc_list_resource.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/v1_kyc_list_status.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/v1_messages_list_types_item.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/v1_phonenumbers_list_additional_status_item.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/v1_phonenumbers_list_provider.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/v1_phonenumbers_list_status.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/v1_phonenumbers_search_retrieve_intent.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/v1_phonenumbers_search_retrieve_iso_country_code.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/v1_phonenumbers_search_retrieve_resource.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/v2_app_organizations_employees_list_status_item.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/v3_orders_subscriptions_list_currency.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/v3_orders_subscriptions_list_status_item.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/models/why_enum.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/client/types.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/py.typed +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/resources/__init__.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/resources/_constants.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/resources/accounts.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/resources/apps.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/resources/campaigns.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/resources/devices.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/resources/ivrs.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/resources/kycs.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/resources/members.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/resources/messages.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/resources/notifications.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/resources/orgs.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/resources/payments.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/resources/phones.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/resources/silence.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl/api/resources/teams.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl_python.egg-info/dependency_links.txt +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl_python.egg-info/entry_points.txt +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl_python.egg-info/not-zip-safe +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/jaxl_python.egg-info/top_level.txt +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/mkdocs.yml +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/pyproject.toml +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/setup.gif +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/tests/test_streaming_vad.py +0 -0
- {jaxl_python-0.0.53 → jaxl_python-0.0.54}/tests/test_streaming_watchdog.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.54
|
|
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
|
|
@@ -62,6 +62,7 @@ Requires-Dist: pdoc3==0.11.6; extra == "docs"
|
|
|
62
62
|
Requires-Dist: mkdocs==1.6.1; extra == "docs"
|
|
63
63
|
Requires-Dist: mkdocstrings==0.30.1; extra == "docs"
|
|
64
64
|
Requires-Dist: mkdocstrings-python==1.18.2; extra == "docs"
|
|
65
|
+
Requires-Dist: pymdown-extensions==12.1; extra == "docs"
|
|
65
66
|
Provides-Extra: types
|
|
66
67
|
Requires-Dist: types-python-dateutil; extra == "types"
|
|
67
68
|
Requires-Dist: types-PyYAML==6.0.12.20250915; extra == "types"
|
|
@@ -118,6 +119,7 @@ Use Jaxl from Python code or directly via the `jaxl` command-line tool.
|
|
|
118
119
|
- [Hold a Participant in an Active Call](#hold-a-participant-in-an-active-call)
|
|
119
120
|
- [Unhold a Participant in an Active Call](#unhold-a-participant-in-an-active-call)
|
|
120
121
|
- [Get call details](#get-call-details)
|
|
122
|
+
- [Transfer an Active Call](#transfer-an-active-call)
|
|
121
123
|
- [Receive Call Events via Webhook IVRs](#receive-call-events-via-webhook-ivrs)
|
|
122
124
|
- [Realtime Streaming Audio](#realtime-streaming-audio)
|
|
123
125
|
- [Realtime Streaming Speech Segments](#realtime-streaming-speech-segments)
|
|
@@ -125,6 +127,8 @@ Use Jaxl from Python code or directly via the `jaxl` command-line tool.
|
|
|
125
127
|
- [AI Agent: Realtime Transcriptions STT ➡️ LLM/MCP ➡️ TTS](#ai-agent-realtime-transcriptions-stt-️-llmmcp-️-tts)
|
|
126
128
|
- [List Subscriptions Payments](#list-subscriptions-payments)
|
|
127
129
|
- [List Consumable Payments](#list-consumable-payments)
|
|
130
|
+
- [List Integrations](#list-integrations)
|
|
131
|
+
- [Add an Integration](#add-an-integration)
|
|
128
132
|
3. [Jaxl Python SDK](#jaxl-python-sdk)
|
|
129
133
|
- [SDK Example Usage](#sdk-example-usage)
|
|
130
134
|
4. [JAXL HTTP Webhook Protocol](./SPECIFICATION.md)
|
|
@@ -139,17 +143,18 @@ Use Jaxl from Python code or directly via the `jaxl` command-line tool.
|
|
|
139
143
|
|
|
140
144
|
```bash
|
|
141
145
|
jaxl -h
|
|
142
|
-
usage: jaxl [-h] {accounts,apps,calls,campaigns,devices,ivrs,kycs,members,messages,notifications,orgs,payments,phones,teams} ...
|
|
146
|
+
usage: jaxl [-h] {accounts,apps,calls,campaigns,devices,integrations,ivrs,kycs,members,messages,notifications,orgs,payments,phones,teams} ...
|
|
143
147
|
|
|
144
148
|
Jaxl CLI
|
|
145
149
|
|
|
146
150
|
positional arguments:
|
|
147
|
-
{accounts,apps,calls,campaigns,devices,ivrs,kycs,members,messages,notifications,orgs,payments,phones,teams}
|
|
151
|
+
{accounts,apps,calls,campaigns,devices,integrations,ivrs,kycs,members,messages,notifications,orgs,payments,phones,teams}
|
|
148
152
|
accounts Manage Accounts
|
|
149
153
|
apps Manage Apps for Webhooks and Streaming audio/speech/transcriptions.
|
|
150
154
|
calls Manage Calls (Domestic & International Cellular, App-to-App)
|
|
151
155
|
campaigns Manage Campaigns
|
|
152
156
|
devices Manage Devices
|
|
157
|
+
integrations Manage Integrations
|
|
153
158
|
ivrs Manage IVRs (Interactive Voice Response)
|
|
154
159
|
kycs Manage KYCs
|
|
155
160
|
members Manage Members
|
|
@@ -447,6 +452,36 @@ jaxl calls unhold --call-id 1235 --email <someone@mycompany.com>
|
|
|
447
452
|
jaxl calls get --call-id 1234
|
|
448
453
|
```
|
|
449
454
|
|
|
455
|
+
### Transfer an Active Call
|
|
456
|
+
|
|
457
|
+
All transfer commands need the call's `--call-id`. Find an active all's ID with:
|
|
458
|
+
|
|
459
|
+
```bash
|
|
460
|
+
jaxl calls list --active
|
|
461
|
+
```
|
|
462
|
+
|
|
463
|
+
Transfer to a phone number:
|
|
464
|
+
|
|
465
|
+
```bash
|
|
466
|
+
jaxl calls transfer --call-id 1234 --phone +CC<Mobile Number>
|
|
467
|
+
```
|
|
468
|
+
|
|
469
|
+
Transfer to a member by email. `--appusers` takes a Jaxl App User ID, not an email, so resolve it from `jaxl members list` first:
|
|
470
|
+
|
|
471
|
+
```bash
|
|
472
|
+
jaxl members list | grep -oP "OrganizationEmployee\(id=\d+, user_id=\d+, app_user_id=\d+, email='[^']*'"
|
|
473
|
+
# find the matching member's email in the list, note its app_user_id, then:
|
|
474
|
+
jaxl calls transfer --call-id 1234 --appusers <app_user_id>
|
|
475
|
+
```
|
|
476
|
+
|
|
477
|
+
Transfer to a team by name. `--teams` takes a Jaxl Team ID, not a name, so resolve it from `jaxl teams list` first:
|
|
478
|
+
|
|
479
|
+
```bash
|
|
480
|
+
jaxl teams list | grep -oP "OrganizationGroupResponse\(id=\d+, name='[^']*'"
|
|
481
|
+
# find the matching team's name in the list, note its id, then:
|
|
482
|
+
jaxl calls transfer --call-id 1234 --teams <team_id>
|
|
483
|
+
```
|
|
484
|
+
|
|
450
485
|
### Receive Call Events via Webhook IVRs
|
|
451
486
|
|
|
452
487
|
Webhook IVRs can be used to programatically control the lifecycle of incoming and outgoing calls.
|
|
@@ -469,6 +504,10 @@ jaxl ivrs create --message "https://<your-public-host>/webhook/?stream"
|
|
|
469
504
|
# Conversational streaming IVR — your app also SPEAKS back on that
|
|
470
505
|
# websocket (AI agents): add `&conv`
|
|
471
506
|
jaxl ivrs create --message "https://<your-public-host>/webhook/?stream&conv"
|
|
507
|
+
|
|
508
|
+
# Speaker tracks — the stream is NOT mixed and every audio packet names
|
|
509
|
+
# its speaker: add `&tracks` (works with or without `&conv`)
|
|
510
|
+
jaxl ivrs create --message "https://<your-public-host>/webhook/?stream&tracks"
|
|
472
511
|
```
|
|
473
512
|
|
|
474
513
|
> Without `?stream` no websocket is opened and streaming handlers never fire —
|
|
@@ -506,6 +545,90 @@ Refer to [examples](https://github.com/jaxl-innovations-private-limited/jaxl-pyt
|
|
|
506
545
|
|
|
507
546
|
Refer to [examples](https://github.com/jaxl-innovations-private-limited/jaxl-python/tree/main/examples) directory for working AI Agent examples.
|
|
508
547
|
|
|
548
|
+
### Stream Audio Format and Speaker Tracks
|
|
549
|
+
|
|
550
|
+
Audio on the `/stream/` websocket is 16-bit signed PCM, mono, 8 kHz. One packet carries
|
|
551
|
+
20 ms (320 bytes).
|
|
552
|
+
|
|
553
|
+
By default a call's speakers are mixed into one stream. Add `&tracks` to the IVR URL to
|
|
554
|
+
receive them unmixed. Every packet then says who is speaking in its `meta`:
|
|
555
|
+
|
|
556
|
+
| `meta` field | Value |
|
|
557
|
+
| ------------ | ------------------------------------------------------------------------ |
|
|
558
|
+
| `track` | `customer` (the phone side of the call) or `member` (one of your agents) |
|
|
559
|
+
| `call_id` | Call ID of that speaker's leg |
|
|
560
|
+
|
|
561
|
+
```python
|
|
562
|
+
async def handle_audio_chunk(self, req, slin16, meta=None):
|
|
563
|
+
who = getattr(meta, "track", None) # "customer" | "member" | None (mixed stream)
|
|
564
|
+
leg = getattr(meta, "call_id", None)
|
|
565
|
+
```
|
|
566
|
+
|
|
567
|
+
Notes:
|
|
568
|
+
|
|
569
|
+
- `meta` may carry other optional fields (for example `speaker`, `is_speech`). Ignore the
|
|
570
|
+
ones you do not use; new fields can appear.
|
|
571
|
+
- The speech handlers (`handle_speech_detection`, `handle_speech_segment`, transcriptions)
|
|
572
|
+
run one detector per websocket. On a `&tracks` stream, split the audio by `meta.track`
|
|
573
|
+
in `handle_audio_chunk` if you need speech detection per speaker.
|
|
574
|
+
- If you serve `/stream/` without this SDK: a media message is
|
|
575
|
+
`{"event": "media", "media": {"payload": "<base64 PCM>", "meta": {...}}}`.
|
|
576
|
+
|
|
577
|
+
### Call Handoff: Transferring a Call Out of Your App
|
|
578
|
+
|
|
579
|
+
A conversational app (AI agent) hands its caller to a person with the transfer API
|
|
580
|
+
(`jaxl calls transfer`, see [Transfer an Active Call](#transfer-an-active-call)). The
|
|
581
|
+
transfer is a two-step protocol:
|
|
582
|
+
|
|
583
|
+
1. **The API response is an acknowledgement, not the outcome.** `200` means the request was
|
|
584
|
+
accepted and the new leg is being placed. The response carries the new leg's Call ID.
|
|
585
|
+
Nobody has answered yet, and your app is still connected to the caller.
|
|
586
|
+
2. **The outcome arrives on your `/stream/` websocket** as a `handoff` event. The SDK calls
|
|
587
|
+
`handle_handoff(call_id, handoff_call_id, status)`; `handoff_call_id` is the Call ID the
|
|
588
|
+
transfer API returned.
|
|
589
|
+
|
|
590
|
+
| `status` | What happened | What your app should do |
|
|
591
|
+
| ---------- | ------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------- |
|
|
592
|
+
| `answered` | The new party picked up and now has the caller. | Stop speaking and finish your bookkeeping. Jaxl stops playing your audio to the caller and closes your stream right after. |
|
|
593
|
+
| `failed` | The transfer was rejected or nobody picked up. | The caller is still with your app. Resume the conversation; you may transfer again. |
|
|
594
|
+
|
|
595
|
+
```python
|
|
596
|
+
async def handle_handoff(self, call_id: int, handoff_call_id: int, status: str) -> None:
|
|
597
|
+
if status == "answered":
|
|
598
|
+
... # the human has the caller: stop talking, save the outcome
|
|
599
|
+
else:
|
|
600
|
+
... # "failed": tell the caller and carry on
|
|
601
|
+
```
|
|
602
|
+
|
|
603
|
+
Notes:
|
|
604
|
+
|
|
605
|
+
- While the new leg is ringing, your app is still the one talking to the caller.
|
|
606
|
+
- Adding a participant to the call (`jaxl calls add`) is not a handoff: your app stays on the
|
|
607
|
+
call and no `handoff` event is sent.
|
|
608
|
+
- If you serve `/stream/` without this SDK, the message is
|
|
609
|
+
`{"event": "handoff", "handoff": {"status": "answered" | "failed", "call_id": <new leg's Call ID>}}`.
|
|
610
|
+
|
|
611
|
+
### Listening to Your Team's Calls (Human-Leg Stream)
|
|
612
|
+
|
|
613
|
+
Jaxl can stream the live audio of calls your team members answer or place (no IVR or AI
|
|
614
|
+
agent involved) to one of your streaming webhook IVRs. The stream is listen-only.
|
|
615
|
+
|
|
616
|
+
- Create a streaming webhook IVR for it: `?stream` is required, `&tracks` is recommended,
|
|
617
|
+
`&conv` is not allowed. Ask Jaxl to enable it for your organization with that IVR's ID.
|
|
618
|
+
- It follows the webhook IVR lifecycle. When a member's leg starts, your app receives
|
|
619
|
+
SETUP (`handle_setup`) with the call's state. Answer `200` to accept the call; the
|
|
620
|
+
response body is not used. Any other answer means no stream for that call. When the leg
|
|
621
|
+
ends, your app receives TEARDOWN (`handle_teardown`).
|
|
622
|
+
- The `/stream/` websocket carries that IVR's ID as `ivr_id` and the leg's Call ID as
|
|
623
|
+
`call_id`. It may connect while the call is still ringing; audio starts once a member
|
|
624
|
+
has the call.
|
|
625
|
+
- SETUP is once per call. A member added to a call that is already set up (a conference)
|
|
626
|
+
does not produce another SETUP; their audio arrives on the same stream, tagged with
|
|
627
|
+
their own `call_id`.
|
|
628
|
+
- A call has one stream at a time. While an IVR or AI agent is streaming a call, the
|
|
629
|
+
human-leg stream is not open; after a handoff to a member it opens, and when a member
|
|
630
|
+
transfers the caller to an IVR or AI agent it closes.
|
|
631
|
+
|
|
509
632
|
### List Subscriptions Payments
|
|
510
633
|
|
|
511
634
|
```bash
|
|
@@ -518,6 +641,28 @@ jaxl payments subscriptions list
|
|
|
518
641
|
jaxl payments consumables total
|
|
519
642
|
```
|
|
520
643
|
|
|
644
|
+
### List Integrations
|
|
645
|
+
|
|
646
|
+
```bash
|
|
647
|
+
jaxl integrations list
|
|
648
|
+
```
|
|
649
|
+
|
|
650
|
+
### Add an Integration
|
|
651
|
+
|
|
652
|
+
```bash
|
|
653
|
+
jaxl integrations create \
|
|
654
|
+
--provider exotel \
|
|
655
|
+
--exotel-api-key "<API Key>" \
|
|
656
|
+
--exotel-api-token "<API Token>" \
|
|
657
|
+
--exotel-tenant-id "<Tenant ID>" \
|
|
658
|
+
--exotel-flow-id 1234
|
|
659
|
+
```
|
|
660
|
+
|
|
661
|
+
Supported providers are `shopify`, `shiprocket`, `shiprocket_delivery`, `exotel`,
|
|
662
|
+
`twilio`, `stripe`, `stripe_subscription`, `salesmax`, `nimbuspost`, `kwik_engage`,
|
|
663
|
+
`cashfree_checkout` and `gokwik_checkout`.
|
|
664
|
+
Each provider takes its own `--<provider>-...` flags, see `jaxl integrations create -h`.
|
|
665
|
+
|
|
521
666
|
## Jaxl Python SDK
|
|
522
667
|
|
|
523
668
|
- Jaxl APIs is built upon [OpenAPI specification](https://www.openapis.org/)
|
|
@@ -28,6 +28,7 @@ Use Jaxl from Python code or directly via the `jaxl` command-line tool.
|
|
|
28
28
|
- [Hold a Participant in an Active Call](#hold-a-participant-in-an-active-call)
|
|
29
29
|
- [Unhold a Participant in an Active Call](#unhold-a-participant-in-an-active-call)
|
|
30
30
|
- [Get call details](#get-call-details)
|
|
31
|
+
- [Transfer an Active Call](#transfer-an-active-call)
|
|
31
32
|
- [Receive Call Events via Webhook IVRs](#receive-call-events-via-webhook-ivrs)
|
|
32
33
|
- [Realtime Streaming Audio](#realtime-streaming-audio)
|
|
33
34
|
- [Realtime Streaming Speech Segments](#realtime-streaming-speech-segments)
|
|
@@ -35,6 +36,8 @@ Use Jaxl from Python code or directly via the `jaxl` command-line tool.
|
|
|
35
36
|
- [AI Agent: Realtime Transcriptions STT ➡️ LLM/MCP ➡️ TTS](#ai-agent-realtime-transcriptions-stt-️-llmmcp-️-tts)
|
|
36
37
|
- [List Subscriptions Payments](#list-subscriptions-payments)
|
|
37
38
|
- [List Consumable Payments](#list-consumable-payments)
|
|
39
|
+
- [List Integrations](#list-integrations)
|
|
40
|
+
- [Add an Integration](#add-an-integration)
|
|
38
41
|
3. [Jaxl Python SDK](#jaxl-python-sdk)
|
|
39
42
|
- [SDK Example Usage](#sdk-example-usage)
|
|
40
43
|
4. [JAXL HTTP Webhook Protocol](./SPECIFICATION.md)
|
|
@@ -49,17 +52,18 @@ Use Jaxl from Python code or directly via the `jaxl` command-line tool.
|
|
|
49
52
|
|
|
50
53
|
```bash
|
|
51
54
|
jaxl -h
|
|
52
|
-
usage: jaxl [-h] {accounts,apps,calls,campaigns,devices,ivrs,kycs,members,messages,notifications,orgs,payments,phones,teams} ...
|
|
55
|
+
usage: jaxl [-h] {accounts,apps,calls,campaigns,devices,integrations,ivrs,kycs,members,messages,notifications,orgs,payments,phones,teams} ...
|
|
53
56
|
|
|
54
57
|
Jaxl CLI
|
|
55
58
|
|
|
56
59
|
positional arguments:
|
|
57
|
-
{accounts,apps,calls,campaigns,devices,ivrs,kycs,members,messages,notifications,orgs,payments,phones,teams}
|
|
60
|
+
{accounts,apps,calls,campaigns,devices,integrations,ivrs,kycs,members,messages,notifications,orgs,payments,phones,teams}
|
|
58
61
|
accounts Manage Accounts
|
|
59
62
|
apps Manage Apps for Webhooks and Streaming audio/speech/transcriptions.
|
|
60
63
|
calls Manage Calls (Domestic & International Cellular, App-to-App)
|
|
61
64
|
campaigns Manage Campaigns
|
|
62
65
|
devices Manage Devices
|
|
66
|
+
integrations Manage Integrations
|
|
63
67
|
ivrs Manage IVRs (Interactive Voice Response)
|
|
64
68
|
kycs Manage KYCs
|
|
65
69
|
members Manage Members
|
|
@@ -357,6 +361,36 @@ jaxl calls unhold --call-id 1235 --email <someone@mycompany.com>
|
|
|
357
361
|
jaxl calls get --call-id 1234
|
|
358
362
|
```
|
|
359
363
|
|
|
364
|
+
### Transfer an Active Call
|
|
365
|
+
|
|
366
|
+
All transfer commands need the call's `--call-id`. Find an active all's ID with:
|
|
367
|
+
|
|
368
|
+
```bash
|
|
369
|
+
jaxl calls list --active
|
|
370
|
+
```
|
|
371
|
+
|
|
372
|
+
Transfer to a phone number:
|
|
373
|
+
|
|
374
|
+
```bash
|
|
375
|
+
jaxl calls transfer --call-id 1234 --phone +CC<Mobile Number>
|
|
376
|
+
```
|
|
377
|
+
|
|
378
|
+
Transfer to a member by email. `--appusers` takes a Jaxl App User ID, not an email, so resolve it from `jaxl members list` first:
|
|
379
|
+
|
|
380
|
+
```bash
|
|
381
|
+
jaxl members list | grep -oP "OrganizationEmployee\(id=\d+, user_id=\d+, app_user_id=\d+, email='[^']*'"
|
|
382
|
+
# find the matching member's email in the list, note its app_user_id, then:
|
|
383
|
+
jaxl calls transfer --call-id 1234 --appusers <app_user_id>
|
|
384
|
+
```
|
|
385
|
+
|
|
386
|
+
Transfer to a team by name. `--teams` takes a Jaxl Team ID, not a name, so resolve it from `jaxl teams list` first:
|
|
387
|
+
|
|
388
|
+
```bash
|
|
389
|
+
jaxl teams list | grep -oP "OrganizationGroupResponse\(id=\d+, name='[^']*'"
|
|
390
|
+
# find the matching team's name in the list, note its id, then:
|
|
391
|
+
jaxl calls transfer --call-id 1234 --teams <team_id>
|
|
392
|
+
```
|
|
393
|
+
|
|
360
394
|
### Receive Call Events via Webhook IVRs
|
|
361
395
|
|
|
362
396
|
Webhook IVRs can be used to programatically control the lifecycle of incoming and outgoing calls.
|
|
@@ -379,6 +413,10 @@ jaxl ivrs create --message "https://<your-public-host>/webhook/?stream"
|
|
|
379
413
|
# Conversational streaming IVR — your app also SPEAKS back on that
|
|
380
414
|
# websocket (AI agents): add `&conv`
|
|
381
415
|
jaxl ivrs create --message "https://<your-public-host>/webhook/?stream&conv"
|
|
416
|
+
|
|
417
|
+
# Speaker tracks — the stream is NOT mixed and every audio packet names
|
|
418
|
+
# its speaker: add `&tracks` (works with or without `&conv`)
|
|
419
|
+
jaxl ivrs create --message "https://<your-public-host>/webhook/?stream&tracks"
|
|
382
420
|
```
|
|
383
421
|
|
|
384
422
|
> Without `?stream` no websocket is opened and streaming handlers never fire —
|
|
@@ -416,6 +454,90 @@ Refer to [examples](https://github.com/jaxl-innovations-private-limited/jaxl-pyt
|
|
|
416
454
|
|
|
417
455
|
Refer to [examples](https://github.com/jaxl-innovations-private-limited/jaxl-python/tree/main/examples) directory for working AI Agent examples.
|
|
418
456
|
|
|
457
|
+
### Stream Audio Format and Speaker Tracks
|
|
458
|
+
|
|
459
|
+
Audio on the `/stream/` websocket is 16-bit signed PCM, mono, 8 kHz. One packet carries
|
|
460
|
+
20 ms (320 bytes).
|
|
461
|
+
|
|
462
|
+
By default a call's speakers are mixed into one stream. Add `&tracks` to the IVR URL to
|
|
463
|
+
receive them unmixed. Every packet then says who is speaking in its `meta`:
|
|
464
|
+
|
|
465
|
+
| `meta` field | Value |
|
|
466
|
+
| ------------ | ------------------------------------------------------------------------ |
|
|
467
|
+
| `track` | `customer` (the phone side of the call) or `member` (one of your agents) |
|
|
468
|
+
| `call_id` | Call ID of that speaker's leg |
|
|
469
|
+
|
|
470
|
+
```python
|
|
471
|
+
async def handle_audio_chunk(self, req, slin16, meta=None):
|
|
472
|
+
who = getattr(meta, "track", None) # "customer" | "member" | None (mixed stream)
|
|
473
|
+
leg = getattr(meta, "call_id", None)
|
|
474
|
+
```
|
|
475
|
+
|
|
476
|
+
Notes:
|
|
477
|
+
|
|
478
|
+
- `meta` may carry other optional fields (for example `speaker`, `is_speech`). Ignore the
|
|
479
|
+
ones you do not use; new fields can appear.
|
|
480
|
+
- The speech handlers (`handle_speech_detection`, `handle_speech_segment`, transcriptions)
|
|
481
|
+
run one detector per websocket. On a `&tracks` stream, split the audio by `meta.track`
|
|
482
|
+
in `handle_audio_chunk` if you need speech detection per speaker.
|
|
483
|
+
- If you serve `/stream/` without this SDK: a media message is
|
|
484
|
+
`{"event": "media", "media": {"payload": "<base64 PCM>", "meta": {...}}}`.
|
|
485
|
+
|
|
486
|
+
### Call Handoff: Transferring a Call Out of Your App
|
|
487
|
+
|
|
488
|
+
A conversational app (AI agent) hands its caller to a person with the transfer API
|
|
489
|
+
(`jaxl calls transfer`, see [Transfer an Active Call](#transfer-an-active-call)). The
|
|
490
|
+
transfer is a two-step protocol:
|
|
491
|
+
|
|
492
|
+
1. **The API response is an acknowledgement, not the outcome.** `200` means the request was
|
|
493
|
+
accepted and the new leg is being placed. The response carries the new leg's Call ID.
|
|
494
|
+
Nobody has answered yet, and your app is still connected to the caller.
|
|
495
|
+
2. **The outcome arrives on your `/stream/` websocket** as a `handoff` event. The SDK calls
|
|
496
|
+
`handle_handoff(call_id, handoff_call_id, status)`; `handoff_call_id` is the Call ID the
|
|
497
|
+
transfer API returned.
|
|
498
|
+
|
|
499
|
+
| `status` | What happened | What your app should do |
|
|
500
|
+
| ---------- | ------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------- |
|
|
501
|
+
| `answered` | The new party picked up and now has the caller. | Stop speaking and finish your bookkeeping. Jaxl stops playing your audio to the caller and closes your stream right after. |
|
|
502
|
+
| `failed` | The transfer was rejected or nobody picked up. | The caller is still with your app. Resume the conversation; you may transfer again. |
|
|
503
|
+
|
|
504
|
+
```python
|
|
505
|
+
async def handle_handoff(self, call_id: int, handoff_call_id: int, status: str) -> None:
|
|
506
|
+
if status == "answered":
|
|
507
|
+
... # the human has the caller: stop talking, save the outcome
|
|
508
|
+
else:
|
|
509
|
+
... # "failed": tell the caller and carry on
|
|
510
|
+
```
|
|
511
|
+
|
|
512
|
+
Notes:
|
|
513
|
+
|
|
514
|
+
- While the new leg is ringing, your app is still the one talking to the caller.
|
|
515
|
+
- Adding a participant to the call (`jaxl calls add`) is not a handoff: your app stays on the
|
|
516
|
+
call and no `handoff` event is sent.
|
|
517
|
+
- If you serve `/stream/` without this SDK, the message is
|
|
518
|
+
`{"event": "handoff", "handoff": {"status": "answered" | "failed", "call_id": <new leg's Call ID>}}`.
|
|
519
|
+
|
|
520
|
+
### Listening to Your Team's Calls (Human-Leg Stream)
|
|
521
|
+
|
|
522
|
+
Jaxl can stream the live audio of calls your team members answer or place (no IVR or AI
|
|
523
|
+
agent involved) to one of your streaming webhook IVRs. The stream is listen-only.
|
|
524
|
+
|
|
525
|
+
- Create a streaming webhook IVR for it: `?stream` is required, `&tracks` is recommended,
|
|
526
|
+
`&conv` is not allowed. Ask Jaxl to enable it for your organization with that IVR's ID.
|
|
527
|
+
- It follows the webhook IVR lifecycle. When a member's leg starts, your app receives
|
|
528
|
+
SETUP (`handle_setup`) with the call's state. Answer `200` to accept the call; the
|
|
529
|
+
response body is not used. Any other answer means no stream for that call. When the leg
|
|
530
|
+
ends, your app receives TEARDOWN (`handle_teardown`).
|
|
531
|
+
- The `/stream/` websocket carries that IVR's ID as `ivr_id` and the leg's Call ID as
|
|
532
|
+
`call_id`. It may connect while the call is still ringing; audio starts once a member
|
|
533
|
+
has the call.
|
|
534
|
+
- SETUP is once per call. A member added to a call that is already set up (a conference)
|
|
535
|
+
does not produce another SETUP; their audio arrives on the same stream, tagged with
|
|
536
|
+
their own `call_id`.
|
|
537
|
+
- A call has one stream at a time. While an IVR or AI agent is streaming a call, the
|
|
538
|
+
human-leg stream is not open; after a handoff to a member it opens, and when a member
|
|
539
|
+
transfers the caller to an IVR or AI agent it closes.
|
|
540
|
+
|
|
419
541
|
### List Subscriptions Payments
|
|
420
542
|
|
|
421
543
|
```bash
|
|
@@ -428,6 +550,28 @@ jaxl payments subscriptions list
|
|
|
428
550
|
jaxl payments consumables total
|
|
429
551
|
```
|
|
430
552
|
|
|
553
|
+
### List Integrations
|
|
554
|
+
|
|
555
|
+
```bash
|
|
556
|
+
jaxl integrations list
|
|
557
|
+
```
|
|
558
|
+
|
|
559
|
+
### Add an Integration
|
|
560
|
+
|
|
561
|
+
```bash
|
|
562
|
+
jaxl integrations create \
|
|
563
|
+
--provider exotel \
|
|
564
|
+
--exotel-api-key "<API Key>" \
|
|
565
|
+
--exotel-api-token "<API Token>" \
|
|
566
|
+
--exotel-tenant-id "<Tenant ID>" \
|
|
567
|
+
--exotel-flow-id 1234
|
|
568
|
+
```
|
|
569
|
+
|
|
570
|
+
Supported providers are `shopify`, `shiprocket`, `shiprocket_delivery`, `exotel`,
|
|
571
|
+
`twilio`, `stripe`, `stripe_subscription`, `salesmax`, `nimbuspost`, `kwik_engage`,
|
|
572
|
+
`cashfree_checkout` and `gokwik_checkout`.
|
|
573
|
+
Each provider takes its own `--<provider>-...` flags, see `jaxl integrations create -h`.
|
|
574
|
+
|
|
431
575
|
## Jaxl Python SDK
|
|
432
576
|
|
|
433
577
|
- Jaxl APIs is built upon [OpenAPI specification](https://www.openapis.org/)
|
|
@@ -117,6 +117,11 @@ PYTHONPATH=. jaxl apps run --app examples:JaxlAppConfirmRequestedCodeAndSendToCe
|
|
|
117
117
|
PYTHONPATH=. jaxl apps run --app examples:JaxlAppStreamingAudioChunk
|
|
118
118
|
```
|
|
119
119
|
|
|
120
|
+
`handle_audio_chunk` receives 20 ms packets of 16-bit, mono, 8 kHz PCM and an optional
|
|
121
|
+
`meta`. Register the IVR with `?stream&tracks` to get each speaker unmixed, with
|
|
122
|
+
`meta.track` (`customer` or `member`) and `meta.call_id` on every packet. See
|
|
123
|
+
[Stream Audio Format and Speaker Tracks](https://github.com/jaxl-innovations-private-limited/jaxl-python?tab=readme-ov-file#stream-audio-format-and-speaker-tracks).
|
|
124
|
+
|
|
120
125
|
### Realtime Streaming Speech Segments
|
|
121
126
|
|
|
122
127
|
```bash
|
|
@@ -161,6 +166,14 @@ async def handle_setup(self, req: JaxlWebhookRequest) -> HANDLER_RESPONSE:
|
|
|
161
166
|
- Returning `.` doesn't result in a speech
|
|
162
167
|
- `num_characters=-1` is currently mandatory for conversational bots because your app is expecting zero DTMF inputs
|
|
163
168
|
|
|
169
|
+
### Handing the Caller to a Person
|
|
170
|
+
|
|
171
|
+
When your agent transfers the caller (`jaxl calls transfer` or the transfer API), the API
|
|
172
|
+
response only acknowledges the request. Implement `handle_handoff` to learn the outcome:
|
|
173
|
+
`answered` means the person has the caller and your stream is about to close; `failed`
|
|
174
|
+
means the caller is still with your agent. See
|
|
175
|
+
[Call Handoff](https://github.com/jaxl-innovations-private-limited/jaxl-python?tab=readme-ov-file#call-handoff-transferring-a-call-out-of-your-app).
|
|
176
|
+
|
|
164
177
|
## Production
|
|
165
178
|
|
|
166
179
|
- In production, if not using grout, configure your load balancer to point to your Jaxl App instance IP:PORT service endpoint.
|
|
@@ -12,6 +12,7 @@ from jaxl.api.resources.apps import JaxlAppsSDK
|
|
|
12
12
|
from jaxl.api.resources.calls import JaxlCallsSDK
|
|
13
13
|
from jaxl.api.resources.campaigns import JaxlCampaignsSDK
|
|
14
14
|
from jaxl.api.resources.devices import JaxlDevicesSDK
|
|
15
|
+
from jaxl.api.resources.integrations import JaxlIntegrationsSDK
|
|
15
16
|
from jaxl.api.resources.ivrs import JaxlIVRsSDK
|
|
16
17
|
from jaxl.api.resources.kycs import JaxlKYCsSDK
|
|
17
18
|
from jaxl.api.resources.members import JaxlMembersSDK
|
|
@@ -38,3 +39,4 @@ class JaxlSDK:
|
|
|
38
39
|
self.messages = JaxlMessagesSDK()
|
|
39
40
|
self.notifications = JaxlNotificationsSDK()
|
|
40
41
|
self.apps = JaxlAppsSDK()
|
|
42
|
+
self.integrations = JaxlIntegrationsSDK()
|
|
@@ -44,8 +44,12 @@ def _get_kwargs(
|
|
|
44
44
|
def _parse_response(*, client: Client, response: httpx.Response) -> Optional[Any]:
|
|
45
45
|
if response.status_code == HTTPStatus.OK:
|
|
46
46
|
return None
|
|
47
|
+
if response.status_code == HTTPStatus.BAD_REQUEST:
|
|
48
|
+
return None
|
|
47
49
|
if response.status_code == HTTPStatus.NOT_FOUND:
|
|
48
50
|
return None
|
|
51
|
+
if response.status_code == HTTPStatus.BAD_GATEWAY:
|
|
52
|
+
return None
|
|
49
53
|
if client.raise_on_unexpected_status:
|
|
50
54
|
raise errors.UnexpectedStatus(f"Unexpected status code: {response.status_code}")
|
|
51
55
|
else:
|
|
@@ -67,11 +71,16 @@ def sync_detailed(
|
|
|
67
71
|
client: AuthenticatedClient,
|
|
68
72
|
json_body: CallDtmfRequestRequest,
|
|
69
73
|
) -> Response[Any]:
|
|
70
|
-
"""Send DTMF digits into an active call.
|
|
74
|
+
"""Send DTMF digits into an active call (F-193 B1).
|
|
75
|
+
|
|
76
|
+
F-194: an API call to SIP keyed by the leg's channel id — NOT a
|
|
77
|
+
message to the call's stream.py consumer (that signaling is closed
|
|
78
|
+
after an AI handoff).
|
|
71
79
|
|
|
72
80
|
Args:
|
|
73
81
|
id (int):
|
|
74
|
-
json_body (CallDtmfRequestRequest):
|
|
82
|
+
json_body (CallDtmfRequestRequest): F-193 B1: DTMF digits to send INTO an active call (ARI
|
|
83
|
+
alphabet).
|
|
75
84
|
|
|
76
85
|
Raises:
|
|
77
86
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -101,11 +110,16 @@ async def asyncio_detailed(
|
|
|
101
110
|
client: AuthenticatedClient,
|
|
102
111
|
json_body: CallDtmfRequestRequest,
|
|
103
112
|
) -> Response[Any]:
|
|
104
|
-
"""Send DTMF digits into an active call.
|
|
113
|
+
"""Send DTMF digits into an active call (F-193 B1).
|
|
114
|
+
|
|
115
|
+
F-194: an API call to SIP keyed by the leg's channel id — NOT a
|
|
116
|
+
message to the call's stream.py consumer (that signaling is closed
|
|
117
|
+
after an AI handoff).
|
|
105
118
|
|
|
106
119
|
Args:
|
|
107
120
|
id (int):
|
|
108
|
-
json_body (CallDtmfRequestRequest):
|
|
121
|
+
json_body (CallDtmfRequestRequest): F-193 B1: DTMF digits to send INTO an active call (ARI
|
|
122
|
+
alphabet).
|
|
109
123
|
|
|
110
124
|
Raises:
|
|
111
125
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|