late-sdk 0.0.532 → 0.0.533
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/README.md +7 -0
- data/docs/CheckPhoneNumberPortability200ResponseResultsInner.md +5 -1
- data/docs/CreatePhoneNumberPortInRequest.md +4 -2
- data/docs/CreatePhoneNumberPortInRequestEndUser.md +8 -4
- data/docs/CreatePhoneNumberPortInRequestRequirementsInner.md +20 -0
- data/docs/GetPhoneNumberPortInOrderRequirements200Response.md +20 -0
- data/docs/GetPhoneNumberPortInOrderRequirements200ResponseRequirementsInner.md +32 -0
- data/docs/GetPhoneNumberPortInRequirements200Response.md +24 -0
- data/docs/GetPhoneNumberPortInRequirements200ResponseFieldsInner.md +28 -0
- data/docs/PhoneNumbersApi.md +149 -5
- data/lib/zernio-sdk/api/phone_numbers_api.rb +148 -10
- data/lib/zernio-sdk/models/check_phone_number_portability200_response_results_inner.rb +24 -2
- data/lib/zernio-sdk/models/create_phone_number_port_in_request.rb +36 -5
- data/lib/zernio-sdk/models/create_phone_number_port_in_request_end_user.rb +65 -23
- data/lib/zernio-sdk/models/create_phone_number_port_in_request_requirements_inner.rb +201 -0
- data/lib/zernio-sdk/models/get_phone_number_port_in_order_requirements200_response.rb +158 -0
- data/lib/zernio-sdk/models/get_phone_number_port_in_order_requirements200_response_requirements_inner.rb +247 -0
- data/lib/zernio-sdk/models/get_phone_number_port_in_requirements200_response.rb +177 -0
- data/lib/zernio-sdk/models/get_phone_number_port_in_requirements200_response_fields_inner.rb +231 -0
- data/lib/zernio-sdk/version.rb +1 -1
- data/lib/zernio-sdk.rb +5 -0
- data/openapi.yaml +133 -16
- data/spec/api/phone_numbers_api_spec.rb +28 -3
- data/spec/models/check_phone_number_portability200_response_results_inner_spec.rb +12 -0
- data/spec/models/create_phone_number_port_in_request_end_user_spec.rb +13 -1
- data/spec/models/create_phone_number_port_in_request_requirements_inner_spec.rb +42 -0
- data/spec/models/create_phone_number_port_in_request_spec.rb +6 -0
- data/spec/models/get_phone_number_port_in_order_requirements200_response_requirements_inner_spec.rb +82 -0
- data/spec/models/get_phone_number_port_in_order_requirements200_response_spec.rb +42 -0
- data/spec/models/get_phone_number_port_in_requirements200_response_fields_inner_spec.rb +70 -0
- data/spec/models/get_phone_number_port_in_requirements200_response_spec.rb +54 -0
- data/zernio-sdk-0.0.533.gem +0 -0
- metadata +22 -2
- data/zernio-sdk-0.0.532.gem +0 -0
|
@@ -83,7 +83,7 @@ describe 'PhoneNumbersApi' do
|
|
|
83
83
|
|
|
84
84
|
# unit tests for create_phone_number_port_in
|
|
85
85
|
# Port numbers in
|
|
86
|
-
# Submit a port-in for one or more existing numbers from another carrier. Creates the carrier order(s), attaches the end-user (current account) info plus the LOA and invoice documents, and submits to the losing carrier. The transfer PIN is forwarded to the carrier and never stored. Ported numbers arrive voice-ready (and SMS-ready where the order supports messaging). Run the portability check (POST /v1/phone-numbers/port-in/check) and upload the two documents (POST /v1/phone-numbers/port-in/documents) first. The carrier may split the numbers into several orders (by country, number type, losing carrier); `orders` carries per-order results, and a partial failure still returns 201 with the failed orders' `error` set (they stay as cancellable drafts).
|
|
86
|
+
# Submit a port-in for one or more existing numbers from another carrier. Creates the carrier order(s), attaches the end-user (current account) info plus the LOA and invoice documents, and submits to the losing carrier. The transfer PIN is forwarded to the carrier and never stored. Ported numbers arrive voice-ready (and SMS-ready where the order supports messaging). Run the portability check (POST /v1/phone-numbers/port-in/check) and upload the two documents (POST /v1/phone-numbers/port-in/documents) first — uploaded documents must be attached to an order within 30 minutes or the carrier deletes them, so upload right before this call. The carrier may split the numbers into several orders (by country, number type, losing carrier); `orders` carries per-order results, and a partial failure still returns 201 with the failed orders' `error` set (they stay as cancellable drafts). Non-US/CA numbers additionally need the country-specific values from GET /v1/phone-numbers/port-in/requirements, passed via `requirements`, and must be submitted one country per request. When required information is still missing after submission, the order is kept as a resumable draft whose `error` / `declineReason` names the gaps.
|
|
87
87
|
# @param create_phone_number_port_in_request
|
|
88
88
|
# @param [Hash] opts the optional parameters
|
|
89
89
|
# @return [CreatePhoneNumberPortIn201Response]
|
|
@@ -118,6 +118,31 @@ describe 'PhoneNumbersApi' do
|
|
|
118
118
|
end
|
|
119
119
|
end
|
|
120
120
|
|
|
121
|
+
# unit tests for get_phone_number_port_in_order_requirements
|
|
122
|
+
# A port-in order's pending requirements
|
|
123
|
+
# The live requirements on an EXISTING porting order: which are filled, which are still pending, and which bounced on review (`requirement-info-exception`). Use it to fix and resubmit a rejected international port. Same field shape as the country-level requirements endpoint, plus per-requirement status.
|
|
124
|
+
# @param id Porting order ID (from the port-in list).
|
|
125
|
+
# @param [Hash] opts the optional parameters
|
|
126
|
+
# @return [GetPhoneNumberPortInOrderRequirements200Response]
|
|
127
|
+
describe 'get_phone_number_port_in_order_requirements test' do
|
|
128
|
+
it 'should work' do
|
|
129
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
130
|
+
end
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
# unit tests for get_phone_number_port_in_requirements
|
|
134
|
+
# Country porting requirements
|
|
135
|
+
# The country-specific information a port-in needs BEYOND the LOA, invoice, and account/address details — e.g. an ID copy, proof of address, a tax id, or a porting code. Call it after the portability check (which returns each number's `countryCode` and `phoneNumberType`), render the fields, and pass the collected values as the create request's `requirements`. US/CA return an empty list.
|
|
136
|
+
# @param country ISO country of the numbers being ported (a supported port-in country).
|
|
137
|
+
# @param [Hash] opts the optional parameters
|
|
138
|
+
# @option opts [String] :number_type The portability check's phoneNumberType — requirements differ by type.
|
|
139
|
+
# @return [GetPhoneNumberPortInRequirements200Response]
|
|
140
|
+
describe 'get_phone_number_port_in_requirements test' do
|
|
141
|
+
it 'should work' do
|
|
142
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
143
|
+
end
|
|
144
|
+
end
|
|
145
|
+
|
|
121
146
|
# unit tests for get_phone_number_remediation
|
|
122
147
|
# Get declined requirements
|
|
123
148
|
# For a number in `regulatory_declined`, returns ONLY the requirements the reviewer flagged declined, as a form spec (same shape as the KYC form GET). The customer fixes just those — Telnyx supports correcting a declined requirement group and re-submitting it (no new number/group). Falls back to the full spec if the provider exposes no per-requirement flags.
|
|
@@ -259,10 +284,10 @@ describe 'PhoneNumbersApi' do
|
|
|
259
284
|
|
|
260
285
|
# unit tests for upload_phone_number_port_in_document
|
|
261
286
|
# Upload a porting document
|
|
262
|
-
# Upload ONE porting document
|
|
287
|
+
# Upload ONE porting document and get back its `documentId`. For the signed LOA / carrier invoice the id goes to `loaDocumentId` / `invoiceDocumentId`; for a country-specific document requirement (international ports) it becomes that requirement's `fieldValue`. Requirement documents are normalized to PDF automatically (regulators reject raw images). PDF, JPEG, or PNG, 10MB max. Uploads must be attached to an order within 30 minutes or the carrier deletes them.
|
|
263
288
|
# @param file The document (PDF/JPEG/PNG, 10MB max).
|
|
264
289
|
# @param [Hash] opts the optional parameters
|
|
265
|
-
# @option opts [String] :kind Informational; used for the stored filename.
|
|
290
|
+
# @option opts [String] :kind 'loa', 'invoice', or any short slug for requirement documents. Informational; used for the stored filename.
|
|
266
291
|
# @return [UploadPhoneNumberPortInDocument200Response]
|
|
267
292
|
describe 'upload_phone_number_port_in_document test' do
|
|
268
293
|
it 'should work' do
|
|
@@ -51,6 +51,18 @@ describe Zernio::CheckPhoneNumberPortability200ResponseResultsInner do
|
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
+
describe 'test attribute "country_code"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "phone_number_type"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
54
66
|
describe 'test attribute "not_portable_reason"' do
|
|
55
67
|
it 'should work' do
|
|
56
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -57,6 +57,18 @@ describe Zernio::CreatePhoneNumberPortInRequestEndUser do
|
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
+
describe 'test attribute "tax_identifier"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "business_identifier"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
60
72
|
describe 'test attribute "street_address"' do
|
|
61
73
|
it 'should work' do
|
|
62
74
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -90,7 +102,7 @@ describe Zernio::CreatePhoneNumberPortInRequestEndUser do
|
|
|
90
102
|
describe 'test attribute "country_code"' do
|
|
91
103
|
it 'should work' do
|
|
92
104
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["US", "CA"])
|
|
105
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["US", "CA", "GB", "ES", "DE", "FR", "NL", "AU"])
|
|
94
106
|
# validator.allowable_values.each do |value|
|
|
95
107
|
# expect { instance.country_code = value }.not_to raise_error
|
|
96
108
|
# end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Zernio API
|
|
3
|
+
|
|
4
|
+
#API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.4
|
|
7
|
+
Contact: support@zernio.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Zernio::CreatePhoneNumberPortInRequestRequirementsInner
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::CreatePhoneNumberPortInRequestRequirementsInner do
|
|
21
|
+
#let(:instance) { Zernio::CreatePhoneNumberPortInRequestRequirementsInner.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreatePhoneNumberPortInRequestRequirementsInner' do
|
|
24
|
+
it 'should create an instance of CreatePhoneNumberPortInRequestRequirementsInner' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::CreatePhoneNumberPortInRequestRequirementsInner)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "requirement_type_id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "field_value"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -73,4 +73,10 @@ describe Zernio::CreatePhoneNumberPortInRequest do
|
|
|
73
73
|
end
|
|
74
74
|
end
|
|
75
75
|
|
|
76
|
+
describe 'test attribute "requirements"' do
|
|
77
|
+
it 'should work' do
|
|
78
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
|
|
76
82
|
end
|
data/spec/models/get_phone_number_port_in_order_requirements200_response_requirements_inner_spec.rb
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Zernio API
|
|
3
|
+
|
|
4
|
+
#API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.4
|
|
7
|
+
Contact: support@zernio.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Zernio::GetPhoneNumberPortInOrderRequirements200ResponseRequirementsInner
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::GetPhoneNumberPortInOrderRequirements200ResponseRequirementsInner do
|
|
21
|
+
#let(:instance) { Zernio::GetPhoneNumberPortInOrderRequirements200ResponseRequirementsInner.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GetPhoneNumberPortInOrderRequirements200ResponseRequirementsInner' do
|
|
24
|
+
it 'should create an instance of GetPhoneNumberPortInOrderRequirements200ResponseRequirementsInner' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::GetPhoneNumberPortInOrderRequirements200ResponseRequirementsInner)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "requirement_id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "label"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "kind"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["text", "date", "address", "file", "action"])
|
|
46
|
+
# validator.allowable_values.each do |value|
|
|
47
|
+
# expect { instance.kind = value }.not_to raise_error
|
|
48
|
+
# end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "description"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
describe 'test attribute "example"' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
describe 'test attribute "acceptable_values"' do
|
|
65
|
+
it 'should work' do
|
|
66
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
describe 'test attribute "status"' do
|
|
71
|
+
it 'should work' do
|
|
72
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
describe 'test attribute "filled"' do
|
|
77
|
+
it 'should work' do
|
|
78
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Zernio API
|
|
3
|
+
|
|
4
|
+
#API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.4
|
|
7
|
+
Contact: support@zernio.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Zernio::GetPhoneNumberPortInOrderRequirements200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::GetPhoneNumberPortInOrderRequirements200Response do
|
|
21
|
+
#let(:instance) { Zernio::GetPhoneNumberPortInOrderRequirements200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GetPhoneNumberPortInOrderRequirements200Response' do
|
|
24
|
+
it 'should create an instance of GetPhoneNumberPortInOrderRequirements200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::GetPhoneNumberPortInOrderRequirements200Response)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "country"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "requirements"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Zernio API
|
|
3
|
+
|
|
4
|
+
#API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.4
|
|
7
|
+
Contact: support@zernio.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Zernio::GetPhoneNumberPortInRequirements200ResponseFieldsInner
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::GetPhoneNumberPortInRequirements200ResponseFieldsInner do
|
|
21
|
+
#let(:instance) { Zernio::GetPhoneNumberPortInRequirements200ResponseFieldsInner.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GetPhoneNumberPortInRequirements200ResponseFieldsInner' do
|
|
24
|
+
it 'should create an instance of GetPhoneNumberPortInRequirements200ResponseFieldsInner' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::GetPhoneNumberPortInRequirements200ResponseFieldsInner)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "requirement_id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "label"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "kind"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["text", "date", "address", "file", "action"])
|
|
46
|
+
# validator.allowable_values.each do |value|
|
|
47
|
+
# expect { instance.kind = value }.not_to raise_error
|
|
48
|
+
# end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "description"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
describe 'test attribute "example"' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
describe 'test attribute "acceptable_values"' do
|
|
65
|
+
it 'should work' do
|
|
66
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
end
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Zernio API
|
|
3
|
+
|
|
4
|
+
#API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.4
|
|
7
|
+
Contact: support@zernio.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Zernio::GetPhoneNumberPortInRequirements200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::GetPhoneNumberPortInRequirements200Response do
|
|
21
|
+
#let(:instance) { Zernio::GetPhoneNumberPortInRequirements200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GetPhoneNumberPortInRequirements200Response' do
|
|
24
|
+
it 'should create an instance of GetPhoneNumberPortInRequirements200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::GetPhoneNumberPortInRequirements200Response)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "country"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "number_type"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "supported"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "fields"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
end
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: late-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.533
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -275,6 +275,7 @@ files:
|
|
|
275
275
|
- docs/CreatePhoneNumberPortIn201ResponseOrdersInner.md
|
|
276
276
|
- docs/CreatePhoneNumberPortInRequest.md
|
|
277
277
|
- docs/CreatePhoneNumberPortInRequestEndUser.md
|
|
278
|
+
- docs/CreatePhoneNumberPortInRequestRequirementsInner.md
|
|
278
279
|
- docs/CreatePinterestBoard201Response.md
|
|
279
280
|
- docs/CreatePinterestBoard201ResponseBoard.md
|
|
280
281
|
- docs/CreatePinterestBoardRequest.md
|
|
@@ -656,6 +657,10 @@ files:
|
|
|
656
657
|
- docs/GetPhoneNumberKycForm200ResponseReusable.md
|
|
657
658
|
- docs/GetPhoneNumberKycForm200ResponseReusableDetailsInner.md
|
|
658
659
|
- docs/GetPhoneNumberKycForm200ResponseReusableOptionsInner.md
|
|
660
|
+
- docs/GetPhoneNumberPortInOrderRequirements200Response.md
|
|
661
|
+
- docs/GetPhoneNumberPortInOrderRequirements200ResponseRequirementsInner.md
|
|
662
|
+
- docs/GetPhoneNumberPortInRequirements200Response.md
|
|
663
|
+
- docs/GetPhoneNumberPortInRequirements200ResponseFieldsInner.md
|
|
659
664
|
- docs/GetPhoneNumberRemediation200Response.md
|
|
660
665
|
- docs/GetPinterestBoards200Response.md
|
|
661
666
|
- docs/GetPinterestBoards200ResponseBoardsInner.md
|
|
@@ -1814,6 +1819,7 @@ files:
|
|
|
1814
1819
|
- lib/zernio-sdk/models/create_phone_number_port_in201_response_orders_inner.rb
|
|
1815
1820
|
- lib/zernio-sdk/models/create_phone_number_port_in_request.rb
|
|
1816
1821
|
- lib/zernio-sdk/models/create_phone_number_port_in_request_end_user.rb
|
|
1822
|
+
- lib/zernio-sdk/models/create_phone_number_port_in_request_requirements_inner.rb
|
|
1817
1823
|
- lib/zernio-sdk/models/create_pinterest_board201_response.rb
|
|
1818
1824
|
- lib/zernio-sdk/models/create_pinterest_board201_response_board.rb
|
|
1819
1825
|
- lib/zernio-sdk/models/create_pinterest_board_request.rb
|
|
@@ -2185,6 +2191,10 @@ files:
|
|
|
2185
2191
|
- lib/zernio-sdk/models/get_phone_number_kyc_form200_response_reusable.rb
|
|
2186
2192
|
- lib/zernio-sdk/models/get_phone_number_kyc_form200_response_reusable_details_inner.rb
|
|
2187
2193
|
- lib/zernio-sdk/models/get_phone_number_kyc_form200_response_reusable_options_inner.rb
|
|
2194
|
+
- lib/zernio-sdk/models/get_phone_number_port_in_order_requirements200_response.rb
|
|
2195
|
+
- lib/zernio-sdk/models/get_phone_number_port_in_order_requirements200_response_requirements_inner.rb
|
|
2196
|
+
- lib/zernio-sdk/models/get_phone_number_port_in_requirements200_response.rb
|
|
2197
|
+
- lib/zernio-sdk/models/get_phone_number_port_in_requirements200_response_fields_inner.rb
|
|
2188
2198
|
- lib/zernio-sdk/models/get_phone_number_remediation200_response.rb
|
|
2189
2199
|
- lib/zernio-sdk/models/get_pinterest_boards200_response.rb
|
|
2190
2200
|
- lib/zernio-sdk/models/get_pinterest_boards200_response_boards_inner.rb
|
|
@@ -3305,6 +3315,7 @@ files:
|
|
|
3305
3315
|
- spec/models/create_phone_number_port_in201_response_orders_inner_spec.rb
|
|
3306
3316
|
- spec/models/create_phone_number_port_in201_response_spec.rb
|
|
3307
3317
|
- spec/models/create_phone_number_port_in_request_end_user_spec.rb
|
|
3318
|
+
- spec/models/create_phone_number_port_in_request_requirements_inner_spec.rb
|
|
3308
3319
|
- spec/models/create_phone_number_port_in_request_spec.rb
|
|
3309
3320
|
- spec/models/create_pinterest_board201_response_board_spec.rb
|
|
3310
3321
|
- spec/models/create_pinterest_board201_response_spec.rb
|
|
@@ -3677,6 +3688,10 @@ files:
|
|
|
3677
3688
|
- spec/models/get_phone_number_kyc_form200_response_reusable_options_inner_spec.rb
|
|
3678
3689
|
- spec/models/get_phone_number_kyc_form200_response_reusable_spec.rb
|
|
3679
3690
|
- spec/models/get_phone_number_kyc_form200_response_spec.rb
|
|
3691
|
+
- spec/models/get_phone_number_port_in_order_requirements200_response_requirements_inner_spec.rb
|
|
3692
|
+
- spec/models/get_phone_number_port_in_order_requirements200_response_spec.rb
|
|
3693
|
+
- spec/models/get_phone_number_port_in_requirements200_response_fields_inner_spec.rb
|
|
3694
|
+
- spec/models/get_phone_number_port_in_requirements200_response_spec.rb
|
|
3680
3695
|
- spec/models/get_phone_number_remediation200_response_spec.rb
|
|
3681
3696
|
- spec/models/get_pinterest_boards200_response_boards_inner_spec.rb
|
|
3682
3697
|
- spec/models/get_pinterest_boards200_response_spec.rb
|
|
@@ -4544,7 +4559,7 @@ files:
|
|
|
4544
4559
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
4545
4560
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
4546
4561
|
- spec/spec_helper.rb
|
|
4547
|
-
- zernio-sdk-0.0.
|
|
4562
|
+
- zernio-sdk-0.0.533.gem
|
|
4548
4563
|
- zernio-sdk.gemspec
|
|
4549
4564
|
homepage: https://openapi-generator.tech
|
|
4550
4565
|
licenses:
|
|
@@ -4867,6 +4882,7 @@ test_files:
|
|
|
4867
4882
|
- spec/models/upload_phone_number_port_in_document200_response_spec.rb
|
|
4868
4883
|
- spec/models/create_contact200_response_contact_spec.rb
|
|
4869
4884
|
- spec/models/create_lead_form_request_questions_inner_options_inner_spec.rb
|
|
4885
|
+
- spec/models/get_phone_number_port_in_requirements200_response_spec.rb
|
|
4870
4886
|
- spec/models/set_telegram_commands_request_spec.rb
|
|
4871
4887
|
- spec/models/update_ad_tracking_tags_request_creative_spec.rb
|
|
4872
4888
|
- spec/models/update_ad_request_targeting_interests_inner_spec.rb
|
|
@@ -4951,6 +4967,7 @@ test_files:
|
|
|
4951
4967
|
- spec/models/get_inbox_top_accounts200_response_spec.rb
|
|
4952
4968
|
- spec/models/edit_inbox_comment_request_spec.rb
|
|
4953
4969
|
- spec/models/account_with_follower_stats_spec.rb
|
|
4970
|
+
- spec/models/get_phone_number_port_in_order_requirements200_response_spec.rb
|
|
4954
4971
|
- spec/models/get_inbox_volume200_response_spec.rb
|
|
4955
4972
|
- spec/models/get_whats_app_call_permissions200_response_actions_inner_spec.rb
|
|
4956
4973
|
- spec/models/webhook_payload_call_received_call_spec.rb
|
|
@@ -4984,6 +5001,7 @@ test_files:
|
|
|
4984
5001
|
- spec/models/send_discord_direct_message200_response_recipient_spec.rb
|
|
4985
5002
|
- spec/models/list_inbox_reviews200_response_spec.rb
|
|
4986
5003
|
- spec/models/inline_object1_spec.rb
|
|
5004
|
+
- spec/models/create_phone_number_port_in_request_requirements_inner_spec.rb
|
|
4987
5005
|
- spec/models/get_google_business_services200_response_services_inner_free_form_service_item_spec.rb
|
|
4988
5006
|
- spec/models/usage_metering_call_usage_spec.rb
|
|
4989
5007
|
- spec/models/enroll_contacts200_response_results_inner_spec.rb
|
|
@@ -5268,6 +5286,7 @@ test_files:
|
|
|
5268
5286
|
- spec/models/update_sequence200_response_sequence_spec.rb
|
|
5269
5287
|
- spec/models/update_google_business_location_details_request_service_items_inner_spec.rb
|
|
5270
5288
|
- spec/models/create_inbox_conversation400_response_spec.rb
|
|
5289
|
+
- spec/models/get_phone_number_port_in_requirements200_response_fields_inner_spec.rb
|
|
5271
5290
|
- spec/models/update_sequence_request_steps_inner_template_spec.rb
|
|
5272
5291
|
- spec/models/get_linked_in_post_analytics403_response_spec.rb
|
|
5273
5292
|
- spec/models/upload_phone_number_kyc_document200_response_spec.rb
|
|
@@ -5555,6 +5574,7 @@ test_files:
|
|
|
5555
5574
|
- spec/models/create_conversion_destination201_response_spec.rb
|
|
5556
5575
|
- spec/models/send_inbox_message_request_interactive_header_image_spec.rb
|
|
5557
5576
|
- spec/models/post_retry_response_spec.rb
|
|
5577
|
+
- spec/models/get_phone_number_port_in_order_requirements200_response_requirements_inner_spec.rb
|
|
5558
5578
|
- spec/models/get_best_time_to_post403_response_spec.rb
|
|
5559
5579
|
- spec/models/delete_account_group200_response_spec.rb
|
|
5560
5580
|
- spec/models/get_whats_app_call_recording200_response_spec.rb
|
data/zernio-sdk-0.0.532.gem
DELETED
|
Binary file
|