telnyx 5.57.0 → 5.58.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/telnyx/models/porting/loa_configuration_preview_0_params.rb +143 -0
- data/lib/telnyx/resources/porting/loa_configurations.rb +32 -0
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +1 -0
- data/rbi/telnyx/models/porting/loa_configuration_preview_0_params.rbi +250 -0
- data/rbi/telnyx/resources/porting/loa_configurations.rbi +29 -0
- data/sig/telnyx/models/porting/loa_configuration_preview_0_params.rbs +114 -0
- data/sig/telnyx/resources/porting/loa_configurations.rbs +9 -0
- metadata +4 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: deb4068a838d94b98a182f7b76c9d0ee71d94fab0ec0956bafaab07d59af5dbc
|
|
4
|
+
data.tar.gz: 97349ade44f0e375639faadd120a0955e0c340fe20615a33b362bdceab146234
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 496d2ab49bc3c285f630627f0a9efd4f72970d1ef8f4cd3f6cdfe46b4249c8c342ea0162446f522484d832a42370e2ab7a882e9ba2254e98e8311ce03a9345fe
|
|
7
|
+
data.tar.gz: 6bd0084e27beba6a08b7d44d0cfa9ae790820ca87b1acf1d37f6576b7c3ea2c75c39b0cf5790b1a5ccd84a24241209c40b3b9f7cb07dd3a8dd357574a31bd835
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.58.0 (2026-03-18)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v5.57.0...v5.58.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.57.0...v5.58.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** manual updates ([75da4c3](https://github.com/team-telnyx/telnyx-ruby/commit/75da4c3c4172940b59f4bde26f7cf3f8e7530236))
|
|
10
|
+
|
|
3
11
|
## 5.57.0 (2026-03-18)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v5.56.0...v5.57.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.56.0...v5.57.0)
|
data/README.md
CHANGED
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
module Porting
|
|
6
|
+
# @see Telnyx::Resources::Porting::LoaConfigurations#preview_0
|
|
7
|
+
class LoaConfigurationPreview0Params < Telnyx::Internal::Type::BaseModel
|
|
8
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
# @!attribute address
|
|
12
|
+
# The address of the company.
|
|
13
|
+
#
|
|
14
|
+
# @return [Telnyx::Models::Porting::LoaConfigurationPreview0Params::Address]
|
|
15
|
+
required :address, -> { Telnyx::Porting::LoaConfigurationPreview0Params::Address }
|
|
16
|
+
|
|
17
|
+
# @!attribute company_name
|
|
18
|
+
# The name of the company
|
|
19
|
+
#
|
|
20
|
+
# @return [String]
|
|
21
|
+
required :company_name, String
|
|
22
|
+
|
|
23
|
+
# @!attribute contact
|
|
24
|
+
# The contact information of the company.
|
|
25
|
+
#
|
|
26
|
+
# @return [Telnyx::Models::Porting::LoaConfigurationPreview0Params::Contact]
|
|
27
|
+
required :contact, -> { Telnyx::Porting::LoaConfigurationPreview0Params::Contact }
|
|
28
|
+
|
|
29
|
+
# @!attribute logo
|
|
30
|
+
# The logo of the LOA configuration
|
|
31
|
+
#
|
|
32
|
+
# @return [Telnyx::Models::Porting::LoaConfigurationPreview0Params::Logo]
|
|
33
|
+
required :logo, -> { Telnyx::Porting::LoaConfigurationPreview0Params::Logo }
|
|
34
|
+
|
|
35
|
+
# @!attribute name
|
|
36
|
+
# The name of the LOA configuration
|
|
37
|
+
#
|
|
38
|
+
# @return [String]
|
|
39
|
+
required :name, String
|
|
40
|
+
|
|
41
|
+
# @!method initialize(address:, company_name:, contact:, logo:, name:, request_options: {})
|
|
42
|
+
# @param address [Telnyx::Models::Porting::LoaConfigurationPreview0Params::Address] The address of the company.
|
|
43
|
+
#
|
|
44
|
+
# @param company_name [String] The name of the company
|
|
45
|
+
#
|
|
46
|
+
# @param contact [Telnyx::Models::Porting::LoaConfigurationPreview0Params::Contact] The contact information of the company.
|
|
47
|
+
#
|
|
48
|
+
# @param logo [Telnyx::Models::Porting::LoaConfigurationPreview0Params::Logo] The logo of the LOA configuration
|
|
49
|
+
#
|
|
50
|
+
# @param name [String] The name of the LOA configuration
|
|
51
|
+
#
|
|
52
|
+
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}]
|
|
53
|
+
|
|
54
|
+
class Address < Telnyx::Internal::Type::BaseModel
|
|
55
|
+
# @!attribute city
|
|
56
|
+
# The locality of the company
|
|
57
|
+
#
|
|
58
|
+
# @return [String]
|
|
59
|
+
required :city, String
|
|
60
|
+
|
|
61
|
+
# @!attribute country_code
|
|
62
|
+
# The country code of the company
|
|
63
|
+
#
|
|
64
|
+
# @return [String]
|
|
65
|
+
required :country_code, String
|
|
66
|
+
|
|
67
|
+
# @!attribute state
|
|
68
|
+
# The administrative area of the company
|
|
69
|
+
#
|
|
70
|
+
# @return [String]
|
|
71
|
+
required :state, String
|
|
72
|
+
|
|
73
|
+
# @!attribute street_address
|
|
74
|
+
# The street address of the company
|
|
75
|
+
#
|
|
76
|
+
# @return [String]
|
|
77
|
+
required :street_address, String
|
|
78
|
+
|
|
79
|
+
# @!attribute zip_code
|
|
80
|
+
# The postal code of the company
|
|
81
|
+
#
|
|
82
|
+
# @return [String]
|
|
83
|
+
required :zip_code, String
|
|
84
|
+
|
|
85
|
+
# @!attribute extended_address
|
|
86
|
+
# The extended address of the company
|
|
87
|
+
#
|
|
88
|
+
# @return [String, nil]
|
|
89
|
+
optional :extended_address, String
|
|
90
|
+
|
|
91
|
+
# @!method initialize(city:, country_code:, state:, street_address:, zip_code:, extended_address: nil)
|
|
92
|
+
# The address of the company.
|
|
93
|
+
#
|
|
94
|
+
# @param city [String] The locality of the company
|
|
95
|
+
#
|
|
96
|
+
# @param country_code [String] The country code of the company
|
|
97
|
+
#
|
|
98
|
+
# @param state [String] The administrative area of the company
|
|
99
|
+
#
|
|
100
|
+
# @param street_address [String] The street address of the company
|
|
101
|
+
#
|
|
102
|
+
# @param zip_code [String] The postal code of the company
|
|
103
|
+
#
|
|
104
|
+
# @param extended_address [String] The extended address of the company
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
class Contact < Telnyx::Internal::Type::BaseModel
|
|
108
|
+
# @!attribute email
|
|
109
|
+
# The email address of the contact
|
|
110
|
+
#
|
|
111
|
+
# @return [String]
|
|
112
|
+
required :email, String
|
|
113
|
+
|
|
114
|
+
# @!attribute phone_number
|
|
115
|
+
# The phone number of the contact
|
|
116
|
+
#
|
|
117
|
+
# @return [String]
|
|
118
|
+
required :phone_number, String
|
|
119
|
+
|
|
120
|
+
# @!method initialize(email:, phone_number:)
|
|
121
|
+
# The contact information of the company.
|
|
122
|
+
#
|
|
123
|
+
# @param email [String] The email address of the contact
|
|
124
|
+
#
|
|
125
|
+
# @param phone_number [String] The phone number of the contact
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
class Logo < Telnyx::Internal::Type::BaseModel
|
|
129
|
+
# @!attribute document_id
|
|
130
|
+
# The document identification
|
|
131
|
+
#
|
|
132
|
+
# @return [String]
|
|
133
|
+
required :document_id, String
|
|
134
|
+
|
|
135
|
+
# @!method initialize(document_id:)
|
|
136
|
+
# The logo of the LOA configuration
|
|
137
|
+
#
|
|
138
|
+
# @param document_id [String] The document identification
|
|
139
|
+
end
|
|
140
|
+
end
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
end
|
|
@@ -163,6 +163,38 @@ module Telnyx
|
|
|
163
163
|
)
|
|
164
164
|
end
|
|
165
165
|
|
|
166
|
+
# Preview the LOA template that would be generated without need to create LOA
|
|
167
|
+
# configuration.
|
|
168
|
+
#
|
|
169
|
+
# @overload preview_0(address:, company_name:, contact:, logo:, name:, request_options: {})
|
|
170
|
+
#
|
|
171
|
+
# @param address [Telnyx::Models::Porting::LoaConfigurationPreview0Params::Address] The address of the company.
|
|
172
|
+
#
|
|
173
|
+
# @param company_name [String] The name of the company
|
|
174
|
+
#
|
|
175
|
+
# @param contact [Telnyx::Models::Porting::LoaConfigurationPreview0Params::Contact] The contact information of the company.
|
|
176
|
+
#
|
|
177
|
+
# @param logo [Telnyx::Models::Porting::LoaConfigurationPreview0Params::Logo] The logo of the LOA configuration
|
|
178
|
+
#
|
|
179
|
+
# @param name [String] The name of the LOA configuration
|
|
180
|
+
#
|
|
181
|
+
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
182
|
+
#
|
|
183
|
+
# @return [StringIO]
|
|
184
|
+
#
|
|
185
|
+
# @see Telnyx::Models::Porting::LoaConfigurationPreview0Params
|
|
186
|
+
def preview_0(params)
|
|
187
|
+
parsed, options = Telnyx::Porting::LoaConfigurationPreview0Params.dump_request(params)
|
|
188
|
+
@client.request(
|
|
189
|
+
method: :post,
|
|
190
|
+
path: "porting/loa_configurations/preview",
|
|
191
|
+
headers: {"accept" => "application/pdf"},
|
|
192
|
+
body: parsed,
|
|
193
|
+
model: StringIO,
|
|
194
|
+
options: options
|
|
195
|
+
)
|
|
196
|
+
end
|
|
197
|
+
|
|
166
198
|
# Preview a specific LOA configuration.
|
|
167
199
|
#
|
|
168
200
|
# @overload preview_1(id, request_options: {})
|
data/lib/telnyx/version.rb
CHANGED
data/lib/telnyx.rb
CHANGED
|
@@ -1556,6 +1556,7 @@ require_relative "telnyx/models/porting/loa_configuration_create_params"
|
|
|
1556
1556
|
require_relative "telnyx/models/porting/loa_configuration_create_response"
|
|
1557
1557
|
require_relative "telnyx/models/porting/loa_configuration_delete_params"
|
|
1558
1558
|
require_relative "telnyx/models/porting/loa_configuration_list_params"
|
|
1559
|
+
require_relative "telnyx/models/porting/loa_configuration_preview_0_params"
|
|
1559
1560
|
require_relative "telnyx/models/porting/loa_configuration_preview_1_params"
|
|
1560
1561
|
require_relative "telnyx/models/porting/loa_configuration_preview_params"
|
|
1561
1562
|
require_relative "telnyx/models/porting/loa_configuration_retrieve_params"
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Telnyx
|
|
4
|
+
module Models
|
|
5
|
+
module Porting
|
|
6
|
+
class LoaConfigurationPreview0Params < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
OrHash =
|
|
11
|
+
T.type_alias do
|
|
12
|
+
T.any(
|
|
13
|
+
Telnyx::Porting::LoaConfigurationPreview0Params,
|
|
14
|
+
Telnyx::Internal::AnyHash
|
|
15
|
+
)
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
# The address of the company.
|
|
19
|
+
sig do
|
|
20
|
+
returns(Telnyx::Porting::LoaConfigurationPreview0Params::Address)
|
|
21
|
+
end
|
|
22
|
+
attr_reader :address
|
|
23
|
+
|
|
24
|
+
sig do
|
|
25
|
+
params(
|
|
26
|
+
address:
|
|
27
|
+
Telnyx::Porting::LoaConfigurationPreview0Params::Address::OrHash
|
|
28
|
+
).void
|
|
29
|
+
end
|
|
30
|
+
attr_writer :address
|
|
31
|
+
|
|
32
|
+
# The name of the company
|
|
33
|
+
sig { returns(String) }
|
|
34
|
+
attr_accessor :company_name
|
|
35
|
+
|
|
36
|
+
# The contact information of the company.
|
|
37
|
+
sig do
|
|
38
|
+
returns(Telnyx::Porting::LoaConfigurationPreview0Params::Contact)
|
|
39
|
+
end
|
|
40
|
+
attr_reader :contact
|
|
41
|
+
|
|
42
|
+
sig do
|
|
43
|
+
params(
|
|
44
|
+
contact:
|
|
45
|
+
Telnyx::Porting::LoaConfigurationPreview0Params::Contact::OrHash
|
|
46
|
+
).void
|
|
47
|
+
end
|
|
48
|
+
attr_writer :contact
|
|
49
|
+
|
|
50
|
+
# The logo of the LOA configuration
|
|
51
|
+
sig { returns(Telnyx::Porting::LoaConfigurationPreview0Params::Logo) }
|
|
52
|
+
attr_reader :logo
|
|
53
|
+
|
|
54
|
+
sig do
|
|
55
|
+
params(
|
|
56
|
+
logo: Telnyx::Porting::LoaConfigurationPreview0Params::Logo::OrHash
|
|
57
|
+
).void
|
|
58
|
+
end
|
|
59
|
+
attr_writer :logo
|
|
60
|
+
|
|
61
|
+
# The name of the LOA configuration
|
|
62
|
+
sig { returns(String) }
|
|
63
|
+
attr_accessor :name
|
|
64
|
+
|
|
65
|
+
sig do
|
|
66
|
+
params(
|
|
67
|
+
address:
|
|
68
|
+
Telnyx::Porting::LoaConfigurationPreview0Params::Address::OrHash,
|
|
69
|
+
company_name: String,
|
|
70
|
+
contact:
|
|
71
|
+
Telnyx::Porting::LoaConfigurationPreview0Params::Contact::OrHash,
|
|
72
|
+
logo: Telnyx::Porting::LoaConfigurationPreview0Params::Logo::OrHash,
|
|
73
|
+
name: String,
|
|
74
|
+
request_options: Telnyx::RequestOptions::OrHash
|
|
75
|
+
).returns(T.attached_class)
|
|
76
|
+
end
|
|
77
|
+
def self.new(
|
|
78
|
+
# The address of the company.
|
|
79
|
+
address:,
|
|
80
|
+
# The name of the company
|
|
81
|
+
company_name:,
|
|
82
|
+
# The contact information of the company.
|
|
83
|
+
contact:,
|
|
84
|
+
# The logo of the LOA configuration
|
|
85
|
+
logo:,
|
|
86
|
+
# The name of the LOA configuration
|
|
87
|
+
name:,
|
|
88
|
+
request_options: {}
|
|
89
|
+
)
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
sig do
|
|
93
|
+
override.returns(
|
|
94
|
+
{
|
|
95
|
+
address: Telnyx::Porting::LoaConfigurationPreview0Params::Address,
|
|
96
|
+
company_name: String,
|
|
97
|
+
contact: Telnyx::Porting::LoaConfigurationPreview0Params::Contact,
|
|
98
|
+
logo: Telnyx::Porting::LoaConfigurationPreview0Params::Logo,
|
|
99
|
+
name: String,
|
|
100
|
+
request_options: Telnyx::RequestOptions
|
|
101
|
+
}
|
|
102
|
+
)
|
|
103
|
+
end
|
|
104
|
+
def to_hash
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
class Address < Telnyx::Internal::Type::BaseModel
|
|
108
|
+
OrHash =
|
|
109
|
+
T.type_alias do
|
|
110
|
+
T.any(
|
|
111
|
+
Telnyx::Porting::LoaConfigurationPreview0Params::Address,
|
|
112
|
+
Telnyx::Internal::AnyHash
|
|
113
|
+
)
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
# The locality of the company
|
|
117
|
+
sig { returns(String) }
|
|
118
|
+
attr_accessor :city
|
|
119
|
+
|
|
120
|
+
# The country code of the company
|
|
121
|
+
sig { returns(String) }
|
|
122
|
+
attr_accessor :country_code
|
|
123
|
+
|
|
124
|
+
# The administrative area of the company
|
|
125
|
+
sig { returns(String) }
|
|
126
|
+
attr_accessor :state
|
|
127
|
+
|
|
128
|
+
# The street address of the company
|
|
129
|
+
sig { returns(String) }
|
|
130
|
+
attr_accessor :street_address
|
|
131
|
+
|
|
132
|
+
# The postal code of the company
|
|
133
|
+
sig { returns(String) }
|
|
134
|
+
attr_accessor :zip_code
|
|
135
|
+
|
|
136
|
+
# The extended address of the company
|
|
137
|
+
sig { returns(T.nilable(String)) }
|
|
138
|
+
attr_reader :extended_address
|
|
139
|
+
|
|
140
|
+
sig { params(extended_address: String).void }
|
|
141
|
+
attr_writer :extended_address
|
|
142
|
+
|
|
143
|
+
# The address of the company.
|
|
144
|
+
sig do
|
|
145
|
+
params(
|
|
146
|
+
city: String,
|
|
147
|
+
country_code: String,
|
|
148
|
+
state: String,
|
|
149
|
+
street_address: String,
|
|
150
|
+
zip_code: String,
|
|
151
|
+
extended_address: String
|
|
152
|
+
).returns(T.attached_class)
|
|
153
|
+
end
|
|
154
|
+
def self.new(
|
|
155
|
+
# The locality of the company
|
|
156
|
+
city:,
|
|
157
|
+
# The country code of the company
|
|
158
|
+
country_code:,
|
|
159
|
+
# The administrative area of the company
|
|
160
|
+
state:,
|
|
161
|
+
# The street address of the company
|
|
162
|
+
street_address:,
|
|
163
|
+
# The postal code of the company
|
|
164
|
+
zip_code:,
|
|
165
|
+
# The extended address of the company
|
|
166
|
+
extended_address: nil
|
|
167
|
+
)
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
sig do
|
|
171
|
+
override.returns(
|
|
172
|
+
{
|
|
173
|
+
city: String,
|
|
174
|
+
country_code: String,
|
|
175
|
+
state: String,
|
|
176
|
+
street_address: String,
|
|
177
|
+
zip_code: String,
|
|
178
|
+
extended_address: String
|
|
179
|
+
}
|
|
180
|
+
)
|
|
181
|
+
end
|
|
182
|
+
def to_hash
|
|
183
|
+
end
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
class Contact < Telnyx::Internal::Type::BaseModel
|
|
187
|
+
OrHash =
|
|
188
|
+
T.type_alias do
|
|
189
|
+
T.any(
|
|
190
|
+
Telnyx::Porting::LoaConfigurationPreview0Params::Contact,
|
|
191
|
+
Telnyx::Internal::AnyHash
|
|
192
|
+
)
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
# The email address of the contact
|
|
196
|
+
sig { returns(String) }
|
|
197
|
+
attr_accessor :email
|
|
198
|
+
|
|
199
|
+
# The phone number of the contact
|
|
200
|
+
sig { returns(String) }
|
|
201
|
+
attr_accessor :phone_number
|
|
202
|
+
|
|
203
|
+
# The contact information of the company.
|
|
204
|
+
sig do
|
|
205
|
+
params(email: String, phone_number: String).returns(
|
|
206
|
+
T.attached_class
|
|
207
|
+
)
|
|
208
|
+
end
|
|
209
|
+
def self.new(
|
|
210
|
+
# The email address of the contact
|
|
211
|
+
email:,
|
|
212
|
+
# The phone number of the contact
|
|
213
|
+
phone_number:
|
|
214
|
+
)
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
sig { override.returns({ email: String, phone_number: String }) }
|
|
218
|
+
def to_hash
|
|
219
|
+
end
|
|
220
|
+
end
|
|
221
|
+
|
|
222
|
+
class Logo < Telnyx::Internal::Type::BaseModel
|
|
223
|
+
OrHash =
|
|
224
|
+
T.type_alias do
|
|
225
|
+
T.any(
|
|
226
|
+
Telnyx::Porting::LoaConfigurationPreview0Params::Logo,
|
|
227
|
+
Telnyx::Internal::AnyHash
|
|
228
|
+
)
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
# The document identification
|
|
232
|
+
sig { returns(String) }
|
|
233
|
+
attr_accessor :document_id
|
|
234
|
+
|
|
235
|
+
# The logo of the LOA configuration
|
|
236
|
+
sig { params(document_id: String).returns(T.attached_class) }
|
|
237
|
+
def self.new(
|
|
238
|
+
# The document identification
|
|
239
|
+
document_id:
|
|
240
|
+
)
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
sig { override.returns({ document_id: String }) }
|
|
244
|
+
def to_hash
|
|
245
|
+
end
|
|
246
|
+
end
|
|
247
|
+
end
|
|
248
|
+
end
|
|
249
|
+
end
|
|
250
|
+
end
|
|
@@ -136,6 +136,35 @@ module Telnyx
|
|
|
136
136
|
)
|
|
137
137
|
end
|
|
138
138
|
|
|
139
|
+
# Preview the LOA template that would be generated without need to create LOA
|
|
140
|
+
# configuration.
|
|
141
|
+
sig do
|
|
142
|
+
params(
|
|
143
|
+
address:
|
|
144
|
+
Telnyx::Porting::LoaConfigurationPreview0Params::Address::OrHash,
|
|
145
|
+
company_name: String,
|
|
146
|
+
contact:
|
|
147
|
+
Telnyx::Porting::LoaConfigurationPreview0Params::Contact::OrHash,
|
|
148
|
+
logo: Telnyx::Porting::LoaConfigurationPreview0Params::Logo::OrHash,
|
|
149
|
+
name: String,
|
|
150
|
+
request_options: Telnyx::RequestOptions::OrHash
|
|
151
|
+
).returns(StringIO)
|
|
152
|
+
end
|
|
153
|
+
def preview_0(
|
|
154
|
+
# The address of the company.
|
|
155
|
+
address:,
|
|
156
|
+
# The name of the company
|
|
157
|
+
company_name:,
|
|
158
|
+
# The contact information of the company.
|
|
159
|
+
contact:,
|
|
160
|
+
# The logo of the LOA configuration
|
|
161
|
+
logo:,
|
|
162
|
+
# The name of the LOA configuration
|
|
163
|
+
name:,
|
|
164
|
+
request_options: {}
|
|
165
|
+
)
|
|
166
|
+
end
|
|
167
|
+
|
|
139
168
|
# Preview a specific LOA configuration.
|
|
140
169
|
sig do
|
|
141
170
|
params(
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Porting
|
|
4
|
+
type loa_configuration_preview0_params =
|
|
5
|
+
{
|
|
6
|
+
address: Telnyx::Porting::LoaConfigurationPreview0Params::Address,
|
|
7
|
+
company_name: String,
|
|
8
|
+
contact: Telnyx::Porting::LoaConfigurationPreview0Params::Contact,
|
|
9
|
+
logo: Telnyx::Porting::LoaConfigurationPreview0Params::Logo,
|
|
10
|
+
name: String
|
|
11
|
+
}
|
|
12
|
+
& Telnyx::Internal::Type::request_parameters
|
|
13
|
+
|
|
14
|
+
class LoaConfigurationPreview0Params < Telnyx::Internal::Type::BaseModel
|
|
15
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
16
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
17
|
+
|
|
18
|
+
attr_accessor address: Telnyx::Porting::LoaConfigurationPreview0Params::Address
|
|
19
|
+
|
|
20
|
+
attr_accessor company_name: String
|
|
21
|
+
|
|
22
|
+
attr_accessor contact: Telnyx::Porting::LoaConfigurationPreview0Params::Contact
|
|
23
|
+
|
|
24
|
+
attr_accessor logo: Telnyx::Porting::LoaConfigurationPreview0Params::Logo
|
|
25
|
+
|
|
26
|
+
attr_accessor name: String
|
|
27
|
+
|
|
28
|
+
def initialize: (
|
|
29
|
+
address: Telnyx::Porting::LoaConfigurationPreview0Params::Address,
|
|
30
|
+
company_name: String,
|
|
31
|
+
contact: Telnyx::Porting::LoaConfigurationPreview0Params::Contact,
|
|
32
|
+
logo: Telnyx::Porting::LoaConfigurationPreview0Params::Logo,
|
|
33
|
+
name: String,
|
|
34
|
+
?request_options: Telnyx::request_opts
|
|
35
|
+
) -> void
|
|
36
|
+
|
|
37
|
+
def to_hash: -> {
|
|
38
|
+
address: Telnyx::Porting::LoaConfigurationPreview0Params::Address,
|
|
39
|
+
company_name: String,
|
|
40
|
+
contact: Telnyx::Porting::LoaConfigurationPreview0Params::Contact,
|
|
41
|
+
logo: Telnyx::Porting::LoaConfigurationPreview0Params::Logo,
|
|
42
|
+
name: String,
|
|
43
|
+
request_options: Telnyx::RequestOptions
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
type address =
|
|
47
|
+
{
|
|
48
|
+
city: String,
|
|
49
|
+
country_code: String,
|
|
50
|
+
state: String,
|
|
51
|
+
street_address: String,
|
|
52
|
+
zip_code: String,
|
|
53
|
+
extended_address: String
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
class Address < Telnyx::Internal::Type::BaseModel
|
|
57
|
+
attr_accessor city: String
|
|
58
|
+
|
|
59
|
+
attr_accessor country_code: String
|
|
60
|
+
|
|
61
|
+
attr_accessor state: String
|
|
62
|
+
|
|
63
|
+
attr_accessor street_address: String
|
|
64
|
+
|
|
65
|
+
attr_accessor zip_code: String
|
|
66
|
+
|
|
67
|
+
attr_reader extended_address: String?
|
|
68
|
+
|
|
69
|
+
def extended_address=: (String) -> String
|
|
70
|
+
|
|
71
|
+
def initialize: (
|
|
72
|
+
city: String,
|
|
73
|
+
country_code: String,
|
|
74
|
+
state: String,
|
|
75
|
+
street_address: String,
|
|
76
|
+
zip_code: String,
|
|
77
|
+
?extended_address: String
|
|
78
|
+
) -> void
|
|
79
|
+
|
|
80
|
+
def to_hash: -> {
|
|
81
|
+
city: String,
|
|
82
|
+
country_code: String,
|
|
83
|
+
state: String,
|
|
84
|
+
street_address: String,
|
|
85
|
+
zip_code: String,
|
|
86
|
+
extended_address: String
|
|
87
|
+
}
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
type contact = { email: String, phone_number: String }
|
|
91
|
+
|
|
92
|
+
class Contact < Telnyx::Internal::Type::BaseModel
|
|
93
|
+
attr_accessor email: String
|
|
94
|
+
|
|
95
|
+
attr_accessor phone_number: String
|
|
96
|
+
|
|
97
|
+
def initialize: (email: String, phone_number: String) -> void
|
|
98
|
+
|
|
99
|
+
def to_hash: -> { email: String, phone_number: String }
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
type logo = { document_id: String }
|
|
103
|
+
|
|
104
|
+
class Logo < Telnyx::Internal::Type::BaseModel
|
|
105
|
+
attr_accessor document_id: String
|
|
106
|
+
|
|
107
|
+
def initialize: (document_id: String) -> void
|
|
108
|
+
|
|
109
|
+
def to_hash: -> { document_id: String }
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
end
|
|
@@ -43,6 +43,15 @@ module Telnyx
|
|
|
43
43
|
?request_options: Telnyx::request_opts
|
|
44
44
|
) -> StringIO
|
|
45
45
|
|
|
46
|
+
def preview_0: (
|
|
47
|
+
address: Telnyx::Porting::LoaConfigurationPreview0Params::Address,
|
|
48
|
+
company_name: String,
|
|
49
|
+
contact: Telnyx::Porting::LoaConfigurationPreview0Params::Contact,
|
|
50
|
+
logo: Telnyx::Porting::LoaConfigurationPreview0Params::Logo,
|
|
51
|
+
name: String,
|
|
52
|
+
?request_options: Telnyx::request_opts
|
|
53
|
+
) -> StringIO
|
|
54
|
+
|
|
46
55
|
def preview_1: (
|
|
47
56
|
String id,
|
|
48
57
|
?request_options: Telnyx::request_opts
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: telnyx
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.
|
|
4
|
+
version: 5.58.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Telnyx
|
|
@@ -1566,6 +1566,7 @@ files:
|
|
|
1566
1566
|
- lib/telnyx/models/porting/loa_configuration_create_response.rb
|
|
1567
1567
|
- lib/telnyx/models/porting/loa_configuration_delete_params.rb
|
|
1568
1568
|
- lib/telnyx/models/porting/loa_configuration_list_params.rb
|
|
1569
|
+
- lib/telnyx/models/porting/loa_configuration_preview_0_params.rb
|
|
1569
1570
|
- lib/telnyx/models/porting/loa_configuration_preview_1_params.rb
|
|
1570
1571
|
- lib/telnyx/models/porting/loa_configuration_preview_params.rb
|
|
1571
1572
|
- lib/telnyx/models/porting/loa_configuration_retrieve_params.rb
|
|
@@ -4138,6 +4139,7 @@ files:
|
|
|
4138
4139
|
- rbi/telnyx/models/porting/loa_configuration_create_response.rbi
|
|
4139
4140
|
- rbi/telnyx/models/porting/loa_configuration_delete_params.rbi
|
|
4140
4141
|
- rbi/telnyx/models/porting/loa_configuration_list_params.rbi
|
|
4142
|
+
- rbi/telnyx/models/porting/loa_configuration_preview_0_params.rbi
|
|
4141
4143
|
- rbi/telnyx/models/porting/loa_configuration_preview_1_params.rbi
|
|
4142
4144
|
- rbi/telnyx/models/porting/loa_configuration_preview_params.rbi
|
|
4143
4145
|
- rbi/telnyx/models/porting/loa_configuration_retrieve_params.rbi
|
|
@@ -6709,6 +6711,7 @@ files:
|
|
|
6709
6711
|
- sig/telnyx/models/porting/loa_configuration_create_response.rbs
|
|
6710
6712
|
- sig/telnyx/models/porting/loa_configuration_delete_params.rbs
|
|
6711
6713
|
- sig/telnyx/models/porting/loa_configuration_list_params.rbs
|
|
6714
|
+
- sig/telnyx/models/porting/loa_configuration_preview_0_params.rbs
|
|
6712
6715
|
- sig/telnyx/models/porting/loa_configuration_preview_1_params.rbs
|
|
6713
6716
|
- sig/telnyx/models/porting/loa_configuration_preview_params.rbs
|
|
6714
6717
|
- sig/telnyx/models/porting/loa_configuration_retrieve_params.rbs
|