jaxl-python 0.0.50__tar.gz → 0.0.51__tar.gz

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