telnyx 5.69.0 → 5.71.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +50 -0
- data/README.md +1 -1
- data/lib/telnyx/internal/util.rb +3 -1
- data/lib/telnyx/models/ai/assistant.rb +6 -149
- data/lib/telnyx/models/ai/assistant_create_params.rb +3 -42
- data/lib/telnyx/models/ai/assistant_update_params.rb +3 -42
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +3 -43
- data/lib/telnyx/models/ai/conversation_add_message_params.rb +4 -4
- data/lib/telnyx/models/ai/inference_embedding.rb +3 -43
- data/lib/telnyx/models/ai/observability.rb +46 -0
- data/lib/telnyx/models/ai/observability_req.rb +46 -0
- data/lib/telnyx/models/book_appointment_tool.rb +31 -0
- data/lib/telnyx/models/book_appointment_tool_params.rb +51 -0
- data/lib/telnyx/models/call_assistant_request.rb +176 -0
- data/lib/telnyx/models/call_control_bucket_ids.rb +23 -0
- data/lib/telnyx/models/call_control_retrieval_tool.rb +31 -0
- data/lib/telnyx/models/call_dial_params.rb +34 -1
- data/lib/telnyx/models/calls/action_answer_params.rb +11 -1
- data/lib/telnyx/models/calls/action_start_ai_assistant_params.rb +6 -39
- data/lib/telnyx/models/calls/action_transfer_params.rb +24 -1
- data/lib/telnyx/models/check_availability_tool.rb +31 -0
- data/lib/telnyx/models/check_availability_tool_params.rb +31 -0
- data/lib/telnyx/models/enterprise_create_params.rb +1 -1
- data/lib/telnyx/models/enterprise_public.rb +1 -1
- data/lib/telnyx/models/enterprise_update_params.rb +1 -1
- data/lib/telnyx/models/enterprises/reputation/{number_create_params.rb → number_associate_params.rb} +2 -2
- data/lib/telnyx/models/enterprises/reputation/{number_create_response.rb → number_associate_response.rb} +5 -5
- data/lib/telnyx/models/enterprises/reputation/{number_delete_params.rb → number_disassociate_params.rb} +2 -2
- data/lib/telnyx/models/enterprises/{reputation_list_params.rb → reputation_disable_params.rb} +2 -2
- data/lib/telnyx/models/enterprises/{reputation_create_params.rb → reputation_enable_params.rb} +6 -6
- data/lib/telnyx/models/enterprises/{reputation_create_response.rb → reputation_enable_response.rb} +2 -2
- data/lib/telnyx/models/enterprises/{reputation_delete_all_params.rb → reputation_retrieve_params.rb} +2 -2
- data/lib/telnyx/models/enterprises/{reputation_list_response.rb → reputation_retrieve_response.rb} +2 -2
- data/lib/telnyx/models/porting_orders/phone_number_block_list_params.rb +9 -9
- data/lib/telnyx/models/pronunciation_dict_alias_item.rb +51 -0
- data/lib/telnyx/models/pronunciation_dict_create_params.rb +5 -93
- data/lib/telnyx/models/pronunciation_dict_create_response.rb +3 -191
- data/lib/telnyx/models/pronunciation_dict_data.rb +101 -0
- data/lib/telnyx/models/pronunciation_dict_phoneme_item.rb +71 -0
- data/lib/telnyx/models/pronunciation_dict_retrieve_response.rb +3 -191
- data/lib/telnyx/models/pronunciation_dict_update_params.rb +5 -93
- data/lib/telnyx/models/pronunciation_dict_update_response.rb +3 -191
- data/lib/telnyx/models/texml/accounts/call_calls_params.rb +203 -191
- data/lib/telnyx/models/voice_clone_create_from_design_params.rb +3 -3
- data/lib/telnyx/models/voice_clone_create_from_upload_params.rb +371 -71
- data/lib/telnyx/models/voice_clone_create_params.rb +161 -51
- data/lib/telnyx/models/voice_clone_data.rb +51 -4
- data/lib/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_params.rb +26 -0
- data/lib/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_response.rb +54 -0
- data/lib/telnyx/models.rb +20 -0
- data/lib/telnyx/resources/ai/assistants/versions.rb +1 -1
- data/lib/telnyx/resources/ai/assistants.rb +2 -2
- data/lib/telnyx/resources/calls/actions.rb +7 -3
- data/lib/telnyx/resources/calls.rb +5 -1
- data/lib/telnyx/resources/enterprises/reputation/numbers.rb +42 -42
- data/lib/telnyx/resources/enterprises/reputation.rb +61 -61
- data/lib/telnyx/resources/pronunciation_dicts.rb +4 -4
- data/lib/telnyx/resources/texml/accounts/calls.rb +3 -3
- data/lib/telnyx/resources/voice_clones.rb +7 -27
- data/lib/telnyx/resources/whatsapp/phone_numbers/profile/photo.rb +20 -0
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +22 -9
- data/rbi/telnyx/models/ai/assistant.rbi +15 -329
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +4 -121
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +4 -121
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +4 -123
- data/rbi/telnyx/models/ai/conversation_add_message_params.rbi +5 -5
- data/rbi/telnyx/models/ai/inference_embedding.rbi +4 -123
- data/rbi/telnyx/models/ai/observability.rbi +90 -0
- data/rbi/telnyx/models/ai/observability_req.rbi +92 -0
- data/rbi/telnyx/models/book_appointment_tool.rbi +65 -0
- data/rbi/telnyx/models/book_appointment_tool_params.rbi +83 -0
- data/rbi/telnyx/models/call_assistant_request.rbi +322 -0
- data/rbi/telnyx/models/call_control_bucket_ids.rbi +42 -0
- data/rbi/telnyx/models/call_control_retrieval_tool.rbi +63 -0
- data/rbi/telnyx/models/call_dial_params.rbi +52 -0
- data/rbi/telnyx/models/calls/action_answer_params.rbi +15 -0
- data/rbi/telnyx/models/calls/action_start_ai_assistant_params.rbi +10 -77
- data/rbi/telnyx/models/calls/action_transfer_params.rbi +57 -0
- data/rbi/telnyx/models/check_availability_tool.rbi +67 -0
- data/rbi/telnyx/models/check_availability_tool_params.rbi +45 -0
- data/rbi/telnyx/models/enterprise_create_params.rbi +1 -1
- data/rbi/telnyx/models/enterprise_public.rbi +1 -1
- data/rbi/telnyx/models/enterprise_update_params.rbi +1 -1
- data/rbi/telnyx/models/enterprises/reputation/{number_create_params.rbi → number_associate_params.rbi} +2 -2
- data/rbi/telnyx/models/enterprises/reputation/{number_create_response.rbi → number_associate_response.rbi} +7 -7
- data/rbi/telnyx/models/enterprises/reputation/{number_delete_params.rbi → number_disassociate_params.rbi} +2 -2
- data/rbi/telnyx/models/enterprises/{reputation_list_params.rbi → reputation_disable_params.rbi} +2 -2
- data/rbi/telnyx/models/enterprises/{reputation_create_params.rbi → reputation_enable_params.rbi} +14 -14
- data/rbi/telnyx/models/enterprises/{reputation_create_response.rbi → reputation_enable_response.rbi} +2 -2
- data/rbi/telnyx/models/enterprises/{reputation_delete_all_params.rbi → reputation_retrieve_params.rbi} +2 -2
- data/rbi/telnyx/models/enterprises/{reputation_list_response.rbi → reputation_retrieve_response.rbi} +2 -2
- data/rbi/telnyx/models/porting_orders/phone_number_block_list_params.rbi +34 -34
- data/rbi/telnyx/models/pronunciation_dict_alias_item.rbi +79 -0
- data/rbi/telnyx/models/pronunciation_dict_create_params.rbi +8 -154
- data/rbi/telnyx/models/pronunciation_dict_create_response.rbi +6 -366
- data/rbi/telnyx/models/pronunciation_dict_data.rbi +186 -0
- data/rbi/telnyx/models/pronunciation_dict_phoneme_item.rbi +117 -0
- data/rbi/telnyx/models/pronunciation_dict_retrieve_response.rbi +6 -366
- data/rbi/telnyx/models/pronunciation_dict_update_params.rbi +10 -156
- data/rbi/telnyx/models/pronunciation_dict_update_response.rbi +6 -366
- data/rbi/telnyx/models/texml/accounts/call_calls_params.rbi +391 -403
- data/rbi/telnyx/models/voice_clone_create_from_design_params.rbi +10 -10
- data/rbi/telnyx/models/voice_clone_create_from_upload_params.rbi +711 -134
- data/rbi/telnyx/models/voice_clone_create_params.rbi +345 -79
- data/rbi/telnyx/models/voice_clone_data.rbi +77 -4
- data/rbi/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_params.rbi +47 -0
- data/rbi/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_response.rbi +118 -0
- data/rbi/telnyx/models.rbi +20 -0
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +1 -2
- data/rbi/telnyx/resources/ai/assistants.rbi +2 -4
- data/rbi/telnyx/resources/calls/actions.rbi +14 -3
- data/rbi/telnyx/resources/calls.rbi +10 -0
- data/rbi/telnyx/resources/enterprises/reputation/numbers.rbi +34 -34
- data/rbi/telnyx/resources/enterprises/reputation.rbi +44 -44
- data/rbi/telnyx/resources/pronunciation_dicts.rbi +5 -7
- data/rbi/telnyx/resources/texml/accounts/calls.rbi +5 -5
- data/rbi/telnyx/resources/voice_clones.rbi +17 -41
- data/rbi/telnyx/resources/whatsapp/phone_numbers/profile/photo.rbi +16 -0
- data/sig/telnyx/models/ai/assistant.rbs +3 -142
- data/sig/telnyx/models/ai/assistant_create_params.rbs +6 -59
- data/sig/telnyx/models/ai/assistant_update_params.rbs +6 -59
- data/sig/telnyx/models/ai/assistants/update_assistant.rbs +6 -59
- data/sig/telnyx/models/ai/conversation_add_message_params.rbs +5 -5
- data/sig/telnyx/models/ai/inference_embedding.rbs +6 -59
- data/sig/telnyx/models/ai/observability.rbs +58 -0
- data/sig/telnyx/models/ai/observability_req.rbs +58 -0
- data/sig/telnyx/models/book_appointment_tool.rbs +35 -0
- data/sig/telnyx/models/book_appointment_tool_params.rbs +39 -0
- data/sig/telnyx/models/call_assistant_request.rbs +132 -0
- data/sig/telnyx/models/call_control_bucket_ids.rbs +21 -0
- data/sig/telnyx/models/call_control_retrieval_tool.rbs +35 -0
- data/sig/telnyx/models/call_dial_params.rbs +29 -0
- data/sig/telnyx/models/calls/action_answer_params.rbs +9 -0
- data/sig/telnyx/models/calls/action_start_ai_assistant_params.rbs +6 -35
- data/sig/telnyx/models/calls/action_transfer_params.rbs +20 -0
- data/sig/telnyx/models/check_availability_tool.rbs +35 -0
- data/sig/telnyx/models/check_availability_tool_params.rbs +16 -0
- data/sig/telnyx/models/enterprise_create_params.rbs +1 -1
- data/sig/telnyx/models/enterprise_public.rbs +1 -1
- data/sig/telnyx/models/enterprise_update_params.rbs +1 -1
- data/sig/telnyx/models/enterprises/reputation/{number_create_params.rbs → number_associate_params.rbs} +2 -2
- data/sig/telnyx/models/enterprises/reputation/{number_create_response.rbs → number_associate_response.rbs} +8 -8
- data/sig/telnyx/models/enterprises/reputation/{number_delete_params.rbs → number_disassociate_params.rbs} +2 -2
- data/sig/telnyx/models/enterprises/{reputation_list_params.rbs → reputation_disable_params.rbs} +2 -2
- data/sig/telnyx/models/enterprises/{reputation_create_params.rbs → reputation_enable_params.rbs} +9 -9
- data/sig/telnyx/models/enterprises/{reputation_create_response.rbs → reputation_enable_response.rbs} +2 -2
- data/sig/telnyx/models/enterprises/{reputation_delete_all_params.rbs → reputation_retrieve_params.rbs} +2 -2
- data/sig/telnyx/models/enterprises/{reputation_list_response.rbs → reputation_retrieve_response.rbs} +2 -2
- data/sig/telnyx/models/porting_orders/phone_number_block_list_params.rbs +9 -9
- data/sig/telnyx/models/pronunciation_dict_alias_item.rbs +40 -0
- data/sig/telnyx/models/pronunciation_dict_create_params.rbs +2 -58
- data/sig/telnyx/models/pronunciation_dict_create_response.rbs +6 -155
- data/sig/telnyx/models/pronunciation_dict_data.rbs +88 -0
- data/sig/telnyx/models/pronunciation_dict_phoneme_item.rbs +55 -0
- data/sig/telnyx/models/pronunciation_dict_retrieve_response.rbs +6 -155
- data/sig/telnyx/models/pronunciation_dict_update_params.rbs +2 -58
- data/sig/telnyx/models/pronunciation_dict_update_response.rbs +6 -155
- data/sig/telnyx/models/texml/accounts/call_calls_params.rbs +317 -325
- data/sig/telnyx/models/voice_clone_create_from_design_params.rbs +7 -7
- data/sig/telnyx/models/voice_clone_create_from_upload_params.rbs +269 -56
- data/sig/telnyx/models/voice_clone_create_params.rbs +129 -44
- data/sig/telnyx/models/voice_clone_data.rbs +43 -0
- data/sig/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_params.rbs +30 -0
- data/sig/telnyx/models/whatsapp/phone_numbers/profile/photo_retrieve_response.rbs +63 -0
- data/sig/telnyx/models.rbs +20 -0
- data/sig/telnyx/resources/ai/assistants/versions.rbs +1 -1
- data/sig/telnyx/resources/ai/assistants.rbs +2 -2
- data/sig/telnyx/resources/calls/actions.rbs +3 -1
- data/sig/telnyx/resources/calls.rbs +2 -0
- data/sig/telnyx/resources/enterprises/reputation/numbers.rbs +7 -7
- data/sig/telnyx/resources/enterprises/reputation.rbs +8 -8
- data/sig/telnyx/resources/pronunciation_dicts.rbs +1 -1
- data/sig/telnyx/resources/texml/accounts/calls.rbs +1 -1
- data/sig/telnyx/resources/voice_clones.rbs +2 -12
- data/sig/telnyx/resources/whatsapp/phone_numbers/profile/photo.rbs +5 -0
- metadata +68 -29
- data/lib/telnyx/models/pronunciation_dict_list_response.rb +0 -190
- data/rbi/telnyx/models/pronunciation_dict_list_response.rbi +0 -353
- data/sig/telnyx/models/pronunciation_dict_list_response.rbs +0 -144
|
@@ -170,9 +170,9 @@ module Telnyx
|
|
|
170
170
|
returns(
|
|
171
171
|
T.nilable(
|
|
172
172
|
T.any(
|
|
173
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
173
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderMultipleStatus::OrSymbol,
|
|
174
174
|
T::Array[
|
|
175
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
175
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderStatusList::OrSymbol
|
|
176
176
|
]
|
|
177
177
|
)
|
|
178
178
|
)
|
|
@@ -184,9 +184,9 @@ module Telnyx
|
|
|
184
184
|
params(
|
|
185
185
|
status:
|
|
186
186
|
T.any(
|
|
187
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
187
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderMultipleStatus::OrSymbol,
|
|
188
188
|
T::Array[
|
|
189
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
189
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderStatusList::OrSymbol
|
|
190
190
|
]
|
|
191
191
|
)
|
|
192
192
|
).void
|
|
@@ -225,9 +225,9 @@ module Telnyx
|
|
|
225
225
|
porting_order_id: T::Array[String],
|
|
226
226
|
status:
|
|
227
227
|
T.any(
|
|
228
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
228
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderMultipleStatus::OrSymbol,
|
|
229
229
|
T::Array[
|
|
230
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
230
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderStatusList::OrSymbol
|
|
231
231
|
]
|
|
232
232
|
),
|
|
233
233
|
support_key:
|
|
@@ -263,9 +263,9 @@ module Telnyx
|
|
|
263
263
|
porting_order_id: T::Array[String],
|
|
264
264
|
status:
|
|
265
265
|
T.any(
|
|
266
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
266
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderMultipleStatus::OrSymbol,
|
|
267
267
|
T::Array[
|
|
268
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
268
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderStatusList::OrSymbol
|
|
269
269
|
]
|
|
270
270
|
),
|
|
271
271
|
support_key:
|
|
@@ -414,22 +414,22 @@ module Telnyx
|
|
|
414
414
|
Variants =
|
|
415
415
|
T.type_alias do
|
|
416
416
|
T.any(
|
|
417
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
417
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderMultipleStatus::TaggedSymbol,
|
|
418
418
|
T::Array[
|
|
419
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
419
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderStatusList::TaggedSymbol
|
|
420
420
|
]
|
|
421
421
|
)
|
|
422
422
|
end
|
|
423
423
|
|
|
424
424
|
# Filter by single status
|
|
425
|
-
module
|
|
425
|
+
module PortingOrderMultipleStatus
|
|
426
426
|
extend Telnyx::Internal::Type::Enum
|
|
427
427
|
|
|
428
428
|
TaggedSymbol =
|
|
429
429
|
T.type_alias do
|
|
430
430
|
T.all(
|
|
431
431
|
Symbol,
|
|
432
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
432
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderMultipleStatus
|
|
433
433
|
)
|
|
434
434
|
end
|
|
435
435
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
@@ -437,48 +437,48 @@ module Telnyx
|
|
|
437
437
|
DRAFT =
|
|
438
438
|
T.let(
|
|
439
439
|
:draft,
|
|
440
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
440
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderMultipleStatus::TaggedSymbol
|
|
441
441
|
)
|
|
442
442
|
IN_PROCESS =
|
|
443
443
|
T.let(
|
|
444
444
|
:"in-process",
|
|
445
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
445
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderMultipleStatus::TaggedSymbol
|
|
446
446
|
)
|
|
447
447
|
SUBMITTED =
|
|
448
448
|
T.let(
|
|
449
449
|
:submitted,
|
|
450
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
450
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderMultipleStatus::TaggedSymbol
|
|
451
451
|
)
|
|
452
452
|
EXCEPTION =
|
|
453
453
|
T.let(
|
|
454
454
|
:exception,
|
|
455
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
455
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderMultipleStatus::TaggedSymbol
|
|
456
456
|
)
|
|
457
457
|
FOC_DATE_CONFIRMED =
|
|
458
458
|
T.let(
|
|
459
459
|
:"foc-date-confirmed",
|
|
460
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
460
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderMultipleStatus::TaggedSymbol
|
|
461
461
|
)
|
|
462
462
|
CANCEL_PENDING =
|
|
463
463
|
T.let(
|
|
464
464
|
:"cancel-pending",
|
|
465
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
465
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderMultipleStatus::TaggedSymbol
|
|
466
466
|
)
|
|
467
467
|
PORTED =
|
|
468
468
|
T.let(
|
|
469
469
|
:ported,
|
|
470
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
470
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderMultipleStatus::TaggedSymbol
|
|
471
471
|
)
|
|
472
472
|
CANCELLED =
|
|
473
473
|
T.let(
|
|
474
474
|
:cancelled,
|
|
475
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
475
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderMultipleStatus::TaggedSymbol
|
|
476
476
|
)
|
|
477
477
|
|
|
478
478
|
sig do
|
|
479
479
|
override.returns(
|
|
480
480
|
T::Array[
|
|
481
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
481
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderMultipleStatus::TaggedSymbol
|
|
482
482
|
]
|
|
483
483
|
)
|
|
484
484
|
end
|
|
@@ -486,14 +486,14 @@ module Telnyx
|
|
|
486
486
|
end
|
|
487
487
|
end
|
|
488
488
|
|
|
489
|
-
module
|
|
489
|
+
module PortingOrderStatusList
|
|
490
490
|
extend Telnyx::Internal::Type::Enum
|
|
491
491
|
|
|
492
492
|
TaggedSymbol =
|
|
493
493
|
T.type_alias do
|
|
494
494
|
T.all(
|
|
495
495
|
Symbol,
|
|
496
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
496
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderStatusList
|
|
497
497
|
)
|
|
498
498
|
end
|
|
499
499
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
@@ -501,48 +501,48 @@ module Telnyx
|
|
|
501
501
|
DRAFT =
|
|
502
502
|
T.let(
|
|
503
503
|
:draft,
|
|
504
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
504
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderStatusList::TaggedSymbol
|
|
505
505
|
)
|
|
506
506
|
IN_PROCESS =
|
|
507
507
|
T.let(
|
|
508
508
|
:"in-process",
|
|
509
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
509
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderStatusList::TaggedSymbol
|
|
510
510
|
)
|
|
511
511
|
SUBMITTED =
|
|
512
512
|
T.let(
|
|
513
513
|
:submitted,
|
|
514
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
514
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderStatusList::TaggedSymbol
|
|
515
515
|
)
|
|
516
516
|
EXCEPTION =
|
|
517
517
|
T.let(
|
|
518
518
|
:exception,
|
|
519
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
519
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderStatusList::TaggedSymbol
|
|
520
520
|
)
|
|
521
521
|
FOC_DATE_CONFIRMED =
|
|
522
522
|
T.let(
|
|
523
523
|
:"foc-date-confirmed",
|
|
524
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
524
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderStatusList::TaggedSymbol
|
|
525
525
|
)
|
|
526
526
|
CANCEL_PENDING =
|
|
527
527
|
T.let(
|
|
528
528
|
:"cancel-pending",
|
|
529
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
529
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderStatusList::TaggedSymbol
|
|
530
530
|
)
|
|
531
531
|
PORTED =
|
|
532
532
|
T.let(
|
|
533
533
|
:ported,
|
|
534
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
534
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderStatusList::TaggedSymbol
|
|
535
535
|
)
|
|
536
536
|
CANCELLED =
|
|
537
537
|
T.let(
|
|
538
538
|
:cancelled,
|
|
539
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
539
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderStatusList::TaggedSymbol
|
|
540
540
|
)
|
|
541
541
|
|
|
542
542
|
sig do
|
|
543
543
|
override.returns(
|
|
544
544
|
T::Array[
|
|
545
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
545
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderStatusList::TaggedSymbol
|
|
546
546
|
]
|
|
547
547
|
)
|
|
548
548
|
end
|
|
@@ -560,11 +560,11 @@ module Telnyx
|
|
|
560
560
|
def self.variants
|
|
561
561
|
end
|
|
562
562
|
|
|
563
|
-
|
|
563
|
+
PortingOrderStatusListArray =
|
|
564
564
|
T.let(
|
|
565
565
|
Telnyx::Internal::Type::ArrayOf[
|
|
566
566
|
enum:
|
|
567
|
-
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::
|
|
567
|
+
Telnyx::PortingOrders::PhoneNumberBlockListParams::Filter::Status::PortingOrderStatusList
|
|
568
568
|
],
|
|
569
569
|
Telnyx::Internal::Type::Converter
|
|
570
570
|
)
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
class PronunciationDictAliasItem < Telnyx::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(Telnyx::PronunciationDictAliasItem, Telnyx::Internal::AnyHash)
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
# The replacement text that will be spoken instead.
|
|
12
|
+
sig { returns(String) }
|
|
13
|
+
attr_accessor :alias_
|
|
14
|
+
|
|
15
|
+
# The text to match in the input. Case-insensitive matching is used during
|
|
16
|
+
# synthesis.
|
|
17
|
+
sig { returns(String) }
|
|
18
|
+
attr_accessor :text
|
|
19
|
+
|
|
20
|
+
# The item type.
|
|
21
|
+
sig { returns(Telnyx::PronunciationDictAliasItem::Type::OrSymbol) }
|
|
22
|
+
attr_accessor :type
|
|
23
|
+
|
|
24
|
+
# An alias pronunciation item. When the `text` value is found in input, it is
|
|
25
|
+
# replaced with the `alias` before speech synthesis.
|
|
26
|
+
sig do
|
|
27
|
+
params(
|
|
28
|
+
alias_: String,
|
|
29
|
+
text: String,
|
|
30
|
+
type: Telnyx::PronunciationDictAliasItem::Type::OrSymbol
|
|
31
|
+
).returns(T.attached_class)
|
|
32
|
+
end
|
|
33
|
+
def self.new(
|
|
34
|
+
# The replacement text that will be spoken instead.
|
|
35
|
+
alias_:,
|
|
36
|
+
# The text to match in the input. Case-insensitive matching is used during
|
|
37
|
+
# synthesis.
|
|
38
|
+
text:,
|
|
39
|
+
# The item type.
|
|
40
|
+
type:
|
|
41
|
+
)
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
sig do
|
|
45
|
+
override.returns(
|
|
46
|
+
{
|
|
47
|
+
alias_: String,
|
|
48
|
+
text: String,
|
|
49
|
+
type: Telnyx::PronunciationDictAliasItem::Type::OrSymbol
|
|
50
|
+
}
|
|
51
|
+
)
|
|
52
|
+
end
|
|
53
|
+
def to_hash
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# The item type.
|
|
57
|
+
module Type
|
|
58
|
+
extend Telnyx::Internal::Type::Enum
|
|
59
|
+
|
|
60
|
+
TaggedSymbol =
|
|
61
|
+
T.type_alias do
|
|
62
|
+
T.all(Symbol, Telnyx::PronunciationDictAliasItem::Type)
|
|
63
|
+
end
|
|
64
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
65
|
+
|
|
66
|
+
ALIAS =
|
|
67
|
+
T.let(:alias, Telnyx::PronunciationDictAliasItem::Type::TaggedSymbol)
|
|
68
|
+
|
|
69
|
+
sig do
|
|
70
|
+
override.returns(
|
|
71
|
+
T::Array[Telnyx::PronunciationDictAliasItem::Type::TaggedSymbol]
|
|
72
|
+
)
|
|
73
|
+
end
|
|
74
|
+
def self.values
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
end
|
|
@@ -20,8 +20,8 @@ module Telnyx
|
|
|
20
20
|
returns(
|
|
21
21
|
T::Array[
|
|
22
22
|
T.any(
|
|
23
|
-
Telnyx::
|
|
24
|
-
Telnyx::
|
|
23
|
+
Telnyx::PronunciationDictAliasItem,
|
|
24
|
+
Telnyx::PronunciationDictPhonemeItem
|
|
25
25
|
)
|
|
26
26
|
]
|
|
27
27
|
)
|
|
@@ -37,8 +37,8 @@ module Telnyx
|
|
|
37
37
|
items:
|
|
38
38
|
T::Array[
|
|
39
39
|
T.any(
|
|
40
|
-
Telnyx::
|
|
41
|
-
Telnyx::
|
|
40
|
+
Telnyx::PronunciationDictAliasItem::OrHash,
|
|
41
|
+
Telnyx::PronunciationDictPhonemeItem::OrHash
|
|
42
42
|
)
|
|
43
43
|
],
|
|
44
44
|
name: String,
|
|
@@ -61,8 +61,8 @@ module Telnyx
|
|
|
61
61
|
items:
|
|
62
62
|
T::Array[
|
|
63
63
|
T.any(
|
|
64
|
-
Telnyx::
|
|
65
|
-
Telnyx::
|
|
64
|
+
Telnyx::PronunciationDictAliasItem,
|
|
65
|
+
Telnyx::PronunciationDictPhonemeItem
|
|
66
66
|
)
|
|
67
67
|
],
|
|
68
68
|
name: String,
|
|
@@ -82,157 +82,11 @@ module Telnyx
|
|
|
82
82
|
Variants =
|
|
83
83
|
T.type_alias do
|
|
84
84
|
T.any(
|
|
85
|
-
Telnyx::
|
|
86
|
-
Telnyx::
|
|
85
|
+
Telnyx::PronunciationDictAliasItem,
|
|
86
|
+
Telnyx::PronunciationDictPhonemeItem
|
|
87
87
|
)
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
-
class Alias < Telnyx::Internal::Type::BaseModel
|
|
91
|
-
OrHash =
|
|
92
|
-
T.type_alias do
|
|
93
|
-
T.any(
|
|
94
|
-
Telnyx::PronunciationDictCreateParams::Item::Alias,
|
|
95
|
-
Telnyx::Internal::AnyHash
|
|
96
|
-
)
|
|
97
|
-
end
|
|
98
|
-
|
|
99
|
-
# The replacement text that will be spoken instead.
|
|
100
|
-
sig { returns(String) }
|
|
101
|
-
attr_accessor :alias_
|
|
102
|
-
|
|
103
|
-
# The text to match in the input. Case-insensitive matching is used during
|
|
104
|
-
# synthesis.
|
|
105
|
-
sig { returns(String) }
|
|
106
|
-
attr_accessor :text
|
|
107
|
-
|
|
108
|
-
# The item type.
|
|
109
|
-
sig { returns(Symbol) }
|
|
110
|
-
attr_accessor :type
|
|
111
|
-
|
|
112
|
-
# An alias pronunciation item. When the `text` value is found in input, it is
|
|
113
|
-
# replaced with the `alias` before speech synthesis.
|
|
114
|
-
sig do
|
|
115
|
-
params(alias_: String, text: String, type: Symbol).returns(
|
|
116
|
-
T.attached_class
|
|
117
|
-
)
|
|
118
|
-
end
|
|
119
|
-
def self.new(
|
|
120
|
-
# The replacement text that will be spoken instead.
|
|
121
|
-
alias_:,
|
|
122
|
-
# The text to match in the input. Case-insensitive matching is used during
|
|
123
|
-
# synthesis.
|
|
124
|
-
text:,
|
|
125
|
-
# The item type.
|
|
126
|
-
type: :alias
|
|
127
|
-
)
|
|
128
|
-
end
|
|
129
|
-
|
|
130
|
-
sig do
|
|
131
|
-
override.returns({ alias_: String, text: String, type: Symbol })
|
|
132
|
-
end
|
|
133
|
-
def to_hash
|
|
134
|
-
end
|
|
135
|
-
end
|
|
136
|
-
|
|
137
|
-
class Phoneme < Telnyx::Internal::Type::BaseModel
|
|
138
|
-
OrHash =
|
|
139
|
-
T.type_alias do
|
|
140
|
-
T.any(
|
|
141
|
-
Telnyx::PronunciationDictCreateParams::Item::Phoneme,
|
|
142
|
-
Telnyx::Internal::AnyHash
|
|
143
|
-
)
|
|
144
|
-
end
|
|
145
|
-
|
|
146
|
-
# The phonetic alphabet used for the phoneme notation.
|
|
147
|
-
sig do
|
|
148
|
-
returns(
|
|
149
|
-
Telnyx::PronunciationDictCreateParams::Item::Phoneme::Alphabet::OrSymbol
|
|
150
|
-
)
|
|
151
|
-
end
|
|
152
|
-
attr_accessor :alphabet
|
|
153
|
-
|
|
154
|
-
# The phoneme notation representing the desired pronunciation.
|
|
155
|
-
sig { returns(String) }
|
|
156
|
-
attr_accessor :phoneme
|
|
157
|
-
|
|
158
|
-
# The text to match in the input. Case-insensitive matching is used during
|
|
159
|
-
# synthesis.
|
|
160
|
-
sig { returns(String) }
|
|
161
|
-
attr_accessor :text
|
|
162
|
-
|
|
163
|
-
# The item type.
|
|
164
|
-
sig { returns(Symbol) }
|
|
165
|
-
attr_accessor :type
|
|
166
|
-
|
|
167
|
-
# A phoneme pronunciation item. When the `text` value is found in input, it is
|
|
168
|
-
# pronounced using the specified IPA phoneme notation.
|
|
169
|
-
sig do
|
|
170
|
-
params(
|
|
171
|
-
alphabet:
|
|
172
|
-
Telnyx::PronunciationDictCreateParams::Item::Phoneme::Alphabet::OrSymbol,
|
|
173
|
-
phoneme: String,
|
|
174
|
-
text: String,
|
|
175
|
-
type: Symbol
|
|
176
|
-
).returns(T.attached_class)
|
|
177
|
-
end
|
|
178
|
-
def self.new(
|
|
179
|
-
# The phonetic alphabet used for the phoneme notation.
|
|
180
|
-
alphabet:,
|
|
181
|
-
# The phoneme notation representing the desired pronunciation.
|
|
182
|
-
phoneme:,
|
|
183
|
-
# The text to match in the input. Case-insensitive matching is used during
|
|
184
|
-
# synthesis.
|
|
185
|
-
text:,
|
|
186
|
-
# The item type.
|
|
187
|
-
type: :phoneme
|
|
188
|
-
)
|
|
189
|
-
end
|
|
190
|
-
|
|
191
|
-
sig do
|
|
192
|
-
override.returns(
|
|
193
|
-
{
|
|
194
|
-
alphabet:
|
|
195
|
-
Telnyx::PronunciationDictCreateParams::Item::Phoneme::Alphabet::OrSymbol,
|
|
196
|
-
phoneme: String,
|
|
197
|
-
text: String,
|
|
198
|
-
type: Symbol
|
|
199
|
-
}
|
|
200
|
-
)
|
|
201
|
-
end
|
|
202
|
-
def to_hash
|
|
203
|
-
end
|
|
204
|
-
|
|
205
|
-
# The phonetic alphabet used for the phoneme notation.
|
|
206
|
-
module Alphabet
|
|
207
|
-
extend Telnyx::Internal::Type::Enum
|
|
208
|
-
|
|
209
|
-
TaggedSymbol =
|
|
210
|
-
T.type_alias do
|
|
211
|
-
T.all(
|
|
212
|
-
Symbol,
|
|
213
|
-
Telnyx::PronunciationDictCreateParams::Item::Phoneme::Alphabet
|
|
214
|
-
)
|
|
215
|
-
end
|
|
216
|
-
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
217
|
-
|
|
218
|
-
IPA =
|
|
219
|
-
T.let(
|
|
220
|
-
:ipa,
|
|
221
|
-
Telnyx::PronunciationDictCreateParams::Item::Phoneme::Alphabet::TaggedSymbol
|
|
222
|
-
)
|
|
223
|
-
|
|
224
|
-
sig do
|
|
225
|
-
override.returns(
|
|
226
|
-
T::Array[
|
|
227
|
-
Telnyx::PronunciationDictCreateParams::Item::Phoneme::Alphabet::TaggedSymbol
|
|
228
|
-
]
|
|
229
|
-
)
|
|
230
|
-
end
|
|
231
|
-
def self.values
|
|
232
|
-
end
|
|
233
|
-
end
|
|
234
|
-
end
|
|
235
|
-
|
|
236
90
|
sig do
|
|
237
91
|
override.returns(
|
|
238
92
|
T::Array[Telnyx::PronunciationDictCreateParams::Item::Variants]
|