telnyx 5.0.0 → 5.1.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 +38 -0
- data/README.md +1 -1
- data/lib/telnyx/client.rb +4 -0
- data/lib/telnyx/internal/type/union.rb +1 -1
- data/lib/telnyx/models/ai/assistant.rb +39 -4
- data/lib/telnyx/models/ai/assistant_create_params.rb +187 -6
- data/lib/telnyx/models/ai/assistant_imports_params.rb +10 -1
- data/lib/telnyx/models/ai/assistant_tool.rb +400 -3
- data/lib/telnyx/models/ai/assistant_update_params.rb +187 -6
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +189 -6
- data/lib/telnyx/models/ai/bucket_ids.rb +7 -1
- data/lib/telnyx/models/ai/chat_create_completion_params.rb +4 -4
- data/lib/telnyx/models/ai/inference_embedding.rb +187 -6
- data/lib/telnyx/models/ai/messaging_settings.rb +10 -1
- data/lib/telnyx/models/ai/retrieval_tool.rb +3 -3
- data/lib/telnyx/models/ai/telephony_settings.rb +142 -1
- data/lib/telnyx/models/ai/transfer_tool.rb +46 -3
- data/lib/telnyx/models/ai/voice_settings.rb +1 -1
- data/lib/telnyx/models/ai/webhook_tool.rb +256 -3
- data/lib/telnyx/models/call_control_application_list_params.rb +16 -18
- data/lib/telnyx/models/call_event_list_params.rb +16 -18
- data/lib/telnyx/models/calls/action_add_ai_assistant_messages_params.rb +289 -0
- data/lib/telnyx/models/calls/action_add_ai_assistant_messages_response.rb +18 -0
- data/lib/telnyx/models/calls/action_start_noise_suppression_params.rb +7 -4
- data/lib/telnyx/models/conference_list_params.rb +16 -18
- data/lib/telnyx/models/conference_list_participants_params.rb +16 -18
- data/lib/telnyx/models/connection_list_active_calls_params.rb +16 -18
- data/lib/telnyx/models/fax_create_params.rb +10 -1
- data/lib/telnyx/models/messaging_10dlc/brand_retrieve_sms_otp_status_params.rb +1 -9
- data/lib/telnyx/models/messaging_profile.rb +11 -1
- data/lib/telnyx/models/messaging_profile_create_params.rb +11 -1
- data/lib/telnyx/models/messaging_profile_update_params.rb +11 -1
- data/lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb +14 -1
- data/lib/telnyx/models/messaging_tollfree/verification/verification_request_egress.rb +17 -1
- data/lib/telnyx/models/messaging_tollfree/verification/verification_request_status.rb +17 -1
- data/lib/telnyx/models/organizations/user_get_groups_report_params.rb +32 -0
- data/lib/telnyx/models/organizations/user_get_groups_report_response.rb +132 -0
- data/lib/telnyx/models/organizations/user_list_params.rb +73 -0
- data/lib/telnyx/models/organizations/user_list_response.rb +118 -0
- data/lib/telnyx/models/organizations/user_retrieve_params.rb +29 -0
- data/lib/telnyx/models/organizations/user_retrieve_response.rb +129 -0
- data/lib/telnyx/models/organizations/users/action_remove_params.rb +18 -0
- data/lib/telnyx/models/organizations/users/action_remove_response.rb +133 -0
- data/lib/telnyx/models/private_wireless_gateway_status.rb +3 -2
- data/lib/telnyx/models/queues/call_list_params.rb +16 -18
- data/lib/telnyx/models/sim_card_list_params.rb +11 -3
- data/lib/telnyx/models/texml/accounts/queue_list_params.rb +64 -0
- data/lib/telnyx/models/texml/accounts/queue_list_response.rb +155 -0
- data/lib/telnyx/models/unsafe_unwrap_webhook_event.rb +1 -7
- data/lib/telnyx/models/unwrap_webhook_event.rb +1 -7
- data/lib/telnyx/models.rb +2 -6
- data/lib/telnyx/resources/ai/assistants/tools.rb +2 -2
- data/lib/telnyx/resources/ai/assistants/versions.rb +18 -16
- data/lib/telnyx/resources/ai/assistants.rb +15 -9
- data/lib/telnyx/resources/ai/clusters.rb +1 -1
- data/lib/telnyx/resources/ai/embeddings.rb +1 -1
- data/lib/telnyx/resources/bundle_pricing/user_bundles.rb +1 -1
- data/lib/telnyx/resources/call_control_applications.rb +8 -4
- data/lib/telnyx/resources/call_events.rb +8 -4
- data/lib/telnyx/resources/calls/actions.rb +31 -0
- data/lib/telnyx/resources/conferences.rb +16 -8
- data/lib/telnyx/resources/connections.rb +8 -4
- data/lib/telnyx/resources/faxes.rb +3 -1
- data/lib/telnyx/resources/messages.rb +1 -1
- data/lib/telnyx/resources/messaging_10dlc/brand.rb +10 -14
- data/lib/telnyx/resources/messaging_profiles/autoresp_configs.rb +6 -6
- data/lib/telnyx/resources/messaging_profiles.rb +6 -2
- data/lib/telnyx/resources/messaging_tollfree/verification/requests.rb +6 -2
- data/lib/telnyx/resources/operator_connect/actions.rb +1 -1
- data/lib/telnyx/resources/organizations/users/actions.rb +38 -0
- data/lib/telnyx/resources/organizations/users.rb +114 -0
- data/lib/telnyx/resources/organizations.rb +18 -0
- data/lib/telnyx/resources/phone_numbers/jobs.rb +1 -1
- data/lib/telnyx/resources/queues/calls.rb +8 -4
- data/lib/telnyx/resources/sim_cards/actions.rb +6 -6
- data/lib/telnyx/resources/texml/accounts/calls/recordings.rb +1 -1
- data/lib/telnyx/resources/texml/accounts/queues.rb +41 -0
- data/lib/telnyx/resources/usage_reports.rb +2 -2
- data/lib/telnyx/resources/webhooks.rb +2 -2
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +15 -69
- data/rbi/telnyx/client.rbi +3 -0
- data/rbi/telnyx/models/ai/assistant.rbi +91 -5
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +449 -14
- data/rbi/telnyx/models/ai/assistant_imports_params.rbi +13 -0
- data/rbi/telnyx/models/ai/assistant_tool.rbi +910 -2
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +449 -14
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +454 -17
- data/rbi/telnyx/models/ai/bucket_ids.rbi +6 -0
- data/rbi/telnyx/models/ai/chat_create_completion_params.rbi +6 -13
- data/rbi/telnyx/models/ai/inference_embedding.rbi +447 -13
- data/rbi/telnyx/models/ai/messaging_settings.rbi +13 -0
- data/rbi/telnyx/models/ai/retrieval_tool.rbi +4 -8
- data/rbi/telnyx/models/ai/telephony_settings.rbi +347 -3
- data/rbi/telnyx/models/ai/transfer_tool.rbi +87 -6
- data/rbi/telnyx/models/ai/voice_settings.rbi +2 -2
- data/rbi/telnyx/models/ai/webhook_tool.rbi +584 -8
- data/rbi/telnyx/models/call_control_application_list_params.rbi +23 -35
- data/rbi/telnyx/models/call_event_list_params.rbi +23 -35
- data/rbi/telnyx/models/calls/action_add_ai_assistant_messages_params.rbi +583 -0
- data/rbi/telnyx/models/calls/action_add_ai_assistant_messages_response.rbi +39 -0
- data/rbi/telnyx/models/calls/action_start_noise_suppression_params.rbi +14 -6
- data/rbi/telnyx/models/conference_list_params.rbi +23 -35
- data/rbi/telnyx/models/conference_list_participants_params.rbi +23 -35
- data/rbi/telnyx/models/connection_list_active_calls_params.rbi +23 -35
- data/rbi/telnyx/models/fax_create_params.rbi +13 -0
- data/rbi/telnyx/models/messaging_10dlc/brand_retrieve_sms_otp_status_params.rbi +5 -21
- data/rbi/telnyx/models/messaging_profile.rbi +15 -0
- data/rbi/telnyx/models/messaging_profile_create_params.rbi +15 -0
- data/rbi/telnyx/models/messaging_profile_update_params.rbi +15 -0
- data/rbi/telnyx/models/messaging_tollfree/verification/tf_verification_request.rbi +12 -0
- data/rbi/telnyx/models/messaging_tollfree/verification/verification_request_egress.rbi +10 -0
- data/rbi/telnyx/models/messaging_tollfree/verification/verification_request_status.rbi +10 -0
- data/rbi/telnyx/models/organizations/user_get_groups_report_params.rbi +93 -0
- data/rbi/telnyx/models/organizations/user_get_groups_report_response.rbi +253 -0
- data/rbi/telnyx/models/organizations/user_list_params.rbi +152 -0
- data/rbi/telnyx/models/organizations/user_list_response.rbi +231 -0
- data/rbi/telnyx/models/organizations/user_retrieve_params.rbi +55 -0
- data/rbi/telnyx/models/organizations/user_retrieve_response.rbi +275 -0
- data/rbi/telnyx/models/organizations/users/action_remove_params.rbi +34 -0
- data/rbi/telnyx/models/organizations/users/action_remove_response.rbi +282 -0
- data/rbi/telnyx/models/private_wireless_gateway_status.rbi +4 -2
- data/rbi/telnyx/models/queues/call_list_params.rbi +23 -35
- data/rbi/telnyx/models/sim_card_list_params.rbi +14 -3
- data/rbi/telnyx/models/texml/accounts/queue_list_params.rbi +103 -0
- data/rbi/telnyx/models/texml/accounts/queue_list_response.rbi +269 -0
- data/rbi/telnyx/models/unsafe_unwrap_webhook_event.rbi +0 -3
- data/rbi/telnyx/models/unwrap_webhook_event.rbi +0 -3
- data/rbi/telnyx/models.rbi +2 -6
- data/rbi/telnyx/resources/ai/assistants/tools.rbi +2 -2
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +26 -19
- data/rbi/telnyx/resources/ai/assistants.rbi +32 -14
- data/rbi/telnyx/resources/ai/chat.rbi +1 -1
- data/rbi/telnyx/resources/ai/clusters.rbi +1 -1
- data/rbi/telnyx/resources/ai/embeddings.rbi +1 -1
- data/rbi/telnyx/resources/bundle_pricing/user_bundles.rbi +1 -1
- data/rbi/telnyx/resources/call_control_applications.rbi +7 -1
- data/rbi/telnyx/resources/call_events.rbi +5 -1
- data/rbi/telnyx/resources/calls/actions.rbi +37 -2
- data/rbi/telnyx/resources/conferences.rbi +10 -2
- data/rbi/telnyx/resources/connections.rbi +5 -1
- data/rbi/telnyx/resources/faxes.rbi +4 -0
- data/rbi/telnyx/resources/messages.rbi +1 -1
- data/rbi/telnyx/resources/messaging_10dlc/brand.rbi +8 -11
- data/rbi/telnyx/resources/messaging_profiles/autoresp_configs.rbi +6 -6
- data/rbi/telnyx/resources/messaging_profiles.rbi +10 -0
- data/rbi/telnyx/resources/messaging_tollfree/verification/requests.rbi +10 -0
- data/rbi/telnyx/resources/operator_connect/actions.rbi +1 -1
- data/rbi/telnyx/resources/organizations/users/actions.rbi +32 -0
- data/rbi/telnyx/resources/organizations/users.rbi +88 -0
- data/rbi/telnyx/resources/organizations.rbi +15 -0
- data/rbi/telnyx/resources/phone_numbers/jobs.rbi +1 -1
- data/rbi/telnyx/resources/queues/calls.rbi +5 -1
- data/rbi/telnyx/resources/sim_cards/actions.rbi +6 -6
- data/rbi/telnyx/resources/sim_cards.rbi +1 -1
- data/rbi/telnyx/resources/texml/accounts/calls/recordings.rbi +1 -1
- data/rbi/telnyx/resources/texml/accounts/queues.rbi +32 -0
- data/rbi/telnyx/resources/usage_reports.rbi +2 -2
- data/rbi/telnyx/resources/webhooks.rbi +0 -6
- data/sig/telnyx/client.rbs +2 -0
- data/sig/telnyx/models/ai/assistant.rbs +44 -1
- data/sig/telnyx/models/ai/assistant_create_params.rbs +176 -1
- data/sig/telnyx/models/ai/assistant_imports_params.rbs +8 -1
- data/sig/telnyx/models/ai/assistant_tool.rbs +367 -2
- data/sig/telnyx/models/ai/assistant_update_params.rbs +176 -1
- data/sig/telnyx/models/ai/assistants/update_assistant.rbs +178 -3
- data/sig/telnyx/models/ai/chat_create_completion_params.rbs +4 -7
- data/sig/telnyx/models/ai/inference_embedding.rbs +178 -3
- data/sig/telnyx/models/ai/messaging_settings.rbs +7 -0
- data/sig/telnyx/models/ai/retrieval_tool.rbs +4 -4
- data/sig/telnyx/models/ai/telephony_settings.rbs +133 -4
- data/sig/telnyx/models/ai/transfer_tool.rbs +42 -4
- data/sig/telnyx/models/ai/webhook_tool.rbs +241 -4
- data/sig/telnyx/models/call_control_application_list_params.rbs +17 -26
- data/sig/telnyx/models/call_event_list_params.rbs +18 -27
- data/sig/telnyx/models/calls/action_add_ai_assistant_messages_params.rbs +240 -0
- data/sig/telnyx/models/calls/action_add_ai_assistant_messages_response.rbs +20 -0
- data/sig/telnyx/models/calls/action_start_noise_suppression_params.rbs +2 -1
- data/sig/telnyx/models/conference_list_params.rbs +17 -26
- data/sig/telnyx/models/conference_list_participants_params.rbs +17 -26
- data/sig/telnyx/models/connection_list_active_calls_params.rbs +20 -27
- data/sig/telnyx/models/fax_create_params.rbs +7 -0
- data/sig/telnyx/models/messaging_10dlc/brand_retrieve_sms_otp_status_params.rbs +3 -13
- data/sig/telnyx/models/messaging_profile.rbs +7 -0
- data/sig/telnyx/models/messaging_profile_create_params.rbs +7 -0
- data/sig/telnyx/models/messaging_profile_update_params.rbs +7 -0
- data/sig/telnyx/models/messaging_tollfree/verification/tf_verification_request.rbs +5 -0
- data/sig/telnyx/models/messaging_tollfree/verification/verification_request_egress.rbs +5 -0
- data/sig/telnyx/models/messaging_tollfree/verification/verification_request_status.rbs +5 -0
- data/sig/telnyx/models/organizations/user_get_groups_report_params.rbs +43 -0
- data/sig/telnyx/models/organizations/user_get_groups_report_response.rbs +104 -0
- data/sig/telnyx/models/organizations/user_list_params.rbs +72 -0
- data/sig/telnyx/models/organizations/user_list_response.rbs +99 -0
- data/sig/telnyx/models/organizations/user_retrieve_params.rbs +27 -0
- data/sig/telnyx/models/organizations/user_retrieve_response.rbs +118 -0
- data/sig/telnyx/models/organizations/users/action_remove_params.rbs +19 -0
- data/sig/telnyx/models/organizations/users/action_remove_response.rbs +122 -0
- data/sig/telnyx/models/queues/call_list_params.rbs +20 -27
- data/sig/telnyx/models/sim_card_list_params.rbs +7 -0
- data/sig/telnyx/models/texml/accounts/queue_list_params.rbs +60 -0
- data/sig/telnyx/models/texml/accounts/queue_list_response.rbs +152 -0
- data/sig/telnyx/models/unsafe_unwrap_webhook_event.rbs +0 -3
- data/sig/telnyx/models/unwrap_webhook_event.rbs +0 -3
- data/sig/telnyx/models.rbs +2 -6
- data/sig/telnyx/resources/ai/assistants/versions.rbs +1 -0
- data/sig/telnyx/resources/ai/assistants.rbs +3 -0
- data/sig/telnyx/resources/call_control_applications.rbs +3 -1
- data/sig/telnyx/resources/call_events.rbs +3 -1
- data/sig/telnyx/resources/calls/actions.rbs +8 -0
- data/sig/telnyx/resources/conferences.rbs +6 -2
- data/sig/telnyx/resources/connections.rbs +3 -1
- data/sig/telnyx/resources/faxes.rbs +1 -0
- data/sig/telnyx/resources/messaging_10dlc/brand.rbs +1 -2
- data/sig/telnyx/resources/messaging_profiles.rbs +2 -0
- data/sig/telnyx/resources/messaging_tollfree/verification/requests.rbs +2 -0
- data/sig/telnyx/resources/organizations/users/actions.rbs +16 -0
- data/sig/telnyx/resources/organizations/users.rbs +31 -0
- data/sig/telnyx/resources/organizations.rbs +9 -0
- data/sig/telnyx/resources/queues/calls.rbs +3 -1
- data/sig/telnyx/resources/texml/accounts/queues.rbs +10 -0
- data/sig/telnyx/resources/webhooks.rbs +0 -6
- metadata +47 -20
- data/lib/telnyx/models/ai/inference_embedding_bucket_ids.rb +0 -31
- data/lib/telnyx/models/ai/inference_embedding_transfer_tool_params.rb +0 -93
- data/lib/telnyx/models/ai/inference_embedding_webhook_tool_params.rb +0 -265
- data/lib/telnyx/models/streaming_failed_webhook_event.rb +0 -15
- data/lib/telnyx/models/streaming_started_webhook_event.rb +0 -15
- data/lib/telnyx/models/streaming_stopped_webhook_event.rb +0 -15
- data/rbi/telnyx/models/ai/inference_embedding_bucket_ids.rbi +0 -54
- data/rbi/telnyx/models/ai/inference_embedding_transfer_tool_params.rbi +0 -185
- data/rbi/telnyx/models/ai/inference_embedding_webhook_tool_params.rbi +0 -621
- data/rbi/telnyx/models/streaming_failed_webhook_event.rbi +0 -30
- data/rbi/telnyx/models/streaming_started_webhook_event.rbi +0 -30
- data/rbi/telnyx/models/streaming_stopped_webhook_event.rbi +0 -30
- data/sig/telnyx/models/ai/inference_embedding_bucket_ids.rbs +0 -26
- data/sig/telnyx/models/ai/inference_embedding_transfer_tool_params.rbs +0 -75
- data/sig/telnyx/models/ai/inference_embedding_webhook_tool_params.rbs +0 -242
- data/sig/telnyx/models/streaming_failed_webhook_event.rbs +0 -15
- data/sig/telnyx/models/streaming_started_webhook_event.rbs +0 -16
- data/sig/telnyx/models/streaming_stopped_webhook_event.rbs +0 -16
|
@@ -30,6 +30,18 @@ module Telnyx
|
|
|
30
30
|
sig { params(page: Telnyx::ConferenceListParams::Page::OrHash).void }
|
|
31
31
|
attr_writer :page
|
|
32
32
|
|
|
33
|
+
sig { returns(T.nilable(Integer)) }
|
|
34
|
+
attr_reader :page_number
|
|
35
|
+
|
|
36
|
+
sig { params(page_number: Integer).void }
|
|
37
|
+
attr_writer :page_number
|
|
38
|
+
|
|
39
|
+
sig { returns(T.nilable(Integer)) }
|
|
40
|
+
attr_reader :page_size
|
|
41
|
+
|
|
42
|
+
sig { params(page_size: Integer).void }
|
|
43
|
+
attr_writer :page_size
|
|
44
|
+
|
|
33
45
|
# Region where the conference data is located
|
|
34
46
|
sig { returns(T.nilable(Telnyx::ConferenceListParams::Region::OrSymbol)) }
|
|
35
47
|
attr_reader :region
|
|
@@ -43,6 +55,8 @@ module Telnyx
|
|
|
43
55
|
params(
|
|
44
56
|
filter: Telnyx::ConferenceListParams::Filter::OrHash,
|
|
45
57
|
page: Telnyx::ConferenceListParams::Page::OrHash,
|
|
58
|
+
page_number: Integer,
|
|
59
|
+
page_size: Integer,
|
|
46
60
|
region: Telnyx::ConferenceListParams::Region::OrSymbol,
|
|
47
61
|
request_options: Telnyx::RequestOptions::OrHash
|
|
48
62
|
).returns(T.attached_class)
|
|
@@ -57,6 +71,8 @@ module Telnyx
|
|
|
57
71
|
# Consolidated page parameter (deepObject style). Originally: page[after],
|
|
58
72
|
# page[before], page[limit], page[size], page[number]
|
|
59
73
|
page: nil,
|
|
74
|
+
page_number: nil,
|
|
75
|
+
page_size: nil,
|
|
60
76
|
# Region where the conference data is located
|
|
61
77
|
region: nil,
|
|
62
78
|
request_options: {}
|
|
@@ -68,6 +84,8 @@ module Telnyx
|
|
|
68
84
|
{
|
|
69
85
|
filter: Telnyx::ConferenceListParams::Filter,
|
|
70
86
|
page: Telnyx::ConferenceListParams::Page,
|
|
87
|
+
page_number: Integer,
|
|
88
|
+
page_size: Integer,
|
|
71
89
|
region: Telnyx::ConferenceListParams::Region::OrSymbol,
|
|
72
90
|
request_options: Telnyx::RequestOptions
|
|
73
91
|
}
|
|
@@ -539,30 +557,12 @@ module Telnyx
|
|
|
539
557
|
sig { params(limit: Integer).void }
|
|
540
558
|
attr_writer :limit
|
|
541
559
|
|
|
542
|
-
# The page number to load
|
|
543
|
-
sig { returns(T.nilable(Integer)) }
|
|
544
|
-
attr_reader :number
|
|
545
|
-
|
|
546
|
-
sig { params(number: Integer).void }
|
|
547
|
-
attr_writer :number
|
|
548
|
-
|
|
549
|
-
# The size of the page
|
|
550
|
-
sig { returns(T.nilable(Integer)) }
|
|
551
|
-
attr_reader :size
|
|
552
|
-
|
|
553
|
-
sig { params(size: Integer).void }
|
|
554
|
-
attr_writer :size
|
|
555
|
-
|
|
556
560
|
# Consolidated page parameter (deepObject style). Originally: page[after],
|
|
557
561
|
# page[before], page[limit], page[size], page[number]
|
|
558
562
|
sig do
|
|
559
|
-
params(
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
limit: Integer,
|
|
563
|
-
number: Integer,
|
|
564
|
-
size: Integer
|
|
565
|
-
).returns(T.attached_class)
|
|
563
|
+
params(after: String, before: String, limit: Integer).returns(
|
|
564
|
+
T.attached_class
|
|
565
|
+
)
|
|
566
566
|
end
|
|
567
567
|
def self.new(
|
|
568
568
|
# Opaque identifier of next page
|
|
@@ -570,24 +570,12 @@ module Telnyx
|
|
|
570
570
|
# Opaque identifier of previous page
|
|
571
571
|
before: nil,
|
|
572
572
|
# Limit of records per single page
|
|
573
|
-
limit: nil
|
|
574
|
-
# The page number to load
|
|
575
|
-
number: nil,
|
|
576
|
-
# The size of the page
|
|
577
|
-
size: nil
|
|
573
|
+
limit: nil
|
|
578
574
|
)
|
|
579
575
|
end
|
|
580
576
|
|
|
581
577
|
sig do
|
|
582
|
-
override.returns(
|
|
583
|
-
{
|
|
584
|
-
after: String,
|
|
585
|
-
before: String,
|
|
586
|
-
limit: Integer,
|
|
587
|
-
number: Integer,
|
|
588
|
-
size: Integer
|
|
589
|
-
}
|
|
590
|
-
)
|
|
578
|
+
override.returns({ after: String, before: String, limit: Integer })
|
|
591
579
|
end
|
|
592
580
|
def to_hash
|
|
593
581
|
end
|
|
@@ -40,6 +40,18 @@ module Telnyx
|
|
|
40
40
|
end
|
|
41
41
|
attr_writer :page
|
|
42
42
|
|
|
43
|
+
sig { returns(T.nilable(Integer)) }
|
|
44
|
+
attr_reader :page_number
|
|
45
|
+
|
|
46
|
+
sig { params(page_number: Integer).void }
|
|
47
|
+
attr_writer :page_number
|
|
48
|
+
|
|
49
|
+
sig { returns(T.nilable(Integer)) }
|
|
50
|
+
attr_reader :page_size
|
|
51
|
+
|
|
52
|
+
sig { params(page_size: Integer).void }
|
|
53
|
+
attr_writer :page_size
|
|
54
|
+
|
|
43
55
|
# Region where the conference data is located
|
|
44
56
|
sig do
|
|
45
57
|
returns(
|
|
@@ -59,6 +71,8 @@ module Telnyx
|
|
|
59
71
|
params(
|
|
60
72
|
filter: Telnyx::ConferenceListParticipantsParams::Filter::OrHash,
|
|
61
73
|
page: Telnyx::ConferenceListParticipantsParams::Page::OrHash,
|
|
74
|
+
page_number: Integer,
|
|
75
|
+
page_size: Integer,
|
|
62
76
|
region: Telnyx::ConferenceListParticipantsParams::Region::OrSymbol,
|
|
63
77
|
request_options: Telnyx::RequestOptions::OrHash
|
|
64
78
|
).returns(T.attached_class)
|
|
@@ -70,6 +84,8 @@ module Telnyx
|
|
|
70
84
|
# Consolidated page parameter (deepObject style). Originally: page[after],
|
|
71
85
|
# page[before], page[limit], page[size], page[number]
|
|
72
86
|
page: nil,
|
|
87
|
+
page_number: nil,
|
|
88
|
+
page_size: nil,
|
|
73
89
|
# Region where the conference data is located
|
|
74
90
|
region: nil,
|
|
75
91
|
request_options: {}
|
|
@@ -81,6 +97,8 @@ module Telnyx
|
|
|
81
97
|
{
|
|
82
98
|
filter: Telnyx::ConferenceListParticipantsParams::Filter,
|
|
83
99
|
page: Telnyx::ConferenceListParticipantsParams::Page,
|
|
100
|
+
page_number: Integer,
|
|
101
|
+
page_size: Integer,
|
|
84
102
|
region: Telnyx::ConferenceListParticipantsParams::Region::OrSymbol,
|
|
85
103
|
request_options: Telnyx::RequestOptions
|
|
86
104
|
}
|
|
@@ -177,30 +195,12 @@ module Telnyx
|
|
|
177
195
|
sig { params(limit: Integer).void }
|
|
178
196
|
attr_writer :limit
|
|
179
197
|
|
|
180
|
-
# The page number to load
|
|
181
|
-
sig { returns(T.nilable(Integer)) }
|
|
182
|
-
attr_reader :number
|
|
183
|
-
|
|
184
|
-
sig { params(number: Integer).void }
|
|
185
|
-
attr_writer :number
|
|
186
|
-
|
|
187
|
-
# The size of the page
|
|
188
|
-
sig { returns(T.nilable(Integer)) }
|
|
189
|
-
attr_reader :size
|
|
190
|
-
|
|
191
|
-
sig { params(size: Integer).void }
|
|
192
|
-
attr_writer :size
|
|
193
|
-
|
|
194
198
|
# Consolidated page parameter (deepObject style). Originally: page[after],
|
|
195
199
|
# page[before], page[limit], page[size], page[number]
|
|
196
200
|
sig do
|
|
197
|
-
params(
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
limit: Integer,
|
|
201
|
-
number: Integer,
|
|
202
|
-
size: Integer
|
|
203
|
-
).returns(T.attached_class)
|
|
201
|
+
params(after: String, before: String, limit: Integer).returns(
|
|
202
|
+
T.attached_class
|
|
203
|
+
)
|
|
204
204
|
end
|
|
205
205
|
def self.new(
|
|
206
206
|
# Opaque identifier of next page
|
|
@@ -208,24 +208,12 @@ module Telnyx
|
|
|
208
208
|
# Opaque identifier of previous page
|
|
209
209
|
before: nil,
|
|
210
210
|
# Limit of records per single page
|
|
211
|
-
limit: nil
|
|
212
|
-
# The page number to load
|
|
213
|
-
number: nil,
|
|
214
|
-
# The size of the page
|
|
215
|
-
size: nil
|
|
211
|
+
limit: nil
|
|
216
212
|
)
|
|
217
213
|
end
|
|
218
214
|
|
|
219
215
|
sig do
|
|
220
|
-
override.returns(
|
|
221
|
-
{
|
|
222
|
-
after: String,
|
|
223
|
-
before: String,
|
|
224
|
-
limit: Integer,
|
|
225
|
-
number: Integer,
|
|
226
|
-
size: Integer
|
|
227
|
-
}
|
|
228
|
-
)
|
|
216
|
+
override.returns({ after: String, before: String, limit: Integer })
|
|
229
217
|
end
|
|
230
218
|
def to_hash
|
|
231
219
|
end
|
|
@@ -24,9 +24,23 @@ module Telnyx
|
|
|
24
24
|
end
|
|
25
25
|
attr_writer :page
|
|
26
26
|
|
|
27
|
+
sig { returns(T.nilable(Integer)) }
|
|
28
|
+
attr_reader :page_number
|
|
29
|
+
|
|
30
|
+
sig { params(page_number: Integer).void }
|
|
31
|
+
attr_writer :page_number
|
|
32
|
+
|
|
33
|
+
sig { returns(T.nilable(Integer)) }
|
|
34
|
+
attr_reader :page_size
|
|
35
|
+
|
|
36
|
+
sig { params(page_size: Integer).void }
|
|
37
|
+
attr_writer :page_size
|
|
38
|
+
|
|
27
39
|
sig do
|
|
28
40
|
params(
|
|
29
41
|
page: Telnyx::ConnectionListActiveCallsParams::Page::OrHash,
|
|
42
|
+
page_number: Integer,
|
|
43
|
+
page_size: Integer,
|
|
30
44
|
request_options: Telnyx::RequestOptions::OrHash
|
|
31
45
|
).returns(T.attached_class)
|
|
32
46
|
end
|
|
@@ -34,6 +48,8 @@ module Telnyx
|
|
|
34
48
|
# Consolidated page parameter (deepObject style). Originally: page[after],
|
|
35
49
|
# page[before], page[limit], page[size], page[number]
|
|
36
50
|
page: nil,
|
|
51
|
+
page_number: nil,
|
|
52
|
+
page_size: nil,
|
|
37
53
|
request_options: {}
|
|
38
54
|
)
|
|
39
55
|
end
|
|
@@ -42,6 +58,8 @@ module Telnyx
|
|
|
42
58
|
override.returns(
|
|
43
59
|
{
|
|
44
60
|
page: Telnyx::ConnectionListActiveCallsParams::Page,
|
|
61
|
+
page_number: Integer,
|
|
62
|
+
page_size: Integer,
|
|
45
63
|
request_options: Telnyx::RequestOptions
|
|
46
64
|
}
|
|
47
65
|
)
|
|
@@ -79,30 +97,12 @@ module Telnyx
|
|
|
79
97
|
sig { params(limit: Integer).void }
|
|
80
98
|
attr_writer :limit
|
|
81
99
|
|
|
82
|
-
# The page number to load
|
|
83
|
-
sig { returns(T.nilable(Integer)) }
|
|
84
|
-
attr_reader :number
|
|
85
|
-
|
|
86
|
-
sig { params(number: Integer).void }
|
|
87
|
-
attr_writer :number
|
|
88
|
-
|
|
89
|
-
# The size of the page
|
|
90
|
-
sig { returns(T.nilable(Integer)) }
|
|
91
|
-
attr_reader :size
|
|
92
|
-
|
|
93
|
-
sig { params(size: Integer).void }
|
|
94
|
-
attr_writer :size
|
|
95
|
-
|
|
96
100
|
# Consolidated page parameter (deepObject style). Originally: page[after],
|
|
97
101
|
# page[before], page[limit], page[size], page[number]
|
|
98
102
|
sig do
|
|
99
|
-
params(
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
limit: Integer,
|
|
103
|
-
number: Integer,
|
|
104
|
-
size: Integer
|
|
105
|
-
).returns(T.attached_class)
|
|
103
|
+
params(after: String, before: String, limit: Integer).returns(
|
|
104
|
+
T.attached_class
|
|
105
|
+
)
|
|
106
106
|
end
|
|
107
107
|
def self.new(
|
|
108
108
|
# Opaque identifier of next page
|
|
@@ -110,24 +110,12 @@ module Telnyx
|
|
|
110
110
|
# Opaque identifier of previous page
|
|
111
111
|
before: nil,
|
|
112
112
|
# Limit of records per single page
|
|
113
|
-
limit: nil
|
|
114
|
-
# The page number to load
|
|
115
|
-
number: nil,
|
|
116
|
-
# The size of the page
|
|
117
|
-
size: nil
|
|
113
|
+
limit: nil
|
|
118
114
|
)
|
|
119
115
|
end
|
|
120
116
|
|
|
121
117
|
sig do
|
|
122
|
-
override.returns(
|
|
123
|
-
{
|
|
124
|
-
after: String,
|
|
125
|
-
before: String,
|
|
126
|
-
limit: Integer,
|
|
127
|
-
number: Integer,
|
|
128
|
-
size: Integer
|
|
129
|
-
}
|
|
130
|
-
)
|
|
118
|
+
override.returns({ after: String, before: String, limit: Integer })
|
|
131
119
|
end
|
|
132
120
|
def to_hash
|
|
133
121
|
end
|
|
@@ -23,6 +23,14 @@ module Telnyx
|
|
|
23
23
|
sig { returns(String) }
|
|
24
24
|
attr_accessor :to
|
|
25
25
|
|
|
26
|
+
# The black threshold percentage for monochrome faxes. Only applicable if
|
|
27
|
+
# `monochrome` is set to `true`.
|
|
28
|
+
sig { returns(T.nilable(Integer)) }
|
|
29
|
+
attr_reader :black_threshold
|
|
30
|
+
|
|
31
|
+
sig { params(black_threshold: Integer).void }
|
|
32
|
+
attr_writer :black_threshold
|
|
33
|
+
|
|
26
34
|
# Use this field to add state to every subsequent webhook. It must be a valid
|
|
27
35
|
# Base-64 encoded string.
|
|
28
36
|
sig { returns(T.nilable(String)) }
|
|
@@ -123,6 +131,7 @@ module Telnyx
|
|
|
123
131
|
connection_id: String,
|
|
124
132
|
from: String,
|
|
125
133
|
to: String,
|
|
134
|
+
black_threshold: Integer,
|
|
126
135
|
client_state: String,
|
|
127
136
|
from_display_name: String,
|
|
128
137
|
media_name: String,
|
|
@@ -144,6 +153,9 @@ module Telnyx
|
|
|
144
153
|
from:,
|
|
145
154
|
# The phone number, in E.164 format, the fax will be sent to or SIP URI
|
|
146
155
|
to:,
|
|
156
|
+
# The black threshold percentage for monochrome faxes. Only applicable if
|
|
157
|
+
# `monochrome` is set to `true`.
|
|
158
|
+
black_threshold: nil,
|
|
147
159
|
# Use this field to add state to every subsequent webhook. It must be a valid
|
|
148
160
|
# Base-64 encoded string.
|
|
149
161
|
client_state: nil,
|
|
@@ -188,6 +200,7 @@ module Telnyx
|
|
|
188
200
|
connection_id: String,
|
|
189
201
|
from: String,
|
|
190
202
|
to: String,
|
|
203
|
+
black_threshold: Integer,
|
|
191
204
|
client_state: String,
|
|
192
205
|
from_display_name: String,
|
|
193
206
|
media_name: String,
|
|
@@ -15,31 +15,15 @@ module Telnyx
|
|
|
15
15
|
)
|
|
16
16
|
end
|
|
17
17
|
|
|
18
|
-
# Filter by Brand ID for easier lookup in portal applications
|
|
19
|
-
sig { returns(T.nilable(String)) }
|
|
20
|
-
attr_reader :brand_id
|
|
21
|
-
|
|
22
|
-
sig { params(brand_id: String).void }
|
|
23
|
-
attr_writer :brand_id
|
|
24
|
-
|
|
25
18
|
sig do
|
|
26
|
-
params(
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
).returns(T.attached_class)
|
|
19
|
+
params(request_options: Telnyx::RequestOptions::OrHash).returns(
|
|
20
|
+
T.attached_class
|
|
21
|
+
)
|
|
30
22
|
end
|
|
31
|
-
def self.new(
|
|
32
|
-
# Filter by Brand ID for easier lookup in portal applications
|
|
33
|
-
brand_id: nil,
|
|
34
|
-
request_options: {}
|
|
35
|
-
)
|
|
23
|
+
def self.new(request_options: {})
|
|
36
24
|
end
|
|
37
25
|
|
|
38
|
-
sig
|
|
39
|
-
override.returns(
|
|
40
|
-
{ brand_id: String, request_options: Telnyx::RequestOptions }
|
|
41
|
-
)
|
|
42
|
-
end
|
|
26
|
+
sig { override.returns({ request_options: Telnyx::RequestOptions }) }
|
|
43
27
|
def to_hash
|
|
44
28
|
end
|
|
45
29
|
end
|
|
@@ -97,6 +97,15 @@ module Telnyx
|
|
|
97
97
|
sig { params(redaction_level: Integer).void }
|
|
98
98
|
attr_writer :redaction_level
|
|
99
99
|
|
|
100
|
+
# Enables automatic character encoding optimization for SMS messages. When
|
|
101
|
+
# enabled, the system automatically selects the most efficient encoding (GSM-7 or
|
|
102
|
+
# UCS-2) based on message content to maximize character limits and minimize costs.
|
|
103
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
104
|
+
attr_reader :smart_encoding
|
|
105
|
+
|
|
106
|
+
sig { params(smart_encoding: T::Boolean).void }
|
|
107
|
+
attr_writer :smart_encoding
|
|
108
|
+
|
|
100
109
|
# The URL shortener feature allows automatic replacement of URLs that were
|
|
101
110
|
# generated using a public URL shortener service. Some examples include bit.do,
|
|
102
111
|
# bit.ly, goo.gl, ht.ly, is.gd, ow.ly, rebrand.ly, t.co, tiny.cc, and tinyurl.com.
|
|
@@ -206,6 +215,7 @@ module Telnyx
|
|
|
206
215
|
record_type: Telnyx::MessagingProfile::RecordType::OrSymbol,
|
|
207
216
|
redaction_enabled: T::Boolean,
|
|
208
217
|
redaction_level: Integer,
|
|
218
|
+
smart_encoding: T::Boolean,
|
|
209
219
|
updated_at: Time,
|
|
210
220
|
url_shortener_settings:
|
|
211
221
|
T.nilable(Telnyx::URLShortenerSettings::OrHash),
|
|
@@ -255,6 +265,10 @@ module Telnyx
|
|
|
255
265
|
# Determines how much information is redacted in messages for privacy or
|
|
256
266
|
# compliance purposes.
|
|
257
267
|
redaction_level: nil,
|
|
268
|
+
# Enables automatic character encoding optimization for SMS messages. When
|
|
269
|
+
# enabled, the system automatically selects the most efficient encoding (GSM-7 or
|
|
270
|
+
# UCS-2) based on message content to maximize character limits and minimize costs.
|
|
271
|
+
smart_encoding: nil,
|
|
258
272
|
# ISO 8601 formatted date indicating when the resource was updated.
|
|
259
273
|
updated_at: nil,
|
|
260
274
|
# The URL shortener feature allows automatic replacement of URLs that were
|
|
@@ -300,6 +314,7 @@ module Telnyx
|
|
|
300
314
|
record_type: Telnyx::MessagingProfile::RecordType::TaggedSymbol,
|
|
301
315
|
redaction_enabled: T::Boolean,
|
|
302
316
|
redaction_level: Integer,
|
|
317
|
+
smart_encoding: T::Boolean,
|
|
303
318
|
updated_at: Time,
|
|
304
319
|
url_shortener_settings: T.nilable(Telnyx::URLShortenerSettings),
|
|
305
320
|
v1_secret: String,
|
|
@@ -84,6 +84,15 @@ module Telnyx
|
|
|
84
84
|
end
|
|
85
85
|
attr_writer :number_pool_settings
|
|
86
86
|
|
|
87
|
+
# Enables automatic character encoding optimization for SMS messages. When
|
|
88
|
+
# enabled, the system automatically selects the most efficient encoding (GSM-7 or
|
|
89
|
+
# UCS-2) based on message content to maximize character limits and minimize costs.
|
|
90
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
91
|
+
attr_reader :smart_encoding
|
|
92
|
+
|
|
93
|
+
sig { params(smart_encoding: T::Boolean).void }
|
|
94
|
+
attr_writer :smart_encoding
|
|
95
|
+
|
|
87
96
|
# The URL shortener feature allows automatic replacement of URLs that were
|
|
88
97
|
# generated using a public URL shortener service. Some examples include bit.do,
|
|
89
98
|
# bit.ly, goo.gl, ht.ly, is.gd, ow.ly, rebrand.ly, t.co, tiny.cc, and tinyurl.com.
|
|
@@ -142,6 +151,7 @@ module Telnyx
|
|
|
142
151
|
mms_transcoding: T::Boolean,
|
|
143
152
|
mobile_only: T::Boolean,
|
|
144
153
|
number_pool_settings: T.nilable(Telnyx::NumberPoolSettings::OrHash),
|
|
154
|
+
smart_encoding: T::Boolean,
|
|
145
155
|
url_shortener_settings:
|
|
146
156
|
T.nilable(Telnyx::URLShortenerSettings::OrHash),
|
|
147
157
|
webhook_api_version:
|
|
@@ -180,6 +190,10 @@ module Telnyx
|
|
|
180
190
|
#
|
|
181
191
|
# To disable this feature, set the object field to `null`.
|
|
182
192
|
number_pool_settings: nil,
|
|
193
|
+
# Enables automatic character encoding optimization for SMS messages. When
|
|
194
|
+
# enabled, the system automatically selects the most efficient encoding (GSM-7 or
|
|
195
|
+
# UCS-2) based on message content to maximize character limits and minimize costs.
|
|
196
|
+
smart_encoding: nil,
|
|
183
197
|
# The URL shortener feature allows automatic replacement of URLs that were
|
|
184
198
|
# generated using a public URL shortener service. Some examples include bit.do,
|
|
185
199
|
# bit.ly, goo.gl, ht.ly, is.gd, ow.ly, rebrand.ly, t.co, tiny.cc, and tinyurl.com.
|
|
@@ -213,6 +227,7 @@ module Telnyx
|
|
|
213
227
|
mms_transcoding: T::Boolean,
|
|
214
228
|
mobile_only: T::Boolean,
|
|
215
229
|
number_pool_settings: T.nilable(Telnyx::NumberPoolSettings),
|
|
230
|
+
smart_encoding: T::Boolean,
|
|
216
231
|
url_shortener_settings: T.nilable(Telnyx::URLShortenerSettings),
|
|
217
232
|
webhook_api_version:
|
|
218
233
|
Telnyx::MessagingProfileCreateParams::WebhookAPIVersion::OrSymbol,
|
|
@@ -81,6 +81,15 @@ module Telnyx
|
|
|
81
81
|
end
|
|
82
82
|
attr_writer :number_pool_settings
|
|
83
83
|
|
|
84
|
+
# Enables automatic character encoding optimization for SMS messages. When
|
|
85
|
+
# enabled, the system automatically selects the most efficient encoding (GSM-7 or
|
|
86
|
+
# UCS-2) based on message content to maximize character limits and minimize costs.
|
|
87
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
88
|
+
attr_reader :smart_encoding
|
|
89
|
+
|
|
90
|
+
sig { params(smart_encoding: T::Boolean).void }
|
|
91
|
+
attr_writer :smart_encoding
|
|
92
|
+
|
|
84
93
|
# The URL shortener feature allows automatic replacement of URLs that were
|
|
85
94
|
# generated using a public URL shortener service. Some examples include bit.do,
|
|
86
95
|
# bit.ly, goo.gl, ht.ly, is.gd, ow.ly, rebrand.ly, t.co, tiny.cc, and tinyurl.com.
|
|
@@ -156,6 +165,7 @@ module Telnyx
|
|
|
156
165
|
mobile_only: T::Boolean,
|
|
157
166
|
name: String,
|
|
158
167
|
number_pool_settings: T.nilable(Telnyx::NumberPoolSettings::OrHash),
|
|
168
|
+
smart_encoding: T::Boolean,
|
|
159
169
|
url_shortener_settings:
|
|
160
170
|
T.nilable(Telnyx::URLShortenerSettings::OrHash),
|
|
161
171
|
v1_secret: String,
|
|
@@ -192,6 +202,10 @@ module Telnyx
|
|
|
192
202
|
#
|
|
193
203
|
# To disable this feature, set the object field to `null`.
|
|
194
204
|
number_pool_settings: nil,
|
|
205
|
+
# Enables automatic character encoding optimization for SMS messages. When
|
|
206
|
+
# enabled, the system automatically selects the most efficient encoding (GSM-7 or
|
|
207
|
+
# UCS-2) based on message content to maximize character limits and minimize costs.
|
|
208
|
+
smart_encoding: nil,
|
|
195
209
|
# The URL shortener feature allows automatic replacement of URLs that were
|
|
196
210
|
# generated using a public URL shortener service. Some examples include bit.do,
|
|
197
211
|
# bit.ly, goo.gl, ht.ly, is.gd, ow.ly, rebrand.ly, t.co, tiny.cc, and tinyurl.com.
|
|
@@ -232,6 +246,7 @@ module Telnyx
|
|
|
232
246
|
mobile_only: T::Boolean,
|
|
233
247
|
name: String,
|
|
234
248
|
number_pool_settings: T.nilable(Telnyx::NumberPoolSettings),
|
|
249
|
+
smart_encoding: T::Boolean,
|
|
235
250
|
url_shortener_settings: T.nilable(Telnyx::URLShortenerSettings),
|
|
236
251
|
v1_secret: String,
|
|
237
252
|
webhook_api_version:
|
|
@@ -135,6 +135,12 @@ module Telnyx
|
|
|
135
135
|
sig { returns(T.nilable(String)) }
|
|
136
136
|
attr_accessor :business_registration_type
|
|
137
137
|
|
|
138
|
+
# Campaign Verify Authorization Token required for Political use case submissions
|
|
139
|
+
# starting February 17, 2026. This token is validated by Zipwhip and must be
|
|
140
|
+
# provided for all Political use case verifications after the deadline.
|
|
141
|
+
sig { returns(T.nilable(String)) }
|
|
142
|
+
attr_accessor :campaign_verify_authorization_token
|
|
143
|
+
|
|
138
144
|
# Doing Business As (DBA) name if different from legal name
|
|
139
145
|
sig { returns(T.nilable(String)) }
|
|
140
146
|
attr_accessor :doing_business_as
|
|
@@ -211,6 +217,7 @@ module Telnyx
|
|
|
211
217
|
business_registration_country: T.nilable(String),
|
|
212
218
|
business_registration_number: T.nilable(String),
|
|
213
219
|
business_registration_type: T.nilable(String),
|
|
220
|
+
campaign_verify_authorization_token: T.nilable(String),
|
|
214
221
|
doing_business_as: T.nilable(String),
|
|
215
222
|
entity_type:
|
|
216
223
|
T.nilable(
|
|
@@ -281,6 +288,10 @@ module Telnyx
|
|
|
281
288
|
business_registration_number: nil,
|
|
282
289
|
# Type of business registration being provided. Required from January 2026.
|
|
283
290
|
business_registration_type: nil,
|
|
291
|
+
# Campaign Verify Authorization Token required for Political use case submissions
|
|
292
|
+
# starting February 17, 2026. This token is validated by Zipwhip and must be
|
|
293
|
+
# provided for all Political use case verifications after the deadline.
|
|
294
|
+
campaign_verify_authorization_token: nil,
|
|
284
295
|
# Doing Business As (DBA) name if different from legal name
|
|
285
296
|
doing_business_as: nil,
|
|
286
297
|
# Business entity classification
|
|
@@ -335,6 +346,7 @@ module Telnyx
|
|
|
335
346
|
business_registration_country: T.nilable(String),
|
|
336
347
|
business_registration_number: T.nilable(String),
|
|
337
348
|
business_registration_type: T.nilable(String),
|
|
349
|
+
campaign_verify_authorization_token: T.nilable(String),
|
|
338
350
|
doing_business_as: T.nilable(String),
|
|
339
351
|
entity_type:
|
|
340
352
|
T.nilable(
|
|
@@ -124,6 +124,11 @@ module Telnyx
|
|
|
124
124
|
sig { params(business_registration_type: String).void }
|
|
125
125
|
attr_writer :business_registration_type
|
|
126
126
|
|
|
127
|
+
# Campaign Verify Authorization Token required for Political use case submissions
|
|
128
|
+
# starting February 17, 2026
|
|
129
|
+
sig { returns(T.nilable(String)) }
|
|
130
|
+
attr_accessor :campaign_verify_authorization_token
|
|
131
|
+
|
|
127
132
|
sig { returns(T.nilable(String)) }
|
|
128
133
|
attr_reader :doing_business_as
|
|
129
134
|
|
|
@@ -237,6 +242,7 @@ module Telnyx
|
|
|
237
242
|
business_registration_country: String,
|
|
238
243
|
business_registration_number: String,
|
|
239
244
|
business_registration_type: String,
|
|
245
|
+
campaign_verify_authorization_token: T.nilable(String),
|
|
240
246
|
doing_business_as: String,
|
|
241
247
|
entity_type:
|
|
242
248
|
Telnyx::MessagingTollfree::Verification::TollFreeVerificationEntityType::OrSymbol,
|
|
@@ -279,6 +285,9 @@ module Telnyx
|
|
|
279
285
|
business_registration_country: nil,
|
|
280
286
|
business_registration_number: nil,
|
|
281
287
|
business_registration_type: nil,
|
|
288
|
+
# Campaign Verify Authorization Token required for Political use case submissions
|
|
289
|
+
# starting February 17, 2026
|
|
290
|
+
campaign_verify_authorization_token: nil,
|
|
282
291
|
doing_business_as: nil,
|
|
283
292
|
# Business entity classification
|
|
284
293
|
entity_type: nil,
|
|
@@ -328,6 +337,7 @@ module Telnyx
|
|
|
328
337
|
business_registration_country: String,
|
|
329
338
|
business_registration_number: String,
|
|
330
339
|
business_registration_type: String,
|
|
340
|
+
campaign_verify_authorization_token: T.nilable(String),
|
|
331
341
|
doing_business_as: String,
|
|
332
342
|
entity_type:
|
|
333
343
|
Telnyx::MessagingTollfree::Verification::TollFreeVerificationEntityType::TaggedSymbol,
|
|
@@ -129,6 +129,11 @@ module Telnyx
|
|
|
129
129
|
sig { params(business_registration_type: String).void }
|
|
130
130
|
attr_writer :business_registration_type
|
|
131
131
|
|
|
132
|
+
# Campaign Verify Authorization Token required for Political use case submissions
|
|
133
|
+
# starting February 17, 2026
|
|
134
|
+
sig { returns(T.nilable(String)) }
|
|
135
|
+
attr_accessor :campaign_verify_authorization_token
|
|
136
|
+
|
|
132
137
|
sig { returns(T.nilable(Time)) }
|
|
133
138
|
attr_reader :created_at
|
|
134
139
|
|
|
@@ -243,6 +248,7 @@ module Telnyx
|
|
|
243
248
|
business_registration_country: String,
|
|
244
249
|
business_registration_number: String,
|
|
245
250
|
business_registration_type: String,
|
|
251
|
+
campaign_verify_authorization_token: T.nilable(String),
|
|
246
252
|
created_at: Time,
|
|
247
253
|
doing_business_as: String,
|
|
248
254
|
entity_type:
|
|
@@ -287,6 +293,9 @@ module Telnyx
|
|
|
287
293
|
business_registration_country: nil,
|
|
288
294
|
business_registration_number: nil,
|
|
289
295
|
business_registration_type: nil,
|
|
296
|
+
# Campaign Verify Authorization Token required for Political use case submissions
|
|
297
|
+
# starting February 17, 2026
|
|
298
|
+
campaign_verify_authorization_token: nil,
|
|
290
299
|
created_at: nil,
|
|
291
300
|
doing_business_as: nil,
|
|
292
301
|
# Business entity classification
|
|
@@ -338,6 +347,7 @@ module Telnyx
|
|
|
338
347
|
business_registration_country: String,
|
|
339
348
|
business_registration_number: String,
|
|
340
349
|
business_registration_type: String,
|
|
350
|
+
campaign_verify_authorization_token: T.nilable(String),
|
|
341
351
|
created_at: Time,
|
|
342
352
|
doing_business_as: String,
|
|
343
353
|
entity_type:
|