sunshine-conversations-client 14.3.5 → 15.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 (400) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG_RB.md +25 -4
  3. data/README.md +7 -5
  4. data/docs/AcceptControlBody.md +1 -1
  5. data/docs/Action.md +1 -1
  6. data/docs/ActionSubset.md +1 -1
  7. data/docs/Android.md +2 -0
  8. data/docs/AndroidAllOf.md +2 -0
  9. data/docs/AndroidUpdate.md +2 -0
  10. data/docs/AndroidUpdateAllOf.md +2 -0
  11. data/docs/App.md +1 -1
  12. data/docs/AppCreateBody.md +1 -1
  13. data/docs/AppSettings.md +1 -1
  14. data/docs/AppUpdateBody.md +1 -1
  15. data/docs/AttachmentSchema.md +1 -1
  16. data/docs/Buy.md +1 -1
  17. data/docs/ClientsApi.md +1 -1
  18. data/docs/Content.md +5 -1
  19. data/docs/Conversation.md +1 -1
  20. data/docs/ConversationCreateBody.md +1 -1
  21. data/docs/ConversationTruncated.md +1 -1
  22. data/docs/ConversationUpdateBody.md +1 -1
  23. data/docs/ConversationsApi.md +3 -3
  24. data/docs/DefaultResponderDefaultResponder.md +3 -7
  25. data/docs/Device.md +1 -1
  26. data/docs/DevicesApi.md +2 -2
  27. data/docs/Error.md +19 -0
  28. data/docs/ErrorResponse.md +17 -0
  29. data/docs/FileMessage.md +5 -1
  30. data/docs/ImageMessage.md +6 -2
  31. data/docs/IntegrationUpdate.md +2 -0
  32. data/docs/IntegrationsApi.md +1 -1
  33. data/docs/Ios.md +2 -0
  34. data/docs/IosAllOf.md +2 -0
  35. data/docs/IosUpdate.md +2 -0
  36. data/docs/IosUpdateAllOf.md +2 -0
  37. data/docs/Item.md +1 -1
  38. data/docs/Link.md +1 -1
  39. data/docs/LocationRequest.md +1 -1
  40. data/docs/Message.md +1 -1
  41. data/docs/MessagePost.md +1 -1
  42. data/docs/MessageWebhook.md +1 -1
  43. data/docs/OAuthEndpointsApi.md +1 -1
  44. data/docs/OfferControlBody.md +1 -1
  45. data/docs/ParticipantsApi.md +2 -2
  46. data/docs/PassControlBody.md +1 -1
  47. data/docs/Postback.md +1 -1
  48. data/docs/PostbackWebhook.md +1 -1
  49. data/docs/Reply.md +1 -1
  50. data/docs/SwitchboardAcceptControlAllOfPayload.md +1 -1
  51. data/docs/SwitchboardAcceptControlFailureAllOfPayload.md +1 -1
  52. data/docs/SwitchboardIntegrationCreateBody.md +2 -2
  53. data/docs/SwitchboardIntegrationUpdateBody.md +2 -2
  54. data/docs/SwitchboardIntegrationsApi.md +1 -1
  55. data/docs/SwitchboardOfferControlAllOfPayload.md +1 -1
  56. data/docs/SwitchboardPassControlAllOfPayload.md +1 -1
  57. data/docs/TextMessage.md +5 -1
  58. data/docs/Unity.md +2 -0
  59. data/docs/UnityAllOf.md +2 -0
  60. data/docs/UnityUpdate.md +2 -0
  61. data/docs/UnityUpdateAllOf.md +3 -1
  62. data/docs/User.md +1 -1
  63. data/docs/UserAllOf.md +1 -1
  64. data/docs/UserCreateBody.md +1 -1
  65. data/docs/UserMergeEventAllOfPayload.md +1 -1
  66. data/docs/UserUpdateBody.md +1 -1
  67. data/docs/WebUpdate.md +2 -0
  68. data/docs/WebUpdateAllOf.md +2 -0
  69. data/docs/Webview.md +1 -1
  70. data/docs/Whatsapp.md +0 -2
  71. data/docs/WhatsappAllOf.md +0 -2
  72. data/lib/sunshine-conversations-client/api/activities_api.rb +1 -1
  73. data/lib/sunshine-conversations-client/api/app_keys_api.rb +1 -1
  74. data/lib/sunshine-conversations-client/api/apps_api.rb +1 -1
  75. data/lib/sunshine-conversations-client/api/attachments_api.rb +1 -1
  76. data/lib/sunshine-conversations-client/api/clients_api.rb +1 -1
  77. data/lib/sunshine-conversations-client/api/conversations_api.rb +4 -4
  78. data/lib/sunshine-conversations-client/api/custom_integration_api_keys_api.rb +1 -1
  79. data/lib/sunshine-conversations-client/api/devices_api.rb +5 -5
  80. data/lib/sunshine-conversations-client/api/integrations_api.rb +1 -1
  81. data/lib/sunshine-conversations-client/api/messages_api.rb +1 -1
  82. data/lib/sunshine-conversations-client/api/o_auth_endpoints_api.rb +3 -1
  83. data/lib/sunshine-conversations-client/api/participants_api.rb +1 -1
  84. data/lib/sunshine-conversations-client/api/switchboard_actions_api.rb +1 -1
  85. data/lib/sunshine-conversations-client/api/switchboard_integrations_api.rb +1 -1
  86. data/lib/sunshine-conversations-client/api/switchboards_api.rb +1 -1
  87. data/lib/sunshine-conversations-client/api/users_api.rb +1 -1
  88. data/lib/sunshine-conversations-client/api/webhooks_api.rb +1 -1
  89. data/lib/sunshine-conversations-client/api_client.rb +1 -1
  90. data/lib/sunshine-conversations-client/api_error.rb +1 -1
  91. data/lib/sunshine-conversations-client/configuration.rb +1 -1
  92. data/lib/sunshine-conversations-client/models/accept_control_body.rb +2 -2
  93. data/lib/sunshine-conversations-client/models/action.rb +2 -3
  94. data/lib/sunshine-conversations-client/models/action_subset.rb +2 -3
  95. data/lib/sunshine-conversations-client/models/activity.rb +1 -1
  96. data/lib/sunshine-conversations-client/models/activity_all_of.rb +1 -1
  97. data/lib/sunshine-conversations-client/models/activity_message.rb +1 -1
  98. data/lib/sunshine-conversations-client/models/activity_post.rb +1 -1
  99. data/lib/sunshine-conversations-client/models/activity_post_all_of.rb +1 -1
  100. data/lib/sunshine-conversations-client/models/activity_types.rb +1 -1
  101. data/lib/sunshine-conversations-client/models/android.rb +13 -2
  102. data/lib/sunshine-conversations-client/models/android_all_of.rb +12 -2
  103. data/lib/sunshine-conversations-client/models/android_update.rb +12 -2
  104. data/lib/sunshine-conversations-client/models/android_update_all_of.rb +12 -2
  105. data/lib/sunshine-conversations-client/models/api_key.rb +1 -1
  106. data/lib/sunshine-conversations-client/models/app.rb +2 -3
  107. data/lib/sunshine-conversations-client/models/app_create_body.rb +2 -3
  108. data/lib/sunshine-conversations-client/models/app_key.rb +1 -1
  109. data/lib/sunshine-conversations-client/models/app_key_create_body.rb +1 -1
  110. data/lib/sunshine-conversations-client/models/app_key_list_response.rb +1 -1
  111. data/lib/sunshine-conversations-client/models/app_key_response.rb +1 -1
  112. data/lib/sunshine-conversations-client/models/app_list_filter.rb +1 -1
  113. data/lib/sunshine-conversations-client/models/app_list_response.rb +1 -1
  114. data/lib/sunshine-conversations-client/models/app_response.rb +1 -1
  115. data/lib/sunshine-conversations-client/models/app_settings.rb +1 -1
  116. data/lib/sunshine-conversations-client/models/app_sub_schema.rb +1 -1
  117. data/lib/sunshine-conversations-client/models/app_update_body.rb +2 -3
  118. data/lib/sunshine-conversations-client/models/apple.rb +2 -1
  119. data/lib/sunshine-conversations-client/models/apple_all_of.rb +1 -1
  120. data/lib/sunshine-conversations-client/models/apple_message_override_payload.rb +1 -1
  121. data/lib/sunshine-conversations-client/models/apple_update.rb +1 -1
  122. data/lib/sunshine-conversations-client/models/apple_update_all_of.rb +1 -1
  123. data/lib/sunshine-conversations-client/models/attachment_delete_body.rb +1 -1
  124. data/lib/sunshine-conversations-client/models/attachment_response.rb +1 -1
  125. data/lib/sunshine-conversations-client/models/attachment_schema.rb +2 -2
  126. data/lib/sunshine-conversations-client/models/attachment_upload_body.rb +1 -1
  127. data/lib/sunshine-conversations-client/models/author.rb +1 -1
  128. data/lib/sunshine-conversations-client/models/author_webhook.rb +1 -1
  129. data/lib/sunshine-conversations-client/models/buy.rb +2 -3
  130. data/lib/sunshine-conversations-client/models/campaign.rb +1 -1
  131. data/lib/sunshine-conversations-client/models/carousel_message.rb +1 -1
  132. data/lib/sunshine-conversations-client/models/carousel_message_display_settings.rb +1 -1
  133. data/lib/sunshine-conversations-client/models/client.rb +1 -1
  134. data/lib/sunshine-conversations-client/models/client_add_event.rb +1 -1
  135. data/lib/sunshine-conversations-client/models/client_add_event_all_of.rb +1 -1
  136. data/lib/sunshine-conversations-client/models/client_add_event_all_of_payload.rb +1 -1
  137. data/lib/sunshine-conversations-client/models/client_association.rb +1 -1
  138. data/lib/sunshine-conversations-client/models/client_create.rb +1 -1
  139. data/lib/sunshine-conversations-client/models/client_list_response.rb +1 -1
  140. data/lib/sunshine-conversations-client/models/client_remove_event.rb +1 -1
  141. data/lib/sunshine-conversations-client/models/client_remove_event_all_of.rb +1 -1
  142. data/lib/sunshine-conversations-client/models/client_remove_event_all_of_payload.rb +1 -1
  143. data/lib/sunshine-conversations-client/models/client_response.rb +1 -1
  144. data/lib/sunshine-conversations-client/models/client_type.rb +1 -1
  145. data/lib/sunshine-conversations-client/models/client_update_event.rb +1 -1
  146. data/lib/sunshine-conversations-client/models/client_update_event_all_of.rb +1 -1
  147. data/lib/sunshine-conversations-client/models/client_update_event_all_of_payload.rb +1 -1
  148. data/lib/sunshine-conversations-client/models/confirmation.rb +1 -1
  149. data/lib/sunshine-conversations-client/models/content.rb +53 -3
  150. data/lib/sunshine-conversations-client/models/conversation.rb +2 -3
  151. data/lib/sunshine-conversations-client/models/conversation_all_of.rb +1 -1
  152. data/lib/sunshine-conversations-client/models/conversation_create_body.rb +2 -3
  153. data/lib/sunshine-conversations-client/models/conversation_create_event.rb +1 -1
  154. data/lib/sunshine-conversations-client/models/conversation_create_event_all_of.rb +1 -1
  155. data/lib/sunshine-conversations-client/models/conversation_create_event_all_of_payload.rb +1 -1
  156. data/lib/sunshine-conversations-client/models/conversation_join_event.rb +1 -1
  157. data/lib/sunshine-conversations-client/models/conversation_join_event_all_of.rb +1 -1
  158. data/lib/sunshine-conversations-client/models/conversation_join_event_all_of_payload.rb +1 -1
  159. data/lib/sunshine-conversations-client/models/conversation_leave_event.rb +1 -1
  160. data/lib/sunshine-conversations-client/models/conversation_leave_event_all_of.rb +1 -1
  161. data/lib/sunshine-conversations-client/models/conversation_leave_event_all_of_payload.rb +1 -1
  162. data/lib/sunshine-conversations-client/models/conversation_list_filter.rb +1 -1
  163. data/lib/sunshine-conversations-client/models/conversation_list_response.rb +1 -1
  164. data/lib/sunshine-conversations-client/models/conversation_message_delivery_channel_event.rb +1 -1
  165. data/lib/sunshine-conversations-client/models/conversation_message_delivery_channel_event_all_of.rb +1 -1
  166. data/lib/sunshine-conversations-client/models/conversation_message_delivery_failure_event.rb +1 -1
  167. data/lib/sunshine-conversations-client/models/conversation_message_delivery_failure_event_all_of.rb +1 -1
  168. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload.rb +1 -1
  169. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload_destination.rb +1 -1
  170. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload_external_messages.rb +1 -1
  171. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload_message.rb +1 -1
  172. data/lib/sunshine-conversations-client/models/conversation_message_delivery_user_event.rb +1 -1
  173. data/lib/sunshine-conversations-client/models/conversation_message_event.rb +1 -1
  174. data/lib/sunshine-conversations-client/models/conversation_message_event_all_of.rb +1 -1
  175. data/lib/sunshine-conversations-client/models/conversation_message_event_all_of_payload.rb +1 -1
  176. data/lib/sunshine-conversations-client/models/conversation_postback_event.rb +1 -1
  177. data/lib/sunshine-conversations-client/models/conversation_postback_event_all_of.rb +1 -1
  178. data/lib/sunshine-conversations-client/models/conversation_postback_event_all_of_payload.rb +1 -1
  179. data/lib/sunshine-conversations-client/models/conversation_read_event.rb +1 -1
  180. data/lib/sunshine-conversations-client/models/conversation_read_event_all_of.rb +1 -1
  181. data/lib/sunshine-conversations-client/models/conversation_read_event_all_of_payload.rb +1 -1
  182. data/lib/sunshine-conversations-client/models/conversation_referral_event.rb +1 -1
  183. data/lib/sunshine-conversations-client/models/conversation_referral_event_all_of.rb +1 -1
  184. data/lib/sunshine-conversations-client/models/conversation_referral_event_all_of_payload.rb +1 -1
  185. data/lib/sunshine-conversations-client/models/conversation_remove_event.rb +1 -1
  186. data/lib/sunshine-conversations-client/models/conversation_remove_event_all_of.rb +1 -1
  187. data/lib/sunshine-conversations-client/models/conversation_remove_event_all_of_payload.rb +1 -1
  188. data/lib/sunshine-conversations-client/models/conversation_response.rb +1 -1
  189. data/lib/sunshine-conversations-client/models/conversation_truncated.rb +2 -3
  190. data/lib/sunshine-conversations-client/models/conversation_type.rb +1 -1
  191. data/lib/sunshine-conversations-client/models/conversation_typing_event.rb +1 -1
  192. data/lib/sunshine-conversations-client/models/conversation_typing_event_all_of.rb +1 -1
  193. data/lib/sunshine-conversations-client/models/conversation_typing_event_all_of_payload.rb +1 -1
  194. data/lib/sunshine-conversations-client/models/conversation_update_body.rb +2 -3
  195. data/lib/sunshine-conversations-client/models/custom.rb +1 -1
  196. data/lib/sunshine-conversations-client/models/custom_all_of.rb +1 -1
  197. data/lib/sunshine-conversations-client/models/custom_update.rb +1 -1
  198. data/lib/sunshine-conversations-client/models/default_responder.rb +2 -1
  199. data/lib/sunshine-conversations-client/models/default_responder_default_responder.rb +12 -31
  200. data/lib/sunshine-conversations-client/models/default_responder_id.rb +1 -1
  201. data/lib/sunshine-conversations-client/models/destination.rb +1 -1
  202. data/lib/sunshine-conversations-client/models/device.rb +2 -3
  203. data/lib/sunshine-conversations-client/models/device_list_response.rb +1 -1
  204. data/lib/sunshine-conversations-client/models/device_response.rb +1 -1
  205. data/lib/sunshine-conversations-client/models/download_message_ref_body.rb +1 -1
  206. data/lib/sunshine-conversations-client/models/download_message_ref_body_all_of.rb +1 -1
  207. data/lib/sunshine-conversations-client/models/download_message_ref_body_all_of_apple.rb +1 -1
  208. data/lib/sunshine-conversations-client/models/download_message_ref_body_all_of_apple_interactive_data_ref.rb +1 -1
  209. data/lib/sunshine-conversations-client/models/error.rb +214 -0
  210. data/lib/sunshine-conversations-client/models/error_response.rb +203 -0
  211. data/lib/sunshine-conversations-client/models/event_sub_schema.rb +1 -1
  212. data/lib/sunshine-conversations-client/models/extra_channel_options.rb +1 -1
  213. data/lib/sunshine-conversations-client/models/extra_channel_options_messenger.rb +1 -1
  214. data/lib/sunshine-conversations-client/models/field.rb +1 -1
  215. data/lib/sunshine-conversations-client/models/file_message.rb +53 -3
  216. data/lib/sunshine-conversations-client/models/form_message.rb +1 -1
  217. data/lib/sunshine-conversations-client/models/form_message_field.rb +1 -1
  218. data/lib/sunshine-conversations-client/models/form_message_field_all_of.rb +1 -1
  219. data/lib/sunshine-conversations-client/models/form_response_message.rb +1 -1
  220. data/lib/sunshine-conversations-client/models/form_response_message_field.rb +1 -1
  221. data/lib/sunshine-conversations-client/models/form_response_message_field_all_of.rb +1 -1
  222. data/lib/sunshine-conversations-client/models/identity.rb +1 -1
  223. data/lib/sunshine-conversations-client/models/image_message.rb +54 -4
  224. data/lib/sunshine-conversations-client/models/inline_object.rb +1 -1
  225. data/lib/sunshine-conversations-client/models/instagram.rb +4 -11
  226. data/lib/sunshine-conversations-client/models/instagram_all_of.rb +3 -11
  227. data/lib/sunshine-conversations-client/models/instagram_update.rb +1 -1
  228. data/lib/sunshine-conversations-client/models/instagram_update_all_of.rb +1 -1
  229. data/lib/sunshine-conversations-client/models/integration.rb +1 -1
  230. data/lib/sunshine-conversations-client/models/integration_api_key.rb +1 -1
  231. data/lib/sunshine-conversations-client/models/integration_api_key_list_response.rb +1 -1
  232. data/lib/sunshine-conversations-client/models/integration_api_key_response.rb +1 -1
  233. data/lib/sunshine-conversations-client/models/integration_id.rb +1 -1
  234. data/lib/sunshine-conversations-client/models/integration_list_filter.rb +1 -1
  235. data/lib/sunshine-conversations-client/models/integration_list_response.rb +1 -1
  236. data/lib/sunshine-conversations-client/models/integration_response.rb +1 -1
  237. data/lib/sunshine-conversations-client/models/integration_type.rb +1 -1
  238. data/lib/sunshine-conversations-client/models/integration_update.rb +12 -2
  239. data/lib/sunshine-conversations-client/models/integration_update_base.rb +1 -1
  240. data/lib/sunshine-conversations-client/models/ios.rb +13 -2
  241. data/lib/sunshine-conversations-client/models/ios_all_of.rb +12 -2
  242. data/lib/sunshine-conversations-client/models/ios_update.rb +12 -2
  243. data/lib/sunshine-conversations-client/models/ios_update_all_of.rb +12 -2
  244. data/lib/sunshine-conversations-client/models/item.rb +2 -3
  245. data/lib/sunshine-conversations-client/models/line.rb +2 -1
  246. data/lib/sunshine-conversations-client/models/line_all_of.rb +1 -1
  247. data/lib/sunshine-conversations-client/models/line_update.rb +1 -1
  248. data/lib/sunshine-conversations-client/models/link.rb +2 -3
  249. data/lib/sunshine-conversations-client/models/links.rb +1 -1
  250. data/lib/sunshine-conversations-client/models/list_message.rb +1 -1
  251. data/lib/sunshine-conversations-client/models/location_message.rb +1 -1
  252. data/lib/sunshine-conversations-client/models/location_message_coordinates.rb +1 -1
  253. data/lib/sunshine-conversations-client/models/location_message_location.rb +1 -1
  254. data/lib/sunshine-conversations-client/models/location_request.rb +2 -3
  255. data/lib/sunshine-conversations-client/models/mailgun.rb +3 -10
  256. data/lib/sunshine-conversations-client/models/mailgun_all_of.rb +2 -10
  257. data/lib/sunshine-conversations-client/models/mailgun_update.rb +1 -1
  258. data/lib/sunshine-conversations-client/models/mailgun_update_all_of.rb +1 -1
  259. data/lib/sunshine-conversations-client/models/match_criteria.rb +1 -1
  260. data/lib/sunshine-conversations-client/models/match_criteria_base.rb +1 -1
  261. data/lib/sunshine-conversations-client/models/match_criteria_mailgun.rb +1 -1
  262. data/lib/sunshine-conversations-client/models/match_criteria_mailgun_all_of.rb +1 -1
  263. data/lib/sunshine-conversations-client/models/match_criteria_messagebird.rb +1 -1
  264. data/lib/sunshine-conversations-client/models/match_criteria_messagebird_all_of.rb +1 -1
  265. data/lib/sunshine-conversations-client/models/match_criteria_twilio.rb +1 -1
  266. data/lib/sunshine-conversations-client/models/match_criteria_twilio_all_of.rb +1 -1
  267. data/lib/sunshine-conversations-client/models/match_criteria_whatsapp.rb +1 -1
  268. data/lib/sunshine-conversations-client/models/match_criteria_whatsapp_all_of.rb +1 -1
  269. data/lib/sunshine-conversations-client/models/message.rb +2 -2
  270. data/lib/sunshine-conversations-client/models/message_bird_update.rb +1 -1
  271. data/lib/sunshine-conversations-client/models/message_list_response.rb +1 -1
  272. data/lib/sunshine-conversations-client/models/message_override.rb +1 -1
  273. data/lib/sunshine-conversations-client/models/message_override_apple.rb +1 -1
  274. data/lib/sunshine-conversations-client/models/message_override_line.rb +1 -1
  275. data/lib/sunshine-conversations-client/models/message_override_messenger.rb +1 -1
  276. data/lib/sunshine-conversations-client/models/message_override_payload.rb +1 -1
  277. data/lib/sunshine-conversations-client/models/message_override_whatsapp.rb +1 -1
  278. data/lib/sunshine-conversations-client/models/message_post.rb +2 -3
  279. data/lib/sunshine-conversations-client/models/message_post_response.rb +1 -1
  280. data/lib/sunshine-conversations-client/models/message_webhook.rb +2 -2
  281. data/lib/sunshine-conversations-client/models/messagebird.rb +4 -19
  282. data/lib/sunshine-conversations-client/models/messagebird_all_of.rb +3 -19
  283. data/lib/sunshine-conversations-client/models/messenger.rb +4 -11
  284. data/lib/sunshine-conversations-client/models/messenger_all_of.rb +3 -11
  285. data/lib/sunshine-conversations-client/models/messenger_update.rb +1 -1
  286. data/lib/sunshine-conversations-client/models/meta.rb +1 -1
  287. data/lib/sunshine-conversations-client/models/offer_control_body.rb +2 -2
  288. data/lib/sunshine-conversations-client/models/page.rb +1 -1
  289. data/lib/sunshine-conversations-client/models/participant.rb +1 -1
  290. data/lib/sunshine-conversations-client/models/participant_join_body.rb +1 -1
  291. data/lib/sunshine-conversations-client/models/participant_leave_body.rb +1 -1
  292. data/lib/sunshine-conversations-client/models/participant_leave_body_participant_id.rb +1 -1
  293. data/lib/sunshine-conversations-client/models/participant_leave_body_user_external_id.rb +1 -1
  294. data/lib/sunshine-conversations-client/models/participant_leave_body_user_id.rb +1 -1
  295. data/lib/sunshine-conversations-client/models/participant_list_response.rb +1 -1
  296. data/lib/sunshine-conversations-client/models/participant_response.rb +1 -1
  297. data/lib/sunshine-conversations-client/models/participant_sub_schema.rb +1 -1
  298. data/lib/sunshine-conversations-client/models/participant_with_user_external_id.rb +1 -1
  299. data/lib/sunshine-conversations-client/models/participant_with_user_id.rb +1 -1
  300. data/lib/sunshine-conversations-client/models/pass_control_body.rb +2 -2
  301. data/lib/sunshine-conversations-client/models/postback.rb +2 -3
  302. data/lib/sunshine-conversations-client/models/postback_webhook.rb +2 -3
  303. data/lib/sunshine-conversations-client/models/prechat_capture.rb +1 -1
  304. data/lib/sunshine-conversations-client/models/profile.rb +1 -1
  305. data/lib/sunshine-conversations-client/models/quoted_message.rb +1 -1
  306. data/lib/sunshine-conversations-client/models/quoted_message_external_message_id.rb +1 -1
  307. data/lib/sunshine-conversations-client/models/quoted_message_message.rb +1 -1
  308. data/lib/sunshine-conversations-client/models/referral.rb +1 -1
  309. data/lib/sunshine-conversations-client/models/referral_details.rb +1 -1
  310. data/lib/sunshine-conversations-client/models/reply.rb +2 -3
  311. data/lib/sunshine-conversations-client/models/source.rb +1 -1
  312. data/lib/sunshine-conversations-client/models/source_webhook.rb +1 -1
  313. data/lib/sunshine-conversations-client/models/source_with_campaign_webhook.rb +1 -1
  314. data/lib/sunshine-conversations-client/models/source_with_campaign_webhook_all_of.rb +1 -1
  315. data/lib/sunshine-conversations-client/models/status.rb +1 -1
  316. data/lib/sunshine-conversations-client/models/switchboard.rb +1 -1
  317. data/lib/sunshine-conversations-client/models/switchboard_accept_control.rb +1 -1
  318. data/lib/sunshine-conversations-client/models/switchboard_accept_control_all_of.rb +1 -1
  319. data/lib/sunshine-conversations-client/models/switchboard_accept_control_all_of_payload.rb +2 -3
  320. data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure.rb +1 -1
  321. data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure_all_of.rb +1 -1
  322. data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure_all_of_payload.rb +2 -3
  323. data/lib/sunshine-conversations-client/models/switchboard_integration.rb +2 -1
  324. data/lib/sunshine-conversations-client/models/switchboard_integration_create_body.rb +2 -1
  325. data/lib/sunshine-conversations-client/models/switchboard_integration_list_response.rb +1 -1
  326. data/lib/sunshine-conversations-client/models/switchboard_integration_response.rb +1 -1
  327. data/lib/sunshine-conversations-client/models/switchboard_integration_update_body.rb +2 -1
  328. data/lib/sunshine-conversations-client/models/switchboard_integration_webhook.rb +1 -1
  329. data/lib/sunshine-conversations-client/models/switchboard_list_response.rb +1 -1
  330. data/lib/sunshine-conversations-client/models/switchboard_offer_control.rb +1 -1
  331. data/lib/sunshine-conversations-client/models/switchboard_offer_control_all_of.rb +1 -1
  332. data/lib/sunshine-conversations-client/models/switchboard_offer_control_all_of_payload.rb +2 -3
  333. data/lib/sunshine-conversations-client/models/switchboard_offer_control_failure.rb +1 -1
  334. data/lib/sunshine-conversations-client/models/switchboard_pass_control.rb +1 -1
  335. data/lib/sunshine-conversations-client/models/switchboard_pass_control_all_of.rb +1 -1
  336. data/lib/sunshine-conversations-client/models/switchboard_pass_control_all_of_payload.rb +2 -3
  337. data/lib/sunshine-conversations-client/models/switchboard_pass_control_failure.rb +1 -1
  338. data/lib/sunshine-conversations-client/models/switchboard_response.rb +1 -1
  339. data/lib/sunshine-conversations-client/models/switchboard_update_body.rb +1 -1
  340. data/lib/sunshine-conversations-client/models/target.rb +1 -1
  341. data/lib/sunshine-conversations-client/models/telegram.rb +3 -10
  342. data/lib/sunshine-conversations-client/models/telegram_all_of.rb +2 -10
  343. data/lib/sunshine-conversations-client/models/telegram_update.rb +1 -1
  344. data/lib/sunshine-conversations-client/models/template_message.rb +1 -1
  345. data/lib/sunshine-conversations-client/models/text_message.rb +53 -3
  346. data/lib/sunshine-conversations-client/models/ticket_closed.rb +1 -1
  347. data/lib/sunshine-conversations-client/models/transfer_to_email.rb +1 -1
  348. data/lib/sunshine-conversations-client/models/twilio.rb +3 -10
  349. data/lib/sunshine-conversations-client/models/twilio_all_of.rb +2 -10
  350. data/lib/sunshine-conversations-client/models/twilio_update.rb +1 -1
  351. data/lib/sunshine-conversations-client/models/twitter.rb +4 -19
  352. data/lib/sunshine-conversations-client/models/twitter_all_of.rb +3 -19
  353. data/lib/sunshine-conversations-client/models/twitter_update.rb +1 -1
  354. data/lib/sunshine-conversations-client/models/unity.rb +13 -2
  355. data/lib/sunshine-conversations-client/models/unity_all_of.rb +12 -2
  356. data/lib/sunshine-conversations-client/models/unity_update.rb +12 -2
  357. data/lib/sunshine-conversations-client/models/unity_update_all_of.rb +12 -2
  358. data/lib/sunshine-conversations-client/models/user.rb +2 -2
  359. data/lib/sunshine-conversations-client/models/user_all_of.rb +2 -2
  360. data/lib/sunshine-conversations-client/models/user_create_body.rb +2 -3
  361. data/lib/sunshine-conversations-client/models/user_merge_event.rb +1 -1
  362. data/lib/sunshine-conversations-client/models/user_merge_event_all_of.rb +1 -1
  363. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload.rb +2 -2
  364. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload_merged_clients.rb +1 -1
  365. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload_merged_conversations.rb +1 -1
  366. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload_merged_users.rb +1 -1
  367. data/lib/sunshine-conversations-client/models/user_remove_event.rb +1 -1
  368. data/lib/sunshine-conversations-client/models/user_remove_event_all_of.rb +1 -1
  369. data/lib/sunshine-conversations-client/models/user_remove_event_all_of_payload.rb +1 -1
  370. data/lib/sunshine-conversations-client/models/user_response.rb +1 -1
  371. data/lib/sunshine-conversations-client/models/user_truncated.rb +1 -1
  372. data/lib/sunshine-conversations-client/models/user_update_body.rb +2 -3
  373. data/lib/sunshine-conversations-client/models/user_update_event.rb +1 -1
  374. data/lib/sunshine-conversations-client/models/user_update_event_all_of.rb +1 -1
  375. data/lib/sunshine-conversations-client/models/user_update_event_all_of_payload.rb +1 -1
  376. data/lib/sunshine-conversations-client/models/viber.rb +3 -10
  377. data/lib/sunshine-conversations-client/models/viber_all_of.rb +2 -10
  378. data/lib/sunshine-conversations-client/models/viber_update.rb +1 -1
  379. data/lib/sunshine-conversations-client/models/web.rb +2 -1
  380. data/lib/sunshine-conversations-client/models/web_all_of.rb +1 -1
  381. data/lib/sunshine-conversations-client/models/web_update.rb +12 -2
  382. data/lib/sunshine-conversations-client/models/web_update_all_of.rb +12 -2
  383. data/lib/sunshine-conversations-client/models/webhook.rb +1 -1
  384. data/lib/sunshine-conversations-client/models/webhook_body.rb +1 -1
  385. data/lib/sunshine-conversations-client/models/webhook_create_body.rb +1 -1
  386. data/lib/sunshine-conversations-client/models/webhook_list_response.rb +1 -1
  387. data/lib/sunshine-conversations-client/models/webhook_response.rb +1 -1
  388. data/lib/sunshine-conversations-client/models/webhook_sub_schema.rb +1 -1
  389. data/lib/sunshine-conversations-client/models/webview.rb +2 -3
  390. data/lib/sunshine-conversations-client/models/whats_app_update.rb +1 -1
  391. data/lib/sunshine-conversations-client/models/whats_app_update_all_of.rb +1 -1
  392. data/lib/sunshine-conversations-client/models/whatsapp.rb +3 -17
  393. data/lib/sunshine-conversations-client/models/whatsapp_all_of.rb +2 -17
  394. data/lib/sunshine-conversations-client/version.rb +2 -2
  395. data/lib/sunshine-conversations-client.rb +3 -1
  396. data/spec/api_client_spec.rb +1 -1
  397. data/spec/configuration_spec.rb +1 -1
  398. data/spec/spec_helper.rb +1 -1
  399. data/sunshine-conversations-client.gemspec +1 -1
  400. metadata +6 -2
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 14.3.5
4
+ The version of the OpenAPI document: 15.0.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -55,7 +55,9 @@ module SunshineConversationsClient
55
55
  # List of attributes with nullable: true
