telnyx 3.5.0a0__py3-none-any.whl → 3.6.0__py3-none-any.whl

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.

Potentially problematic release.


This version of telnyx might be problematic. Click here for more details.

Files changed (224) hide show
  1. telnyx/_client.py +56 -756
  2. telnyx/_version.py +1 -1
  3. telnyx/resources/__init__.py +70 -0
  4. telnyx/resources/advanced_orders.py +63 -63
  5. telnyx/resources/ai/assistants/assistants.py +15 -17
  6. telnyx/resources/ai/assistants/versions.py +13 -15
  7. telnyx/resources/ai/conversations/conversations.py +137 -3
  8. telnyx/resources/ai/conversations/messages.py +1 -134
  9. telnyx/resources/brand/brand.py +8 -4
  10. telnyx/resources/calls/actions.py +154 -150
  11. telnyx/resources/calls/calls.py +18 -10
  12. telnyx/resources/conferences/actions.py +8 -24
  13. telnyx/resources/conferences/conferences.py +2 -6
  14. telnyx/resources/documents.py +242 -37
  15. telnyx/resources/legacy/__init__.py +33 -0
  16. telnyx/resources/legacy/legacy.py +102 -0
  17. telnyx/resources/legacy/reporting/__init__.py +47 -0
  18. telnyx/resources/legacy/reporting/batch_detail_records/__init__.py +61 -0
  19. telnyx/resources/legacy/reporting/batch_detail_records/batch_detail_records.py +166 -0
  20. telnyx/resources/legacy/reporting/batch_detail_records/messaging.py +482 -0
  21. telnyx/resources/legacy/reporting/batch_detail_records/speech_to_text.py +399 -0
  22. telnyx/resources/legacy/reporting/batch_detail_records/voice.py +539 -0
  23. telnyx/resources/legacy/reporting/reporting.py +134 -0
  24. telnyx/resources/legacy/reporting/usage_reports/__init__.py +61 -0
  25. telnyx/resources/legacy/reporting/usage_reports/messaging.py +471 -0
  26. telnyx/resources/legacy/reporting/usage_reports/number_lookup.py +464 -0
  27. telnyx/resources/legacy/reporting/usage_reports/usage_reports.py +288 -0
  28. telnyx/resources/legacy/reporting/usage_reports/voice.py +493 -0
  29. telnyx/resources/messaging_profiles/messaging_profiles.py +16 -0
  30. telnyx/resources/messaging_tollfree/verification/requests.py +203 -1
  31. telnyx/resources/oauth.py +855 -0
  32. telnyx/resources/oauth_clients.py +711 -0
  33. telnyx/resources/oauth_grants.py +349 -0
  34. telnyx/resources/outbound_voice_profiles.py +24 -4
  35. telnyx/resources/phone_numbers/jobs.py +12 -0
  36. telnyx/resources/porting_orders/porting_orders.py +20 -8
  37. telnyx/resources/sim_cards/actions.py +12 -12
  38. telnyx/resources/sim_cards/sim_cards.py +3 -2
  39. telnyx/resources/texml/accounts/calls/calls.py +11 -0
  40. telnyx/resources/texml/accounts/conferences/participants.py +11 -0
  41. telnyx/resources/verifications/verifications.py +10 -0
  42. telnyx/resources/verified_numbers/verified_numbers.py +25 -4
  43. telnyx/resources/verify_profiles.py +182 -1
  44. telnyx/resources/well_known.py +198 -0
  45. telnyx/types/__init__.py +51 -9
  46. telnyx/types/access_ip_address_list_response.py +3 -12
  47. telnyx/types/access_ip_range_list_response.py +3 -12
  48. telnyx/types/addresses/action_validate_response.py +8 -3
  49. telnyx/types/{advanced_order_update_params.py → advanced_order_update_requirement_group_params.py} +2 -2
  50. telnyx/types/ai/__init__.py +2 -3
  51. telnyx/types/ai/assistant_import_params.py +1 -1
  52. telnyx/types/ai/assistants/__init__.py +0 -3
  53. telnyx/types/ai/assistants_list.py +4 -88
  54. telnyx/types/ai/{conversations/message_create_params.py → conversation_add_message_params.py} +4 -4
  55. telnyx/types/ai/conversations/__init__.py +0 -1
  56. telnyx/types/ai/import_metadata.py +1 -1
  57. telnyx/types/ai/{assistant_clone_response.py → inference_embedding.py} +2 -2
  58. telnyx/types/ai/inference_embedding_transfer_tool_params.py +6 -0
  59. telnyx/types/ai/inference_embedding_transfer_tool_params_param.py +6 -0
  60. telnyx/types/ai/inference_embedding_webhook_tool_params.py +2 -0
  61. telnyx/types/ai/inference_embedding_webhook_tool_params_param.py +2 -0
  62. telnyx/types/ai/voice_settings.py +49 -2
  63. telnyx/types/ai/voice_settings_param.py +49 -2
  64. telnyx/types/brand_create_params.py +2 -1
  65. telnyx/types/brand_update_params.py +2 -1
  66. telnyx/types/call_dial_params.py +11 -3
  67. telnyx/types/calls/__init__.py +1 -0
  68. telnyx/types/calls/action_answer_params.py +1 -2
  69. telnyx/types/calls/action_gather_using_ai_params.py +5 -8
  70. telnyx/types/calls/action_start_streaming_params.py +5 -2
  71. telnyx/types/calls/action_start_transcription_params.py +160 -6
  72. telnyx/types/calls/action_transfer_params.py +50 -0
  73. telnyx/types/calls/telnyx_transcription_language.py +108 -0
  74. telnyx/types/calls/transcription_engine_b_config_param.py +3 -102
  75. telnyx/types/calls/transcription_start_request_param.py +161 -6
  76. telnyx/types/campaign_submit_appeal_response.py +0 -3
  77. telnyx/types/country_coverage_retrieve_country_response.py +7 -0
  78. telnyx/types/country_coverage_retrieve_response.py +7 -0
  79. telnyx/types/document_upload_json_params.py +39 -0
  80. telnyx/types/document_upload_json_response.py +12 -0
  81. telnyx/types/legacy/__init__.py +3 -0
  82. telnyx/types/legacy/reporting/__init__.py +12 -0
  83. telnyx/types/legacy/reporting/batch_detail_records/__init__.py +24 -0
  84. telnyx/types/legacy/reporting/batch_detail_records/batch_csv_pagination_meta.py +17 -0
  85. telnyx/types/legacy/reporting/batch_detail_records/cdr_detailed_req_response.py +63 -0
  86. telnyx/types/legacy/reporting/batch_detail_records/mdr_detail_report_response.py +42 -0
  87. telnyx/types/legacy/reporting/batch_detail_records/messaging_create_params.py +55 -0
  88. telnyx/types/legacy/reporting/batch_detail_records/messaging_create_response.py +12 -0
  89. telnyx/types/legacy/reporting/batch_detail_records/messaging_delete_response.py +12 -0
  90. telnyx/types/legacy/reporting/batch_detail_records/messaging_list_response.py +15 -0
  91. telnyx/types/legacy/reporting/batch_detail_records/messaging_retrieve_response.py +12 -0
  92. telnyx/types/legacy/reporting/batch_detail_records/speech_to_text_create_params.py +19 -0
  93. telnyx/types/legacy/reporting/batch_detail_records/speech_to_text_create_response.py +12 -0
  94. telnyx/types/legacy/reporting/batch_detail_records/speech_to_text_delete_response.py +12 -0
  95. telnyx/types/legacy/reporting/batch_detail_records/speech_to_text_list_response.py +12 -0
  96. telnyx/types/legacy/reporting/batch_detail_records/speech_to_text_retrieve_response.py +12 -0
  97. telnyx/types/legacy/reporting/batch_detail_records/stt_detail_report_response.py +27 -0
  98. telnyx/types/legacy/reporting/batch_detail_records/voice_create_params.py +57 -0
  99. telnyx/types/legacy/reporting/batch_detail_records/voice_create_response.py +13 -0
  100. telnyx/types/legacy/reporting/batch_detail_records/voice_delete_response.py +13 -0
  101. telnyx/types/legacy/reporting/batch_detail_records/voice_list_response.py +15 -0
  102. telnyx/types/legacy/reporting/batch_detail_records/voice_retrieve_fields_response.py +23 -0
  103. telnyx/types/legacy/reporting/batch_detail_records/voice_retrieve_response.py +13 -0
  104. telnyx/types/legacy/reporting/filter.py +31 -0
  105. telnyx/types/legacy/reporting/filter_param.py +30 -0
  106. telnyx/types/legacy/reporting/usage_report_retrieve_speech_to_text_params.py +17 -0
  107. telnyx/types/legacy/reporting/usage_report_retrieve_speech_to_text_response.py +11 -0
  108. telnyx/types/legacy/reporting/usage_reports/__init__.py +21 -0
  109. telnyx/types/legacy/reporting/usage_reports/cdr_usage_report_response_legacy.py +43 -0
  110. telnyx/types/legacy/reporting/usage_reports/mdr_usage_report_response_legacy.py +38 -0
  111. telnyx/types/legacy/reporting/usage_reports/messaging_create_params.py +29 -0
  112. telnyx/types/legacy/reporting/usage_reports/messaging_create_response.py +13 -0
  113. telnyx/types/legacy/reporting/usage_reports/messaging_delete_response.py +13 -0
  114. telnyx/types/legacy/reporting/usage_reports/messaging_list_params.py +15 -0
  115. telnyx/types/legacy/reporting/usage_reports/messaging_list_response.py +15 -0
  116. telnyx/types/legacy/reporting/usage_reports/messaging_retrieve_response.py +13 -0
  117. telnyx/types/legacy/reporting/usage_reports/number_lookup_create_params.py +26 -0
  118. telnyx/types/legacy/reporting/usage_reports/number_lookup_list_params.py +13 -0
  119. telnyx/types/legacy/reporting/usage_reports/standard_pagination_meta.py +17 -0
  120. telnyx/types/legacy/reporting/usage_reports/voice_create_params.py +40 -0
  121. telnyx/types/legacy/reporting/usage_reports/voice_create_response.py +13 -0
  122. telnyx/types/legacy/reporting/usage_reports/voice_delete_response.py +13 -0
  123. telnyx/types/legacy/reporting/usage_reports/voice_list_params.py +15 -0
  124. telnyx/types/legacy/reporting/usage_reports/voice_list_response.py +15 -0
  125. telnyx/types/legacy/reporting/usage_reports/voice_retrieve_response.py +13 -0
  126. telnyx/types/message_template.py +12 -0
  127. telnyx/types/messaging_profile.py +3 -0
  128. telnyx/types/messaging_profile_create_params.py +3 -0
  129. telnyx/types/messaging_profile_update_params.py +3 -0
  130. telnyx/types/messaging_tollfree/verification/__init__.py +1 -0
  131. telnyx/types/messaging_tollfree/verification/request_create_params.py +51 -1
  132. telnyx/types/messaging_tollfree/verification/request_update_params.py +51 -1
  133. telnyx/types/messaging_tollfree/verification/toll_free_verification_entity_type.py +9 -0
  134. telnyx/types/messaging_tollfree/verification/verification_request_egress.py +24 -0
  135. telnyx/types/messaging_tollfree/verification/verification_request_status.py +24 -0
  136. telnyx/types/number_order_status_update_webhook_event.py +30 -4
  137. telnyx/types/oauth_client.py +59 -0
  138. telnyx/types/oauth_client_create_params.py +39 -0
  139. telnyx/types/oauth_client_create_response.py +12 -0
  140. telnyx/types/oauth_client_list_params.py +38 -0
  141. telnyx/types/oauth_client_list_response.py +15 -0
  142. telnyx/types/oauth_client_retrieve_response.py +12 -0
  143. telnyx/types/oauth_client_update_params.py +36 -0
  144. telnyx/types/oauth_client_update_response.py +12 -0
  145. telnyx/types/oauth_grant.py +29 -0
  146. telnyx/types/oauth_grant_delete_response.py +12 -0
  147. telnyx/types/oauth_grant_list_params.py +17 -0
  148. telnyx/types/oauth_grant_list_response.py +15 -0
  149. telnyx/types/oauth_grant_retrieve_response.py +12 -0
  150. telnyx/types/oauth_grants_params.py +15 -0
  151. telnyx/types/oauth_grants_response.py +10 -0
  152. telnyx/types/oauth_introspect_params.py +12 -0
  153. telnyx/types/oauth_introspect_response.py +30 -0
  154. telnyx/types/oauth_register_params.py +39 -0
  155. telnyx/types/oauth_register_response.py +45 -0
  156. telnyx/types/oauth_retrieve_authorize_params.py +30 -0
  157. telnyx/types/oauth_retrieve_jwks_response.py +25 -0
  158. telnyx/types/oauth_retrieve_response.py +47 -0
  159. telnyx/types/oauth_token_params.py +33 -0
  160. telnyx/types/oauth_token_response.py +25 -0
  161. telnyx/types/outbound_voice_profile.py +27 -1
  162. telnyx/types/outbound_voice_profile_create_params.py +27 -1
  163. telnyx/types/outbound_voice_profile_list_params.py +1 -1
  164. telnyx/types/outbound_voice_profile_update_params.py +27 -1
  165. telnyx/types/pagination_meta_cloudflare_ip_list_sync.py +15 -0
  166. telnyx/types/pagination_meta_oauth.py +21 -0
  167. telnyx/types/phone_number_blocks/__init__.py +1 -0
  168. telnyx/types/phone_number_blocks/job.py +3 -34
  169. telnyx/types/phone_number_blocks/job_error.py +32 -0
  170. telnyx/types/phone_number_delete_response.py +7 -0
  171. telnyx/types/phone_number_detailed.py +7 -0
  172. telnyx/types/phone_number_list_params.py +6 -0
  173. telnyx/types/phone_numbers/job_update_batch_params.py +7 -0
  174. telnyx/types/phone_numbers/phone_numbers_job.py +3 -36
  175. telnyx/types/porting_order.py +3 -0
  176. telnyx/types/porting_order_create_params.py +3 -0
  177. telnyx/types/porting_order_list_params.py +52 -31
  178. telnyx/types/porting_order_update_params.py +2 -0
  179. telnyx/types/porting_orders/phone_number_configuration_list_params.py +19 -19
  180. telnyx/types/report_list_mdrs_response.py +3 -12
  181. telnyx/types/reports/__init__.py +1 -0
  182. telnyx/types/reports/mdr_usage_report_list_response.py +3 -12
  183. telnyx/types/reports/pagination_meta_reporting.py +17 -0
  184. telnyx/types/requirement_group.py +2 -2
  185. telnyx/types/requirement_group_list_params.py +1 -1
  186. telnyx/types/shared/__init__.py +1 -0
  187. telnyx/types/{error.py → shared/api_error.py} +3 -3
  188. telnyx/types/shared/simple_sim_card.py +15 -0
  189. telnyx/types/sim_card.py +12 -0
  190. telnyx/types/sim_card_update_params.py +2 -1
  191. telnyx/types/stream_bidirectional_codec.py +1 -1
  192. telnyx/types/stream_bidirectional_sampling_rate.py +7 -0
  193. telnyx/types/stream_codec.py +1 -1
  194. telnyx/types/texml/accounts/call_calls_params.py +16 -1
  195. telnyx/types/texml/accounts/conferences/participant_participants_params.py +16 -1
  196. telnyx/types/verification_trigger_call_params.py +7 -0
  197. telnyx/types/verifications/__init__.py +1 -0
  198. telnyx/types/verifications/by_phone_number_list_response.py +4 -13
  199. telnyx/types/verifications/verify_meta.py +17 -0
  200. telnyx/types/verified_number_create_params.py +10 -0
  201. telnyx/types/verify_profile.py +18 -3
  202. telnyx/types/verify_profile_create_template_params.py +12 -0
  203. telnyx/types/verify_profile_list_response.py +4 -13
  204. telnyx/types/verify_profile_message_template_response.py +13 -0
  205. telnyx/types/verify_profile_retrieve_templates_response.py +4 -9
  206. telnyx/types/verify_profile_update_template_params.py +12 -0
  207. telnyx/types/well_known_retrieve_authorization_server_metadata_response.py +42 -0
  208. telnyx/types/well_known_retrieve_protected_resource_metadata_response.py +15 -0
  209. {telnyx-3.5.0a0.dist-info → telnyx-3.6.0.dist-info}/METADATA +4 -4
  210. {telnyx-3.5.0a0.dist-info → telnyx-3.6.0.dist-info}/RECORD +212 -121
  211. telnyx/types/ai/assistant_create_response.py +0 -92
  212. telnyx/types/ai/assistant_retrieve_response.py +0 -92
  213. telnyx/types/ai/assistants/version_promote_response.py +0 -92
  214. telnyx/types/ai/assistants/version_retrieve_response.py +0 -92
  215. telnyx/types/ai/assistants/version_update_response.py +0 -92
  216. telnyx/types/client_create_bucket_params.py +0 -13
  217. telnyx/types/client_delete_objects_params.py +0 -20
  218. telnyx/types/client_get_object_params.py +0 -15
  219. telnyx/types/client_list_objects_params.py +0 -13
  220. telnyx/types/client_put_object_params.py +0 -20
  221. telnyx/types/list_buckets_response.py +0 -20
  222. telnyx/types/list_objects_response.py +0 -24
  223. {telnyx-3.5.0a0.dist-info → telnyx-3.6.0.dist-info}/WHEEL +0 -0
  224. {telnyx-3.5.0a0.dist-info → telnyx-3.6.0.dist-info}/licenses/LICENSE +0 -0
