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
@@ -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
@@ -14,7 +14,7 @@ module SunshineConversationsClient
14
14
  # The type of message.
15
15
  attr_accessor :type
16
16
 
17
- # The URL for media, such as an image, attached to the message. <aside class=\"notice\">Note that for private attachments an authorization header is required to access the mediaUrl. See <a href=\"https://developer.zendesk.com/documentation/zendesk-web-widget-sdks/messaging_private_attachments/\">Configuring private attachments for messaging</a> guide for more details.</aside>
17
+ # The URL for media, such as an image, attached to the message. <aside class=\"notice\">Note that for private attachments an authorization header is required to access the mediaUrl. See [configuring private attachments for messaging](https://developer.zendesk.com/documentation/zendesk-web-widget-sdks/messaging_private_attachments/) guide for more details.</aside>
18
18
  attr_accessor :media_url
19
19
 
20
20
  # The type of media.
@@ -26,9 +26,15 @@ module SunshineConversationsClient
26
26
  # An optional description of the image for accessibility purposes. The field will be saved by default with the file name as the value.
27
27
  attr_accessor :alt_text
28
28
 
29
- # The text content of the message. Optional only if actions are provided.
29
+ # The text content of the message.
30
30
  attr_accessor :text
31
31
 
32
+ # HTML text content of the message. Can be provided in place of `text`. Cannot be used with `markdownText`. If no `text` is provided, will be converted to `text` upon reception to be displayed on channels that do not support rich text. See [rich text](https://docs.smooch.io/guide/structured-messages/rich-text) documentation for more information.
33
+ attr_accessor :html_text
34
+
35
+ # Markdown text content of the message. Can be provided in place of `text`. Cannot be used with `htmlText`. Will be converted to `htmlText` upon reception. If converted `htmlText` exceeds 4096 characters, the message will be rejected. If no `text` is provided, will be converted to `text` upon reception to be displayed on channels that do not support rich text. See [rich text](https://docs.smooch.io/guide/structured-messages/rich-text) documentation for more information.
36
+ attr_accessor :markdown_text
37
+
32
38
  # Array of message actions.
33
39
  attr_accessor :actions
34
40
 
@@ -44,6 +50,8 @@ module SunshineConversationsClient
44
50
  :'media_size' => :'mediaSize',
45
51
  :'alt_text' => :'altText',
46
52
  :'text' => :'text',
53
+ :'html_text' => :'htmlText',
54
+ :'markdown_text' => :'markdownText',
47
55
  :'actions' => :'actions',
48
56
  :'attachment_id' => :'attachmentId'
49
57
  }
@@ -58,6 +66,8 @@ module SunshineConversationsClient
58
66
  :'media_size' => :'Float',
59
67
  :'alt_text' => :'String',
60
68
  :'text' => :'String',
69
+ :'html_text' => :'String',
70
+ :'markdown_text' => :'String',
61
71
  :'actions' => :'Array<Action>',
62
72
  :'attachment_id' => :'String'
63
73
  }
@@ -110,6 +120,14 @@ module SunshineConversationsClient
110
120
  self.text = attributes[:'text']
111
121
  end
112
122
 
123
+ if attributes.key?(:'html_text')
124
+ self.html_text = attributes[:'html_text']
125
+ end
126
+
127
+ if attributes.key?(:'markdown_text')
128
+ self.markdown_text = attributes[:'markdown_text']
129
+ end
130
+
113
131
  if attributes.key?(:'actions')
114
132
  end
115
133
 
@@ -138,6 +156,14 @@ module SunshineConversationsClient
138
156
  invalid_properties.push('invalid value for "alt_text", the character length must be smaller than or equal to 128.')
139
157
  end
140
158
 
159
+ if !@html_text.nil? && @html_text.to_s.length > 4096
160
+ invalid_properties.push('invalid value for "html_text", the character length must be smaller than or equal to 4096.')
161
+ end
162
+
163
+ if !@markdown_text.nil? && @markdown_text.to_s.length > 4096
164
+ invalid_properties.push('invalid value for "markdown_text", the character length must be smaller than or equal to 4096.')
165
+ end
166
+
141
167
  invalid_properties
142
168
  end
143
169
 
@@ -148,6 +174,8 @@ module SunshineConversationsClient
148
174
  return false if @media_url.nil?
149
175
  return false if !@media_type.nil? && @media_type.to_s.length > 128
150
176
  return false if !@alt_text.nil? && @alt_text.to_s.length > 128
177
+ return false if !@html_text.nil? && @html_text.to_s.length > 4096
178
+ return false if !@markdown_text.nil? && @markdown_text.to_s.length > 4096
151
179
  true
152
180
  end
153
181
 