56
56
  def self.openapi_nullable
57
57
  Set.new([
58
+ :'token',
58
59
  :'default_responder_id',
60
+ :'default_responder'
59
61
  ])
60
62
  end
61
63
 
@@ -118,10 +120,6 @@ module SunshineConversationsClient
118
120
  # @return Array for valid properties with the reasons
119
121
  def list_invalid_properties
120
122
  invalid_properties = super
121
- if @token.nil?
122
- invalid_properties.push('invalid value for "token", token cannot be nil.')
123
- end
124
-
125
123
  if @token.to_s.length < 1
126
124
  invalid_properties.push('invalid value for "token", the character length must be great than or equal to 1.')
127
125
  end
@@ -132,7 +130,6 @@ module SunshineConversationsClient
132
130
  # Check to see if the all the properties in the model are valid
133
131
  # @return true if the model is valid
134
132
  def valid?
135
- return false if @token.nil?
136
133
  return false if @token.to_s.length < 1
137
134
  true && super
138
135
  end
@@ -140,10 +137,6 @@ module SunshineConversationsClient
140
137
  # Custom attribute writer method with validation
141
138
  # @param [Object] token Value to be assigned
142
139
  def token=(token)
143
- if token.nil?
144
- fail ArgumentError, 'token cannot be nil'
145
- end
146
-
147
140
  if token.to_s.length < 1
