telnyx 4.2.0 → 4.3.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.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +23 -0
  3. data/README.md +1 -1
  4. data/lib/telnyx/internal/util.rb +5 -5
  5. data/lib/telnyx/models/ai/assistant_import_params.rb +1 -0
  6. data/lib/telnyx/models/ai/import_metadata.rb +1 -0
  7. data/lib/telnyx/models/messaging_tollfree/verification/tf_verification_request.rb +114 -1
  8. data/lib/telnyx/models/messaging_tollfree/verification/verification_request_egress.rb +99 -1
  9. data/lib/telnyx/models/messaging_tollfree/verification/verification_request_status.rb +99 -1
  10. data/lib/telnyx/models/network_coverage_list_response.rb +1 -2
  11. data/lib/telnyx/models/outbound_voice_profile.rb +47 -1
  12. data/lib/telnyx/models/outbound_voice_profile_create_params.rb +47 -1
  13. data/lib/telnyx/models/outbound_voice_profile_list_params.rb +5 -5
  14. data/lib/telnyx/models/outbound_voice_profile_update_params.rb +47 -1
  15. data/lib/telnyx/models/requirement_group.rb +2 -0
  16. data/lib/telnyx/models/requirement_group_list_params.rb +1 -0
  17. data/lib/telnyx/resources/messaging_tollfree/verification/requests.rb +46 -2
  18. data/lib/telnyx/resources/outbound_voice_profiles.rb +7 -3
  19. data/lib/telnyx/resources/sim_cards/actions.rb +6 -6
  20. data/lib/telnyx/version.rb +1 -1
  21. data/rbi/telnyx/models/ai/assistant_import_params.rbi +5 -0
  22. data/rbi/telnyx/models/ai/import_metadata.rbi +5 -0
  23. data/rbi/telnyx/models/messaging_tollfree/verification/tf_verification_request.rbi +165 -0
  24. data/rbi/telnyx/models/messaging_tollfree/verification/verification_request_egress.rbi +164 -0
  25. data/rbi/telnyx/models/messaging_tollfree/verification/verification_request_status.rbi +164 -0
  26. data/rbi/telnyx/models/network_coverage_list_response.rbi +4 -8
  27. data/rbi/telnyx/models/outbound_voice_profile.rbi +81 -0
  28. data/rbi/telnyx/models/outbound_voice_profile_create_params.rbi +88 -0
  29. data/rbi/telnyx/models/outbound_voice_profile_list_params.rbi +6 -6
  30. data/rbi/telnyx/models/outbound_voice_profile_update_params.rbi +88 -0
  31. data/rbi/telnyx/models/requirement_group.rbi +7 -0
  32. data/rbi/telnyx/models/requirement_group_list_params.rbi +5 -0
  33. data/rbi/telnyx/resources/messaging_tollfree/verification/requests.rbi +84 -0
  34. data/rbi/telnyx/resources/outbound_voice_profiles.rbi +12 -2
  35. data/rbi/telnyx/resources/sim_cards/actions.rbi +6 -6
  36. data/sig/telnyx/models/ai/assistant_import_params.rbs +2 -1
  37. data/sig/telnyx/models/ai/import_metadata.rbs +2 -1
  38. data/sig/telnyx/models/messaging_tollfree/verification/tf_verification_request.rbs +76 -0
  39. data/sig/telnyx/models/messaging_tollfree/verification/verification_request_egress.rbs +98 -0
  40. data/sig/telnyx/models/messaging_tollfree/verification/verification_request_status.rbs +98 -0
  41. data/sig/telnyx/models/outbound_voice_profile.rbs +38 -0
  42. data/sig/telnyx/models/outbound_voice_profile_create_params.rbs +38 -0
  43. data/sig/telnyx/models/outbound_voice_profile_update_params.rbs +38 -0
  44. data/sig/telnyx/models/requirement_group.rbs +6 -2
  45. data/sig/telnyx/models/requirement_group_list_params.rbs +3 -1
  46. data/sig/telnyx/resources/messaging_tollfree/verification/requests.rbs +22 -0
  47. data/sig/telnyx/resources/outbound_voice_profiles.rbs +2 -0
  48. metadata +2 -2
@@ -26,8 +26,8 @@ module Telnyx
26
26
  end
27
27
  attr_writer :filter
28
28
 