@@ -154,7 +154,7 @@ class ActionsResource(SyncAPIResource):
154
154
  This API triggers an asynchronous operation to set a public IP for each of the
155
155
  specified SIM cards.<br/> For each SIM Card a SIM Card Action will be generated.
156
156
  The status of the SIM Card Action can be followed through the
157
- [List SIM Card Action](https://developersdev.telnyx.com/docs/api/v2/wireless/SIM-Card-Actions#ListSIMCardActions)
157
+ [List SIM Card Action](https://developers.telnyx.com/api/wireless/list-sim-card-actions)
158
158
  API.
159
159
 
160
160
  Args:
@@ -193,7 +193,7 @@ class ActionsResource(SyncAPIResource):
193
193
  impossible to consume data.<br/> The API will trigger an asynchronous operation
194
194
  called a SIM Card Action. Transitioning to the disabled state may take a period
195
195
  of time. The status of the SIM Card Action can be followed through the
196
- [List SIM Card Action](https://developersdev.telnyx.com/docs/api/v2/wireless/SIM-Card-Actions#ListSIMCardActions)
196
+ [List SIM Card Action](https://developers.telnyx.com/api/wireless/list-sim-card-actions)
197
197
  API.
198
198
 
199
199
  Args:
@@ -232,7 +232,7 @@ class ActionsResource(SyncAPIResource):
232
232
  card group.<br/> The API will trigger an asynchronous operation called a SIM
233
233
  Card Action. Transitioning to the enabled state may take a period of time. The
234
234
  status of the SIM Card Action can be followed through the
235
- [List SIM Card Action](https://developersdev.telnyx.com/docs/api/v2/wireless/SIM-Card-Actions#ListSIMCardActions)
235
+ [List SIM Card Action](https://developers.telnyx.com/api/wireless/list-sim-card-actions)
236
236
  API.
237
237
 
238
238
  Args:
@@ -270,7 +270,7 @@ class ActionsResource(SyncAPIResource):
270
270
  <br/><br/> The API will
271
271
  trigger an asynchronous operation called a SIM Card Action. The status of the
272
272
  SIM Card Action can be followed through the
273
- [List SIM Card Action](https://developersdev.telnyx.com/docs/api/v2/wireless/SIM-Card-Actions#ListSIMCardActions)
273
+ [List SIM Card Action](https://developers.telnyx.com/api/wireless/list-sim-card-actions)
274
274
  API.
275
275
 
276
276
  Args:
@@ -309,7 +309,7 @@ class ActionsResource(SyncAPIResource):
309
309
  public IP to the SIM card. <br/><br/> The API will trigger an asynchronous
310
310
  operation called a SIM Card Action. The status of the SIM Card Action can be
311
311
  followed through the
312
- [List SIM Card Action](https://developersdev.telnyx.com/docs/api/v2/wireless/SIM-Card-Actions#ListSIMCardActions)
312
+ [List SIM Card Action](https://developers.telnyx.com/api/wireless/list-sim-card-actions)
313
313
  API. <br/><br/> Setting a Public IP to a SIM Card incurs a charge and will only
314
314
  succeed if the account has sufficient funds.
315
315
 
@@ -359,7 +359,7 @@ class ActionsResource(SyncAPIResource):
359
359
  API will trigger an asynchronous operation called a SIM Card Action.
360
360
  Transitioning to the standby state may take a period of time. The status of the
361
361
  SIM Card Action can be followed through the
362
- [List SIM Card Action](https://developersdev.telnyx.com/docs/api/v2/wireless/SIM-Card-Actions#ListSIMCardActions)
362
+ [List SIM Card Action](https://developers.telnyx.com/api/wireless/list-sim-card-actions)
363
363
  API.
364
364
 
365
365
  Args:
@@ -537,7 +537,7 @@ class AsyncActionsResource(AsyncAPIResource):
537
537
  This API triggers an asynchronous operation to set a public IP for each of the
538
538
  specified SIM cards.<br/> For each SIM Card a SIM Card Action will be generated.
539
539
  The status of the SIM Card Action can be followed through the
540
- [List SIM Card Action](https://developersdev.telnyx.com/docs/api/v2/wireless/SIM-Card-Actions#ListSIMCardActions)
540
+ [List SIM Card Action](https://developers.telnyx.com/api/wireless/list-sim-card-actions)
541
541
  API.
542
542
 
543
543
  Args:
@@ -576,7 +576,7 @@ class AsyncActionsResource(AsyncAPIResource):
576
576
  impossible to consume data.<br/> The API will trigger an asynchronous operation
577
577
  called a SIM Card Action. Transitioning to the disabled state may take a period
578
578
  of time. The status of the SIM Card Action can be followed through the
579
- [List SIM Card Action](https://developersdev.telnyx.com/docs/api/v2/wireless/SIM-Card-Actions#ListSIMCardActions)
579
+ [List SIM Card Action](https://developers.telnyx.com/api/wireless/list-sim-card-actions)
580
580
  API.
581
581
 
582
582
  Args:
@@ -615,7 +615,7 @@ class AsyncActionsResource(AsyncAPIResource):
615
615
  card group.<br/> The API will trigger an asynchronous operation called a SIM
616
616
  Card Action. Transitioning to the enabled state may take a period of time. The
617
617
  status of the SIM Card Action can be followed through the
618
- [List SIM Card Action](https://developersdev.telnyx.com/docs/api/v2/wireless/SIM-Card-Actions#ListSIMCardActions)
618
+ [List SIM Card Action](https://developers.telnyx.com/api/wireless/list-sim-card-actions)
619
619
  API.
620
620
 
621
621
  Args:
@@ -653,7 +653,7 @@ class AsyncActionsResource(AsyncAPIResource):
653
653
  <br/><br/> The API will
654
654
  trigger an asynchronous operation called a SIM Card Action. The status of the
655
655
  SIM Card Action can be followed through the
656
- [List SIM Card Action](https://developersdev.telnyx.com/docs/api/v2/wireless/SIM-Card-Actions#ListSIMCardActions)
656
+ [List SIM Card Action](https://developers.telnyx.com/api/wireless/list-sim-card-actions)
657
657
  API.
658
658
 
659
659
  Args:
@@ -692,7 +692,7 @@ class AsyncActionsResource(AsyncAPIResource):
692
692
  public IP to the SIM card. <br/><br/> The API will trigger an asynchronous
693
693
  operation called a SIM Card Action. The status of the SIM Card Action can be
694
694
  followed through the
695
- [List SIM Card Action](https://developersdev.telnyx.com/docs/api/v2/wireless/SIM-Card-Actions#ListSIMCardActions)
695
+ [List SIM Card Action](https://developers.telnyx.com/api/wireless/list-sim-card-actions)
696
696
  API. <br/><br/> Setting a Public IP to a SIM Card incurs a charge and will only
697
697
  succeed if the account has sufficient funds.
698
698
 
@@ -742,7 +742,7 @@ class AsyncActionsResource(AsyncAPIResource):
742
742
  API will trigger an asynchronous operation called a SIM Card Action.
743
743
  Transitioning to the standby state may take a period of time. The status of the
744
744
  SIM Card Action can be followed through the
745
- [List SIM Card Action](https://developersdev.telnyx.com/docs/api/v2/wireless/SIM-Card-Actions#ListSIMCardActions)
745
+ [List SIM Card Action](https://developers.telnyx.com/api/wireless/list-sim-card-actions)
746
746
  API.
747
747
 
748
748
  Args:
@@ -2,6 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
+ from typing import Optional
5
6
  from typing_extensions import Literal
6
7
 
7
8
  import httpx
@@ -124,7 +125,7 @@ class SimCardsResource(SyncAPIResource):
124
125
  self,
125
126
  id: str,
126
127
  *,
127
- authorized_imeis: SequenceNotStr[str] | Omit = omit,
128
+ authorized_imeis: Optional[SequenceNotStr[str]] | Omit = omit,
128
129
  data_limit: sim_card_update_params.DataLimit | Omit = omit,
129
130
  sim_card_group_id: str | Omit = omit,
130
131
  status: SimCardStatus | Omit = omit,
@@ -517,7 +518,7 @@ class AsyncSimCardsResource(AsyncAPIResource):
517
518
  self,
518
519
  id: str,
519
520
  *,
520
- authorized_imeis: SequenceNotStr[str] | Omit = omit,
521
+ authorized_imeis: Optional[SequenceNotStr[str]] | Omit = omit,
521
522
  data_limit: sim_card_update_params.DataLimit | Omit = omit,
522
523
  sim_card_group_id: str | Omit = omit,
523
524
  status: SimCardStatus | Omit = omit,
@@ -2,6 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
+ from typing import Iterable
5
6
  from typing_extensions import Literal
6
7
 
7
8
  import httpx
@@ -231,6 +232,7 @@ class CallsResource(SyncAPIResource):
231
232
  caller_id: str | Omit = omit,
232
233
  cancel_playback_on_detect_message_end: bool | Omit = omit,
233
234
  cancel_playback_on_machine_detection: bool | Omit = omit,
235
+ custom_headers: Iterable[call_calls_params.CustomHeader] | Omit = omit,
234
236
  detection_mode: Literal["Premium", "Regular"] | Omit = omit,
235
237
  fallback_url: str | Omit = omit,
236
238
  machine_detection: Literal["Enable", "Disable", "DetectMessageEnd"] | Omit = omit,
@@ -294,6 +296,9 @@ class CallsResource(SyncAPIResource):
294
296
 
295
297
  cancel_playback_on_machine_detection: Whether to cancel ongoing playback on `machine` detection. Defaults to `true`.
296
298
 
299
+ custom_headers: Custom HTTP headers to be sent with the call. Each header should be an object
300
+ with 'name' and 'value' properties.
301
+
297
302
  detection_mode: Allows you to chose between Premium and Standard detections.
298
303
 
299
304
  fallback_url: A failover URL for which Telnyx will retrieve the TeXML call instructions if the
@@ -377,6 +382,7 @@ class CallsResource(SyncAPIResource):
377
382
  "caller_id": caller_id,
378
383
  "cancel_playback_on_detect_message_end": cancel_playback_on_detect_message_end,
379
384
  "cancel_playback_on_machine_detection": cancel_playback_on_machine_detection,
385
+ "custom_headers": custom_headers,
380
386
  "detection_mode": detection_mode,
381
387
  "fallback_url": fallback_url,
382
388
  "machine_detection": machine_detection,
@@ -824,6 +830,7 @@ class AsyncCallsResource(AsyncAPIResource):
824
830
  caller_id: str | Omit = omit,
825
831
  cancel_playback_on_detect_message_end: bool | Omit = omit,
826
832
  cancel_playback_on_machine_detection: bool | Omit = omit,
833
+ custom_headers: Iterable[call_calls_params.CustomHeader] | Omit = omit,
827
834
  detection_mode: Literal["Premium", "Regular"] | Omit = omit,
828
835
  fallback_url: str | Omit = omit,
829
836
  machine_detection: Literal["Enable", "Disable", "DetectMessageEnd"] | Omit = omit,
@@ -887,6 +894,9 @@ class AsyncCallsResource(AsyncAPIResource):
887
894
 
888
895
  cancel_playback_on_machine_detection: Whether to cancel ongoing playback on `machine` detection. Defaults to `true`.
889
896
 
897
+ custom_headers: Custom HTTP headers to be sent with the call. Each header should be an object
898
+ with 'name' and 'value' properties.
899
+
890
900
  detection_mode: Allows you to chose between Premium and Standard detections.
891
901
 
892
902
  fallback_url: A failover URL for which Telnyx will retrieve the TeXML call instructions if the
@@ -970,6 +980,7 @@ class AsyncCallsResource(AsyncAPIResource):
970
980
  "caller_id": caller_id,
971
981
  "cancel_playback_on_detect_message_end": cancel_playback_on_detect_message_end,
972
982
  "cancel_playback_on_machine_detection": cancel_playback_on_machine_detection,
983
+ "custom_headers": custom_headers,
973
984
  "detection_mode": detection_mode,
974
985
  "fallback_url": fallback_url,
975
986
  "machine_detection": machine_detection,
@@ -2,6 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
+ from typing import Iterable
5
6
  from typing_extensions import Literal
6
7
 
7
8
  import httpx
@@ -251,6 +252,7 @@ class ParticipantsResource(SyncAPIResource):
251
252
  conference_status_callback_event: str | Omit = omit,
252
253
  conference_status_callback_method: Literal["GET", "POST"] | Omit = omit,
253
254
  conference_trim: Literal["trim-silence", "do-not-trim"] | Omit = omit,
255
+ custom_headers: Iterable[participant_participants_params.CustomHeader] | Omit = omit,
254
256
  early_media: bool | Omit = omit,
255
257
  end_conference_on_exit: bool | Omit = omit,
256
258
  from_: str | Omit = omit,
@@ -343,6 +345,9 @@ class ParticipantsResource(SyncAPIResource):
343
345
  conference_trim: Whether to trim any leading and trailing silence from the conference recording.
344
346
  Defaults to `trim-silence`.
345
347
 
348
+ custom_headers: Custom HTTP headers to be sent with the call. Each header should be an object
349
+ with 'name' and 'value' properties.
350
+
346
351
  early_media: Whether participant shall be bridged to conference before the participant
347
352
  answers (from early media if available). Defaults to `false`.
348
353
 
@@ -451,6 +456,7 @@ class ParticipantsResource(SyncAPIResource):
451
456
  "conference_status_callback_event": conference_status_callback_event,
452
457
  "conference_status_callback_method": conference_status_callback_method,
453
458
  "conference_trim": conference_trim,
459
+ "custom_headers": custom_headers,
454
460
  "early_media": early_media,
455
461
  "end_conference_on_exit": end_conference_on_exit,
456
462
  "from_": from_,
@@ -748,6 +754,7 @@ class AsyncParticipantsResource(AsyncAPIResource):
748
754
  conference_status_callback_event: str | Omit = omit,
749
755
  conference_status_callback_method: Literal["GET", "POST"] | Omit = omit,
750
756
  conference_trim: Literal["trim-silence", "do-not-trim"] | Omit = omit,
757
+ custom_headers: Iterable[participant_participants_params.CustomHeader] | Omit = omit,
751
758
  early_media: bool | Omit = omit,
752
759
  end_conference_on_exit: bool | Omit = omit,
753
760
  from_: str | Omit = omit,
@@ -840,6 +847,9 @@ class AsyncParticipantsResource(AsyncAPIResource):
840
847
  conference_trim: Whether to trim any leading and trailing silence from the conference recording.
841
848
  Defaults to `trim-silence`.
842
849
 
850
+ custom_headers: Custom HTTP headers to be sent with the call. Each header should be an object
851
+ with 'name' and 'value' properties.
852
+
843
853
  early_media: Whether participant shall be bridged to conference before the participant
844
854
  answers (from early media if available). Defaults to `false`.
845
855
 
@@ -948,6 +958,7 @@ class AsyncParticipantsResource(AsyncAPIResource):
948
958
  "conference_status_callback_event": conference_status_callback_event,
949
959
  "conference_status_callback_method": conference_status_callback_method,
950
960
  "conference_trim": conference_trim,
961
+ "custom_headers": custom_headers,
951
962
  "early_media": early_media,
952
963
  "end_conference_on_exit": end_conference_on_exit,
953
964
  "from_": from_,
@@ -111,6 +111,7 @@ class VerificationsResource(SyncAPIResource):
111
111
  phone_number: str,
112
112
  verify_profile_id: str,
113
113
  custom_code: Optional[str] | Omit = omit,
114
+ extension: Optional[str] | Omit = omit,
114
115
  timeout_secs: int | Omit = omit,
115
116
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
116
117
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -129,6 +130,9 @@ class VerificationsResource(SyncAPIResource):
129
130
 
130
131
  custom_code: Send a self-generated numeric code to the end-user
131
132
 
133
+ extension: Optional extension to dial after call is answered using DTMF digits. Valid
134
+ digits are 0-9, A-D, \\**, and #. Pauses can be added using w (0.5s) and W (1s).
135
+
132
136
  timeout_secs: The number of seconds the verification code is valid for.
133
137
 
134
138
  extra_headers: Send extra headers
@@ -146,6 +150,7 @@ class VerificationsResource(SyncAPIResource):
146
150
  "phone_number": phone_number,
147
151
  "verify_profile_id": verify_profile_id,
148
152
  "custom_code": custom_code,
153
+ "extension": extension,
149
154
  "timeout_secs": timeout_secs,
150
155
  },
151
156
  verification_trigger_call_params.VerificationTriggerCallParams,
@@ -322,6 +327,7 @@ class AsyncVerificationsResource(AsyncAPIResource):
322
327
  phone_number: str,
323
328
  verify_profile_id: str,
324
329
  custom_code: Optional[str] | Omit = omit,
330
+ extension: Optional[str] | Omit = omit,
325
331
  timeout_secs: int | Omit = omit,
326
332
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
327
333
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -340,6 +346,9 @@ class AsyncVerificationsResource(AsyncAPIResource):
340
346
 
341
347
  custom_code: Send a self-generated numeric code to the end-user
342
348
 
349
+ extension: Optional extension to dial after call is answered using DTMF digits. Valid
350
+ digits are 0-9, A-D, \\**, and #. Pauses can be added using w (0.5s) and W (1s).
351
+
343
352
  timeout_secs: The number of seconds the verification code is valid for.
344
353
 
345
354
  extra_headers: Send extra headers
@@ -357,6 +366,7 @@ class AsyncVerificationsResource(AsyncAPIResource):
357
366
  "phone_number": phone_number,
358
367
  "verify_profile_id": verify_profile_id,
359
368
  "custom_code": custom_code,
369
+ "extension": extension,
360
370
  "timeout_secs": timeout_secs,
361
371
  },
362
372
  verification_trigger_call_params.VerificationTriggerCallParams,
@@ -2,6 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
+ from typing import Optional
5
6
  from typing_extensions import Literal
6
7
 
7
8
  import httpx
@@ -62,6 +63,7 @@ class VerifiedNumbersResource(SyncAPIResource):
62
63
  *,
63
64
  phone_number: str,
64
65
  verification_method: Literal["sms", "call"],
66
+ extension: Optional[str] | Omit = omit,
65
67
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
66
68
  # The extra values given here take precedence over values defined on the client or passed to this method.
67
69
  extra_headers: Headers | None = None,
@@ -69,12 +71,20 @@ class VerifiedNumbersResource(SyncAPIResource):
69
71
  extra_body: Body | None = None,
70
72
  timeout: float | httpx.Timeout | None | NotGiven = not_given,
71
73
  ) -> VerifiedNumberCreateResponse:
72
- """
73
- Initiates phone number verification procedure.
74
+ """Initiates phone number verification procedure.
75
+
76
+ Supports DTMF extension dialing
77
+ for voice calls to numbers behind IVR systems.
74
78
 
75
79
  Args:
76
80
  verification_method: Verification method.
77
81
 
82
+ extension: Optional DTMF extension sequence to dial after the call is answered. This
83
+ parameter enables verification of phone numbers behind IVR systems that require
84
+ extension dialing. Valid characters: digits 0-9, letters A-D, symbols \\** and #.
85
+ Pauses: w = 0.5 second pause, W = 1 second pause. Maximum length: 50 characters.
86
+ Only works with 'call' verification method.
87
+
78
88
  extra_headers: Send extra headers
79
89
 
80
90
  extra_query: Add additional query parameters to the request
@@ -89,6 +99,7 @@ class VerifiedNumbersResource(SyncAPIResource):
89
99
  {
90
100
  "phone_number": phone_number,
91
101
  "verification_method": verification_method,
102
+ "extension": extension,
92
103
  },
93
104
  verified_number_create_params.VerifiedNumberCreateParams,
94
105
  ),
@@ -236,6 +247,7 @@ class AsyncVerifiedNumbersResource(AsyncAPIResource):
236
247
  *,
237
248
  phone_number: str,
238
249
  verification_method: Literal["sms", "call"],
250
+ extension: Optional[str] | Omit = omit,
239
251
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
240
252
  # The extra values given here take precedence over values defined on the client or passed to this method.
241
253
  extra_headers: Headers | None = None,
@@ -243,12 +255,20 @@ class AsyncVerifiedNumbersResource(AsyncAPIResource):
243
255
  extra_body: Body | None = None,
244
256
  timeout: float | httpx.Timeout | None | NotGiven = not_given,
245
257
  ) -> VerifiedNumberCreateResponse:
246
- """
247
- Initiates phone number verification procedure.
258
+ """Initiates phone number verification procedure.
259
+
260
+ Supports DTMF extension dialing
261
+ for voice calls to numbers behind IVR systems.
248
262
 
249
263
  Args:
250
264
  verification_method: Verification method.
251
265
 
266
+ extension: Optional DTMF extension sequence to dial after the call is answered. This
267
+ parameter enables verification of phone numbers behind IVR systems that require
268
+ extension dialing. Valid characters: digits 0-9, letters A-D, symbols \\** and #.
269
+ Pauses: w = 0.5 second pause, W = 1 second pause. Maximum length: 50 characters.
270
+ Only works with 'call' verification method.
271
+
252
272
  extra_headers: Send extra headers
253
273
 
254
274
  extra_query: Add additional query parameters to the request
@@ -263,6 +283,7 @@ class AsyncVerifiedNumbersResource(AsyncAPIResource):
263
283
  {
264
284
  "phone_number": phone_number,
265
285
  "verification_method": verification_method,
286
+ "extension": extension,
266
287
  },
267
288
  verified_number_create_params.VerifiedNumberCreateParams,
268
289
  ),
@@ -4,7 +4,13 @@ from __future__ import annotations
4
4
 
5
5
  import httpx
6
6
 
7
- from ..types import verify_profile_list_params, verify_profile_create_params, verify_profile_update_params
7
+ from ..types import (
8
+ verify_profile_list_params,
9
+ verify_profile_create_params,
10
+ verify_profile_update_params,
11
+ verify_profile_create_template_params,
12
+ verify_profile_update_template_params,
13
+ )
8
14
  from .._types import Body, Omit, Query, Headers, NotGiven, omit, not_given
9
15
  from .._utils import maybe_transform, async_maybe_transform
10
16
  from .._compat import cached_property
@@ -16,6 +22,7 @@ from .._response import (
16
22
  async_to_streamed_response_wrapper,
17
23
  )
18
24
  from .._base_client import make_request_options
25
+ from ..types.message_template import MessageTemplate
19
26
  from ..types.verify_profile_data import VerifyProfileData
20
27
  from ..types.verify_profile_list_response import VerifyProfileListResponse
21
28
  from ..types.verify_profile_retrieve_templates_response import VerifyProfileRetrieveTemplatesResponse
@@ -257,6 +264,42 @@ class VerifyProfilesResource(SyncAPIResource):
257
264
  cast_to=VerifyProfileData,
258
265
  )
259
266
 
267
+ def create_template(
268
+ self,
269
+ *,
270
+ text: str,
271
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
272
+ # The extra values given here take precedence over values defined on the client or passed to this method.
273
+ extra_headers: Headers | None = None,
274
+ extra_query: Query | None = None,
275
+ extra_body: Body | None = None,
276
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
277
+ ) -> MessageTemplate:
278
+ """
279
+ Create a new Verify profile message template.
280
+
281
+ Args:
282
+ text: The text content of the message template.
283
+
284
+ extra_headers: Send extra headers
285
+
286
+ extra_query: Add additional query parameters to the request
287
+
288
+ extra_body: Add additional JSON properties to the request
289
+
290
+ timeout: Override the client-level default timeout for this request, in seconds
291
+ """
292
+ return self._post(
293
+ "/verify_profiles/templates",
294
+ body=maybe_transform(
295
+ {"text": text}, verify_profile_create_template_params.VerifyProfileCreateTemplateParams
296
+ ),
297
+ options=make_request_options(
298
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
299
+ ),
300
+ cast_to=MessageTemplate,
301
+ )
302
+
260
303
  def retrieve_templates(
261
304
  self,
262
305
  *,
@@ -276,6 +319,45 @@ class VerifyProfilesResource(SyncAPIResource):
276
319
  cast_to=VerifyProfileRetrieveTemplatesResponse,
277
320
  )
278
321
 
322
+ def update_template(
323
+ self,
324
+ template_id: str,
325
+ *,
326
+ text: str,
327
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
328
+ # The extra values given here take precedence over values defined on the client or passed to this method.
329
+ extra_headers: Headers | None = None,
330
+ extra_query: Query | None = None,
331
+ extra_body: Body | None = None,
332
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
333
+ ) -> MessageTemplate:
334
+ """
335
+ Update an existing Verify profile message template.
336
+
337
+ Args:
338
+ text: The text content of the message template.
339
+
340
+ extra_headers: Send extra headers
341
+
342
+ extra_query: Add additional query parameters to the request
343
+
344
+ extra_body: Add additional JSON properties to the request
345
+
346
+ timeout: Override the client-level default timeout for this request, in seconds
347
+ """
348
+ if not template_id:
349
+ raise ValueError(f"Expected a non-empty value for `template_id` but received {template_id!r}")
350
+ return self._patch(
351
+ f"/verify_profiles/templates/{template_id}",
352
+ body=maybe_transform(
353
+ {"text": text}, verify_profile_update_template_params.VerifyProfileUpdateTemplateParams
354
+ ),
355
+ options=make_request_options(
356
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
357
+ ),
358
+ cast_to=MessageTemplate,
359
+ )
360
+
279
361
 
280
362
  class AsyncVerifyProfilesResource(AsyncAPIResource):
281
363
  @cached_property
@@ -511,6 +593,42 @@ class AsyncVerifyProfilesResource(AsyncAPIResource):
511
593
  cast_to=VerifyProfileData,
512
594
  )
513
595
 
596
+ async def create_template(
597
+ self,
598
+ *,
599
+ text: str,
600
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
601
+ # The extra values given here take precedence over values defined on the client or passed to this method.
602
+ extra_headers: Headers | None = None,
603
+ extra_query: Query | None = None,
604
+ extra_body: Body | None = None,
605
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
606
+ ) -> MessageTemplate:
607
+ """
608
+ Create a new Verify profile message template.
609
+
610
+ Args:
611
+ text: The text content of the message template.
612
+
613
+ extra_headers: Send extra headers
614
+
615
+ extra_query: Add additional query parameters to the request
616
+
617
+ extra_body: Add additional JSON properties to the request
618
+
619
+ timeout: Override the client-level default timeout for this request, in seconds
620
+ """
621
+ return await self._post(
622
+ "/verify_profiles/templates",
623
+ body=await async_maybe_transform(
624
+ {"text": text}, verify_profile_create_template_params.VerifyProfileCreateTemplateParams
625
+ ),
626
+ options=make_request_options(
627
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
628
+ ),
629
+ cast_to=MessageTemplate,
630
+ )
631
+
514
632
  async def retrieve_templates(
515
633
  self,
516
634
  *,
@@ -530,6 +648,45 @@ class AsyncVerifyProfilesResource(AsyncAPIResource):
530
648
  cast_to=VerifyProfileRetrieveTemplatesResponse,
531
649
  )
532
650
 
651
+ async def update_template(
652
+ self,
653
+ template_id: str,
654
+ *,
655
+ text: str,
656
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
657
+ # The extra values given here take precedence over values defined on the client or passed to this method.
658
+ extra_headers: Headers | None = None,
659
+ extra_query: Query | None = None,
660
+ extra_body: Body | None = None,
661
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
662
+ ) -> MessageTemplate:
663
+ """
664
+ Update an existing Verify profile message template.
665
+
666
+ Args:
667
+ text: The text content of the message template.
668
+
669
+ extra_headers: Send extra headers
670
+
671
+ extra_query: Add additional query parameters to the request
672
+
673
+ extra_body: Add additional JSON properties to the request
674
+
675
+ timeout: Override the client-level default timeout for this request, in seconds
676
+ """
677
+ if not template_id:
678
+ raise ValueError(f"Expected a non-empty value for `template_id` but received {template_id!r}")
679
+ return await self._patch(
680
+ f"/verify_profiles/templates/{template_id}",
681
+ body=await async_maybe_transform(
682
+ {"text": text}, verify_profile_update_template_params.VerifyProfileUpdateTemplateParams
683
+ ),
684
+ options=make_request_options(
685
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
686
+ ),
687
+ cast_to=MessageTemplate,
688
+ )
689
+
533
690
 
534
691
  class VerifyProfilesResourceWithRawResponse:
535
692
  def __init__(self, verify_profiles: VerifyProfilesResource) -> None:
@@ -550,9 +707,15 @@ class VerifyProfilesResourceWithRawResponse:
550
707
  self.delete = to_raw_response_wrapper(
551
708
  verify_profiles.delete,
552
709
  )
710
+ self.create_template = to_raw_response_wrapper(
711
+ verify_profiles.create_template,
712
+ )
553
713
  self.retrieve_templates = to_raw_response_wrapper(
554
714
  verify_profiles.retrieve_templates,
555
715
  )
716
+ self.update_template = to_raw_response_wrapper(
717
+ verify_profiles.update_template,
718
+ )
556
719
 
557
720
 
558
721
  class AsyncVerifyProfilesResourceWithRawResponse:
@@ -574,9 +737,15 @@ class AsyncVerifyProfilesResourceWithRawResponse:
574
737
  self.delete = async_to_raw_response_wrapper(
575
738
  verify_profiles.delete,
576
739
  )
740
+ self.create_template = async_to_raw_response_wrapper(
741
+ verify_profiles.create_template,
742
+ )
577
743
  self.retrieve_templates = async_to_raw_response_wrapper(
578
744
  verify_profiles.retrieve_templates,
579
745
  )
746
+ self.update_template = async_to_raw_response_wrapper(
747
+ verify_profiles.update_template,
748
+ )
580
749
 
581
750
 
582
751
  class VerifyProfilesResourceWithStreamingResponse:
@@ -598,9 +767,15 @@ class VerifyProfilesResourceWithStreamingResponse:
598
767
  self.delete = to_streamed_response_wrapper(
599
768
  verify_profiles.delete,
600
769
  )
770
+ self.create_template = to_streamed_response_wrapper(
771
+ verify_profiles.create_template,
772
+ )
601
773
  self.retrieve_templates = to_streamed_response_wrapper(
602
774
  verify_profiles.retrieve_templates,
603
775
  )
776
+ self.update_template = to_streamed_response_wrapper(
777
+ verify_profiles.update_template,
778
+ )
604
779
 
605
780
 
606
781
  class AsyncVerifyProfilesResourceWithStreamingResponse:
@@ -622,6 +797,12 @@ class AsyncVerifyProfilesResourceWithStreamingResponse:
622
797
  self.delete = async_to_streamed_response_wrapper(
623
798
  verify_profiles.delete,
624
799
  )
800
+ self.create_template = async_to_streamed_response_wrapper(
801
+ verify_profiles.create_template,
802
+ )
625
803
  self.retrieve_templates = async_to_streamed_response_wrapper(
626
804
  verify_profiles.retrieve_templates,
627
805
  )
806
+ self.update_template = async_to_streamed_response_wrapper(
807
+ verify_profiles.update_template,
808
+ )