148
141
  fail ArgumentError, 'invalid value for "token", the character length must be great than or equal to 1.'
149
142
  end
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 14.3.5
4
+ The version of the OpenAPI document: 15.0.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -46,6 +46,7 @@ module SunshineConversationsClient
46
46
  # List of attributes with nullable: true
47
47
  def self.openapi_nullable
48
48
  Set.new([
49
+ :'token',
49
50
  ])
50
51
  end
51
52
 
@@ -87,10 +88,6 @@ module SunshineConversationsClient
87
88
  # @return Array for valid properties with the reasons
88
89
  def list_invalid_properties
89
90
  invalid_properties = Array.new
90
- if @token.nil?
91
- invalid_properties.push('invalid value for "token", token cannot be nil.')
92
- end
93
-
94
91
  if @token.to_s.length < 1
95
92
  invalid_properties.push('invalid value for "token", the character length must be great than or equal to 1.')
96
93
  end
@@ -101,7 +98,6 @@ module SunshineConversationsClient
101
98
  # Check to see if the all the properties in the model are valid
102
99
  # @return true if the model is valid
103
100
  def valid?
104
- return false if @token.nil?
105
101
  return false if @token.to_s.length < 1
106
102
  true
107
103
  end
@@ -109,10 +105,6 @@ module SunshineConversationsClient
109
105
  # Custom attribute writer method with validation
