zernio-sdk 0.0.608 → 0.0.610
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 +4 -0
- data/docs/ConversionEvent.md +1 -1
- data/docs/PurchasePhoneNumber200ResponseOneOf1PhoneNumber.md +3 -1
- data/docs/PurchasePhoneNumber200ResponseOneOf2.md +3 -1
- data/docs/PurchasePhoneNumberRequest.md +2 -2
- data/docs/PurchaseWhatsAppPhoneNumber200Response.md +51 -0
- data/docs/PurchaseWhatsAppPhoneNumber200ResponseOneOf.md +20 -0
- data/docs/PurchaseWhatsAppPhoneNumber200ResponseOneOf1.md +22 -0
- data/docs/PurchaseWhatsAppPhoneNumber200ResponseOneOfPhoneNumber.md +30 -0
- data/docs/WhatsAppPhoneNumbersApi.md +4 -4
- data/lib/zernio-sdk/api/whats_app_phone_numbers_api.rb +3 -3
- data/lib/zernio-sdk/models/conversion_event.rb +1 -1
- data/lib/zernio-sdk/models/purchase_phone_number200_response_one_of1_phone_number.rb +14 -4
- data/lib/zernio-sdk/models/purchase_phone_number200_response_one_of2.rb +14 -4
- data/lib/zernio-sdk/models/purchase_phone_number_request.rb +2 -2
- data/lib/zernio-sdk/models/purchase_whats_app_phone_number200_response.rb +105 -0
- data/lib/zernio-sdk/models/purchase_whats_app_phone_number200_response_one_of.rb +157 -0
- data/lib/zernio-sdk/models/purchase_whats_app_phone_number200_response_one_of1.rb +200 -0
- data/lib/zernio-sdk/models/purchase_whats_app_phone_number200_response_one_of_phone_number.rb +201 -0
- data/lib/zernio-sdk/version.rb +1 -1
- data/lib/zernio-sdk.rb +4 -0
- data/openapi.yaml +11 -3
- data/spec/api/whats_app_phone_numbers_api_spec.rb +1 -1
- data/spec/models/purchase_phone_number200_response_one_of1_phone_number_spec.rb +6 -0
- data/spec/models/purchase_phone_number200_response_one_of2_spec.rb +6 -0
- data/spec/models/purchase_whats_app_phone_number200_response_one_of1_spec.rb +52 -0
- data/spec/models/purchase_whats_app_phone_number200_response_one_of_phone_number_spec.rb +72 -0
- data/spec/models/purchase_whats_app_phone_number200_response_one_of_spec.rb +42 -0
- data/spec/models/purchase_whats_app_phone_number200_response_spec.rb +32 -0
- metadata +17 -1
|
@@ -0,0 +1,52 @@
|
|
|
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::PurchaseWhatsAppPhoneNumber200ResponseOneOf1
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::PurchaseWhatsAppPhoneNumber200ResponseOneOf1 do
|
|
21
|
+
#let(:instance) { Zernio::PurchaseWhatsAppPhoneNumber200ResponseOneOf1.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of PurchaseWhatsAppPhoneNumber200ResponseOneOf1' do
|
|
24
|
+
it 'should create an instance of PurchaseWhatsAppPhoneNumber200ResponseOneOf1' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::PurchaseWhatsAppPhoneNumber200ResponseOneOf1)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "status"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["already_purchased"])
|
|
34
|
+
# validator.allowable_values.each do |value|
|
|
35
|
+
# expect { instance.status = value }.not_to raise_error
|
|
36
|
+
# end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "number_id"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "phone_number"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
end
|
|
@@ -0,0 +1,72 @@
|
|
|
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::PurchaseWhatsAppPhoneNumber200ResponseOneOfPhoneNumber
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::PurchaseWhatsAppPhoneNumber200ResponseOneOfPhoneNumber do
|
|
21
|
+
#let(:instance) { Zernio::PurchaseWhatsAppPhoneNumber200ResponseOneOfPhoneNumber.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of PurchaseWhatsAppPhoneNumber200ResponseOneOfPhoneNumber' do
|
|
24
|
+
it 'should create an instance of PurchaseWhatsAppPhoneNumber200ResponseOneOfPhoneNumber' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::PurchaseWhatsAppPhoneNumber200ResponseOneOfPhoneNumber)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "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 "phone_number"' 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 "status"' 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 "country"' 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
|
+
describe 'test attribute "provisioned_at"' 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 "meta_preverified_id"' 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 "meta_verification_status"' 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
|
+
|
|
72
|
+
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::PurchaseWhatsAppPhoneNumber200ResponseOneOf
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::PurchaseWhatsAppPhoneNumber200ResponseOneOf do
|
|
21
|
+
#let(:instance) { Zernio::PurchaseWhatsAppPhoneNumber200ResponseOneOf.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of PurchaseWhatsAppPhoneNumber200ResponseOneOf' do
|
|
24
|
+
it 'should create an instance of PurchaseWhatsAppPhoneNumber200ResponseOneOf' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::PurchaseWhatsAppPhoneNumber200ResponseOneOf)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "message"' 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 "phone_number"' 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,32 @@
|
|
|
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::PurchaseWhatsAppPhoneNumber200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::PurchaseWhatsAppPhoneNumber200Response do
|
|
21
|
+
describe '.openapi_one_of' do
|
|
22
|
+
it 'lists the items referenced in the oneOf array' do
|
|
23
|
+
expect(described_class.openapi_one_of).to_not be_empty
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
describe '.build' do
|
|
28
|
+
it 'returns the correct model' do
|
|
29
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zernio-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.610
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -1100,6 +1100,10 @@ files:
|
|
|
1100
1100
|
- docs/PurchasePhoneNumber202Response.md
|
|
1101
1101
|
- docs/PurchasePhoneNumber409Response.md
|
|
1102
1102
|
- docs/PurchasePhoneNumberRequest.md
|
|
1103
|
+
- docs/PurchaseWhatsAppPhoneNumber200Response.md
|
|
1104
|
+
- docs/PurchaseWhatsAppPhoneNumber200ResponseOneOf.md
|
|
1105
|
+
- docs/PurchaseWhatsAppPhoneNumber200ResponseOneOf1.md
|
|
1106
|
+
- docs/PurchaseWhatsAppPhoneNumber200ResponseOneOfPhoneNumber.md
|
|
1103
1107
|
- docs/PurchaseWhatsAppPhoneNumberRequest.md
|
|
1104
1108
|
- docs/QueryAdInsights200Response.md
|
|
1105
1109
|
- docs/QueryAdInsights200ResponsePaging.md
|
|
@@ -2725,6 +2729,10 @@ files:
|
|
|
2725
2729
|
- lib/zernio-sdk/models/purchase_phone_number202_response.rb
|
|
2726
2730
|
- lib/zernio-sdk/models/purchase_phone_number409_response.rb
|
|
2727
2731
|
- lib/zernio-sdk/models/purchase_phone_number_request.rb
|
|
2732
|
+
- lib/zernio-sdk/models/purchase_whats_app_phone_number200_response.rb
|
|
2733
|
+
- lib/zernio-sdk/models/purchase_whats_app_phone_number200_response_one_of.rb
|
|
2734
|
+
- lib/zernio-sdk/models/purchase_whats_app_phone_number200_response_one_of1.rb
|
|
2735
|
+
- lib/zernio-sdk/models/purchase_whats_app_phone_number200_response_one_of_phone_number.rb
|
|
2728
2736
|
- lib/zernio-sdk/models/purchase_whats_app_phone_number_request.rb
|
|
2729
2737
|
- lib/zernio-sdk/models/query_ad_insights200_response.rb
|
|
2730
2738
|
- lib/zernio-sdk/models/query_ad_insights200_response_paging.rb
|
|
@@ -4323,6 +4331,10 @@ files:
|
|
|
4323
4331
|
- spec/models/purchase_phone_number202_response_spec.rb
|
|
4324
4332
|
- spec/models/purchase_phone_number409_response_spec.rb
|
|
4325
4333
|
- spec/models/purchase_phone_number_request_spec.rb
|
|
4334
|
+
- spec/models/purchase_whats_app_phone_number200_response_one_of1_spec.rb
|
|
4335
|
+
- spec/models/purchase_whats_app_phone_number200_response_one_of_phone_number_spec.rb
|
|
4336
|
+
- spec/models/purchase_whats_app_phone_number200_response_one_of_spec.rb
|
|
4337
|
+
- spec/models/purchase_whats_app_phone_number200_response_spec.rb
|
|
4326
4338
|
- spec/models/purchase_whats_app_phone_number_request_spec.rb
|
|
4327
4339
|
- spec/models/query_ad_insights200_response_paging_spec.rb
|
|
4328
4340
|
- spec/models/query_ad_insights200_response_spec.rb
|
|
@@ -5067,6 +5079,7 @@ test_files:
|
|
|
5067
5079
|
- spec/models/create_comment_automation_request_spec.rb
|
|
5068
5080
|
- spec/models/create_call_ad_request_spec.rb
|
|
5069
5081
|
- spec/models/user_get_response_spec.rb
|
|
5082
|
+
- spec/models/purchase_whats_app_phone_number200_response_one_of_spec.rb
|
|
5070
5083
|
- spec/models/get_whats_app_flow200_response_flow_spec.rb
|
|
5071
5084
|
- spec/models/list_google_business_locations200_response_locations_inner_spec.rb
|
|
5072
5085
|
- spec/models/reserve_rf_prediction_request_spec.rb
|
|
@@ -5382,6 +5395,7 @@ test_files:
|
|
|
5382
5395
|
- spec/models/add_users_to_ad_audience_request_spec.rb
|
|
5383
5396
|
- spec/models/send_inbox_message_request_location_spec.rb
|
|
5384
5397
|
- spec/models/reply_to_inbox_review_request_spec.rb
|
|
5398
|
+
- spec/models/purchase_whats_app_phone_number200_response_one_of_phone_number_spec.rb
|
|
5385
5399
|
- spec/models/discord_platform_data_poll_answers_inner_spec.rb
|
|
5386
5400
|
- spec/models/pin_discord_message200_response_spec.rb
|
|
5387
5401
|
- spec/models/analytics_overview_data_staleness_spec.rb
|
|
@@ -6046,6 +6060,7 @@ test_files:
|
|
|
6046
6060
|
- spec/models/get_connect_url200_response_spec.rb
|
|
6047
6061
|
- spec/models/deactivate_sms_registration200_response_spec.rb
|
|
6048
6062
|
- spec/models/get_whats_app_number_info200_response_phone_spec.rb
|
|
6063
|
+
- spec/models/purchase_whats_app_phone_number200_response_spec.rb
|
|
6049
6064
|
- spec/models/get_phone_number_kyc_form200_response_reusable_details_inner_spec.rb
|
|
6050
6065
|
- spec/models/enable_voice_on_number200_response_business_hours_inner_spec.rb
|
|
6051
6066
|
- spec/models/list_whats_app_group_chats200_response_paging_cursors_spec.rb
|
|
@@ -6202,6 +6217,7 @@ test_files:
|
|
|
6202
6217
|
- spec/models/list_whats_app_flows200_response_spec.rb
|
|
6203
6218
|
- spec/models/get_linked_in_post_analytics200_response_analytics_spec.rb
|
|
6204
6219
|
- spec/models/search_ad_targeting200_response_results_inner_spec.rb
|
|
6220
|
+
- spec/models/purchase_whats_app_phone_number200_response_one_of1_spec.rb
|
|
6205
6221
|
- spec/models/webhook_payload_post_platform_post_spec.rb
|
|
6206
6222
|
- spec/models/get_google_business_search_keywords200_response_month_range_spec.rb
|
|
6207
6223
|
- spec/models/get_linked_in_post_analytics403_response_spec.rb
|