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
@@ -30,7 +30,7 @@ module SunshineConversationsClient
30
30
  def self.openapi_types
31
31
  {
32
32
  :'conversation' => :'ConversationTruncated',
33
- :'metadata' => :'Object'
33
+ :'metadata' => :'Hash<String, Object>'
34
34
  }
35
35
  end
36
36
 
@@ -61,7 +61,6 @@ module SunshineConversationsClient
61
61
  end
62
62
 
63
63
  if attributes.key?(:'metadata')
64
- self.metadata = attributes[:'metadata']
65
64
  end
66
65
  end
67
66
 
@@ -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
@@ -35,7 +35,7 @@ module SunshineConversationsClient
35
35
  {
36
36
  :'error' => :'Object',
37
37
  :'conversation' => :'ConversationTruncated',
38
- :'metadata' => :'Object'
38
+ :'metadata' => :'Hash<String, Object>'
39
39
  }
40
40
  end
41
41
 
@@ -70,7 +70,6 @@ module SunshineConversationsClient
70
70
  end
71
71
 
72
72
  if attributes.key?(:'metadata')
73
- self.metadata = attributes[:'metadata']
74
73
  end
75
74
  end
76
75
 
@@ -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
@@ -61,6 +61,7 @@ module SunshineConversationsClient
61
61
  # List of attributes with nullable: true
62
62
  def self.openapi_nullable
63
63
  Set.new([
64
+ :'next_switchboard_integration_id',
64
65
  :'message_history_count'
65
66
  ])
66
67
  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
@@ -22,6 +22,7 @@ module SunshineConversationsClient
22
22
 
23
23
  attr_accessor :deliver_standby_events
24
24
 
25
+ # The switchboard integration id to which control of a conversation is passed / offered by default.
25
26
  attr_accessor :next_switchboard_integration_id
26
27
 
27
28
  # Number of messages to include in the message history context.
@@ -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
@@ -23,6 +23,7 @@ module SunshineConversationsClient
23
23
  # Setting to determine if webhooks should be sent when the switchboard integration is not in control of a conversation (standby status)
24
24
  attr_accessor :deliver_standby_events
25
25
 
26
+ # The switchboard integration id to which control of a conversation is passed / offered by default.
26
27
  attr_accessor :next_switchboard_integration_id
27
28
 
28
29
  # Number of messages to include in the message history context.
@@ -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
@@ -30,7 +30,7 @@ module SunshineConversationsClient
30
30
  def self.openapi_types
31
31
  {
32
32
  :'conversation' => :'ConversationTruncated',
33
- :'metadata' => :'Object'
33
+ :'metadata' => :'Hash<String, Object>'
34
34
  }
35
35
  end
36
36
 
@@ -61,7 +61,6 @@ module SunshineConversationsClient
61
61
  end
62
62
 
63
63
  if attributes.key?(:'metadata')
64
- self.metadata = attributes[:'metadata']
65
64
  end
66
65
  end
67
66
 
@@ -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
@@ -30,7 +30,7 @@ module SunshineConversationsClient
30
30
  def self.openapi_types
31
31
  {
32
32
  :'conversation' => :'ConversationTruncated',
33
- :'metadata' => :'Object'
33
+ :'metadata' => :'Hash<String, Object>'
34
34
  }
35
35
  end
36
36
 
@@ -61,7 +61,6 @@ module SunshineConversationsClient
61
61
  end
62
62
 
63
63
  if attributes.key?(:'metadata')
64
- self.metadata = attributes[:'metadata']
65
64
  end
66
65
  end
67
66
 
@@ -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
@@ -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
@@ -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,15 @@ module SunshineConversationsClient
14
14
  # The type of message.
15
15
  attr_accessor :type
16
16
 
17
- # The text content of the message. Optional only if actions are provided.
17
+ # The text content of the message. Required unless `actions`, `htmlText` or `markdownText` is provided.
18
18
  attr_accessor :text
19
19
 
