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
|
@@ -0,0 +1,436 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
class EnterprisePublic < Telnyx::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(Telnyx::EnterprisePublic, Telnyx::Internal::AnyHash)
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
# Unique identifier of the enterprise
|
|
12
|
+
sig { returns(T.nilable(String)) }
|
|
13
|
+
attr_reader :id
|
|
14
|
+
|
|
15
|
+
sig { params(id: String).void }
|
|
16
|
+
attr_writer :id
|
|
17
|
+
|
|
18
|
+
sig { returns(T.nilable(Telnyx::BillingAddress)) }
|
|
19
|
+
attr_reader :billing_address
|
|
20
|
+
|
|
21
|
+
sig { params(billing_address: Telnyx::BillingAddress::OrHash).void }
|
|
22
|
+
attr_writer :billing_address
|
|
23
|
+
|
|
24
|
+
sig { returns(T.nilable(Telnyx::BillingContact)) }
|
|
25
|
+
attr_reader :billing_contact
|
|
26
|
+
|
|
27
|
+
sig { params(billing_contact: Telnyx::BillingContact::OrHash).void }
|
|
28
|
+
attr_writer :billing_contact
|
|
29
|
+
|
|
30
|
+
# Corporate registration number
|
|
31
|
+
sig { returns(T.nilable(String)) }
|
|
32
|
+
attr_accessor :corporate_registration_number
|
|
33
|
+
|
|
34
|
+
# ISO 3166-1 alpha-2 country code
|
|
35
|
+
sig { returns(T.nilable(String)) }
|
|
36
|
+
attr_reader :country_code
|
|
37
|
+
|
|
38
|
+
sig { params(country_code: String).void }
|
|
39
|
+
attr_writer :country_code
|
|
40
|
+
|
|
41
|
+
# When the enterprise was created
|
|
42
|
+
sig { returns(T.nilable(Time)) }
|
|
43
|
+
attr_reader :created_at
|
|
44
|
+
|
|
45
|
+
sig { params(created_at: Time).void }
|
|
46
|
+
attr_writer :created_at
|
|
47
|
+
|
|
48
|
+
# Customer reference identifier
|
|
49
|
+
sig { returns(T.nilable(String)) }
|
|
50
|
+
attr_accessor :customer_reference
|
|
51
|
+
|
|
52
|
+
# DBA name
|
|
53
|
+
sig { returns(T.nilable(String)) }
|
|
54
|
+
attr_reader :doing_business_as
|
|
55
|
+
|
|
56
|
+
sig { params(doing_business_as: String).void }
|
|
57
|
+
attr_writer :doing_business_as
|
|
58
|
+
|
|
59
|
+
# D-U-N-S Number
|
|
60
|
+
sig { returns(T.nilable(String)) }
|
|
61
|
+
attr_accessor :dun_bradstreet_number
|
|
62
|
+
|
|
63
|
+
# Federal Employer Identification Number
|
|
64
|
+
sig { returns(T.nilable(String)) }
|
|
65
|
+
attr_accessor :fein
|
|
66
|
+
|
|
67
|
+
# Industry classification
|
|
68
|
+
sig { returns(T.nilable(String)) }
|
|
69
|
+
attr_accessor :industry
|
|
70
|
+
|
|
71
|
+
# Legal name of the enterprise
|
|
72
|
+
sig { returns(T.nilable(String)) }
|
|
73
|
+
attr_reader :legal_name
|
|
74
|
+
|
|
75
|
+
sig { params(legal_name: String).void }
|
|
76
|
+
attr_writer :legal_name
|
|
77
|
+
|
|
78
|
+
# Employee count range
|
|
79
|
+
sig do
|
|
80
|
+
returns(
|
|
81
|
+
T.nilable(Telnyx::EnterprisePublic::NumberOfEmployees::TaggedSymbol)
|
|
82
|
+
)
|
|
83
|
+
end
|
|
84
|
+
attr_accessor :number_of_employees
|
|
85
|
+
|
|
86
|
+
# Organization contact information. Note: the response returns this object with
|
|
87
|
+
# the phone field as 'phone' (not 'phone_number').
|
|
88
|
+
sig { returns(T.nilable(Telnyx::OrganizationContact)) }
|
|
89
|
+
attr_reader :organization_contact
|
|
90
|
+
|
|
91
|
+
sig do
|
|
92
|
+
params(organization_contact: Telnyx::OrganizationContact::OrHash).void
|
|
93
|
+
end
|
|
94
|
+
attr_writer :organization_contact
|
|
95
|
+
|
|
96
|
+
# Legal structure type
|
|
97
|
+
sig do
|
|
98
|
+
returns(
|
|
99
|
+
T.nilable(
|
|
100
|
+
Telnyx::EnterprisePublic::OrganizationLegalType::TaggedSymbol
|
|
101
|
+
)
|
|
102
|
+
)
|
|
103
|
+
end
|
|
104
|
+
attr_accessor :organization_legal_type
|
|
105
|
+
|
|
106
|
+
sig { returns(T.nilable(Telnyx::PhysicalAddress)) }
|
|
107
|
+
attr_reader :organization_physical_address
|
|
108
|
+
|
|
109
|
+
sig do
|
|
110
|
+
params(
|
|
111
|
+
organization_physical_address: Telnyx::PhysicalAddress::OrHash
|
|
112
|
+
).void
|
|
113
|
+
end
|
|
114
|
+
attr_writer :organization_physical_address
|
|
115
|
+
|
|
116
|
+
# Type of organization
|
|
117
|
+
sig do
|
|
118
|
+
returns(
|
|
119
|
+
T.nilable(Telnyx::EnterprisePublic::OrganizationType::TaggedSymbol)
|
|
120
|
+
)
|
|
121
|
+
end
|
|
122
|
+
attr_reader :organization_type
|
|
123
|
+
|
|
124
|
+
sig do
|
|
125
|
+
params(
|
|
126
|
+
organization_type:
|
|
127
|
+
Telnyx::EnterprisePublic::OrganizationType::OrSymbol
|
|
128
|
+
).void
|
|
129
|
+
end
|
|
130
|
+
attr_writer :organization_type
|
|
131
|
+
|
|
132
|
+
# SIC Code
|
|
133
|
+
sig { returns(T.nilable(String)) }
|
|
134
|
+
attr_accessor :primary_business_domain_sic_code
|
|
135
|
+
|
|
136
|
+
# Professional license number
|
|
137
|
+
sig { returns(T.nilable(String)) }
|
|
138
|
+
attr_accessor :professional_license_number
|
|
139
|
+
|
|
140
|
+
# Role type in Branded Calling / Number Reputation services
|
|
141
|
+
sig do
|
|
142
|
+
returns(T.nilable(Telnyx::EnterprisePublic::RoleType::TaggedSymbol))
|
|
143
|
+
end
|
|
144
|
+
attr_reader :role_type
|
|
145
|
+
|
|
146
|
+
sig do
|
|
147
|
+
params(role_type: Telnyx::EnterprisePublic::RoleType::OrSymbol).void
|
|
148
|
+
end
|
|
149
|
+
attr_writer :role_type
|
|
150
|
+
|
|
151
|
+
# When the enterprise was last updated
|
|
152
|
+
sig { returns(T.nilable(Time)) }
|
|
153
|
+
attr_reader :updated_at
|
|
154
|
+
|
|
155
|
+
sig { params(updated_at: Time).void }
|
|
156
|
+
attr_writer :updated_at
|
|
157
|
+
|
|
158
|
+
# Company website URL
|
|
159
|
+
sig { returns(T.nilable(String)) }
|
|
160
|
+
attr_accessor :website
|
|
161
|
+
|
|
162
|
+
sig do
|
|
163
|
+
params(
|
|
164
|
+
id: String,
|
|
165
|
+
billing_address: Telnyx::BillingAddress::OrHash,
|
|
166
|
+
billing_contact: Telnyx::BillingContact::OrHash,
|
|
167
|
+
corporate_registration_number: T.nilable(String),
|
|
168
|
+
country_code: String,
|
|
169
|
+
created_at: Time,
|
|
170
|
+
customer_reference: T.nilable(String),
|
|
171
|
+
doing_business_as: String,
|
|
172
|
+
dun_bradstreet_number: T.nilable(String),
|
|
173
|
+
fein: T.nilable(String),
|
|
174
|
+
industry: T.nilable(String),
|
|
175
|
+
legal_name: String,
|
|
176
|
+
number_of_employees:
|
|
177
|
+
T.nilable(Telnyx::EnterprisePublic::NumberOfEmployees::OrSymbol),
|
|
178
|
+
organization_contact: Telnyx::OrganizationContact::OrHash,
|
|
179
|
+
organization_legal_type:
|
|
180
|
+
T.nilable(
|
|
181
|
+
Telnyx::EnterprisePublic::OrganizationLegalType::OrSymbol
|
|
182
|
+
),
|
|
183
|
+
organization_physical_address: Telnyx::PhysicalAddress::OrHash,
|
|
184
|
+
organization_type:
|
|
185
|
+
Telnyx::EnterprisePublic::OrganizationType::OrSymbol,
|
|
186
|
+
primary_business_domain_sic_code: T.nilable(String),
|
|
187
|
+
professional_license_number: T.nilable(String),
|
|
188
|
+
role_type: Telnyx::EnterprisePublic::RoleType::OrSymbol,
|
|
189
|
+
updated_at: Time,
|
|
190
|
+
website: T.nilable(String)
|
|
191
|
+
).returns(T.attached_class)
|
|
192
|
+
end
|
|
193
|
+
def self.new(
|
|
194
|
+
# Unique identifier of the enterprise
|
|
195
|
+
id: nil,
|
|
196
|
+
billing_address: nil,
|
|
197
|
+
billing_contact: nil,
|
|
198
|
+
# Corporate registration number
|
|
199
|
+
corporate_registration_number: nil,
|
|
200
|
+
# ISO 3166-1 alpha-2 country code
|
|
201
|
+
country_code: nil,
|
|
202
|
+
# When the enterprise was created
|
|
203
|
+
created_at: nil,
|
|
204
|
+
# Customer reference identifier
|
|
205
|
+
customer_reference: nil,
|
|
206
|
+
# DBA name
|
|
207
|
+
doing_business_as: nil,
|
|
208
|
+
# D-U-N-S Number
|
|
209
|
+
dun_bradstreet_number: nil,
|
|
210
|
+
# Federal Employer Identification Number
|
|
211
|
+
fein: nil,
|
|
212
|
+
# Industry classification
|
|
213
|
+
industry: nil,
|
|
214
|
+
# Legal name of the enterprise
|
|
215
|
+
legal_name: nil,
|
|
216
|
+
# Employee count range
|
|
217
|
+
number_of_employees: nil,
|
|
218
|
+
# Organization contact information. Note: the response returns this object with
|
|
219
|
+
# the phone field as 'phone' (not 'phone_number').
|
|
220
|
+
organization_contact: nil,
|
|
221
|
+
# Legal structure type
|
|
222
|
+
organization_legal_type: nil,
|
|
223
|
+
organization_physical_address: nil,
|
|
224
|
+
# Type of organization
|
|
225
|
+
organization_type: nil,
|
|
226
|
+
# SIC Code
|
|
227
|
+
primary_business_domain_sic_code: nil,
|
|
228
|
+
# Professional license number
|
|
229
|
+
professional_license_number: nil,
|
|
230
|
+
# Role type in Branded Calling / Number Reputation services
|
|
231
|
+
role_type: nil,
|
|
232
|
+
# When the enterprise was last updated
|
|
233
|
+
updated_at: nil,
|
|
234
|
+
# Company website URL
|
|
235
|
+
website: nil
|
|
236
|
+
)
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
sig do
|
|
240
|
+
override.returns(
|
|
241
|
+
{
|
|
242
|
+
id: String,
|
|
243
|
+
billing_address: Telnyx::BillingAddress,
|
|
244
|
+
billing_contact: Telnyx::BillingContact,
|
|
245
|
+
corporate_registration_number: T.nilable(String),
|
|
246
|
+
country_code: String,
|
|
247
|
+
created_at: Time,
|
|
248
|
+
customer_reference: T.nilable(String),
|
|
249
|
+
doing_business_as: String,
|
|
250
|
+
dun_bradstreet_number: T.nilable(String),
|
|
251
|
+
fein: T.nilable(String),
|
|
252
|
+
industry: T.nilable(String),
|
|
253
|
+
legal_name: String,
|
|
254
|
+
number_of_employees:
|
|
255
|
+
T.nilable(
|
|
256
|
+
Telnyx::EnterprisePublic::NumberOfEmployees::TaggedSymbol
|
|
257
|
+
),
|
|
258
|
+
organization_contact: Telnyx::OrganizationContact,
|
|
259
|
+
organization_legal_type:
|
|
260
|
+
T.nilable(
|
|
261
|
+
Telnyx::EnterprisePublic::OrganizationLegalType::TaggedSymbol
|
|
262
|
+
),
|
|
263
|
+
organization_physical_address: Telnyx::PhysicalAddress,
|
|
264
|
+
organization_type:
|
|
265
|
+
Telnyx::EnterprisePublic::OrganizationType::TaggedSymbol,
|
|
266
|
+
primary_business_domain_sic_code: T.nilable(String),
|
|
267
|
+
professional_license_number: T.nilable(String),
|
|
268
|
+
role_type: Telnyx::EnterprisePublic::RoleType::TaggedSymbol,
|
|
269
|
+
updated_at: Time,
|
|
270
|
+
website: T.nilable(String)
|
|
271
|
+
}
|
|
272
|
+
)
|
|
273
|
+
end
|
|
274
|
+
def to_hash
|
|
275
|
+
end
|
|
276
|
+
|
|
277
|
+
# Employee count range
|
|
278
|
+
module NumberOfEmployees
|
|
279
|
+
extend Telnyx::Internal::Type::Enum
|
|
280
|
+
|
|
281
|
+
TaggedSymbol =
|
|
282
|
+
T.type_alias do
|
|
283
|
+
T.all(Symbol, Telnyx::EnterprisePublic::NumberOfEmployees)
|
|
284
|
+
end
|
|
285
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
286
|
+
|
|
287
|
+
NUMBER_OF_EMPLOYEES_1_10 =
|
|
288
|
+
T.let(
|
|
289
|
+
:"1-10",
|
|
290
|
+
Telnyx::EnterprisePublic::NumberOfEmployees::TaggedSymbol
|
|
291
|
+
)
|
|
292
|
+
NUMBER_OF_EMPLOYEES_11_50 =
|
|
293
|
+
T.let(
|
|
294
|
+
:"11-50",
|
|
295
|
+
Telnyx::EnterprisePublic::NumberOfEmployees::TaggedSymbol
|
|
296
|
+
)
|
|
297
|
+
NUMBER_OF_EMPLOYEES_51_200 =
|
|
298
|
+
T.let(
|
|
299
|
+
:"51-200",
|
|
300
|
+
Telnyx::EnterprisePublic::NumberOfEmployees::TaggedSymbol
|
|
301
|
+
)
|
|
302
|
+
NUMBER_OF_EMPLOYEES_201_500 =
|
|
303
|
+
T.let(
|
|
304
|
+
:"201-500",
|
|
305
|
+
Telnyx::EnterprisePublic::NumberOfEmployees::TaggedSymbol
|
|
306
|
+
)
|
|
307
|
+
NUMBER_OF_EMPLOYEES_501_2000 =
|
|
308
|
+
T.let(
|
|
309
|
+
:"501-2000",
|
|
310
|
+
Telnyx::EnterprisePublic::NumberOfEmployees::TaggedSymbol
|
|
311
|
+
)
|
|
312
|
+
NUMBER_OF_EMPLOYEES_2001_10000 =
|
|
313
|
+
T.let(
|
|
314
|
+
:"2001-10000",
|
|
315
|
+
Telnyx::EnterprisePublic::NumberOfEmployees::TaggedSymbol
|
|
316
|
+
)
|
|
317
|
+
NUMBER_OF_EMPLOYEES_10001 =
|
|
318
|
+
T.let(
|
|
319
|
+
:"10001+",
|
|
320
|
+
Telnyx::EnterprisePublic::NumberOfEmployees::TaggedSymbol
|
|
321
|
+
)
|
|
322
|
+
|
|
323
|
+
sig do
|
|
324
|
+
override.returns(
|
|
325
|
+
T::Array[Telnyx::EnterprisePublic::NumberOfEmployees::TaggedSymbol]
|
|
326
|
+
)
|
|
327
|
+
end
|
|
328
|
+
def self.values
|
|
329
|
+
end
|
|
330
|
+
end
|
|
331
|
+
|
|
332
|
+
# Legal structure type
|
|
333
|
+
module OrganizationLegalType
|
|
334
|
+
extend Telnyx::Internal::Type::Enum
|
|
335
|
+
|
|
336
|
+
TaggedSymbol =
|
|
337
|
+
T.type_alias do
|
|
338
|
+
T.all(Symbol, Telnyx::EnterprisePublic::OrganizationLegalType)
|
|
339
|
+
end
|
|
340
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
341
|
+
|
|
342
|
+
CORPORATION =
|
|
343
|
+
T.let(
|
|
344
|
+
:corporation,
|
|
345
|
+
Telnyx::EnterprisePublic::OrganizationLegalType::TaggedSymbol
|
|
346
|
+
)
|
|
347
|
+
LLC =
|
|
348
|
+
T.let(
|
|
349
|
+
:llc,
|
|
350
|
+
Telnyx::EnterprisePublic::OrganizationLegalType::TaggedSymbol
|
|
351
|
+
)
|
|
352
|
+
PARTNERSHIP =
|
|
353
|
+
T.let(
|
|
354
|
+
:partnership,
|
|
355
|
+
Telnyx::EnterprisePublic::OrganizationLegalType::TaggedSymbol
|
|
356
|
+
)
|
|
357
|
+
NONPROFIT =
|
|
358
|
+
T.let(
|
|
359
|
+
:nonprofit,
|
|
360
|
+
Telnyx::EnterprisePublic::OrganizationLegalType::TaggedSymbol
|
|
361
|
+
)
|
|
362
|
+
OTHER =
|
|
363
|
+
T.let(
|
|
364
|
+
:other,
|
|
365
|
+
Telnyx::EnterprisePublic::OrganizationLegalType::TaggedSymbol
|
|
366
|
+
)
|
|
367
|
+
|
|
368
|
+
sig do
|
|
369
|
+
override.returns(
|
|
370
|
+
T::Array[
|
|
371
|
+
Telnyx::EnterprisePublic::OrganizationLegalType::TaggedSymbol
|
|
372
|
+
]
|
|
373
|
+
)
|
|
374
|
+
end
|
|
375
|
+
def self.values
|
|
376
|
+
end
|
|
377
|
+
end
|
|
378
|
+
|
|
379
|
+
# Type of organization
|
|
380
|
+
module OrganizationType
|
|
381
|
+
extend Telnyx::Internal::Type::Enum
|
|
382
|
+
|
|
383
|
+
TaggedSymbol =
|
|
384
|
+
T.type_alias do
|
|
385
|
+
T.all(Symbol, Telnyx::EnterprisePublic::OrganizationType)
|
|
386
|
+
end
|
|
387
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
388
|
+
|
|
389
|
+
COMMERCIAL =
|
|
390
|
+
T.let(
|
|
391
|
+
:commercial,
|
|
392
|
+
Telnyx::EnterprisePublic::OrganizationType::TaggedSymbol
|
|
393
|
+
)
|
|
394
|
+
GOVERNMENT =
|
|
395
|
+
T.let(
|
|
396
|
+
:government,
|
|
397
|
+
Telnyx::EnterprisePublic::OrganizationType::TaggedSymbol
|
|
398
|
+
)
|
|
399
|
+
NON_PROFIT =
|
|
400
|
+
T.let(
|
|
401
|
+
:non_profit,
|
|
402
|
+
Telnyx::EnterprisePublic::OrganizationType::TaggedSymbol
|
|
403
|
+
)
|
|
404
|
+
|
|
405
|
+
sig do
|
|
406
|
+
override.returns(
|
|
407
|
+
T::Array[Telnyx::EnterprisePublic::OrganizationType::TaggedSymbol]
|
|
408
|
+
)
|
|
409
|
+
end
|
|
410
|
+
def self.values
|
|
411
|
+
end
|
|
412
|
+
end
|
|
413
|
+
|
|
414
|
+
# Role type in Branded Calling / Number Reputation services
|
|
415
|
+
module RoleType
|
|
416
|
+
extend Telnyx::Internal::Type::Enum
|
|
417
|
+
|
|
418
|
+
TaggedSymbol =
|
|
419
|
+
T.type_alias { T.all(Symbol, Telnyx::EnterprisePublic::RoleType) }
|
|
420
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
421
|
+
|
|
422
|
+
ENTERPRISE =
|
|
423
|
+
T.let(:enterprise, Telnyx::EnterprisePublic::RoleType::TaggedSymbol)
|
|
424
|
+
BPO = T.let(:bpo, Telnyx::EnterprisePublic::RoleType::TaggedSymbol)
|
|
425
|
+
|
|
426
|
+
sig do
|
|
427
|
+
override.returns(
|
|
428
|
+
T::Array[Telnyx::EnterprisePublic::RoleType::TaggedSymbol]
|
|
429
|
+
)
|
|
430
|
+
end
|
|
431
|
+
def self.values
|
|
432
|
+
end
|
|
433
|
+
end
|
|
434
|
+
end
|
|
435
|
+
end
|
|
436
|
+
end
|