telnyx 3.2.0a0__py3-none-any.whl → 3.4.0a0__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 (226) hide show
  1. telnyx/_base_client.py +3 -3
  2. telnyx/_client.py +5 -0
  3. telnyx/_compat.py +48 -48
  4. telnyx/_models.py +40 -40
  5. telnyx/_types.py +35 -1
  6. telnyx/_utils/__init__.py +9 -2
  7. telnyx/_utils/_compat.py +45 -0
  8. telnyx/_utils/_datetime_parse.py +136 -0
  9. telnyx/_utils/_transform.py +11 -1
  10. telnyx/_utils/_typing.py +6 -1
  11. telnyx/_utils/_utils.py +0 -1
  12. telnyx/_version.py +1 -1
  13. telnyx/resources/__init__.py +3 -0
  14. telnyx/resources/actions/purchase.py +3 -4
  15. telnyx/resources/actions/register.py +5 -6
  16. telnyx/resources/ai/chat.py +4 -4
  17. telnyx/resources/ai/clusters.py +3 -5
  18. telnyx/resources/ai/conversations/messages.py +4 -4
  19. telnyx/resources/ai/embeddings/embeddings.py +3 -4
  20. telnyx/resources/call_control_applications.py +4 -4
  21. telnyx/resources/calls/calls.py +4 -4
  22. telnyx/resources/campaign_builder/campaign_builder.py +6 -6
  23. telnyx/resources/conferences/actions.py +19 -20
  24. telnyx/resources/credential_connections/credential_connections.py +6 -6
  25. telnyx/resources/customer_service_records.py +3 -5
  26. telnyx/resources/detail_records.py +3 -5
  27. telnyx/resources/external_connections/external_connections.py +6 -6
  28. telnyx/resources/external_connections/uploads.py +3 -3
  29. telnyx/resources/fax_applications.py +6 -6
  30. telnyx/resources/fqdn_connections.py +6 -6
  31. telnyx/resources/ip_connections.py +6 -6
  32. telnyx/resources/messages/messages.py +16 -16
  33. telnyx/resources/messaging/rcs/rcs.py +3 -5
  34. telnyx/resources/messaging_hosted_number_orders/messaging_hosted_number_orders.py +8 -8
  35. telnyx/resources/messaging_numbers_bulk_updates.py +3 -5
  36. telnyx/resources/messaging_profiles/autoresp_configs.py +5 -6
  37. telnyx/resources/messaging_profiles/messaging_profiles.py +6 -6
  38. telnyx/resources/numbers_features.py +3 -5
  39. telnyx/resources/outbound_voice_profiles.py +10 -10
  40. telnyx/resources/phone_numbers/actions.py +3 -5
  41. telnyx/resources/phone_numbers/jobs.py +10 -10
  42. telnyx/resources/phone_numbers/phone_numbers.py +3 -4
  43. telnyx/resources/portability_checks.py +3 -5
  44. telnyx/resources/porting_orders/porting_orders.py +4 -4
  45. telnyx/resources/porting_orders/verification_codes.py +4 -4
  46. telnyx/resources/recordings/actions.py +3 -5
  47. telnyx/resources/reports/mdr_usage_reports.py +4 -4
  48. telnyx/resources/reports/reports.py +3 -4
  49. telnyx/resources/rooms/sessions/actions.py +14 -14
  50. telnyx/resources/sim_cards/actions.py +5 -7
  51. telnyx/resources/sim_cards/sim_cards.py +5 -6
  52. telnyx/resources/texml_applications.py +5 -6
  53. telnyx/resources/usage_reports.py +7 -8
  54. telnyx/resources/webhooks.py +34 -0
  55. telnyx/resources/wireless_blocklists.py +5 -6
  56. telnyx/types/__init__.py +115 -4
  57. telnyx/types/actions/purchase_create_params.py +3 -2
  58. telnyx/types/actions/register_create_params.py +4 -3
  59. telnyx/types/ai/chat_create_completion_params.py +3 -2
  60. telnyx/types/ai/cluster_compute_params.py +3 -2
  61. telnyx/types/ai/conversations/message_create_params.py +3 -2
  62. telnyx/types/ai/embedding_list_params.py +3 -2
  63. telnyx/types/ai/inference_embedding_bucket_ids_param.py +3 -2
  64. telnyx/types/ai/inference_embedding_webhook_tool_params_param.py +6 -4
  65. telnyx/types/bundle_pricing/billing_bundle_list_params.py +4 -3
  66. telnyx/types/bundle_pricing/user_bundle_list_params.py +4 -3
  67. telnyx/types/bundle_pricing/user_bundle_list_unused_params.py +4 -3
  68. telnyx/types/call_ai_gather_ended_webhook_event.py +78 -0
  69. telnyx/types/call_ai_gather_message_history_updated_webhook_event.py +69 -0
  70. telnyx/types/call_ai_gather_partial_results_webhook_event.py +75 -0
  71. telnyx/types/call_answered_webhook_event.py +75 -0
  72. telnyx/types/call_bridged_webhook_event.py +58 -0
  73. telnyx/types/call_control_application_update_params.py +3 -2
  74. telnyx/types/call_conversation_ended_webhook_event.py +84 -0
  75. telnyx/types/call_conversation_insights_generated_webhook_event.py +67 -0
  76. telnyx/types/call_dial_params.py +4 -3
  77. telnyx/types/call_dtmf_received_webhook_event.py +61 -0
  78. telnyx/types/call_enqueued_webhook_event.py +59 -0
  79. telnyx/types/call_fork_started_webhook_event.py +53 -0
  80. telnyx/types/call_fork_stopped_webhook_event.py +53 -0
  81. telnyx/types/call_gather_ended_webhook_event.py +64 -0
  82. telnyx/types/call_hangup_webhook_event.py +150 -0
  83. telnyx/types/call_initiated_webhook_event.py +96 -0
  84. telnyx/types/call_left_queue_webhook_event.py +62 -0
  85. telnyx/types/call_machine_detection_ended_webhook_event.py +61 -0
  86. telnyx/types/call_machine_greeting_ended_webhook_event.py +61 -0
  87. telnyx/types/call_machine_premium_detection_ended_webhook_event.py +63 -0
  88. telnyx/types/call_machine_premium_greeting_ended_webhook_event.py +61 -0
  89. telnyx/types/call_playback_ended_webhook_event.py +70 -0
  90. telnyx/types/call_playback_started_webhook_event.py +62 -0
  91. telnyx/types/call_recording_error_webhook_event.py +60 -0
  92. telnyx/types/call_recording_saved_webhook_event.py +94 -0
  93. telnyx/types/call_recording_transcription_saved_webhook_event.py +71 -0
  94. telnyx/types/call_refer_completed_webhook_event.py +61 -0
  95. telnyx/types/call_refer_failed_webhook_event.py +61 -0
  96. telnyx/types/call_refer_started_webhook_event.py +61 -0
  97. telnyx/types/call_siprec_failed_webhook_event.py +53 -0
  98. telnyx/types/call_siprec_started_webhook_event.py +50 -0
  99. telnyx/types/call_siprec_stopped_webhook_event.py +53 -0
  100. telnyx/types/call_speak_ended_webhook_event.py +53 -0
  101. telnyx/types/call_speak_started_webhook_event.py +50 -0
  102. telnyx/types/call_streaming_failed_webhook_event.py +70 -0
  103. telnyx/types/call_streaming_started_webhook_event.py +53 -0
  104. telnyx/types/call_streaming_stopped_webhook_event.py +53 -0
  105. telnyx/types/calls/transcription_engine_a_config_param.py +4 -3
  106. telnyx/types/campaign_builder_create_params.py +4 -3
  107. telnyx/types/campaign_status_update_webhook_event.py +26 -0
  108. telnyx/types/conference_created_webhook_event.py +53 -0
  109. telnyx/types/conference_ended_webhook_event.py +56 -0
  110. telnyx/types/conference_floor_changed_webhook_event.py +45 -0
  111. telnyx/types/conference_participant_joined_webhook_event.py +53 -0
  112. telnyx/types/conference_participant_left_webhook_event.py +53 -0
  113. telnyx/types/conference_participant_playback_ended_webhook_event.py +65 -0
  114. telnyx/types/conference_participant_playback_started_webhook_event.py +65 -0
  115. telnyx/types/conference_participant_speak_ended_webhook_event.py +56 -0
  116. telnyx/types/conference_participant_speak_started_webhook_event.py +56 -0
  117. telnyx/types/conference_playback_ended_webhook_event.py +49 -0
  118. telnyx/types/conference_playback_started_webhook_event.py +49 -0
  119. telnyx/types/conference_recording_saved_webhook_event.py +103 -0
  120. telnyx/types/conference_speak_ended_webhook_event.py +40 -0
  121. telnyx/types/conference_speak_started_webhook_event.py +40 -0
  122. telnyx/types/conferences/action_hold_params.py +3 -2
  123. telnyx/types/conferences/action_join_params.py +3 -2
  124. telnyx/types/conferences/action_mute_params.py +3 -2
  125. telnyx/types/conferences/action_play_params.py +2 -2
  126. telnyx/types/conferences/action_speak_params.py +3 -2
  127. telnyx/types/conferences/action_stop_params.py +3 -2
  128. telnyx/types/conferences/action_unhold_params.py +3 -2
  129. telnyx/types/conferences/action_unmute_params.py +3 -2
  130. telnyx/types/conferences/action_update_params.py +3 -2
  131. telnyx/types/credential_connection_create_params.py +3 -2
  132. telnyx/types/credential_connection_update_params.py +3 -2
  133. telnyx/types/credential_inbound_param.py +3 -2
  134. telnyx/types/custom_sip_header.py +13 -0
  135. telnyx/types/customer_service_record_list_params.py +2 -1
  136. telnyx/types/customer_service_record_status_changed_webhook_event.py +55 -0
  137. telnyx/types/customer_service_record_verify_phone_number_coverage_params.py +3 -2
  138. telnyx/types/delivery_update_webhook_event.py +40 -0
  139. telnyx/types/detail_record_list_params.py +4 -2
  140. telnyx/types/document_list_params.py +2 -1
  141. telnyx/types/external_connection_create_params.py +4 -2
  142. telnyx/types/external_connection_update_params.py +4 -2
  143. telnyx/types/external_connections/civic_address_list_params.py +3 -2
  144. telnyx/types/external_connections/upload_create_params.py +3 -1
  145. telnyx/types/fax_application_create_params.py +3 -2
  146. telnyx/types/fax_application_update_params.py +3 -2
  147. telnyx/types/fax_delivered_webhook_event.py +69 -0
  148. telnyx/types/fax_failed_webhook_event.py +66 -0
  149. telnyx/types/fax_media_processed_webhook_event.py +63 -0
  150. telnyx/types/fax_queued_webhook_event.py +63 -0
  151. telnyx/types/fax_sending_started_webhook_event.py +63 -0
  152. telnyx/types/fqdn_connection_create_params.py +3 -2
  153. telnyx/types/fqdn_connection_update_params.py +3 -2
  154. telnyx/types/inbound_fqdn_param.py +4 -2
  155. telnyx/types/inbound_ip_param.py +3 -2
  156. telnyx/types/inbound_message_webhook_event.py +227 -0
  157. telnyx/types/ip_connection_create_params.py +4 -3
  158. telnyx/types/ip_connection_update_params.py +3 -2
  159. telnyx/types/media_list_params.py +3 -2
  160. telnyx/types/message_schedule_params.py +3 -2
  161. telnyx/types/message_send_group_mms_params.py +3 -3
  162. telnyx/types/message_send_long_code_params.py +2 -2
  163. telnyx/types/message_send_number_pool_params.py +3 -2
  164. telnyx/types/message_send_params.py +3 -2
  165. telnyx/types/message_send_short_code_params.py +2 -2
  166. telnyx/types/messaging/rc_list_bulk_capabilities_params.py +3 -2
  167. telnyx/types/messaging_hosted_number_order_check_eligibility_params.py +3 -2
  168. telnyx/types/messaging_hosted_number_order_create_params.py +3 -2
  169. telnyx/types/messaging_hosted_number_order_create_verification_codes_params.py +3 -2
  170. telnyx/types/messaging_numbers_bulk_update_create_params.py +3 -2
  171. telnyx/types/messaging_profile_create_params.py +3 -2
  172. telnyx/types/messaging_profile_update_params.py +3 -2
  173. telnyx/types/messaging_profiles/autoresp_config_create_params.py +3 -2
  174. telnyx/types/messaging_profiles/autoresp_config_update_params.py +3 -2
  175. telnyx/types/messsage_rcs_params.py +2 -2
  176. telnyx/types/number_order_status_update_webhook_event.py +12 -0
  177. telnyx/types/numbers_feature_create_params.py +3 -2
  178. telnyx/types/outbound_call_recording_param.py +3 -2
  179. telnyx/types/outbound_voice_profile_create_params.py +4 -3
  180. telnyx/types/outbound_voice_profile_update_params.py +4 -3
  181. telnyx/types/phone_number_list_params.py +3 -2
  182. telnyx/types/phone_number_slim_list_params.py +3 -2
  183. telnyx/types/phone_number_update_params.py +3 -2
  184. telnyx/types/phone_numbers/action_verify_ownership_params.py +3 -2
  185. telnyx/types/phone_numbers/job_delete_batch_params.py +3 -2
  186. telnyx/types/phone_numbers/job_update_batch_params.py +3 -3
  187. telnyx/types/phone_numbers/job_update_emergency_settings_batch_params.py +4 -2
  188. telnyx/types/portability_check_run_params.py +3 -2
  189. telnyx/types/porting/export_porting_orders_csv_report_param.py +2 -1
  190. telnyx/types/porting_order_create_params.py +3 -2
  191. telnyx/types/porting_order_phone_number_configuration_param.py +3 -2
  192. telnyx/types/porting_orders/action_requirement_list_params.py +3 -2
  193. telnyx/types/porting_orders/phone_number_block_list_params.py +5 -3
  194. telnyx/types/porting_orders/phone_number_configuration_list_params.py +3 -2
  195. telnyx/types/porting_orders/verification_code_send_params.py +3 -2
  196. telnyx/types/portout_list_params.py +2 -1
  197. telnyx/types/portouts/export_portouts_csv_report_param.py +3 -2
  198. telnyx/types/recordings/action_delete_params.py +3 -2
  199. telnyx/types/replaced_link_click_webhook_event.py +32 -0
  200. telnyx/types/report_list_wdrs_params.py +3 -2
  201. telnyx/types/reports/mdr_usage_report_fetch_sync_params.py +3 -2
  202. telnyx/types/rooms/sessions/action_kick_params.py +5 -3
  203. telnyx/types/rooms/sessions/action_mute_params.py +5 -3
  204. telnyx/types/rooms/sessions/action_unmute_params.py +5 -3
  205. telnyx/types/sim_card_list_params.py +2 -1
  206. telnyx/types/sim_card_update_params.py +3 -3
  207. telnyx/types/sim_cards/action_bulk_set_public_ips_params.py +3 -2
  208. telnyx/types/sim_cards/action_validate_registration_codes_params.py +3 -2
  209. telnyx/types/sip_header.py +15 -0
  210. telnyx/types/streaming_failed_webhook_event.py +70 -0
  211. telnyx/types/streaming_started_webhook_event.py +53 -0
  212. telnyx/types/streaming_stopped_webhook_event.py +53 -0
  213. telnyx/types/texml_application_create_params.py +2 -2
  214. telnyx/types/texml_application_update_params.py +2 -2
  215. telnyx/types/transcription_webhook_event.py +72 -0
  216. telnyx/types/unwrap_webhook_event.py +138 -0
  217. telnyx/types/usage_report_list_params.py +5 -4
  218. telnyx/types/verify_profile_create_params.py +6 -4
  219. telnyx/types/verify_profile_update_params.py +6 -4
  220. telnyx/types/video_region_param.py +4 -2
  221. telnyx/types/wireless_blocklist_create_params.py +3 -2
  222. telnyx/types/wireless_blocklist_update_params.py +3 -2
  223. {telnyx-3.2.0a0.dist-info → telnyx-3.4.0a0.dist-info}/METADATA +1 -1
  224. {telnyx-3.2.0a0.dist-info → telnyx-3.4.0a0.dist-info}/RECORD +226 -156
  225. {telnyx-3.2.0a0.dist-info → telnyx-3.4.0a0.dist-info}/WHEEL +0 -0
  226. {telnyx-3.2.0a0.dist-info → telnyx-3.4.0a0.dist-info}/licenses/LICENSE +0 -0
