sunshine-conversations-client 14.3.5 → 14.4.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 (362) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG_RB.md +13 -4
  3. data/README.md +7 -5
  4. data/docs/Android.md +2 -0
  5. data/docs/AndroidAllOf.md +2 -0
  6. data/docs/AndroidUpdate.md +2 -0
  7. data/docs/AndroidUpdateAllOf.md +2 -0
  8. data/docs/AppSettings.md +1 -1
  9. data/docs/AttachmentSchema.md +1 -1
  10. data/docs/ClientsApi.md +1 -1
  11. data/docs/Content.md +5 -1
  12. data/docs/ConversationsApi.md +1 -1
  13. data/docs/DevicesApi.md +2 -2
  14. data/docs/Error.md +19 -0
  15. data/docs/ErrorResponse.md +17 -0
  16. data/docs/FileMessage.md +5 -1
  17. data/docs/ImageMessage.md +6 -2
  18. data/docs/IntegrationUpdate.md +2 -0
  19. data/docs/IntegrationsApi.md +1 -1
  20. data/docs/Ios.md +2 -0
  21. data/docs/IosAllOf.md +2 -0
  22. data/docs/IosUpdate.md +2 -0
  23. data/docs/IosUpdateAllOf.md +2 -0
  24. data/docs/OAuthEndpointsApi.md +1 -1
  25. data/docs/ParticipantsApi.md +2 -2
  26. data/docs/SwitchboardIntegrationsApi.md +1 -1
  27. data/docs/TextMessage.md +5 -1
  28. data/docs/Unity.md +2 -0
  29. data/docs/UnityAllOf.md +2 -0
  30. data/docs/UnityUpdate.md +2 -0
  31. data/docs/UnityUpdateAllOf.md +3 -1
  32. data/docs/WebUpdate.md +2 -0
  33. data/docs/WebUpdateAllOf.md +2 -0
  34. data/lib/sunshine-conversations-client/api/activities_api.rb +1 -1
  35. data/lib/sunshine-conversations-client/api/app_keys_api.rb +1 -1
  36. data/lib/sunshine-conversations-client/api/apps_api.rb +1 -1
  37. data/lib/sunshine-conversations-client/api/attachments_api.rb +1 -1
  38. data/lib/sunshine-conversations-client/api/clients_api.rb +1 -1
  39. data/lib/sunshine-conversations-client/api/conversations_api.rb +1 -1
  40. data/lib/sunshine-conversations-client/api/custom_integration_api_keys_api.rb +1 -1
  41. data/lib/sunshine-conversations-client/api/devices_api.rb +5 -5
  42. data/lib/sunshine-conversations-client/api/integrations_api.rb +1 -1
  43. data/lib/sunshine-conversations-client/api/messages_api.rb +1 -1
  44. data/lib/sunshine-conversations-client/api/o_auth_endpoints_api.rb +3 -1
  45. data/lib/sunshine-conversations-client/api/participants_api.rb +1 -1
  46. data/lib/sunshine-conversations-client/api/switchboard_actions_api.rb +1 -1
  47. data/lib/sunshine-conversations-client/api/switchboard_integrations_api.rb +1 -1
  48. data/lib/sunshine-conversations-client/api/switchboards_api.rb +1 -1
  49. data/lib/sunshine-conversations-client/api/users_api.rb +1 -1
  50. data/lib/sunshine-conversations-client/api/webhooks_api.rb +1 -1
  51. data/lib/sunshine-conversations-client/api_client.rb +1 -1
  52. data/lib/sunshine-conversations-client/api_error.rb +1 -1
  53. data/lib/sunshine-conversations-client/configuration.rb +1 -1
  54. data/lib/sunshine-conversations-client/models/accept_control_body.rb +1 -1
  55. data/lib/sunshine-conversations-client/models/action.rb +1 -1
  56. data/lib/sunshine-conversations-client/models/action_subset.rb +1 -1
  57. data/lib/sunshine-conversations-client/models/activity.rb +1 -1
  58. data/lib/sunshine-conversations-client/models/activity_all_of.rb +1 -1
  59. data/lib/sunshine-conversations-client/models/activity_message.rb +1 -1
  60. data/lib/sunshine-conversations-client/models/activity_post.rb +1 -1
  61. data/lib/sunshine-conversations-client/models/activity_post_all_of.rb +1 -1
  62. data/lib/sunshine-conversations-client/models/activity_types.rb +1 -1
  63. data/lib/sunshine-conversations-client/models/android.rb +12 -2
  64. data/lib/sunshine-conversations-client/models/android_all_of.rb +12 -2
  65. data/lib/sunshine-conversations-client/models/android_update.rb +12 -2
  66. data/lib/sunshine-conversations-client/models/android_update_all_of.rb +12 -2
  67. data/lib/sunshine-conversations-client/models/api_key.rb +1 -1
  68. data/lib/sunshine-conversations-client/models/app.rb +1 -1
  69. data/lib/sunshine-conversations-client/models/app_create_body.rb +1 -1
  70. data/lib/sunshine-conversations-client/models/app_key.rb +1 -1
  71. data/lib/sunshine-conversations-client/models/app_key_create_body.rb +1 -1
  72. data/lib/sunshine-conversations-client/models/app_key_list_response.rb +1 -1
  73. data/lib/sunshine-conversations-client/models/app_key_response.rb +1 -1
  74. data/lib/sunshine-conversations-client/models/app_list_filter.rb +1 -1
  75. data/lib/sunshine-conversations-client/models/app_list_response.rb +1 -1
  76. data/lib/sunshine-conversations-client/models/app_response.rb +1 -1
  77. data/lib/sunshine-conversations-client/models/app_settings.rb +1 -1
  78. data/lib/sunshine-conversations-client/models/app_sub_schema.rb +1 -1
  79. data/lib/sunshine-conversations-client/models/app_update_body.rb +1 -1
  80. data/lib/sunshine-conversations-client/models/apple.rb +1 -1
  81. data/lib/sunshine-conversations-client/models/apple_all_of.rb +1 -1
  82. data/lib/sunshine-conversations-client/models/apple_message_override_payload.rb +1 -1
  83. data/lib/sunshine-conversations-client/models/apple_update.rb +1 -1
  84. data/lib/sunshine-conversations-client/models/apple_update_all_of.rb +1 -1
  85. data/lib/sunshine-conversations-client/models/attachment_delete_body.rb +1 -1
  86. data/lib/sunshine-conversations-client/models/attachment_response.rb +1 -1
  87. data/lib/sunshine-conversations-client/models/attachment_schema.rb +2 -2
  88. data/lib/sunshine-conversations-client/models/attachment_upload_body.rb +1 -1
  89. data/lib/sunshine-conversations-client/models/author.rb +1 -1
  90. data/lib/sunshine-conversations-client/models/author_webhook.rb +1 -1
  91. data/lib/sunshine-conversations-client/models/buy.rb +1 -1
  92. data/lib/sunshine-conversations-client/models/campaign.rb +1 -1
  93. data/lib/sunshine-conversations-client/models/carousel_message.rb +1 -1
  94. data/lib/sunshine-conversations-client/models/carousel_message_display_settings.rb +1 -1
  95. data/lib/sunshine-conversations-client/models/client.rb +1 -1
  96. data/lib/sunshine-conversations-client/models/client_add_event.rb +1 -1
  97. data/lib/sunshine-conversations-client/models/client_add_event_all_of.rb +1 -1
  98. data/lib/sunshine-conversations-client/models/client_add_event_all_of_payload.rb +1 -1
  99. data/lib/sunshine-conversations-client/models/client_association.rb +1 -1
  100. data/lib/sunshine-conversations-client/models/client_create.rb +1 -1
  101. data/lib/sunshine-conversations-client/models/client_list_response.rb +1 -1
  102. data/lib/sunshine-conversations-client/models/client_remove_event.rb +1 -1
  103. data/lib/sunshine-conversations-client/models/client_remove_event_all_of.rb +1 -1
  104. data/lib/sunshine-conversations-client/models/client_remove_event_all_of_payload.rb +1 -1
  105. data/lib/sunshine-conversations-client/models/client_response.rb +1 -1
  106. data/lib/sunshine-conversations-client/models/client_type.rb +1 -1
  107. data/lib/sunshine-conversations-client/models/client_update_event.rb +1 -1
  108. data/lib/sunshine-conversations-client/models/client_update_event_all_of.rb +1 -1
  109. data/lib/sunshine-conversations-client/models/client_update_event_all_of_payload.rb +1 -1
  110. data/lib/sunshine-conversations-client/models/confirmation.rb +1 -1
  111. data/lib/sunshine-conversations-client/models/content.rb +53 -3
  112. data/lib/sunshine-conversations-client/models/conversation.rb +1 -1
  113. data/lib/sunshine-conversations-client/models/conversation_all_of.rb +1 -1
  114. data/lib/sunshine-conversations-client/models/conversation_create_body.rb +1 -1
  115. data/lib/sunshine-conversations-client/models/conversation_create_event.rb +1 -1
  116. data/lib/sunshine-conversations-client/models/conversation_create_event_all_of.rb +1 -1
  117. data/lib/sunshine-conversations-client/models/conversation_create_event_all_of_payload.rb +1 -1
  118. data/lib/sunshine-conversations-client/models/conversation_join_event.rb +1 -1
  119. data/lib/sunshine-conversations-client/models/conversation_join_event_all_of.rb +1 -1
  120. data/lib/sunshine-conversations-client/models/conversation_join_event_all_of_payload.rb +1 -1
  121. data/lib/sunshine-conversations-client/models/conversation_leave_event.rb +1 -1
  122. data/lib/sunshine-conversations-client/models/conversation_leave_event_all_of.rb +1 -1
  123. data/lib/sunshine-conversations-client/models/conversation_leave_event_all_of_payload.rb +1 -1
  124. data/lib/sunshine-conversations-client/models/conversation_list_filter.rb +1 -1
  125. data/lib/sunshine-conversations-client/models/conversation_list_response.rb +1 -1
  126. data/lib/sunshine-conversations-client/models/conversation_message_delivery_channel_event.rb +1 -1
  127. data/lib/sunshine-conversations-client/models/conversation_message_delivery_channel_event_all_of.rb +1 -1
  128. data/lib/sunshine-conversations-client/models/conversation_message_delivery_failure_event.rb +1 -1
  129. data/lib/sunshine-conversations-client/models/conversation_message_delivery_failure_event_all_of.rb +1 -1
  130. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload.rb +1 -1
  131. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload_destination.rb +1 -1
  132. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload_external_messages.rb +1 -1
  133. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload_message.rb +1 -1
  134. data/lib/sunshine-conversations-client/models/conversation_message_delivery_user_event.rb +1 -1
  135. data/lib/sunshine-conversations-client/models/conversation_message_event.rb +1 -1
  136. data/lib/sunshine-conversations-client/models/conversation_message_event_all_of.rb +1 -1
  137. data/lib/sunshine-conversations-client/models/conversation_message_event_all_of_payload.rb +1 -1
  138. data/lib/sunshine-conversations-client/models/conversation_postback_event.rb +1 -1
  139. data/lib/sunshine-conversations-client/models/conversation_postback_event_all_of.rb +1 -1
  140. data/lib/sunshine-conversations-client/models/conversation_postback_event_all_of_payload.rb +1 -1
  141. data/lib/sunshine-conversations-client/models/conversation_read_event.rb +1 -1
  142. data/lib/sunshine-conversations-client/models/conversation_read_event_all_of.rb +1 -1
  143. data/lib/sunshine-conversations-client/models/conversation_read_event_all_of_payload.rb +1 -1
  144. data/lib/sunshine-conversations-client/models/conversation_referral_event.rb +1 -1
  145. data/lib/sunshine-conversations-client/models/conversation_referral_event_all_of.rb +1 -1
  146. data/lib/sunshine-conversations-client/models/conversation_referral_event_all_of_payload.rb +1 -1
  147. data/lib/sunshine-conversations-client/models/conversation_remove_event.rb +1 -1
  148. data/lib/sunshine-conversations-client/models/conversation_remove_event_all_of.rb +1 -1
  149. data/lib/sunshine-conversations-client/models/conversation_remove_event_all_of_payload.rb +1 -1
  150. data/lib/sunshine-conversations-client/models/conversation_response.rb +1 -1
  151. data/lib/sunshine-conversations-client/models/conversation_truncated.rb +1 -1
  152. data/lib/sunshine-conversations-client/models/conversation_type.rb +1 -1
  153. data/lib/sunshine-conversations-client/models/conversation_typing_event.rb +1 -1
  154. data/lib/sunshine-conversations-client/models/conversation_typing_event_all_of.rb +1 -1
  155. data/lib/sunshine-conversations-client/models/conversation_typing_event_all_of_payload.rb +1 -1
  156. data/lib/sunshine-conversations-client/models/conversation_update_body.rb +1 -1
  157. data/lib/sunshine-conversations-client/models/custom.rb +1 -1
  158. data/lib/sunshine-conversations-client/models/custom_all_of.rb +1 -1
  159. data/lib/sunshine-conversations-client/models/custom_update.rb +1 -1
  160. data/lib/sunshine-conversations-client/models/default_responder.rb +1 -1
  161. data/lib/sunshine-conversations-client/models/default_responder_default_responder.rb +1 -1
  162. data/lib/sunshine-conversations-client/models/default_responder_id.rb +1 -1
  163. data/lib/sunshine-conversations-client/models/destination.rb +1 -1
  164. data/lib/sunshine-conversations-client/models/device.rb +1 -1
  165. data/lib/sunshine-conversations-client/models/device_list_response.rb +1 -1
  166. data/lib/sunshine-conversations-client/models/device_response.rb +1 -1
  167. data/lib/sunshine-conversations-client/models/download_message_ref_body.rb +1 -1
  168. data/lib/sunshine-conversations-client/models/download_message_ref_body_all_of.rb +1 -1
  169. data/lib/sunshine-conversations-client/models/download_message_ref_body_all_of_apple.rb +1 -1
  170. data/lib/sunshine-conversations-client/models/download_message_ref_body_all_of_apple_interactive_data_ref.rb +1 -1
  171. data/lib/sunshine-conversations-client/models/error.rb +214 -0
  172. data/lib/sunshine-conversations-client/models/error_response.rb +203 -0
  173. data/lib/sunshine-conversations-client/models/event_sub_schema.rb +1 -1
  174. data/lib/sunshine-conversations-client/models/extra_channel_options.rb +1 -1
  175. data/lib/sunshine-conversations-client/models/extra_channel_options_messenger.rb +1 -1
  176. data/lib/sunshine-conversations-client/models/field.rb +1 -1
  177. data/lib/sunshine-conversations-client/models/file_message.rb +53 -3
  178. data/lib/sunshine-conversations-client/models/form_message.rb +1 -1
  179. data/lib/sunshine-conversations-client/models/form_message_field.rb +1 -1
  180. data/lib/sunshine-conversations-client/models/form_message_field_all_of.rb +1 -1
  181. data/lib/sunshine-conversations-client/models/form_response_message.rb +1 -1
  182. data/lib/sunshine-conversations-client/models/form_response_message_field.rb +1 -1
  183. data/lib/sunshine-conversations-client/models/form_response_message_field_all_of.rb +1 -1
  184. data/lib/sunshine-conversations-client/models/identity.rb +1 -1
  185. data/lib/sunshine-conversations-client/models/image_message.rb +54 -4
  186. data/lib/sunshine-conversations-client/models/inline_object.rb +1 -1
  187. data/lib/sunshine-conversations-client/models/instagram.rb +1 -1
  188. data/lib/sunshine-conversations-client/models/instagram_all_of.rb +1 -1
  189. data/lib/sunshine-conversations-client/models/instagram_update.rb +1 -1
  190. data/lib/sunshine-conversations-client/models/instagram_update_all_of.rb +1 -1
  191. data/lib/sunshine-conversations-client/models/integration.rb +1 -1
  192. data/lib/sunshine-conversations-client/models/integration_api_key.rb +1 -1
  193. data/lib/sunshine-conversations-client/models/integration_api_key_list_response.rb +1 -1
  194. data/lib/sunshine-conversations-client/models/integration_api_key_response.rb +1 -1
  195. data/lib/sunshine-conversations-client/models/integration_id.rb +1 -1
  196. data/lib/sunshine-conversations-client/models/integration_list_filter.rb +1 -1
  197. data/lib/sunshine-conversations-client/models/integration_list_response.rb +1 -1
  198. data/lib/sunshine-conversations-client/models/integration_response.rb +1 -1
  199. data/lib/sunshine-conversations-client/models/integration_type.rb +1 -1
  200. data/lib/sunshine-conversations-client/models/integration_update.rb +12 -2
  201. data/lib/sunshine-conversations-client/models/integration_update_base.rb +1 -1
  202. data/lib/sunshine-conversations-client/models/ios.rb +12 -2
  203. data/lib/sunshine-conversations-client/models/ios_all_of.rb +12 -2
  204. data/lib/sunshine-conversations-client/models/ios_update.rb +12 -2
  205. data/lib/sunshine-conversations-client/models/ios_update_all_of.rb +12 -2
  206. data/lib/sunshine-conversations-client/models/item.rb +1 -1
  207. data/lib/sunshine-conversations-client/models/line.rb +1 -1
  208. data/lib/sunshine-conversations-client/models/line_all_of.rb +1 -1
  209. data/lib/sunshine-conversations-client/models/line_update.rb +1 -1
  210. data/lib/sunshine-conversations-client/models/link.rb +1 -1
  211. data/lib/sunshine-conversations-client/models/links.rb +1 -1
  212. data/lib/sunshine-conversations-client/models/list_message.rb +1 -1
  213. data/lib/sunshine-conversations-client/models/location_message.rb +1 -1
  214. data/lib/sunshine-conversations-client/models/location_message_coordinates.rb +1 -1
  215. data/lib/sunshine-conversations-client/models/location_message_location.rb +1 -1
  216. data/lib/sunshine-conversations-client/models/location_request.rb +1 -1
  217. data/lib/sunshine-conversations-client/models/mailgun.rb +1 -1
  218. data/lib/sunshine-conversations-client/models/mailgun_all_of.rb +1 -1
  219. data/lib/sunshine-conversations-client/models/mailgun_update.rb +1 -1
  220. data/lib/sunshine-conversations-client/models/mailgun_update_all_of.rb +1 -1
  221. data/lib/sunshine-conversations-client/models/match_criteria.rb +1 -1
  222. data/lib/sunshine-conversations-client/models/match_criteria_base.rb +1 -1
  223. data/lib/sunshine-conversations-client/models/match_criteria_mailgun.rb +1 -1
  224. data/lib/sunshine-conversations-client/models/match_criteria_mailgun_all_of.rb +1 -1
  225. data/lib/sunshine-conversations-client/models/match_criteria_messagebird.rb +1 -1
  226. data/lib/sunshine-conversations-client/models/match_criteria_messagebird_all_of.rb +1 -1
  227. data/lib/sunshine-conversations-client/models/match_criteria_twilio.rb +1 -1
  228. data/lib/sunshine-conversations-client/models/match_criteria_twilio_all_of.rb +1 -1
  229. data/lib/sunshine-conversations-client/models/match_criteria_whatsapp.rb +1 -1
  230. data/lib/sunshine-conversations-client/models/match_criteria_whatsapp_all_of.rb +1 -1
  231. data/lib/sunshine-conversations-client/models/message.rb +1 -1
  232. data/lib/sunshine-conversations-client/models/message_bird_update.rb +1 -1
  233. data/lib/sunshine-conversations-client/models/message_list_response.rb +1 -1
  234. data/lib/sunshine-conversations-client/models/message_override.rb +1 -1
  235. data/lib/sunshine-conversations-client/models/message_override_apple.rb +1 -1
  236. data/lib/sunshine-conversations-client/models/message_override_line.rb +1 -1
  237. data/lib/sunshine-conversations-client/models/message_override_messenger.rb +1 -1
  238. data/lib/sunshine-conversations-client/models/message_override_payload.rb +1 -1
  239. data/lib/sunshine-conversations-client/models/message_override_whatsapp.rb +1 -1
  240. data/lib/sunshine-conversations-client/models/message_post.rb +1 -1
  241. data/lib/sunshine-conversations-client/models/message_post_response.rb +1 -1
  242. data/lib/sunshine-conversations-client/models/message_webhook.rb +1 -1
  243. data/lib/sunshine-conversations-client/models/messagebird.rb +1 -1
  244. data/lib/sunshine-conversations-client/models/messagebird_all_of.rb +1 -1
  245. data/lib/sunshine-conversations-client/models/messenger.rb +1 -1
  246. data/lib/sunshine-conversations-client/models/messenger_all_of.rb +1 -1
  247. data/lib/sunshine-conversations-client/models/messenger_update.rb +1 -1
  248. data/lib/sunshine-conversations-client/models/meta.rb +1 -1
  249. data/lib/sunshine-conversations-client/models/offer_control_body.rb +1 -1
  250. data/lib/sunshine-conversations-client/models/page.rb +1 -1
  251. data/lib/sunshine-conversations-client/models/participant.rb +1 -1
  252. data/lib/sunshine-conversations-client/models/participant_join_body.rb +1 -1
  253. data/lib/sunshine-conversations-client/models/participant_leave_body.rb +1 -1
  254. data/lib/sunshine-conversations-client/models/participant_leave_body_participant_id.rb +1 -1
  255. data/lib/sunshine-conversations-client/models/participant_leave_body_user_external_id.rb +1 -1
  256. data/lib/sunshine-conversations-client/models/participant_leave_body_user_id.rb +1 -1
  257. data/lib/sunshine-conversations-client/models/participant_list_response.rb +1 -1
  258. data/lib/sunshine-conversations-client/models/participant_response.rb +1 -1
  259. data/lib/sunshine-conversations-client/models/participant_sub_schema.rb +1 -1
  260. data/lib/sunshine-conversations-client/models/participant_with_user_external_id.rb +1 -1
  261. data/lib/sunshine-conversations-client/models/participant_with_user_id.rb +1 -1
  262. data/lib/sunshine-conversations-client/models/pass_control_body.rb +1 -1
  263. data/lib/sunshine-conversations-client/models/postback.rb +1 -1
  264. data/lib/sunshine-conversations-client/models/postback_webhook.rb +1 -1
  265. data/lib/sunshine-conversations-client/models/prechat_capture.rb +1 -1
  266. data/lib/sunshine-conversations-client/models/profile.rb +1 -1
  267. data/lib/sunshine-conversations-client/models/quoted_message.rb +1 -1
  268. data/lib/sunshine-conversations-client/models/quoted_message_external_message_id.rb +1 -1
  269. data/lib/sunshine-conversations-client/models/quoted_message_message.rb +1 -1
  270. data/lib/sunshine-conversations-client/models/referral.rb +1 -1
  271. data/lib/sunshine-conversations-client/models/referral_details.rb +1 -1
  272. data/lib/sunshine-conversations-client/models/reply.rb +1 -1
  273. data/lib/sunshine-conversations-client/models/source.rb +1 -1
  274. data/lib/sunshine-conversations-client/models/source_webhook.rb +1 -1
  275. data/lib/sunshine-conversations-client/models/source_with_campaign_webhook.rb +1 -1
  276. data/lib/sunshine-conversations-client/models/source_with_campaign_webhook_all_of.rb +1 -1
  277. data/lib/sunshine-conversations-client/models/status.rb +1 -1
  278. data/lib/sunshine-conversations-client/models/switchboard.rb +1 -1
  279. data/lib/sunshine-conversations-client/models/switchboard_accept_control.rb +1 -1
  280. data/lib/sunshine-conversations-client/models/switchboard_accept_control_all_of.rb +1 -1
  281. data/lib/sunshine-conversations-client/models/switchboard_accept_control_all_of_payload.rb +1 -1
  282. data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure.rb +1 -1
  283. data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure_all_of.rb +1 -1
  284. data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure_all_of_payload.rb +1 -1
  285. data/lib/sunshine-conversations-client/models/switchboard_integration.rb +1 -1
  286. data/lib/sunshine-conversations-client/models/switchboard_integration_create_body.rb +1 -1
  287. data/lib/sunshine-conversations-client/models/switchboard_integration_list_response.rb +1 -1
  288. data/lib/sunshine-conversations-client/models/switchboard_integration_response.rb +1 -1
  289. data/lib/sunshine-conversations-client/models/switchboard_integration_update_body.rb +1 -1
  290. data/lib/sunshine-conversations-client/models/switchboard_integration_webhook.rb +1 -1
  291. data/lib/sunshine-conversations-client/models/switchboard_list_response.rb +1 -1
  292. data/lib/sunshine-conversations-client/models/switchboard_offer_control.rb +1 -1
  293. data/lib/sunshine-conversations-client/models/switchboard_offer_control_all_of.rb +1 -1
  294. data/lib/sunshine-conversations-client/models/switchboard_offer_control_all_of_payload.rb +1 -1
  295. data/lib/sunshine-conversations-client/models/switchboard_offer_control_failure.rb +1 -1
  296. data/lib/sunshine-conversations-client/models/switchboard_pass_control.rb +1 -1
  297. data/lib/sunshine-conversations-client/models/switchboard_pass_control_all_of.rb +1 -1
  298. data/lib/sunshine-conversations-client/models/switchboard_pass_control_all_of_payload.rb +1 -1
  299. data/lib/sunshine-conversations-client/models/switchboard_pass_control_failure.rb +1 -1
  300. data/lib/sunshine-conversations-client/models/switchboard_response.rb +1 -1
  301. data/lib/sunshine-conversations-client/models/switchboard_update_body.rb +1 -1
  302. data/lib/sunshine-conversations-client/models/target.rb +1 -1
  303. data/lib/sunshine-conversations-client/models/telegram.rb +1 -1
  304. data/lib/sunshine-conversations-client/models/telegram_all_of.rb +1 -1
  305. data/lib/sunshine-conversations-client/models/telegram_update.rb +1 -1
  306. data/lib/sunshine-conversations-client/models/template_message.rb +1 -1
  307. data/lib/sunshine-conversations-client/models/text_message.rb +53 -3
  308. data/lib/sunshine-conversations-client/models/ticket_closed.rb +1 -1
  309. data/lib/sunshine-conversations-client/models/transfer_to_email.rb +1 -1
  310. data/lib/sunshine-conversations-client/models/twilio.rb +1 -1
  311. data/lib/sunshine-conversations-client/models/twilio_all_of.rb +1 -1
  312. data/lib/sunshine-conversations-client/models/twilio_update.rb +1 -1
  313. data/lib/sunshine-conversations-client/models/twitter.rb +1 -1
  314. data/lib/sunshine-conversations-client/models/twitter_all_of.rb +1 -1
  315. data/lib/sunshine-conversations-client/models/twitter_update.rb +1 -1
  316. data/lib/sunshine-conversations-client/models/unity.rb +12 -2
  317. data/lib/sunshine-conversations-client/models/unity_all_of.rb +12 -2
  318. data/lib/sunshine-conversations-client/models/unity_update.rb +12 -2
  319. data/lib/sunshine-conversations-client/models/unity_update_all_of.rb +12 -2
  320. data/lib/sunshine-conversations-client/models/user.rb +1 -1
  321. data/lib/sunshine-conversations-client/models/user_all_of.rb +1 -1
  322. data/lib/sunshine-conversations-client/models/user_create_body.rb +1 -1
  323. data/lib/sunshine-conversations-client/models/user_merge_event.rb +1 -1
  324. data/lib/sunshine-conversations-client/models/user_merge_event_all_of.rb +1 -1
  325. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload.rb +1 -1
  326. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload_merged_clients.rb +1 -1
  327. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload_merged_conversations.rb +1 -1
  328. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload_merged_users.rb +1 -1
  329. data/lib/sunshine-conversations-client/models/user_remove_event.rb +1 -1
  330. data/lib/sunshine-conversations-client/models/user_remove_event_all_of.rb +1 -1
  331. data/lib/sunshine-conversations-client/models/user_remove_event_all_of_payload.rb +1 -1
  332. data/lib/sunshine-conversations-client/models/user_response.rb +1 -1
  333. data/lib/sunshine-conversations-client/models/user_truncated.rb +1 -1
  334. data/lib/sunshine-conversations-client/models/user_update_body.rb +1 -1
  335. data/lib/sunshine-conversations-client/models/user_update_event.rb +1 -1
  336. data/lib/sunshine-conversations-client/models/user_update_event_all_of.rb +1 -1
  337. data/lib/sunshine-conversations-client/models/user_update_event_all_of_payload.rb +1 -1
  338. data/lib/sunshine-conversations-client/models/viber.rb +1 -1
  339. data/lib/sunshine-conversations-client/models/viber_all_of.rb +1 -1
  340. data/lib/sunshine-conversations-client/models/viber_update.rb +1 -1
  341. data/lib/sunshine-conversations-client/models/web.rb +1 -1
  342. data/lib/sunshine-conversations-client/models/web_all_of.rb +1 -1
  343. data/lib/sunshine-conversations-client/models/web_update.rb +12 -2
  344. data/lib/sunshine-conversations-client/models/web_update_all_of.rb +12 -2
  345. data/lib/sunshine-conversations-client/models/webhook.rb +1 -1
  346. data/lib/sunshine-conversations-client/models/webhook_body.rb +1 -1
  347. data/lib/sunshine-conversations-client/models/webhook_create_body.rb +1 -1
  348. data/lib/sunshine-conversations-client/models/webhook_list_response.rb +1 -1
  349. data/lib/sunshine-conversations-client/models/webhook_response.rb +1 -1
  350. data/lib/sunshine-conversations-client/models/webhook_sub_schema.rb +1 -1
  351. data/lib/sunshine-conversations-client/models/webview.rb +1 -1
  352. data/lib/sunshine-conversations-client/models/whats_app_update.rb +1 -1
  353. data/lib/sunshine-conversations-client/models/whats_app_update_all_of.rb +1 -1
  354. data/lib/sunshine-conversations-client/models/whatsapp.rb +1 -1
  355. data/lib/sunshine-conversations-client/models/whatsapp_all_of.rb +1 -1
  356. data/lib/sunshine-conversations-client/version.rb +2 -2
  357. data/lib/sunshine-conversations-client.rb +3 -1
  358. data/spec/api_client_spec.rb +1 -1
  359. data/spec/configuration_spec.rb +1 -1
  360. data/spec/spec_helper.rb +1 -1
  361. data/sunshine-conversations-client.gemspec +1 -1
  362. metadata +6 -2
