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
@@ -27,7 +27,18 @@ module Telnyx
27
27
  use_case: Telnyx::Models::MessagingTollfree::Verification::use_case_categories,
28
28
  use_case_summary: String,
29
29
  verification_request_id: String,
30
+ age_gated_content: bool,
30
31
  :business_addr2 => String,
32
+ business_registration_country: String,
33
+ business_registration_number: String,
34
+ business_registration_type: String,
35
+ doing_business_as: String,
36
+ entity_type: Telnyx::Models::MessagingTollfree::Verification::VerificationRequestEgress::entity_type,
37
+ help_message_response: String,
38
+ opt_in_confirmation_response: String,
39
+ opt_in_keywords: String,
40
+ privacy_policy_url: String,
41
+ terms_and_condition_url: String,
31
42
  verification_status: Telnyx::Models::MessagingTollfree::Verification::tf_verification_status,
32
43
  webhook_url: String
33
44
  }
@@ -75,10 +86,56 @@ module Telnyx
75
86
 
76
87
  attr_accessor verification_request_id: String
77
88
 
89
+ attr_reader age_gated_content: bool?
90
+
91
+ def age_gated_content=: (bool) -> bool
92
+
78
93
  attr_reader business_addr2: String?
79
94
 
80
95
  def business_addr2=: (String) -> String
81
96
 
97
+ attr_reader business_registration_country: String?
98
+
99
+ def business_registration_country=: (String) -> String
100
+
101
+ attr_reader business_registration_number: String?
102
+
103
+ def business_registration_number=: (String) -> String
104
+
105
+ attr_reader business_registration_type: String?
106
+
107
+ def business_registration_type=: (String) -> String
108
+
109
+ attr_reader doing_business_as: String?
110
+
111
+ def doing_business_as=: (String) -> String
112
+
113
+ attr_reader entity_type: Telnyx::Models::MessagingTollfree::Verification::VerificationRequestEgress::entity_type?
114
+
115
+ def entity_type=: (
116
+ Telnyx::Models::MessagingTollfree::Verification::VerificationRequestEgress::entity_type
117
+ ) -> Telnyx::Models::MessagingTollfree::Verification::VerificationRequestEgress::entity_type
118
+
119
+ attr_reader help_message_response: String?
120
+
121
+ def help_message_response=: (String) -> String
122
+
123
+ attr_reader opt_in_confirmation_response: String?
124
+
125
+ def opt_in_confirmation_response=: (String) -> String
126
+
127
+ attr_reader opt_in_keywords: String?
128
+
129
+ def opt_in_keywords=: (String) -> String
130
+
131
+ attr_reader privacy_policy_url: String?
132
+
133
+ def privacy_policy_url=: (String) -> String
134
+
135
+ attr_reader terms_and_condition_url: String?
136
+
137
+ def terms_and_condition_url=: (String) -> String
138
+
82
139
  attr_reader verification_status: Telnyx::Models::MessagingTollfree::Verification::tf_verification_status?
83
140
 
84
141
  def verification_status=: (
@@ -111,7 +168,18 @@ module Telnyx
111
168
  use_case: Telnyx::Models::MessagingTollfree::Verification::use_case_categories,
112
169
  use_case_summary: String,
113
170
  verification_request_id: String,
171
+ ?age_gated_content: bool,
114
172
  ?business_addr2: String,
173
+ ?business_registration_country: String,
174
+ ?business_registration_number: String,
175
+ ?business_registration_type: String,
176
+ ?doing_business_as: String,
177
+ ?entity_type: Telnyx::Models::MessagingTollfree::Verification::VerificationRequestEgress::entity_type,
178
+ ?help_message_response: String,
179
+ ?opt_in_confirmation_response: String,
180
+ ?opt_in_keywords: String,
181
+ ?privacy_policy_url: String,
182
+ ?terms_and_condition_url: String,
115
183
  ?verification_status: Telnyx::Models::MessagingTollfree::Verification::tf_verification_status,
116
184
  ?webhook_url: String
117
185
  ) -> void
@@ -138,10 +206,40 @@ module Telnyx
138
206
  use_case: Telnyx::Models::MessagingTollfree::Verification::use_case_categories,
139
207
  use_case_summary: String,
140
208
  verification_request_id: String,
209
+ age_gated_content: bool,
141
210
  :business_addr2 => String,
