jaxl-python 0.0.48__tar.gz → 0.0.50__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.48 → jaxl_python-0.0.50}/PKG-INFO +1 -1
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/base.py +26 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/_scm_version.py +2 -2
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_calls_list.py +30 -0
- jaxl_python-0.0.50/jaxl/api/client/api/v1/v1_org_kb_create.py +127 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/__init__.py +8 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/call.py +21 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/campaign_upload_request.py +6 -3
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/integrations_properties_request.py +22 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/integrations_request_provider_enum.py +2 -0
- jaxl_python-0.0.50/jaxl/api/client/models/kb_search_request.py +100 -0
- jaxl_python-0.0.50/jaxl/api/client/models/kb_sse_event.py +79 -0
- jaxl_python-0.0.50/jaxl/api/client/models/kind_enum.py +17 -0
- jaxl_python-0.0.50/jaxl/api/client/models/kwik_engage_auth_request_request.py +97 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/resources/apps.py +20 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl_python.egg-info/PKG-INFO +1 -1
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl_python.egg-info/SOURCES.txt +5 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/.github/workflows/sdk.yml +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/.gitignore +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/.isort.cfg +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/.pylintrc +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/.vscode/settings.json +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/LICENSE.md +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/README.md +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/SPECIFICATION.md +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/docs.sh +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/examples/README.md +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/examples/__init__.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/examples/prompts/example.txt +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/examples/py.typed +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/examples/request_and_confirm_code_then_send_to_phone.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/examples/request_code_and_send_to_phone.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/examples/send_to_phone.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/examples/streaming_aiagent.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/examples/streaming_audio_chunks.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/examples/streaming_speech_segments.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/examples/streaming_transcriptions.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/examples/streaming_wav_file.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/index.md +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/__init__.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/_client.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/_sdk.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/cli.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/__init__.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/__init__.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/__init__.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_app_organizations_list.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_app_organizations_providers_list.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_appusers_me_retrieve.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_calls_add_create.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_calls_audio_retrieve.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_calls_hangup_retrieve.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_calls_messages_create.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_calls_metadata_create.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_calls_report_retrieve.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_calls_retrieve.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_calls_tags_create.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_calls_token_create.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_calls_transfer_create.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_calls_tts_create.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_calls_usage_retrieve.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_campaign_list.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_campaign_upload_create.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_customer_consumables_retrieve.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_devices_attest_create.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_devices_list.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_integrations_create.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_ivr_create.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_ivr_list.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_ivr_options_create.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_ivr_options_list.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_ivr_options_partial_update.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_kyc_list.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_messages_list.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_phonenumbers_list.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_phonenumbers_partial_update.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v1/v1_phonenumbers_search_retrieve.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v2/__init__.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v2/v2_app_organizations_employees_list.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v2/v2_app_organizations_groups_list.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v3/__init__.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/api/v3/v3_orders_subscriptions_list.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/client.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/errors.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/address_provider.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/address_provider_status_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/analytic.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/app_price.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/app_user.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/available_phone_number.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/available_phone_number_capabilities.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/available_phone_number_provider_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/call_add_request_request.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/call_audio_reason.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/call_cost.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/call_location_epoch.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/call_message_request_request.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/call_message_request_type_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/call_metadata.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/call_report.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/call_report_reason.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/call_report_status_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/call_tag_request.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/call_tag_response.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/call_token_request.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/call_token_response.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/call_transfer_request_request.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/call_tts_request_request.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/call_type_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/call_usage_by_currency_response.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/call_usage_response.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/call_usage_stats_response.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/campaign.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/campaign_metadata.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/campaign_metadata_metadata.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/campaign_response.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/campaign_response_status_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/campaign_stats.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/campaign_tag.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/campaign_upload_request_options.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/campaign_upload_type_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/campaign_window_request.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/can_user_resubscribe_plan.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/canceled_by_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/capabilities.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/connection.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/content_type_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/country.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/cta.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/cta_request.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/cta_type_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/currency_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/customer_consumable_total.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/customer_order_subscriptions_serializer_v2.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/customer_order_subscriptions_serializer_v2_status_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/customer_provider_serializer_v2.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/device.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/device_attestation_error.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/device_attestation_error_reason_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/device_attestation_response.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/dh_message.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/dh_message_attachment.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/dh_message_reaction.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/dh_message_type_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/direction_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/emoji.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/emoji_reaction.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/exotel_auth_request_request.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/failure_reason_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/id_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/integrations_error_response.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/integrations_request_request.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/integrations_response.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/intent_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/invalid_provider_request.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/iso_country_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/item.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/ivr_collection.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/ivr_collection_request.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/ivr_menu_request.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/ivr_menu_request_settings.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/ivr_menu_response.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/ivr_menu_response_settings.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/ivr_menu_response_status_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/ivr_options_invalid_response.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/ivr_options_request.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/ivr_options_response.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/kyc.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/kyc_status_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/kyc_upload_metadata.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/location.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/next_or_cta_request.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/nimbus_post_auth_request_request.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/order_status_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/organization.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/organization_employee.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/organization_employee_preferences.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/organization_employee_status_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/organization_group_inline.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/organization_group_response.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/organization_preferences.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/organization_provider.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/paginated_call_list.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/paginated_campaign_response_list.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/paginated_customer_order_subscriptions_serializer_v2_list.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/paginated_device_list.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/paginated_dh_message_list.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/paginated_ivr_menu_response_list.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/paginated_ivr_options_response_list.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/paginated_kyc_list.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/paginated_organization_employee_list.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/paginated_organization_group_response_list.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/paginated_organization_list.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/paginated_organization_provider_list.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/paginated_phone_number_list.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/patched_ivr_options_update_request.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/patched_phone_number_update_request.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/patched_phone_number_update_request_frontdesk.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/payment_gateway_fees_info.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/period_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/phone_number.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/phone_number_attributes.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/phone_number_capabilities.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/phone_number_frontdesk.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/phone_number_provider_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/phone_number_search_response.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/phone_number_status_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/plan.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/plan_cancel_info.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/plan_expiry_timestamp.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/plan_expiry_timestamp_type_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/plan_extra_details.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/plan_item.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/plan_type.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/plan_type_cycle.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/platform_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/product_group.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/proof.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/proof_status_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/provider_status_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/reaction_by.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/rental_currency_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/resource_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/ringing_strategy_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/sales_max_auth_request_request.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/shopify_auth_request_request.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/stripe_auth_request_request.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/upload_metadata.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/user_agent.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/user_agent_browser.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/user_agent_device.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/user_agent_operating_system.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/user_agent_platform.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/user_identity.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/v1_app_organizations_list_status_item.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/v1_calls_list_direction.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/v1_calls_metadata_create_json_body.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/v1_calls_metadata_create_response_200.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/v1_calls_report_retrieve_date_range.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/v1_calls_report_retrieve_fields_item.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/v1_campaign_list_status_item.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/v1_customer_consumables_retrieve_currency.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/v1_ivr_list_duration.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/v1_kyc_list_iso_country.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/v1_kyc_list_provider_status_item.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/v1_kyc_list_resource.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/v1_kyc_list_status.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/v1_messages_list_types_item.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/v1_phonenumbers_list_additional_status_item.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/v1_phonenumbers_list_provider.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/v1_phonenumbers_list_status.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/v1_phonenumbers_search_retrieve_intent.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/v1_phonenumbers_search_retrieve_iso_country_code.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/v1_phonenumbers_search_retrieve_resource.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/v2_app_organizations_employees_list_status_item.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/v3_orders_subscriptions_list_currency.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/v3_orders_subscriptions_list_status_item.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/why_enum.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/types.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/py.typed +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/resources/__init__.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/resources/_constants.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/resources/accounts.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/resources/calls.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/resources/campaigns.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/resources/devices.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/resources/ivrs.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/resources/kycs.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/resources/members.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/resources/messages.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/resources/notifications.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/resources/orgs.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/resources/payments.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/resources/phones.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/resources/silence.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/resources/teams.py +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl_python.egg-info/dependency_links.txt +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl_python.egg-info/entry_points.txt +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl_python.egg-info/not-zip-safe +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl_python.egg-info/requires.txt +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl_python.egg-info/top_level.txt +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/mkdocs.yml +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/pyproject.toml +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/setup.cfg +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/setup.gif +0 -0
- {jaxl_python-0.0.48 → jaxl_python-0.0.50}/tests/test_streaming_vad.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: jaxl-python
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.50
|
|
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
|
|
@@ -182,6 +182,32 @@ class BaseJaxlApp:
|
|
|
182
182
|
def websocket_routes(self) -> List[Tuple[str, WebsocketRouteFunc]]:
|
|
183
183
|
return []
|
|
184
184
|
|
|
185
|
+
# pylint: disable=no-self-use,unused-argument
|
|
186
|
+
async def on_startup(self) -> None:
|
|
187
|
+
"""Invoked ONCE, on the server's startup event, before any call.
|
|
188
|
+
|
|
189
|
+
This is the first point at which a running event loop exists —
|
|
190
|
+
``__init__`` runs while the app object is constructed, which
|
|
191
|
+
happens synchronously before the server starts, so background
|
|
192
|
+
tasks cannot be scheduled there.
|
|
193
|
+
|
|
194
|
+
Use it to warm anything that would otherwise be paid on the
|
|
195
|
+
critical path of the first call: connection pools, model
|
|
196
|
+
clients, caches, on-disk asset checks. Keep it non-blocking and
|
|
197
|
+
never raise — an exception here is logged and ignored so a slow
|
|
198
|
+
or failing warm-up can never stop the server from serving.
|
|
199
|
+
"""
|
|
200
|
+
return None
|
|
201
|
+
|
|
202
|
+
# pylint: disable=no-self-use,unused-argument
|
|
203
|
+
async def on_shutdown(self) -> None:
|
|
204
|
+
"""Invoked ONCE, on the server's shutdown event.
|
|
205
|
+
|
|
206
|
+
Counterpart to :meth:`on_startup` — release anything it warmed
|
|
207
|
+
(open sockets, background tasks). Never raise.
|
|
208
|
+
"""
|
|
209
|
+
return None
|
|
210
|
+
|
|
185
211
|
# pylint: disable=no-self-use,unused-argument
|
|
186
212
|
async def handle_configure(self, req: JaxlWebhookRequest) -> HANDLER_RESPONSE:
|
|
187
213
|
"""Invoked when a phone number gets assigned to IVR."""
|
|
@@ -34,11 +34,13 @@ def _get_kwargs(
|
|
|
34
34
|
from_number: Union[Unset, None, str] = UNSET,
|
|
35
35
|
ivr: Union[Unset, None, bool] = UNSET,
|
|
36
36
|
limit: Union[Unset, None, int] = UNSET,
|
|
37
|
+
live: Union[Unset, None, bool] = UNSET,
|
|
37
38
|
missed: Union[Unset, None, bool] = UNSET,
|
|
38
39
|
offset: Union[Unset, None, int] = UNSET,
|
|
39
40
|
other_numbers: Union[Unset, None, str] = UNSET,
|
|
40
41
|
our_numbers: Union[Unset, None, str] = UNSET,
|
|
41
42
|
recording: Union[Unset, None, bool] = UNSET,
|
|
43
|
+
scheduled: Union[Unset, None, bool] = UNSET,
|
|
42
44
|
start_time: Union[Unset, None, datetime.datetime] = UNSET,
|
|
43
45
|
tag: Union[Unset, None, str] = UNSET,
|
|
44
46
|
tag_operator: Union[Unset, None, bool] = UNSET,
|
|
@@ -89,6 +91,8 @@ def _get_kwargs(
|
|
|
89
91
|
|
|
90
92
|
params["limit"] = limit
|
|
91
93
|
|
|
94
|
+
params["live"] = live
|
|
95
|
+
|
|
92
96
|
params["missed"] = missed
|
|
93
97
|
|
|
94
98
|
params["offset"] = offset
|
|
@@ -99,6 +103,8 @@ def _get_kwargs(
|
|
|
99
103
|
|
|
100
104
|
params["recording"] = recording
|
|
101
105
|
|
|
106
|
+
params["scheduled"] = scheduled
|
|
107
|
+
|
|
102
108
|
json_start_time: Union[Unset, None, str] = UNSET
|
|
103
109
|
if not isinstance(start_time, Unset):
|
|
104
110
|
json_start_time = start_time.isoformat() if start_time else None
|
|
@@ -172,11 +178,13 @@ def sync_detailed(
|
|
|
172
178
|
from_number: Union[Unset, None, str] = UNSET,
|
|
173
179
|
ivr: Union[Unset, None, bool] = UNSET,
|
|
174
180
|
limit: Union[Unset, None, int] = UNSET,
|
|
181
|
+
live: Union[Unset, None, bool] = UNSET,
|
|
175
182
|
missed: Union[Unset, None, bool] = UNSET,
|
|
176
183
|
offset: Union[Unset, None, int] = UNSET,
|
|
177
184
|
other_numbers: Union[Unset, None, str] = UNSET,
|
|
178
185
|
our_numbers: Union[Unset, None, str] = UNSET,
|
|
179
186
|
recording: Union[Unset, None, bool] = UNSET,
|
|
187
|
+
scheduled: Union[Unset, None, bool] = UNSET,
|
|
180
188
|
start_time: Union[Unset, None, datetime.datetime] = UNSET,
|
|
181
189
|
tag: Union[Unset, None, str] = UNSET,
|
|
182
190
|
tag_operator: Union[Unset, None, bool] = UNSET,
|
|
@@ -198,11 +206,13 @@ def sync_detailed(
|
|
|
198
206
|
from_number (Union[Unset, None, str]):
|
|
199
207
|
ivr (Union[Unset, None, bool]):
|
|
200
208
|
limit (Union[Unset, None, int]):
|
|
209
|
+
live (Union[Unset, None, bool]):
|
|
201
210
|
missed (Union[Unset, None, bool]):
|
|
202
211
|
offset (Union[Unset, None, int]):
|
|
203
212
|
other_numbers (Union[Unset, None, str]):
|
|
204
213
|
our_numbers (Union[Unset, None, str]):
|
|
205
214
|
recording (Union[Unset, None, bool]):
|
|
215
|
+
scheduled (Union[Unset, None, bool]):
|
|
206
216
|
start_time (Union[Unset, None, datetime.datetime]):
|
|
207
217
|
tag (Union[Unset, None, str]):
|
|
208
218
|
tag_operator (Union[Unset, None, bool]):
|
|
@@ -231,11 +241,13 @@ def sync_detailed(
|
|
|
231
241
|
from_number=from_number,
|
|
232
242
|
ivr=ivr,
|
|
233
243
|
limit=limit,
|
|
244
|
+
live=live,
|
|
234
245
|
missed=missed,
|
|
235
246
|
offset=offset,
|
|
236
247
|
other_numbers=other_numbers,
|
|
237
248
|
our_numbers=our_numbers,
|
|
238
249
|
recording=recording,
|
|
250
|
+
scheduled=scheduled,
|
|
239
251
|
start_time=start_time,
|
|
240
252
|
tag=tag,
|
|
241
253
|
tag_operator=tag_operator,
|
|
@@ -266,11 +278,13 @@ def sync(
|
|
|
266
278
|
from_number: Union[Unset, None, str] = UNSET,
|
|
267
279
|
ivr: Union[Unset, None, bool] = UNSET,
|
|
268
280
|
limit: Union[Unset, None, int] = UNSET,
|
|
281
|
+
live: Union[Unset, None, bool] = UNSET,
|
|
269
282
|
missed: Union[Unset, None, bool] = UNSET,
|
|
270
283
|
offset: Union[Unset, None, int] = UNSET,
|
|
271
284
|
other_numbers: Union[Unset, None, str] = UNSET,
|
|
272
285
|
our_numbers: Union[Unset, None, str] = UNSET,
|
|
273
286
|
recording: Union[Unset, None, bool] = UNSET,
|
|
287
|
+
scheduled: Union[Unset, None, bool] = UNSET,
|
|
274
288
|
start_time: Union[Unset, None, datetime.datetime] = UNSET,
|
|
275
289
|
tag: Union[Unset, None, str] = UNSET,
|
|
276
290
|
tag_operator: Union[Unset, None, bool] = UNSET,
|
|
@@ -292,11 +306,13 @@ def sync(
|
|
|
292
306
|
from_number (Union[Unset, None, str]):
|
|
293
307
|
ivr (Union[Unset, None, bool]):
|
|
294
308
|
limit (Union[Unset, None, int]):
|
|
309
|
+
live (Union[Unset, None, bool]):
|
|
295
310
|
missed (Union[Unset, None, bool]):
|
|
296
311
|
offset (Union[Unset, None, int]):
|
|
297
312
|
other_numbers (Union[Unset, None, str]):
|
|
298
313
|
our_numbers (Union[Unset, None, str]):
|
|
299
314
|
recording (Union[Unset, None, bool]):
|
|
315
|
+
scheduled (Union[Unset, None, bool]):
|
|
300
316
|
start_time (Union[Unset, None, datetime.datetime]):
|
|
301
317
|
tag (Union[Unset, None, str]):
|
|
302
318
|
tag_operator (Union[Unset, None, bool]):
|
|
@@ -325,11 +341,13 @@ def sync(
|
|
|
325
341
|
from_number=from_number,
|
|
326
342
|
ivr=ivr,
|
|
327
343
|
limit=limit,
|
|
344
|
+
live=live,
|
|
328
345
|
missed=missed,
|
|
329
346
|
offset=offset,
|
|
330
347
|
other_numbers=other_numbers,
|
|
331
348
|
our_numbers=our_numbers,
|
|
332
349
|
recording=recording,
|
|
350
|
+
scheduled=scheduled,
|
|
333
351
|
start_time=start_time,
|
|
334
352
|
tag=tag,
|
|
335
353
|
tag_operator=tag_operator,
|
|
@@ -353,11 +371,13 @@ async def asyncio_detailed(
|
|
|
353
371
|
from_number: Union[Unset, None, str] = UNSET,
|
|
354
372
|
ivr: Union[Unset, None, bool] = UNSET,
|
|
355
373
|
limit: Union[Unset, None, int] = UNSET,
|
|
374
|
+
live: Union[Unset, None, bool] = UNSET,
|
|
356
375
|
missed: Union[Unset, None, bool] = UNSET,
|
|
357
376
|
offset: Union[Unset, None, int] = UNSET,
|
|
358
377
|
other_numbers: Union[Unset, None, str] = UNSET,
|
|
359
378
|
our_numbers: Union[Unset, None, str] = UNSET,
|
|
360
379
|
recording: Union[Unset, None, bool] = UNSET,
|
|
380
|
+
scheduled: Union[Unset, None, bool] = UNSET,
|
|
361
381
|
start_time: Union[Unset, None, datetime.datetime] = UNSET,
|
|
362
382
|
tag: Union[Unset, None, str] = UNSET,
|
|
363
383
|
tag_operator: Union[Unset, None, bool] = UNSET,
|
|
@@ -379,11 +399,13 @@ async def asyncio_detailed(
|
|
|
379
399
|
from_number (Union[Unset, None, str]):
|
|
380
400
|
ivr (Union[Unset, None, bool]):
|
|
381
401
|
limit (Union[Unset, None, int]):
|
|
402
|
+
live (Union[Unset, None, bool]):
|
|
382
403
|
missed (Union[Unset, None, bool]):
|
|
383
404
|
offset (Union[Unset, None, int]):
|
|
384
405
|
other_numbers (Union[Unset, None, str]):
|
|
385
406
|
our_numbers (Union[Unset, None, str]):
|
|
386
407
|
recording (Union[Unset, None, bool]):
|
|
408
|
+
scheduled (Union[Unset, None, bool]):
|
|
387
409
|
start_time (Union[Unset, None, datetime.datetime]):
|
|
388
410
|
tag (Union[Unset, None, str]):
|
|
389
411
|
tag_operator (Union[Unset, None, bool]):
|
|
@@ -412,11 +434,13 @@ async def asyncio_detailed(
|
|
|
412
434
|
from_number=from_number,
|
|
413
435
|
ivr=ivr,
|
|
414
436
|
limit=limit,
|
|
437
|
+
live=live,
|
|
415
438
|
missed=missed,
|
|
416
439
|
offset=offset,
|
|
417
440
|
other_numbers=other_numbers,
|
|
418
441
|
our_numbers=our_numbers,
|
|
419
442
|
recording=recording,
|
|
443
|
+
scheduled=scheduled,
|
|
420
444
|
start_time=start_time,
|
|
421
445
|
tag=tag,
|
|
422
446
|
tag_operator=tag_operator,
|
|
@@ -445,11 +469,13 @@ async def asyncio(
|
|
|
445
469
|
from_number: Union[Unset, None, str] = UNSET,
|
|
446
470
|
ivr: Union[Unset, None, bool] = UNSET,
|
|
447
471
|
limit: Union[Unset, None, int] = UNSET,
|
|
472
|
+
live: Union[Unset, None, bool] = UNSET,
|
|
448
473
|
missed: Union[Unset, None, bool] = UNSET,
|
|
449
474
|
offset: Union[Unset, None, int] = UNSET,
|
|
450
475
|
other_numbers: Union[Unset, None, str] = UNSET,
|
|
451
476
|
our_numbers: Union[Unset, None, str] = UNSET,
|
|
452
477
|
recording: Union[Unset, None, bool] = UNSET,
|
|
478
|
+
scheduled: Union[Unset, None, bool] = UNSET,
|
|
453
479
|
start_time: Union[Unset, None, datetime.datetime] = UNSET,
|
|
454
480
|
tag: Union[Unset, None, str] = UNSET,
|
|
455
481
|
tag_operator: Union[Unset, None, bool] = UNSET,
|
|
@@ -471,11 +497,13 @@ async def asyncio(
|
|
|
471
497
|
from_number (Union[Unset, None, str]):
|
|
472
498
|
ivr (Union[Unset, None, bool]):
|
|
473
499
|
limit (Union[Unset, None, int]):
|
|
500
|
+
live (Union[Unset, None, bool]):
|
|
474
501
|
missed (Union[Unset, None, bool]):
|
|
475
502
|
offset (Union[Unset, None, int]):
|
|
476
503
|
other_numbers (Union[Unset, None, str]):
|
|
477
504
|
our_numbers (Union[Unset, None, str]):
|
|
478
505
|
recording (Union[Unset, None, bool]):
|
|
506
|
+
scheduled (Union[Unset, None, bool]):
|
|
479
507
|
start_time (Union[Unset, None, datetime.datetime]):
|
|
480
508
|
tag (Union[Unset, None, str]):
|
|
481
509
|
tag_operator (Union[Unset, None, bool]):
|
|
@@ -505,11 +533,13 @@ async def asyncio(
|
|
|
505
533
|
from_number=from_number,
|
|
506
534
|
ivr=ivr,
|
|
507
535
|
limit=limit,
|
|
536
|
+
live=live,
|
|
508
537
|
missed=missed,
|
|
509
538
|
offset=offset,
|
|
510
539
|
other_numbers=other_numbers,
|
|
511
540
|
our_numbers=our_numbers,
|
|
512
541
|
recording=recording,
|
|
542
|
+
scheduled=scheduled,
|
|
513
543
|
start_time=start_time,
|
|
514
544
|
tag=tag,
|
|
515
545
|
tag_operator=tag_operator,
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Copyright (c) 2010-present by Jaxl Innovations Private Limited.
|
|
3
|
+
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
Redistribution and use in source and binary forms,
|
|
7
|
+
with or without modification, is strictly prohibited.
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
from http import HTTPStatus
|
|
11
|
+
from typing import Any, Dict, Optional
|
|
12
|
+
|
|
13
|
+
import httpx
|
|
14
|
+
|
|
15
|
+
from ... import errors
|
|
16
|
+
from ...client import AuthenticatedClient, Client
|
|
17
|
+
from ...models.kb_search_request import KbSearchRequest
|
|
18
|
+
from ...types import Response
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def _get_kwargs(
|
|
22
|
+
org_id: str,
|
|
23
|
+
*,
|
|
24
|
+
client: AuthenticatedClient,
|
|
25
|
+
json_body: KbSearchRequest,
|
|
26
|
+
) -> Dict[str, Any]:
|
|
27
|
+
url = "{}/v1/org/{org_id}/kb/".format(client.base_url, org_id=org_id)
|
|
28
|
+
|
|
29
|
+
headers: Dict[str, str] = client.get_headers()
|
|
30
|
+
cookies: Dict[str, Any] = client.get_cookies()
|
|
31
|
+
|
|
32
|
+
json_json_body = json_body.to_dict()
|
|
33
|
+
|
|
34
|
+
return {
|
|
35
|
+
"method": "post",
|
|
36
|
+
"url": url,
|
|
37
|
+
"headers": headers,
|
|
38
|
+
"cookies": cookies,
|
|
39
|
+
"timeout": client.get_timeout(),
|
|
40
|
+
"json": json_json_body,
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def _parse_response(*, client: Client, response: httpx.Response) -> Optional[Any]:
|
|
45
|
+
if response.status_code == HTTPStatus.BAD_REQUEST:
|
|
46
|
+
return None
|
|
47
|
+
if response.status_code == HTTPStatus.NOT_FOUND:
|
|
48
|
+
return None
|
|
49
|
+
if client.raise_on_unexpected_status:
|
|
50
|
+
raise errors.UnexpectedStatus(f"Unexpected status code: {response.status_code}")
|
|
51
|
+
else:
|
|
52
|
+
return None
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
def _build_response(*, client: Client, response: httpx.Response) -> Response[Any]:
|
|
56
|
+
return Response(
|
|
57
|
+
status_code=HTTPStatus(response.status_code),
|
|
58
|
+
content=response.content,
|
|
59
|
+
headers=response.headers,
|
|
60
|
+
parsed=_parse_response(client=client, response=response),
|
|
61
|
+
)
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
def sync_detailed(
|
|
65
|
+
org_id: str,
|
|
66
|
+
*,
|
|
67
|
+
client: AuthenticatedClient,
|
|
68
|
+
json_body: KbSearchRequest,
|
|
69
|
+
) -> Response[Any]:
|
|
70
|
+
"""See the module header — POST-only, SSE response.
|
|
71
|
+
|
|
72
|
+
Args:
|
|
73
|
+
org_id (str):
|
|
74
|
+
json_body (KbSearchRequest):
|
|
75
|
+
|
|
76
|
+
Raises:
|
|
77
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
78
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
79
|
+
|
|
80
|
+
Returns:
|
|
81
|
+
Response[Any]
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
kwargs = _get_kwargs(
|
|
85
|
+
org_id=org_id,
|
|
86
|
+
client=client,
|
|
87
|
+
json_body=json_body,
|
|
88
|
+
)
|
|
89
|
+
|
|
90
|
+
response = httpx.request(
|
|
91
|
+
verify=client.verify_ssl,
|
|
92
|
+
**kwargs,
|
|
93
|
+
)
|
|
94
|
+
|
|
95
|
+
return _build_response(client=client, response=response)
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
async def asyncio_detailed(
|
|
99
|
+
org_id: str,
|
|
100
|
+
*,
|
|
101
|
+
client: AuthenticatedClient,
|
|
102
|
+
json_body: KbSearchRequest,
|
|
103
|
+
) -> Response[Any]:
|
|
104
|
+
"""See the module header — POST-only, SSE response.
|
|
105
|
+
|
|
106
|
+
Args:
|
|
107
|
+
org_id (str):
|
|
108
|
+
json_body (KbSearchRequest):
|
|
109
|
+
|
|
110
|
+
Raises:
|
|
111
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
112
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
113
|
+
|
|
114
|
+
Returns:
|
|
115
|
+
Response[Any]
|
|
116
|
+
"""
|
|
117
|
+
|
|
118
|
+
kwargs = _get_kwargs(
|
|
119
|
+
org_id=org_id,
|
|
120
|
+
client=client,
|
|
121
|
+
json_body=json_body,
|
|
122
|
+
)
|
|
123
|
+
|
|
124
|
+
async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
|
|
125
|
+
response = await _client.request(**kwargs)
|
|
126
|
+
|
|
127
|
+
return _build_response(client=client, response=response)
|
|
@@ -100,6 +100,10 @@ from .ivr_menu_response_status_enum import IVRMenuResponseStatusEnum
|
|
|
100
100
|
from .ivr_options_invalid_response import IVROptionsInvalidResponse
|
|
101
101
|
from .ivr_options_request import IVROptionsRequest
|
|
102
102
|
from .ivr_options_response import IVROptionsResponse
|
|
103
|
+
from .kb_search_request import KbSearchRequest
|
|
104
|
+
from .kb_sse_event import KbSseEvent
|
|
105
|
+
from .kind_enum import KindEnum
|
|
106
|
+
from .kwik_engage_auth_request_request import KwikEngageAuthRequestRequest
|
|
103
107
|
from .kyc import Kyc
|
|
104
108
|
from .kyc_status_enum import KycStatusEnum
|
|
105
109
|
from .kyc_upload_metadata import KycUploadMetadata
|
|
@@ -298,6 +302,10 @@ __all__ = (
|
|
|
298
302
|
"IVROptionsInvalidResponse",
|
|
299
303
|
"IVROptionsRequest",
|
|
300
304
|
"IVROptionsResponse",
|
|
305
|
+
"KbSearchRequest",
|
|
306
|
+
"KbSseEvent",
|
|
307
|
+
"KindEnum",
|
|
308
|
+
"KwikEngageAuthRequestRequest",
|
|
301
309
|
"Kyc",
|
|
302
310
|
"KycStatusEnum",
|
|
303
311
|
"KycUploadMetadata",
|
|
@@ -73,6 +73,9 @@ class Call:
|
|
|
73
73
|
is_finalized (Optional[bool]):
|
|
74
74
|
cid (Optional[int]):
|
|
75
75
|
is_bot (Optional[bool]):
|
|
76
|
+
picked_by (Optional[str]):
|
|
77
|
+
picked_by_member (Optional[str]):
|
|
78
|
+
picked_by_employee_id (Optional[int]):
|
|
76
79
|
camp (Optional[CampaignMetadata]):
|
|
77
80
|
upload_metadata (Optional[UploadMetadata]):
|
|
78
81
|
failure_reason (Union[FailureReasonEnum, None, Unset]): Reason for call failure
|
|
@@ -104,6 +107,9 @@ class Call:
|
|
|
104
107
|
is_finalized: Optional[bool]
|
|
105
108
|
cid: Optional[int]
|
|
106
109
|
is_bot: Optional[bool]
|
|
110
|
+
picked_by: Optional[str]
|
|
111
|
+
picked_by_member: Optional[str]
|
|
112
|
+
picked_by_employee_id: Optional[int]
|
|
107
113
|
camp: Optional["CampaignMetadata"]
|
|
108
114
|
upload_metadata: Optional["UploadMetadata"]
|
|
109
115
|
parent: Union[Unset, None, int] = UNSET
|
|
@@ -196,6 +202,9 @@ class Call:
|
|
|
196
202
|
is_finalized = self.is_finalized
|
|
197
203
|
cid = self.cid
|
|
198
204
|
is_bot = self.is_bot
|
|
205
|
+
picked_by = self.picked_by
|
|
206
|
+
picked_by_member = self.picked_by_member
|
|
207
|
+
picked_by_employee_id = self.picked_by_employee_id
|
|
199
208
|
camp = self.camp.to_dict() if self.camp else None
|
|
200
209
|
|
|
201
210
|
upload_metadata = (
|
|
@@ -246,6 +255,9 @@ class Call:
|
|
|
246
255
|
"is_finalized": is_finalized,
|
|
247
256
|
"cid": cid,
|
|
248
257
|
"is_bot": is_bot,
|
|
258
|
+
"picked_by": picked_by,
|
|
259
|
+
"picked_by_member": picked_by_member,
|
|
260
|
+
"picked_by_employee_id": picked_by_employee_id,
|
|
249
261
|
"camp": camp,
|
|
250
262
|
"upload_metadata": upload_metadata,
|
|
251
263
|
}
|
|
@@ -399,6 +411,12 @@ class Call:
|
|
|
399
411
|
|
|
400
412
|
is_bot = d.pop("is_bot")
|
|
401
413
|
|
|
414
|
+
picked_by = d.pop("picked_by")
|
|
415
|
+
|
|
416
|
+
picked_by_member = d.pop("picked_by_member")
|
|
417
|
+
|
|
418
|
+
picked_by_employee_id = d.pop("picked_by_employee_id")
|
|
419
|
+
|
|
402
420
|
_camp = d.pop("camp")
|
|
403
421
|
camp: Optional[CampaignMetadata]
|
|
404
422
|
if _camp is None:
|
|
@@ -473,6 +491,9 @@ class Call:
|
|
|
473
491
|
is_finalized=is_finalized,
|
|
474
492
|
cid=cid,
|
|
475
493
|
is_bot=is_bot,
|
|
494
|
+
picked_by=picked_by,
|
|
495
|
+
picked_by_member=picked_by_member,
|
|
496
|
+
picked_by_employee_id=picked_by_employee_id,
|
|
476
497
|
camp=camp,
|
|
477
498
|
upload_metadata=upload_metadata,
|
|
478
499
|
failure_reason=failure_reason,
|
|
@@ -19,8 +19,11 @@ from ..models.campaign_upload_type_enum import CampaignUploadTypeEnum
|
|
|
19
19
|
from ..models.content_type_enum import ContentTypeEnum
|
|
20
20
|
from ..types import UNSET, File, Unset
|
|
21
21
|
|
|
22
|
+
|
|
22
23
|
if TYPE_CHECKING:
|
|
23
|
-
from ..models.campaign_upload_request_options import
|
|
24
|
+
from ..models.campaign_upload_request_options import (
|
|
25
|
+
CampaignUploadRequestOptions,
|
|
26
|
+
)
|
|
24
27
|
from ..models.campaign_window_request import CampaignWindowRequest
|
|
25
28
|
|
|
26
29
|
|
|
@@ -154,7 +157,7 @@ class CampaignUploadRequest:
|
|
|
154
157
|
window = (
|
|
155
158
|
(None, json.dumps(self.window.to_dict()).encode(), "application/json")
|
|
156
159
|
if self.window
|
|
157
|
-
else
|
|
160
|
+
else window
|
|
158
161
|
)
|
|
159
162
|
|
|
160
163
|
auto_retry = (
|
|
@@ -177,7 +180,7 @@ class CampaignUploadRequest:
|
|
|
177
180
|
options = (
|
|
178
181
|
(None, json.dumps(self.options.to_dict()).encode(), "application/json")
|
|
179
182
|
if self.options
|
|
180
|
-
else
|
|
183
|
+
else options
|
|
181
184
|
)
|
|
182
185
|
|
|
183
186
|
field_dict: Dict[str, Any] = {}
|
{jaxl_python-0.0.48 → jaxl_python-0.0.50}/jaxl/api/client/models/integrations_properties_request.py
RENAMED
|
@@ -15,6 +15,7 @@ from ..types import UNSET, Unset
|
|
|
15
15
|
|
|
16
16
|
if TYPE_CHECKING:
|
|
17
17
|
from ..models.exotel_auth_request_request import ExotelAuthRequestRequest
|
|
18
|
+
from ..models.kwik_engage_auth_request_request import KwikEngageAuthRequestRequest
|
|
18
19
|
from ..models.nimbus_post_auth_request_request import NimbusPostAuthRequestRequest
|
|
19
20
|
from ..models.sales_max_auth_request_request import SalesMaxAuthRequestRequest
|
|
20
21
|
from ..models.shopify_auth_request_request import ShopifyAuthRequestRequest
|
|
@@ -34,6 +35,7 @@ class IntegrationsPropertiesRequest:
|
|
|
34
35
|
shiprocket (Union[Unset, None, ShopifyAuthRequestRequest]):
|
|
35
36
|
nimbuspost (Union[Unset, None, NimbusPostAuthRequestRequest]):
|
|
36
37
|
salesmax (Union[Unset, None, SalesMaxAuthRequestRequest]):
|
|
38
|
+
kwik_engage (Union[Unset, None, KwikEngageAuthRequestRequest]):
|
|
37
39
|
"""
|
|
38
40
|
|
|
39
41
|
shopify: Union[Unset, None, "ShopifyAuthRequestRequest"] = UNSET
|
|
@@ -42,6 +44,7 @@ class IntegrationsPropertiesRequest:
|
|
|
42
44
|
shiprocket: Union[Unset, None, "ShopifyAuthRequestRequest"] = UNSET
|
|
43
45
|
nimbuspost: Union[Unset, None, "NimbusPostAuthRequestRequest"] = UNSET
|
|
44
46
|
salesmax: Union[Unset, None, "SalesMaxAuthRequestRequest"] = UNSET
|
|
47
|
+
kwik_engage: Union[Unset, None, "KwikEngageAuthRequestRequest"] = UNSET
|
|
45
48
|
additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
|
|
46
49
|
|
|
47
50
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -69,6 +72,10 @@ class IntegrationsPropertiesRequest:
|
|
|
69
72
|
if not isinstance(self.salesmax, Unset):
|
|
70
73
|
salesmax = self.salesmax.to_dict() if self.salesmax else None
|
|
71
74
|
|
|
75
|
+
kwik_engage: Union[Unset, None, Dict[str, Any]] = UNSET
|
|
76
|
+
if not isinstance(self.kwik_engage, Unset):
|
|
77
|
+
kwik_engage = self.kwik_engage.to_dict() if self.kwik_engage else None
|
|
78
|
+
|
|
72
79
|
field_dict: Dict[str, Any] = {}
|
|
73
80
|
field_dict.update(self.additional_properties)
|
|
74
81
|
field_dict.update({})
|
|
@@ -84,12 +91,17 @@ class IntegrationsPropertiesRequest:
|
|
|
84
91
|
field_dict["nimbuspost"] = nimbuspost
|
|
85
92
|
if salesmax is not UNSET:
|
|
86
93
|
field_dict["salesmax"] = salesmax
|
|
94
|
+
if kwik_engage is not UNSET:
|
|
95
|
+
field_dict["kwik_engage"] = kwik_engage
|
|
87
96
|
|
|
88
97
|
return field_dict
|
|
89
98
|
|
|
90
99
|
@classmethod
|
|
91
100
|
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
92
101
|
from ..models.exotel_auth_request_request import ExotelAuthRequestRequest
|
|
102
|
+
from ..models.kwik_engage_auth_request_request import (
|
|
103
|
+
KwikEngageAuthRequestRequest,
|
|
104
|
+
)
|
|
93
105
|
from ..models.nimbus_post_auth_request_request import (
|
|
94
106
|
NimbusPostAuthRequestRequest,
|
|
95
107
|
)
|
|
@@ -152,6 +164,15 @@ class IntegrationsPropertiesRequest:
|
|
|
152
164
|
else:
|
|
153
165
|
salesmax = SalesMaxAuthRequestRequest.from_dict(_salesmax)
|
|
154
166
|
|
|
167
|
+
_kwik_engage = d.pop("kwik_engage", UNSET)
|
|
168
|
+
kwik_engage: Union[Unset, None, KwikEngageAuthRequestRequest]
|
|
169
|
+
if _kwik_engage is None:
|
|
170
|
+
kwik_engage = None
|
|
171
|
+
elif isinstance(_kwik_engage, Unset):
|
|
172
|
+
kwik_engage = UNSET
|
|
173
|
+
else:
|
|
174
|
+
kwik_engage = KwikEngageAuthRequestRequest.from_dict(_kwik_engage)
|
|
175
|
+
|
|
155
176
|
integrations_properties_request = cls(
|
|
156
177
|
shopify=shopify,
|
|
157
178
|
exotel=exotel,
|
|
@@ -159,6 +180,7 @@ class IntegrationsPropertiesRequest:
|
|
|
159
180
|
shiprocket=shiprocket,
|
|
160
181
|
nimbuspost=nimbuspost,
|
|
161
182
|
salesmax=salesmax,
|
|
183
|
+
kwik_engage=kwik_engage,
|
|
162
184
|
)
|
|
163
185
|
|
|
164
186
|
integrations_properties_request.additional_properties = d
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Copyright (c) 2010-present by Jaxl Innovations Private Limited.
|
|
3
|
+
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
Redistribution and use in source and binary forms,
|
|
7
|
+
with or without modification, is strictly prohibited.
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
from typing import Any, Dict, List, Type, TypeVar, Union
|
|
11
|
+
|
|
12
|
+
import attr
|
|
13
|
+
|
|
14
|
+
from ..models.kind_enum import KindEnum
|
|
15
|
+
from ..types import UNSET, Unset
|
|
16
|
+
|
|
17
|
+
T = TypeVar("T", bound="KbSearchRequest")
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
@attr.s(auto_attribs=True)
|
|
21
|
+
class KbSearchRequest:
|
|
22
|
+
"""
|
|
23
|
+
Attributes:
|
|
24
|
+
call_id (int):
|
|
25
|
+
query (str):
|
|
26
|
+
kind (Union[Unset, KindEnum]): Default: KindEnum.PRODUCTS.
|
|
27
|
+
limit (Union[Unset, int]): Default: 5.
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
call_id: int
|
|
31
|
+
query: str
|
|
32
|
+
kind: Union[Unset, KindEnum] = KindEnum.PRODUCTS
|
|
33
|
+
limit: Union[Unset, int] = 5
|
|
34
|
+
additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
|
|
35
|
+
|
|
36
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
37
|
+
call_id = self.call_id
|
|
38
|
+
query = self.query
|
|
39
|
+
kind: Union[Unset, str] = UNSET
|
|
40
|
+
if not isinstance(self.kind, Unset):
|
|
41
|
+
kind = self.kind.value
|
|
42
|
+
|
|
43
|
+
limit = self.limit
|
|
44
|
+
|
|
45
|
+
field_dict: Dict[str, Any] = {}
|
|
46
|
+
field_dict.update(self.additional_properties)
|
|
47
|
+
field_dict.update(
|
|
48
|
+
{
|
|
49
|
+
"call_id": call_id,
|
|
50
|
+
"query": query,
|
|
51
|
+
}
|
|
52
|
+
)
|
|
53
|
+
if kind is not UNSET:
|
|
54
|
+
field_dict["kind"] = kind
|
|
55
|
+
if limit is not UNSET:
|
|
56
|
+
field_dict["limit"] = limit
|
|
57
|
+
|
|
58
|
+
return field_dict
|
|
59
|
+
|
|
60
|
+
@classmethod
|
|
61
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
62
|
+
d = src_dict.copy()
|
|
63
|
+
call_id = d.pop("call_id")
|
|
64
|
+
|
|
65
|
+
query = d.pop("query")
|
|
66
|
+
|
|
67
|
+
_kind = d.pop("kind", UNSET)
|
|
68
|
+
kind: Union[Unset, KindEnum]
|
|
69
|
+
if isinstance(_kind, Unset):
|
|
70
|
+
kind = UNSET
|
|
71
|
+
else:
|
|
72
|
+
kind = KindEnum(_kind)
|
|
73
|
+
|
|
74
|
+
limit = d.pop("limit", UNSET)
|
|
75
|
+
|
|
76
|
+
kb_search_request = cls(
|
|
77
|
+
call_id=call_id,
|
|
78
|
+
query=query,
|
|
79
|
+
kind=kind,
|
|
80
|
+
limit=limit,
|
|
81
|
+
)
|
|
82
|
+
|
|
83
|
+
kb_search_request.additional_properties = d
|
|
84
|
+
return kb_search_request
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def additional_keys(self) -> List[str]:
|
|
88
|
+
return list(self.additional_properties.keys())
|
|
89
|
+
|
|
90
|
+
def __getitem__(self, key: str) -> Any:
|
|
91
|
+
return self.additional_properties[key]
|
|
92
|
+
|
|
93
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
94
|
+
self.additional_properties[key] = value
|
|
95
|
+
|
|
96
|
+
def __delitem__(self, key: str) -> None:
|
|
97
|
+
del self.additional_properties[key]
|
|
98
|
+
|
|
99
|
+
def __contains__(self, key: str) -> bool:
|
|
100
|
+
return key in self.additional_properties
|