29
- # Consolidated page parameter (deepObject style). Originally: page[number],
30
- # page[size]
29
+ # Consolidated page parameter (deepObject style). Originally: page[size],
30
+ # page[number]
31
31
  sig { returns(T.nilable(Telnyx::OutboundVoiceProfileListParams::Page)) }
32
32
  attr_reader :page
33
33
 
@@ -76,8 +76,8 @@ module Telnyx
76
76
  # Consolidated filter parameter (deepObject style). Originally:
77
77
  # filter[name][contains]
78
78
  filter: nil,
79
- # Consolidated page parameter (deepObject style). Originally: page[number],
80
- # page[size]
79
+ # Consolidated page parameter (deepObject style). Originally: page[size],
80
+ # page[number]
81
81
  page: nil,
82
82
  # Specifies the sort order for results. By default sorting direction is ascending.
83
83
  # To have the results sorted in descending order add the <code>-</code>
@@ -209,8 +209,8 @@ module Telnyx
209
209
  sig { params(size: Integer).void }
210
210
  attr_writer :size
211
211
 
212
- # Consolidated page parameter (deepObject style). Originally: page[number],
213
- # page[size]
212
+ # Consolidated page parameter (deepObject style). Originally: page[size],
213
+ # page[number]
214
214
  sig { params(number: Integer, size: Integer).returns(T.attached_class) }
215
215
  def self.new(
216
216
  # The page number to load.
@@ -29,6 +29,23 @@ module Telnyx
29
29
  sig { params(call_recording: Telnyx::OutboundCallRecording::OrHash).void }
30
30
  attr_writer :call_recording
31
31
 
32
+ # (BETA) Specifies the time window and call limits for calls made using this
33
+ # outbound voice profile.
34
+ sig do
35
+ returns(
36
+ T.nilable(Telnyx::OutboundVoiceProfileUpdateParams::CallingWindow)
37
+ )
38
+ end
39
+ attr_reader :calling_window
40
+
41
+ sig do
42
+ params(
43
+ calling_window:
44
+ Telnyx::OutboundVoiceProfileUpdateParams::CallingWindow::OrHash
45
+ ).void
46
+ end
47
+ attr_writer :calling_window
48
+
32
49
  # Must be no more than your global concurrent call limit. Null means no limit.
33
50
  sig { returns(T.nilable(Integer)) }
34
51
  attr_accessor :concurrent_call_limit
@@ -107,6 +124,8 @@ module Telnyx
107
124
  name: String,
108
125
  billing_group_id: T.nilable(String),
109
126
  call_recording: Telnyx::OutboundCallRecording::OrHash,
127
+ calling_window:
128
+ Telnyx::OutboundVoiceProfileUpdateParams::CallingWindow::OrHash,
110
129
  concurrent_call_limit: T.nilable(Integer),
111
130
  daily_spend_limit: String,
112
131
  daily_spend_limit_enabled: T::Boolean,
@@ -127,6 +146,9 @@ module Telnyx
127
146
  # null (for no group assigned).
128
147
  billing_group_id: nil,
129
148
  call_recording: nil,
149
+ # (BETA) Specifies the time window and call limits for calls made using this
150
+ # outbound voice profile.
151
+ calling_window: nil,
130
152
  # Must be no more than your global concurrent call limit. Null means no limit.
131
153
  concurrent_call_limit: nil,
132
154
  # The maximum amount of usage charges, in USD, you want Telnyx to allow on this
@@ -161,6 +183,8 @@ module Telnyx
161
183
  name: String,
162
184
  billing_group_id: T.nilable(String),
163
185
  call_recording: Telnyx::OutboundCallRecording,
186
+ calling_window:
187
+ Telnyx::OutboundVoiceProfileUpdateParams::CallingWindow,
164
188
  concurrent_call_limit: T.nilable(Integer),
165
189
  daily_spend_limit: String,
166
190
  daily_spend_limit_enabled: T::Boolean,
@@ -177,6 +201,70 @@ module Telnyx
177
201
  end
178
202
  def to_hash
179
203
  end
204
+
205
+ class CallingWindow < Telnyx::Internal::Type::BaseModel
206
+ OrHash =
207
+ T.type_alias do
208
+ T.any(
209
+ Telnyx::OutboundVoiceProfileUpdateParams::CallingWindow,
210
+ Telnyx::Internal::AnyHash
211
+ )
212
+ end
213
+
214
+ # (BETA) The maximum number of calls that can be initiated to a single called
215
+ # party (CLD) within the calling window. A null value means no limit.
216
+ sig { returns(T.nilable(Integer)) }
217
+ attr_reader :calls_per_cld
218
+
219
+ sig { params(calls_per_cld: Integer).void }
220
+ attr_writer :calls_per_cld
221
+
222
+ # (BETA) The UTC time of day (in HH:MM format, 24-hour clock) when calls are no
223
+ # longer allowed to start.
224
+ sig { returns(T.nilable(Time)) }
225
+ attr_reader :end_time
226
+
227
+ sig { params(end_time: Time).void }
228
+ attr_writer :end_time
229
+
230
+ # (BETA) The UTC time of day (in HH:MM format, 24-hour clock) when calls are
231
+ # allowed to start.
232
+ sig { returns(T.nilable(Time)) }
233
+ attr_reader :start_time
234
+
235
+ sig { params(start_time: Time).void }
236
+ attr_writer :start_time
237
+
238
+ # (BETA) Specifies the time window and call limits for calls made using this
239
+ # outbound voice profile.
240
+ sig do
241
+ params(
242
+ calls_per_cld: Integer,
243
+ end_time: Time,
244
+ start_time: Time
245
+ ).returns(T.attached_class)
246
+ end
247
+ def self.new(
248
+ # (BETA) The maximum number of calls that can be initiated to a single called
249
+ # party (CLD) within the calling window. A null value means no limit.
250
+ calls_per_cld: nil,
251
+ # (BETA) The UTC time of day (in HH:MM format, 24-hour clock) when calls are no
252
+ # longer allowed to start.
253
+ end_time: nil,
254
+ # (BETA) The UTC time of day (in HH:MM format, 24-hour clock) when calls are
255
+ # allowed to start.
256
+ start_time: nil
257
+ )
258
+ end
259
+
260
+ sig do
261
+ override.returns(
262
+ { calls_per_cld: Integer, end_time: Time, start_time: Time }
263
+ )
264
+ end
265
+ def to_hash
266
+ end
267
+ end
180
268
  end
181
269
  end
182
270
  end
@@ -260,6 +260,11 @@ module Telnyx
260
260
  :declined,
261
261
  Telnyx::RequirementGroup::RegulatoryRequirement::Status::TaggedSymbol
262
262
  )