110
106
  # @param [Object] token Value to be assigned
111
107
  def token=(token)
112
- if token.nil?
113
- fail ArgumentError, 'token cannot be nil'
114
- end
115
-
116
108
  if token.to_s.length < 1
117
109
  fail ArgumentError, 'invalid value for "token", the character length must be great than or equal to 1.'
118
110
  end
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 14.3.5
4
+ The version of the OpenAPI document: 15.0.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 14.3.5
4
+ The version of the OpenAPI document: 15.0.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -129,6 +129,7 @@ module SunshineConversationsClient
129
129
  :'integration_order',
130
130
  :'origin_whitelist',
131
131
  :'default_responder_id',
132
+ :'default_responder'
132
133
  ])
133
134
  end
134
135
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 14.3.5
4
+ The version of the OpenAPI document: 15.0.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 14.3.5
4
+ The version of the OpenAPI document: 15.0.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -59,6 +59,9 @@ module SunshineConversationsClient
59
59
  # Object whose properties can be set to specify the add-on’s options. See the [guide](https://docs.smooch.io/guide/web-messenger/#prechat-capture) to learn more about Prechat Capture.
60
60
  attr_accessor :prechat_capture
61
61
 
62
+ # Allows users to view their list of conversations. By default, the list of conversations will be visible. *This setting only applies to apps where `settings.multiConvoEnabled` is set to `true`*.
63
+ attr_accessor :can_user_see_conversation_list
64
+
62
65
  # Allows users to create more than one conversation on the web messenger integration.