@@ -0,0 +1,214 @@
1
+ =begin
2
+ #Sunshine Conversations API
3
+
4
+ The version of the OpenAPI document: 14.4.0
5
+
6
+ Generated by: https://openapi-generator.tech
7
+ OpenAPI Generator version: 4.3.1
8
+ =end
9
+
10
+ require 'date'
11
+
12
+ module SunshineConversationsClient
13
+ class Error
14
+ # Error code used for classifying similar error types
15
+ attr_accessor :code
16
+
17
+ # Description of the error
18
+ attr_accessor :title
19
+
20
+ # Attribute mapping from ruby-style variable name to JSON key.
21
+ def self.attribute_map
22
+ {
23
+ :'code' => :'code',
24
+ :'title' => :'title'
25
+ }
26
+ end
27
+
28
+ # Attribute type mapping.
29
+ def self.openapi_types
30
+ {
31
+ :'code' => :'String',
32
+ :'title' => :'String'
33
+ }
34
+ end
35
+
36
+ # List of attributes with nullable: true
37
+ def self.openapi_nullable
38
+ Set.new([
39
+ ])
40
+ end
41
+
42
+ # Initializes the object
43
+ # @param [Hash] attributes Model attributes in the form of hash
44
+ def initialize(attributes = {})
45
+ if (!attributes.is_a?(Hash))
46
+ fail ArgumentError, "The input argument (attributes) must be a hash in `SunshineConversationsClient::Error` initialize method"
47
+ end
48
+
49
+ # check to see if the attribute exists and convert string to symbol for hash key
50
+ attributes = attributes.each_with_object({}) { |(k, v), h|
51
+ if (!self.class.attribute_map.key?(k.to_sym))
52
+ fail ArgumentError, "`#{k}` is not a valid attribute in `SunshineConversationsClient::Error`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
53
+ end
54
+ h[k.to_sym] = v
55
+ }
56
+
57
+ if attributes.key?(:'code')
58
+ self.code = attributes[:'code']
59
+ end
60
+
61
+ if attributes.key?(:'title')
62
+ self.title = attributes[:'title']
63
+ end
64
+ end
65
+
66
+ # Show invalid properties with the reasons. Usually used together with valid?
67
+ # @return Array for valid properties with the reasons
68
+ def list_invalid_properties
69
+ invalid_properties = Array.new
70
+ invalid_properties
71
+ end
72
+
73
+ # Check to see if the all the properties in the model are valid
74
+ # @return true if the model is valid
75
+ def valid?
76
+ true
77
+ end
78
+
79
+ # Checks equality by comparing each attribute.
80
+ # @param [Object] Object to be compared
81
+ def ==(o)
82
+ return true if self.equal?(o)
83
+ self.class == o.class &&
84
+ code == o.code &&
85
+ title == o.title
86
+ end
87
+
88
+ # @see the `==` method
89
+ # @param [Object] Object to be compared
90
+ def eql?(o)
91
+ self == o
92
+ end
93
+
94
+ # Calculates hash code according to all attributes.
95
+ # @return [Integer] Hash code
96
+ def hash
97
+ [code, title].hash
98
+ end
99
+
100
+ # Builds the object from hash
101
+ # @param [Hash] attributes Model attributes in the form of hash
102
+ # @return [Object] Returns the model itself
103
+ def self.build_from_hash(attributes)
104
+ new.build_from_hash(attributes)
105
+ end
106
+
107
+ # Builds the object from hash
108
+ # @param [Hash] attributes Model attributes in the form of hash
109
+ # @return [Object] Returns the model itself
110
+ def build_from_hash(attributes)
111
+ return nil unless attributes.is_a?(Hash)
112
+ self.class.openapi_types.each_pair do |key, type|
113
+ if type =~ /\AArray<(.*)>/i
114
+ # check to ensure the input is an array given that the attribute
115
+ # is documented as an array but the input is not
116
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
117
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
118
+ end
119
+ elsif !attributes[self.class.attribute_map[key]].nil?
120
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
121
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
122
+ end
123
+
124
+ self
125
+ end
126
+
127
+ # Deserializes the data based on type
128
+ # @param string type Data type
129
+ # @param string value Value to be deserialized
130
+ # @return [Object] Deserialized data
131
+ def _deserialize(type, value)
132
+ case type.to_sym
133
+ when :DateTime
134
+ DateTime.parse(value)
135
+ when :Date
136
+ Date.parse(value)
137
+ when :String
138
+ value.to_s
139
+ when :Integer
140
+ value.to_i
141
+ when :Float
142
+ value.to_f
143
+ when :Boolean
144
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
145
+ true
146
+ else
147
+ false
148
+ end
149
+ when :Object
150
+ # generic object (usually a Hash), return directly
151
+ value
152
+ when /\AArray<(?<inner_type>.+)>\z/
153
+ inner_type = Regexp.last_match[:inner_type]
154
+ value.map { |v| _deserialize(inner_type, v) }
155
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
156
+ k_type = Regexp.last_match[:k_type]
157
+ v_type = Regexp.last_match[:v_type]
158
+ {}.tap do |hash|
159
+ value.each do |k, v|
160
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
161
+ end
162
+ end
163
+ else # model
164
+ SunshineConversationsClient.const_get(type).build_from_hash(value)
165
+ end
166
+ end
167
+
168
+ # Returns the string representation of the object
169
+ # @return [String] String presentation of the object
170
+ def to_s
171
+ to_hash.to_s
172
+ end
173
+
174
+ # to_body is an alias to to_hash (backward compatibility)
175
+ # @return [Hash] Returns the object in the form of hash
176
+ def to_body
177
+ to_hash
178
+ end
179
+
180
+ # Returns the object in the form of hash
181
+ # @return [Hash] Returns the object in the form of hash
182
+ def to_hash
183
+ hash = {}
184
+ self.class.attribute_map.each_pair do |attr, param|
185
+ value = self.send(attr)
186
+ if value.nil?
187
+ is_nullable = self.class.openapi_nullable.include?(attr)
188
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
189
+ end
190
+
191
+ hash[param] = _to_hash(value)
192
+ end
193
+ hash
194
+ end
195
+
196
+ # Outputs non-array value in the form of hash
197
+ # For object, use to_hash. Otherwise, just return the value
198
+ # @param [Object] value Any valid value
199
+ # @return [Hash] Returns the value in the form of hash
200
+ def _to_hash(value)
201
+ if value.is_a?(Array)
202
+ value.compact.map { |v| _to_hash(v) }
203
+ elsif value.is_a?(Hash)
204
+ {}.tap do |hash|
205
+ value.each { |k, v| hash[k] = _to_hash(v) }
206
+ end
207
+ elsif value.respond_to? :to_hash
208
+ value.to_hash
209
+ else
210
+ value
211
+ end
212
+ end
213
+ end
214
+ end
@@ -0,0 +1,203 @@
1
+ =begin
2
+ #Sunshine Conversations API
3
+
4
+ The version of the OpenAPI document: 14.4.0
5
+
6
+ Generated by: https://openapi-generator.tech
7
+ OpenAPI Generator version: 4.3.1
8
+ =end
9
+
10
+ require 'date'
11
+
12
+ module SunshineConversationsClient
13
+ class ErrorResponse
14
+ # List of errors that occurred.
15
+ attr_accessor :errors
16
+
17
+ # Attribute mapping from ruby-style variable name to JSON key.
18
+ def self.attribute_map
19
+ {
20
+ :'errors' => :'errors'
21
+ }
22
+ end
23
+
24
+ # Attribute type mapping.
25
+ def self.openapi_types
26
+ {
27
+ :'errors' => :'Array<Error>'
28
+ }
29
+ end
30
+
31
+ # List of attributes with nullable: true
32
+ def self.openapi_nullable
33
+ Set.new([
34
+ ])
35
+ end
36
+
37
+ # Initializes the object
38
+ # @param [Hash] attributes Model attributes in the form of hash
39
+ def initialize(attributes = {})
40
+ if (!attributes.is_a?(Hash))
41
+ fail ArgumentError, "The input argument (attributes) must be a hash in `SunshineConversationsClient::ErrorResponse` initialize method"
42
+ end
43
+
44
+ # check to see if the attribute exists and convert string to symbol for hash key
45
+ attributes = attributes.each_with_object({}) { |(k, v), h|
46
+ if (!self.class.attribute_map.key?(k.to_sym))
47
+ fail ArgumentError, "`#{k}` is not a valid attribute in `SunshineConversationsClient::ErrorResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
48
+ end
49
+ h[k.to_sym] = v
50
+ }
51
+
52
+ if attributes.key?(:'errors')
53
+ end
54
+ end
55
+
56
+ # Show invalid properties with the reasons. Usually used together with valid?
57
+ # @return Array for valid properties with the reasons
58
+ def list_invalid_properties
59
+ invalid_properties = Array.new
60
+ invalid_properties
61
+ end
62
+
63
+ # Check to see if the all the properties in the model are valid
64
+ # @return true if the model is valid
65
+ def valid?
66
+ true
67
+ end
68
+
69
+ # Checks equality by comparing each attribute.
70
+ # @param [Object] Object to be compared
71
+ def ==(o)
72
+ return true if self.equal?(o)
73
+ self.class == o.class &&
74
+ errors == o.errors
75
+ end
76
+
77
+ # @see the `==` method
78
+ # @param [Object] Object to be compared
79
+ def eql?(o)
80
+ self == o
81
+ end
82
+
83
+ # Calculates hash code according to all attributes.
84
+ # @return [Integer] Hash code
85
+ def hash
86
+ [errors].hash
87
+ end
88
+
89
+ # Builds the object from hash
90
+ # @param [Hash] attributes Model attributes in the form of hash
91
+ # @return [Object] Returns the model itself
92
+ def self.build_from_hash(attributes)
93
+ new.build_from_hash(attributes)
94
+ end
95
+
96
+ # Builds the object from hash
97
+ # @param [Hash] attributes Model attributes in the form of hash
98
+ # @return [Object] Returns the model itself
99
+ def build_from_hash(attributes)
100
+ return nil unless attributes.is_a?(Hash)
101
+ self.class.openapi_types.each_pair do |key, type|
102
+ if type =~ /\AArray<(.*)>/i
103
+ # check to ensure the input is an array given that the attribute
104
+ # is documented as an array but the input is not
105
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
106
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
107
+ end
108
+ elsif !attributes[self.class.attribute_map[key]].nil?
109
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
110
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
111
+ end
112
+
113
+ self
114
+ end
115
+
116
+ # Deserializes the data based on type
117
+ # @param string type Data type
118
+ # @param string value Value to be deserialized
119
+ # @return [Object] Deserialized data
120
+ def _deserialize(type, value)
121
+ case type.to_sym
122
+ when :DateTime
123
+ DateTime.parse(value)
124
+ when :Date
125
+ Date.parse(value)
126
+ when :String
127
+ value.to_s
128
+ when :Integer
129
+ value.to_i
130
+ when :Float
131
+ value.to_f
132
+ when :Boolean
133
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
134
+ true
135
+ else
136
+ false
137
+ end
138
+ when :Object
139
+ # generic object (usually a Hash), return directly
140
+ value
141
+ when /\AArray<(?<inner_type>.+)>\z/
142
+ inner_type = Regexp.last_match[:inner_type]
143
+ value.map { |v| _deserialize(inner_type, v) }
144
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
145
+ k_type = Regexp.last_match[:k_type]
146
+ v_type = Regexp.last_match[:v_type]
147
+ {}.tap do |hash|
148
+ value.each do |k, v|
149
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
150
+ end
151
+ end
152
+ else # model
153
+ SunshineConversationsClient.const_get(type).build_from_hash(value)
154
+ end
155
+ end
156
+
157
+ # Returns the string representation of the object
158
+ # @return [String] String presentation of the object
159
+ def to_s
160
+ to_hash.to_s
161
+ end
162
+
163
+ # to_body is an alias to to_hash (backward compatibility)
164
+ # @return [Hash] Returns the object in the form of hash
165
+ def to_body
166
+ to_hash
167
+ end
168
+
169
+ # Returns the object in the form of hash
170
+ # @return [Hash] Returns the object in the form of hash
171
+ def to_hash
172
+ hash = {}
173
+ self.class.attribute_map.each_pair do |attr, param|
174
+ value = self.send(attr)
175
+ if value.nil?
176
+ is_nullable = self.class.openapi_nullable.include?(attr)
177
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
178
+ end
179
+
180
+ hash[param] = _to_hash(value)
181
+ end
182
+ hash
183
+ end
184
+
185
+ # Outputs non-array value in the form of hash
186
+ # For object, use to_hash. Otherwise, just return the value
187
+ # @param [Object] value Any valid value
188
+ # @return [Hash] Returns the value in the form of hash
189
+ def _to_hash(value)
190
+ if value.is_a?(Array)
191
+ value.compact.map { |v| _to_hash(v) }
192
+ elsif value.is_a?(Hash)
193
+ {}.tap do |hash|
194
+ value.each { |k, v| hash[k] = _to_hash(v) }
195
+ end
196
+ elsif value.respond_to? :to_hash
197
+ value.to_hash
198
+ else
199
+ value
200
+ end
201
+ end
202
+ end
203
+ 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: 14.4.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: 14.4.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: 14.4.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: 14.4.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: 14.4.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 size of the media.
@@ -29,6 +29,12 @@ module SunshineConversationsClient
29
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
  # An identifier used by Sunshine Conversations for internal purposes.
