telnyx 5.67.0 → 5.68.1
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 +39 -0
- data/README.md +1 -1
- data/lib/telnyx/internal/util.rb +1 -2
- data/lib/telnyx/models/ai/voice_settings.rb +1 -1
- data/lib/telnyx/models/billing_address.rb +56 -0
- data/lib/telnyx/models/billing_contact.rb +40 -0
- data/lib/telnyx/models/enterprise_create_params.rb +12 -196
- data/lib/telnyx/models/enterprise_create_response.rb +3 -437
- data/lib/telnyx/models/enterprise_public.rb +249 -0
- data/lib/telnyx/models/enterprise_retrieve_response.rb +3 -439
- data/lib/telnyx/models/enterprise_update_params.rb +12 -196
- data/lib/telnyx/models/enterprise_update_response.rb +3 -437
- data/lib/telnyx/models/enterprises/enterprise_reputation_public.rb +100 -0
- data/lib/telnyx/models/enterprises/reputation/number_create_response.rb +3 -39
- data/lib/telnyx/models/enterprises/reputation/number_retrieve_response.rb +3 -148
- data/lib/telnyx/models/enterprises/reputation_create_response.rb +3 -96
- data/lib/telnyx/models/enterprises/reputation_list_response.rb +3 -96
- data/lib/telnyx/models/enterprises/reputation_update_frequency_response.rb +3 -97
- data/lib/telnyx/models/meta_info.rb +40 -0
- data/lib/telnyx/models/organization_contact.rb +51 -0
- data/lib/telnyx/models/physical_address.rb +56 -0
- data/lib/telnyx/models/reputation/number_retrieve_response.rb +3 -148
- data/lib/telnyx/models/reputation_data.rb +80 -0
- data/lib/telnyx/models/reputation_phone_number_with_reputation_data.rb +56 -0
- data/lib/telnyx/models.rb +16 -0
- data/lib/telnyx/resources/enterprises/reputation/numbers.rb +2 -2
- data/lib/telnyx/resources/enterprises.rb +10 -10
- data/lib/telnyx/resources/reputation/numbers.rb +2 -2
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +9 -3
- data/rbi/telnyx/models/ai/voice_settings.rbi +2 -2
- data/rbi/telnyx/models/billing_address.rbi +77 -0
- data/rbi/telnyx/models/billing_contact.rbi +61 -0
- data/rbi/telnyx/models/enterprise_create_params.rbi +16 -316
- data/rbi/telnyx/models/enterprise_create_response.rbi +4 -814
- data/rbi/telnyx/models/enterprise_public.rbi +436 -0
- data/rbi/telnyx/models/enterprise_retrieve_response.rbi +4 -816
- data/rbi/telnyx/models/enterprise_update_params.rbi +16 -320
- data/rbi/telnyx/models/enterprise_update_response.rbi +4 -814
- data/rbi/telnyx/models/enterprises/enterprise_reputation_public.rbi +233 -0
- data/rbi/telnyx/models/enterprises/reputation/number_create_response.rbi +4 -88
- data/rbi/telnyx/models/enterprises/reputation/number_retrieve_response.rbi +4 -292
- data/rbi/telnyx/models/enterprises/reputation_create_response.rbi +4 -236
- data/rbi/telnyx/models/enterprises/reputation_list_response.rbi +4 -232
- data/rbi/telnyx/models/enterprises/reputation_update_frequency_response.rbi +4 -237
- data/rbi/telnyx/models/meta_info.rbi +71 -0
- data/rbi/telnyx/models/organization_contact.rbi +71 -0
- data/rbi/telnyx/models/physical_address.rbi +77 -0
- data/rbi/telnyx/models/reputation/number_retrieve_response.rbi +4 -287
- data/rbi/telnyx/models/reputation_data.rbi +107 -0
- data/rbi/telnyx/models/reputation_phone_number_with_reputation_data.rbi +98 -0
- data/rbi/telnyx/models.rbi +17 -0
- data/rbi/telnyx/resources/enterprises/reputation/numbers.rbi +1 -1
- data/rbi/telnyx/resources/enterprises.rbi +9 -19
- data/rbi/telnyx/resources/reputation/numbers.rbi +1 -1
- data/sig/telnyx/models/billing_address.rbs +45 -0
- data/sig/telnyx/models/billing_contact.rbs +35 -0
- data/sig/telnyx/models/enterprise_create_params.rbs +16 -169
- data/sig/telnyx/models/enterprise_create_response.rbs +5 -382
- data/sig/telnyx/models/enterprise_public.rbs +218 -0
- data/sig/telnyx/models/enterprise_retrieve_response.rbs +5 -382
- data/sig/telnyx/models/enterprise_update_params.rbs +22 -179
- data/sig/telnyx/models/enterprise_update_response.rbs +5 -382
- data/sig/telnyx/models/enterprises/enterprise_reputation_public.rbs +97 -0
- data/sig/telnyx/models/enterprises/reputation/number_create_response.rbs +5 -47
- data/sig/telnyx/models/enterprises/reputation/number_retrieve_response.rbs +6 -133
- data/sig/telnyx/models/enterprises/reputation_create_response.rbs +6 -96
- data/sig/telnyx/models/enterprises/reputation_list_response.rbs +6 -96
- data/sig/telnyx/models/enterprises/reputation_update_frequency_response.rbs +6 -98
- data/sig/telnyx/models/meta_info.rbs +43 -0
- data/sig/telnyx/models/organization_contact.rbs +40 -0
- data/sig/telnyx/models/physical_address.rbs +45 -0
- data/sig/telnyx/models/reputation/number_retrieve_response.rbs +6 -131
- data/sig/telnyx/models/reputation_data.rbs +62 -0
- data/sig/telnyx/models/reputation_phone_number_with_reputation_data.rbs +57 -0
- data/sig/telnyx/models.rbs +16 -0
- data/sig/telnyx/resources/enterprises/reputation/numbers.rbs +1 -1
- data/sig/telnyx/resources/enterprises.rbs +9 -9
- data/sig/telnyx/resources/reputation/numbers.rbs +1 -1
- metadata +29 -11
- data/lib/telnyx/models/enterprise_list_response.rb +0 -439
- data/lib/telnyx/models/enterprises/reputation/number_list_response.rb +0 -154
- data/lib/telnyx/models/reputation/number_list_response.rb +0 -151
- data/rbi/telnyx/models/enterprise_list_response.rbi +0 -794
- data/rbi/telnyx/models/enterprises/reputation/number_list_response.rbi +0 -288
- data/rbi/telnyx/models/reputation/number_list_response.rbi +0 -286
- data/sig/telnyx/models/enterprise_list_response.rbs +0 -375
- data/sig/telnyx/models/enterprises/reputation/number_list_response.rbs +0 -132
- data/sig/telnyx/models/reputation/number_list_response.rbs +0 -130
|
@@ -14,13 +14,13 @@ module Telnyx
|
|
|
14
14
|
|
|
15
15
|
# @!attribute billing_address
|
|
16
16
|
#
|
|
17
|
-
# @return [Telnyx::Models::
|
|
18
|
-
optional :billing_address, -> { Telnyx::
|
|
17
|
+
# @return [Telnyx::Models::BillingAddress, nil]
|
|
18
|
+
optional :billing_address, -> { Telnyx::BillingAddress }
|
|
19
19
|
|
|
20
20
|
# @!attribute billing_contact
|
|
21
21
|
#
|
|
22
|
-
# @return [Telnyx::Models::
|
|
23
|
-
optional :billing_contact, -> { Telnyx::
|
|
22
|
+
# @return [Telnyx::Models::BillingContact, nil]
|
|
23
|
+
optional :billing_contact, -> { Telnyx::BillingContact }
|
|
24
24
|
|
|
25
25
|
# @!attribute corporate_registration_number
|
|
26
26
|
# Corporate registration number
|
|
@@ -74,8 +74,8 @@ module Telnyx
|
|
|
74
74
|
# Organization contact information. Note: the response returns this object with
|
|
75
75
|
# the phone field as 'phone' (not 'phone_number').
|
|
76
76
|
#
|
|
77
|
-
# @return [Telnyx::Models::
|
|
78
|
-
optional :organization_contact, -> { Telnyx::
|
|
77
|
+
# @return [Telnyx::Models::OrganizationContact, nil]
|
|
78
|
+
optional :organization_contact, -> { Telnyx::OrganizationContact }
|
|
79
79
|
|
|
80
80
|
# @!attribute organization_legal_type
|
|
81
81
|
# Legal structure type
|
|
@@ -85,9 +85,8 @@ module Telnyx
|
|
|
85
85
|
|
|
86
86
|
# @!attribute organization_physical_address
|
|
87
87
|
#
|
|
88
|
-
# @return [Telnyx::Models::
|
|
89
|
-
optional :organization_physical_address,
|
|
90
|
-
-> { Telnyx::EnterpriseUpdateParams::OrganizationPhysicalAddress }
|
|
88
|
+
# @return [Telnyx::Models::PhysicalAddress, nil]
|
|
89
|
+
optional :organization_physical_address, -> { Telnyx::PhysicalAddress }
|
|
91
90
|
|
|
92
91
|
# @!attribute primary_business_domain_sic_code
|
|
93
92
|
# SIC Code
|
|
@@ -113,9 +112,9 @@ module Telnyx
|
|
|
113
112
|
#
|
|
114
113
|
# @param enterprise_id [String]
|
|
115
114
|
#
|
|
116
|
-
# @param billing_address [Telnyx::Models::
|
|
115
|
+
# @param billing_address [Telnyx::Models::BillingAddress]
|
|
117
116
|
#
|
|
118
|
-
# @param billing_contact [Telnyx::Models::
|
|
117
|
+
# @param billing_contact [Telnyx::Models::BillingContact]
|
|
119
118
|
#
|
|
120
119
|
# @param corporate_registration_number [String] Corporate registration number
|
|
121
120
|
#
|
|
@@ -133,11 +132,11 @@ module Telnyx
|
|
|
133
132
|
#
|
|
134
133
|
# @param number_of_employees [Symbol, Telnyx::Models::EnterpriseUpdateParams::NumberOfEmployees] Employee count range
|
|
135
134
|
#
|
|
136
|
-
# @param organization_contact [Telnyx::Models::
|
|
135
|
+
# @param organization_contact [Telnyx::Models::OrganizationContact] Organization contact information. Note: the response returns this object with th
|
|
137
136
|
#
|
|
138
137
|
# @param organization_legal_type [Symbol, Telnyx::Models::EnterpriseUpdateParams::OrganizationLegalType] Legal structure type
|
|
139
138
|
#
|
|
140
|
-
# @param organization_physical_address [Telnyx::Models::
|
|
139
|
+
# @param organization_physical_address [Telnyx::Models::PhysicalAddress]
|
|
141
140
|
#
|
|
142
141
|
# @param primary_business_domain_sic_code [String] SIC Code
|
|
143
142
|
#
|
|
@@ -147,92 +146,6 @@ module Telnyx
|
|
|
147
146
|
#
|
|
148
147
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
149
148
|
|
|
150
|
-
class BillingAddress < Telnyx::Internal::Type::BaseModel
|
|
151
|
-
# @!attribute administrative_area
|
|
152
|
-
# State or province
|
|
153
|
-
#
|
|
154
|
-
# @return [String]
|
|
155
|
-
required :administrative_area, String
|
|
156
|
-
|
|
157
|
-
# @!attribute city
|
|
158
|
-
# City name
|
|
159
|
-
#
|
|
160
|
-
# @return [String]
|
|
161
|
-
required :city, String
|
|
162
|
-
|
|
163
|
-
# @!attribute country
|
|
164
|
-
# Country name (e.g., United States)
|
|
165
|
-
#
|
|
166
|
-
# @return [String]
|
|
167
|
-
required :country, String
|
|
168
|
-
|
|
169
|
-
# @!attribute postal_code
|
|
170
|
-
# ZIP or postal code
|
|
171
|
-
#
|
|
172
|
-
# @return [String]
|
|
173
|
-
required :postal_code, String
|
|
174
|
-
|
|
175
|
-
# @!attribute street_address
|
|
176
|
-
# Street address
|
|
177
|
-
#
|
|
178
|
-
# @return [String]
|
|
179
|
-
required :street_address, String
|
|
180
|
-
|
|
181
|
-
# @!attribute extended_address
|
|
182
|
-
# Additional address line (suite, apt, etc.)
|
|
183
|
-
#
|
|
184
|
-
# @return [String, nil]
|
|
185
|
-
optional :extended_address, String, nil?: true
|
|
186
|
-
|
|
187
|
-
# @!method initialize(administrative_area:, city:, country:, postal_code:, street_address:, extended_address: nil)
|
|
188
|
-
# @param administrative_area [String] State or province
|
|
189
|
-
#
|
|
190
|
-
# @param city [String] City name
|
|
191
|
-
#
|
|
192
|
-
# @param country [String] Country name (e.g., United States)
|
|
193
|
-
#
|
|
194
|
-
# @param postal_code [String] ZIP or postal code
|
|
195
|
-
#
|
|
196
|
-
# @param street_address [String] Street address
|
|
197
|
-
#
|
|
198
|
-
# @param extended_address [String, nil] Additional address line (suite, apt, etc.)
|
|
199
|
-
end
|
|
200
|
-
|
|
201
|
-
class BillingContact < Telnyx::Internal::Type::BaseModel
|
|
202
|
-
# @!attribute email
|
|
203
|
-
# Contact's email address
|
|
204
|
-
#
|
|
205
|
-
# @return [String]
|
|
206
|
-
required :email, String
|
|
207
|
-
|
|
208
|
-
# @!attribute first_name
|
|
209
|
-
# Contact's first name
|
|
210
|
-
#
|
|
211
|
-
# @return [String]
|
|
212
|
-
required :first_name, String
|
|
213
|
-
|
|
214
|
-
# @!attribute last_name
|
|
215
|
-
# Contact's last name
|
|
216
|
-
#
|
|
217
|
-
# @return [String]
|
|
218
|
-
required :last_name, String
|
|
219
|
-
|
|
220
|
-
# @!attribute phone_number
|
|
221
|
-
# Contact's phone number (10-15 digits)
|
|
222
|
-
#
|
|
223
|
-
# @return [String]
|
|
224
|
-
required :phone_number, String
|
|
225
|
-
|
|
226
|
-
# @!method initialize(email:, first_name:, last_name:, phone_number:)
|
|
227
|
-
# @param email [String] Contact's email address
|
|
228
|
-
#
|
|
229
|
-
# @param first_name [String] Contact's first name
|
|
230
|
-
#
|
|
231
|
-
# @param last_name [String] Contact's last name
|
|
232
|
-
#
|
|
233
|
-
# @param phone_number [String] Contact's phone number (10-15 digits)
|
|
234
|
-
end
|
|
235
|
-
|
|
236
149
|
# Employee count range
|
|
237
150
|
module NumberOfEmployees
|
|
238
151
|
extend Telnyx::Internal::Type::Enum
|
|
@@ -249,52 +162,6 @@ module Telnyx
|
|
|
249
162
|
# @return [Array<Symbol>]
|
|
250
163
|
end
|
|
251
164
|
|
|
252
|
-
class OrganizationContact < Telnyx::Internal::Type::BaseModel
|
|
253
|
-
# @!attribute email
|
|
254
|
-
# Contact's email address
|
|
255
|
-
#
|
|
256
|
-
# @return [String]
|
|
257
|
-
required :email, String
|
|
258
|
-
|
|
259
|
-
# @!attribute first_name
|
|
260
|
-
# Contact's first name
|
|
261
|
-
#
|
|
262
|
-
# @return [String]
|
|
263
|
-
required :first_name, String
|
|
264
|
-
|
|
265
|
-
# @!attribute job_title
|
|
266
|
-
# Contact's job title (required)
|
|
267
|
-
#
|
|
268
|
-
# @return [String]
|
|
269
|
-
required :job_title, String
|
|
270
|
-
|
|
271
|
-
# @!attribute last_name
|
|
272
|
-
# Contact's last name
|
|
273
|
-
#
|
|
274
|
-
# @return [String]
|
|
275
|
-
required :last_name, String
|
|
276
|
-
|
|
277
|
-
# @!attribute phone
|
|
278
|
-
# Contact's phone number in E.164 format
|
|
279
|
-
#
|
|
280
|
-
# @return [String]
|
|
281
|
-
required :phone, String
|
|
282
|
-
|
|
283
|
-
# @!method initialize(email:, first_name:, job_title:, last_name:, phone:)
|
|
284
|
-
# Organization contact information. Note: the response returns this object with
|
|
285
|
-
# the phone field as 'phone' (not 'phone_number').
|
|
286
|
-
#
|
|
287
|
-
# @param email [String] Contact's email address
|
|
288
|
-
#
|
|
289
|
-
# @param first_name [String] Contact's first name
|
|
290
|
-
#
|
|
291
|
-
# @param job_title [String] Contact's job title (required)
|
|
292
|
-
#
|
|
293
|
-
# @param last_name [String] Contact's last name
|
|
294
|
-
#
|
|
295
|
-
# @param phone [String] Contact's phone number in E.164 format
|
|
296
|
-
end
|
|
297
|
-
|
|
298
165
|
# Legal structure type
|
|
299
166
|
module OrganizationLegalType
|
|
300
167
|
extend Telnyx::Internal::Type::Enum
|
|
@@ -308,57 +175,6 @@ module Telnyx
|
|
|
308
175
|
# @!method self.values
|
|
309
176
|
# @return [Array<Symbol>]
|
|
310
177
|
end
|
|
311
|
-
|
|
312
|
-
class OrganizationPhysicalAddress < Telnyx::Internal::Type::BaseModel
|
|
313
|
-
# @!attribute administrative_area
|
|
314
|
-
# State or province
|
|
315
|
-
#
|
|
316
|
-
# @return [String]
|
|
317
|
-
required :administrative_area, String
|
|
318
|
-
|
|
319
|
-
# @!attribute city
|
|
320
|
-
# City name
|
|
321
|
-
#
|
|
322
|
-
# @return [String]
|
|
323
|
-
required :city, String
|
|
324
|
-
|
|
325
|
-
# @!attribute country
|
|
326
|
-
# Country name (e.g., United States)
|
|
327
|
-
#
|
|
328
|
-
# @return [String]
|
|
329
|
-
required :country, String
|
|
330
|
-
|
|
331
|
-
# @!attribute postal_code
|
|
332
|
-
# ZIP or postal code
|
|
333
|
-
#
|
|
334
|
-
# @return [String]
|
|
335
|
-
required :postal_code, String
|
|
336
|
-
|
|
337
|
-
# @!attribute street_address
|
|
338
|
-
# Street address
|
|
339
|
-
#
|
|
340
|
-
# @return [String]
|
|
341
|
-
required :street_address, String
|
|
342
|
-
|
|
343
|
-
# @!attribute extended_address
|
|
344
|
-
# Additional address line (suite, apt, etc.)
|
|
345
|
-
#
|
|
346
|
-
# @return [String, nil]
|
|
347
|
-
optional :extended_address, String, nil?: true
|
|
348
|
-
|
|
349
|
-
# @!method initialize(administrative_area:, city:, country:, postal_code:, street_address:, extended_address: nil)
|
|
350
|
-
# @param administrative_area [String] State or province
|
|
351
|
-
#
|
|
352
|
-
# @param city [String] City name
|
|
353
|
-
#
|
|
354
|
-
# @param country [String] Country name (e.g., United States)
|
|
355
|
-
#
|
|
356
|
-
# @param postal_code [String] ZIP or postal code
|
|
357
|
-
#
|
|
358
|
-
# @param street_address [String] Street address
|
|
359
|
-
#
|
|
360
|
-
# @param extended_address [String, nil] Additional address line (suite, apt, etc.)
|
|
361
|
-
end
|
|
362
178
|
end
|
|
363
179
|
end
|
|
364
180
|
end
|