211
+ business_registration_country: String,
212
+ business_registration_number: String,
213
+ business_registration_type: String,
214
+ doing_business_as: String,
215
+ entity_type: Telnyx::Models::MessagingTollfree::Verification::VerificationRequestEgress::entity_type,
216
+ help_message_response: String,
217
+ opt_in_confirmation_response: String,
218
+ opt_in_keywords: String,
219
+ privacy_policy_url: String,
220
+ terms_and_condition_url: String,
142
221
  verification_status: Telnyx::Models::MessagingTollfree::Verification::tf_verification_status,
143
222
  webhook_url: String
144
223
  }
224
+
225
+ type entity_type =
226
+ :SOLE_PROPRIETOR
227
+ | :PRIVATE_PROFIT
228
+ | :PUBLIC_PROFIT
229
+ | :NON_PROFIT
230
+ | :GOVERNMENT
231
+
232
+ module EntityType
233
+ extend Telnyx::Internal::Type::Enum
234
+
235
+ SOLE_PROPRIETOR: :SOLE_PROPRIETOR
236
+ PRIVATE_PROFIT: :PRIVATE_PROFIT
237
+ PUBLIC_PROFIT: :PUBLIC_PROFIT
238
+ NON_PROFIT: :NON_PROFIT
239
+ GOVERNMENT: :GOVERNMENT
240
+
241
+ def self?.values: -> ::Array[Telnyx::Models::MessagingTollfree::Verification::VerificationRequestEgress::entity_type]
242
+ end
145
243
  end
146
244
  end
147
245
  end
@@ -27,9 +27,20 @@ module Telnyx
27
27
  use_case: Telnyx::Models::MessagingTollfree::Verification::use_case_categories,
28
28
  use_case_summary: String,
29
29
  verification_status: Telnyx::Models::MessagingTollfree::Verification::tf_verification_status,
30
+ age_gated_content: bool,
30
31
  :business_addr2 => String,
32
+ business_registration_country: String,
33
+ business_registration_number: String,
34
+ business_registration_type: String,
31
35
  created_at: Time,
36
+ doing_business_as: String,
37
+ entity_type: Telnyx::Models::MessagingTollfree::Verification::VerificationRequestStatus::entity_type,
38
+ help_message_response: String,
39
+ opt_in_confirmation_response: String,
40
+ opt_in_keywords: String,
41
+ privacy_policy_url: String,
32
42
  reason: String,
43
+ terms_and_condition_url: String,
33
44
  updated_at: Time,
34
45
  webhook_url: String
35
46
  }
@@ -77,18 +88,64 @@ module Telnyx
77
88
 
78
89
  attr_accessor verification_status: Telnyx::Models::MessagingTollfree::Verification::tf_verification_status
79
90
 
91
+ attr_reader age_gated_content: bool?
92
+
93
+ def age_gated_content=: (bool) -> bool
94
+
80
95
  attr_reader business_addr2: String?
81
96
 
82
97
  def business_addr2=: (String) -> String
83
98
 
99
+ attr_reader business_registration_country: String?
100
+
101
+ def business_registration_country=: (String) -> String
102
+
103
+ attr_reader business_registration_number: String?
104
+
105
+ def business_registration_number=: (String) -> String
106
+
107
+ attr_reader business_registration_type: String?
108
+
109
+ def business_registration_type=: (String) -> String
110
+
84
111
  attr_reader created_at: Time?
85
112
 
86
113
  def created_at=: (Time) -> Time
87
114
 
115
+ attr_reader doing_business_as: String?
116
+
117
+ def doing_business_as=: (String) -> String
118
+
119
+ attr_reader entity_type: Telnyx::Models::MessagingTollfree::Verification::VerificationRequestStatus::entity_type?
120
+
121
+ def entity_type=: (
122
+ Telnyx::Models::MessagingTollfree::Verification::VerificationRequestStatus::entity_type
123
+ ) -> Telnyx::Models::MessagingTollfree::Verification::VerificationRequestStatus::entity_type
124
+
125
+ attr_reader help_message_response: String?
126
+
127
+ def help_message_response=: (String) -> String
128
+
129
+ attr_reader opt_in_confirmation_response: String?
130
+
131
+ def opt_in_confirmation_response=: (String) -> String
132
+
133
+ attr_reader opt_in_keywords: String?
134
+
135
+ def opt_in_keywords=: (String) -> String
136
+
137
+ attr_reader privacy_policy_url: String?
138
+
139
+ def privacy_policy_url=: (String) -> String
140
+
88
141
  attr_reader reason: String?
