late-sdk 0.0.92 → 0.0.93
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 +8 -0
- data/docs/CreateWhatsAppTemplateRequest.md +1 -1
- data/docs/UpdateWhatsAppTemplateRequest.md +1 -1
- data/docs/WhatsAppApi.md +1 -1
- data/docs/WhatsAppBodyComponent.md +24 -0
- data/docs/WhatsAppBodyComponentExample.md +18 -0
- data/docs/WhatsAppButtonsComponent.md +20 -0
- data/docs/WhatsAppFooterComponent.md +22 -0
- data/docs/WhatsAppHeaderComponent.md +24 -0
- data/docs/WhatsAppHeaderComponentExample.md +20 -0
- data/docs/WhatsAppTemplateButton.md +44 -0
- data/docs/WhatsAppTemplateComponent.md +85 -0
- data/lib/late-sdk/models/create_whats_app_template_request.rb +21 -2
- data/lib/late-sdk/models/update_whats_app_template_request.rb +10 -1
- data/lib/late-sdk/models/whats_app_body_component.rb +234 -0
- data/lib/late-sdk/models/whats_app_body_component_example.rb +150 -0
- data/lib/late-sdk/models/whats_app_buttons_component.rb +225 -0
- data/lib/late-sdk/models/whats_app_footer_component.rb +227 -0
- data/lib/late-sdk/models/whats_app_header_component.rb +235 -0
- data/lib/late-sdk/models/whats_app_header_component_example.rb +190 -0
- data/lib/late-sdk/models/whats_app_template_button.rb +345 -0
- data/lib/late-sdk/models/whats_app_template_component.rb +59 -0
- data/lib/late-sdk/version.rb +1 -1
- data/lib/late-sdk.rb +8 -0
- data/openapi.yaml +156 -5
- data/spec/models/whats_app_body_component_example_spec.rb +36 -0
- data/spec/models/whats_app_body_component_spec.rb +58 -0
- data/spec/models/whats_app_buttons_component_spec.rb +46 -0
- data/spec/models/whats_app_footer_component_spec.rb +52 -0
- data/spec/models/whats_app_header_component_example_spec.rb +42 -0
- data/spec/models/whats_app_header_component_spec.rb +62 -0
- data/spec/models/whats_app_template_button_spec.rb +122 -0
- data/spec/models/whats_app_template_component_spec.rb +44 -0
- data/zernio-sdk-0.0.93.gem +0 -0
- metadata +34 -2
- data/zernio-sdk-0.0.92.gem +0 -0
|
@@ -0,0 +1,58 @@
|
|
|
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.1
|
|
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 Late::WhatsAppBodyComponent
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::WhatsAppBodyComponent do
|
|
21
|
+
#let(:instance) { Late::WhatsAppBodyComponent.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of WhatsAppBodyComponent' do
|
|
24
|
+
it 'should create an instance of WhatsAppBodyComponent' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::WhatsAppBodyComponent)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "type"' 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', ["BODY"])
|
|
34
|
+
# validator.allowable_values.each do |value|
|
|
35
|
+
# expect { instance.type = value }.not_to raise_error
|
|
36
|
+
# end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "text"' 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 "add_security_recommendation"' 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
|
+
describe 'test attribute "example"' 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
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
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.1
|
|
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 Late::WhatsAppButtonsComponent
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::WhatsAppButtonsComponent do
|
|
21
|
+
#let(:instance) { Late::WhatsAppButtonsComponent.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of WhatsAppButtonsComponent' do
|
|
24
|
+
it 'should create an instance of WhatsAppButtonsComponent' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::WhatsAppButtonsComponent)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "type"' 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', ["BUTTONS"])
|
|
34
|
+
# validator.allowable_values.each do |value|
|
|
35
|
+
# expect { instance.type = value }.not_to raise_error
|
|
36
|
+
# end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "buttons"' 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
|
+
end
|
|
@@ -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.1
|
|
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 Late::WhatsAppFooterComponent
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::WhatsAppFooterComponent do
|
|
21
|
+
#let(:instance) { Late::WhatsAppFooterComponent.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of WhatsAppFooterComponent' do
|
|
24
|
+
it 'should create an instance of WhatsAppFooterComponent' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::WhatsAppFooterComponent)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "type"' 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', ["FOOTER"])
|
|
34
|
+
# validator.allowable_values.each do |value|
|
|
35
|
+
# expect { instance.type = value }.not_to raise_error
|
|
36
|
+
# end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "text"' 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 "code_expiration_minutes"' 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,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.1
|
|
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 Late::WhatsAppHeaderComponentExample
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::WhatsAppHeaderComponentExample do
|
|
21
|
+
#let(:instance) { Late::WhatsAppHeaderComponentExample.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of WhatsAppHeaderComponentExample' do
|
|
24
|
+
it 'should create an instance of WhatsAppHeaderComponentExample' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::WhatsAppHeaderComponentExample)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "header_text"' 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 "header_handle"' 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,62 @@
|
|
|
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.1
|
|
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 Late::WhatsAppHeaderComponent
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::WhatsAppHeaderComponent do
|
|
21
|
+
#let(:instance) { Late::WhatsAppHeaderComponent.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of WhatsAppHeaderComponent' do
|
|
24
|
+
it 'should create an instance of WhatsAppHeaderComponent' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::WhatsAppHeaderComponent)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "type"' 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', ["HEADER"])
|
|
34
|
+
# validator.allowable_values.each do |value|
|
|
35
|
+
# expect { instance.type = value }.not_to raise_error
|
|
36
|
+
# end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "format"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["TEXT", "IMAGE", "VIDEO", "GIF", "DOCUMENT", "LOCATION"])
|
|
44
|
+
# validator.allowable_values.each do |value|
|
|
45
|
+
# expect { instance.format = value }.not_to raise_error
|
|
46
|
+
# end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
describe 'test attribute "text"' do
|
|
51
|
+
it 'should work' do
|
|
52
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
describe 'test attribute "example"' do
|
|
57
|
+
it 'should work' do
|
|
58
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
end
|
|
@@ -0,0 +1,122 @@
|
|
|
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.1
|
|
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 Late::WhatsAppTemplateButton
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::WhatsAppTemplateButton do
|
|
21
|
+
#let(:instance) { Late::WhatsAppTemplateButton.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of WhatsAppTemplateButton' do
|
|
24
|
+
it 'should create an instance of WhatsAppTemplateButton' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::WhatsAppTemplateButton)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "type"' 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', ["QUICK_REPLY", "URL", "PHONE_NUMBER", "OTP", "FLOW", "MPM", "CATALOG"])
|
|
34
|
+
# validator.allowable_values.each do |value|
|
|
35
|
+
# expect { instance.type = value }.not_to raise_error
|
|
36
|
+
# end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "text"' 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 "url"' 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
|
+
describe 'test attribute "example"' 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 "phone_number"' 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 "otp_type"' do
|
|
65
|
+
it 'should work' do
|
|
66
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
67
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["COPY_CODE", "ONE_TAP", "ZERO_TAP"])
|
|
68
|
+
# validator.allowable_values.each do |value|
|
|
69
|
+
# expect { instance.otp_type = value }.not_to raise_error
|
|
70
|
+
# end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
describe 'test attribute "autofill_text"' do
|
|
75
|
+
it 'should work' do
|
|
76
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
describe 'test attribute "package_name"' do
|
|
81
|
+
it 'should work' do
|
|
82
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
describe 'test attribute "signature_hash"' do
|
|
87
|
+
it 'should work' do
|
|
88
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
89
|
+
end
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
describe 'test attribute "flow_id"' do
|
|
93
|
+
it 'should work' do
|
|
94
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
describe 'test attribute "flow_name"' do
|
|
99
|
+
it 'should work' do
|
|
100
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
describe 'test attribute "flow_json"' do
|
|
105
|
+
it 'should work' do
|
|
106
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
107
|
+
end
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
describe 'test attribute "flow_action"' do
|
|
111
|
+
it 'should work' do
|
|
112
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
describe 'test attribute "navigate_screen"' do
|
|
117
|
+
it 'should work' do
|
|
118
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
119
|
+
end
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
end
|
|
@@ -0,0 +1,44 @@
|
|
|
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.1
|
|
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 Late::WhatsAppTemplateComponent
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::WhatsAppTemplateComponent 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 '.openapi_discriminator_name' do
|
|
28
|
+
it 'returns the value of the "discriminator" property' do
|
|
29
|
+
expect(described_class.openapi_discriminator_name).to_not be_empty
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
describe '.openapi_discriminator_mapping' do
|
|
34
|
+
it 'returns the key/values of the "mapping" property' do
|
|
35
|
+
expect(described_class.openapi_discriminator_mapping.values.sort).to eq(described_class.openapi_one_of.sort)
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
describe '.build' do
|
|
40
|
+
it 'returns the correct model' do
|
|
41
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
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.93
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -771,7 +771,15 @@ files:
|
|
|
771
771
|
- docs/WebhookPayloadTest.md
|
|
772
772
|
- docs/WebhooksApi.md
|
|
773
773
|
- docs/WhatsAppApi.md
|
|
774
|
+
- docs/WhatsAppBodyComponent.md
|
|
775
|
+
- docs/WhatsAppBodyComponentExample.md
|
|
776
|
+
- docs/WhatsAppButtonsComponent.md
|
|
777
|
+
- docs/WhatsAppFooterComponent.md
|
|
778
|
+
- docs/WhatsAppHeaderComponent.md
|
|
779
|
+
- docs/WhatsAppHeaderComponentExample.md
|
|
774
780
|
- docs/WhatsAppPhoneNumbersApi.md
|
|
781
|
+
- docs/WhatsAppTemplateButton.md
|
|
782
|
+
- docs/WhatsAppTemplateComponent.md
|
|
775
783
|
- docs/YouTubeDailyViewsResponse.md
|
|
776
784
|
- docs/YouTubeDailyViewsResponseDailyViewsInner.md
|
|
777
785
|
- docs/YouTubeDailyViewsResponseDateRange.md
|
|
@@ -1496,6 +1504,14 @@ files:
|
|
|
1496
1504
|
- lib/late-sdk/models/webhook_payload_post_post.rb
|
|
1497
1505
|
- lib/late-sdk/models/webhook_payload_post_post_platforms_inner.rb
|
|
1498
1506
|
- lib/late-sdk/models/webhook_payload_test.rb
|
|
1507
|
+
- lib/late-sdk/models/whats_app_body_component.rb
|
|
1508
|
+
- lib/late-sdk/models/whats_app_body_component_example.rb
|
|
1509
|
+
- lib/late-sdk/models/whats_app_buttons_component.rb
|
|
1510
|
+
- lib/late-sdk/models/whats_app_footer_component.rb
|
|
1511
|
+
- lib/late-sdk/models/whats_app_header_component.rb
|
|
1512
|
+
- lib/late-sdk/models/whats_app_header_component_example.rb
|
|
1513
|
+
- lib/late-sdk/models/whats_app_template_button.rb
|
|
1514
|
+
- lib/late-sdk/models/whats_app_template_component.rb
|
|
1499
1515
|
- lib/late-sdk/models/you_tube_daily_views_response.rb
|
|
1500
1516
|
- lib/late-sdk/models/you_tube_daily_views_response_daily_views_inner.rb
|
|
1501
1517
|
- lib/late-sdk/models/you_tube_daily_views_response_date_range.rb
|
|
@@ -2215,6 +2231,14 @@ files:
|
|
|
2215
2231
|
- spec/models/webhook_payload_post_spec.rb
|
|
2216
2232
|
- spec/models/webhook_payload_test_spec.rb
|
|
2217
2233
|
- spec/models/webhook_spec.rb
|
|
2234
|
+
- spec/models/whats_app_body_component_example_spec.rb
|
|
2235
|
+
- spec/models/whats_app_body_component_spec.rb
|
|
2236
|
+
- spec/models/whats_app_buttons_component_spec.rb
|
|
2237
|
+
- spec/models/whats_app_footer_component_spec.rb
|
|
2238
|
+
- spec/models/whats_app_header_component_example_spec.rb
|
|
2239
|
+
- spec/models/whats_app_header_component_spec.rb
|
|
2240
|
+
- spec/models/whats_app_template_button_spec.rb
|
|
2241
|
+
- spec/models/whats_app_template_component_spec.rb
|
|
2218
2242
|
- spec/models/you_tube_daily_views_response_daily_views_inner_spec.rb
|
|
2219
2243
|
- spec/models/you_tube_daily_views_response_date_range_spec.rb
|
|
2220
2244
|
- spec/models/you_tube_daily_views_response_scope_status_spec.rb
|
|
@@ -2223,7 +2247,7 @@ files:
|
|
|
2223
2247
|
- spec/models/you_tube_scope_missing_response_scope_status_spec.rb
|
|
2224
2248
|
- spec/models/you_tube_scope_missing_response_spec.rb
|
|
2225
2249
|
- spec/spec_helper.rb
|
|
2226
|
-
- zernio-sdk-0.0.
|
|
2250
|
+
- zernio-sdk-0.0.93.gem
|
|
2227
2251
|
homepage: https://openapi-generator.tech
|
|
2228
2252
|
licenses:
|
|
2229
2253
|
- Unlicense
|
|
@@ -2315,6 +2339,7 @@ test_files:
|
|
|
2315
2339
|
- spec/models/get_content_decay200_response_spec.rb
|
|
2316
2340
|
- spec/models/create_whats_app_group_chat_request_spec.rb
|
|
2317
2341
|
- spec/models/like_inbox_comment200_response_spec.rb
|
|
2342
|
+
- spec/models/whats_app_body_component_spec.rb
|
|
2318
2343
|
- spec/models/get_reddit_flairs200_response_flairs_inner_spec.rb
|
|
2319
2344
|
- spec/models/get_sequence200_response_sequence_steps_inner_template_spec.rb
|
|
2320
2345
|
- spec/models/upload_token_status_response_spec.rb
|
|
@@ -2362,6 +2387,7 @@ test_files:
|
|
|
2362
2387
|
- spec/models/approve_whats_app_group_join_requests_request_spec.rb
|
|
2363
2388
|
- spec/models/get_post_timeline200_response_timeline_inner_spec.rb
|
|
2364
2389
|
- spec/models/validate_post200_response_spec.rb
|
|
2390
|
+
- spec/models/whats_app_header_component_example_spec.rb
|
|
2365
2391
|
- spec/models/update_facebook_page200_response_selected_page_spec.rb
|
|
2366
2392
|
- spec/models/get_youtube_playlists200_response_spec.rb
|
|
2367
2393
|
- spec/models/inline_object_spec.rb
|
|
@@ -2627,6 +2653,7 @@ test_files:
|
|
|
2627
2653
|
- spec/models/update_post_request_spec.rb
|
|
2628
2654
|
- spec/models/analytics_list_response_posts_inner_spec.rb
|
|
2629
2655
|
- spec/models/get_google_business_location_details200_response_service_items_inner_price_spec.rb
|
|
2656
|
+
- spec/models/whats_app_body_component_example_spec.rb
|
|
2630
2657
|
- spec/models/get_whats_app_phone_number200_response_phone_number_spec.rb
|
|
2631
2658
|
- spec/models/update_whats_app_display_name200_response_spec.rb
|
|
2632
2659
|
- spec/models/create_post409_response_details_spec.rb
|
|
@@ -2734,12 +2761,14 @@ test_files:
|
|
|
2734
2761
|
- spec/models/get_contact_channels200_response_spec.rb
|
|
2735
2762
|
- spec/models/update_comment_automation200_response_spec.rb
|
|
2736
2763
|
- spec/models/create_account_group201_response_spec.rb
|
|
2764
|
+
- spec/models/whats_app_footer_component_spec.rb
|
|
2737
2765
|
- spec/models/update_google_business_attributes200_response_spec.rb
|
|
2738
2766
|
- spec/models/get_user200_response_spec.rb
|
|
2739
2767
|
- spec/models/validate_post_request_media_items_inner_spec.rb
|
|
2740
2768
|
- spec/models/create_whats_app_broadcast200_response_broadcast_spec.rb
|
|
2741
2769
|
- spec/models/connect_whats_app_credentials200_response_account_spec.rb
|
|
2742
2770
|
- spec/models/update_google_business_food_menus_request_spec.rb
|
|
2771
|
+
- spec/models/whats_app_header_component_spec.rb
|
|
2743
2772
|
- spec/models/instagram_account_insights_response_metrics_value_spec.rb
|
|
2744
2773
|
- spec/models/get_connect_url200_response_spec.rb
|
|
2745
2774
|
- spec/models/send_inbox_message_request_buttons_inner_spec.rb
|
|
@@ -2750,6 +2779,7 @@ test_files:
|
|
|
2750
2779
|
- spec/models/queue_update_response_spec.rb
|
|
2751
2780
|
- spec/models/update_google_business_location_details200_response_spec.rb
|
|
2752
2781
|
- spec/models/get_post_logs200_response_spec.rb
|
|
2782
|
+
- spec/models/whats_app_buttons_component_spec.rb
|
|
2753
2783
|
- spec/models/select_pinterest_board200_response_spec.rb
|
|
2754
2784
|
- spec/models/schedule_whats_app_broadcast_request_spec.rb
|
|
2755
2785
|
- spec/models/post_log_response_spec.rb
|
|
@@ -2771,6 +2801,7 @@ test_files:
|
|
|
2771
2801
|
- spec/models/update_gmb_location200_response_spec.rb
|
|
2772
2802
|
- spec/models/get_whats_app_phone_numbers200_response_spec.rb
|
|
2773
2803
|
- spec/models/get_whats_app_broadcast_recipients200_response_recipients_inner_spec.rb
|
|
2804
|
+
- spec/models/whats_app_template_button_spec.rb
|
|
2774
2805
|
- spec/models/update_custom_field200_response_field_spec.rb
|
|
2775
2806
|
- spec/models/validate_post_length200_response_spec.rb
|
|
2776
2807
|
- spec/models/gbp_special_hour_period_spec.rb
|
|
@@ -2850,6 +2881,7 @@ test_files:
|
|
|
2850
2881
|
- spec/models/linked_in_aggregate_analytics_daily_response_analytics_impressions_inner_spec.rb
|
|
2851
2882
|
- spec/models/gbp_free_form_service_item_label_spec.rb
|
|
2852
2883
|
- spec/models/get_whats_app_groups200_response_summary_spec.rb
|
|
2884
|
+
- spec/models/whats_app_template_component_spec.rb
|
|
2853
2885
|
- spec/models/update_comment_automation200_response_automation_spec.rb
|
|
2854
2886
|
- spec/models/update_whats_app_contact200_response_spec.rb
|
|
2855
2887
|
- spec/models/send_inbox_message_request_reply_markup_spec.rb
|
data/zernio-sdk-0.0.92.gem
DELETED
|
Binary file
|