@@ -2,8 +2,6 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import List
6
-
7
5
  import httpx
8
6
 
9
7
  from .agents import (
@@ -14,7 +12,7 @@ from .agents import (
14
12
  AgentsResourceWithStreamingResponse,
15
13
  AsyncAgentsResourceWithStreamingResponse,
16
14
  )
17
- from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
15
+ from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven, SequenceNotStr
18
16
  from ...._utils import maybe_transform, async_maybe_transform
19
17
  from ...._compat import cached_property
20
18
  from ...._resource import SyncAPIResource, AsyncAPIResource
@@ -97,7 +95,7 @@ class RcsResource(SyncAPIResource):
97
95
  self,
98
96
  *,
99
97
  agent_id: str,
100
- phone_numbers: List[str],
98
+ phone_numbers: SequenceNotStr[str],
101
99
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
102
100
  # The extra values given here take precedence over values defined on the client or passed to this method.
103
101
  extra_headers: Headers | None = None,
@@ -237,7 +235,7 @@ class AsyncRcsResource(AsyncAPIResource):
237
235
  self,
238
236
  *,
239
237
  agent_id: str,
240
- phone_numbers: List[str],
238
+ phone_numbers: SequenceNotStr[str],
241
239
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
242
240
  # The extra values given here take precedence over values defined on the client or passed to this method.
243
241
  extra_headers: Headers | None = None,
@@ -2,7 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import List, Iterable
5
+ from typing import Iterable
6
6
  from typing_extensions import Literal
7
7
 
8
8
  import httpx
@@ -22,7 +22,7 @@ from .actions import (
22
22
  ActionsResourceWithStreamingResponse,
23
23
  AsyncActionsResourceWithStreamingResponse,
24
24
  )
25
- from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
25
+ from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven, SequenceNotStr
26
26
  from ..._utils import maybe_transform, async_maybe_transform
27
27
  from ..._compat import cached_property
28
28
  from ..._resource import SyncAPIResource, AsyncAPIResource
@@ -78,7 +78,7 @@ class MessagingHostedNumberOrdersResource(SyncAPIResource):
78
78
  self,
79
79
  *,
80
80
  messaging_profile_id: str | NotGiven = NOT_GIVEN,
81
- phone_numbers: List[str] | NotGiven = NOT_GIVEN,
81
+ phone_numbers: SequenceNotStr[str] | NotGiven = NOT_GIVEN,
82
82
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
83
83
  # The extra values given here take precedence over values defined on the client or passed to this method.
84
84
  extra_headers: Headers | None = None,
@@ -227,7 +227,7 @@ class MessagingHostedNumberOrdersResource(SyncAPIResource):
227
227
  def check_eligibility(
228
228
  self,
229
229
  *,
230
- phone_numbers: List[str],
230
+ phone_numbers: SequenceNotStr[str],
231
231
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
232
232
  # The extra values given here take precedence over values defined on the client or passed to this method.
233
233
  extra_headers: Headers | None = None,
@@ -265,7 +265,7 @@ class MessagingHostedNumberOrdersResource(SyncAPIResource):
265
265
  self,
266
266
  id: str,
267
267
  *,
268
- phone_numbers: List[str],
268
+ phone_numbers: SequenceNotStr[str],
269
269
  verification_method: Literal["sms", "call", "flashcall"],
270
270
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
271
271
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -374,7 +374,7 @@ class AsyncMessagingHostedNumberOrdersResource(AsyncAPIResource):
374
374
  self,
375
375
  *,
376
376
  messaging_profile_id: str | NotGiven = NOT_GIVEN,
377
- phone_numbers: List[str] | NotGiven = NOT_GIVEN,
377
+ phone_numbers: SequenceNotStr[str] | NotGiven = NOT_GIVEN,
378
378
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
379
379
  # The extra values given here take precedence over values defined on the client or passed to this method.
380
380
  extra_headers: Headers | None = None,
@@ -523,7 +523,7 @@ class AsyncMessagingHostedNumberOrdersResource(AsyncAPIResource):
523
523
  async def check_eligibility(
524
524
  self,
525
525
  *,
526
- phone_numbers: List[str],
526
+ phone_numbers: SequenceNotStr[str],
527
527
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
528
528
  # The extra values given here take precedence over values defined on the client or passed to this method.
529
529
  extra_headers: Headers | None = None,
@@ -561,7 +561,7 @@ class AsyncMessagingHostedNumberOrdersResource(AsyncAPIResource):
561
561
  self,
562
562
  id: str,
563
563
  *,
564
- phone_numbers: List[str],
564
+ phone_numbers: SequenceNotStr[str],
565
565
  verification_method: Literal["sms", "call", "flashcall"],
566
566
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
567
567
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -2,12 +2,10 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import List
6
-
7
5
  import httpx
8
6
 
9
7
  from ..types import messaging_numbers_bulk_update_create_params
10
- from .._types import NOT_GIVEN, Body, Query, Headers, NotGiven
8
+ from .._types import NOT_GIVEN, Body, Query, Headers, NotGiven, SequenceNotStr
11
9
  from .._utils import maybe_transform, async_maybe_transform
12
10
  from .._compat import cached_property
13
11
  from .._resource import SyncAPIResource, AsyncAPIResource
@@ -48,7 +46,7 @@ class MessagingNumbersBulkUpdatesResource(SyncAPIResource):
48
46
  self,
49
47
  *,
50
48
  messaging_profile_id: str,
51
- numbers: List[str],
49
+ numbers: SequenceNotStr[str],
52
50
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
53
51
  # The extra values given here take precedence over values defined on the client or passed to this method.
54
52
  extra_headers: Headers | None = None,
@@ -151,7 +149,7 @@ class AsyncMessagingNumbersBulkUpdatesResource(AsyncAPIResource):
151
149
  self,
152
150
  *,
153
151
  messaging_profile_id: str,
154
- numbers: List[str],
152
+ numbers: SequenceNotStr[str],
155
153
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
156
154
  # The extra values given here take precedence over values defined on the client or passed to this method.
157
155
  extra_headers: Headers | None = None,
@@ -2,12 +2,11 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import List
6
5
  from typing_extensions import Literal
7
6
 
8
7
  import httpx
9
8
 
10
- from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
9
+ from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven, SequenceNotStr
11
10
  from ..._utils import maybe_transform, async_maybe_transform
12
11
  from ..._compat import cached_property
13
12
  from ..._resource import SyncAPIResource, AsyncAPIResource
@@ -54,7 +53,7 @@ class AutorespConfigsResource(SyncAPIResource):
54
53
  profile_id: str,
55
54
  *,
56
55
  country_code: str,
57
- keywords: List[str],
56
+ keywords: SequenceNotStr[str],
58
57
  op: Literal["start", "stop", "info"],
59
58
  resp_text: str | NotGiven = NOT_GIVEN,
60
59
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -137,7 +136,7 @@ class AutorespConfigsResource(SyncAPIResource):
137
136
  *,
138
137
  profile_id: str,
139
138
  country_code: str,
140
- keywords: List[str],
139
+ keywords: SequenceNotStr[str],
141
140
  op: Literal["start", "stop", "info"],
142
141
  resp_text: str | NotGiven = NOT_GIVEN,
143
142
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -297,7 +296,7 @@ class AsyncAutorespConfigsResource(AsyncAPIResource):
297
296
  profile_id: str,
298
297
  *,
299
298
  country_code: str,
300
- keywords: List[str],
299
+ keywords: SequenceNotStr[str],
301
300
  op: Literal["start", "stop", "info"],
302
301
  resp_text: str | NotGiven = NOT_GIVEN,
303
302
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -380,7 +379,7 @@ class AsyncAutorespConfigsResource(AsyncAPIResource):
380
379
  *,
381
380
  profile_id: str,
382
381
  country_code: str,
383
- keywords: List[str],
382
+ keywords: SequenceNotStr[str],
384
383
  op: Literal["start", "stop", "info"],
385
384
  resp_text: str | NotGiven = NOT_GIVEN,
386
385
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -2,7 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import List, Optional
5
+ from typing import Optional
6
6
  from typing_extensions import Literal
7
7
 
8
8
  import httpx
@@ -14,7 +14,7 @@ from ...types import (
14
14
  messaging_profile_list_short_codes_params,
15
15
  messaging_profile_list_phone_numbers_params,
16
16
  )
17
- from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
17
+ from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven, SequenceNotStr
18
18
  from ..._utils import maybe_transform, async_maybe_transform
19
19
  from ..._compat import cached_property
20
20
  from ..._resource import SyncAPIResource, AsyncAPIResource
@@ -74,7 +74,7 @@ class MessagingProfilesResource(SyncAPIResource):
74
74
  self,
75
75
  *,
76
76
  name: str,
77
- whitelisted_destinations: List[str],
77
+ whitelisted_destinations: SequenceNotStr[str],
78
78
  alpha_sender: Optional[str] | NotGiven = NOT_GIVEN,
79
79
  daily_spend_limit: str | NotGiven = NOT_GIVEN,
80
80
  daily_spend_limit_enabled: bool | NotGiven = NOT_GIVEN,
@@ -223,7 +223,7 @@ class MessagingProfilesResource(SyncAPIResource):
223
223
  webhook_api_version: Literal["1", "2", "2010-04-01"] | NotGiven = NOT_GIVEN,
224
224
  webhook_failover_url: Optional[str] | NotGiven = NOT_GIVEN,
225
225
  webhook_url: Optional[str] | NotGiven = NOT_GIVEN,
226
- whitelisted_destinations: List[str] | NotGiven = NOT_GIVEN,
226
+ whitelisted_destinations: SequenceNotStr[str] | NotGiven = NOT_GIVEN,
227
227
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
228
228
  # The extra values given here take precedence over values defined on the client or passed to this method.
229
229
  extra_headers: Headers | None = None,
@@ -513,7 +513,7 @@ class AsyncMessagingProfilesResource(AsyncAPIResource):
513
513
  self,
514
514
  *,
515
515
  name: str,
516
- whitelisted_destinations: List[str],
516
+ whitelisted_destinations: SequenceNotStr[str],
517
517
  alpha_sender: Optional[str] | NotGiven = NOT_GIVEN,
518
518
  daily_spend_limit: str | NotGiven = NOT_GIVEN,
519
519
  daily_spend_limit_enabled: bool | NotGiven = NOT_GIVEN,
@@ -662,7 +662,7 @@ class AsyncMessagingProfilesResource(AsyncAPIResource):
662
662
  webhook_api_version: Literal["1", "2", "2010-04-01"] | NotGiven = NOT_GIVEN,
663
663
  webhook_failover_url: Optional[str] | NotGiven = NOT_GIVEN,
664
664
  webhook_url: Optional[str] | NotGiven = NOT_GIVEN,
665
- whitelisted_destinations: List[str] | NotGiven = NOT_GIVEN,
665
+ whitelisted_destinations: SequenceNotStr[str] | NotGiven = NOT_GIVEN,
666
666
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
667
667
  # The extra values given here take precedence over values defined on the client or passed to this method.
668
668
  extra_headers: Headers | None = None,
@@ -2,12 +2,10 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import List
6
-
7
5
  import httpx
8
6
 
9
7
  from ..types import numbers_feature_create_params
10
- from .._types import NOT_GIVEN, Body, Query, Headers, NotGiven
8
+ from .._types import NOT_GIVEN, Body, Query, Headers, NotGiven, SequenceNotStr
11
9
  from .._utils import maybe_transform, async_maybe_transform
12
10
  from .._compat import cached_property
13
11
  from .._resource import SyncAPIResource, AsyncAPIResource
@@ -46,7 +44,7 @@ class NumbersFeaturesResource(SyncAPIResource):
46
44
  def create(
47
45
  self,
48
46
  *,
49
- phone_numbers: List[str],
47
+ phone_numbers: SequenceNotStr[str],
50
48
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
51
49
  # The extra values given here take precedence over values defined on the client or passed to this method.
52
50
  extra_headers: Headers | None = None,
@@ -101,7 +99,7 @@ class AsyncNumbersFeaturesResource(AsyncAPIResource):
101
99
  async def create(
102
100
  self,
103
101
  *,
104
- phone_numbers: List[str],
102
+ phone_numbers: SequenceNotStr[str],
105
103
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
106
104
  # The extra values given here take precedence over values defined on the client or passed to this method.
107
105
  extra_headers: Headers | None = None,
@@ -2,7 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import List, Optional
5
+ from typing import Optional
6
6
  from typing_extensions import Literal
7
7
 
8
8
  import httpx
@@ -15,7 +15,7 @@ from ..types import (
15
15
  outbound_voice_profile_create_params,
16
16
  outbound_voice_profile_update_params,
17
17
  )
18
- from .._types import NOT_GIVEN, Body, Query, Headers, NotGiven
18
+ from .._types import NOT_GIVEN, Body, Query, Headers, NotGiven, SequenceNotStr
19
19
  from .._utils import maybe_transform, async_maybe_transform
20
20
  from .._compat import cached_property
21
21
  from .._resource import SyncAPIResource, AsyncAPIResource
@@ -71,10 +71,10 @@ class OutboundVoiceProfilesResource(SyncAPIResource):
71
71
  enabled: bool | NotGiven = NOT_GIVEN,
72
72
  max_destination_rate: float | NotGiven = NOT_GIVEN,
73
73
  service_plan: ServicePlan | NotGiven = NOT_GIVEN,
74
- tags: List[str] | NotGiven = NOT_GIVEN,
74
+ tags: SequenceNotStr[str] | NotGiven = NOT_GIVEN,
75
75
  traffic_type: TrafficType | NotGiven = NOT_GIVEN,
76
76
  usage_payment_method: UsagePaymentMethod | NotGiven = NOT_GIVEN,
77
- whitelisted_destinations: List[str] | NotGiven = NOT_GIVEN,
77
+ whitelisted_destinations: SequenceNotStr[str] | NotGiven = NOT_GIVEN,
78
78
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
79
79
  # The extra values given here take precedence over values defined on the client or passed to this method.
80
80
  extra_headers: Headers | None = None,
@@ -194,10 +194,10 @@ class OutboundVoiceProfilesResource(SyncAPIResource):
194
194
  enabled: bool | NotGiven = NOT_GIVEN,
195
195
  max_destination_rate: float | NotGiven = NOT_GIVEN,
196
196
  service_plan: ServicePlan | NotGiven = NOT_GIVEN,
197
- tags: List[str] | NotGiven = NOT_GIVEN,
197
+ tags: SequenceNotStr[str] | NotGiven = NOT_GIVEN,
198
198
  traffic_type: TrafficType | NotGiven = NOT_GIVEN,
199
199
  usage_payment_method: UsagePaymentMethod | NotGiven = NOT_GIVEN,
200
- whitelisted_destinations: List[str] | NotGiven = NOT_GIVEN,
200
+ whitelisted_destinations: SequenceNotStr[str] | NotGiven = NOT_GIVEN,
201
201
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
202
202
  # The extra values given here take precedence over values defined on the client or passed to this method.
203
203
  extra_headers: Headers | None = None,
@@ -420,10 +420,10 @@ class AsyncOutboundVoiceProfilesResource(AsyncAPIResource):
420
420
  enabled: bool | NotGiven = NOT_GIVEN,
421
421
  max_destination_rate: float | NotGiven = NOT_GIVEN,
422
422
  service_plan: ServicePlan | NotGiven = NOT_GIVEN,
423
- tags: List[str] | NotGiven = NOT_GIVEN,
423
+ tags: SequenceNotStr[str] | NotGiven = NOT_GIVEN,
424
424
  traffic_type: TrafficType | NotGiven = NOT_GIVEN,
425
425
  usage_payment_method: UsagePaymentMethod | NotGiven = NOT_GIVEN,
426
- whitelisted_destinations: List[str] | NotGiven = NOT_GIVEN,
426
+ whitelisted_destinations: SequenceNotStr[str] | NotGiven = NOT_GIVEN,
427
427
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
428
428
  # The extra values given here take precedence over values defined on the client or passed to this method.
429
429
  extra_headers: Headers | None = None,
@@ -543,10 +543,10 @@ class AsyncOutboundVoiceProfilesResource(AsyncAPIResource):
543
543
  enabled: bool | NotGiven = NOT_GIVEN,
544
544
  max_destination_rate: float | NotGiven = NOT_GIVEN,
545
545
  service_plan: ServicePlan | NotGiven = NOT_GIVEN,
546
- tags: List[str] | NotGiven = NOT_GIVEN,
546
+ tags: SequenceNotStr[str] | NotGiven = NOT_GIVEN,
547
547
  traffic_type: TrafficType | NotGiven = NOT_GIVEN,
548
548
  usage_payment_method: UsagePaymentMethod | NotGiven = NOT_GIVEN,
549
- whitelisted_destinations: List[str] | NotGiven = NOT_GIVEN,
549
+ whitelisted_destinations: SequenceNotStr[str] | NotGiven = NOT_GIVEN,
550
550
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
551
551
  # The extra values given here take precedence over values defined on the client or passed to this method.
552
552
  extra_headers: Headers | None = None,
@@ -2,11 +2,9 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import List
6
-
7
5
  import httpx
8
6
 
9
- from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
7
+ from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven, SequenceNotStr
10
8
  from ..._utils import maybe_transform, async_maybe_transform
11
9
  from ..._compat import cached_property
12
10
  from ..._resource import SyncAPIResource, AsyncAPIResource
@@ -142,7 +140,7 @@ class ActionsResource(SyncAPIResource):
142
140
  def verify_ownership(
143
141
  self,
144
142
  *,
145
- phone_numbers: List[str],
143
+ phone_numbers: SequenceNotStr[str],
146
144
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
147
145
  # The extra values given here take precedence over values defined on the client or passed to this method.
148
146
  extra_headers: Headers | None = None,
@@ -290,7 +288,7 @@ class AsyncActionsResource(AsyncAPIResource):
290
288
  async def verify_ownership(
291
289
  self,
292
290
  *,
293
- phone_numbers: List[str],
291
+ phone_numbers: SequenceNotStr[str],
294
292
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
295
293
  # The extra values given here take precedence over values defined on the client or passed to this method.
296
294
  extra_headers: Headers | None = None,
@@ -2,12 +2,12 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import List, Optional
5
+ from typing import Optional
6
6
  from typing_extensions import Literal
7
7
 
8
8
  import httpx
9
9
 
10
- from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
10
+ from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven, SequenceNotStr
11
11
  from ..._utils import maybe_transform, async_maybe_transform
12
12
  from ..._compat import cached_property
13
13
  from ..._resource import SyncAPIResource, AsyncAPIResource
@@ -142,7 +142,7 @@ class JobsResource(SyncAPIResource):
142
142
  def delete_batch(
143
143
  self,
144
144
  *,
145
- phone_numbers: List[str],
145
+ phone_numbers: SequenceNotStr[str],
146
146
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
147
147
  # The extra values given here take precedence over values defined on the client or passed to this method.
148
148
  extra_headers: Headers | None = None,
@@ -176,14 +176,14 @@ class JobsResource(SyncAPIResource):
176
176
  def update_batch(
177
177
  self,
178
178
  *,
179
- phone_numbers: List[str],
179
+ phone_numbers: SequenceNotStr[str],
180
180
  filter: job_update_batch_params.Filter | NotGiven = NOT_GIVEN,
181
181
  billing_group_id: str | NotGiven = NOT_GIVEN,
182
182
  connection_id: str | NotGiven = NOT_GIVEN,
183
183
  customer_reference: str | NotGiven = NOT_GIVEN,
184
184
  external_pin: str | NotGiven = NOT_GIVEN,
185
185
  hd_voice_enabled: bool | NotGiven = NOT_GIVEN,
186
- tags: List[str] | NotGiven = NOT_GIVEN,
186
+ tags: SequenceNotStr[str] | NotGiven = NOT_GIVEN,
187
187
  voice: UpdateVoiceSettingsParam | NotGiven = NOT_GIVEN,
188
188
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
189
189
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -272,7 +272,7 @@ class JobsResource(SyncAPIResource):
272
272
  self,
273
273
  *,
274
274
  emergency_enabled: bool,
275
- phone_numbers: List[str],
275
+ phone_numbers: SequenceNotStr[str],
276
276
  emergency_address_id: Optional[str] | NotGiven = NOT_GIVEN,
277
277
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
278
278
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -425,7 +425,7 @@ class AsyncJobsResource(AsyncAPIResource):
425
425
  async def delete_batch(
426
426
  self,
427
427
  *,
428
- phone_numbers: List[str],
428
+ phone_numbers: SequenceNotStr[str],
429
429
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
430
430
  # The extra values given here take precedence over values defined on the client or passed to this method.
431
431
  extra_headers: Headers | None = None,
@@ -461,14 +461,14 @@ class AsyncJobsResource(AsyncAPIResource):
461
461
  async def update_batch(
462
462
  self,
463
463
  *,
464
- phone_numbers: List[str],
464
+ phone_numbers: SequenceNotStr[str],
465
465
  filter: job_update_batch_params.Filter | NotGiven = NOT_GIVEN,
466
466
  billing_group_id: str | NotGiven = NOT_GIVEN,
467
467
  connection_id: str | NotGiven = NOT_GIVEN,
468
468
  customer_reference: str | NotGiven = NOT_GIVEN,
469
469
  external_pin: str | NotGiven = NOT_GIVEN,
470
470
  hd_voice_enabled: bool | NotGiven = NOT_GIVEN,
471
- tags: List[str] | NotGiven = NOT_GIVEN,
471
+ tags: SequenceNotStr[str] | NotGiven = NOT_GIVEN,
472
472
  voice: UpdateVoiceSettingsParam | NotGiven = NOT_GIVEN,
473
473
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
474
474
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -557,7 +557,7 @@ class AsyncJobsResource(AsyncAPIResource):
557
557
  self,
558
558
  *,
559
559
  emergency_enabled: bool,
560
- phone_numbers: List[str],
560
+ phone_numbers: SequenceNotStr[str],
561
561
  emergency_address_id: Optional[str] | NotGiven = NOT_GIVEN,
562
562
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
563
563
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -2,7 +2,6 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import List
6
5
  from typing_extensions import Literal
7
6
 
8
7
  import httpx
@@ -32,7 +31,7 @@ from .actions import (
32
31
  ActionsResourceWithStreamingResponse,
33
32
  AsyncActionsResourceWithStreamingResponse,
34
33
  )
35
- from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
34
+ from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven, SequenceNotStr
36
35
  from ..._utils import maybe_transform, async_maybe_transform
37
36
  from ..._compat import cached_property
38
37
  from .messaging import (
@@ -162,7 +161,7 @@ class PhoneNumbersResource(SyncAPIResource):
162
161
  customer_reference: str | NotGiven = NOT_GIVEN,
163
162
  external_pin: str | NotGiven = NOT_GIVEN,
164
163
  hd_voice_enabled: bool | NotGiven = NOT_GIVEN,
165
- tags: List[str] | NotGiven = NOT_GIVEN,
164
+ tags: SequenceNotStr[str] | NotGiven = NOT_GIVEN,
166
165
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
167
166
  # The extra values given here take precedence over values defined on the client or passed to this method.
168
167
  extra_headers: Headers | None = None,
@@ -461,7 +460,7 @@ class AsyncPhoneNumbersResource(AsyncAPIResource):
461
460
  customer_reference: str | NotGiven = NOT_GIVEN,
462
461
  external_pin: str | NotGiven = NOT_GIVEN,
463
462
  hd_voice_enabled: bool | NotGiven = NOT_GIVEN,
464
- tags: List[str] | NotGiven = NOT_GIVEN,
463
+ tags: SequenceNotStr[str] | NotGiven = NOT_GIVEN,
465
464
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
466
465
  # The extra values given here take precedence over values defined on the client or passed to this method.
467
466
  extra_headers: Headers | None = None,
@@ -2,12 +2,10 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import List
6
-
7
5
  import httpx
8
6
 
9
7
  from ..types import portability_check_run_params
10
- from .._types import NOT_GIVEN, Body, Query, Headers, NotGiven
8
+ from .._types import NOT_GIVEN, Body, Query, Headers, NotGiven, SequenceNotStr
11
9
  from .._utils import maybe_transform, async_maybe_transform
12
10
  from .._compat import cached_property
13
11
  from .._resource import SyncAPIResource, AsyncAPIResource
@@ -46,7 +44,7 @@ class PortabilityChecksResource(SyncAPIResource):
46
44
  def run(
47
45
  self,
48
46
  *,
49
- phone_numbers: List[str] | NotGiven = NOT_GIVEN,
47
+ phone_numbers: SequenceNotStr[str] | NotGiven = NOT_GIVEN,
50
48
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
51
49
  # The extra values given here take precedence over values defined on the client or passed to this method.
52
50
  extra_headers: Headers | None = None,
@@ -103,7 +101,7 @@ class AsyncPortabilityChecksResource(AsyncAPIResource):
103
101
  async def run(
104
102
  self,
105
103
  *,
106
- phone_numbers: List[str] | NotGiven = NOT_GIVEN,
104
+ phone_numbers: SequenceNotStr[str] | NotGiven = NOT_GIVEN,
107
105
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
108
106
  # The extra values given here take precedence over values defined on the client or passed to this method.
109
107
  extra_headers: Headers | None = None,
@@ -2,7 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import List, Iterable
5
+ from typing import Iterable
6
6
 
7
7
  import httpx
8
8
 
@@ -22,7 +22,7 @@ from .actions import (
22
22
  ActionsResourceWithStreamingResponse,
23
23
  AsyncActionsResourceWithStreamingResponse,
24
24
  )
25
- from ..._types import NOT_GIVEN, Body, Query, Headers, NoneType, NotGiven
25
+ from ..._types import NOT_GIVEN, Body, Query, Headers, NoneType, NotGiven, SequenceNotStr
26
26
  from ..._utils import maybe_transform, async_maybe_transform
27
27
  from .comments import (
28
28
  CommentsResource,
@@ -193,7 +193,7 @@ class PortingOrdersResource(SyncAPIResource):
193
193
  def create(
194
194
  self,
195
195
  *,
196
- phone_numbers: List[str],
196
+ phone_numbers: SequenceNotStr[str],
197
197
  customer_reference: str | NotGiven = NOT_GIVEN,
198
198
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
199
199
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -692,7 +692,7 @@ class AsyncPortingOrdersResource(AsyncAPIResource):
692
692
  async def create(
693
693
  self,
694
694
  *,
695
- phone_numbers: List[str],
695
+ phone_numbers: SequenceNotStr[str],
696
696
  customer_reference: str | NotGiven = NOT_GIVEN,
697
697
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
698
698
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -2,12 +2,12 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import List, Iterable
5
+ from typing import Iterable
6
6
  from typing_extensions import Literal
7
7
 
8
8
  import httpx
9
9
 
10
- from ..._types import NOT_GIVEN, Body, Query, Headers, NoneType, NotGiven
10
+ from ..._types import NOT_GIVEN, Body, Query, Headers, NoneType, NotGiven, SequenceNotStr
11
11
  from ..._utils import maybe_transform, async_maybe_transform
12
12
  from ..._compat import cached_property
13
13
  from ..._resource import SyncAPIResource, AsyncAPIResource
@@ -107,7 +107,7 @@ class VerificationCodesResource(SyncAPIResource):
107
107
  self,
108
108
  id: str,
109
109
  *,
110
- phone_numbers: List[str] | NotGiven = NOT_GIVEN,
110
+ phone_numbers: SequenceNotStr[str] | NotGiven = NOT_GIVEN,
111
111
  verification_method: Literal["sms", "call"] | NotGiven = NOT_GIVEN,
112
112
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
113
113
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -262,7 +262,7 @@ class AsyncVerificationCodesResource(AsyncAPIResource):
262
262
  self,
263
263
  id: str,
264
264
  *,
265
- phone_numbers: List[str] | NotGiven = NOT_GIVEN,
265
+ phone_numbers: SequenceNotStr[str] | NotGiven = NOT_GIVEN,
266
266
  verification_method: Literal["sms", "call"] | NotGiven = NOT_GIVEN,
267
267
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
268
268
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -2,11 +2,9 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import List
6
-
7
5
  import httpx
8
6
 
9
- from ..._types import NOT_GIVEN, Body, Query, Headers, NoneType, NotGiven
7
+ from ..._types import NOT_GIVEN, Body, Query, Headers, NoneType, NotGiven, SequenceNotStr
10
8
  from ..._utils import maybe_transform, async_maybe_transform
11
9
  from ..._compat import cached_property
12
10
  from ..._resource import SyncAPIResource, AsyncAPIResource
@@ -45,7 +43,7 @@ class ActionsResource(SyncAPIResource):
45
43
  def delete(
46
44
  self,
47
45
  *,
48
- ids: List[str],
46
+ ids: SequenceNotStr[str],
49
47
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
50
48
  # The extra values given here take precedence over values defined on the client or passed to this method.
51
49
  extra_headers: Headers | None = None,
@@ -101,7 +99,7 @@ class AsyncActionsResource(AsyncAPIResource):
101
99
  async def delete(
102
100
  self,
103
101
  *,
104
- ids: List[str],
102
+ ids: SequenceNotStr[str],
105
103
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
106
104
  # The extra values given here take precedence over values defined on the client or passed to this method.
107
105
  extra_headers: Headers | None = None,
@@ -2,13 +2,13 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing import List, Union
5
+ from typing import Union
6
6
  from datetime import datetime
7
7
  from typing_extensions import Literal
8
8
 
9
9
  import httpx
10
10
 
11
- from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
11
+ from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven, SequenceNotStr
12
12
  from ..._utils import maybe_transform, async_maybe_transform
13
13
  from ..._compat import cached_property
14
14
  from ..._resource import SyncAPIResource, AsyncAPIResource
@@ -209,7 +209,7 @@ class MdrUsageReportsResource(SyncAPIResource):
209
209
  *,
210
210
  aggregation_type: Literal["NO_AGGREGATION", "PROFILE", "TAGS"],
211
211
  end_date: Union[str, datetime] | NotGiven = NOT_GIVEN,
212
- profiles: List[str] | NotGiven = NOT_GIVEN,
212
+ profiles: SequenceNotStr[str] | NotGiven = NOT_GIVEN,
213
213
  start_date: Union[str, datetime] | NotGiven = NOT_GIVEN,
214
214
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
215
215
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -432,7 +432,7 @@ class AsyncMdrUsageReportsResource(AsyncAPIResource):
432
432
  *,
433
433
  aggregation_type: Literal["NO_AGGREGATION", "PROFILE", "TAGS"],
434
434
  end_date: Union[str, datetime] | NotGiven = NOT_GIVEN,
435
- profiles: List[str] | NotGiven = NOT_GIVEN,
435
+ profiles: SequenceNotStr[str] | NotGiven = NOT_GIVEN,
436
436
  start_date: Union[str, datetime] | NotGiven = NOT_GIVEN,
437
437
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
438
438
  # The extra values given here take precedence over values defined on the client or passed to this method.