63
66
  attr_accessor :can_user_create_more_conversations
64
67
 
@@ -81,6 +84,7 @@ module SunshineConversationsClient
81
84
  :'background_image_url' => :'backgroundImageUrl',
82
85
  :'origin_whitelist' => :'originWhitelist',
83
86
  :'prechat_capture' => :'prechatCapture',
87
+ :'can_user_see_conversation_list' => :'canUserSeeConversationList',
84
88
  :'can_user_create_more_conversations' => :'canUserCreateMoreConversations'
85
89
  }
86
90
  end
@@ -104,6 +108,7 @@ module SunshineConversationsClient
104
108
  :'background_image_url' => :'String',
105
109
  :'origin_whitelist' => :'Array<String>',
106
110
  :'prechat_capture' => :'PrechatCapture',
111
+ :'can_user_see_conversation_list' => :'Boolean',
107
112
  :'can_user_create_more_conversations' => :'Boolean'
108
113
  }
109
114
  end
@@ -218,6 +223,10 @@ module SunshineConversationsClient
218
223
  self.prechat_capture = attributes[:'prechat_capture']
219
224
  end
220
225
 
226
+ if attributes.key?(:'can_user_see_conversation_list')
227
+ self.can_user_see_conversation_list = attributes[:'can_user_see_conversation_list']
228
+ end
229
+
221
230
  if attributes.key?(:'can_user_create_more_conversations')