20
+ # 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.
21
+ attr_accessor :html_text
22
+
23
+ # 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.
24
+ attr_accessor :markdown_text
25
+
20
26
  # Array of message actions.
21
27
  attr_accessor :actions
22
28
 
@@ -28,6 +34,8 @@ module SunshineConversationsClient
28
34
  {
29
35
  :'type' => :'type',
30
36
  :'text' => :'text',
37
+ :'html_text' => :'htmlText',
38
+ :'markdown_text' => :'markdownText',
31
39
  :'actions' => :'actions',
32
40
  :'payload' => :'payload'
33
41
  }
@@ -38,6 +46,8 @@ module SunshineConversationsClient
38
46
  {
39
47
  :'type' => :'String',
40
48
  :'text' => :'String',
49
+ :'html_text' => :'String',
50
+ :'markdown_text' => :'String',
41
51
  :'actions' => :'Array<Action>',
42
52
  :'payload' => :'String'
43
53
  }
@@ -74,6 +84,14 @@ module SunshineConversationsClient
74
84
  self.text = attributes[:'text']
75
85
  end
76
86
 
87
+ if attributes.key?(:'html_text')
88
+ self.html_text = attributes[:'html_text']
89
+ end
90
+
91
+ if attributes.key?(:'markdown_text')
92
+ self.markdown_text = attributes[:'markdown_text']
93
+ end
94
+
77
95
  if attributes.key?(:'actions')
78
96
  end
79
97
 
@@ -94,6 +112,14 @@ module SunshineConversationsClient
94
112
  invalid_properties.push('invalid value for "text", the character length must be smaller than or equal to 4096.')
95
113
  end
96
114
 
115
+ if !@html_text.nil? && @html_text.to_s.length > 4096
116
+ invalid_properties.push('invalid value for "html_text", the character length must be smaller than or equal to 4096.')
117
+ end
118
+
119
+ if !@markdown_text.nil? && @markdown_text.to_s.length > 4096
120
+ invalid_properties.push('invalid value for "markdown_text", the character length must be smaller than or equal to 4096.')
121
+ end
122
+
97
123
  invalid_properties
98
124
  end
99
125
 
@@ -102,6 +128,8 @@ module SunshineConversationsClient
102
128
  def valid?
103
129
  return false if @type.nil?
104
130
  return false if !@text.nil? && @text.to_s.length > 4096
131
+ return false if !@html_text.nil? && @html_text.to_s.length > 4096
132
+ return false if !@markdown_text.nil? && @markdown_text.to_s.length > 4096
105
133
  true
106
134
  end
107
135
 
@@ -115,6 +143,26 @@ module SunshineConversationsClient
115
143
  @text = text
116
144
  end
117
145
 
146
+ # Custom attribute writer method with validation
147
+ # @param [Object] html_text Value to be assigned
148
+ def html_text=(html_text)
149
+ if !html_text.nil? && html_text.to_s.length > 4096
150
+ fail ArgumentError, 'invalid value for "html_text", the character length must be smaller than or equal to 4096.'
151
+ end
152
+
153
+ @html_text = html_text
154
+ end
155
+
156
+ # Custom attribute writer method with validation
157
+ # @param [Object] markdown_text Value to be assigned
158
+ def markdown_text=(markdown_text)
159
+ if !markdown_text.nil? && markdown_text.to_s.length > 4096
160
+ fail ArgumentError, 'invalid value for "markdown_text", the character length must be smaller than or equal to 4096.'
161
+ end
162
+
163
+ @markdown_text = markdown_text
164
+ end
165
+
118
166
  # Checks equality by comparing each attribute.
119
167
  # @param [Object] Object to be compared
120
168
  def ==(o)
@@ -122,6 +170,8 @@ module SunshineConversationsClient
122
170
  self.class == o.class &&
123
171
  type == o.type &&
124
172
  text == o.text &&
173
+ html_text == o.html_text &&
174
+ markdown_text == o.markdown_text &&
125
175
  actions == o.actions &&
