telnyx 5.67.0 → 5.67.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 +8 -0
- data/README.md +1 -1
- data/lib/telnyx/internal/util.rb +1 -2
- 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 +74 -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/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 +145 -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 +69 -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 +28 -10
- 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
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7f3b8590740640397076c7f6b1eab628663e927e9406aadf908189a76b33b4e3
|
|
4
|
+
data.tar.gz: 4ec8911776298b27482444aa517fd7afd894c98280f6a4ba70413f2b634762cf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 81b41872a3170843489bc1e5216daaa329653e63d9622623456da81786649861dab07f285eb7ce020990e32f35b0c343e7692212f8086bcab4187a8e0657bb8f
|
|
7
|
+
data.tar.gz: 2a8dccdbf0cc5466d6a4eddc59857abb6e80142cd1c0695dbf444efc7e477a535247e78cc9b16bfebcc7e6de37b78d9807afed67524c8cc44fa5aaea60a381bb
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.67.1 (2026-03-26)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v5.67.0...v5.67.1](https://github.com/team-telnyx/telnyx-ruby/compare/v5.67.0...v5.67.1)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* **internal:** correct multipart form field name encoding ([af64e39](https://github.com/team-telnyx/telnyx-ruby/commit/af64e39b5752e0960ad60aaa3fd7fff809ae7ef6))
|
|
10
|
+
|
|
3
11
|
## 5.67.0 (2026-03-26)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v5.66.1...v5.67.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.66.1...v5.67.0)
|
data/README.md
CHANGED
data/lib/telnyx/internal/util.rb
CHANGED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
class BillingAddress < Telnyx::Internal::Type::BaseModel
|
|
6
|
+
# @!attribute administrative_area
|
|
7
|
+
# State or province
|
|
8
|
+
#
|
|
9
|
+
# @return [String]
|
|
10
|
+
required :administrative_area, String
|
|
11
|
+
|
|
12
|
+
# @!attribute city
|
|
13
|
+
# City name
|
|
14
|
+
#
|
|
15
|
+
# @return [String]
|
|
16
|
+
required :city, String
|
|
17
|
+
|
|
18
|
+
# @!attribute country
|
|
19
|
+
# Country name (e.g., United States)
|
|
20
|
+
#
|
|
21
|
+
# @return [String]
|
|
22
|
+
required :country, String
|
|
23
|
+
|
|
24
|
+
# @!attribute postal_code
|
|
25
|
+
# ZIP or postal code
|
|
26
|
+
#
|
|
27
|
+
# @return [String]
|
|
28
|
+
required :postal_code, String
|
|
29
|
+
|
|
30
|
+
# @!attribute street_address
|
|
31
|
+
# Street address
|
|
32
|
+
#
|
|
33
|
+
# @return [String]
|
|
34
|
+
required :street_address, String
|
|
35
|
+
|
|
36
|
+
# @!attribute extended_address
|
|
37
|
+
# Additional address line (suite, apt, etc.)
|
|
38
|
+
#
|
|
39
|
+
# @return [String, nil]
|
|
40
|
+
optional :extended_address, String, nil?: true
|
|
41
|
+
|
|
42
|
+
# @!method initialize(administrative_area:, city:, country:, postal_code:, street_address:, extended_address: nil)
|
|
43
|
+
# @param administrative_area [String] State or province
|
|
44
|
+
#
|
|
45
|
+
# @param city [String] City name
|
|
46
|
+
#
|
|
47
|
+
# @param country [String] Country name (e.g., United States)
|
|
48
|
+
#
|
|
49
|
+
# @param postal_code [String] ZIP or postal code
|
|
50
|
+
#
|
|
51
|
+
# @param street_address [String] Street address
|
|
52
|
+
#
|
|
53
|
+
# @param extended_address [String, nil] Additional address line (suite, apt, etc.)
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
class BillingContact < Telnyx::Internal::Type::BaseModel
|
|
6
|
+
# @!attribute email
|
|
7
|
+
# Contact's email address
|
|
8
|
+
#
|
|
9
|
+
# @return [String]
|
|
10
|
+
required :email, String
|
|
11
|
+
|
|
12
|
+
# @!attribute first_name
|
|
13
|
+
# Contact's first name
|
|
14
|
+
#
|
|
15
|
+
# @return [String]
|
|
16
|
+
required :first_name, String
|
|
17
|
+
|
|
18
|
+
# @!attribute last_name
|
|
19
|
+
# Contact's last name
|
|
20
|
+
#
|
|
21
|
+
# @return [String]
|
|
22
|
+
required :last_name, String
|
|
23
|
+
|
|
24
|
+
# @!attribute phone_number
|
|
25
|
+
# Contact's phone number (10-15 digits)
|
|
26
|
+
#
|
|
27
|
+
# @return [String]
|
|
28
|
+
required :phone_number, String
|
|
29
|
+
|
|
30
|
+
# @!method initialize(email:, first_name:, last_name:, phone_number:)
|
|
31
|
+
# @param email [String] Contact's email address
|
|
32
|
+
#
|
|
33
|
+
# @param first_name [String] Contact's first name
|
|
34
|
+
#
|
|
35
|
+
# @param last_name [String] Contact's last name
|
|
36
|
+
#
|
|
37
|
+
# @param phone_number [String] Contact's phone number (10-15 digits)
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -9,13 +9,13 @@ module Telnyx
|
|
|
9
9
|
|
|
10
10
|
# @!attribute billing_address
|
|
11
11
|
#
|
|
12
|
-
# @return [Telnyx::Models::
|
|
13
|
-
required :billing_address, -> { Telnyx::
|
|
12
|
+
# @return [Telnyx::Models::BillingAddress]
|
|
13
|
+
required :billing_address, -> { Telnyx::BillingAddress }
|
|
14
14
|
|
|
15
15
|
# @!attribute billing_contact
|
|
16
16
|
#
|
|
17
|
-
# @return [Telnyx::Models::
|
|
18
|
-
required :billing_contact, -> { Telnyx::
|
|
17
|
+
# @return [Telnyx::Models::BillingContact]
|
|
18
|
+
required :billing_contact, -> { Telnyx::BillingContact }
|
|
19
19
|
|
|
20
20
|
# @!attribute country_code
|
|
21
21
|
# Country code. Currently only 'US' is accepted.
|
|
@@ -64,8 +64,8 @@ module Telnyx
|
|
|
64
64
|
# Organization contact information. Note: the response returns this object with
|
|
65
65
|
# the phone field as 'phone' (not 'phone_number').
|
|
66
66
|
#
|
|
67
|
-
# @return [Telnyx::Models::
|
|
68
|
-
required :organization_contact, -> { Telnyx::
|
|
67
|
+
# @return [Telnyx::Models::OrganizationContact]
|
|
68
|
+
required :organization_contact, -> { Telnyx::OrganizationContact }
|
|
69
69
|
|
|
70
70
|
# @!attribute organization_legal_type
|
|
71
71
|
# Legal structure type
|
|
@@ -75,9 +75,8 @@ module Telnyx
|
|
|
75
75
|
|
|
76
76
|
# @!attribute organization_physical_address
|
|
77
77
|
#
|
|
78
|
-
# @return [Telnyx::Models::
|
|
79
|
-
required :organization_physical_address,
|
|
80
|
-
-> { Telnyx::EnterpriseCreateParams::OrganizationPhysicalAddress }
|
|
78
|
+
# @return [Telnyx::Models::PhysicalAddress]
|
|
79
|
+
required :organization_physical_address, -> { Telnyx::PhysicalAddress }
|
|
81
80
|
|
|
82
81
|
# @!attribute organization_type
|
|
83
82
|
# Type of organization
|
|
@@ -131,9 +130,9 @@ module Telnyx
|
|
|
131
130
|
# Some parameter documentations has been truncated, see
|
|
132
131
|
# {Telnyx::Models::EnterpriseCreateParams} for more details.
|
|
133
132
|
#
|
|
134
|
-
# @param billing_address [Telnyx::Models::
|
|
133
|
+
# @param billing_address [Telnyx::Models::BillingAddress]
|
|
135
134
|
#
|
|
136
|
-
# @param billing_contact [Telnyx::Models::
|
|
135
|
+
# @param billing_contact [Telnyx::Models::BillingContact]
|
|
137
136
|
#
|
|
138
137
|
# @param country_code [String] Country code. Currently only 'US' is accepted.
|
|
139
138
|
#
|
|
@@ -147,11 +146,11 @@ module Telnyx
|
|
|
147
146
|
#
|
|
148
147
|
# @param number_of_employees [Symbol, Telnyx::Models::EnterpriseCreateParams::NumberOfEmployees] Employee count range
|
|
149
148
|
#
|
|
150
|
-
# @param organization_contact [Telnyx::Models::
|
|
149
|
+
# @param organization_contact [Telnyx::Models::OrganizationContact] Organization contact information. Note: the response returns this object with th
|
|
151
150
|
#
|
|
152
151
|
# @param organization_legal_type [Symbol, Telnyx::Models::EnterpriseCreateParams::OrganizationLegalType] Legal structure type
|
|
153
152
|
#
|
|
154
|
-
# @param organization_physical_address [Telnyx::Models::
|
|
153
|
+
# @param organization_physical_address [Telnyx::Models::PhysicalAddress]
|
|
155
154
|
#
|
|
156
155
|
# @param organization_type [Symbol, Telnyx::Models::EnterpriseCreateParams::OrganizationType] Type of organization
|
|
157
156
|
#
|
|
@@ -171,92 +170,6 @@ module Telnyx
|
|
|
171
170
|
#
|
|
172
171
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
173
172
|
|
|
174
|
-
class BillingAddress < Telnyx::Internal::Type::BaseModel
|
|
175
|
-
# @!attribute administrative_area
|
|
176
|
-
# State or province
|
|
177
|
-
#
|
|
178
|
-
# @return [String]
|
|
179
|
-
required :administrative_area, String
|
|
180
|
-
|
|
181
|
-
# @!attribute city
|
|
182
|
-
# City name
|
|
183
|
-
#
|
|
184
|
-
# @return [String]
|
|
185
|
-
required :city, String
|
|
186
|
-
|
|
187
|
-
# @!attribute country
|
|
188
|
-
# Country name (e.g., United States)
|
|
189
|
-
#
|
|
190
|
-
# @return [String]
|
|
191
|
-
required :country, String
|
|
192
|
-
|
|
193
|
-
# @!attribute postal_code
|
|
194
|
-
# ZIP or postal code
|
|
195
|
-
#
|
|
196
|
-
# @return [String]
|
|
197
|
-
required :postal_code, String
|
|
198
|
-
|
|
199
|
-
# @!attribute street_address
|
|
200
|
-
# Street address
|
|
201
|
-
#
|
|
202
|
-
# @return [String]
|
|
203
|
-
required :street_address, String
|
|
204
|
-
|
|
205
|
-
# @!attribute extended_address
|
|
206
|
-
# Additional address line (suite, apt, etc.)
|
|
207
|
-
#
|
|
208
|
-
# @return [String, nil]
|
|
209
|
-
optional :extended_address, String, nil?: true
|
|
210
|
-
|
|
211
|
-
# @!method initialize(administrative_area:, city:, country:, postal_code:, street_address:, extended_address: nil)
|
|
212
|
-
# @param administrative_area [String] State or province
|
|
213
|
-
#
|
|
214
|
-
# @param city [String] City name
|
|
215
|
-
#
|
|
216
|
-
# @param country [String] Country name (e.g., United States)
|
|
217
|
-
#
|
|
218
|
-
# @param postal_code [String] ZIP or postal code
|
|
219
|
-
#
|
|
220
|
-
# @param street_address [String] Street address
|
|
221
|
-
#
|
|
222
|
-
# @param extended_address [String, nil] Additional address line (suite, apt, etc.)
|
|
223
|
-
end
|
|
224
|
-
|
|
225
|
-
class BillingContact < Telnyx::Internal::Type::BaseModel
|
|
226
|
-
# @!attribute email
|
|
227
|
-
# Contact's email address
|
|
228
|
-
#
|
|
229
|
-
# @return [String]
|
|
230
|
-
required :email, String
|
|
231
|
-
|
|
232
|
-
# @!attribute first_name
|
|
233
|
-
# Contact's first name
|
|
234
|
-
#
|
|
235
|
-
# @return [String]
|
|
236
|
-
required :first_name, String
|
|
237
|
-
|
|
238
|
-
# @!attribute last_name
|
|
239
|
-
# Contact's last name
|
|
240
|
-
#
|
|
241
|
-
# @return [String]
|
|
242
|
-
required :last_name, String
|
|
243
|
-
|
|
244
|
-
# @!attribute phone_number
|
|
245
|
-
# Contact's phone number (10-15 digits)
|
|
246
|
-
#
|
|
247
|
-
# @return [String]
|
|
248
|
-
required :phone_number, String
|
|
249
|
-
|
|
250
|
-
# @!method initialize(email:, first_name:, last_name:, phone_number:)
|
|
251
|
-
# @param email [String] Contact's email address
|
|
252
|
-
#
|
|
253
|
-
# @param first_name [String] Contact's first name
|
|
254
|
-
#
|
|
255
|
-
# @param last_name [String] Contact's last name
|
|
256
|
-
#
|
|
257
|
-
# @param phone_number [String] Contact's phone number (10-15 digits)
|
|
258
|
-
end
|
|
259
|
-
|
|
260
173
|
# Employee count range
|
|
261
174
|
module NumberOfEmployees
|
|
262
175
|
extend Telnyx::Internal::Type::Enum
|
|
@@ -273,52 +186,6 @@ module Telnyx
|
|
|
273
186
|
# @return [Array<Symbol>]
|
|
274
187
|
end
|
|
275
188
|
|
|
276
|
-
class OrganizationContact < Telnyx::Internal::Type::BaseModel
|
|
277
|
-
# @!attribute email
|
|
278
|
-
# Contact's email address
|
|
279
|
-
#
|
|
280
|
-
# @return [String]
|
|
281
|
-
required :email, String
|
|
282
|
-
|
|
283
|
-
# @!attribute first_name
|
|
284
|
-
# Contact's first name
|
|
285
|
-
#
|
|
286
|
-
# @return [String]
|
|
287
|
-
required :first_name, String
|
|
288
|
-
|
|
289
|
-
# @!attribute job_title
|
|
290
|
-
# Contact's job title (required)
|
|
291
|
-
#
|
|
292
|
-
# @return [String]
|
|
293
|
-
required :job_title, String
|
|
294
|
-
|
|
295
|
-
# @!attribute last_name
|
|
296
|
-
# Contact's last name
|
|
297
|
-
#
|
|
298
|
-
# @return [String]
|
|
299
|
-
required :last_name, String
|
|
300
|
-
|
|
301
|
-
# @!attribute phone
|
|
302
|
-
# Contact's phone number in E.164 format
|
|
303
|
-
#
|
|
304
|
-
# @return [String]
|
|
305
|
-
required :phone, String
|
|
306
|
-
|
|
307
|
-
# @!method initialize(email:, first_name:, job_title:, last_name:, phone:)
|
|
308
|
-
# Organization contact information. Note: the response returns this object with
|
|
309
|
-
# the phone field as 'phone' (not 'phone_number').
|
|
310
|
-
#
|
|
311
|
-
# @param email [String] Contact's email address
|
|
312
|
-
#
|
|
313
|
-
# @param first_name [String] Contact's first name
|
|
314
|
-
#
|
|
315
|
-
# @param job_title [String] Contact's job title (required)
|
|
316
|
-
#
|
|
317
|
-
# @param last_name [String] Contact's last name
|
|
318
|
-
#
|
|
319
|
-
# @param phone [String] Contact's phone number in E.164 format
|
|
320
|
-
end
|
|
321
|
-
|
|
322
189
|
# Legal structure type
|
|
323
190
|
module OrganizationLegalType
|
|
324
191
|
extend Telnyx::Internal::Type::Enum
|
|
@@ -333,57 +200,6 @@ module Telnyx
|
|
|
333
200
|
# @return [Array<Symbol>]
|
|
334
201
|
end
|
|
335
202
|
|
|
336
|
-
class OrganizationPhysicalAddress < Telnyx::Internal::Type::BaseModel
|
|
337
|
-
# @!attribute administrative_area
|
|
338
|
-
# State or province
|
|
339
|
-
#
|
|
340
|
-
# @return [String]
|
|
341
|
-
required :administrative_area, String
|
|
342
|
-
|
|
343
|
-
# @!attribute city
|
|
344
|
-
# City name
|
|
345
|
-
#
|
|
346
|
-
# @return [String]
|
|
347
|
-
required :city, String
|
|
348
|
-
|
|
349
|
-
# @!attribute country
|
|
350
|
-
# Country name (e.g., United States)
|
|
351
|
-
#
|
|
352
|
-
# @return [String]
|
|
353
|
-
required :country, String
|
|
354
|
-
|
|
355
|
-
# @!attribute postal_code
|
|
356
|
-
# ZIP or postal code
|
|
357
|
-
#
|
|
358
|
-
# @return [String]
|
|
359
|
-
required :postal_code, String
|
|
360
|
-
|
|
361
|
-
# @!attribute street_address
|
|
362
|
-
# Street address
|
|
363
|
-
#
|
|
364
|
-
# @return [String]
|
|
365
|
-
required :street_address, String
|
|
366
|
-
|
|
367
|
-
# @!attribute extended_address
|
|
368
|
-
# Additional address line (suite, apt, etc.)
|
|
369
|
-
#
|
|
370
|
-
# @return [String, nil]
|
|
371
|
-
optional :extended_address, String, nil?: true
|
|
372
|
-
|
|
373
|
-
# @!method initialize(administrative_area:, city:, country:, postal_code:, street_address:, extended_address: nil)
|
|
374
|
-
# @param administrative_area [String] State or province
|
|
375
|
-
#
|
|
376
|
-
# @param city [String] City name
|
|
377
|
-
#
|
|
378
|
-
# @param country [String] Country name (e.g., United States)
|
|
379
|
-
#
|
|
380
|
-
# @param postal_code [String] ZIP or postal code
|
|
381
|
-
#
|
|
382
|
-
# @param street_address [String] Street address
|
|
383
|
-
#
|
|
384
|
-
# @param extended_address [String, nil] Additional address line (suite, apt, etc.)
|
|
385
|
-
end
|
|
386
|
-
|
|
387
203
|
# Type of organization
|
|
388
204
|
module OrganizationType
|
|
389
205
|
extend Telnyx::Internal::Type::Enum
|