telnyx 5.176.0 → 5.177.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 +7 -0
- data/README.md +1 -1
- data/lib/telnyx/models/ai/chat_completion_request.rb +10 -4
- data/lib/telnyx/models/ai/inference_embedding_voice_settings.rb +67 -64
- data/lib/telnyx/models/ai/memory/namespaces/profile_ingest_params.rb +7 -16
- data/lib/telnyx/models/ai/memory/namespaces/profiles/source_retrieve_response.rb +7 -16
- data/lib/telnyx/models/ai/privacy_settings.rb +16 -14
- data/lib/telnyx/models/ai/readiness_probe.rb +8 -8
- data/lib/telnyx/models/ai/telephony_settings.rb +25 -1
- data/lib/telnyx/models/ai/typesafe/v1_systemone_params.rb +8 -8
- data/lib/telnyx/models/browser_sessions/wait_for_action.rb +11 -11
- data/lib/telnyx/models/calls/deepgram_flux_config.rb +91 -0
- data/lib/telnyx/models/calls/deepgram_flux_multi_config.rb +103 -0
- data/lib/telnyx/models/calls/deepgram_nova2_specialty_config.rb +113 -0
- data/lib/telnyx/models/calls/deepgram_nova3_medical_config.rb +110 -0
- data/lib/telnyx/models/calls/transcription_engine_community_config.rb +57 -0
- data/lib/telnyx/models/calls/transcription_engine_deepgram_config.rb +5 -372
- data/lib/telnyx/models/calls/transcription_start_request.rb +8 -459
- data/lib/telnyx/models/email_event_list_response.rb +11 -12
- data/lib/telnyx/models/iam/guardrail/iam_guardrail_statement.rb +94 -0
- data/lib/telnyx/models/iam/guardrail/iam_guardrail_statement_response.rb +20 -0
- data/lib/telnyx/models/iam/guardrail/statement_create_params.rb +50 -0
- data/lib/telnyx/models/iam/guardrail/statement_delete_params.rb +24 -0
- data/lib/telnyx/models/iam/guardrail/statement_list_params.rb +34 -0
- data/lib/telnyx/models/iam/guardrail/statement_update_params.rb +57 -0
- data/lib/telnyx/models/iam/guardrail_delete_all_params.rb +16 -0
- data/lib/telnyx/models/iam/iam_action.rb +4 -4
- data/lib/telnyx/models/iam/iam_settings.rb +60 -0
- data/lib/telnyx/models/iam/iam_settings_response.rb +3 -55
- data/lib/telnyx/models/iam/roles/iam_role_statement.rb +13 -1
- data/lib/telnyx/models/iam/roles/iam_role_statement_conditions.rb +27 -0
- data/lib/telnyx/models/iam/roles/statement_create_params.rb +9 -1
- data/lib/telnyx/models/iam/roles/statement_update_params.rb +9 -1
- data/lib/telnyx/models/iam_decision.rb +5 -3
- data/lib/telnyx/models/iam_explain_params.rb +13 -1
- data/lib/telnyx/models/iam_retrieve_access_logs_response.rb +6 -5
- data/lib/telnyx/models/iam_simulate_params.rb +13 -1
- data/lib/telnyx/models/messaging_inbound_message_payload.rb +15 -15
- data/lib/telnyx/models/mobile_phone_number.rb +25 -4
- data/lib/telnyx/models/mobile_phone_number_update_params.rb +38 -4
- data/lib/telnyx/models/model_metadata.rb +28 -1
- data/lib/telnyx/models/phone_numbers/emergency_settings.rb +56 -0
- data/lib/telnyx/models/phone_numbers/numbers_cnam_listing.rb +36 -0
- data/lib/telnyx/models/phone_numbers/numbers_phone_number_with_voice_settings.rb +9 -59
- data/lib/telnyx/models/phone_numbers/numbers_update_phone_number_voice_settings_request.rb +6 -4
- data/lib/telnyx/models/phone_numbers/phone_number_with_voice_settings.rb +3 -55
- data/lib/telnyx/models/sim_cards/action_bulk_enable_voice_params.rb +2 -2
- data/lib/telnyx/models/sim_cards/action_enable_voice_params.rb +2 -2
- data/lib/telnyx/models/texml/accounts/call_calls_params.rb +15 -15
- data/lib/telnyx/models/texml_application_list_params.rb +6 -6
- data/lib/telnyx/models/user_profile.rb +11 -1
- data/lib/telnyx/models/user_profile_patch_all_params.rb +1 -9
- data/lib/telnyx/models/whatsapp/business_accounts/phone_number_list_response.rb +223 -0
- data/lib/telnyx/models/whatsapp/phone_number_list_response.rb +220 -0
- data/lib/telnyx/models/whatsapp/whatsapp_phone_response.rb +0 -1
- data/lib/telnyx/resources/calls/actions.rb +1 -1
- data/lib/telnyx/resources/customer_service_records.rb +4 -4
- data/lib/telnyx/resources/iam/guardrail/statements.rb +158 -0
- data/lib/telnyx/resources/iam/guardrail.rb +45 -0
- data/lib/telnyx/resources/iam/roles/statements.rb +13 -6
- data/lib/telnyx/resources/iam.rb +21 -8
- data/lib/telnyx/resources/mobile_phone_numbers.rb +4 -1
- data/lib/telnyx/resources/phone_numbers/voice.rb +1 -1
- data/lib/telnyx/resources/user_profile.rb +1 -3
- data/lib/telnyx/resources/whatsapp/business_accounts/phone_numbers.rb +2 -2
- data/lib/telnyx/resources/whatsapp/phone_numbers.rb +2 -2
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +20 -0
- data/rbi/telnyx/models/ai/chat_completion_request.rbi +15 -6
- data/rbi/telnyx/models/ai/inference_embedding_voice_settings.rbi +114 -97
- data/rbi/telnyx/models/ai/memory/namespaces/profile_ingest_params.rbi +12 -28
- data/rbi/telnyx/models/ai/memory/namespaces/profiles/source_retrieve_response.rbi +12 -28
- data/rbi/telnyx/models/ai/privacy_settings.rbi +24 -21
- data/rbi/telnyx/models/ai/readiness_probe.rbi +14 -8
- data/rbi/telnyx/models/ai/telephony_settings.rbi +79 -0
- data/rbi/telnyx/models/ai/typesafe/v1_systemone_params.rbi +4 -4
- data/rbi/telnyx/models/browser_sessions/wait_for_action.rbi +24 -24
- data/rbi/telnyx/models/calls/deepgram_flux_config.rbi +192 -0
- data/rbi/telnyx/models/calls/deepgram_flux_multi_config.rbi +251 -0
- data/rbi/telnyx/models/calls/deepgram_nova2_specialty_config.rbi +226 -0
- data/rbi/telnyx/models/calls/deepgram_nova3_medical_config.rbi +220 -0
- data/rbi/telnyx/models/calls/transcription_engine_community_config.rbi +94 -0
- data/rbi/telnyx/models/calls/transcription_engine_deepgram_config.rbi +4 -776
- data/rbi/telnyx/models/calls/transcription_start_request.rbi +25 -989
- data/rbi/telnyx/models/email_event_list_response.rbi +32 -18
- data/rbi/telnyx/models/iam/guardrail/iam_guardrail_statement.rbi +169 -0
- data/rbi/telnyx/models/iam/guardrail/iam_guardrail_statement_response.rbi +45 -0
- data/rbi/telnyx/models/iam/guardrail/statement_create_params.rbi +113 -0
- data/rbi/telnyx/models/iam/guardrail/statement_delete_params.rbi +42 -0
- data/rbi/telnyx/models/iam/guardrail/statement_list_params.rbi +64 -0
- data/rbi/telnyx/models/iam/guardrail/statement_update_params.rbi +109 -0
- data/rbi/telnyx/models/iam/guardrail_delete_all_params.rbi +32 -0
- data/rbi/telnyx/models/iam/iam_action.rbi +6 -4
- data/rbi/telnyx/models/iam/iam_settings.rbi +90 -0
- data/rbi/telnyx/models/iam/iam_settings_response.rbi +4 -105
- data/rbi/telnyx/models/iam/roles/iam_role_statement.rbi +18 -0
- data/rbi/telnyx/models/iam/roles/iam_role_statement_conditions.rbi +41 -0
- data/rbi/telnyx/models/iam/roles/statement_create_params.rbi +18 -0
- data/rbi/telnyx/models/iam/roles/statement_update_params.rbi +18 -0
- data/rbi/telnyx/models/iam_decision.rbi +10 -6
- data/rbi/telnyx/models/iam_explain_params.rbi +10 -0
- data/rbi/telnyx/models/iam_retrieve_access_logs_response.rbi +8 -6
- data/rbi/telnyx/models/iam_simulate_params.rbi +15 -3
- data/rbi/telnyx/models/messaging_inbound_message_payload.rbi +31 -31
- data/rbi/telnyx/models/mobile_phone_number.rbi +19 -0
- data/rbi/telnyx/models/mobile_phone_number_update_params.rbi +19 -0
- data/rbi/telnyx/models/model_metadata.rbi +90 -0
- data/rbi/telnyx/models/phone_numbers/emergency_settings.rbi +133 -0
- data/rbi/telnyx/models/phone_numbers/numbers_cnam_listing.rbi +62 -0
- data/rbi/telnyx/models/phone_numbers/numbers_phone_number_with_voice_settings.rbi +16 -145
- data/rbi/telnyx/models/phone_numbers/numbers_update_phone_number_voice_settings_request.rbi +12 -6
- data/rbi/telnyx/models/phone_numbers/phone_number_with_voice_settings.rbi +4 -139
- data/rbi/telnyx/models/sim_cards/action_bulk_enable_voice_params.rbi +4 -4
- data/rbi/telnyx/models/sim_cards/action_enable_voice_params.rbi +4 -4
- data/rbi/telnyx/models/texml/accounts/call_calls_params.rbi +15 -15
- data/rbi/telnyx/models/texml_application_list_params.rbi +7 -7
- data/rbi/telnyx/models/user_profile.rbi +11 -0
- data/rbi/telnyx/models/user_profile_patch_all_params.rbi +0 -11
- data/rbi/telnyx/models/whatsapp/business_accounts/phone_number_list_response.rbi +393 -0
- data/rbi/telnyx/models/whatsapp/phone_number_list_response.rbi +391 -0
- data/rbi/telnyx/resources/ai/openai/chat.rbi +5 -2
- data/rbi/telnyx/resources/calls/actions.rbi +5 -5
- data/rbi/telnyx/resources/iam/guardrail/statements.rbi +132 -0
- data/rbi/telnyx/resources/iam/guardrail.rbi +29 -0
- data/rbi/telnyx/resources/iam/roles/statements.rbi +16 -4
- data/rbi/telnyx/resources/iam.rbi +18 -7
- data/rbi/telnyx/resources/mobile_phone_numbers.rbi +2 -0
- data/rbi/telnyx/resources/phone_numbers/voice.rbi +4 -2
- data/rbi/telnyx/resources/sim_cards/actions.rbi +4 -4
- data/rbi/telnyx/resources/user_profile.rbi +0 -3
- data/rbi/telnyx/resources/whatsapp/business_accounts/phone_numbers.rbi +1 -1
- data/rbi/telnyx/resources/whatsapp/phone_numbers.rbi +1 -1
- data/sig/telnyx/models/ai/inference_embedding_voice_settings.rbs +50 -57
- data/sig/telnyx/models/ai/memory/namespaces/profile_ingest_params.rbs +3 -12
- data/sig/telnyx/models/ai/memory/namespaces/profiles/source_retrieve_response.rbs +3 -12
- data/sig/telnyx/models/ai/readiness_probe.rbs +11 -8
- data/sig/telnyx/models/ai/telephony_settings.rbs +21 -0
- data/sig/telnyx/models/ai/typesafe/v1_systemone_params.rbs +4 -4
- data/sig/telnyx/models/browser_sessions/wait_for_action.rbs +12 -13
- data/sig/telnyx/models/calls/deepgram_flux_config.rbs +80 -0
- data/sig/telnyx/models/calls/deepgram_flux_multi_config.rbs +91 -0
- data/sig/telnyx/models/calls/deepgram_nova2_specialty_config.rbs +93 -0
- data/sig/telnyx/models/calls/deepgram_nova3_medical_config.rbs +91 -0
- data/sig/telnyx/models/calls/transcription_engine_community_config.rbs +43 -0
- data/sig/telnyx/models/calls/transcription_engine_deepgram_config.rbs +4 -313
- data/sig/telnyx/models/calls/transcription_start_request.rbs +5 -382
- data/sig/telnyx/models/email_event_list_response.rbs +13 -3
- data/sig/telnyx/models/iam/guardrail/iam_guardrail_statement.rbs +75 -0
- data/sig/telnyx/models/iam/guardrail/iam_guardrail_statement_response.rbs +22 -0
- data/sig/telnyx/models/iam/guardrail/statement_create_params.rbs +50 -0
- data/sig/telnyx/models/iam/guardrail/statement_delete_params.rbs +27 -0
- data/sig/telnyx/models/iam/guardrail/statement_list_params.rbs +36 -0
- data/sig/telnyx/models/iam/guardrail/statement_update_params.rbs +51 -0
- data/sig/telnyx/models/iam/guardrail_delete_all_params.rbs +17 -0
- data/sig/telnyx/models/iam/iam_action.rbs +4 -4
- data/sig/telnyx/models/iam/iam_settings.rbs +49 -0
- data/sig/telnyx/models/iam/iam_settings_response.rbs +4 -47
- data/sig/telnyx/models/iam/roles/iam_role_statement.rbs +5 -0
- data/sig/telnyx/models/iam/roles/iam_role_statement_conditions.rbs +17 -0
- data/sig/telnyx/models/iam/roles/statement_create_params.rbs +9 -0
- data/sig/telnyx/models/iam/roles/statement_update_params.rbs +10 -1
- data/sig/telnyx/models/iam_explain_params.rbs +6 -1
- data/sig/telnyx/models/iam_retrieve_access_logs_response.rbs +4 -4
- data/sig/telnyx/models/iam_simulate_params.rbs +5 -3
- data/sig/telnyx/models/messaging_inbound_message_payload.rbs +18 -18
- data/sig/telnyx/models/model_metadata.rbs +26 -0
- data/sig/telnyx/models/phone_numbers/emergency_settings.rbs +59 -0
- data/sig/telnyx/models/phone_numbers/numbers_cnam_listing.rbs +28 -0
- data/sig/telnyx/models/phone_numbers/numbers_phone_number_with_voice_settings.rbs +12 -66
- data/sig/telnyx/models/phone_numbers/numbers_update_phone_number_voice_settings_request.rbs +6 -6
- data/sig/telnyx/models/phone_numbers/phone_number_with_voice_settings.rbs +6 -60
- data/sig/telnyx/models/texml/accounts/call_calls_params.rbs +15 -15
- data/sig/telnyx/models/texml_application_list_params.rbs +3 -3
- data/sig/telnyx/models/user_profile.rbs +7 -0
- data/sig/telnyx/models/user_profile_patch_all_params.rbs +0 -7
- data/sig/telnyx/models/whatsapp/business_accounts/phone_number_list_response.rbs +207 -0
- data/sig/telnyx/models/whatsapp/phone_number_list_response.rbs +205 -0
- data/sig/telnyx/resources/iam/guardrail/statements.rbs +35 -0
- data/sig/telnyx/resources/iam/guardrail.rbs +13 -0
- data/sig/telnyx/resources/iam/roles/statements.rbs +2 -0
- data/sig/telnyx/resources/iam.rbs +3 -0
- data/sig/telnyx/resources/phone_numbers/voice.rbs +1 -1
- data/sig/telnyx/resources/user_profile.rbs +0 -1
- data/sig/telnyx/resources/whatsapp/business_accounts/phone_numbers.rbs +1 -1
- data/sig/telnyx/resources/whatsapp/phone_numbers.rbs +1 -1
- metadata +62 -2
|
@@ -940,11 +940,11 @@ module Telnyx
|
|
|
940
940
|
module StreamBidirectionalSamplingRate
|
|
941
941
|
extend Telnyx::Internal::Type::Enum
|
|
942
942
|
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
943
|
+
RATE_8000 = 8000
|
|
944
|
+
RATE_16000 = 16_000
|
|
945
|
+
RATE_22050 = 22_050
|
|
946
|
+
RATE_24000 = 24_000
|
|
947
|
+
RATE_48000 = 48_000
|
|
948
948
|
|
|
949
949
|
# @!method self.values
|
|
950
950
|
# @return [Array<Integer>]
|
|
@@ -1941,11 +1941,11 @@ module Telnyx
|
|
|
1941
1941
|
module StreamBidirectionalSamplingRate
|
|
1942
1942
|
extend Telnyx::Internal::Type::Enum
|
|
1943
1943
|
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1944
|
+
RATE_8000 = 8000
|
|
1945
|
+
RATE_16000 = 16_000
|
|
1946
|
+
RATE_22050 = 22_050
|
|
1947
|
+
RATE_24000 = 24_000
|
|
1948
|
+
RATE_48000 = 48_000
|
|
1949
1949
|
|
|
1950
1950
|
# @!method self.values
|
|
1951
1951
|
# @return [Array<Integer>]
|
|
@@ -2952,11 +2952,11 @@ module Telnyx
|
|
|
2952
2952
|
module StreamBidirectionalSamplingRate
|
|
2953
2953
|
extend Telnyx::Internal::Type::Enum
|
|
2954
2954
|
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2955
|
+
RATE_8000 = 8000
|
|
2956
|
+
RATE_16000 = 16_000
|
|
2957
|
+
RATE_22050 = 22_050
|
|
2958
|
+
RATE_24000 = 24_000
|
|
2959
|
+
RATE_48000 = 48_000
|
|
2960
2960
|
|
|
2961
2961
|
# @!method self.values
|
|
2962
2962
|
# @return [Array<Integer>]
|
|
@@ -62,7 +62,7 @@ module Telnyx
|
|
|
62
62
|
# If present, applications with <code>friendly_name</code> exactly matching the
|
|
63
63
|
# given value will be returned. Matching is case-sensitive.
|
|
64
64
|
#
|
|
65
|
-
# @return [String, Telnyx::Models::TexmlApplicationListParams::Filter::FriendlyName::
|
|
65
|
+
# @return [String, Telnyx::Models::TexmlApplicationListParams::Filter::FriendlyName::Operators, nil]
|
|
66
66
|
optional :friendly_name, union: -> { Telnyx::TexmlApplicationListParams::Filter::FriendlyName }
|
|
67
67
|
|
|
68
68
|
# @!attribute outbound_voice_profile_id
|
|
@@ -80,7 +80,7 @@ module Telnyx
|
|
|
80
80
|
# Consolidated filter parameter (deepObject style). Originally:
|
|
81
81
|
# filter[outbound_voice_profile_id], filter[friendly_name]
|
|
82
82
|
#
|
|
83
|
-
# @param friendly_name [String, Telnyx::Models::TexmlApplicationListParams::Filter::FriendlyName::
|
|
83
|
+
# @param friendly_name [String, Telnyx::Models::TexmlApplicationListParams::Filter::FriendlyName::Operators] If present, applications with <code>friendly_name</code> exactly matching the gi
|
|
84
84
|
#
|
|
85
85
|
# @param outbound_voice_profile_id [String, Telnyx::Models::TexmlApplicationListParams::Filter::OutboundVoiceProfileID::Eq] If present, only applications associated with the given outbound voice profile w
|
|
86
86
|
|
|
@@ -94,9 +94,9 @@ module Telnyx
|
|
|
94
94
|
# If present, applications with <code>friendly_name</code> exactly matching the given value will be returned. Matching is case-sensitive.
|
|
95
95
|
variant String
|
|
96
96
|
|
|
97
|
-
variant -> { Telnyx::TexmlApplicationListParams::Filter::FriendlyName::
|
|
97
|
+
variant -> { Telnyx::TexmlApplicationListParams::Filter::FriendlyName::Operators }
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Operators < Telnyx::Internal::Type::BaseModel
|
|
100
100
|
# @!attribute contains
|
|
101
101
|
# If present, applications with <code>friendly_name</code> containing the given
|
|
102
102
|
# value will be returned. Matching is not case-sensitive.
|
|
@@ -112,7 +112,7 @@ module Telnyx
|
|
|
112
112
|
|
|
113
113
|
# @!method initialize(contains: nil, eq: nil)
|
|
114
114
|
# Some parameter documentations has been truncated, see
|
|
115
|
-
# {Telnyx::Models::TexmlApplicationListParams::Filter::FriendlyName::
|
|
115
|
+
# {Telnyx::Models::TexmlApplicationListParams::Filter::FriendlyName::Operators}
|
|
116
116
|
# for more details.
|
|
117
117
|
#
|
|
118
118
|
# @param contains [String] If present, applications with <code>friendly_name</code> containing the given va
|
|
@@ -121,7 +121,7 @@ module Telnyx
|
|
|
121
121
|
end
|
|
122
122
|
|
|
123
123
|
# @!method self.variants
|
|
124
|
-
# @return [Array(String, Telnyx::Models::TexmlApplicationListParams::Filter::FriendlyName::
|
|
124
|
+
# @return [Array(String, Telnyx::Models::TexmlApplicationListParams::Filter::FriendlyName::Operators)]
|
|
125
125
|
end
|
|
126
126
|
|
|
127
127
|
# If present, only applications associated with the given outbound voice profile
|
|
@@ -110,7 +110,15 @@ module Telnyx
|
|
|
110
110
|
# @return [String, nil]
|
|
111
111
|
optional :zip, String, nil?: true
|
|
112
112
|
|
|
113
|
-
|
|
113
|
+
response_only do
|
|
114
|
+
# @!attribute npac_user
|
|
115
|
+
# Whether the user is an NPAC user.
|
|
116
|
+
#
|
|
117
|
+
# @return [Boolean, nil]
|
|
118
|
+
optional :npac_user, Telnyx::Internal::Type::Boolean
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
# @!method initialize(id: nil, address_1: nil, address_2: nil, business_name: nil, city: nil, country: nil, data_locality: nil, data_locality_migration_status: nil, data_locality_updated_at: nil, first_name: nil, last_name: nil, npac_user: nil, phone_number: nil, record_type: nil, state: nil, updated_at: nil, user_id: nil, zip: nil)
|
|
114
122
|
# Some parameter documentations has been truncated, see
|
|
115
123
|
# {Telnyx::Models::UserProfileAPI} for more details.
|
|
116
124
|
#
|
|
@@ -138,6 +146,8 @@ module Telnyx
|
|
|
138
146
|
#
|
|
139
147
|
# @param last_name [String, nil] The user's last name.
|
|
140
148
|
#
|
|
149
|
+
# @param npac_user [Boolean] Whether the user is an NPAC user.
|
|
150
|
+
#
|
|
141
151
|
# @param phone_number [String, nil] Contact phone number associated with the profile.
|
|
142
152
|
#
|
|
143
153
|
# @param record_type [Symbol, Telnyx::Models::UserProfileAPI::RecordType] Identifies the type of resource.
|
|
@@ -130,12 +130,6 @@ module Telnyx
|
|
|
130
130
|
# @return [Boolean, nil]
|
|
131
131
|
optional :notify_on_invoice_payment, Telnyx::Internal::Type::Boolean
|
|
132
132
|
|
|
133
|
-
# @!attribute npac_user
|
|
134
|
-
# Whether the user is an NPAC user.
|
|
135
|
-
#
|
|
136
|
-
# @return [Boolean, nil]
|
|
137
|
-
optional :npac_user, Telnyx::Internal::Type::Boolean
|
|
138
|
-
|
|
139
133
|
# @!attribute onboarding_build_method
|
|
140
134
|
# Build methods reported during onboarding.
|
|
141
135
|
#
|
|
@@ -238,7 +232,7 @@ module Telnyx
|
|
|
238
232
|
# @return [String, nil]
|
|
239
233
|
optional :zip, String, nil?: true
|
|
240
234
|
|
|
241
|
-
# @!method initialize(address_1: nil, address_2: nil, business_name: nil, city: nil, company_size: nil, country: nil, data_locality: nil, default_managed_account_allow_custom_pricing: nil, default_managed_account_inherit_emergency_terms_of_service: nil, default_managed_account_rollup_billing: nil, default_notify_manager_account: nil, default_numbers_external_pin: nil, first_name: nil, got_free_number_at_signup: nil, last_name: nil, low_balance_notification_frequency: nil, low_balance_threshold_amount: nil, notify_on_invoice_available: nil, notify_on_invoice_payment: nil,
|
|
235
|
+
# @!method initialize(address_1: nil, address_2: nil, business_name: nil, city: nil, company_size: nil, country: nil, data_locality: nil, default_managed_account_allow_custom_pricing: nil, default_managed_account_inherit_emergency_terms_of_service: nil, default_managed_account_rollup_billing: nil, default_notify_manager_account: nil, default_numbers_external_pin: nil, first_name: nil, got_free_number_at_signup: nil, last_name: nil, low_balance_notification_frequency: nil, low_balance_threshold_amount: nil, notify_on_invoice_available: nil, notify_on_invoice_payment: nil, onboarding_build_method: nil, onboarding_industries: nil, onboarding_monthly_budget: nil, onboarding_product_interest: nil, onboarding_project_types: nil, onboarding_reasons_for_consideration: nil, onboarding_referrer: nil, onboarding_use_cases_other: nil, phone_number: nil, port_out_pin_validation: nil, primary_use_case: nil, role: nil, state: nil, ui_theme: nil, use_cases: nil, user_subscription_opt_in: nil, zip: nil, request_options: {})
|
|
242
236
|
# Some parameter documentations has been truncated, see
|
|
243
237
|
# {Telnyx::Models::UserProfilePatchAllParams} for more details.
|
|
244
238
|
#
|
|
@@ -280,8 +274,6 @@ module Telnyx
|
|
|
280
274
|
#
|
|
281
275
|
# @param notify_on_invoice_payment [Boolean] Whether to notify the user when an invoice is paid.
|
|
282
276
|
#
|
|
283
|
-
# @param npac_user [Boolean] Whether the user is an NPAC user.
|
|
284
|
-
#
|
|
285
277
|
# @param onboarding_build_method [Array<String>] Build methods reported during onboarding.
|
|
286
278
|
#
|
|
287
279
|
# @param onboarding_industries [Array<String>] Industries reported during onboarding.
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
module Whatsapp
|
|
6
|
+
module BusinessAccounts
|
|
7
|
+
# @see Telnyx::Resources::Whatsapp::BusinessAccounts::PhoneNumbers#list
|
|
8
|
+
class PhoneNumberListResponse < Telnyx::Internal::Type::BaseModel
|
|
9
|
+
# @!attribute calling_enabled
|
|
10
|
+
#
|
|
11
|
+
# @return [Boolean, nil]
|
|
12
|
+
optional :calling_enabled, Telnyx::Internal::Type::Boolean
|
|
13
|
+
|
|
14
|
+
# @!attribute coexistence_state
|
|
15
|
+
# Current lifecycle state for a coexistence number. This is null for a standard
|
|
16
|
+
# Cloud API number.
|
|
17
|
+
#
|
|
18
|
+
# @return [Symbol, Telnyx::Models::Whatsapp::BusinessAccounts::PhoneNumberListResponse::CoexistenceState, nil]
|
|
19
|
+
optional :coexistence_state,
|
|
20
|
+
enum: -> { Telnyx::Models::Whatsapp::BusinessAccounts::PhoneNumberListResponse::CoexistenceState },
|
|
21
|
+
nil?: true
|
|
22
|
+
|
|
23
|
+
# @!attribute created_at
|
|
24
|
+
#
|
|
25
|
+
# @return [Time, nil]
|
|
26
|
+
optional :created_at, Time
|
|
27
|
+
|
|
28
|
+
# @!attribute display_name
|
|
29
|
+
#
|
|
30
|
+
# @return [String, nil]
|
|
31
|
+
optional :display_name, String
|
|
32
|
+
|
|
33
|
+
# @!attribute enabled
|
|
34
|
+
#
|
|
35
|
+
# @return [Boolean, nil]
|
|
36
|
+
optional :enabled, Telnyx::Internal::Type::Boolean
|
|
37
|
+
|
|
38
|
+
# @!attribute is_on_biz_app
|
|
39
|
+
# Indicates whether the number is connected to both the WhatsApp Business app and
|
|
40
|
+
# Cloud API through WhatsApp Coexistence.
|
|
41
|
+
#
|
|
42
|
+
# @return [Boolean, nil]
|
|
43
|
+
optional :is_on_biz_app, Telnyx::Internal::Type::Boolean
|
|
44
|
+
|
|
45
|
+
# @!attribute messaging_limit_tier
|
|
46
|
+
# Meta-provided messaging limit tier
|
|
47
|
+
#
|
|
48
|
+
# @return [String, nil]
|
|
49
|
+
optional :messaging_limit_tier, String
|
|
50
|
+
|
|
51
|
+
# @!attribute name_status
|
|
52
|
+
# Meta display-name approval status
|
|
53
|
+
#
|
|
54
|
+
# @return [String, nil]
|
|
55
|
+
optional :name_status, String
|
|
56
|
+
|
|
57
|
+
# @!attribute phone_number
|
|
58
|
+
# Phone number in E164 format
|
|
59
|
+
#
|
|
60
|
+
# @return [String, nil]
|
|
61
|
+
optional :phone_number, String
|
|
62
|
+
|
|
63
|
+
# @!attribute phone_number_id
|
|
64
|
+
# Whatsapp phone number ID
|
|
65
|
+
#
|
|
66
|
+
# @return [String, nil]
|
|
67
|
+
optional :phone_number_id, String
|
|
68
|
+
|
|
69
|
+
# @!attribute quality_rating
|
|
70
|
+
# Whatsapp quality rating
|
|
71
|
+
#
|
|
72
|
+
# @return [String, nil]
|
|
73
|
+
optional :quality_rating, String
|
|
74
|
+
|
|
75
|
+
# @!attribute record_type
|
|
76
|
+
#
|
|
77
|
+
# @return [String, nil]
|
|
78
|
+
optional :record_type, String
|
|
79
|
+
|
|
80
|
+
# @!attribute status
|
|
81
|
+
#
|
|
82
|
+
# @return [String, nil]
|
|
83
|
+
optional :status, String
|
|
84
|
+
|
|
85
|
+
# @!attribute sync_deadline
|
|
86
|
+
# Deadline for initiating the current coexistence synchronization cycle. This is
|
|
87
|
+
# null when no deadline applies.
|
|
88
|
+
#
|
|
89
|
+
# @return [Time, nil]
|
|
90
|
+
optional :sync_deadline, Time, nil?: true
|
|
91
|
+
|
|
92
|
+
# @!attribute sync_progress
|
|
93
|
+
# Synchronization progress. This object is returned only while a coexistence
|
|
94
|
+
# number is synchronizing.
|
|
95
|
+
#
|
|
96
|
+
# @return [Telnyx::Models::Whatsapp::BusinessAccounts::PhoneNumberListResponse::SyncProgress, nil]
|
|
97
|
+
optional :sync_progress,
|
|
98
|
+
-> { Telnyx::Models::Whatsapp::BusinessAccounts::PhoneNumberListResponse::SyncProgress },
|
|
99
|
+
nil?: true
|
|
100
|
+
|
|
101
|
+
# @!attribute user_id
|
|
102
|
+
# User ID
|
|
103
|
+
#
|
|
104
|
+
# @return [String, nil]
|
|
105
|
+
optional :user_id, String
|
|
106
|
+
|
|
107
|
+
# @!attribute verified_name
|
|
108
|
+
# Alias of display_name as stored; may reflect a pending or rejected name update
|
|
109
|
+
# until the next sync. See name_status for Meta's approval state.
|
|
110
|
+
#
|
|
111
|
+
# @return [String, nil]
|
|
112
|
+
optional :verified_name, String
|
|
113
|
+
|
|
114
|
+
# @!attribute waba_id
|
|
115
|
+
# WABA ID of Whatsapp business account
|
|
116
|
+
#
|
|
117
|
+
# @return [String, nil]
|
|
118
|
+
optional :waba_id, String
|
|
119
|
+
|
|
120
|
+
# @!method initialize(calling_enabled: nil, coexistence_state: nil, created_at: nil, display_name: nil, enabled: nil, is_on_biz_app: nil, messaging_limit_tier: nil, name_status: nil, phone_number: nil, phone_number_id: nil, quality_rating: nil, record_type: nil, status: nil, sync_deadline: nil, sync_progress: nil, user_id: nil, verified_name: nil, waba_id: nil)
|
|
121
|
+
# Some parameter documentations has been truncated, see
|
|
122
|
+
# {Telnyx::Models::Whatsapp::BusinessAccounts::PhoneNumberListResponse} for more
|
|
123
|
+
# details.
|
|
124
|
+
#
|
|
125
|
+
# @param calling_enabled [Boolean]
|
|
126
|
+
#
|
|
127
|
+
# @param coexistence_state [Symbol, Telnyx::Models::Whatsapp::BusinessAccounts::PhoneNumberListResponse::CoexistenceState, nil] Current lifecycle state for a coexistence number. This is null for a standard Cl
|
|
128
|
+
#
|
|
129
|
+
# @param created_at [Time]
|
|
130
|
+
#
|
|
131
|
+
# @param display_name [String]
|
|
132
|
+
#
|
|
133
|
+
# @param enabled [Boolean]
|
|
134
|
+
#
|
|
135
|
+
# @param is_on_biz_app [Boolean] Indicates whether the number is connected to both the WhatsApp Business app and
|
|
136
|
+
#
|
|
137
|
+
# @param messaging_limit_tier [String] Meta-provided messaging limit tier
|
|
138
|
+
#
|
|
139
|
+
# @param name_status [String] Meta display-name approval status
|
|
140
|
+
#
|
|
141
|
+
# @param phone_number [String] Phone number in E164 format
|
|
142
|
+
#
|
|
143
|
+
# @param phone_number_id [String] Whatsapp phone number ID
|
|
144
|
+
#
|
|
145
|
+
# @param quality_rating [String] Whatsapp quality rating
|
|
146
|
+
#
|
|
147
|
+
# @param record_type [String]
|
|
148
|
+
#
|
|
149
|
+
# @param status [String]
|
|
150
|
+
#
|
|
151
|
+
# @param sync_deadline [Time, nil] Deadline for initiating the current coexistence synchronization cycle. This is n
|
|
152
|
+
#
|
|
153
|
+
# @param sync_progress [Telnyx::Models::Whatsapp::BusinessAccounts::PhoneNumberListResponse::SyncProgress, nil] Synchronization progress. This object is returned only while a coexistence numbe
|
|
154
|
+
#
|
|
155
|
+
# @param user_id [String] User ID
|
|
156
|
+
#
|
|
157
|
+
# @param verified_name [String] Alias of display_name as stored; may reflect a pending or rejected name update u
|
|
158
|
+
#
|
|
159
|
+
# @param waba_id [String] WABA ID of Whatsapp business account
|
|
160
|
+
|
|
161
|
+
# Current lifecycle state for a coexistence number. This is null for a standard
|
|
162
|
+
# Cloud API number.
|
|
163
|
+
#
|
|
164
|
+
# @see Telnyx::Models::Whatsapp::BusinessAccounts::PhoneNumberListResponse#coexistence_state
|
|
165
|
+
module CoexistenceState
|
|
166
|
+
extend Telnyx::Internal::Type::Enum
|
|
167
|
+
|
|
168
|
+
PENDING_ONBOARDING = :pending_onboarding
|
|
169
|
+
SYNC_PENDING = :sync_pending
|
|
170
|
+
SYNCING = :syncing
|
|
171
|
+
SYNC_COMPLETE = :sync_complete
|
|
172
|
+
ACTIVE = :active
|
|
173
|
+
HISTORY_DECLINED = :history_declined
|
|
174
|
+
SYNC_DEADLINE_EXPIRED = :sync_deadline_expired
|
|
175
|
+
OFFBOARDED = :offboarded
|
|
176
|
+
DISCONNECTED = :disconnected
|
|
177
|
+
|
|
178
|
+
# @!method self.values
|
|
179
|
+
# @return [Array<Symbol>]
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
# @see Telnyx::Models::Whatsapp::BusinessAccounts::PhoneNumberListResponse#sync_progress
|
|
183
|
+
class SyncProgress < Telnyx::Internal::Type::BaseModel
|
|
184
|
+
# @!attribute contacts_status
|
|
185
|
+
#
|
|
186
|
+
# @return [String, nil]
|
|
187
|
+
optional :contacts_status, String
|
|
188
|
+
|
|
189
|
+
# @!attribute history_chunk_order
|
|
190
|
+
#
|
|
191
|
+
# @return [Integer, nil]
|
|
192
|
+
optional :history_chunk_order, Integer, nil?: true
|
|
193
|
+
|
|
194
|
+
# @!attribute history_phase
|
|
195
|
+
#
|
|
196
|
+
# @return [Integer, nil]
|
|
197
|
+
optional :history_phase, Integer, nil?: true
|
|
198
|
+
|
|
199
|
+
# @!attribute history_progress
|
|
200
|
+
#
|
|
201
|
+
# @return [Integer, nil]
|
|
202
|
+
optional :history_progress, Integer, nil?: true
|
|
203
|
+
|
|
204
|
+
# @!attribute history_status
|
|
205
|
+
#
|
|
206
|
+
# @return [String, nil]
|
|
207
|
+
optional :history_status, String
|
|
208
|
+
|
|
209
|
+
# @!method initialize(contacts_status: nil, history_chunk_order: nil, history_phase: nil, history_progress: nil, history_status: nil)
|
|
210
|
+
# Synchronization progress. This object is returned only while a coexistence
|
|
211
|
+
# number is synchronizing.
|
|
212
|
+
#
|
|
213
|
+
# @param contacts_status [String]
|
|
214
|
+
# @param history_chunk_order [Integer, nil]
|
|
215
|
+
# @param history_phase [Integer, nil]
|
|
216
|
+
# @param history_progress [Integer, nil]
|
|
217
|
+
# @param history_status [String]
|
|
218
|
+
end
|
|
219
|
+
end
|
|
220
|
+
end
|
|
221
|
+
end
|
|
222
|
+
end
|
|
223
|
+
end
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
module Whatsapp
|
|
6
|
+
# @see Telnyx::Resources::Whatsapp::PhoneNumbers#list
|
|
7
|
+
class PhoneNumberListResponse < Telnyx::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute calling_enabled
|
|
9
|
+
#
|
|
10
|
+
# @return [Boolean, nil]
|
|
11
|
+
optional :calling_enabled, Telnyx::Internal::Type::Boolean
|
|
12
|
+
|
|
13
|
+
# @!attribute coexistence_state
|
|
14
|
+
# Current lifecycle state for a coexistence number. This is null for a standard
|
|
15
|
+
# Cloud API number.
|
|
16
|
+
#
|
|
17
|
+
# @return [Symbol, Telnyx::Models::Whatsapp::PhoneNumberListResponse::CoexistenceState, nil]
|
|
18
|
+
optional :coexistence_state,
|
|
19
|
+
enum: -> { Telnyx::Models::Whatsapp::PhoneNumberListResponse::CoexistenceState },
|
|
20
|
+
nil?: true
|
|
21
|
+
|
|
22
|
+
# @!attribute created_at
|
|
23
|
+
#
|
|
24
|
+
# @return [Time, nil]
|
|
25
|
+
optional :created_at, Time
|
|
26
|
+
|
|
27
|
+
# @!attribute display_name
|
|
28
|
+
#
|
|
29
|
+
# @return [String, nil]
|
|
30
|
+
optional :display_name, String
|
|
31
|
+
|
|
32
|
+
# @!attribute enabled
|
|
33
|
+
#
|
|
34
|
+
# @return [Boolean, nil]
|
|
35
|
+
optional :enabled, Telnyx::Internal::Type::Boolean
|
|
36
|
+
|
|
37
|
+
# @!attribute is_on_biz_app
|
|
38
|
+
# Indicates whether the number is connected to both the WhatsApp Business app and
|
|
39
|
+
# Cloud API through WhatsApp Coexistence.
|
|
40
|
+
#
|
|
41
|
+
# @return [Boolean, nil]
|
|
42
|
+
optional :is_on_biz_app, Telnyx::Internal::Type::Boolean
|
|
43
|
+
|
|
44
|
+
# @!attribute messaging_limit_tier
|
|
45
|
+
# Meta-provided messaging limit tier
|
|
46
|
+
#
|
|
47
|
+
# @return [String, nil]
|
|
48
|
+
optional :messaging_limit_tier, String
|
|
49
|
+
|
|
50
|
+
# @!attribute name_status
|
|
51
|
+
# Meta display-name approval status
|
|
52
|
+
#
|
|
53
|
+
# @return [String, nil]
|
|
54
|
+
optional :name_status, String
|
|
55
|
+
|
|
56
|
+
# @!attribute phone_number
|
|
57
|
+
# Phone number in E164 format
|
|
58
|
+
#
|
|
59
|
+
# @return [String, nil]
|
|
60
|
+
optional :phone_number, String
|
|
61
|
+
|
|
62
|
+
# @!attribute phone_number_id
|
|
63
|
+
# Whatsapp phone number ID
|
|
64
|
+
#
|
|
65
|
+
# @return [String, nil]
|
|
66
|
+
optional :phone_number_id, String
|
|
67
|
+
|
|
68
|
+
# @!attribute quality_rating
|
|
69
|
+
# Whatsapp quality rating
|
|
70
|
+
#
|
|
71
|
+
# @return [String, nil]
|
|
72
|
+
optional :quality_rating, String
|
|
73
|
+
|
|
74
|
+
# @!attribute record_type
|
|
75
|
+
#
|
|
76
|
+
# @return [String, nil]
|
|
77
|
+
optional :record_type, String
|
|
78
|
+
|
|
79
|
+
# @!attribute status
|
|
80
|
+
#
|
|
81
|
+
# @return [String, nil]
|
|
82
|
+
optional :status, String
|
|
83
|
+
|
|
84
|
+
# @!attribute sync_deadline
|
|
85
|
+
# Deadline for initiating the current coexistence synchronization cycle. This is
|
|
86
|
+
# null when no deadline applies.
|
|
87
|
+
#
|
|
88
|
+
# @return [Time, nil]
|
|
89
|
+
optional :sync_deadline, Time, nil?: true
|
|
90
|
+
|
|
91
|
+
# @!attribute sync_progress
|
|
92
|
+
# Synchronization progress. This object is returned only while a coexistence
|
|
93
|
+
# number is synchronizing.
|
|
94
|
+
#
|
|
95
|
+
# @return [Telnyx::Models::Whatsapp::PhoneNumberListResponse::SyncProgress, nil]
|
|
96
|
+
optional :sync_progress,
|
|
97
|
+
-> { Telnyx::Models::Whatsapp::PhoneNumberListResponse::SyncProgress },
|
|
98
|
+
nil?: true
|
|
99
|
+
|
|
100
|
+
# @!attribute user_id
|
|
101
|
+
# User ID
|
|
102
|
+
#
|
|
103
|
+
# @return [String, nil]
|
|
104
|
+
optional :user_id, String
|
|
105
|
+
|
|
106
|
+
# @!attribute verified_name
|
|
107
|
+
# Alias of display_name as stored; may reflect a pending or rejected name update
|
|
108
|
+
# until the next sync. See name_status for Meta's approval state.
|
|
109
|
+
#
|
|
110
|
+
# @return [String, nil]
|
|
111
|
+
optional :verified_name, String
|
|
112
|
+
|
|
113
|
+
# @!attribute waba_id
|
|
114
|
+
# WABA ID of Whatsapp business account
|
|
115
|
+
#
|
|
116
|
+
# @return [String, nil]
|
|
117
|
+
optional :waba_id, String
|
|
118
|
+
|
|
119
|
+
# @!method initialize(calling_enabled: nil, coexistence_state: nil, created_at: nil, display_name: nil, enabled: nil, is_on_biz_app: nil, messaging_limit_tier: nil, name_status: nil, phone_number: nil, phone_number_id: nil, quality_rating: nil, record_type: nil, status: nil, sync_deadline: nil, sync_progress: nil, user_id: nil, verified_name: nil, waba_id: nil)
|
|
120
|
+
# Some parameter documentations has been truncated, see
|
|
121
|
+
# {Telnyx::Models::Whatsapp::PhoneNumberListResponse} for more details.
|
|
122
|
+
#
|
|
123
|
+
# @param calling_enabled [Boolean]
|
|
124
|
+
#
|
|
125
|
+
# @param coexistence_state [Symbol, Telnyx::Models::Whatsapp::PhoneNumberListResponse::CoexistenceState, nil] Current lifecycle state for a coexistence number. This is null for a standard Cl
|
|
126
|
+
#
|
|
127
|
+
# @param created_at [Time]
|
|
128
|
+
#
|
|
129
|
+
# @param display_name [String]
|
|
130
|
+
#
|
|
131
|
+
# @param enabled [Boolean]
|
|
132
|
+
#
|
|
133
|
+
# @param is_on_biz_app [Boolean] Indicates whether the number is connected to both the WhatsApp Business app and
|
|
134
|
+
#
|
|
135
|
+
# @param messaging_limit_tier [String] Meta-provided messaging limit tier
|
|
136
|
+
#
|
|
137
|
+
# @param name_status [String] Meta display-name approval status
|
|
138
|
+
#
|
|
139
|
+
# @param phone_number [String] Phone number in E164 format
|
|
140
|
+
#
|
|
141
|
+
# @param phone_number_id [String] Whatsapp phone number ID
|
|
142
|
+
#
|
|
143
|
+
# @param quality_rating [String] Whatsapp quality rating
|
|
144
|
+
#
|
|
145
|
+
# @param record_type [String]
|
|
146
|
+
#
|
|
147
|
+
# @param status [String]
|
|
148
|
+
#
|
|
149
|
+
# @param sync_deadline [Time, nil] Deadline for initiating the current coexistence synchronization cycle. This is n
|
|
150
|
+
#
|
|
151
|
+
# @param sync_progress [Telnyx::Models::Whatsapp::PhoneNumberListResponse::SyncProgress, nil] Synchronization progress. This object is returned only while a coexistence numbe
|
|
152
|
+
#
|
|
153
|
+
# @param user_id [String] User ID
|
|
154
|
+
#
|
|
155
|
+
# @param verified_name [String] Alias of display_name as stored; may reflect a pending or rejected name update u
|
|
156
|
+
#
|
|
157
|
+
# @param waba_id [String] WABA ID of Whatsapp business account
|
|
158
|
+
|
|
159
|
+
# Current lifecycle state for a coexistence number. This is null for a standard
|
|
160
|
+
# Cloud API number.
|
|
161
|
+
#
|
|
162
|
+
# @see Telnyx::Models::Whatsapp::PhoneNumberListResponse#coexistence_state
|
|
163
|
+
module CoexistenceState
|
|
164
|
+
extend Telnyx::Internal::Type::Enum
|
|
165
|
+
|
|
166
|
+
PENDING_ONBOARDING = :pending_onboarding
|
|
167
|
+
SYNC_PENDING = :sync_pending
|
|
168
|
+
SYNCING = :syncing
|
|
169
|
+
SYNC_COMPLETE = :sync_complete
|
|
170
|
+
ACTIVE = :active
|
|
171
|
+
HISTORY_DECLINED = :history_declined
|
|
172
|
+
SYNC_DEADLINE_EXPIRED = :sync_deadline_expired
|
|
173
|
+
OFFBOARDED = :offboarded
|
|
174
|
+
DISCONNECTED = :disconnected
|
|
175
|
+
|
|
176
|
+
# @!method self.values
|
|
177
|
+
# @return [Array<Symbol>]
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
# @see Telnyx::Models::Whatsapp::PhoneNumberListResponse#sync_progress
|
|
181
|
+
class SyncProgress < Telnyx::Internal::Type::BaseModel
|
|
182
|
+
# @!attribute contacts_status
|
|
183
|
+
#
|
|
184
|
+
# @return [String, nil]
|
|
185
|
+
optional :contacts_status, String
|
|
186
|
+
|
|
187
|
+
# @!attribute history_chunk_order
|
|
188
|
+
#
|
|
189
|
+
# @return [Integer, nil]
|
|
190
|
+
optional :history_chunk_order, Integer, nil?: true
|
|
191
|
+
|
|
192
|
+
# @!attribute history_phase
|
|
193
|
+
#
|
|
194
|
+
# @return [Integer, nil]
|
|
195
|
+
optional :history_phase, Integer, nil?: true
|
|
196
|
+
|
|
197
|
+
# @!attribute history_progress
|
|
198
|
+
#
|
|
199
|
+
# @return [Integer, nil]
|
|
200
|
+
optional :history_progress, Integer, nil?: true
|
|
201
|
+
|
|
202
|
+
# @!attribute history_status
|
|
203
|
+
#
|
|
204
|
+
# @return [String, nil]
|
|
205
|
+
optional :history_status, String
|
|
206
|
+
|
|
207
|
+
# @!method initialize(contacts_status: nil, history_chunk_order: nil, history_phase: nil, history_progress: nil, history_status: nil)
|
|
208
|
+
# Synchronization progress. This object is returned only while a coexistence
|
|
209
|
+
# number is synchronizing.
|
|
210
|
+
#
|
|
211
|
+
# @param contacts_status [String]
|
|
212
|
+
# @param history_chunk_order [Integer, nil]
|
|
213
|
+
# @param history_phase [Integer, nil]
|
|
214
|
+
# @param history_progress [Integer, nil]
|
|
215
|
+
# @param history_status [String]
|
|
216
|
+
end
|
|
217
|
+
end
|
|
218
|
+
end
|
|
219
|
+
end
|
|
220
|
+
end
|
|
@@ -1475,7 +1475,7 @@ module Telnyx
|
|
|
1475
1475
|
#
|
|
1476
1476
|
# @param transcription_engine [Symbol, String, Telnyx::Models::Calls::TranscriptionStartRequest::TranscriptionEngine] Engine to use for speech recognition. Legacy values `A` - `Google`, `B` - `Telny
|
|
1477
1477
|
#
|
|
1478
|
-
# @param transcription_engine_config [Telnyx::Models::Calls::TranscriptionEngineGoogleConfig, Telnyx::Models::Calls::TranscriptionEngineTelnyxConfig, Telnyx::Models::Calls::DeepgramNova2Config, Telnyx::Models::Calls::
|
|
1478
|
+
# @param transcription_engine_config [Telnyx::Models::Calls::TranscriptionEngineGoogleConfig, Telnyx::Models::Calls::TranscriptionEngineTelnyxConfig, Telnyx::Models::Calls::DeepgramNova2Config, Telnyx::Models::Calls::DeepgramNova2SpecialtyConfig, Telnyx::Models::Calls::DeepgramNova3Config, Telnyx::Models::Calls::DeepgramNova3MedicalConfig, Telnyx::Models::Calls::DeepgramFluxConfig, Telnyx::Models::Calls::DeepgramFluxMultiConfig, Telnyx::Models::Calls::TranscriptionEngineAzureConfig, Telnyx::Models::Calls::TranscriptionEngineXaiConfig, Telnyx::Models::Calls::TranscriptionEngineAssemblyaiConfig, Telnyx::Models::Calls::TranscriptionEngineSpeechmaticsConfig, Telnyx::Models::Calls::TranscriptionEngineSonioxConfig, Telnyx::Models::Calls::TranscriptionEngineParakeetConfig, Telnyx::Models::Calls::TranscriptionEngineHumainConfig, Telnyx::Models::Calls::TranscriptionEngineReson8Config, Telnyx::Models::Calls::TranscriptionEngineCohereConfig, Telnyx::Models::Calls::TranscriptionEngineAConfig, Telnyx::Models::Calls::TranscriptionEngineBConfig, Telnyx::Models::Calls::TranscriptionEngineCommunityConfig] Engine-specific settings. For a built-in engine, the object matching `transcript
|
|
1479
1479
|
#
|
|
1480
1480
|
# @param transcription_tracks [String] Indicates which leg of the call will be transcribed. Use `inbound` for the leg t
|
|
1481
1481
|
#
|
|
@@ -23,7 +23,7 @@ module Telnyx
|
|
|
23
23
|
parsed, options = Telnyx::CustomerServiceRecordCreateParams.dump_request(params)
|
|
24
24
|
@client.request(
|
|
25
25
|
method: :post,
|
|
26
|
-
path: "customer_service_records",
|
|
26
|
+
path: "porting/customer_service_records",
|
|
27
27
|
body: parsed,
|
|
28
28
|
model: Telnyx::Models::CustomerServiceRecordCreateResponse,
|
|
29
29
|
options: options
|
|
@@ -45,7 +45,7 @@ module Telnyx
|
|
|
45
45
|
def retrieve(customer_service_record_id, params = {})
|
|
46
46
|
@client.request(
|
|
47
47
|
method: :get,
|
|
48
|
-
path: ["customer_service_records/%1$s", customer_service_record_id],
|
|
48
|
+
path: ["porting/customer_service_records/%1$s", customer_service_record_id],
|
|
49
49
|
model: Telnyx::Models::CustomerServiceRecordRetrieveResponse,
|
|
50
50
|
options: params[:request_options]
|
|
51
51
|
)
|
|
@@ -77,7 +77,7 @@ module Telnyx
|
|
|
77
77
|
query = Telnyx::Internal::Util.encode_query_params(parsed)
|
|
78
78
|
@client.request(
|
|
79
79
|
method: :get,
|
|
80
|
-
path: "customer_service_records",
|
|
80
|
+
path: "porting/customer_service_records",
|
|
81
81
|
query: query.transform_keys(page_number: "page[number]", page_size: "page[size]"),
|
|
82
82
|
page: Telnyx::Internal::DefaultFlatPagination,
|
|
83
83
|
model: Telnyx::CustomerServiceRecord,
|
|
@@ -100,7 +100,7 @@ module Telnyx
|
|
|
100
100
|
parsed, options = Telnyx::CustomerServiceRecordVerifyPhoneNumberCoverageParams.dump_request(params)
|
|
101
101
|
@client.request(
|
|
102
102
|
method: :post,
|
|
103
|
-
path: "customer_service_records/phone_number_coverages",
|
|
103
|
+
path: "porting/customer_service_records/phone_number_coverages",
|
|
104
104
|
body: parsed,
|
|
105
105
|
model: Telnyx::Models::CustomerServiceRecordVerifyPhoneNumberCoverageResponse,
|
|
106
106
|
options: options
|