telnyx 3.4.0a0__py3-none-any.whl → 3.5.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.
- telnyx/__init__.py +3 -1
- telnyx/_base_client.py +9 -9
- telnyx/_client.py +35 -34
- telnyx/_models.py +10 -4
- telnyx/_qs.py +7 -7
- telnyx/_types.py +18 -11
- telnyx/_utils/_transform.py +2 -2
- telnyx/_utils/_utils.py +4 -4
- telnyx/_version.py +1 -1
- telnyx/resources/access_ip_address.py +15 -15
- telnyx/resources/access_ip_ranges.py +13 -13
- telnyx/resources/actions/purchase.py +13 -13
- telnyx/resources/actions/register.py +9 -9
- telnyx/resources/addresses/actions.py +13 -13
- telnyx/resources/addresses/addresses.py +33 -35
- telnyx/resources/advanced_orders.py +41 -45
- telnyx/resources/ai/ai.py +7 -7
- telnyx/resources/ai/assistants/assistants.py +89 -89
- telnyx/resources/ai/assistants/canary_deploys.py +9 -9
- telnyx/resources/ai/assistants/scheduled_events.py +21 -21
- telnyx/resources/ai/assistants/tests/runs.py +13 -13
- telnyx/resources/ai/assistants/tests/test_suites/runs.py +13 -13
- telnyx/resources/ai/assistants/tests/test_suites/test_suites.py +3 -3
- telnyx/resources/ai/assistants/tests/tests.py +43 -43
- telnyx/resources/ai/assistants/tools.py +7 -7
- telnyx/resources/ai/assistants/versions.py +45 -45
- telnyx/resources/ai/audio.py +11 -11
- telnyx/resources/ai/chat.py +47 -47
- telnyx/resources/ai/clusters.py +27 -27
- telnyx/resources/ai/conversations/conversations.py +43 -43
- telnyx/resources/ai/conversations/insight_groups/insight_groups.py +23 -23
- telnyx/resources/ai/conversations/insight_groups/insights.py +5 -5
- telnyx/resources/ai/conversations/insights.py +25 -25
- telnyx/resources/ai/conversations/messages.py +19 -19
- telnyx/resources/ai/embeddings/buckets.py +7 -7
- telnyx/resources/ai/embeddings/embeddings.py +23 -23
- telnyx/resources/ai/fine_tuning/jobs.py +13 -13
- telnyx/resources/audit_events.py +9 -9
- telnyx/resources/authentication_providers.py +29 -29
- telnyx/resources/available_phone_number_blocks.py +5 -5
- telnyx/resources/available_phone_numbers.py +5 -5
- telnyx/resources/balance.py +3 -3
- telnyx/resources/billing_groups.py +17 -17
- telnyx/resources/brand/brand.py +113 -113
- telnyx/resources/brand/external_vetting.py +9 -9
- telnyx/resources/bulk_sim_card_actions.py +11 -11
- telnyx/resources/bundle_pricing/billing_bundles.py +13 -13
- telnyx/resources/bundle_pricing/user_bundles.py +35 -35
- telnyx/resources/call_control_applications.py +63 -67
- telnyx/resources/call_events.py +7 -7
- telnyx/resources/calls/actions.py +549 -551
- telnyx/resources/calls/calls.py +99 -99
- telnyx/resources/campaign/campaign.py +47 -47
- telnyx/resources/campaign/osr.py +3 -3
- telnyx/resources/campaign/usecase.py +3 -3
- telnyx/resources/campaign_builder/brand.py +3 -3
- telnyx/resources/campaign_builder/campaign_builder.py +67 -67
- telnyx/resources/channel_zones.py +7 -7
- telnyx/resources/charges_breakdown.py +7 -7
- telnyx/resources/charges_summary.py +3 -3
- telnyx/resources/comments.py +17 -17
- telnyx/resources/conferences/actions.py +113 -113
- telnyx/resources/conferences/conferences.py +35 -35
- telnyx/resources/connections.py +15 -15
- telnyx/resources/country_coverage.py +5 -5
- telnyx/resources/credential_connections/actions.py +3 -3
- telnyx/resources/credential_connections/credential_connections.py +95 -95
- telnyx/resources/custom_storage_credentials.py +9 -9
- telnyx/resources/customer_service_records.py +19 -19
- telnyx/resources/detail_records.py +9 -9
- telnyx/resources/dialogflow_connections.py +25 -25
- telnyx/resources/document_links.py +7 -7
- telnyx/resources/documents.py +45 -45
- telnyx/resources/dynamic_emergency_addresses.py +23 -23
- telnyx/resources/dynamic_emergency_endpoints.py +13 -13
- telnyx/resources/enum.py +3 -3
- telnyx/resources/external_connections/civic_addresses.py +7 -7
- telnyx/resources/external_connections/external_connections.py +41 -41
- telnyx/resources/external_connections/log_messages.py +11 -11
- telnyx/resources/external_connections/phone_numbers.py +13 -13
- telnyx/resources/external_connections/releases.py +9 -9
- telnyx/resources/external_connections/uploads.py +25 -27
- telnyx/resources/fax_applications.py +47 -47
- telnyx/resources/faxes/actions.py +5 -5
- telnyx/resources/faxes/faxes.py +35 -35
- telnyx/resources/fqdn_connections.py +93 -93
- telnyx/resources/fqdns.py +25 -25
- telnyx/resources/global_ip_allowed_ports.py +3 -3
- telnyx/resources/global_ip_assignment_health.py +5 -5
- telnyx/resources/global_ip_assignments.py +19 -19
- telnyx/resources/global_ip_assignments_usage.py +5 -5
- telnyx/resources/global_ip_health_check_types.py +3 -3
- telnyx/resources/global_ip_health_checks.py +17 -17
- telnyx/resources/global_ip_latency.py +5 -5
- telnyx/resources/global_ip_protocols.py +3 -3
- telnyx/resources/global_ip_usage.py +5 -5
- telnyx/resources/global_ips.py +17 -17
- telnyx/resources/inbound_channels.py +5 -5
- telnyx/resources/integration_secrets.py +17 -17
- telnyx/resources/inventory_coverage.py +5 -5
- telnyx/resources/invoices.py +11 -11
- telnyx/resources/ip_connections.py +93 -93
- telnyx/resources/ips.py +23 -23
- telnyx/resources/ledger_billing_group_reports.py +9 -9
- telnyx/resources/list.py +5 -5
- telnyx/resources/managed_accounts/actions.py +7 -7
- telnyx/resources/managed_accounts/managed_accounts.py +33 -33
- telnyx/resources/media.py +23 -23
- telnyx/resources/messages/messages.py +121 -121
- telnyx/resources/messages/rcs.py +7 -7
- telnyx/resources/messaging/rcs/agents.py +15 -15
- telnyx/resources/messaging/rcs/rcs.py +7 -7
- telnyx/resources/messaging_hosted_number_orders/actions.py +7 -7
- telnyx/resources/messaging_hosted_number_orders/messaging_hosted_number_orders.py +21 -21
- telnyx/resources/messaging_hosted_numbers.py +3 -3
- telnyx/resources/messaging_numbers_bulk_updates.py +5 -5
- telnyx/resources/messaging_optouts.py +11 -11
- telnyx/resources/messaging_profiles/autoresp_configs.py +21 -21
- telnyx/resources/messaging_profiles/messaging_profiles.py +73 -73
- telnyx/resources/messaging_tollfree/verification/requests.py +27 -27
- telnyx/resources/messaging_url_domains.py +5 -5
- telnyx/resources/messsages.py +11 -11
- telnyx/resources/mobile_network_operators.py +7 -7
- telnyx/resources/mobile_push_credentials.py +23 -23
- telnyx/resources/network_coverage.py +9 -9
- telnyx/resources/networks/default_gateway.py +9 -9
- telnyx/resources/networks/networks.py +21 -21
- telnyx/resources/notification_channels.py +27 -27
- telnyx/resources/notification_event_conditions.py +7 -7
- telnyx/resources/notification_events.py +5 -5
- telnyx/resources/notification_profiles.py +17 -17
- telnyx/resources/notification_settings.py +21 -21
- telnyx/resources/number_block_orders.py +17 -17
- telnyx/resources/number_lookup.py +5 -5
- telnyx/resources/number_order_phone_numbers.py +13 -13
- telnyx/resources/number_orders.py +27 -27
- telnyx/resources/number_reservations/actions.py +3 -3
- telnyx/resources/number_reservations/number_reservations.py +15 -15
- telnyx/resources/numbers_features.py +3 -3
- telnyx/resources/operator_connect/actions.py +3 -3
- telnyx/resources/ota_updates.py +9 -9
- telnyx/resources/outbound_voice_profiles.py +65 -65
- telnyx/resources/partner_campaigns.py +25 -25
- telnyx/resources/payment/auto_recharge_prefs.py +15 -15
- telnyx/resources/phone_number_assignment_by_profile.py +15 -15
- telnyx/resources/phone_number_blocks/jobs.py +13 -13
- telnyx/resources/phone_number_campaigns.py +19 -19
- telnyx/resources/phone_numbers/actions.py +7 -7
- telnyx/resources/phone_numbers/csv_downloads.py +13 -13
- telnyx/resources/phone_numbers/jobs.py +35 -35
- telnyx/resources/phone_numbers/messaging.py +13 -13
- telnyx/resources/phone_numbers/phone_numbers.py +39 -39
- telnyx/resources/phone_numbers/voice.py +31 -31
- telnyx/resources/phone_numbers/voicemail.py +15 -15
- telnyx/resources/phone_numbers_regulatory_requirements.py +5 -5
- telnyx/resources/portability_checks.py +5 -5
- telnyx/resources/porting/events.py +11 -11
- telnyx/resources/porting/loa_configurations.py +17 -17
- telnyx/resources/porting/porting.py +3 -3
- telnyx/resources/porting/reports.py +11 -11
- telnyx/resources/porting_orders/action_requirements.py +11 -11
- telnyx/resources/porting_orders/actions.py +13 -13
- telnyx/resources/porting_orders/activation_jobs.py +11 -11
- telnyx/resources/porting_orders/additional_documents.py +15 -15
- telnyx/resources/porting_orders/associated_phone_numbers.py +13 -13
- telnyx/resources/porting_orders/comments.py +9 -9
- telnyx/resources/porting_orders/phone_number_blocks.py +13 -13
- telnyx/resources/porting_orders/phone_number_configurations.py +13 -13
- telnyx/resources/porting_orders/phone_number_extensions.py +13 -13
- telnyx/resources/porting_orders/porting_orders.py +59 -59
- telnyx/resources/porting_orders/verification_codes.py +19 -19
- telnyx/resources/porting_phone_numbers.py +7 -7
- telnyx/resources/portouts/comments.py +7 -7
- telnyx/resources/portouts/events.py +11 -11
- telnyx/resources/portouts/portouts.py +17 -17
- telnyx/resources/portouts/reports.py +11 -11
- telnyx/resources/portouts/supporting_documents.py +7 -7
- telnyx/resources/private_wireless_gateways.py +25 -25
- telnyx/resources/public_internet_gateways.py +19 -19
- telnyx/resources/queues/calls.py +7 -7
- telnyx/resources/queues/queues.py +3 -3
- telnyx/resources/recording_transcriptions.py +7 -7
- telnyx/resources/recordings/actions.py +3 -3
- telnyx/resources/recordings/recordings.py +11 -11
- telnyx/resources/regions.py +3 -3
- telnyx/resources/regulatory_requirements.py +5 -5
- telnyx/resources/reports/cdr_usage_reports.py +9 -9
- telnyx/resources/reports/mdr_usage_reports.py +21 -21
- telnyx/resources/reports/reports.py +47 -47
- telnyx/resources/requirement_groups.py +23 -23
- telnyx/resources/requirement_types.py +9 -11
- telnyx/resources/requirements.py +11 -11
- telnyx/resources/room_compositions.py +27 -27
- telnyx/resources/room_participants.py +9 -9
- telnyx/resources/room_recordings.py +17 -17
- telnyx/resources/rooms/actions.py +11 -11
- telnyx/resources/rooms/rooms.py +43 -43
- telnyx/resources/rooms/sessions/actions.py +21 -21
- telnyx/resources/rooms/sessions/sessions.py +27 -27
- telnyx/resources/seti.py +5 -5
- telnyx/resources/short_codes.py +11 -11
- telnyx/resources/sim_card_data_usage_notifications.py +21 -21
- telnyx/resources/sim_card_groups/actions.py +23 -23
- telnyx/resources/sim_card_groups/sim_card_groups.py +29 -29
- telnyx/resources/sim_card_order_preview.py +3 -3
- telnyx/resources/sim_card_orders.py +11 -11
- telnyx/resources/sim_cards/actions.py +27 -27
- telnyx/resources/sim_cards/sim_cards.py +47 -47
- telnyx/resources/siprec_connectors.py +13 -13
- telnyx/resources/storage/buckets/buckets.py +5 -5
- telnyx/resources/storage/buckets/ssl_certificate.py +11 -11
- telnyx/resources/storage/buckets/usage.py +5 -5
- telnyx/resources/storage/migration_sources.py +11 -11
- telnyx/resources/storage/migrations/actions.py +3 -3
- telnyx/resources/storage/migrations/migrations.py +9 -9
- telnyx/resources/storage/storage.py +3 -3
- telnyx/resources/sub_number_orders.py +17 -17
- telnyx/resources/sub_number_orders_report.py +19 -19
- telnyx/resources/telephony_credentials.py +31 -31
- telnyx/resources/texml/accounts/accounts.py +15 -15
- telnyx/resources/texml/accounts/calls/calls.py +145 -145
- telnyx/resources/texml/accounts/calls/recordings.py +5 -5
- telnyx/resources/texml/accounts/calls/recordings_json.py +19 -19
- telnyx/resources/texml/accounts/calls/siprec.py +5 -5
- telnyx/resources/texml/accounts/calls/streams.py +5 -5
- telnyx/resources/texml/accounts/conferences/conferences.py +31 -31
- telnyx/resources/texml/accounts/conferences/participants.py +123 -123
- telnyx/resources/texml/accounts/recordings/json.py +5 -5
- telnyx/resources/texml/accounts/transcriptions/json.py +5 -5
- telnyx/resources/texml/calls.py +79 -79
- telnyx/resources/texml/texml.py +3 -3
- telnyx/resources/texml_applications.py +65 -65
- telnyx/resources/text_to_speech.py +9 -9
- telnyx/resources/usage_reports.py +27 -27
- telnyx/resources/user_addresses.py +29 -31
- telnyx/resources/user_tags.py +5 -5
- telnyx/resources/verifications/actions.py +7 -7
- telnyx/resources/verifications/by_phone_number/actions.py +3 -3
- telnyx/resources/verifications/by_phone_number/by_phone_number.py +3 -3
- telnyx/resources/verifications/verifications.py +19 -19
- telnyx/resources/verified_numbers/actions.py +3 -3
- telnyx/resources/verified_numbers/verified_numbers.py +11 -11
- telnyx/resources/verify_profiles.py +43 -43
- telnyx/resources/virtual_cross_connects.py +45 -45
- telnyx/resources/virtual_cross_connects_coverage.py +9 -9
- telnyx/resources/webhook_deliveries.py +9 -9
- telnyx/resources/wireguard_interfaces.py +17 -17
- telnyx/resources/wireguard_peers.py +21 -21
- telnyx/resources/wireless/detail_records_reports.py +17 -17
- telnyx/resources/wireless/wireless.py +3 -3
- telnyx/resources/wireless_blocklist_values.py +3 -3
- telnyx/resources/wireless_blocklists.py +27 -27
- telnyx/types/global_ip_latency_retrieve_response.py +7 -7
- {telnyx-3.4.0a0.dist-info → telnyx-3.5.0a0.dist-info}/METADATA +58 -17
- {telnyx-3.4.0a0.dist-info → telnyx-3.5.0a0.dist-info}/RECORD +257 -257
- {telnyx-3.4.0a0.dist-info → telnyx-3.5.0a0.dist-info}/WHEEL +0 -0
- {telnyx-3.4.0a0.dist-info → telnyx-3.5.0a0.dist-info}/licenses/LICENSE +0 -0
|
@@ -6,7 +6,7 @@ from typing_extensions import Literal
|
|
|
6
6
|
|
|
7
7
|
import httpx
|
|
8
8
|
|
|
9
|
-
from ..._types import
|
|
9
|
+
from ..._types import Body, Omit, Query, Headers, NotGiven, SequenceNotStr, omit, not_given
|
|
10
10
|
from ..._utils import maybe_transform, async_maybe_transform
|
|
11
11
|
from ..._compat import cached_property
|
|
12
12
|
from ..._resource import SyncAPIResource, AsyncAPIResource
|
|
@@ -78,14 +78,14 @@ class ActionsResource(SyncAPIResource):
|
|
|
78
78
|
*,
|
|
79
79
|
call_control_id: str,
|
|
80
80
|
supervisor_role: Literal["barge", "monitor", "none", "whisper"],
|
|
81
|
-
command_id: str |
|
|
82
|
-
whisper_call_control_ids: SequenceNotStr[str] |
|
|
81
|
+
command_id: str | Omit = omit,
|
|
82
|
+
whisper_call_control_ids: SequenceNotStr[str] | Omit = omit,
|
|
83
83
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
84
84
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
85
85
|
extra_headers: Headers | None = None,
|
|
86
86
|
extra_query: Query | None = None,
|
|
87
87
|
extra_body: Body | None = None,
|
|
88
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
88
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
89
89
|
) -> ActionUpdateResponse:
|
|
90
90
|
"""
|
|
91
91
|
Update conference participant supervisor_role
|
|
@@ -138,15 +138,15 @@ class ActionsResource(SyncAPIResource):
|
|
|
138
138
|
self,
|
|
139
139
|
id: str,
|
|
140
140
|
*,
|
|
141
|
-
audio_url: str |
|
|
142
|
-
call_control_ids: SequenceNotStr[str] |
|
|
143
|
-
media_name: str |
|
|
141
|
+
audio_url: str | Omit = omit,
|
|
142
|
+
call_control_ids: SequenceNotStr[str] | Omit = omit,
|
|
143
|
+
media_name: str | Omit = omit,
|
|
144
144
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
145
145
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
146
146
|
extra_headers: Headers | None = None,
|
|
147
147
|
extra_query: Query | None = None,
|
|
148
148
|
extra_body: Body | None = None,
|
|
149
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
149
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
150
150
|
) -> ActionHoldResponse:
|
|
151
151
|
"""
|
|
152
152
|
Hold a list of participants in a conference call
|
|
@@ -194,24 +194,24 @@ class ActionsResource(SyncAPIResource):
|
|
|
194
194
|
id: str,
|
|
195
195
|
*,
|
|
196
196
|
call_control_id: str,
|
|
197
|
-
beep_enabled: Literal["always", "never", "on_enter", "on_exit"] |
|
|
198
|
-
client_state: str |
|
|
199
|
-
command_id: str |
|
|
200
|
-
end_conference_on_exit: bool |
|
|
201
|
-
hold: bool |
|
|
202
|
-
hold_audio_url: str |
|
|
203
|
-
hold_media_name: str |
|
|
204
|
-
mute: bool |
|
|
205
|
-
soft_end_conference_on_exit: bool |
|
|
206
|
-
start_conference_on_enter: bool |
|
|
207
|
-
supervisor_role: Literal["barge", "monitor", "none", "whisper"] |
|
|
208
|
-
whisper_call_control_ids: SequenceNotStr[str] |
|
|
197
|
+
beep_enabled: Literal["always", "never", "on_enter", "on_exit"] | Omit = omit,
|
|
198
|
+
client_state: str | Omit = omit,
|
|
199
|
+
command_id: str | Omit = omit,
|
|
200
|
+
end_conference_on_exit: bool | Omit = omit,
|
|
201
|
+
hold: bool | Omit = omit,
|
|
202
|
+
hold_audio_url: str | Omit = omit,
|
|
203
|
+
hold_media_name: str | Omit = omit,
|
|
204
|
+
mute: bool | Omit = omit,
|
|
205
|
+
soft_end_conference_on_exit: bool | Omit = omit,
|
|
206
|
+
start_conference_on_enter: bool | Omit = omit,
|
|
207
|
+
supervisor_role: Literal["barge", "monitor", "none", "whisper"] | Omit = omit,
|
|
208
|
+
whisper_call_control_ids: SequenceNotStr[str] | Omit = omit,
|
|
209
209
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
210
210
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
211
211
|
extra_headers: Headers | None = None,
|
|
212
212
|
extra_query: Query | None = None,
|
|
213
213
|
extra_body: Body | None = None,
|
|
214
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
214
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
215
215
|
) -> ActionJoinResponse:
|
|
216
216
|
"""Join an existing call leg to a conference.
|
|
217
217
|
|
|
@@ -322,14 +322,14 @@ class ActionsResource(SyncAPIResource):
|
|
|
322
322
|
id: str,
|
|
323
323
|
*,
|
|
324
324
|
call_control_id: str,
|
|
325
|
-
beep_enabled: Literal["always", "never", "on_enter", "on_exit"] |
|
|
326
|
-
command_id: str |
|
|
325
|
+
beep_enabled: Literal["always", "never", "on_enter", "on_exit"] | Omit = omit,
|
|
326
|
+
command_id: str | Omit = omit,
|
|
327
327
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
328
328
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
329
329
|
extra_headers: Headers | None = None,
|
|
330
330
|
extra_query: Query | None = None,
|
|
331
331
|
extra_body: Body | None = None,
|
|
332
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
332
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
333
333
|
) -> ActionLeaveResponse:
|
|
334
334
|
"""
|
|
335
335
|
Removes a call leg from a conference and moves it back to parked state.
|
|
@@ -380,13 +380,13 @@ class ActionsResource(SyncAPIResource):
|
|
|
380
380
|
self,
|
|
381
381
|
id: str,
|
|
382
382
|
*,
|
|
383
|
-
call_control_ids: SequenceNotStr[str] |
|
|
383
|
+
call_control_ids: SequenceNotStr[str] | Omit = omit,
|
|
384
384
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
385
385
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
386
386
|
extra_headers: Headers | None = None,
|
|
387
387
|
extra_query: Query | None = None,
|
|
388
388
|
extra_body: Body | None = None,
|
|
389
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
389
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
390
390
|
) -> ActionMuteResponse:
|
|
391
391
|
"""
|
|
392
392
|
Mute a list of participants in a conference call
|
|
@@ -418,16 +418,16 @@ class ActionsResource(SyncAPIResource):
|
|
|
418
418
|
self,
|
|
419
419
|
id: str,
|
|
420
420
|
*,
|
|
421
|
-
audio_url: str |
|
|
422
|
-
call_control_ids: SequenceNotStr[str] |
|
|
423
|
-
loop: LoopcountParam |
|
|
424
|
-
media_name: str |
|
|
421
|
+
audio_url: str | Omit = omit,
|
|
422
|
+
call_control_ids: SequenceNotStr[str] | Omit = omit,
|
|
423
|
+
loop: LoopcountParam | Omit = omit,
|
|
424
|
+
media_name: str | Omit = omit,
|
|
425
425
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
426
426
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
427
427
|
extra_headers: Headers | None = None,
|
|
428
428
|
extra_query: Query | None = None,
|
|
429
429
|
extra_body: Body | None = None,
|
|
430
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
430
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
431
431
|
) -> ActionPlayResponse:
|
|
432
432
|
"""
|
|
433
433
|
Play audio to all or some participants on a conference call.
|
|
@@ -478,14 +478,14 @@ class ActionsResource(SyncAPIResource):
|
|
|
478
478
|
self,
|
|
479
479
|
id: str,
|
|
480
480
|
*,
|
|
481
|
-
command_id: str |
|
|
482
|
-
recording_id: str |
|
|
481
|
+
command_id: str | Omit = omit,
|
|
482
|
+
recording_id: str | Omit = omit,
|
|
483
483
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
484
484
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
485
485
|
extra_headers: Headers | None = None,
|
|
486
486
|
extra_query: Query | None = None,
|
|
487
487
|
extra_body: Body | None = None,
|
|
488
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
488
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
489
489
|
) -> ActionRecordPauseResponse:
|
|
490
490
|
"""
|
|
491
491
|
Pause conference recording.
|
|
@@ -525,14 +525,14 @@ class ActionsResource(SyncAPIResource):
|
|
|
525
525
|
self,
|
|
526
526
|
id: str,
|
|
527
527
|
*,
|
|
528
|
-
command_id: str |
|
|
529
|
-
recording_id: str |
|
|
528
|
+
command_id: str | Omit = omit,
|
|
529
|
+
recording_id: str | Omit = omit,
|
|
530
530
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
531
531
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
532
532
|
extra_headers: Headers | None = None,
|
|
533
533
|
extra_query: Query | None = None,
|
|
534
534
|
extra_body: Body | None = None,
|
|
535
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
535
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
536
536
|
) -> ActionRecordResumeResponse:
|
|
537
537
|
"""
|
|
538
538
|
Resume conference recording.
|
|
@@ -573,16 +573,16 @@ class ActionsResource(SyncAPIResource):
|
|
|
573
573
|
id: str,
|
|
574
574
|
*,
|
|
575
575
|
format: Literal["wav", "mp3"],
|
|
576
|
-
command_id: str |
|
|
577
|
-
custom_file_name: str |
|
|
578
|
-
play_beep: bool |
|
|
579
|
-
trim: Literal["trim-silence"] |
|
|
576
|
+
command_id: str | Omit = omit,
|
|
577
|
+
custom_file_name: str | Omit = omit,
|
|
578
|
+
play_beep: bool | Omit = omit,
|
|
579
|
+
trim: Literal["trim-silence"] | Omit = omit,
|
|
580
580
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
581
581
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
582
582
|
extra_headers: Headers | None = None,
|
|
583
583
|
extra_query: Query | None = None,
|
|
584
584
|
extra_body: Body | None = None,
|
|
585
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
585
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
586
586
|
) -> ActionRecordStartResponse:
|
|
587
587
|
"""Start recording the conference.
|
|
588
588
|
|
|
@@ -642,15 +642,15 @@ class ActionsResource(SyncAPIResource):
|
|
|
642
642
|
self,
|
|
643
643
|
id: str,
|
|
644
644
|
*,
|
|
645
|
-
client_state: str |
|
|
646
|
-
command_id: str |
|
|
647
|
-
recording_id: str |
|
|
645
|
+
client_state: str | Omit = omit,
|
|
646
|
+
command_id: str | Omit = omit,
|
|
647
|
+
recording_id: str | Omit = omit,
|
|
648
648
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
649
649
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
650
650
|
extra_headers: Headers | None = None,
|
|
651
651
|
extra_query: Query | None = None,
|
|
652
652
|
extra_body: Body | None = None,
|
|
653
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
653
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
654
654
|
) -> ActionRecordStopResponse:
|
|
655
655
|
"""
|
|
656
656
|
Stop recording the conference.
|
|
@@ -702,8 +702,8 @@ class ActionsResource(SyncAPIResource):
|
|
|
702
702
|
*,
|
|
703
703
|
payload: str,
|
|
704
704
|
voice: str,
|
|
705
|
-
call_control_ids: SequenceNotStr[str] |
|
|
706
|
-
command_id: str |
|
|
705
|
+
call_control_ids: SequenceNotStr[str] | Omit = omit,
|
|
706
|
+
command_id: str | Omit = omit,
|
|
707
707
|
language: Literal[
|
|
708
708
|
"arb",
|
|
709
709
|
"cmn-CN",
|
|
@@ -735,15 +735,15 @@ class ActionsResource(SyncAPIResource):
|
|
|
735
735
|
"sv-SE",
|
|
736
736
|
"tr-TR",
|
|
737
737
|
]
|
|
738
|
-
|
|
|
739
|
-
payload_type: Literal["text", "ssml"] |
|
|
740
|
-
voice_settings: action_speak_params.VoiceSettings |
|
|
738
|
+
| Omit = omit,
|
|
739
|
+
payload_type: Literal["text", "ssml"] | Omit = omit,
|
|
740
|
+
voice_settings: action_speak_params.VoiceSettings | Omit = omit,
|
|
741
741
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
742
742
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
743
743
|
extra_headers: Headers | None = None,
|
|
744
744
|
extra_query: Query | None = None,
|
|
745
745
|
extra_body: Body | None = None,
|
|
746
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
746
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
747
747
|
) -> ActionSpeakResponse:
|
|
748
748
|
"""
|
|
749
749
|
Convert text to speech and play it to all or some participants.
|
|
@@ -829,13 +829,13 @@ class ActionsResource(SyncAPIResource):
|
|
|
829
829
|
self,
|
|
830
830
|
id: str,
|
|
831
831
|
*,
|
|
832
|
-
call_control_ids: SequenceNotStr[str] |
|
|
832
|
+
call_control_ids: SequenceNotStr[str] | Omit = omit,
|
|
833
833
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
834
834
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
835
835
|
extra_headers: Headers | None = None,
|
|
836
836
|
extra_query: Query | None = None,
|
|
837
837
|
extra_body: Body | None = None,
|
|
838
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
838
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
839
839
|
) -> ActionStopResponse:
|
|
840
840
|
"""
|
|
841
841
|
Stop audio being played to all or some participants on a conference call.
|
|
@@ -873,7 +873,7 @@ class ActionsResource(SyncAPIResource):
|
|
|
873
873
|
extra_headers: Headers | None = None,
|
|
874
874
|
extra_query: Query | None = None,
|
|
875
875
|
extra_body: Body | None = None,
|
|
876
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
876
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
877
877
|
) -> ActionUnholdResponse:
|
|
878
878
|
"""
|
|
879
879
|
Unhold a list of participants in a conference call
|
|
@@ -905,13 +905,13 @@ class ActionsResource(SyncAPIResource):
|
|
|
905
905
|
self,
|
|
906
906
|
id: str,
|
|
907
907
|
*,
|
|
908
|
-
call_control_ids: SequenceNotStr[str] |
|
|
908
|
+
call_control_ids: SequenceNotStr[str] | Omit = omit,
|
|
909
909
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
910
910
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
911
911
|
extra_headers: Headers | None = None,
|
|
912
912
|
extra_query: Query | None = None,
|
|
913
913
|
extra_body: Body | None = None,
|
|
914
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
914
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
915
915
|
) -> ActionUnmuteResponse:
|
|
916
916
|
"""
|
|
917
917
|
Unmute a list of participants in a conference call
|
|
@@ -966,14 +966,14 @@ class AsyncActionsResource(AsyncAPIResource):
|
|
|
966
966
|
*,
|
|
967
967
|
call_control_id: str,
|
|
968
968
|
supervisor_role: Literal["barge", "monitor", "none", "whisper"],
|
|
969
|
-
command_id: str |
|
|
970
|
-
whisper_call_control_ids: SequenceNotStr[str] |
|
|
969
|
+
command_id: str | Omit = omit,
|
|
970
|
+
whisper_call_control_ids: SequenceNotStr[str] | Omit = omit,
|
|
971
971
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
972
972
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
973
973
|
extra_headers: Headers | None = None,
|
|
974
974
|
extra_query: Query | None = None,
|
|
975
975
|
extra_body: Body | None = None,
|
|
976
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
976
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
977
977
|
) -> ActionUpdateResponse:
|
|
978
978
|
"""
|
|
979
979
|
Update conference participant supervisor_role
|
|
@@ -1026,15 +1026,15 @@ class AsyncActionsResource(AsyncAPIResource):
|
|
|
1026
1026
|
self,
|
|
1027
1027
|
id: str,
|
|
1028
1028
|
*,
|
|
1029
|
-
audio_url: str |
|
|
1030
|
-
call_control_ids: SequenceNotStr[str] |
|
|
1031
|
-
media_name: str |
|
|
1029
|
+
audio_url: str | Omit = omit,
|
|
1030
|
+
call_control_ids: SequenceNotStr[str] | Omit = omit,
|
|
1031
|
+
media_name: str | Omit = omit,
|
|
1032
1032
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1033
1033
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
1034
1034
|
extra_headers: Headers | None = None,
|
|
1035
1035
|
extra_query: Query | None = None,
|
|
1036
1036
|
extra_body: Body | None = None,
|
|
1037
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
1037
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
1038
1038
|
) -> ActionHoldResponse:
|
|
1039
1039
|
"""
|
|
1040
1040
|
Hold a list of participants in a conference call
|
|
@@ -1082,24 +1082,24 @@ class AsyncActionsResource(AsyncAPIResource):
|
|
|
1082
1082
|
id: str,
|
|
1083
1083
|
*,
|
|
1084
1084
|
call_control_id: str,
|
|
1085
|
-
beep_enabled: Literal["always", "never", "on_enter", "on_exit"] |
|
|
1086
|
-
client_state: str |
|
|
1087
|
-
command_id: str |
|
|
1088
|
-
end_conference_on_exit: bool |
|
|
1089
|
-
hold: bool |
|
|
1090
|
-
hold_audio_url: str |
|
|
1091
|
-
hold_media_name: str |
|
|
1092
|
-
mute: bool |
|
|
1093
|
-
soft_end_conference_on_exit: bool |
|
|
1094
|
-
start_conference_on_enter: bool |
|
|
1095
|
-
supervisor_role: Literal["barge", "monitor", "none", "whisper"] |
|
|
1096
|
-
whisper_call_control_ids: SequenceNotStr[str] |
|
|
1085
|
+
beep_enabled: Literal["always", "never", "on_enter", "on_exit"] | Omit = omit,
|
|
1086
|
+
client_state: str | Omit = omit,
|
|
1087
|
+
command_id: str | Omit = omit,
|
|
1088
|
+
end_conference_on_exit: bool | Omit = omit,
|
|
1089
|
+
hold: bool | Omit = omit,
|
|
1090
|
+
hold_audio_url: str | Omit = omit,
|
|
1091
|
+
hold_media_name: str | Omit = omit,
|
|
1092
|
+
mute: bool | Omit = omit,
|
|
1093
|
+
soft_end_conference_on_exit: bool | Omit = omit,
|
|
1094
|
+
start_conference_on_enter: bool | Omit = omit,
|
|
1095
|
+
supervisor_role: Literal["barge", "monitor", "none", "whisper"] | Omit = omit,
|
|
1096
|
+
whisper_call_control_ids: SequenceNotStr[str] | Omit = omit,
|
|
1097
1097
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1098
1098
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
1099
1099
|
extra_headers: Headers | None = None,
|
|
1100
1100
|
extra_query: Query | None = None,
|
|
1101
1101
|
extra_body: Body | None = None,
|
|
1102
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
1102
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
1103
1103
|
) -> ActionJoinResponse:
|
|
1104
1104
|
"""Join an existing call leg to a conference.
|
|
1105
1105
|
|
|
@@ -1210,14 +1210,14 @@ class AsyncActionsResource(AsyncAPIResource):
|
|
|
1210
1210
|
id: str,
|
|
1211
1211
|
*,
|
|
1212
1212
|
call_control_id: str,
|
|
1213
|
-
beep_enabled: Literal["always", "never", "on_enter", "on_exit"] |
|
|
1214
|
-
command_id: str |
|
|
1213
|
+
beep_enabled: Literal["always", "never", "on_enter", "on_exit"] | Omit = omit,
|
|
1214
|
+
command_id: str | Omit = omit,
|
|
1215
1215
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1216
1216
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
1217
1217
|
extra_headers: Headers | None = None,
|
|
1218
1218
|
extra_query: Query | None = None,
|
|
1219
1219
|
extra_body: Body | None = None,
|
|
1220
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
1220
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
1221
1221
|
) -> ActionLeaveResponse:
|
|
1222
1222
|
"""
|
|
1223
1223
|
Removes a call leg from a conference and moves it back to parked state.
|
|
@@ -1268,13 +1268,13 @@ class AsyncActionsResource(AsyncAPIResource):
|
|
|
1268
1268
|
self,
|
|
1269
1269
|
id: str,
|
|
1270
1270
|
*,
|
|
1271
|
-
call_control_ids: SequenceNotStr[str] |
|
|
1271
|
+
call_control_ids: SequenceNotStr[str] | Omit = omit,
|
|
1272
1272
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1273
1273
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
1274
1274
|
extra_headers: Headers | None = None,
|
|
1275
1275
|
extra_query: Query | None = None,
|
|
1276
1276
|
extra_body: Body | None = None,
|
|
1277
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
1277
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
1278
1278
|
) -> ActionMuteResponse:
|
|
1279
1279
|
"""
|
|
1280
1280
|
Mute a list of participants in a conference call
|
|
@@ -1308,16 +1308,16 @@ class AsyncActionsResource(AsyncAPIResource):
|
|
|
1308
1308
|
self,
|
|
1309
1309
|
id: str,
|
|
1310
1310
|
*,
|
|
1311
|
-
audio_url: str |
|
|
1312
|
-
call_control_ids: SequenceNotStr[str] |
|
|
1313
|
-
loop: LoopcountParam |
|
|
1314
|
-
media_name: str |
|
|
1311
|
+
audio_url: str | Omit = omit,
|
|
1312
|
+
call_control_ids: SequenceNotStr[str] | Omit = omit,
|
|
1313
|
+
loop: LoopcountParam | Omit = omit,
|
|
1314
|
+
media_name: str | Omit = omit,
|
|
1315
1315
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1316
1316
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
1317
1317
|
extra_headers: Headers | None = None,
|
|
1318
1318
|
extra_query: Query | None = None,
|
|
1319
1319
|
extra_body: Body | None = None,
|
|
1320
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
1320
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
1321
1321
|
) -> ActionPlayResponse:
|
|
1322
1322
|
"""
|
|
1323
1323
|
Play audio to all or some participants on a conference call.
|
|
@@ -1368,14 +1368,14 @@ class AsyncActionsResource(AsyncAPIResource):
|
|
|
1368
1368
|
self,
|
|
1369
1369
|
id: str,
|
|
1370
1370
|
*,
|
|
1371
|
-
command_id: str |
|
|
1372
|
-
recording_id: str |
|
|
1371
|
+
command_id: str | Omit = omit,
|
|
1372
|
+
recording_id: str | Omit = omit,
|
|
1373
1373
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1374
1374
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
1375
1375
|
extra_headers: Headers | None = None,
|
|
1376
1376
|
extra_query: Query | None = None,
|
|
1377
1377
|
extra_body: Body | None = None,
|
|
1378
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
1378
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
1379
1379
|
) -> ActionRecordPauseResponse:
|
|
1380
1380
|
"""
|
|
1381
1381
|
Pause conference recording.
|
|
@@ -1415,14 +1415,14 @@ class AsyncActionsResource(AsyncAPIResource):
|
|
|
1415
1415
|
self,
|
|
1416
1416
|
id: str,
|
|
1417
1417
|
*,
|
|
1418
|
-
command_id: str |
|
|
1419
|
-
recording_id: str |
|
|
1418
|
+
command_id: str | Omit = omit,
|
|
1419
|
+
recording_id: str | Omit = omit,
|
|
1420
1420
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1421
1421
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
1422
1422
|
extra_headers: Headers | None = None,
|
|
1423
1423
|
extra_query: Query | None = None,
|
|
1424
1424
|
extra_body: Body | None = None,
|
|
1425
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
1425
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
1426
1426
|
) -> ActionRecordResumeResponse:
|
|
1427
1427
|
"""
|
|
1428
1428
|
Resume conference recording.
|
|
@@ -1463,16 +1463,16 @@ class AsyncActionsResource(AsyncAPIResource):
|
|
|
1463
1463
|
id: str,
|
|
1464
1464
|
*,
|
|
1465
1465
|
format: Literal["wav", "mp3"],
|
|
1466
|
-
command_id: str |
|
|
1467
|
-
custom_file_name: str |
|
|
1468
|
-
play_beep: bool |
|
|
1469
|
-
trim: Literal["trim-silence"] |
|
|
1466
|
+
command_id: str | Omit = omit,
|
|
1467
|
+
custom_file_name: str | Omit = omit,
|
|
1468
|
+
play_beep: bool | Omit = omit,
|
|
1469
|
+
trim: Literal["trim-silence"] | Omit = omit,
|
|
1470
1470
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1471
1471
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
1472
1472
|
extra_headers: Headers | None = None,
|
|
1473
1473
|
extra_query: Query | None = None,
|
|
1474
1474
|
extra_body: Body | None = None,
|
|
1475
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
1475
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
1476
1476
|
) -> ActionRecordStartResponse:
|
|
1477
1477
|
"""Start recording the conference.
|
|
1478
1478
|
|
|
@@ -1532,15 +1532,15 @@ class AsyncActionsResource(AsyncAPIResource):
|
|
|
1532
1532
|
self,
|
|
1533
1533
|
id: str,
|
|
1534
1534
|
*,
|
|
1535
|
-
client_state: str |
|
|
1536
|
-
command_id: str |
|
|
1537
|
-
recording_id: str |
|
|
1535
|
+
client_state: str | Omit = omit,
|
|
1536
|
+
command_id: str | Omit = omit,
|
|
1537
|
+
recording_id: str | Omit = omit,
|
|
1538
1538
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1539
1539
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
1540
1540
|
extra_headers: Headers | None = None,
|
|
1541
1541
|
extra_query: Query | None = None,
|
|
1542
1542
|
extra_body: Body | None = None,
|
|
1543
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
1543
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
1544
1544
|
) -> ActionRecordStopResponse:
|
|
1545
1545
|
"""
|
|
1546
1546
|
Stop recording the conference.
|
|
@@ -1592,8 +1592,8 @@ class AsyncActionsResource(AsyncAPIResource):
|
|
|
1592
1592
|
*,
|
|
1593
1593
|
payload: str,
|
|
1594
1594
|
voice: str,
|
|
1595
|
-
call_control_ids: SequenceNotStr[str] |
|
|
1596
|
-
command_id: str |
|
|
1595
|
+
call_control_ids: SequenceNotStr[str] | Omit = omit,
|
|
1596
|
+
command_id: str | Omit = omit,
|
|
1597
1597
|
language: Literal[
|
|
1598
1598
|
"arb",
|
|
1599
1599
|
"cmn-CN",
|
|
@@ -1625,15 +1625,15 @@ class AsyncActionsResource(AsyncAPIResource):
|
|
|
1625
1625
|
"sv-SE",
|
|
1626
1626
|
"tr-TR",
|
|
1627
1627
|
]
|
|
1628
|
-
|
|
|
1629
|
-
payload_type: Literal["text", "ssml"] |
|
|
1630
|
-
voice_settings: action_speak_params.VoiceSettings |
|
|
1628
|
+
| Omit = omit,
|
|
1629
|
+
payload_type: Literal["text", "ssml"] | Omit = omit,
|
|
1630
|
+
voice_settings: action_speak_params.VoiceSettings | Omit = omit,
|
|
1631
1631
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1632
1632
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
1633
1633
|
extra_headers: Headers | None = None,
|
|
1634
1634
|
extra_query: Query | None = None,
|
|
1635
1635
|
extra_body: Body | None = None,
|
|
1636
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
1636
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
1637
1637
|
) -> ActionSpeakResponse:
|
|
1638
1638
|
"""
|
|
1639
1639
|
Convert text to speech and play it to all or some participants.
|
|
@@ -1719,13 +1719,13 @@ class AsyncActionsResource(AsyncAPIResource):
|
|
|
1719
1719
|
self,
|
|
1720
1720
|
id: str,
|
|
1721
1721
|
*,
|
|
1722
|
-
call_control_ids: SequenceNotStr[str] |
|
|
1722
|
+
call_control_ids: SequenceNotStr[str] | Omit = omit,
|
|
1723
1723
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1724
1724
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
1725
1725
|
extra_headers: Headers | None = None,
|
|
1726
1726
|
extra_query: Query | None = None,
|
|
1727
1727
|
extra_body: Body | None = None,
|
|
1728
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
1728
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
1729
1729
|
) -> ActionStopResponse:
|
|
1730
1730
|
"""
|
|
1731
1731
|
Stop audio being played to all or some participants on a conference call.
|
|
@@ -1765,7 +1765,7 @@ class AsyncActionsResource(AsyncAPIResource):
|
|
|
1765
1765
|
extra_headers: Headers | None = None,
|
|
1766
1766
|
extra_query: Query | None = None,
|
|
1767
1767
|
extra_body: Body | None = None,
|
|
1768
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
1768
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
1769
1769
|
) -> ActionUnholdResponse:
|
|
1770
1770
|
"""
|
|
1771
1771
|
Unhold a list of participants in a conference call
|
|
@@ -1799,13 +1799,13 @@ class AsyncActionsResource(AsyncAPIResource):
|
|
|
1799
1799
|
self,
|
|
1800
1800
|
id: str,
|
|
1801
1801
|
*,
|
|
1802
|
-
call_control_ids: SequenceNotStr[str] |
|
|
1802
|
+
call_control_ids: SequenceNotStr[str] | Omit = omit,
|
|
1803
1803
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1804
1804
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
1805
1805
|
extra_headers: Headers | None = None,
|
|
1806
1806
|
extra_query: Query | None = None,
|
|
1807
1807
|
extra_body: Body | None = None,
|
|
1808
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
1808
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
1809
1809
|
) -> ActionUnmuteResponse:
|
|
1810
1810
|
"""
|
|
1811
1811
|
Unmute a list of participants in a conference call
|