@@ -171,6 +199,26 @@ module SunshineConversationsClient
171
199
  @alt_text = alt_text
172
200
  end
173
201
 
202
+ # Custom attribute writer method with validation
203
+ # @param [Object] html_text Value to be assigned
204
+ def html_text=(html_text)
205
+ if !html_text.nil? && html_text.to_s.length > 4096
206
+ fail ArgumentError, 'invalid value for "html_text", the character length must be smaller than or equal to 4096.'
207
+ end
208
+
209
+ @html_text = html_text
210
+ end
211
+
212
+ # Custom attribute writer method with validation
213
+ # @param [Object] markdown_text Value to be assigned
214
+ def markdown_text=(markdown_text)
215
+ if !markdown_text.nil? && markdown_text.to_s.length > 4096
216
+ fail ArgumentError, 'invalid value for "markdown_text", the character length must be smaller than or equal to 4096.'
217
+ end
218
+
219
+ @markdown_text = markdown_text
220
+ end
221
+
174
222
  # Checks equality by comparing each attribute.
175
223
  # @param [Object] Object to be compared
176
224
  def ==(o)
@@ -182,6 +230,8 @@ module SunshineConversationsClient
182
230
  media_size == o.media_size &&
183
231
  alt_text == o.alt_text &&
184
232
  text == o.text &&
233
+ html_text == o.html_text &&
234
+ markdown_text == o.markdown_text &&
185
235
  actions == o.actions &&
186
236
  attachment_id == o.attachment_id
187
237
  end
@@ -195,7 +245,7 @@ module SunshineConversationsClient
195
245
  # Calculates hash code according to all attributes.
196
246
  # @return [Integer] Hash code
197
247
  def hash
198
- [type, media_url, media_type, media_size, alt_text, text, actions, attachment_id].hash
248
+ [type, media_url, media_type, media_size, alt_text, text, html_text, markdown_text, actions, attachment_id].hash
199
249
  end
200
250
 
201
251
  # 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
@@ -85,7 +85,10 @@ module SunshineConversationsClient
85
85
  # List of attributes with nullable: true
86
86
  def self.openapi_nullable
87
87
  Set.new([
88
+ :'page_access_token',
89
+ :'app_secret',
88
90
  :'default_responder_id',
91
+ :'default_responder'
89
92
  ])
90
93
  end
91
94
 
@@ -172,27 +175,17 @@ module SunshineConversationsClient
172
175
  # @return Array for valid properties with the reasons
173
176
  def list_invalid_properties
174
177
  invalid_properties = super
175
- if @page_access_token.nil?
176
- invalid_properties.push('invalid value for "page_access_token", page_access_token cannot be nil.')
177
- end
178
-
179
178
  if @app_id.nil?
180
179
  invalid_properties.push('invalid value for "app_id", app_id cannot be nil.')
181
180
  end
182
181
 
183
- if @app_secret.nil?
184
- invalid_properties.push('invalid value for "app_secret", app_secret cannot be nil.')
185
- end
186
-
187
182
  invalid_properties
188
183
  end
189
184
 
190
185
  # Check to see if the all the properties in the model are valid
191
186
  # @return true if the model is valid
192
187
  def valid?
193
- return false if @page_access_token.nil?
194
188
  return false if @app_id.nil?
195
- return false if @app_secret.nil?
196
189
  true && super
197
190
  end
198
191
 
@@ -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
@@ -76,6 +76,8 @@ module SunshineConversationsClient
76
76
  # List of attributes with nullable: true
77
77
  def self.openapi_nullable
78
78
  Set.new([
79
+ :'page_access_token',
80
+ :'app_secret',
79
81
  ])
80
82
  end
81
83
 
@@ -141,27 +143,17 @@ module SunshineConversationsClient
141
143
  # @return Array for valid properties with the reasons
142
144
  def list_invalid_properties
143
145
  invalid_properties = Array.new
144
- if @page_access_token.nil?
145
- invalid_properties.push('invalid value for "page_access_token", page_access_token cannot be nil.')
146
- end
147
-
148
146
  if @app_id.nil?
149
147
  invalid_properties.push('invalid value for "app_id", app_id cannot be nil.')
150
148
  end
151
149
 
152
- if @app_secret.nil?
153
- invalid_properties.push('invalid value for "app_secret", app_secret cannot be nil.')
154
- end
155
-
156
150
  invalid_properties
157
151
  end
158
152
 
159
153
  # Check to see if the all the properties in the model are valid
160
154
  # @return true if the model is valid
161
155
  def valid?
162
- return false if @page_access_token.nil?
163
156
  return false if @app_id.nil?
164
- return false if @app_secret.nil?
165
157
  true
166
158
  end
167
159
 