222
231
  self.can_user_create_more_conversations = attributes[:'can_user_create_more_conversations']
223
232
  end
@@ -281,6 +290,7 @@ module SunshineConversationsClient
281
290
  background_image_url == o.background_image_url &&
282
291
  origin_whitelist == o.origin_whitelist &&
283
292
  prechat_capture == o.prechat_capture &&
293
+ can_user_see_conversation_list == o.can_user_see_conversation_list &&
284
294
  can_user_create_more_conversations == o.can_user_create_more_conversations
285
295
  end
286
296
 
@@ -293,7 +303,7 @@ module SunshineConversationsClient
293
303
  # Calculates hash code according to all attributes.
294
304
  # @return [Integer] Hash code
295
305
  def hash
296
- [display_name, default_responder_id, brand_color, fixed_intro_pane, conversation_color, action_color, display_style, button_icon_url, button_width, button_height, integration_order, business_name, business_icon_url, background_image_url, origin_whitelist, prechat_capture, can_user_create_more_conversations].hash
306
+ [display_name, default_responder_id, brand_color, fixed_intro_pane, conversation_color, action_color, display_style, button_icon_url, button_width, button_height, integration_order, business_name, business_icon_url, background_image_url, origin_whitelist, prechat_capture, can_user_see_conversation_list, can_user_create_more_conversations].hash
297
307
  end
298
308
 
299
309
  # Builds the object from hash
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 14.3.5
4
+ The version of the OpenAPI document: 15.0.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -54,6 +54,9 @@ module SunshineConversationsClient
54
54
  # Object whose properties can be set to specify the add-on’s options. See the [guide](https://docs.smooch.io/guide/web-messenger/#prechat-capture) to learn more about Prechat Capture.
55
55
  attr_accessor :prechat_capture
56
56
 
57
+ # Allows users to view their list of conversations. By default, the list of conversations will be visible. *This setting only applies to apps where `settings.multiConvoEnabled` is set to `true`*.
58
+ attr_accessor :can_user_see_conversation_list
59
+
57
60
  # Allows users to create more than one conversation on the web messenger integration.
58
61
  attr_accessor :can_user_create_more_conversations
59
62
 
@@ -74,6 +77,7 @@ module SunshineConversationsClient
74
77
  :'background_image_url' => :'backgroundImageUrl',
75
78
  :'origin_whitelist' => :'originWhitelist',
76
79
  :'prechat_capture' => :'prechatCapture',
80
+ :'can_user_see_conversation_list' => :'canUserSeeConversationList',
77
81
  :'can_user_create_more_conversations' => :'canUserCreateMoreConversations'
78
82
  }
79
83
  end
@@ -95,6 +99,7 @@ module SunshineConversationsClient
95
99
  :'background_image_url' => :'String',
96
100
  :'origin_whitelist' => :'Array<String>',
97
101
  :'prechat_capture' => :'PrechatCapture',
102
+ :'can_user_see_conversation_list' => :'Boolean',
98
103
  :'can_user_create_more_conversations' => :'Boolean'
99
104
  }
100
105
  end
@@ -191,6 +196,10 @@ module SunshineConversationsClient
191
196
  self.prechat_capture = attributes[:'prechat_capture']
192
197
  end
193
198
 
199
+ if attributes.key?(:'can_user_see_conversation_list')
200
+ self.can_user_see_conversation_list = attributes[:'can_user_see_conversation_list']
201
+ end
202
+
194
203
  if attributes.key?(:'can_user_create_more_conversations')
195
204
  self.can_user_create_more_conversations = attributes[:'can_user_create_more_conversations']
196
205
  end
@@ -228,6 +237,7 @@ module SunshineConversationsClient
228
237
  background_image_url == o.background_image_url &&
229
238
  origin_whitelist == o.origin_whitelist &&
230
239
  prechat_capture == o.prechat_capture &&
240
+ can_user_see_conversation_list == o.can_user_see_conversation_list &&
231
241
  can_user_create_more_conversations == o.can_user_create_more_conversations
232
242
  end
233
243
 
@@ -240,7 +250,7 @@ module SunshineConversationsClient
240
250
  # Calculates hash code according to all attributes.
241
251
  # @return [Integer] Hash code
242
252
  def hash
243
- [brand_color, fixed_intro_pane, conversation_color, action_color, display_style, button_icon_url, button_width, button_height, integration_order, business_name, business_icon_url, background_image_url, origin_whitelist, prechat_capture, can_user_create_more_conversations].hash
253
+ [brand_color, fixed_intro_pane, conversation_color, action_color, display_style, button_icon_url, button_width, button_height, integration_order, business_name, business_icon_url, background_image_url, origin_whitelist, prechat_capture, can_user_see_conversation_list, can_user_create_more_conversations].hash
244
254
  end
245
255
 
246
256
  # Builds the object from hash
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 14.3.5
4
+ The version of the OpenAPI document: 15.0.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 14.3.5
4
+ The version of the OpenAPI document: 15.0.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 14.3.5
4
+ The version of the OpenAPI document: 15.0.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 14.3.5
4
+ The version of the OpenAPI document: 15.0.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 14.3.5
4
+ The version of the OpenAPI document: 15.0.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 14.3.5
4
+ The version of the OpenAPI document: 15.0.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 14.3.5
4
+ The version of the OpenAPI document: 15.0.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -82,7 +82,7 @@ module SunshineConversationsClient
82
82
  :'uri' => :'String',
83
83
  :'text' => :'String',
84
84
  :'default' => :'Boolean',
85
- :'metadata' => :'Object',
85
+ :'metadata' => :'Hash<String, Object>',
86
86
  :'extra_channel_options' => :'ExtraChannelOptions',
87
87
  :'size' => :'String',
88
88
  :'fallback' => :'String',
@@ -129,7 +129,6 @@ module SunshineConversationsClient
129
129
  end
130
130
 
131
131
  if attributes.key?(:'metadata')
132
- self.metadata = attributes[:'metadata']
133
132
  end
134
133
 
135
134
  if attributes.key?(:'extra_channel_options')
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 14.3.5
4
+ The version of the OpenAPI document: 15.0.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 14.3.5
4
+ The version of the OpenAPI document: 15.0.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 14.3.5
4
+ The version of the OpenAPI document: 15.0.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -14,9 +14,6 @@ module SunshineConversationsClient
14
14
  # To configure a WhatsApp integration, use your WhatsApp API Client connection information. Sunshine Conversations can provide WhatsApp API Client hosting for approved brands. See our [WhatsApp guide](https://docs.smooch.io/guide/whatsapp/#whatsapp-api-client) for more details on WhatsApp API Client hosting.
15
15
  attr_accessor :type
16
16
 
17
- # The Id of the deployment. The integrationId and the appId will be added to the deployment. Additionally, the deployment’s status will be set to integrated.
18
- attr_accessor :deployment_id
19
-
20
17
  # Specify a fallback language to use when sending WhatsApp message template using the short hand syntax. Defaults to en_US. See WhatsApp documentation for more info.
21
18
  attr_accessor :hsm_fallback_language
22
19
 
@@ -38,7 +35,6 @@ module SunshineConversationsClient
38
35
  def self.attribute_map
39
36
  {
40
37
  :'type' => :'type',
41
- :'deployment_id' => :'deploymentId',
42
38
  :'hsm_fallback_language' => :'hsmFallbackLanguage',
43
39
  :'account_id' => :'accountId',
44
40
  :'account_management_access_token' => :'accountManagementAccessToken',
@@ -52,7 +48,6 @@ module SunshineConversationsClient
52
48
  def self.openapi_types
53
49
  {
54
50
  :'type' => :'String',
55
- :'deployment_id' => :'String',
56
51
  :'hsm_fallback_language' => :'String',
57
52
  :'account_id' => :'String',
58
53
  :'account_management_access_token' => :'String',
@@ -70,6 +65,7 @@ module SunshineConversationsClient
70
65
  :'account_management_access_token',
71
66
  :'phone_number',
72
67
  :'default_responder_id',
68
+ :'default_responder'
73
69
  ])
74
70
  end
75
71
 
@@ -107,10 +103,6 @@ module SunshineConversationsClient
107
103
  self.type = 'whatsapp'
108
104
  end
109
105
 
110
- if attributes.key?(:'deployment_id')
111
- self.deployment_id = attributes[:'deployment_id']
112
- end
113
-
114
106
  if attributes.key?(:'hsm_fallback_language')
115
107
  self.hsm_fallback_language = attributes[:'hsm_fallback_language']
116
108
  else
@@ -142,17 +134,12 @@ module SunshineConversationsClient
142
134
  # @return Array for valid properties with the reasons
143
135
  def list_invalid_properties
144
136
  invalid_properties = super
145
- if @deployment_id.nil?
146
- invalid_properties.push('invalid value for "deployment_id", deployment_id cannot be nil.')
147
- end
148
-
149
137
  invalid_properties
150
138
  end
151
139
 
152
140
  # Check to see if the all the properties in the model are valid
153
141
  # @return true if the model is valid
154
142
  def valid?
155
- return false if @deployment_id.nil?
156
143
  true && super
157
144
  end
158
145
 
@@ -162,7 +149,6 @@ module SunshineConversationsClient
162
149
  return true if self.equal?(o)
163
150
  self.class == o.class &&
164
151
  type == o.type &&
165
- deployment_id == o.deployment_id &&
166
152
  hsm_fallback_language == o.hsm_fallback_language &&
167
153
  account_id == o.account_id &&
168
154
  account_management_access_token == o.account_management_access_token &&
@@ -180,7 +166,7 @@ module SunshineConversationsClient
180
166
  # Calculates hash code according to all attributes.