89
142
 
90
143
  def reason=: (String) -> String
91
144
 
145
+ attr_reader terms_and_condition_url: String?
146
+
147
+ def terms_and_condition_url=: (String) -> String
148
+
92
149
  attr_reader updated_at: Time?
93
150
 
94
151
  def updated_at=: (Time) -> Time
@@ -119,9 +176,20 @@ module Telnyx
119
176
  use_case: Telnyx::Models::MessagingTollfree::Verification::use_case_categories,
120
177
  use_case_summary: String,
121
178
  verification_status: Telnyx::Models::MessagingTollfree::Verification::tf_verification_status,
179
+ ?age_gated_content: bool,
122
180
  ?business_addr2: String,
181
+ ?business_registration_country: String,
182
+ ?business_registration_number: String,
183
+ ?business_registration_type: String,
123
184
  ?created_at: Time,
185
+ ?doing_business_as: String,
186
+ ?entity_type: Telnyx::Models::MessagingTollfree::Verification::VerificationRequestStatus::entity_type,
187
+ ?help_message_response: String,
188
+ ?opt_in_confirmation_response: String,
189
+ ?opt_in_keywords: String,
190
+ ?privacy_policy_url: String,
124
191
  ?reason: String,
192
+ ?terms_and_condition_url: String,
125
193
  ?updated_at: Time,
126
194
  ?webhook_url: String
127
195
  ) -> void
@@ -148,12 +216,42 @@ module Telnyx
148
216
  use_case: Telnyx::Models::MessagingTollfree::Verification::use_case_categories,
149
217
  use_case_summary: String,
150
218
  verification_status: Telnyx::Models::MessagingTollfree::Verification::tf_verification_status,
219
+ age_gated_content: bool,
151
220
  :business_addr2 => String,
221
+ business_registration_country: String,
222
+ business_registration_number: String,
223
+ business_registration_type: String,
152
224
  created_at: Time,
225
+ doing_business_as: String,
226
+ entity_type: Telnyx::Models::MessagingTollfree::Verification::VerificationRequestStatus::entity_type,
227
+ help_message_response: String,
228
+ opt_in_confirmation_response: String,
229
+ opt_in_keywords: String,
230
+ privacy_policy_url: String,
153
231
  reason: String,
232
+ terms_and_condition_url: String,
154
233
  updated_at: Time,
155
234
  webhook_url: String
156
235
  }
236
+
237
+ type entity_type =
238
+ :SOLE_PROPRIETOR
239
+ | :PRIVATE_PROFIT
240
+ | :PUBLIC_PROFIT
241
+ | :NON_PROFIT
242
+ | :GOVERNMENT
243
+
244
+ module EntityType
245
+ extend Telnyx::Internal::Type::Enum
246
+
247
+ SOLE_PROPRIETOR: :SOLE_PROPRIETOR
248
+ PRIVATE_PROFIT: :PRIVATE_PROFIT
249
+ PUBLIC_PROFIT: :PUBLIC_PROFIT
250
+ NON_PROFIT: :NON_PROFIT
251
+ GOVERNMENT: :GOVERNMENT
252
+
253
+ def self?.values: -> ::Array[Telnyx::Models::MessagingTollfree::Verification::VerificationRequestStatus::entity_type]
254
+ end
157
255
  end
158
256
  end
159
257
  end
@@ -6,6 +6,7 @@ module Telnyx
6
6
  id: String,
7
7
  billing_group_id: String?,
8
8
  call_recording: Telnyx::OutboundCallRecording,
9
+ calling_window: Telnyx::OutboundVoiceProfile::CallingWindow,
9
10
  concurrent_call_limit: Integer?,
10
11
  connections_count: Integer,
11
12
  created_at: String,
@@ -37,6 +38,12 @@ module Telnyx
37
38
  Telnyx::OutboundCallRecording
38
39
  ) -> Telnyx::OutboundCallRecording
39
40
 
41
+ attr_reader calling_window: Telnyx::OutboundVoiceProfile::CallingWindow?
42
+
43
+ def calling_window=: (
44
+ Telnyx::OutboundVoiceProfile::CallingWindow
45
+ ) -> Telnyx::OutboundVoiceProfile::CallingWindow
46
+
40
47
  attr_accessor concurrent_call_limit: Integer?