33
39
  attr_accessor :attachment_id
34
40
 
@@ -41,6 +47,8 @@ module SunshineConversationsClient
41
47
  :'media_type' => :'mediaType',
42
48
  :'alt_text' => :'altText',
43
49
  :'text' => :'text',
50
+ :'html_text' => :'htmlText',
51
+ :'markdown_text' => :'markdownText',
44
52
  :'attachment_id' => :'attachmentId'
45
53
  }
46
54
  end
@@ -54,6 +62,8 @@ module SunshineConversationsClient
54
62
  :'media_type' => :'String',
55
63
  :'alt_text' => :'String',
56
64
  :'text' => :'String',
65
+ :'html_text' => :'String',
66
+ :'markdown_text' => :'String',
57
67
  :'attachment_id' => :'String'
58
68
  }
59
69
  end
@@ -105,6 +115,14 @@ module SunshineConversationsClient
105
115
  self.text = attributes[:'text']
106
116
  end
107
117
 
118
+ if attributes.key?(:'html_text')
119
+ self.html_text = attributes[:'html_text']
120
+ end
121
+
122
+ if attributes.key?(:'markdown_text')
123
+ self.markdown_text = attributes[:'markdown_text']
124
+ end
125
+
108
126
  if attributes.key?(:'attachment_id')
109
127
  self.attachment_id = attributes[:'attachment_id']
110
128
  end
@@ -126,6 +144,14 @@ module SunshineConversationsClient
126
144
  invalid_properties.push('invalid value for "alt_text", the character length must be smaller than or equal to 128.')
127
145
  end
128
146
 
147
+ if !@html_text.nil? && @html_text.to_s.length > 4096
148
+ invalid_properties.push('invalid value for "html_text", the character length must be smaller than or equal to 4096.')
149
+ end
150
+
151
+ if !@markdown_text.nil? && @markdown_text.to_s.length > 4096
152
+ invalid_properties.push('invalid value for "markdown_text", the character length must be smaller than or equal to 4096.')
153
+ end
154
+
129
155
  invalid_properties
130
156
  end
131
157
 
@@ -135,6 +161,8 @@ module SunshineConversationsClient
135
161
  return false if @type.nil?
136
162
  return false if @media_url.nil?
137
163
  return false if !@alt_text.nil? && @alt_text.to_s.length > 128
164
+ return false if !@html_text.nil? && @html_text.to_s.length > 4096
165
+ return false if !@markdown_text.nil? && @markdown_text.to_s.length > 4096
138
166
  true
139
167
  end
140
168
 
@@ -148,6 +176,26 @@ module SunshineConversationsClient
148
176
  @alt_text = alt_text
149
177
  end
150
178
 
179
+ # Custom attribute writer method with validation
180
+ # @param [Object] html_text Value to be assigned
181
+ def html_text=(html_text)
182
+ if !html_text.nil? && html_text.to_s.length > 4096
183
+ fail ArgumentError, 'invalid value for "html_text", the character length must be smaller than or equal to 4096.'
184
+ end
185
+
186
+ @html_text = html_text
187
+ end
188
+
189
+ # Custom attribute writer method with validation
190
+ # @param [Object] markdown_text Value to be assigned
191
+ def markdown_text=(markdown_text)
192
+ if !markdown_text.nil? && markdown_text.to_s.length > 4096
193
+ fail ArgumentError, 'invalid value for "markdown_text", the character length must be smaller than or equal to 4096.'
194
+ end
195
+
196
+ @markdown_text = markdown_text
197
+ end
198
+
151
199
  # Checks equality by comparing each attribute.
152
200
  # @param [Object] Object to be compared
153
201
  def ==(o)
@@ -159,6 +207,8 @@ module SunshineConversationsClient
159
207
  media_type == o.media_type &&
160
208
  alt_text == o.alt_text &&
161
209
  text == o.text &&
210
+ html_text == o.html_text &&
211
+ markdown_text == o.markdown_text &&
162
212
  attachment_id == o.attachment_id
163
213
  end
164
214
 
@@ -171,7 +221,7 @@ module SunshineConversationsClient
171
221
  # Calculates hash code according to all attributes.
172
222
  # @return [Integer] Hash code
173
223
  def hash
174
- [type, media_url, media_size, media_type, alt_text, text, attachment_id].hash
224
+ [type, media_url, media_size, media_type, alt_text, text, html_text, markdown_text, attachment_id].hash
175
225
  end
176
226
 
177
227
  # 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: 14.4.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: 14.4.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: 14.4.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: 14.4.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: 14.4.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: 14.4.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: 14.4.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1