messente_api 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
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,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::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 = MessenteApi::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(MessenteApi::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
@@ -1,47 +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::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 = MessenteApi::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(MessenteApi::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
@@ -1,47 +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::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 = MessenteApi::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(MessenteApi::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
@@ -1,81 +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::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 = MessenteApi::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(MessenteApi::WhatsApp)
33
- end
34
- end
35
- describe 'test attribute "sender"' 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 "validity"' 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 "text"' 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 "image"' 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 "document"' 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 "audio"' 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 "channel"' do
72
- it 'should work' do
73
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["whatsapp"])
75
- # validator.allowable_values.each do |value|
76
- # expect { @instance.channel = value }.not_to raise_error
77
- # end
78
- end
79
- end
80
-
81
- end
@@ -1,47 +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::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 = MessenteApi::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(MessenteApi::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