one_msg_sdk 2.0.0

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 (227) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/LICENSE.txt +21 -0
  4. data/Rakefile +10 -0
  5. data/docs/AddTemplateRequest.md +24 -0
  6. data/docs/BlockUserRequest.md +18 -0
  7. data/docs/CallingApi.md +231 -0
  8. data/docs/CatalogApi.md +153 -0
  9. data/docs/ChannelApi.md +225 -0
  10. data/docs/ConversationalAutomation.md +22 -0
  11. data/docs/ConversationalAutomationCommandsInner.md +20 -0
  12. data/docs/CreateCommerce200Response.md +18 -0
  13. data/docs/CreateCommerceRequest.md +18 -0
  14. data/docs/CreateCommerceRequestParams.md +20 -0
  15. data/docs/CreateGroups200Response.md +18 -0
  16. data/docs/CreateReadMessage200Response.md +18 -0
  17. data/docs/CreateReadMessage401Response.md +18 -0
  18. data/docs/CreateReadMessageRequest.md +22 -0
  19. data/docs/DeleteFlowsFlowId200Response.md +20 -0
  20. data/docs/DeleteGroupsGroupId200Response.md +20 -0
  21. data/docs/DeleteMediaLegacyRequest.md +18 -0
  22. data/docs/ErrorResponse.md +18 -0
  23. data/docs/FlowsApi.md +836 -0
  24. data/docs/GetCommerce200ResponseInner.md +22 -0
  25. data/docs/GetMmLiteStatus200Response.md +22 -0
  26. data/docs/GetWebhook200Response.md +18 -0
  27. data/docs/GetWhatsappBusinessEncryption200Response.md +22 -0
  28. data/docs/GroupsApi.md +507 -0
  29. data/docs/ListBlockedUsers200Response.md +18 -0
  30. data/docs/ListFlows200Response.md +26 -0
  31. data/docs/ListMessages200Response.md +20 -0
  32. data/docs/ListTemplates200Response.md +22 -0
  33. data/docs/MessageSentResponse.md +24 -0
  34. data/docs/MessagingApi.md +1784 -0
  35. data/docs/PatchFlowsFlowIdAssets200Response.md +22 -0
  36. data/docs/ProfileApi.md +155 -0
  37. data/docs/ProfileInfo.md +32 -0
  38. data/docs/RetrieveMedia200Response.md +26 -0
  39. data/docs/SendAddressMessageRequest.md +32 -0
  40. data/docs/SendButtonRequest.md +24 -0
  41. data/docs/SendButtonRequestSectionsInner.md +20 -0
  42. data/docs/SendButtonRequestSectionsInnerReply.md +20 -0
  43. data/docs/SendCarouselRequest1.md +26 -0
  44. data/docs/SendContactRequest.md +20 -0
  45. data/docs/SendContactRequestContactsInner.md +30 -0
  46. data/docs/SendContactRequestContactsInnerName.md +28 -0
  47. data/docs/SendContactRequestContactsInnerOrg.md +22 -0
  48. data/docs/SendContactRequestContactsInnerPhonesInner.md +22 -0
  49. data/docs/SendCtaUrlRequest.md +32 -0
  50. data/docs/SendFileRequest.md +34 -0
  51. data/docs/SendFlowRequest1.md +46 -0
  52. data/docs/SendFlowRequest1Header.md +49 -0
  53. data/docs/SendFlowRequestHeader.md +49 -0
  54. data/docs/SendListRequest.md +26 -0
  55. data/docs/SendListRequestSectionsInner.md +20 -0
  56. data/docs/SendListRequestSectionsInnerRowsInner.md +22 -0
  57. data/docs/SendLocationRequest1.md +30 -0
  58. data/docs/SendLocationRequestRequest.md +20 -0
  59. data/docs/SendMessageRequest.md +24 -0
  60. data/docs/SendOrderDetailsRequest.md +36 -0
  61. data/docs/SendOrderDetailsRequestLanguage.md +20 -0
  62. data/docs/SendOrderDetailsRequestOrder.md +28 -0
  63. data/docs/SendOrderDetailsRequestOrderItemsInner.md +24 -0
  64. data/docs/SendOrderDetailsRequestOrderItemsInnerAmount.md +20 -0
  65. data/docs/SendPaymentRequestRequest.md +26 -0
  66. data/docs/SendReactionRequest.md +22 -0
  67. data/docs/SendStickerRequest.md +26 -0
  68. data/docs/SendTemplateRequest.md +32 -0
  69. data/docs/SendTemplateRequestLanguage.md +20 -0
  70. data/docs/SetWhatsappBusinessEncryptionRequest.md +21 -0
  71. data/docs/SuccessResponse.md +18 -0
  72. data/docs/TemplatesApi.md +301 -0
  73. data/docs/UpdateMeRequest.md +30 -0
  74. data/docs/UsersApi.md +223 -0
  75. data/docs/WebhooksApi.md +155 -0
  76. data/git_push.sh +57 -0
  77. data/lib/one_msg_sdk/api/calling_api.rb +228 -0
  78. data/lib/one_msg_sdk/api/catalog_api.rb +161 -0
  79. data/lib/one_msg_sdk/api/channel_api.rb +225 -0
  80. data/lib/one_msg_sdk/api/flows_api.rb +788 -0
  81. data/lib/one_msg_sdk/api/groups_api.rb +486 -0
  82. data/lib/one_msg_sdk/api/messaging_api.rb +1833 -0
  83. data/lib/one_msg_sdk/api/profile_api.rb +157 -0
  84. data/lib/one_msg_sdk/api/templates_api.rb +293 -0
  85. data/lib/one_msg_sdk/api/users_api.rb +232 -0
  86. data/lib/one_msg_sdk/api/webhooks_api.rb +157 -0
  87. data/lib/one_msg_sdk/api_client.rb +441 -0
  88. data/lib/one_msg_sdk/api_error.rb +58 -0
  89. data/lib/one_msg_sdk/api_model_base.rb +88 -0
  90. data/lib/one_msg_sdk/configuration.rb +400 -0
  91. data/lib/one_msg_sdk/models/add_template_request.rb +176 -0
  92. data/lib/one_msg_sdk/models/block_user_request.rb +164 -0
  93. data/lib/one_msg_sdk/models/conversational_automation.rb +210 -0
  94. data/lib/one_msg_sdk/models/conversational_automation_commands_inner.rb +208 -0
  95. data/lib/one_msg_sdk/models/create_commerce200_response.rb +147 -0
  96. data/lib/one_msg_sdk/models/create_commerce_request.rb +164 -0
  97. data/lib/one_msg_sdk/models/create_commerce_request_params.rb +192 -0
  98. data/lib/one_msg_sdk/models/create_groups200_response.rb +149 -0
  99. data/lib/one_msg_sdk/models/create_read_message200_response.rb +147 -0
  100. data/lib/one_msg_sdk/models/create_read_message401_response.rb +147 -0
  101. data/lib/one_msg_sdk/models/create_read_message_request.rb +168 -0
  102. data/lib/one_msg_sdk/models/delete_flows_flow_id200_response.rb +158 -0
  103. data/lib/one_msg_sdk/models/delete_groups_group_id200_response.rb +158 -0
  104. data/lib/one_msg_sdk/models/delete_media_legacy_request.rb +165 -0
  105. data/lib/one_msg_sdk/models/error_response.rb +149 -0
  106. data/lib/one_msg_sdk/models/get_commerce200_response_inner.rb +168 -0
  107. data/lib/one_msg_sdk/models/get_mm_lite_status200_response.rb +165 -0
  108. data/lib/one_msg_sdk/models/get_webhook200_response.rb +147 -0
  109. data/lib/one_msg_sdk/models/get_whatsapp_business_encryption200_response.rb +202 -0
  110. data/lib/one_msg_sdk/models/list_blocked_users200_response.rb +149 -0
  111. data/lib/one_msg_sdk/models/list_flows200_response.rb +189 -0
  112. data/lib/one_msg_sdk/models/list_messages200_response.rb +158 -0
  113. data/lib/one_msg_sdk/models/list_templates200_response.rb +169 -0
  114. data/lib/one_msg_sdk/models/message_sent_response.rb +179 -0
  115. data/lib/one_msg_sdk/models/patch_flows_flow_id_assets200_response.rb +169 -0
  116. data/lib/one_msg_sdk/models/profile_info.rb +254 -0
  117. data/lib/one_msg_sdk/models/retrieve_media200_response.rb +183 -0
  118. data/lib/one_msg_sdk/models/send_address_message_request.rb +273 -0
  119. data/lib/one_msg_sdk/models/send_button_request.rb +176 -0
  120. data/lib/one_msg_sdk/models/send_button_request_sections_inner.rb +156 -0
  121. data/lib/one_msg_sdk/models/send_button_request_sections_inner_reply.rb +156 -0
  122. data/lib/one_msg_sdk/models/send_carousel_request1.rb +202 -0
  123. data/lib/one_msg_sdk/models/send_contact_request.rb +158 -0
  124. data/lib/one_msg_sdk/models/send_contact_request_contacts_inner.rb +209 -0
  125. data/lib/one_msg_sdk/models/send_contact_request_contacts_inner_name.rb +192 -0
  126. data/lib/one_msg_sdk/models/send_contact_request_contacts_inner_org.rb +165 -0
  127. data/lib/one_msg_sdk/models/send_contact_request_contacts_inner_phones_inner.rb +165 -0
  128. data/lib/one_msg_sdk/models/send_cta_url_request.rb +264 -0
  129. data/lib/one_msg_sdk/models/send_file_request.rb +278 -0
  130. data/lib/one_msg_sdk/models/send_flow_request1.rb +387 -0
  131. data/lib/one_msg_sdk/models/send_flow_request1_header.rb +104 -0
  132. data/lib/one_msg_sdk/models/send_flow_request_header.rb +105 -0
  133. data/lib/one_msg_sdk/models/send_list_request.rb +185 -0
  134. data/lib/one_msg_sdk/models/send_list_request_sections_inner.rb +158 -0
  135. data/lib/one_msg_sdk/models/send_list_request_sections_inner_rows_inner.rb +165 -0
  136. data/lib/one_msg_sdk/models/send_location_request1.rb +235 -0
  137. data/lib/one_msg_sdk/models/send_location_request_request.rb +156 -0
  138. data/lib/one_msg_sdk/models/send_message_request.rb +284 -0
  139. data/lib/one_msg_sdk/models/send_order_details_request.rb +308 -0
  140. data/lib/one_msg_sdk/models/send_order_details_request_language.rb +176 -0
  141. data/lib/one_msg_sdk/models/send_order_details_request_order.rb +220 -0
  142. data/lib/one_msg_sdk/models/send_order_details_request_order_items_inner.rb +174 -0
  143. data/lib/one_msg_sdk/models/send_order_details_request_order_items_inner_amount.rb +156 -0
  144. data/lib/one_msg_sdk/models/send_payment_request_request.rb +245 -0
  145. data/lib/one_msg_sdk/models/send_reaction_request.rb +165 -0
  146. data/lib/one_msg_sdk/models/send_sticker_request.rb +185 -0
  147. data/lib/one_msg_sdk/models/send_template_request.rb +215 -0
  148. data/lib/one_msg_sdk/models/send_template_request_language.rb +156 -0
  149. data/lib/one_msg_sdk/models/set_whatsapp_business_encryption_request.rb +165 -0
  150. data/lib/one_msg_sdk/models/success_response.rb +149 -0
  151. data/lib/one_msg_sdk/models/update_me_request.rb +207 -0
  152. data/lib/one_msg_sdk/version.rb +15 -0
  153. data/lib/one_msg_sdk.rb +111 -0
  154. data/one_msg_sdk.gemspec +41 -0
  155. data/spec/api/calling_api_spec.rb +73 -0
  156. data/spec/api/catalog_api_spec.rb +60 -0
  157. data/spec/api/channel_api_spec.rb +72 -0
  158. data/spec/api/flows_api_spec.rb +175 -0
  159. data/spec/api/groups_api_spec.rb +117 -0
  160. data/spec/api/messaging_api_spec.rb +359 -0
  161. data/spec/api/profile_api_spec.rb +60 -0
  162. data/spec/api/templates_api_spec.rb +83 -0
  163. data/spec/api/users_api_spec.rb +71 -0
  164. data/spec/api/webhooks_api_spec.rb +60 -0
  165. data/spec/models/add_template_request_spec.rb +54 -0
  166. data/spec/models/block_user_request_spec.rb +36 -0
  167. data/spec/models/conversational_automation_commands_inner_spec.rb +42 -0
  168. data/spec/models/conversational_automation_spec.rb +48 -0
  169. data/spec/models/create_commerce200_response_spec.rb +36 -0
  170. data/spec/models/create_commerce_request_params_spec.rb +42 -0
  171. data/spec/models/create_commerce_request_spec.rb +36 -0
  172. data/spec/models/create_groups200_response_spec.rb +36 -0
  173. data/spec/models/create_read_message200_response_spec.rb +36 -0
  174. data/spec/models/create_read_message401_response_spec.rb +36 -0
  175. data/spec/models/create_read_message_request_spec.rb +48 -0
  176. data/spec/models/delete_flows_flow_id200_response_spec.rb +42 -0
  177. data/spec/models/delete_groups_group_id200_response_spec.rb +42 -0
  178. data/spec/models/delete_media_legacy_request_spec.rb +36 -0
  179. data/spec/models/error_response_spec.rb +36 -0
  180. data/spec/models/get_commerce200_response_inner_spec.rb +48 -0
  181. data/spec/models/get_mm_lite_status200_response_spec.rb +48 -0
  182. data/spec/models/get_webhook200_response_spec.rb +36 -0
  183. data/spec/models/get_whatsapp_business_encryption200_response_spec.rb +52 -0
  184. data/spec/models/list_blocked_users200_response_spec.rb +36 -0
  185. data/spec/models/list_flows200_response_spec.rb +60 -0
  186. data/spec/models/list_messages200_response_spec.rb +42 -0
  187. data/spec/models/list_templates200_response_spec.rb +48 -0
  188. data/spec/models/message_sent_response_spec.rb +54 -0
  189. data/spec/models/patch_flows_flow_id_assets200_response_spec.rb +48 -0
  190. data/spec/models/profile_info_spec.rb +82 -0
  191. data/spec/models/retrieve_media200_response_spec.rb +60 -0
  192. data/spec/models/send_address_message_request_spec.rb +82 -0
  193. data/spec/models/send_button_request_sections_inner_reply_spec.rb +42 -0
  194. data/spec/models/send_button_request_sections_inner_spec.rb +42 -0
  195. data/spec/models/send_button_request_spec.rb +54 -0
  196. data/spec/models/send_carousel_request1_spec.rb +60 -0
  197. data/spec/models/send_contact_request_contacts_inner_name_spec.rb +66 -0
  198. data/spec/models/send_contact_request_contacts_inner_org_spec.rb +48 -0
  199. data/spec/models/send_contact_request_contacts_inner_phones_inner_spec.rb +48 -0
  200. data/spec/models/send_contact_request_contacts_inner_spec.rb +72 -0
  201. data/spec/models/send_contact_request_spec.rb +42 -0
  202. data/spec/models/send_cta_url_request_spec.rb +78 -0
  203. data/spec/models/send_file_request_spec.rb +88 -0
  204. data/spec/models/send_flow_request1_header_spec.rb +32 -0
  205. data/spec/models/send_flow_request1_spec.rb +128 -0
  206. data/spec/models/send_flow_request_header_spec.rb +32 -0
  207. data/spec/models/send_list_request_sections_inner_rows_inner_spec.rb +48 -0
  208. data/spec/models/send_list_request_sections_inner_spec.rb +42 -0
  209. data/spec/models/send_list_request_spec.rb +60 -0
  210. data/spec/models/send_location_request1_spec.rb +72 -0
  211. data/spec/models/send_location_request_request_spec.rb +42 -0
  212. data/spec/models/send_message_request_spec.rb +54 -0
  213. data/spec/models/send_order_details_request_language_spec.rb +42 -0
  214. data/spec/models/send_order_details_request_order_items_inner_amount_spec.rb +42 -0
  215. data/spec/models/send_order_details_request_order_items_inner_spec.rb +54 -0
  216. data/spec/models/send_order_details_request_order_spec.rb +66 -0
  217. data/spec/models/send_order_details_request_spec.rb +90 -0
  218. data/spec/models/send_payment_request_request_spec.rb +64 -0
  219. data/spec/models/send_reaction_request_spec.rb +48 -0
  220. data/spec/models/send_sticker_request_spec.rb +60 -0
  221. data/spec/models/send_template_request_language_spec.rb +42 -0
  222. data/spec/models/send_template_request_spec.rb +78 -0
  223. data/spec/models/set_whatsapp_business_encryption_request_spec.rb +36 -0
  224. data/spec/models/success_response_spec.rb +36 -0
  225. data/spec/models/update_me_request_spec.rb +72 -0
  226. data/spec/spec_helper.rb +111 -0
  227. metadata +408 -0