41
48
 
42
49
  attr_reader connections_count: Integer?
@@ -102,6 +109,7 @@ module Telnyx
102
109
  ?id: String,
103
110
  ?billing_group_id: String?,
104
111
  ?call_recording: Telnyx::OutboundCallRecording,
112
+ ?calling_window: Telnyx::OutboundVoiceProfile::CallingWindow,
105
113
  ?concurrent_call_limit: Integer?,
106
114
  ?connections_count: Integer,
107
115
  ?created_at: String,
@@ -123,6 +131,7 @@ module Telnyx
123
131
  id: String,
124
132
  billing_group_id: String?,
125
133
  call_recording: Telnyx::OutboundCallRecording,
134
+ calling_window: Telnyx::OutboundVoiceProfile::CallingWindow,
126
135
  concurrent_call_limit: Integer?,
127
136
  connections_count: Integer,
128
137
  created_at: String,
@@ -138,6 +147,35 @@ module Telnyx
138
147
  usage_payment_method: Telnyx::Models::usage_payment_method,
139
148
  whitelisted_destinations: ::Array[String]
140
149
  }
150
+
151
+ type calling_window =
152
+ { calls_per_cld: Integer, end_time: String, start_time: String }
153
+
154
+ class CallingWindow < Telnyx::Internal::Type::BaseModel
155
+ attr_reader calls_per_cld: Integer?
156
+
157
+ def calls_per_cld=: (Integer) -> Integer
158
+
159
+ attr_reader end_time: String?
160
+
161
+ def end_time=: (String) -> String
162
+
163
+ attr_reader start_time: String?
164
+
165
+ def start_time=: (String) -> String
166
+
167
+ def initialize: (
168
+ ?calls_per_cld: Integer,
169
+ ?end_time: String,
170
+ ?start_time: String
171
+ ) -> void
172
+
173
+ def to_hash: -> {
174
+ calls_per_cld: Integer,
175
+ end_time: String,
176
+ start_time: String
177
+ }
178
+ end
141
179
  end
142
180
  end
143
181
  end
@@ -5,6 +5,7 @@ module Telnyx
5
5
  name: String,
6
6
  billing_group_id: String?,
7
7
  call_recording: Telnyx::OutboundCallRecording,
8
+ calling_window: Telnyx::OutboundVoiceProfileCreateParams::CallingWindow,
8
9
  concurrent_call_limit: Integer?,
9
10
  daily_spend_limit: String,
10
11
  daily_spend_limit_enabled: bool,
@@ -32,6 +33,12 @@ module Telnyx
32
33
  Telnyx::OutboundCallRecording
33
34
  ) -> Telnyx::OutboundCallRecording
34
35
 
36
+ attr_reader calling_window: Telnyx::OutboundVoiceProfileCreateParams::CallingWindow?
37
+
38
+ def calling_window=: (
39
+ Telnyx::OutboundVoiceProfileCreateParams::CallingWindow
40
+ ) -> Telnyx::OutboundVoiceProfileCreateParams::CallingWindow
41
+
35
42
  attr_accessor concurrent_call_limit: Integer?
36
43
 
37
44
  attr_reader daily_spend_limit: String?
@@ -80,6 +87,7 @@ module Telnyx
80
87
  name: String,
81
88
  ?billing_group_id: String?,
82
89
  ?call_recording: Telnyx::OutboundCallRecording,
90
+ ?calling_window: Telnyx::OutboundVoiceProfileCreateParams::CallingWindow,
83
91
  ?concurrent_call_limit: Integer?,
84
92
  ?daily_spend_limit: String,
85
93
  ?daily_spend_limit_enabled: bool,
@@ -97,6 +105,7 @@ module Telnyx
97
105
  name: String,
98
106
  billing_group_id: String?,
99
107
  call_recording: Telnyx::OutboundCallRecording,
108
+ calling_window: Telnyx::OutboundVoiceProfileCreateParams::CallingWindow,
100
109
  concurrent_call_limit: Integer?,
101
110
  daily_spend_limit: String,
102
111
  daily_spend_limit_enabled: bool,
@@ -109,6 +118,35 @@ module Telnyx
109
118
  whitelisted_destinations: ::Array[String],
110
119
  request_options: Telnyx::RequestOptions
111
120
  }