126
176
  payload == o.payload
127
177
  end
@@ -135,7 +185,7 @@ module SunshineConversationsClient
135
185
  # Calculates hash code according to all attributes.
136
186
  # @return [Integer] Hash code
137
187
  def hash
138
- [type, text, actions, payload].hash
188
+ [type, text, html_text, markdown_text, actions, payload].hash
139
189
  end
140
190
 
141
191
  # 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
@@ -60,7 +60,9 @@ module SunshineConversationsClient
60
60
  # List of attributes with nullable: true
61
61
  def self.openapi_nullable
62
62
  Set.new([
63
+ :'auth_token',
63
64
  :'default_responder_id',
65
+ :'default_responder'
64
66
  ])
65
67
  end
66
68
 
@@ -131,10 +133,6 @@ module SunshineConversationsClient
131
133
  invalid_properties.push('invalid value for "account_sid", account_sid cannot be nil.')
132
134
  end
133
135
 
134
- if @auth_token.nil?
135
- invalid_properties.push('invalid value for "auth_token", auth_token cannot be nil.')
136
- end
137
-
138
136
  if @auth_token.to_s.length < 1
139
137
  invalid_properties.push('invalid value for "auth_token", the character length must be great than or equal to 1.')
140
138
  end
@@ -154,7 +152,6 @@ module SunshineConversationsClient
154
152
  # @return true if the model is valid
155
153
  def valid?
156
154
  return false if @account_sid.nil?
157
- return false if @auth_token.nil?
158
155
  return false if @auth_token.to_s.length < 1
159
156
  return false if !@phone_number_sid.nil? && @phone_number_sid.to_s.length < 1
160
157
  return false if !@messaging_service_sid.nil? && @messaging_service_sid.to_s.length < 1
@@ -164,10 +161,6 @@ module SunshineConversationsClient
164
161
  # Custom attribute writer method with validation
165
162
  # @param [Object] auth_token Value to be assigned
166
163
  def auth_token=(auth_token)
167
- if auth_token.nil?
168
- fail ArgumentError, 'auth_token cannot be nil'
169
- end
170
-
171
164
  if auth_token.to_s.length < 1
172
165
  fail ArgumentError, 'invalid value for "auth_token", the character length must be great than or equal to 1.'
173
166
  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
@@ -51,6 +51,7 @@ module SunshineConversationsClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'auth_token',
54
55
  ])
55
56
  end
56
57
 
@@ -100,10 +101,6 @@ module SunshineConversationsClient
100
101
  invalid_properties.push('invalid value for "account_sid", account_sid cannot be nil.')
101
102
  end
102
103
 
103
- if @auth_token.nil?
104
- invalid_properties.push('invalid value for "auth_token", auth_token cannot be nil.')
105
- end
106
-
107
104
  if @auth_token.to_s.length < 1
108
105
  invalid_properties.push('invalid value for "auth_token", the character length must be great than or equal to 1.')
109
106
  end
@@ -123,7 +120,6 @@ module SunshineConversationsClient
123
120
  # @return true if the model is valid
124
121
  def valid?
125
122
  return false if @account_sid.nil?
126
- return false if @auth_token.nil?
127
123
  return false if @auth_token.to_s.length < 1
128
124
  return false if !@phone_number_sid.nil? && @phone_number_sid.to_s.length < 1
129
125
  return false if !@messaging_service_sid.nil? && @messaging_service_sid.to_s.length < 1
@@ -133,10 +129,6 @@ module SunshineConversationsClient
133
129
  # Custom attribute writer method with validation
134
130
  # @param [Object] auth_token Value to be assigned
135
131
  def auth_token=(auth_token)
136
- if auth_token.nil?
137
- fail ArgumentError, 'auth_token cannot be nil'
138
- end
139
-
140
132
  if auth_token.to_s.length < 1
141
133
  fail ArgumentError, 'invalid value for "auth_token", the character length must be great than or equal to 1.'
142
134
  end