@@ -0,0 +1,54 @@
1
+ =begin
2
+ #1MSG WhatsApp Business API (Public)
3
+
4
+ #Public client API for sending messages, managing groups, flows, and templates. This is the API exposed to end customers via platform.1msg.io **Authentication:** All requests require `token` query parameter with JWT or API key. **Documentation:** https://help.1msg.io/platform-1msg/getting-start/quick-start **API Docs:** https://docs.1msg.io/
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@1msg.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.22.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OneMsgSdk::AddTemplateRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe OneMsgSdk::AddTemplateRequest do
21
+ #let(:instance) { OneMsgSdk::AddTemplateRequest.new }
22
+
23
+ describe 'test an instance of AddTemplateRequest' do
24
+ it 'should create an instance of AddTemplateRequest' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(OneMsgSdk::AddTemplateRequest)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "name"' 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 "category"' 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
+ describe 'test attribute "language"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "components"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ end
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #1MSG WhatsApp Business API (Public)
3
+
4
+ #Public client API for sending messages, managing groups, flows, and templates. This is the API exposed to end customers via platform.1msg.io **Authentication:** All requests require `token` query parameter with JWT or API key. **Documentation:** https://help.1msg.io/platform-1msg/getting-start/quick-start **API Docs:** https://docs.1msg.io/
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@1msg.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.22.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OneMsgSdk::BlockUserRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe OneMsgSdk::BlockUserRequest do
21
+ #let(:instance) { OneMsgSdk::BlockUserRequest.new }
22
+
23
+ describe 'test an instance of BlockUserRequest' do
24
+ it 'should create an instance of BlockUserRequest' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(OneMsgSdk::BlockUserRequest)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "phone"' 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
+ end
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #1MSG WhatsApp Business API (Public)
3
+
4
+ #Public client API for sending messages, managing groups, flows, and templates. This is the API exposed to end customers via platform.1msg.io **Authentication:** All requests require `token` query parameter with JWT or API key. **Documentation:** https://help.1msg.io/platform-1msg/getting-start/quick-start **API Docs:** https://docs.1msg.io/
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@1msg.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.22.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OneMsgSdk::ConversationalAutomationCommandsInner
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe OneMsgSdk::ConversationalAutomationCommandsInner do
21
+ #let(:instance) { OneMsgSdk::ConversationalAutomationCommandsInner.new }
22
+
23
+ describe 'test an instance of ConversationalAutomationCommandsInner' do
24
+ it 'should create an instance of ConversationalAutomationCommandsInner' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(OneMsgSdk::ConversationalAutomationCommandsInner)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "command_name"' 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 "command_description"' 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,48 @@
1
+ =begin
2
+ #1MSG WhatsApp Business API (Public)
3
+
4
+ #Public client API for sending messages, managing groups, flows, and templates. This is the API exposed to end customers via platform.1msg.io **Authentication:** All requests require `token` query parameter with JWT or API key. **Documentation:** https://help.1msg.io/platform-1msg/getting-start/quick-start **API Docs:** https://docs.1msg.io/
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@1msg.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.22.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OneMsgSdk::ConversationalAutomation
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe OneMsgSdk::ConversationalAutomation do
21
+ #let(:instance) { OneMsgSdk::ConversationalAutomation.new }
22
+
23
+ describe 'test an instance of ConversationalAutomation' do
24
+ it 'should create an instance of ConversationalAutomation' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(OneMsgSdk::ConversationalAutomation)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "enable_welcome_message"' 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 "prompts"' 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
+ describe 'test attribute "commands"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ end
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #1MSG WhatsApp Business API (Public)
3
+
4
+ #Public client API for sending messages, managing groups, flows, and templates. This is the API exposed to end customers via platform.1msg.io **Authentication:** All requests require `token` query parameter with JWT or API key. **Documentation:** https://help.1msg.io/platform-1msg/getting-start/quick-start **API Docs:** https://docs.1msg.io/
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@1msg.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.22.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OneMsgSdk::CreateCommerce200Response
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe OneMsgSdk::CreateCommerce200Response do
21
+ #let(:instance) { OneMsgSdk::CreateCommerce200Response.new }
22
+
23
+ describe 'test an instance of CreateCommerce200Response' do
24
+ it 'should create an instance of CreateCommerce200Response' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(OneMsgSdk::CreateCommerce200Response)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "success"' 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
+ end
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #1MSG WhatsApp Business API (Public)
3
+
4
+ #Public client API for sending messages, managing groups, flows, and templates. This is the API exposed to end customers via platform.1msg.io **Authentication:** All requests require `token` query parameter with JWT or API key. **Documentation:** https://help.1msg.io/platform-1msg/getting-start/quick-start **API Docs:** https://docs.1msg.io/
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@1msg.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.22.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OneMsgSdk::CreateCommerceRequestParams
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe OneMsgSdk::CreateCommerceRequestParams do
21
+ #let(:instance) { OneMsgSdk::CreateCommerceRequestParams.new }
22
+
23
+ describe 'test an instance of CreateCommerceRequestParams' do
24
+ it 'should create an instance of CreateCommerceRequestParams' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(OneMsgSdk::CreateCommerceRequestParams)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "is_cart_enabled"' 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 "is_catalog_visible"' 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,36 @@
1
+ =begin
2
+ #1MSG WhatsApp Business API (Public)
3
+
4
+ #Public client API for sending messages, managing groups, flows, and templates. This is the API exposed to end customers via platform.1msg.io **Authentication:** All requests require `token` query parameter with JWT or API key. **Documentation:** https://help.1msg.io/platform-1msg/getting-start/quick-start **API Docs:** https://docs.1msg.io/
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@1msg.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.22.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OneMsgSdk::CreateCommerceRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe OneMsgSdk::CreateCommerceRequest do
21
+ #let(:instance) { OneMsgSdk::CreateCommerceRequest.new }
22
+
23
+ describe 'test an instance of CreateCommerceRequest' do
24
+ it 'should create an instance of CreateCommerceRequest' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(OneMsgSdk::CreateCommerceRequest)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "params"' 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
+ end
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #1MSG WhatsApp Business API (Public)
3
+
4
+ #Public client API for sending messages, managing groups, flows, and templates. This is the API exposed to end customers via platform.1msg.io **Authentication:** All requests require `token` query parameter with JWT or API key. **Documentation:** https://help.1msg.io/platform-1msg/getting-start/quick-start **API Docs:** https://docs.1msg.io/
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@1msg.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.22.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OneMsgSdk::CreateGroups200Response
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe OneMsgSdk::CreateGroups200Response do
21
+ #let(:instance) { OneMsgSdk::CreateGroups200Response.new }
22
+
23
+ describe 'test an instance of CreateGroups200Response' do
24
+ it 'should create an instance of CreateGroups200Response' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(OneMsgSdk::CreateGroups200Response)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "error"' 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
+ end
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #1MSG WhatsApp Business API (Public)
3
+
4
+ #Public client API for sending messages, managing groups, flows, and templates. This is the API exposed to end customers via platform.1msg.io **Authentication:** All requests require `token` query parameter with JWT or API key. **Documentation:** https://help.1msg.io/platform-1msg/getting-start/quick-start **API Docs:** https://docs.1msg.io/
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@1msg.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.22.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OneMsgSdk::CreateReadMessage200Response
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe OneMsgSdk::CreateReadMessage200Response do
21
+ #let(:instance) { OneMsgSdk::CreateReadMessage200Response.new }
22
+
23
+ describe 'test an instance of CreateReadMessage200Response' do
24
+ it 'should create an instance of CreateReadMessage200Response' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(OneMsgSdk::CreateReadMessage200Response)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "result"' 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
+ end
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #1MSG WhatsApp Business API (Public)
3
+
4
+ #Public client API for sending messages, managing groups, flows, and templates. This is the API exposed to end customers via platform.1msg.io **Authentication:** All requests require `token` query parameter with JWT or API key. **Documentation:** https://help.1msg.io/platform-1msg/getting-start/quick-start **API Docs:** https://docs.1msg.io/
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@1msg.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.22.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OneMsgSdk::CreateReadMessage401Response
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe OneMsgSdk::CreateReadMessage401Response do
21
+ #let(:instance) { OneMsgSdk::CreateReadMessage401Response.new }
22
+
23
+ describe 'test an instance of CreateReadMessage401Response' do
24
+ it 'should create an instance of CreateReadMessage401Response' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(OneMsgSdk::CreateReadMessage401Response)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "error"' 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
+ end
@@ -0,0 +1,48 @@
1
+ =begin
2
+ #1MSG WhatsApp Business API (Public)
3
+
4
+ #Public client API for sending messages, managing groups, flows, and templates. This is the API exposed to end customers via platform.1msg.io **Authentication:** All requests require `token` query parameter with JWT or API key. **Documentation:** https://help.1msg.io/platform-1msg/getting-start/quick-start **API Docs:** https://docs.1msg.io/
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@1msg.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.22.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OneMsgSdk::CreateReadMessageRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe OneMsgSdk::CreateReadMessageRequest do
21
+ #let(:instance) { OneMsgSdk::CreateReadMessageRequest.new }
22
+
23
+ describe 'test an instance of CreateReadMessageRequest' do
24
+ it 'should create an instance of CreateReadMessageRequest' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(OneMsgSdk::CreateReadMessageRequest)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "message_id"' 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 "msg_id"' 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
+ describe 'test attribute "typing_indicator"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ end
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #1MSG WhatsApp Business API (Public)
3
+
4
+ #Public client API for sending messages, managing groups, flows, and templates. This is the API exposed to end customers via platform.1msg.io **Authentication:** All requests require `token` query parameter with JWT or API key. **Documentation:** https://help.1msg.io/platform-1msg/getting-start/quick-start **API Docs:** https://docs.1msg.io/
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@1msg.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.22.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OneMsgSdk::DeleteFlowsFlowId200Response
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe OneMsgSdk::DeleteFlowsFlowId200Response do
21
+ #let(:instance) { OneMsgSdk::DeleteFlowsFlowId200Response.new }
22
+
23
+ describe 'test an instance of DeleteFlowsFlowId200Response' do
24
+ it 'should create an instance of DeleteFlowsFlowId200Response' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(OneMsgSdk::DeleteFlowsFlowId200Response)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "success"' 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 "error"' 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,42 @@
1
+ =begin
2
+ #1MSG WhatsApp Business API (Public)
3
+
4
+ #Public client API for sending messages, managing groups, flows, and templates. This is the API exposed to end customers via platform.1msg.io **Authentication:** All requests require `token` query parameter with JWT or API key. **Documentation:** https://help.1msg.io/platform-1msg/getting-start/quick-start **API Docs:** https://docs.1msg.io/
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@1msg.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.22.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OneMsgSdk::DeleteGroupsGroupId200Response
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe OneMsgSdk::DeleteGroupsGroupId200Response do
21
+ #let(:instance) { OneMsgSdk::DeleteGroupsGroupId200Response.new }
22
+
23
+ describe 'test an instance of DeleteGroupsGroupId200Response' do
24
+ it 'should create an instance of DeleteGroupsGroupId200Response' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(OneMsgSdk::DeleteGroupsGroupId200Response)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "success"' 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 "response"' 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,36 @@
1
+ =begin
2
+ #1MSG WhatsApp Business API (Public)
3
+
4
+ #Public client API for sending messages, managing groups, flows, and templates. This is the API exposed to end customers via platform.1msg.io **Authentication:** All requests require `token` query parameter with JWT or API key. **Documentation:** https://help.1msg.io/platform-1msg/getting-start/quick-start **API Docs:** https://docs.1msg.io/
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@1msg.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.22.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OneMsgSdk::DeleteMediaLegacyRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe OneMsgSdk::DeleteMediaLegacyRequest do
21
+ #let(:instance) { OneMsgSdk::DeleteMediaLegacyRequest.new }
22
+
23
+ describe 'test an instance of DeleteMediaLegacyRequest' do
24
+ it 'should create an instance of DeleteMediaLegacyRequest' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(OneMsgSdk::DeleteMediaLegacyRequest)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "media_id"' 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
+ end
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #1MSG WhatsApp Business API (Public)
3
+
4
+ #Public client API for sending messages, managing groups, flows, and templates. This is the API exposed to end customers via platform.1msg.io **Authentication:** All requests require `token` query parameter with JWT or API key. **Documentation:** https://help.1msg.io/platform-1msg/getting-start/quick-start **API Docs:** https://docs.1msg.io/
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@1msg.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.22.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OneMsgSdk::ErrorResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe OneMsgSdk::ErrorResponse do
21
+ #let(:instance) { OneMsgSdk::ErrorResponse.new }
22
+
23
+ describe 'test an instance of ErrorResponse' do
24
+ it 'should create an instance of ErrorResponse' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(OneMsgSdk::ErrorResponse)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "error"' 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
+ end
@@ -0,0 +1,48 @@
1
+ =begin
2
+ #1MSG WhatsApp Business API (Public)
3
+
4
+ #Public client API for sending messages, managing groups, flows, and templates. This is the API exposed to end customers via platform.1msg.io **Authentication:** All requests require `token` query parameter with JWT or API key. **Documentation:** https://help.1msg.io/platform-1msg/getting-start/quick-start **API Docs:** https://docs.1msg.io/
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@1msg.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.22.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OneMsgSdk::GetCommerce200ResponseInner
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe OneMsgSdk::GetCommerce200ResponseInner do
21
+ #let(:instance) { OneMsgSdk::GetCommerce200ResponseInner.new }
22
+
23
+ describe 'test an instance of GetCommerce200ResponseInner' do
24
+ it 'should create an instance of GetCommerce200ResponseInner' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(OneMsgSdk::GetCommerce200ResponseInner)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "id"' 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 "is_cart_enabled"' 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
+ describe 'test attribute "is_catalog_visible"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ end