omnichannel 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +79 -0
- data/README.md +120 -0
- data/Rakefile +10 -0
- data/config.json +12 -0
- data/docs/Channel.md +7 -0
- data/docs/DeliveryReportApi.md +58 -0
- data/docs/DeliveryReportResponse.md +10 -0
- data/docs/DeliveryResult.md +13 -0
- data/docs/Err.md +7 -0
- data/docs/ErrorItem.md +11 -0
- data/docs/ErrorResponse.md +8 -0
- data/docs/Message.md +9 -0
- data/docs/MessageResult.md +10 -0
- data/docs/OmniMessageCreateSuccessResponse.md +10 -0
- data/docs/Omnimessage.md +11 -0
- data/docs/OmnimessageApi.md +107 -0
- data/docs/ResponseErrorCode.md +7 -0
- data/docs/ResponseErrorTitle.md +7 -0
- data/docs/SMS.md +13 -0
- data/docs/Status.md +7 -0
- data/docs/Viber.md +14 -0
- data/docs/WhatsApp.md +14 -0
- data/docs/WhatsAppAudio.md +8 -0
- data/docs/WhatsAppDocument.md +9 -0
- data/docs/WhatsAppImage.md +9 -0
- data/docs/WhatsAppText.md +9 -0
- data/git_push.sh +55 -0
- data/lib/omnichannel.rb +60 -0
- data/lib/omnichannel/api/delivery_report_api.rb +74 -0
- data/lib/omnichannel/api/omnimessage_api.rb +126 -0
- data/lib/omnichannel/api_client.rb +387 -0
- data/lib/omnichannel/api_error.rb +38 -0
- data/lib/omnichannel/configuration.rb +251 -0
- data/lib/omnichannel/models/channel.rb +39 -0
- data/lib/omnichannel/models/delivery_report_response.rb +229 -0
- data/lib/omnichannel/models/delivery_result.rb +239 -0
- data/lib/omnichannel/models/err.rb +48 -0
- data/lib/omnichannel/models/error_item.rb +240 -0
- data/lib/omnichannel/models/error_response.rb +198 -0
- data/lib/omnichannel/models/message.rb +207 -0
- data/lib/omnichannel/models/message_result.rb +226 -0
- data/lib/omnichannel/models/omni_message_create_success_response.rb +229 -0
- data/lib/omnichannel/models/omnimessage.rb +233 -0
- data/lib/omnichannel/models/response_error_code.rb +43 -0
- data/lib/omnichannel/models/response_error_title.rb +42 -0
- data/lib/omnichannel/models/sms.rb +249 -0
- data/lib/omnichannel/models/status.rb +47 -0
- data/lib/omnichannel/models/viber.rb +254 -0
- data/lib/omnichannel/models/whats_app.rb +250 -0
- data/lib/omnichannel/models/whats_app_audio.rb +197 -0
- data/lib/omnichannel/models/whats_app_document.rb +207 -0
- data/lib/omnichannel/models/whats_app_image.rb +207 -0
- data/lib/omnichannel/models/whats_app_text.rb +209 -0
- data/lib/omnichannel/version.rb +15 -0
- data/lib/openapi_client.rb +61 -0
- data/lib/openapi_client/api/delivery_report_api.rb +74 -0
- data/lib/openapi_client/api/omnimessage_api.rb +126 -0
- data/lib/openapi_client/api_client.rb +387 -0
- data/lib/openapi_client/api_error.rb +38 -0
- data/lib/openapi_client/configuration.rb +251 -0
- data/lib/openapi_client/models/channel.rb +39 -0
- data/lib/openapi_client/models/delivery_report_response.rb +229 -0
- data/lib/openapi_client/models/delivery_result.rb +239 -0
- data/lib/openapi_client/models/err.rb +48 -0
- data/lib/openapi_client/models/error_item.rb +240 -0
- data/lib/openapi_client/models/error_response.rb +198 -0
- data/lib/openapi_client/models/message.rb +221 -0
- data/lib/openapi_client/models/message_result.rb +226 -0
- data/lib/openapi_client/models/omni_message_create_success_response.rb +229 -0
- data/lib/openapi_client/models/omnimessage.rb +233 -0
- data/lib/openapi_client/models/response_error_code.rb +43 -0
- data/lib/openapi_client/models/response_error_title.rb +42 -0
- data/lib/openapi_client/models/sms.rb +228 -0
- data/lib/openapi_client/models/status.rb +47 -0
- data/lib/openapi_client/models/viber.rb +233 -0
- data/lib/openapi_client/models/whats_app.rb +229 -0
- data/lib/openapi_client/models/whats_app_audio.rb +197 -0
- data/lib/openapi_client/models/whats_app_document.rb +207 -0
- data/lib/openapi_client/models/whats_app_image.rb +207 -0
- data/lib/openapi_client/models/whats_app_text.rb +209 -0
- data/lib/openapi_client/version.rb +15 -0
- data/omnichannel.gemspec +45 -0
- data/spec/api/delivery_report_api_spec.rb +46 -0
- data/spec/api/omnimessage_api_spec.rb +57 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/channel_spec.rb +35 -0
- data/spec/models/delivery_report_response_spec.rb +53 -0
- data/spec/models/delivery_result_spec.rb +71 -0
- data/spec/models/err_spec.rb +35 -0
- data/spec/models/error_item_spec.rb +59 -0
- data/spec/models/error_response_spec.rb +41 -0
- data/spec/models/message_result_spec.rb +53 -0
- data/spec/models/message_spec.rb +53 -0
- data/spec/models/omni_message_create_success_response_spec.rb +53 -0
- data/spec/models/omnimessage_spec.rb +59 -0
- data/spec/models/response_error_code_spec.rb +35 -0
- data/spec/models/response_error_title_spec.rb +35 -0
- data/spec/models/sms_spec.rb +71 -0
- data/spec/models/status_spec.rb +35 -0
- data/spec/models/viber_spec.rb +77 -0
- data/spec/models/whats_app_audio_spec.rb +41 -0
- data/spec/models/whats_app_document_spec.rb +47 -0
- data/spec/models/whats_app_image_spec.rb +47 -0
- data/spec/models/whats_app_spec.rb +77 -0
- data/spec/models/whats_app_text_spec.rb +47 -0
- data/spec/spec_helper.rb +111 -0
- data/templates/README.mustache +114 -0
- metadata +358 -0
@@ -0,0 +1,35 @@
|
|
1
|
+
=begin
|
2
|
+
#Omnichannel API
|
3
|
+
|
4
|
+
#Messente's API which allows sending messages via various channels with fallback options.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.2
|
7
|
+
Contact: messente@messente.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.3.4
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OpenapiClient::ResponseErrorTitle
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ResponseErrorTitle' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OpenapiClient::ResponseErrorTitle.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ResponseErrorTitle' do
|
31
|
+
it 'should create an instance of ResponseErrorTitle' do
|
32
|
+
expect(@instance).to be_instance_of(OpenapiClient::ResponseErrorTitle)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,71 @@
|
|
1
|
+
=begin
|
2
|
+
#Omnichannel API
|
3
|
+
|
4
|
+
#Messente's API which allows sending messages via various channels with fallback options.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.2
|
7
|
+
Contact: messente@messente.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.3.4
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OpenapiClient::SMS
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'SMS' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OpenapiClient::SMS.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of SMS' do
|
31
|
+
it 'should create an instance of SMS' do
|
32
|
+
expect(@instance).to be_instance_of(OpenapiClient::SMS)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "channel"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "sender"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "validity"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "text"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "autoconvert"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'test attribute "udh"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
=begin
|
2
|
+
#Omnichannel API
|
3
|
+
|
4
|
+
#Messente's API which allows sending messages via various channels with fallback options.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.2
|
7
|
+
Contact: messente@messente.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.3.4
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OpenapiClient::Status
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Status' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OpenapiClient::Status.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Status' do
|
31
|
+
it 'should create an instance of Status' do
|
32
|
+
expect(@instance).to be_instance_of(OpenapiClient::Status)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,77 @@
|
|
1
|
+
=begin
|
2
|
+
#Omnichannel API
|
3
|
+
|
4
|
+
#Messente's API which allows sending messages via various channels with fallback options.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.2
|
7
|
+
Contact: messente@messente.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.3.4
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OpenapiClient::Viber
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Viber' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OpenapiClient::Viber.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Viber' do
|
31
|
+
it 'should create an instance of Viber' do
|
32
|
+
expect(@instance).to be_instance_of(OpenapiClient::Viber)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "channel"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "sender"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "validity"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "text"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "image_url"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'test attribute "button_url"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "button_text"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
=begin
|
2
|
+
#Omnichannel API
|
3
|
+
|
4
|
+
#Messente's API which allows sending messages via various channels with fallback options.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.2
|
7
|
+
Contact: messente@messente.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.3.4
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OpenapiClient::WhatsAppAudio
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'WhatsAppAudio' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OpenapiClient::WhatsAppAudio.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of WhatsAppAudio' do
|
31
|
+
it 'should create an instance of WhatsAppAudio' do
|
32
|
+
expect(@instance).to be_instance_of(OpenapiClient::WhatsAppAudio)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "content"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#Omnichannel API
|
3
|
+
|
4
|
+
#Messente's API which allows sending messages via various channels with fallback options.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.2
|
7
|
+
Contact: messente@messente.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.3.4
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OpenapiClient::WhatsAppDocument
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'WhatsAppDocument' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OpenapiClient::WhatsAppDocument.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of WhatsAppDocument' do
|
31
|
+
it 'should create an instance of WhatsAppDocument' do
|
32
|
+
expect(@instance).to be_instance_of(OpenapiClient::WhatsAppDocument)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "caption"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "content"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#Omnichannel API
|
3
|
+
|
4
|
+
#Messente's API which allows sending messages via various channels with fallback options.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.2
|
7
|
+
Contact: messente@messente.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.3.4
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OpenapiClient::WhatsAppImage
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'WhatsAppImage' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OpenapiClient::WhatsAppImage.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of WhatsAppImage' do
|
31
|
+
it 'should create an instance of WhatsAppImage' do
|
32
|
+
expect(@instance).to be_instance_of(OpenapiClient::WhatsAppImage)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "caption"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "content"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
@@ -0,0 +1,77 @@
|
|
1
|
+
=begin
|
2
|
+
#Omnichannel API
|
3
|
+
|
4
|
+
#Messente's API which allows sending messages via various channels with fallback options.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.2
|
7
|
+
Contact: messente@messente.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.3.4
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OpenapiClient::WhatsApp
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'WhatsApp' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OpenapiClient::WhatsApp.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of WhatsApp' do
|
31
|
+
it 'should create an instance of WhatsApp' do
|
32
|
+
expect(@instance).to be_instance_of(OpenapiClient::WhatsApp)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "channel"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "sender"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "validity"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "text"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "image"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'test attribute "document"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "audio"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#Omnichannel API
|
3
|
+
|
4
|
+
#Messente's API which allows sending messages via various channels with fallback options.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.2
|
7
|
+
Contact: messente@messente.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.3.4
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OpenapiClient::WhatsAppText
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'WhatsAppText' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OpenapiClient::WhatsAppText.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of WhatsAppText' do
|
31
|
+
it 'should create an instance of WhatsAppText' do
|
32
|
+
expect(@instance).to be_instance_of(OpenapiClient::WhatsAppText)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "preview_url"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "body"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|