263
+ EXPIRED =
264
+ T.let(
265
+ :expired,
266
+ Telnyx::RequirementGroup::RegulatoryRequirement::Status::TaggedSymbol
267
+ )
263
268
 
264
269
  sig do
265
270
  override.returns(
@@ -291,6 +296,8 @@ module Telnyx
291
296
  )
292
297
  DECLINED =
293
298
  T.let(:declined, Telnyx::RequirementGroup::Status::TaggedSymbol)
299
+ EXPIRED =
300
+ T.let(:expired, Telnyx::RequirementGroup::Status::TaggedSymbol)
294
301
 
295
302
  sig do
296
303
  override.returns(
@@ -285,6 +285,11 @@ module Telnyx
285
285
  :declined,
286
286
  Telnyx::RequirementGroupListParams::Filter::Status::TaggedSymbol
287
287
  )
288
+ EXPIRED =
289
+ T.let(
290
+ :expired,
291
+ Telnyx::RequirementGroupListParams::Filter::Status::TaggedSymbol
292
+ )
288
293
 
289
294
  sig do
290
295
  override.returns(
@@ -33,7 +33,21 @@ module Telnyx
33
33
  use_case:
34
34
  Telnyx::MessagingTollfree::Verification::UseCaseCategories::OrSymbol,
35
35
  use_case_summary: String,
36
+ age_gated_content: T::Boolean,
36
37
  business_addr2: String,
38
+ business_registration_country: T.nilable(String),
39
+ business_registration_number: T.nilable(String),
40
+ business_registration_type: T.nilable(String),
41
+ doing_business_as: T.nilable(String),
42
+ entity_type:
43
+ T.nilable(
44
+ Telnyx::MessagingTollfree::Verification::TfVerificationRequest::EntityType::OrSymbol
45
+ ),
46
+ help_message_response: T.nilable(String),
47
+ opt_in_confirmation_response: T.nilable(String),
48
+ opt_in_keywords: T.nilable(String),
49
+ privacy_policy_url: T.nilable(String),
50
+ terms_and_condition_url: T.nilable(String),
37
51
  webhook_url: String,
38
52
  request_options: Telnyx::RequestOptions::OrHash
39
53
  ).returns(
@@ -83,8 +97,36 @@ module Telnyx
83
97
  use_case:,
84
98
  # Human-readable summary of the desired use-case
85
99
  use_case_summary:,
100
+ # Indicates if messaging content requires age gating (e.g., 18+). Defaults to
101
+ # false if not provided.
102
+ age_gated_content: nil,
86
103
  # Line 2 of the business address
87
104
  business_addr2: nil,
105
+ # ISO 3166-1 alpha-2 country code of the issuing business authority. Must be
106
+ # exactly 2 letters. Automatically converted to uppercase. Required from
107
+ # January 2026.
108
+ business_registration_country: nil,
109
+ # Official business registration number (e.g., Employer Identification Number
110
+ # (EIN) in the U.S.). Required from January 2026.
111
+ business_registration_number: nil,
112
+ # Type of business registration being provided. Required from January 2026.
113
+ business_registration_type: nil,
114
+ # Doing Business As (DBA) name if different from legal name
115
+ doing_business_as: nil,
116
+ # Business entity classification
117
+ entity_type: nil,
118
+ # The message returned when users text 'HELP'
119
+ help_message_response: nil,
120
+ # Message sent to users confirming their opt-in to receive messages
121
+ opt_in_confirmation_response: nil,
122
+ # Keywords used to collect and process consumer opt-ins
123
+ opt_in_keywords: nil,
124
+ # URL pointing to the business's privacy policy. Plain string, no URL format
125
+ # validation.
126
+ privacy_policy_url: nil,
127
+ # URL pointing to the business's terms and conditions. Plain string, no URL format
128
+ # validation.
129
+ terms_and_condition_url: nil,
88
130
  # URL that should receive webhooks relating to this verification request
89
131
  webhook_url: nil,
90
132
  request_options: {}
@@ -133,7 +175,21 @@ module Telnyx
133
175
  use_case:
134
176
  Telnyx::MessagingTollfree::Verification::UseCaseCategories::OrSymbol,
135
177
  use_case_summary: String,
178
+ age_gated_content: T::Boolean,
136
179
  business_addr2: String,
180
+ business_registration_country: T.nilable(String),
181
+ business_registration_number: T.nilable(String),
182
+ business_registration_type: T.nilable(String),
183
+ doing_business_as: T.nilable(String),
184
+ entity_type:
185
+ T.nilable(
186
+ Telnyx::MessagingTollfree::Verification::TfVerificationRequest::EntityType::OrSymbol
187
+ ),
188
+ help_message_response: T.nilable(String),
189
+ opt_in_confirmation_response: T.nilable(String),
190
+ opt_in_keywords: T.nilable(String),
191
+ privacy_policy_url: T.nilable(String),
192
+ terms_and_condition_url: T.nilable(String),
137
193
  webhook_url: String,
138
194
  request_options: Telnyx::RequestOptions::OrHash
139
195
  ).returns(
@@ -184,8 +240,36 @@ module Telnyx
184
240
  use_case:,
185
241
  # Human-readable summary of the desired use-case
186
242
  use_case_summary:,
243
+ # Indicates if messaging content requires age gating (e.g., 18+). Defaults to
244
+ # false if not provided.
245
+ age_gated_content: nil,
187
246
  # Line 2 of the business address
188
247
  business_addr2: nil,
248
+ # ISO 3166-1 alpha-2 country code of the issuing business authority. Must be
249
+ # exactly 2 letters. Automatically converted to uppercase. Required from
250
+ # January 2026.
251
+ business_registration_country: nil,
252
+ # Official business registration number (e.g., Employer Identification Number
253
+ # (EIN) in the U.S.). Required from January 2026.
254
+ business_registration_number: nil,
255
+ # Type of business registration being provided. Required from January 2026.
256
+ business_registration_type: nil,
257
+ # Doing Business As (DBA) name if different from legal name
258
+ doing_business_as: nil,
259
+ # Business entity classification
260
+ entity_type: nil,
261
+ # The message returned when users text 'HELP'
262
+ help_message_response: nil,
263
+ # Message sent to users confirming their opt-in to receive messages
264
+ opt_in_confirmation_response: nil,
265
+ # Keywords used to collect and process consumer opt-ins
266
+ opt_in_keywords: nil,
267
+ # URL pointing to the business's privacy policy. Plain string, no URL format
268
+ # validation.
269
+ privacy_policy_url: nil,
270
+ # URL pointing to the business's terms and conditions. Plain string, no URL format
271
+ # validation.
272
+ terms_and_condition_url: nil,
189
273
  # URL that should receive webhooks relating to this verification request
190
274
  webhook_url: nil,
191
275
  request_options: {}
@@ -9,6 +9,8 @@ module Telnyx
9
9
  name: String,
10
10
  billing_group_id: T.nilable(String),
11
11
  call_recording: Telnyx::OutboundCallRecording::OrHash,
12
+ calling_window:
13
+ Telnyx::OutboundVoiceProfileCreateParams::CallingWindow::OrHash,
12
14
  concurrent_call_limit: T.nilable(Integer),
13
15
  daily_spend_limit: String,
14
16
  daily_spend_limit_enabled: T::Boolean,
@@ -29,6 +31,9 @@ module Telnyx
29
31
  # null (for no group assigned).
30
32
  billing_group_id: nil,
31
33
  call_recording: nil,
34
+ # (BETA) Specifies the time window and call limits for calls made using this
35
+ # outbound voice profile. Note that all times are UTC in 24-hour clock time.
36
+ calling_window: nil,
32
37
  # Must be no more than your global concurrent call limit. Null means no limit.
33
38
  concurrent_call_limit: nil,
34
39
  # The maximum amount of usage charges, in USD, you want Telnyx to allow on this
@@ -78,6 +83,8 @@ module Telnyx
78
83
  name: String,
79
84
  billing_group_id: T.nilable(String),
80
85
  call_recording: Telnyx::OutboundCallRecording::OrHash,
86
+ calling_window:
87
+ Telnyx::OutboundVoiceProfileUpdateParams::CallingWindow::OrHash,
81
88
  concurrent_call_limit: T.nilable(Integer),
82
89
  daily_spend_limit: String,
83
90
  daily_spend_limit_enabled: T::Boolean,
@@ -100,6 +107,9 @@ module Telnyx
100
107
  # null (for no group assigned).
101
108
  billing_group_id: nil,
102
109
  call_recording: nil,
110
+ # (BETA) Specifies the time window and call limits for calls made using this
111
+ # outbound voice profile.
112
+ calling_window: nil,
103
113
  # Must be no more than your global concurrent call limit. Null means no limit.
104
114
  concurrent_call_limit: nil,
105
115
  # The maximum amount of usage charges, in USD, you want Telnyx to allow on this
@@ -142,8 +152,8 @@ module Telnyx
142
152
  # Consolidated filter parameter (deepObject style). Originally:
143
153
  # filter[name][contains]
144
154
  filter: nil,
145
- # Consolidated page parameter (deepObject style). Originally: page[number],
146
- # page[size]
155
+ # Consolidated page parameter (deepObject style). Originally: page[size],
156
+ # page[number]
147
157
  page: nil,
148
158
  # Specifies the sort order for results. By default sorting direction is ascending.
149
159
  # To have the results sorted in descending order add the <code>-</code>
@@ -43,7 +43,7 @@ module Telnyx
43
43
  # This API triggers an asynchronous operation to set a public IP for each of the
44
44
  # specified SIM cards.<br/> For each SIM Card a SIM Card Action will be generated.
45
45
  # The status of the SIM Card Action can be followed through the
46
- # [List SIM Card Action](https://developersdev.telnyx.com/docs/api/v2/wireless/SIM-Card-Actions#ListSIMCardActions)
46
+ # [List SIM Card Action](https://developers.telnyx.com/api/wireless/list-sim-card-actions)
47
47
  # API.
48
48
  sig do
49
49
  params(
@@ -58,7 +58,7 @@ module Telnyx
58
58
  # impossible to consume data.<br/> The API will trigger an asynchronous operation
59
59
  # called a SIM Card Action. Transitioning to the disabled state may take a period
60
60
  # of time. The status of the SIM Card Action can be followed through the
61
- # [List SIM Card Action](https://developersdev.telnyx.com/docs/api/v2/wireless/SIM-Card-Actions#ListSIMCardActions)
61
+ # [List SIM Card Action](https://developers.telnyx.com/api/wireless/list-sim-card-actions)
62
62
  # API.
63
63
  sig do
64
64
  params(
@@ -78,7 +78,7 @@ module Telnyx
78
78
  # card group.<br/> The API will trigger an asynchronous operation called a SIM
79
79
  # Card Action. Transitioning to the enabled state may take a period of time. The
80
80
  # status of the SIM Card Action can be followed through the
81
- # [List SIM Card Action](https://developersdev.telnyx.com/docs/api/v2/wireless/SIM-Card-Actions#ListSIMCardActions)
81
+ # [List SIM Card Action](https://developers.telnyx.com/api/wireless/list-sim-card-actions)
82
82
  # API.
83
83
  sig do
84
84
  params(
@@ -96,7 +96,7 @@ module Telnyx
96
96
  # This API removes an existing public IP from a SIM card. <br/><br/> The API will
97
97
  # trigger an asynchronous operation called a SIM Card Action. The status of the
98
98
  # SIM Card Action can be followed through the
99
- # [List SIM Card Action](https://developersdev.telnyx.com/docs/api/v2/wireless/SIM-Card-Actions#ListSIMCardActions)
99
+ # [List SIM Card Action](https://developers.telnyx.com/api/wireless/list-sim-card-actions)
100
100
  # API.
101
101
  sig do
102
102
  params(
@@ -115,7 +115,7 @@ module Telnyx
115
115
  # public IP to the SIM card. <br/><br/> The API will trigger an asynchronous
116
116
  # operation called a SIM Card Action. The status of the SIM Card Action can be
117
117
  # followed through the
118
- # [List SIM Card Action](https://developersdev.telnyx.com/docs/api/v2/wireless/SIM-Card-Actions#ListSIMCardActions)
118
+ # [List SIM Card Action](https://developers.telnyx.com/api/wireless/list-sim-card-actions)
119
119
  # API. <br/><br/> Setting a Public IP to a SIM Card incurs a charge and will only
120
120
  # succeed if the account has sufficient funds.
121
121
  sig do
@@ -141,7 +141,7 @@ module Telnyx
141
141
  # API will trigger an asynchronous operation called a SIM Card Action.
142
142
  # Transitioning to the standby state may take a period of time. The status of the
143
143
  # SIM Card Action can be followed through the
144
- # [List SIM Card Action](https://developersdev.telnyx.com/docs/api/v2/wireless/SIM-Card-Actions#ListSIMCardActions)
144
+ # [List SIM Card Action](https://developers.telnyx.com/api/wireless/list-sim-card-actions)
145
145
  # API.
146
146
  sig do
147
147
  params(
@@ -28,13 +28,14 @@ module Telnyx
28
28
  request_options: Telnyx::RequestOptions
29
29
  }
30
30
 
31
- type provider = :elevenlabs | :vapi
31
+ type provider = :elevenlabs | :vapi | :retell
32
32
 
33
33
  module Provider
34
34
  extend Telnyx::Internal::Type::Enum
35
35
 
36
36
  ELEVENLABS: :elevenlabs
37
37
  VAPI: :vapi
38
+ RETELL: :retell
38
39
 
39
40
  def self?.values: -> ::Array[Telnyx::Models::AI::AssistantImportParams::provider]
40
41
  end
@@ -28,13 +28,14 @@ module Telnyx
28
28
  import_provider: Telnyx::Models::AI::ImportMetadata::import_provider
29
29
  }
30
30
 
31
- type import_provider = :elevenlabs | :vapi
31
+ type import_provider = :elevenlabs | :vapi | :retell
32
32
 
33
33
  module ImportProvider
34
34
  extend Telnyx::Internal::Type::Enum
35
35
 
36
36
  ELEVENLABS: :elevenlabs
37
37
  VAPI: :vapi
38
+ RETELL: :retell
38
39
 
39
40
  def self?.values: -> ::Array[Telnyx::Models::AI::ImportMetadata::import_provider]
40
41
  end
@@ -23,7 +23,18 @@ module Telnyx
23
23
  production_message_content: String,
24
24
  use_case: Telnyx::Models::MessagingTollfree::Verification::use_case_categories,
25
25
  use_case_summary: String,
26
+ age_gated_content: bool,
26
27
  :business_addr2 => String,
28
+ business_registration_country: String?,
29
+ business_registration_number: String?,
30
+ business_registration_type: String?,
31
+ doing_business_as: String?,
32
+ entity_type: Telnyx::Models::MessagingTollfree::Verification::TfVerificationRequest::entity_type?,
33
+ help_message_response: String?,
34
+ opt_in_confirmation_response: String?,
35
+ opt_in_keywords: String?,
36
+ privacy_policy_url: String?,
37
+ terms_and_condition_url: String?,
27
38
  webhook_url: String
28
39
  }
29
40
 
@@ -66,10 +77,34 @@ module Telnyx
66
77
 
67
78
  attr_accessor use_case_summary: String
68
79
 
80
+ attr_reader age_gated_content: bool?
81
+
82
+ def age_gated_content=: (bool) -> bool
83
+
69
84
  attr_reader business_addr2: String?
70
85
 
71
86
  def business_addr2=: (String) -> String
72
87
 
88
+ attr_accessor business_registration_country: String?
89
+
90
+ attr_accessor business_registration_number: String?
91
+
92
+ attr_accessor business_registration_type: String?
93
+
94
+ attr_accessor doing_business_as: String?
95
+
96
+ attr_accessor entity_type: Telnyx::Models::MessagingTollfree::Verification::TfVerificationRequest::entity_type?
97
+
98
+ attr_accessor help_message_response: String?
99
+
100
+ attr_accessor opt_in_confirmation_response: String?
101
+
102
+ attr_accessor opt_in_keywords: String?
103
+
104
+ attr_accessor privacy_policy_url: String?
105
+
106
+ attr_accessor terms_and_condition_url: String?
107
+
73
108
  attr_reader webhook_url: String?
74
109
 
75
110
  def webhook_url=: (String) -> String
@@ -94,7 +129,18 @@ module Telnyx
94
129
  production_message_content: String,
95
130
  use_case: Telnyx::Models::MessagingTollfree::Verification::use_case_categories,
96
131
  use_case_summary: String,
132
+ ?age_gated_content: bool,
97
133
  ?business_addr2: String,
134
+ ?business_registration_country: String?,
135
+ ?business_registration_number: String?,
136
+ ?business_registration_type: String?,
137
+ ?doing_business_as: String?,
138
+ ?entity_type: Telnyx::Models::MessagingTollfree::Verification::TfVerificationRequest::entity_type?,
139
+ ?help_message_response: String?,
140
+ ?opt_in_confirmation_response: String?,
141
+ ?opt_in_keywords: String?,
142
+ ?privacy_policy_url: String?,
143
+ ?terms_and_condition_url: String?,
98
144
  ?webhook_url: String
99
145
  ) -> void
100
146
 
@@ -118,9 +164,39 @@ module Telnyx
118
164
  production_message_content: String,
119
165
  use_case: Telnyx::Models::MessagingTollfree::Verification::use_case_categories,
120
166
  use_case_summary: String,
167
+ age_gated_content: bool,
121
168
  :business_addr2 => String,
169
+ business_registration_country: String?,
170
+ business_registration_number: String?,
171
+ business_registration_type: String?,
172
+ doing_business_as: String?,
173
+ entity_type: Telnyx::Models::MessagingTollfree::Verification::TfVerificationRequest::entity_type?,
174
+ help_message_response: String?,
175
+ opt_in_confirmation_response: String?,
176
+ opt_in_keywords: String?,
177
+ privacy_policy_url: String?,
178
+ terms_and_condition_url: String?,
122
179
  webhook_url: String
123
180
  }
181
+
182
+ type entity_type =
183
+ :SOLE_PROPRIETOR
184
+ | :PRIVATE_PROFIT
185
+ | :PUBLIC_PROFIT
186
+ | :NON_PROFIT
187
+ | :GOVERNMENT
188
+
189
+ module EntityType
190
+ extend Telnyx::Internal::Type::Enum
191
+
192
+ SOLE_PROPRIETOR: :SOLE_PROPRIETOR
193
+ PRIVATE_PROFIT: :PRIVATE_PROFIT
194
+ PUBLIC_PROFIT: :PUBLIC_PROFIT
195
+ NON_PROFIT: :NON_PROFIT
196
+ GOVERNMENT: :GOVERNMENT
197
+
198
+ def self?.values: -> ::Array[Telnyx::Models::MessagingTollfree::Verification::TfVerificationRequest::entity_type]
199
+ end
124
200
  end
125
201
  end
126
202
  end