messente_api 1.0.2 → 1.0.3

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.
Files changed (94) hide show
  1. checksums.yaml +5 -5
  2. data/Gemfile.lock +1 -1
  3. data/README.md +2 -2
  4. data/docs/BlacklistApi.md +3 -3
  5. data/docs/ContactsApi.md +11 -11
  6. data/docs/GroupsApi.md +5 -5
  7. data/lib/messente_api.rb +1 -1
  8. data/lib/messente_api/api/blacklist_api.rb +4 -4
  9. data/lib/messente_api/api/contacts_api.rb +8 -8
  10. data/lib/messente_api/api/delivery_report_api.rb +3 -3
  11. data/lib/messente_api/api/groups_api.rb +5 -5
  12. data/lib/messente_api/api/omnimessage_api.rb +3 -3
  13. data/lib/messente_api/api_client.rb +2 -3
  14. data/lib/messente_api/api_error.rb +1 -1
  15. data/lib/messente_api/configuration.rb +2 -5
  16. data/lib/messente_api/models/channel.rb +1 -1
  17. data/lib/messente_api/models/contact_envelope.rb +1 -1
  18. data/lib/messente_api/models/contact_fields.rb +1 -1
  19. data/lib/messente_api/models/contact_list_envelope.rb +1 -1
  20. data/lib/messente_api/models/contact_update_fields.rb +1 -1
  21. data/lib/messente_api/models/delivery_report_response.rb +1 -1
  22. data/lib/messente_api/models/delivery_result.rb +1 -1
  23. data/lib/messente_api/models/error_code_omnichannel.rb +1 -1
  24. data/lib/messente_api/models/error_code_omnichannel_machine.rb +1 -1
  25. data/lib/messente_api/models/error_code_phonebook.rb +1 -1
  26. data/lib/messente_api/models/error_item_omnichannel.rb +1 -1
  27. data/lib/messente_api/models/error_item_phonebook.rb +1 -1
  28. data/lib/messente_api/models/error_omnichannel.rb +1 -1
  29. data/lib/messente_api/models/error_phonebook.rb +1 -1
  30. data/lib/messente_api/models/error_title_omnichannel.rb +1 -1
  31. data/lib/messente_api/models/error_title_phonebook.rb +1 -1
  32. data/lib/messente_api/models/fetch_blacklist_success.rb +1 -1
  33. data/lib/messente_api/models/group_envelope.rb +1 -1
  34. data/lib/messente_api/models/group_list_envelope.rb +1 -1
  35. data/lib/messente_api/models/group_name.rb +1 -1
  36. data/lib/messente_api/models/group_response_fields.rb +1 -1
  37. data/lib/messente_api/models/message_result.rb +1 -1
  38. data/lib/messente_api/models/number_to_blacklist.rb +1 -1
  39. data/lib/messente_api/models/omni_message_create_success_response.rb +1 -1
  40. data/lib/messente_api/models/omnimessage.rb +1 -1
  41. data/lib/messente_api/models/sms.rb +1 -1
  42. data/lib/messente_api/models/status.rb +1 -1
  43. data/lib/messente_api/models/text_store.rb +1 -1
  44. data/lib/messente_api/models/viber.rb +1 -1
  45. data/lib/messente_api/models/whats_app.rb +1 -1
  46. data/lib/messente_api/models/whats_app_audio.rb +1 -1
  47. data/lib/messente_api/models/whats_app_document.rb +1 -1
  48. data/lib/messente_api/models/whats_app_image.rb +1 -1
  49. data/lib/messente_api/models/whats_app_text.rb +1 -1
  50. data/lib/messente_api/version.rb +2 -2
  51. data/messente_api.gemspec +3 -3
  52. data/spec/api_client_spec.rb +1 -1
  53. data/spec/configuration_spec.rb +1 -1
  54. data/spec/spec_helper.rb +1 -1
  55. metadata +17 -96
  56. data/spec/api/blacklist_api_spec.rb +0 -78
  57. data/spec/api/contacts_api_spec.rb +0 -126
  58. data/spec/api/delivery_report_api_spec.rb +0 -46
  59. data/spec/api/groups_api_spec.rb +0 -90
  60. data/spec/api/omnimessage_api_spec.rb +0 -57
  61. data/spec/models/channel_spec.rb +0 -35
  62. data/spec/models/contact_envelope_spec.rb +0 -41
  63. data/spec/models/contact_fields_spec.rb +0 -95
  64. data/spec/models/contact_list_envelope_spec.rb +0 -41
  65. data/spec/models/contact_update_fields_spec.rb +0 -89
  66. data/spec/models/delivery_report_response_spec.rb +0 -53
  67. data/spec/models/delivery_result_spec.rb +0 -71
  68. data/spec/models/error_code_omnichannel_machine_spec.rb +0 -35
  69. data/spec/models/error_code_omnichannel_spec.rb +0 -35
  70. data/spec/models/error_code_phonebook_spec.rb +0 -35
  71. data/spec/models/error_item_omnichannel_spec.rb +0 -59
  72. data/spec/models/error_item_phonebook_spec.rb +0 -53
  73. data/spec/models/error_omnichannel_spec.rb +0 -41
  74. data/spec/models/error_phonebook_spec.rb +0 -41
  75. data/spec/models/error_title_omnichannel_spec.rb +0 -35
  76. data/spec/models/error_title_phonebook_spec.rb +0 -35
  77. data/spec/models/fetch_blacklist_success_spec.rb +0 -41
  78. data/spec/models/group_envelope_spec.rb +0 -41
  79. data/spec/models/group_list_envelope_spec.rb +0 -41
  80. data/spec/models/group_name_spec.rb +0 -41
  81. data/spec/models/group_response_fields_spec.rb +0 -59
  82. data/spec/models/message_result_spec.rb +0 -53
  83. data/spec/models/number_to_blacklist_spec.rb +0 -41
  84. data/spec/models/omni_message_create_success_response_spec.rb +0 -53
  85. data/spec/models/omnimessage_spec.rb +0 -65
  86. data/spec/models/sms_spec.rb +0 -79
  87. data/spec/models/status_spec.rb +0 -35
  88. data/spec/models/text_store_spec.rb +0 -35
  89. data/spec/models/viber_spec.rb +0 -81
  90. data/spec/models/whats_app_audio_spec.rb +0 -41
  91. data/spec/models/whats_app_document_spec.rb +0 -47
  92. data/spec/models/whats_app_image_spec.rb +0 -47
  93. data/spec/models/whats_app_spec.rb +0 -81
  94. data/spec/models/whats_app_text_spec.rb +0 -47