@@ -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
@@ -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
@@ -32,6 +32,9 @@ module SunshineConversationsClient
32
32
  # Your sender id from the fcm console.
33
33
  attr_accessor :sender_id
34
34
 
35
+ # 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`*.
36
+ attr_accessor :can_user_see_conversation_list
37
+
35
38
  # Allows users to create more than one conversation on the web messenger integration.
36
39
  attr_accessor :can_user_create_more_conversations
37
40
 
@@ -120,6 +123,7 @@ module SunshineConversationsClient
120
123
  :'private_key' => :'privateKey',
121
124
  :'server_key' => :'serverKey',
122
125
  :'sender_id' => :'senderId',
126
+ :'can_user_see_conversation_list' => :'canUserSeeConversationList',
123
127
  :'can_user_create_more_conversations' => :'canUserCreateMoreConversations',
124
128
  :'authentication_message_secret' => :'authenticationMessageSecret',
125
129
  :'page_access_token' => :'pageAccessToken',
@@ -159,6 +163,7 @@ module SunshineConversationsClient
159
163
  :'private_key' => :'String',
160
164
  :'server_key' => :'String',
161
165
  :'sender_id' => :'String',
166
+ :'can_user_see_conversation_list' => :'Boolean',
162
167
  :'can_user_create_more_conversations' => :'Boolean',
163
168
  :'authentication_message_secret' => :'String',
164
169
  :'page_access_token' => :'String',
@@ -274,6 +279,10 @@ module SunshineConversationsClient
274
279
  self.sender_id = attributes[:'sender_id']
275
280
  end
276
281
 
282
+ if attributes.key?(:'can_user_see_conversation_list')
283
+ self.can_user_see_conversation_list = attributes[:'can_user_see_conversation_list']
284
+ end
285
+
277
286
  if attributes.key?(:'can_user_create_more_conversations')
278
287
  self.can_user_create_more_conversations = attributes[:'can_user_create_more_conversations']
279
288
  end
@@ -578,6 +587,7 @@ module SunshineConversationsClient
578
587
  private_key == o.private_key &&
579
588
  server_key == o.server_key &&
580
589
  sender_id == o.sender_id &&
590
+ can_user_see_conversation_list == o.can_user_see_conversation_list &&
581
591
  can_user_create_more_conversations == o.can_user_create_more_conversations &&
582
592
  authentication_message_secret == o.authentication_message_secret &&
583
593
  page_access_token == o.page_access_token &&
@@ -615,7 +625,7 @@ module SunshineConversationsClient
615
625
  # Calculates hash code according to all attributes.
616
626
  # @return [Integer] Hash code
617
627
  def hash
618
- [display_name, default_responder_id, project_id, client_email, private_key, server_key, sender_id, can_user_create_more_conversations, authentication_message_secret, page_access_token, certificate, password, production, auto_update_badge, hide_unsubscribe_link, from_address, 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, hsm_fallback_language, account_id, account_management_access_token].hash
628
+ [display_name, default_responder_id, project_id, client_email, private_key, server_key, sender_id, can_user_see_conversation_list, can_user_create_more_conversations, authentication_message_secret, page_access_token, certificate, password, production, auto_update_badge, hide_unsubscribe_link, from_address, 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, hsm_fallback_language, account_id, account_management_access_token].hash
619
629
  end
620
630
 
621
631
  # 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
@@ -26,6 +26,9 @@ module SunshineConversationsClient
26
26
  # Use the unread count of the conversation as the application badge.
27
27
  attr_accessor :auto_update_badge
28
28
 
29
+ # 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`*.
30
+ attr_accessor :can_user_see_conversation_list
31
+
29
32
  # Allows users to create more than one conversation on the iOS integration.
30
33
  attr_accessor :can_user_create_more_conversations
31
34
 
@@ -45,6 +48,7 @@ module SunshineConversationsClient
45
48
  :'password' => :'password',
46
49
  :'production' => :'production',
47
50
  :'auto_update_badge' => :'autoUpdateBadge',
51
+ :'can_user_see_conversation_list' => :'canUserSeeConversationList',
48
52
  :'can_user_create_more_conversations' => :'canUserCreateMoreConversations',
49
53
  :'attachments_enabled' => :'attachmentsEnabled',
50
54
  :'default_responder_id' => :'defaultResponderId',
@@ -60,6 +64,7 @@ module SunshineConversationsClient
60
64
  :'password' => :'String',
61
65
  :'production' => :'Boolean',
62
66
  :'auto_update_badge' => :'Boolean',
67
+ :'can_user_see_conversation_list' => :'Boolean',
63
68
  :'can_user_create_more_conversations' => :'Boolean',
64
69
  :'attachments_enabled' => :'Boolean',
65
70
  :'default_responder_id' => :'String',