181
167
  # @return [Integer] Hash code
182
168
  def hash
183
- [type, deployment_id, hsm_fallback_language, account_id, account_management_access_token, phone_number, default_responder_id, default_responder].hash
169
+ [type, hsm_fallback_language, account_id, account_management_access_token, phone_number, default_responder_id, default_responder].hash
184
170
  end
185
171
 
186
172
  # Builds the object from hash
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 14.3.5
4
+ The version of the OpenAPI document: 15.0.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -14,9 +14,6 @@ module SunshineConversationsClient
14
14
  # To configure a WhatsApp integration, use your WhatsApp API Client connection information. Sunshine Conversations can provide WhatsApp API Client hosting for approved brands. See our [WhatsApp guide](https://docs.smooch.io/guide/whatsapp/#whatsapp-api-client) for more details on WhatsApp API Client hosting.
15
15
  attr_accessor :type
16
16
 
17
- # The Id of the deployment. The integrationId and the appId will be added to the deployment. Additionally, the deployment’s status will be set to integrated.
18
- attr_accessor :deployment_id
19
-
20
17
  # Specify a fallback language to use when sending WhatsApp message template using the short hand syntax. Defaults to en_US. See WhatsApp documentation for more info.
21
18
  attr_accessor :hsm_fallback_language
22
19
 
@@ -33,7 +30,6 @@ module SunshineConversationsClient
33
30
  def self.attribute_map
34
31
  {
35
32
  :'type' => :'type',
36
- :'deployment_id' => :'deploymentId',
37
33
  :'hsm_fallback_language' => :'hsmFallbackLanguage',
38
34
  :'account_id' => :'accountId',
39
35
  :'account_management_access_token' => :'accountManagementAccessToken',
@@ -45,7 +41,6 @@ module SunshineConversationsClient
45
41
  def self.openapi_types
46
42
  {
47
43
  :'type' => :'String',
48
- :'deployment_id' => :'String',
49
44
  :'hsm_fallback_language' => :'String',
50
45
  :'account_id' => :'String',
51
46
  :'account_management_access_token' => :'String',
@@ -84,10 +79,6 @@ module SunshineConversationsClient
84
79
  self.type = 'whatsapp'
85
80
  end
86
81
 
87
- if attributes.key?(:'deployment_id')
88
- self.deployment_id = attributes[:'deployment_id']
89
- end
90
-
91
82
  if attributes.key?(:'hsm_fallback_language')
92
83
  self.hsm_fallback_language = attributes[:'hsm_fallback_language']
93
84
  else
@@ -111,17 +102,12 @@ module SunshineConversationsClient
111
102
  # @return Array for valid properties with the reasons
112
103
  def list_invalid_properties
113
104
  invalid_properties = Array.new
114
- if @deployment_id.nil?
115
- invalid_properties.push('invalid value for "deployment_id", deployment_id cannot be nil.')
116
- end
117
-
118
105
  invalid_properties
119
106
  end
120
107
 
121
108
  # Check to see if the all the properties in the model are valid
122
109
  # @return true if the model is valid
123
110
  def valid?
124
- return false if @deployment_id.nil?
125
111
  true
126
112
  end
127
113
 
@@ -131,7 +117,6 @@ module SunshineConversationsClient
131
117
  return true if self.equal?(o)
132
118
  self.class == o.class &&
133
119
  type == o.type &&
134
- deployment_id == o.deployment_id &&
135
120
  hsm_fallback_language == o.hsm_fallback_language &&
136
121
  account_id == o.account_id &&
137
122
  account_management_access_token == o.account_management_access_token &&
@@ -147,7 +132,7 @@ module SunshineConversationsClient
147
132
  # Calculates hash code according to all attributes.
148
133
  # @return [Integer] Hash code
149
134
  def hash
150
- [type, deployment_id, hsm_fallback_language, account_id, account_management_access_token, phone_number].hash
135
+ [type, hsm_fallback_language, account_id, account_management_access_token, phone_number].hash
151
136
  end
152
137
 
153
138
  # Builds the object from hash
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 14.3.5
4
+ The version of the OpenAPI document: 15.0.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
8
8
  =end
9
9
 
10
10
  module SunshineConversationsClient
11
- VERSION = '14.3.5'
11
+ VERSION = '15.0.0'
12
12
  end
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 14.3.5
4
+ The version of the OpenAPI document: 15.0.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -141,6 +141,8 @@ require 'sunshine-conversations-client/models/download_message_ref_body'
141
141
  require 'sunshine-conversations-client/models/download_message_ref_body_all_of'
142
142
  require 'sunshine-conversations-client/models/download_message_ref_body_all_of_apple'
143
143
  require 'sunshine-conversations-client/models/download_message_ref_body_all_of_apple_interactive_data_ref'
144
+ require 'sunshine-conversations-client/models/error'
145
+ require 'sunshine-conversations-client/models/error_response'
144
146
  require 'sunshine-conversations-client/models/event_sub_schema'
145
147
  require 'sunshine-conversations-client/models/extra_channel_options'
146
148
  require 'sunshine-conversations-client/models/extra_channel_options_messenger'
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 14.3.5
4
+ The version of the OpenAPI document: 15.0.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 14.3.5
4
+ The version of the OpenAPI document: 15.0.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
data/spec/spec_helper.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 14.3.5
4
+ The version of the OpenAPI document: 15.0.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -3,7 +3,7 @@
3
3
  =begin
4
4
  #Sunshine Conversations API
5
5
 
6
- The version of the OpenAPI document: 14.3.5
6
+ The version of the OpenAPI document: 15.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.3.1
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sunshine-conversations-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.3.5
4
+ version: 15.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sunshine Conversations
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-31 00:00:00.000000000 Z
11
+ date: 2025-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -207,6 +207,8 @@ files:
207
207
  - docs/DownloadMessageRefBodyAllOf.md
208
208
  - docs/DownloadMessageRefBodyAllOfApple.md
209
209
  - docs/DownloadMessageRefBodyAllOfAppleInteractiveDataRef.md
210
+ - docs/Error.md
211
+ - docs/ErrorResponse.md
210
212
  - docs/EventSubSchema.md
211
213
  - docs/ExtraChannelOptions.md
212
214
  - docs/ExtraChannelOptionsMessenger.md
@@ -537,6 +539,8 @@ files:
537
539
  - lib/sunshine-conversations-client/models/download_message_ref_body_all_of.rb
538
540
  - lib/sunshine-conversations-client/models/download_message_ref_body_all_of_apple.rb
539
541
  - lib/sunshine-conversations-client/models/download_message_ref_body_all_of_apple_interactive_data_ref.rb
542
+ - lib/sunshine-conversations-client/models/error.rb
543
+ - lib/sunshine-conversations-client/models/error_response.rb
540
544
  - lib/sunshine-conversations-client/models/event_sub_schema.rb
541
545
  - lib/sunshine-conversations-client/models/extra_channel_options.rb
542
546
  - lib/sunshine-conversations-client/models/extra_channel_options_messenger.rb