@@ -1,95 +0,0 @@
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.2
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
@@ -1,41 +0,0 @@
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.2
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
@@ -1,89 +0,0 @@
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.2
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
@@ -1,53 +0,0 @@
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.2
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
@@ -1,71 +0,0 @@
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.2
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
@@ -1,35 +0,0 @@
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.2
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
@@ -1,35 +0,0 @@
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.2
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::ErrorCodeOmnichannel
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe 'ErrorCodeOmnichannel' do
21
- before do
22
- # run before each test
23
- @instance = MessenteApi::ErrorCodeOmnichannel.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of ErrorCodeOmnichannel' do
31
- it 'should create an instance of ErrorCodeOmnichannel' do
32
- expect(@instance).to be_instance_of(MessenteApi::ErrorCodeOmnichannel)
33
- end
34
- end
35
- end
@@ -1,35 +0,0 @@
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.2
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::ErrorCodePhonebook
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe 'ErrorCodePhonebook' do
21
- before do
22
- # run before each test
23
- @instance = MessenteApi::ErrorCodePhonebook.new
24
- end
25
-
26
- after do
27
- # run after each test
28
- end
29
-
30
- describe 'test an instance of ErrorCodePhonebook' do
31
- it 'should create an instance of ErrorCodePhonebook' do
32
- expect(@instance).to be_instance_of(MessenteApi::ErrorCodePhonebook)
33
- end
34
- end
35
- end