messente_api 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +79 -0
- data/README.md +118 -0
- data/Rakefile +10 -0
- data/docs/BlacklistApi.md +209 -0
- data/docs/Channel.md +16 -0
- data/docs/ContactEnvelope.md +17 -0
- data/docs/ContactFields.md +35 -0
- data/docs/ContactListEnvelope.md +17 -0
- data/docs/ContactUpdateFields.md +33 -0
- data/docs/ContactsApi.md +430 -0
- data/docs/DeliveryReportApi.md +60 -0
- data/docs/DeliveryReportResponse.md +21 -0
- data/docs/DeliveryResult.md +27 -0
- data/docs/ErrorCodeOmnichannel.md +16 -0
- data/docs/ErrorCodeOmnichannelMachine.md +16 -0
- data/docs/ErrorCodePhonebook.md +16 -0
- data/docs/ErrorItemOmnichannel.md +23 -0
- data/docs/ErrorItemPhonebook.md +21 -0
- data/docs/ErrorOmnichannel.md +17 -0
- data/docs/ErrorPhonebook.md +17 -0
- data/docs/ErrorTitleOmnichannel.md +16 -0
- data/docs/ErrorTitlePhonebook.md +16 -0
- data/docs/FetchBlacklistSuccess.md +17 -0
- data/docs/GroupEnvelope.md +17 -0
- data/docs/GroupListEnvelope.md +17 -0
- data/docs/GroupName.md +17 -0
- data/docs/GroupResponseFields.md +23 -0
- data/docs/GroupsApi.md +265 -0
- data/docs/MessageResult.md +21 -0
- data/docs/NumberToBlacklist.md +17 -0
- data/docs/OmniMessageCreateSuccessResponse.md +21 -0
- data/docs/Omnimessage.md +25 -0
- data/docs/OmnimessageApi.md +111 -0
- data/docs/SMS.md +27 -0
- data/docs/Status.md +16 -0
- data/docs/TextStore.md +16 -0
- data/docs/Viber.md +29 -0
- data/docs/WhatsApp.md +29 -0
- data/docs/WhatsAppAudio.md +17 -0
- data/docs/WhatsAppDocument.md +19 -0
- data/docs/WhatsAppImage.md +19 -0
- data/docs/WhatsAppText.md +19 -0
- data/git_push.sh +55 -0
- data/lib/messente_api.rb +78 -0
- data/lib/messente_api/api/blacklist_api.rb +258 -0
- data/lib/messente_api/api/contacts_api.rb +521 -0
- data/lib/messente_api/api/delivery_report_api.rb +82 -0
- data/lib/messente_api/api/groups_api.rb +326 -0
- data/lib/messente_api/api/omnimessage_api.rb +144 -0
- data/lib/messente_api/api_client.rb +387 -0
- data/lib/messente_api/api_error.rb +57 -0
- data/lib/messente_api/configuration.rb +251 -0
- data/lib/messente_api/models/channel.rb +37 -0
- data/lib/messente_api/models/contact_envelope.rb +196 -0
- data/lib/messente_api/models/contact_fields.rb +283 -0
- data/lib/messente_api/models/contact_list_envelope.rb +198 -0
- data/lib/messente_api/models/contact_update_fields.rb +268 -0
- data/lib/messente_api/models/delivery_report_response.rb +234 -0
- data/lib/messente_api/models/delivery_result.rb +244 -0
- data/lib/messente_api/models/error_code_omnichannel.rb +41 -0
- data/lib/messente_api/models/error_code_omnichannel_machine.rb +46 -0
- data/lib/messente_api/models/error_code_phonebook.rb +40 -0
- data/lib/messente_api/models/error_item_omnichannel.rb +245 -0
- data/lib/messente_api/models/error_item_phonebook.rb +230 -0
- data/lib/messente_api/models/error_omnichannel.rb +203 -0
- data/lib/messente_api/models/error_phonebook.rb +203 -0
- data/lib/messente_api/models/error_title_omnichannel.rb +41 -0
- data/lib/messente_api/models/error_title_phonebook.rb +40 -0
- data/lib/messente_api/models/fetch_blacklist_success.rb +198 -0
- data/lib/messente_api/models/group_envelope.rb +196 -0
- data/lib/messente_api/models/group_list_envelope.rb +198 -0
- data/lib/messente_api/models/group_name.rb +220 -0
- data/lib/messente_api/models/group_response_fields.rb +240 -0
- data/lib/messente_api/models/message_result.rb +231 -0
- data/lib/messente_api/models/number_to_blacklist.rb +202 -0
- data/lib/messente_api/models/omni_message_create_success_response.rb +234 -0
- data/lib/messente_api/models/omnimessage.rb +247 -0
- data/lib/messente_api/models/sms.rb +300 -0
- data/lib/messente_api/models/status.rb +45 -0
- data/lib/messente_api/models/text_store.rb +37 -0
- data/lib/messente_api/models/viber.rb +293 -0
- data/lib/messente_api/models/whats_app.rb +289 -0
- data/lib/messente_api/models/whats_app_audio.rb +202 -0
- data/lib/messente_api/models/whats_app_document.rb +212 -0
- data/lib/messente_api/models/whats_app_image.rb +212 -0
- data/lib/messente_api/models/whats_app_text.rb +214 -0
- data/lib/messente_api/version.rb +15 -0
- data/messente_api.gemspec +45 -0
- data/spec/api/blacklist_api_spec.rb +78 -0
- data/spec/api/contacts_api_spec.rb +126 -0
- data/spec/api/delivery_report_api_spec.rb +46 -0
- data/spec/api/groups_api_spec.rb +90 -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/contact_envelope_spec.rb +41 -0
- data/spec/models/contact_fields_spec.rb +95 -0
- data/spec/models/contact_list_envelope_spec.rb +41 -0
- data/spec/models/contact_update_fields_spec.rb +89 -0
- data/spec/models/delivery_report_response_spec.rb +53 -0
- data/spec/models/delivery_result_spec.rb +71 -0
- data/spec/models/error_code_omnichannel_machine_spec.rb +35 -0
- data/spec/models/error_code_omnichannel_spec.rb +35 -0
- data/spec/models/error_code_phonebook_spec.rb +35 -0
- data/spec/models/error_item_omnichannel_spec.rb +59 -0
- data/spec/models/error_item_phonebook_spec.rb +53 -0
- data/spec/models/error_omnichannel_spec.rb +41 -0
- data/spec/models/error_phonebook_spec.rb +41 -0
- data/spec/models/error_title_omnichannel_spec.rb +35 -0
- data/spec/models/error_title_phonebook_spec.rb +35 -0
- data/spec/models/fetch_blacklist_success_spec.rb +41 -0
- data/spec/models/group_envelope_spec.rb +41 -0
- data/spec/models/group_list_envelope_spec.rb +41 -0
- data/spec/models/group_name_spec.rb +41 -0
- data/spec/models/group_response_fields_spec.rb +59 -0
- data/spec/models/message_result_spec.rb +53 -0
- data/spec/models/number_to_blacklist_spec.rb +41 -0
- data/spec/models/omni_message_create_success_response_spec.rb +53 -0
- data/spec/models/omnimessage_spec.rb +65 -0
- data/spec/models/sms_spec.rb +79 -0
- data/spec/models/status_spec.rb +35 -0
- data/spec/models/text_store_spec.rb +35 -0
- data/spec/models/viber_spec.rb +81 -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 +81 -0
- data/spec/models/whats_app_text_spec.rb +47 -0
- data/spec/spec_helper.rb +111 -0
- metadata +401 -0
@@ -0,0 +1,35 @@
|
|
1
|
+
=begin
|
2
|
+
#Messente API
|
3
|
+
|
4
|
+
#[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
7
|
+
Contact: messente@messente.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MessenteApi::Channel
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Channel' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = MessenteApi::Channel.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Channel' do
|
31
|
+
it 'should create an instance of Channel' do
|
32
|
+
expect(@instance).to be_instance_of(MessenteApi::Channel)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
=begin
|
2
|
+
#Messente API
|
3
|
+
|
4
|
+
#[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
7
|
+
Contact: messente@messente.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MessenteApi::ContactEnvelope
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ContactEnvelope' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = MessenteApi::ContactEnvelope.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ContactEnvelope' do
|
31
|
+
it 'should create an instance of ContactEnvelope' do
|
32
|
+
expect(@instance).to be_instance_of(MessenteApi::ContactEnvelope)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "contact"' 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,95 @@
|
|
1
|
+
=begin
|
2
|
+
#Messente API
|
3
|
+
|
4
|
+
#[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
7
|
+
Contact: messente@messente.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MessenteApi::ContactFields
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ContactFields' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = MessenteApi::ContactFields.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ContactFields' do
|
31
|
+
it 'should create an instance of ContactFields' do
|
32
|
+
expect(@instance).to be_instance_of(MessenteApi::ContactFields)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "phone_number"' 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 "email"' 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 "first_name"' 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 "last_name"' 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 "company"' 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 "title"' 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 "custom"' 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
|
+
describe 'test attribute "custom2"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe 'test attribute "custom3"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
describe 'test attribute "custom4"' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
=begin
|
2
|
+
#Messente API
|
3
|
+
|
4
|
+
#[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
7
|
+
Contact: messente@messente.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MessenteApi::ContactListEnvelope
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ContactListEnvelope' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = MessenteApi::ContactListEnvelope.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ContactListEnvelope' do
|
31
|
+
it 'should create an instance of ContactListEnvelope' do
|
32
|
+
expect(@instance).to be_instance_of(MessenteApi::ContactListEnvelope)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "contacts"' 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,89 @@
|
|
1
|
+
=begin
|
2
|
+
#Messente API
|
3
|
+
|
4
|
+
#[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
7
|
+
Contact: messente@messente.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MessenteApi::ContactUpdateFields
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ContactUpdateFields' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = MessenteApi::ContactUpdateFields.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ContactUpdateFields' do
|
31
|
+
it 'should create an instance of ContactUpdateFields' do
|
32
|
+
expect(@instance).to be_instance_of(MessenteApi::ContactUpdateFields)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "email"' 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 "first_name"' 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 "last_name"' 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 "company"' 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 "title"' 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 "custom"' 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 "custom2"' 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
|
+
describe 'test attribute "custom3"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe 'test attribute "custom4"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
=begin
|
2
|
+
#Messente API
|
3
|
+
|
4
|
+
#[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
7
|
+
Contact: messente@messente.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MessenteApi::DeliveryReportResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'DeliveryReportResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = MessenteApi::DeliveryReportResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of DeliveryReportResponse' do
|
31
|
+
it 'should create an instance of DeliveryReportResponse' do
|
32
|
+
expect(@instance).to be_instance_of(MessenteApi::DeliveryReportResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "statuses"' 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 "to"' 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 "omnimessage_id"' 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
|
+
end
|
@@ -0,0 +1,71 @@
|
|
1
|
+
=begin
|
2
|
+
#Messente API
|
3
|
+
|
4
|
+
#[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
7
|
+
Contact: messente@messente.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MessenteApi::DeliveryResult
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'DeliveryResult' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = MessenteApi::DeliveryResult.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of DeliveryResult' do
|
31
|
+
it 'should create an instance of DeliveryResult' do
|
32
|
+
expect(@instance).to be_instance_of(MessenteApi::DeliveryResult)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "status"' 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 "channel"' 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 "message_id"' 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 "error"' 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 "err"' 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 "timestamp"' 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
|
+
#Messente API
|
3
|
+
|
4
|
+
#[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
7
|
+
Contact: messente@messente.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MessenteApi::ErrorCodeOmnichannelMachine
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ErrorCodeOmnichannelMachine' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = MessenteApi::ErrorCodeOmnichannelMachine.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ErrorCodeOmnichannelMachine' do
|
31
|
+
it 'should create an instance of ErrorCodeOmnichannelMachine' do
|
32
|
+
expect(@instance).to be_instance_of(MessenteApi::ErrorCodeOmnichannelMachine)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|