121
+
122
+ type calling_window =
123
+ { calls_per_cld: Integer, end_time: Time, start_time: Time }
124
+
125
+ class CallingWindow < Telnyx::Internal::Type::BaseModel
126
+ attr_reader calls_per_cld: Integer?
127
+
128
+ def calls_per_cld=: (Integer) -> Integer
129
+
130
+ attr_reader end_time: Time?
131
+
132
+ def end_time=: (Time) -> Time
133
+
134
+ attr_reader start_time: Time?
135
+
136
+ def start_time=: (Time) -> Time
137
+
138
+ def initialize: (
139
+ ?calls_per_cld: Integer,
140
+ ?end_time: Time,
141
+ ?start_time: Time
142
+ ) -> void
143
+
144
+ def to_hash: -> {
145
+ calls_per_cld: Integer,
146
+ end_time: Time,
147
+ start_time: Time
148
+ }
149
+ end
112
150
  end
113
151
  end
114
152
  end
@@ -5,6 +5,7 @@ module Telnyx
5
5
  name: String,
6
6
  billing_group_id: String?,
7
7
  call_recording: Telnyx::OutboundCallRecording,
8
+ calling_window: Telnyx::OutboundVoiceProfileUpdateParams::CallingWindow,
8
9
  concurrent_call_limit: Integer?,
9
10
  daily_spend_limit: String,
10
11
  daily_spend_limit_enabled: bool,
@@ -32,6 +33,12 @@ module Telnyx
32
33
  Telnyx::OutboundCallRecording
33
34
  ) -> Telnyx::OutboundCallRecording
34
35
 
36
+ attr_reader calling_window: Telnyx::OutboundVoiceProfileUpdateParams::CallingWindow?
37
+
38
+ def calling_window=: (
39
+ Telnyx::OutboundVoiceProfileUpdateParams::CallingWindow
40
+ ) -> Telnyx::OutboundVoiceProfileUpdateParams::CallingWindow
41
+
35
42
  attr_accessor concurrent_call_limit: Integer?
36
43
 
37
44
  attr_reader daily_spend_limit: String?
@@ -80,6 +87,7 @@ module Telnyx
80
87
  name: String,
81
88
  ?billing_group_id: String?,
82
89
  ?call_recording: Telnyx::OutboundCallRecording,
90
+ ?calling_window: Telnyx::OutboundVoiceProfileUpdateParams::CallingWindow,
83
91
  ?concurrent_call_limit: Integer?,
84
92
  ?daily_spend_limit: String,
85
93
  ?daily_spend_limit_enabled: bool,
@@ -97,6 +105,7 @@ module Telnyx
97
105
  name: String,
98
106
  billing_group_id: String?,
99
107
  call_recording: Telnyx::OutboundCallRecording,
108
+ calling_window: Telnyx::OutboundVoiceProfileUpdateParams::CallingWindow,
100
109
  concurrent_call_limit: Integer?,
101
110
  daily_spend_limit: String,
102
111
  daily_spend_limit_enabled: bool,
@@ -109,6 +118,35 @@ module Telnyx
109
118
  whitelisted_destinations: ::Array[String],
110
119
  request_options: Telnyx::RequestOptions
111
120
  }
121
+
122
+ type calling_window =
123
+ { calls_per_cld: Integer, end_time: Time, start_time: Time }
124
+
125
+ class CallingWindow < Telnyx::Internal::Type::BaseModel
126
+ attr_reader calls_per_cld: Integer?
127
+
128
+ def calls_per_cld=: (Integer) -> Integer
129
+
130
+ attr_reader end_time: Time?
131
+
132
+ def end_time=: (Time) -> Time
133
+
134
+ attr_reader start_time: Time?
135
+
136
+ def start_time=: (Time) -> Time
137
+
138
+ def initialize: (
139
+ ?calls_per_cld: Integer,
140
+ ?end_time: Time,
141
+ ?start_time: Time
142
+ ) -> void
143
+
144
+ def to_hash: -> {
145
+ calls_per_cld: Integer,
146
+ end_time: Time,
147
+ start_time: Time
148
+ }
149
+ end
112
150
  end
113
151
  end
114
152
  end
@@ -147,7 +147,8 @@ module Telnyx
147
147
  updated_at: Time
148
148
  }
149
149
 
150
- type status = :approved | :unapproved | :"pending-approval" | :declined
150
+ type status =
151
+ :approved | :unapproved | :"pending-approval" | :declined | :expired
151
152
 