@@ -72,6 +77,7 @@ module SunshineConversationsClient
72
77
  Set.new([
73
78
  :'certificate',
74
79
  :'default_responder_id',
80
+ :'default_responder'
75
81
  ])
76
82
  end
77
83
 
@@ -125,6 +131,10 @@ module SunshineConversationsClient
125
131
  self.auto_update_badge = attributes[:'auto_update_badge']
126
132
  end
127
133
 
134
+ if attributes.key?(:'can_user_see_conversation_list')
135
+ self.can_user_see_conversation_list = attributes[:'can_user_see_conversation_list']
136
+ end
137
+
128
138
  if attributes.key?(:'can_user_create_more_conversations')
129
139
  self.can_user_create_more_conversations = attributes[:'can_user_create_more_conversations']
130
140
  end
@@ -180,6 +190,7 @@ module SunshineConversationsClient
180
190
  password == o.password &&
181
191
  production == o.production &&
182
192
  auto_update_badge == o.auto_update_badge &&
193
+ can_user_see_conversation_list == o.can_user_see_conversation_list &&
183
194
  can_user_create_more_conversations == o.can_user_create_more_conversations &&
184
195
  attachments_enabled == o.attachments_enabled &&
185
196
  default_responder_id == o.default_responder_id &&
@@ -195,7 +206,7 @@ module SunshineConversationsClient
195
206
  # Calculates hash code according to all attributes.
196
207
  # @return [Integer] Hash code
197
208
  def hash
198
- [type, certificate, password, production, auto_update_badge, can_user_create_more_conversations, attachments_enabled, default_responder_id, default_responder].hash
209
+ [type, certificate, password, production, auto_update_badge, can_user_see_conversation_list, can_user_create_more_conversations, attachments_enabled, default_responder_id, default_responder].hash
199
210
  end
200
211
 
201
212
  # 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
@@ -26,6 +26,9 @@ module SunshineConversationsClient
26
26
  # Use the unread count of the conversation as the application badge.
27
27
  attr_accessor :auto_update_badge
28
28
 
29
+ # 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`*.
30
+ attr_accessor :can_user_see_conversation_list
31
+
29
32
  # Allows users to create more than one conversation on the iOS integration.
30
33
  attr_accessor :can_user_create_more_conversations
31
34
 
@@ -40,6 +43,7 @@ module SunshineConversationsClient
40
43
  :'password' => :'password',
41
44
  :'production' => :'production',
42
45
  :'auto_update_badge' => :'autoUpdateBadge',
46
+ :'can_user_see_conversation_list' => :'canUserSeeConversationList',
43
47
  :'can_user_create_more_conversations' => :'canUserCreateMoreConversations',
44
48
  :'attachments_enabled' => :'attachmentsEnabled'
45
49
  }
@@ -53,6 +57,7 @@ module SunshineConversationsClient
53
57
  :'password' => :'String',
54
58
  :'production' => :'Boolean',
55
59
  :'auto_update_badge' => :'Boolean',
60
+ :'can_user_see_conversation_list' => :'Boolean',
56
61
  :'can_user_create_more_conversations' => :'Boolean',
57
62
  :'attachments_enabled' => :'Boolean'
58
63
  }
@@ -102,6 +107,10 @@ module SunshineConversationsClient
102
107
  self.auto_update_badge = attributes[:'auto_update_badge']
103
108
  end
104
109
 
110
+ if attributes.key?(:'can_user_see_conversation_list')
111
+ self.can_user_see_conversation_list = attributes[:'can_user_see_conversation_list']
112
+ end
113
+
105
114
  if attributes.key?(:'can_user_create_more_conversations')
106
115
  self.can_user_create_more_conversations = attributes[:'can_user_create_more_conversations']
107
116
  end
@@ -149,6 +158,7 @@ module SunshineConversationsClient
149
158
  password == o.password &&
150
159
  production == o.production &&
151
160
  auto_update_badge == o.auto_update_badge &&
161
+ can_user_see_conversation_list == o.can_user_see_conversation_list &&
152
162
  can_user_create_more_conversations == o.can_user_create_more_conversations &&
153
163
  attachments_enabled == o.attachments_enabled
154
164
  end
@@ -162,7 +172,7 @@ module SunshineConversationsClient
162
172
  # Calculates hash code according to all attributes.
163
173
  # @return [Integer] Hash code
164
174
  def hash
165
- [type, certificate, password, production, auto_update_badge, can_user_create_more_conversations, attachments_enabled].hash
175
+ [type, certificate, password, production, auto_update_badge, can_user_see_conversation_list, can_user_create_more_conversations, attachments_enabled].hash
166
176
  end
167
177
 
168
178
  # Builds the object from hash