152
153
  module Status
153
154
  extend Telnyx::Internal::Type::Enum
@@ -156,12 +157,14 @@ module Telnyx
156
157
  UNAPPROVED: :unapproved
157
158
  PENDING_APPROVAL: :"pending-approval"
158
159
  DECLINED: :declined
160
+ EXPIRED: :expired
159
161
 
160
162
  def self?.values: -> ::Array[Telnyx::Models::RequirementGroup::RegulatoryRequirement::status]
161
163
  end
162
164
  end
163
165
 
164
- type status = :approved | :unapproved | :"pending-approval" | :declined
166
+ type status =
167
+ :approved | :unapproved | :"pending-approval" | :declined | :expired
165
168
 
166
169
  module Status
167
170
  extend Telnyx::Internal::Type::Enum
@@ -170,6 +173,7 @@ module Telnyx
170
173
  UNAPPROVED: :unapproved
171
174
  PENDING_APPROVAL: :"pending-approval"
172
175
  DECLINED: :declined
176
+ EXPIRED: :expired
173
177
 
174
178
  def self?.values: -> ::Array[Telnyx::Models::RequirementGroup::status]
175
179
  end
@@ -103,7 +103,8 @@ module Telnyx
103
103
  def self?.values: -> ::Array[Telnyx::Models::RequirementGroupListParams::Filter::phone_number_type]
104
104
  end
105
105
 
106
- type status = :approved | :unapproved | :"pending-approval" | :declined
106
+ type status =
107
+ :approved | :unapproved | :"pending-approval" | :declined | :expired
107
108
 
108
109
  module Status
109
110
  extend Telnyx::Internal::Type::Enum
@@ -112,6 +113,7 @@ module Telnyx
112
113
  UNAPPROVED: :unapproved
113
114
  PENDING_APPROVAL: :"pending-approval"
114
115
  DECLINED: :declined
116
+ EXPIRED: :expired
115
117
 
116
118
  def self?.values: -> ::Array[Telnyx::Models::RequirementGroupListParams::Filter::status]
117
119
  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
  ?request_options: Telnyx::request_opts
29
40
  ) -> Telnyx::MessagingTollfree::Verification::VerificationRequestEgress
@@ -54,7 +65,18 @@ module Telnyx
54
65
  production_message_content: String,
55
66
  use_case: Telnyx::Models::MessagingTollfree::Verification::use_case_categories,
56
67
  use_case_summary: String,
68
+ ?age_gated_content: bool,
57
69
  ?business_addr2: String,
70
+ ?business_registration_country: String?,
71
+ ?business_registration_number: String?,
72
+ ?business_registration_type: String?,
73
+ ?doing_business_as: String?,
74
+ ?entity_type: Telnyx::Models::MessagingTollfree::Verification::TfVerificationRequest::entity_type?,
75
+ ?help_message_response: String?,
76
+ ?opt_in_confirmation_response: String?,
77
+ ?opt_in_keywords: String?,
78
+ ?privacy_policy_url: String?,
79
+ ?terms_and_condition_url: String?,
58
80
  ?webhook_url: String,
59
81
  ?request_options: Telnyx::request_opts
60
82
  ) -> Telnyx::MessagingTollfree::Verification::VerificationRequestEgress
@@ -5,6 +5,7 @@ module Telnyx
5
5
  name: String,
6
6
  ?billing_group_id: String?,
7
7
  ?call_recording: Telnyx::OutboundCallRecording,
8
+ ?calling_window: Telnyx::OutboundVoiceProfileCreateParams::CallingWindow,
8
9
  ?concurrent_call_limit: Integer?,
9
10
  ?daily_spend_limit: String,
10
11
  ?daily_spend_limit_enabled: bool,
@@ -28,6 +29,7 @@ module Telnyx
28
29
  name: String,
29
30
  ?billing_group_id: String?,
30
31
  ?call_recording: Telnyx::OutboundCallRecording,
32
+ ?calling_window: Telnyx::OutboundVoiceProfileUpdateParams::CallingWindow,
31
33
  ?concurrent_call_limit: Integer?,
32
34
  ?daily_spend_limit: String,
33
35
  ?daily_spend_limit_enabled: bool,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: telnyx
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0
4
+ version: 4.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Telnyx
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-10-08 00:00:00.000000000 Z
11
+ date: 2025-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool