sunshine-conversations-client 12.3.0 → 12.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (342) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG_RB.md +12 -0
  3. data/README.md +5 -10
  4. data/docs/Android.md +7 -1
  5. data/docs/AndroidAllOf.md +7 -1
  6. data/docs/AndroidUpdate.md +6 -0
  7. data/docs/AndroidUpdateAllOf.md +7 -1
  8. data/docs/Author.md +2 -0
  9. data/docs/AuthorWebhook.md +1 -1
  10. data/docs/ConversationCreateEventAllOfPayload.md +1 -1
  11. data/docs/ConversationMessageDeliveryPayload.md +1 -1
  12. data/docs/ConversationPostbackEventAllOfPayload.md +1 -1
  13. data/docs/ConversationReferralEventAllOfPayload.md +1 -1
  14. data/docs/IntegrationUpdate.md +6 -0
  15. data/docs/Message.md +1 -1
  16. data/docs/MessagePost.md +1 -1
  17. data/docs/User.md +12 -10
  18. data/docs/UserAllOf.md +8 -2
  19. data/docs/UserMergeEventAllOfPayloadMergedUsers.md +2 -2
  20. data/docs/UserResponse.md +1 -1
  21. data/docs/UserUpdateEventAllOfPayload.md +1 -1
  22. data/lib/sunshine-conversations-client/api/activities_api.rb +1 -1
  23. data/lib/sunshine-conversations-client/api/app_keys_api.rb +1 -1
  24. data/lib/sunshine-conversations-client/api/apps_api.rb +1 -1
  25. data/lib/sunshine-conversations-client/api/attachments_api.rb +1 -1
  26. data/lib/sunshine-conversations-client/api/clients_api.rb +1 -1
  27. data/lib/sunshine-conversations-client/api/conversations_api.rb +1 -1
  28. data/lib/sunshine-conversations-client/api/custom_integration_api_keys_api.rb +1 -1
  29. data/lib/sunshine-conversations-client/api/integrations_api.rb +1 -1
  30. data/lib/sunshine-conversations-client/api/messages_api.rb +1 -1
  31. data/lib/sunshine-conversations-client/api/o_auth_endpoints_api.rb +1 -1
  32. data/lib/sunshine-conversations-client/api/participants_api.rb +1 -1
  33. data/lib/sunshine-conversations-client/api/switchboard_actions_api.rb +1 -1
  34. data/lib/sunshine-conversations-client/api/switchboard_integrations_api.rb +1 -1
  35. data/lib/sunshine-conversations-client/api/switchboards_api.rb +1 -1
  36. data/lib/sunshine-conversations-client/api/users_api.rb +1 -1
  37. data/lib/sunshine-conversations-client/api/webhooks_api.rb +1 -1
  38. data/lib/sunshine-conversations-client/api_client.rb +1 -1
  39. data/lib/sunshine-conversations-client/api_error.rb +1 -1
  40. data/lib/sunshine-conversations-client/configuration.rb +1 -1
  41. data/lib/sunshine-conversations-client/models/accept_control_body.rb +1 -1
  42. data/lib/sunshine-conversations-client/models/action.rb +1 -1
  43. data/lib/sunshine-conversations-client/models/action_subset.rb +1 -1
  44. data/lib/sunshine-conversations-client/models/activity.rb +1 -1
  45. data/lib/sunshine-conversations-client/models/activity_all_of.rb +1 -1
  46. data/lib/sunshine-conversations-client/models/activity_post.rb +1 -1
  47. data/lib/sunshine-conversations-client/models/activity_post_all_of.rb +1 -1
  48. data/lib/sunshine-conversations-client/models/activity_types.rb +1 -1
  49. data/lib/sunshine-conversations-client/models/android.rb +81 -3
  50. data/lib/sunshine-conversations-client/models/android_all_of.rb +81 -3
  51. data/lib/sunshine-conversations-client/models/android_update.rb +80 -2
  52. data/lib/sunshine-conversations-client/models/android_update_all_of.rb +80 -2
  53. data/lib/sunshine-conversations-client/models/api_key.rb +1 -1
  54. data/lib/sunshine-conversations-client/models/app.rb +1 -1
  55. data/lib/sunshine-conversations-client/models/app_create_body.rb +1 -1
  56. data/lib/sunshine-conversations-client/models/app_key.rb +1 -1
  57. data/lib/sunshine-conversations-client/models/app_key_create_body.rb +1 -1
  58. data/lib/sunshine-conversations-client/models/app_key_list_response.rb +1 -1
  59. data/lib/sunshine-conversations-client/models/app_key_response.rb +1 -1
  60. data/lib/sunshine-conversations-client/models/app_list_filter.rb +1 -1
  61. data/lib/sunshine-conversations-client/models/app_list_response.rb +1 -1
  62. data/lib/sunshine-conversations-client/models/app_response.rb +1 -1
  63. data/lib/sunshine-conversations-client/models/app_settings.rb +1 -1
  64. data/lib/sunshine-conversations-client/models/app_sub_schema.rb +1 -1
  65. data/lib/sunshine-conversations-client/models/app_update_body.rb +1 -1
  66. data/lib/sunshine-conversations-client/models/apple.rb +1 -1
  67. data/lib/sunshine-conversations-client/models/apple_all_of.rb +1 -1
  68. data/lib/sunshine-conversations-client/models/apple_update.rb +1 -1
  69. data/lib/sunshine-conversations-client/models/attachment_delete_body.rb +1 -1
  70. data/lib/sunshine-conversations-client/models/attachment_media_token_body.rb +1 -1
  71. data/lib/sunshine-conversations-client/models/attachment_media_token_response.rb +1 -1
  72. data/lib/sunshine-conversations-client/models/attachment_response.rb +1 -1
  73. data/lib/sunshine-conversations-client/models/attachment_schema.rb +1 -1
  74. data/lib/sunshine-conversations-client/models/attachment_upload_body.rb +1 -1
  75. data/lib/sunshine-conversations-client/models/author.rb +11 -2
  76. data/lib/sunshine-conversations-client/models/author_webhook.rb +2 -2
  77. data/lib/sunshine-conversations-client/models/buy.rb +1 -1
  78. data/lib/sunshine-conversations-client/models/campaign.rb +1 -1
  79. data/lib/sunshine-conversations-client/models/carousel_message.rb +1 -1
  80. data/lib/sunshine-conversations-client/models/carousel_message_display_settings.rb +1 -1
  81. data/lib/sunshine-conversations-client/models/client.rb +1 -1
  82. data/lib/sunshine-conversations-client/models/client_add_event.rb +1 -1
  83. data/lib/sunshine-conversations-client/models/client_add_event_all_of.rb +1 -1
  84. data/lib/sunshine-conversations-client/models/client_add_event_all_of_payload.rb +1 -1
  85. data/lib/sunshine-conversations-client/models/client_association.rb +1 -1
  86. data/lib/sunshine-conversations-client/models/client_create.rb +1 -1
  87. data/lib/sunshine-conversations-client/models/client_list_response.rb +1 -1
  88. data/lib/sunshine-conversations-client/models/client_remove_event.rb +1 -1
  89. data/lib/sunshine-conversations-client/models/client_remove_event_all_of.rb +1 -1
  90. data/lib/sunshine-conversations-client/models/client_remove_event_all_of_payload.rb +1 -1
  91. data/lib/sunshine-conversations-client/models/client_response.rb +1 -1
  92. data/lib/sunshine-conversations-client/models/client_type.rb +1 -1
  93. data/lib/sunshine-conversations-client/models/client_update_event.rb +1 -1
  94. data/lib/sunshine-conversations-client/models/client_update_event_all_of.rb +1 -1
  95. data/lib/sunshine-conversations-client/models/client_update_event_all_of_payload.rb +1 -1
  96. data/lib/sunshine-conversations-client/models/confirmation.rb +1 -1
  97. data/lib/sunshine-conversations-client/models/content.rb +1 -1
  98. data/lib/sunshine-conversations-client/models/conversation.rb +1 -1
  99. data/lib/sunshine-conversations-client/models/conversation_all_of.rb +1 -1
  100. data/lib/sunshine-conversations-client/models/conversation_create_body.rb +1 -1
  101. data/lib/sunshine-conversations-client/models/conversation_create_event.rb +1 -1
  102. data/lib/sunshine-conversations-client/models/conversation_create_event_all_of.rb +1 -1
  103. data/lib/sunshine-conversations-client/models/conversation_create_event_all_of_payload.rb +2 -2
  104. data/lib/sunshine-conversations-client/models/conversation_join_event.rb +1 -1
  105. data/lib/sunshine-conversations-client/models/conversation_join_event_all_of.rb +1 -1
  106. data/lib/sunshine-conversations-client/models/conversation_join_event_all_of_payload.rb +1 -1
  107. data/lib/sunshine-conversations-client/models/conversation_leave_event.rb +1 -1
  108. data/lib/sunshine-conversations-client/models/conversation_leave_event_all_of.rb +1 -1
  109. data/lib/sunshine-conversations-client/models/conversation_leave_event_all_of_payload.rb +1 -1
  110. data/lib/sunshine-conversations-client/models/conversation_list_filter.rb +1 -1
  111. data/lib/sunshine-conversations-client/models/conversation_list_response.rb +1 -1
  112. data/lib/sunshine-conversations-client/models/conversation_message_delivery_channel_event.rb +1 -1
  113. data/lib/sunshine-conversations-client/models/conversation_message_delivery_channel_event_all_of.rb +1 -1
  114. data/lib/sunshine-conversations-client/models/conversation_message_delivery_failure_event.rb +1 -1
  115. data/lib/sunshine-conversations-client/models/conversation_message_delivery_failure_event_all_of.rb +1 -1
  116. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload.rb +2 -2
  117. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload_destination.rb +1 -1
  118. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload_external_messages.rb +1 -1
  119. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload_message.rb +1 -1
  120. data/lib/sunshine-conversations-client/models/conversation_message_delivery_user_event.rb +1 -1
  121. data/lib/sunshine-conversations-client/models/conversation_message_event.rb +1 -1
  122. data/lib/sunshine-conversations-client/models/conversation_message_event_all_of.rb +1 -1
  123. data/lib/sunshine-conversations-client/models/conversation_message_event_all_of_payload.rb +1 -1
  124. data/lib/sunshine-conversations-client/models/conversation_postback_event.rb +1 -1
  125. data/lib/sunshine-conversations-client/models/conversation_postback_event_all_of.rb +1 -1
  126. data/lib/sunshine-conversations-client/models/conversation_postback_event_all_of_payload.rb +2 -2
  127. data/lib/sunshine-conversations-client/models/conversation_read_event.rb +1 -1
  128. data/lib/sunshine-conversations-client/models/conversation_read_event_all_of.rb +1 -1
  129. data/lib/sunshine-conversations-client/models/conversation_read_event_all_of_payload.rb +1 -1
  130. data/lib/sunshine-conversations-client/models/conversation_referral_event.rb +1 -1
  131. data/lib/sunshine-conversations-client/models/conversation_referral_event_all_of.rb +1 -1
  132. data/lib/sunshine-conversations-client/models/conversation_referral_event_all_of_payload.rb +2 -2
  133. data/lib/sunshine-conversations-client/models/conversation_remove_event.rb +1 -1
  134. data/lib/sunshine-conversations-client/models/conversation_remove_event_all_of.rb +1 -1
  135. data/lib/sunshine-conversations-client/models/conversation_remove_event_all_of_payload.rb +1 -1
  136. data/lib/sunshine-conversations-client/models/conversation_response.rb +1 -1
  137. data/lib/sunshine-conversations-client/models/conversation_truncated.rb +1 -1
  138. data/lib/sunshine-conversations-client/models/conversation_type.rb +1 -1
  139. data/lib/sunshine-conversations-client/models/conversation_typing_event.rb +1 -1
  140. data/lib/sunshine-conversations-client/models/conversation_typing_event_all_of.rb +1 -1
  141. data/lib/sunshine-conversations-client/models/conversation_typing_event_all_of_payload.rb +1 -1
  142. data/lib/sunshine-conversations-client/models/conversation_update_body.rb +1 -1
  143. data/lib/sunshine-conversations-client/models/custom.rb +1 -1
  144. data/lib/sunshine-conversations-client/models/custom_all_of.rb +1 -1
  145. data/lib/sunshine-conversations-client/models/custom_update.rb +1 -1
  146. data/lib/sunshine-conversations-client/models/destination.rb +1 -1
  147. data/lib/sunshine-conversations-client/models/device.rb +1 -1
  148. data/lib/sunshine-conversations-client/models/event_sub_schema.rb +1 -1
  149. data/lib/sunshine-conversations-client/models/extra_channel_options.rb +1 -1
  150. data/lib/sunshine-conversations-client/models/extra_channel_options_messenger.rb +1 -1
  151. data/lib/sunshine-conversations-client/models/field.rb +1 -1
  152. data/lib/sunshine-conversations-client/models/file_message.rb +1 -1
  153. data/lib/sunshine-conversations-client/models/form_message.rb +1 -1
  154. data/lib/sunshine-conversations-client/models/form_message_field.rb +1 -1
  155. data/lib/sunshine-conversations-client/models/form_message_field_all_of.rb +1 -1
  156. data/lib/sunshine-conversations-client/models/form_response_message.rb +1 -1
  157. data/lib/sunshine-conversations-client/models/form_response_message_field.rb +1 -1
  158. data/lib/sunshine-conversations-client/models/form_response_message_field_all_of.rb +1 -1
  159. data/lib/sunshine-conversations-client/models/identity.rb +1 -1
  160. data/lib/sunshine-conversations-client/models/image_message.rb +1 -1
  161. data/lib/sunshine-conversations-client/models/inline_object.rb +1 -1
  162. data/lib/sunshine-conversations-client/models/instagram.rb +1 -1
  163. data/lib/sunshine-conversations-client/models/instagram_all_of.rb +1 -1
  164. data/lib/sunshine-conversations-client/models/instagram_update.rb +1 -1
  165. data/lib/sunshine-conversations-client/models/instagram_update_all_of.rb +1 -1
  166. data/lib/sunshine-conversations-client/models/integration.rb +1 -1
  167. data/lib/sunshine-conversations-client/models/integration_api_key.rb +1 -1
  168. data/lib/sunshine-conversations-client/models/integration_api_key_list_response.rb +1 -1
  169. data/lib/sunshine-conversations-client/models/integration_api_key_response.rb +1 -1
  170. data/lib/sunshine-conversations-client/models/integration_id.rb +1 -1
  171. data/lib/sunshine-conversations-client/models/integration_list_filter.rb +1 -1
  172. data/lib/sunshine-conversations-client/models/integration_list_response.rb +1 -1
  173. data/lib/sunshine-conversations-client/models/integration_response.rb +1 -1
  174. data/lib/sunshine-conversations-client/models/integration_type.rb +1 -1
  175. data/lib/sunshine-conversations-client/models/integration_update.rb +80 -2
  176. data/lib/sunshine-conversations-client/models/integration_update_base.rb +1 -1
  177. data/lib/sunshine-conversations-client/models/ios.rb +1 -1
  178. data/lib/sunshine-conversations-client/models/ios_all_of.rb +1 -1
  179. data/lib/sunshine-conversations-client/models/ios_update.rb +1 -1
  180. data/lib/sunshine-conversations-client/models/ios_update_all_of.rb +1 -1
  181. data/lib/sunshine-conversations-client/models/item.rb +1 -1
  182. data/lib/sunshine-conversations-client/models/line.rb +1 -1
  183. data/lib/sunshine-conversations-client/models/line_all_of.rb +1 -1
  184. data/lib/sunshine-conversations-client/models/line_update.rb +1 -1
  185. data/lib/sunshine-conversations-client/models/link.rb +1 -1
  186. data/lib/sunshine-conversations-client/models/links.rb +1 -1
  187. data/lib/sunshine-conversations-client/models/list_message.rb +1 -1
  188. data/lib/sunshine-conversations-client/models/location_message.rb +1 -1
  189. data/lib/sunshine-conversations-client/models/location_message_coordinates.rb +1 -1
  190. data/lib/sunshine-conversations-client/models/location_message_location.rb +1 -1
  191. data/lib/sunshine-conversations-client/models/location_request.rb +1 -1
  192. data/lib/sunshine-conversations-client/models/mailgun.rb +1 -1
  193. data/lib/sunshine-conversations-client/models/mailgun_all_of.rb +1 -1
  194. data/lib/sunshine-conversations-client/models/mailgun_update.rb +1 -1
  195. data/lib/sunshine-conversations-client/models/mailgun_update_all_of.rb +1 -1
  196. data/lib/sunshine-conversations-client/models/match_criteria.rb +1 -1
  197. data/lib/sunshine-conversations-client/models/match_criteria_base.rb +1 -1
  198. data/lib/sunshine-conversations-client/models/match_criteria_mailgun.rb +1 -1
  199. data/lib/sunshine-conversations-client/models/match_criteria_mailgun_all_of.rb +1 -1
  200. data/lib/sunshine-conversations-client/models/match_criteria_messagebird.rb +1 -1
  201. data/lib/sunshine-conversations-client/models/match_criteria_messagebird_all_of.rb +1 -1
  202. data/lib/sunshine-conversations-client/models/match_criteria_twilio.rb +1 -1
  203. data/lib/sunshine-conversations-client/models/match_criteria_twilio_all_of.rb +1 -1
  204. data/lib/sunshine-conversations-client/models/match_criteria_whatsapp.rb +1 -1
  205. data/lib/sunshine-conversations-client/models/match_criteria_whatsapp_all_of.rb +1 -1
  206. data/lib/sunshine-conversations-client/models/message.rb +2 -2
  207. data/lib/sunshine-conversations-client/models/message_bird_update.rb +1 -1
  208. data/lib/sunshine-conversations-client/models/message_list_response.rb +1 -1
  209. data/lib/sunshine-conversations-client/models/message_override.rb +1 -1
  210. data/lib/sunshine-conversations-client/models/message_override_apple.rb +1 -1
  211. data/lib/sunshine-conversations-client/models/message_override_line.rb +1 -1
  212. data/lib/sunshine-conversations-client/models/message_override_messenger.rb +1 -1
  213. data/lib/sunshine-conversations-client/models/message_override_payload.rb +1 -1
  214. data/lib/sunshine-conversations-client/models/message_override_whatsapp.rb +1 -1
  215. data/lib/sunshine-conversations-client/models/message_post.rb +2 -2
  216. data/lib/sunshine-conversations-client/models/message_post_response.rb +1 -1
  217. data/lib/sunshine-conversations-client/models/message_webhook.rb +1 -1
  218. data/lib/sunshine-conversations-client/models/messagebird.rb +1 -1
  219. data/lib/sunshine-conversations-client/models/messagebird_all_of.rb +1 -1
  220. data/lib/sunshine-conversations-client/models/messenger.rb +1 -1
  221. data/lib/sunshine-conversations-client/models/messenger_all_of.rb +1 -1
  222. data/lib/sunshine-conversations-client/models/messenger_update.rb +1 -1
  223. data/lib/sunshine-conversations-client/models/meta.rb +1 -1
  224. data/lib/sunshine-conversations-client/models/offer_control_body.rb +1 -1
  225. data/lib/sunshine-conversations-client/models/page.rb +1 -1
  226. data/lib/sunshine-conversations-client/models/participant.rb +1 -1
  227. data/lib/sunshine-conversations-client/models/participant_join_body.rb +1 -1
  228. data/lib/sunshine-conversations-client/models/participant_leave_body.rb +1 -1
  229. data/lib/sunshine-conversations-client/models/participant_leave_body_participant_id.rb +1 -1
  230. data/lib/sunshine-conversations-client/models/participant_leave_body_user_external_id.rb +1 -1
  231. data/lib/sunshine-conversations-client/models/participant_leave_body_user_id.rb +1 -1
  232. data/lib/sunshine-conversations-client/models/participant_list_response.rb +1 -1
  233. data/lib/sunshine-conversations-client/models/participant_response.rb +1 -1
  234. data/lib/sunshine-conversations-client/models/participant_sub_schema.rb +1 -1
  235. data/lib/sunshine-conversations-client/models/participant_with_user_external_id.rb +1 -1
  236. data/lib/sunshine-conversations-client/models/participant_with_user_id.rb +1 -1
  237. data/lib/sunshine-conversations-client/models/pass_control_body.rb +1 -1
  238. data/lib/sunshine-conversations-client/models/postback.rb +1 -1
  239. data/lib/sunshine-conversations-client/models/postback_webhook.rb +1 -1
  240. data/lib/sunshine-conversations-client/models/prechat_capture.rb +1 -1
  241. data/lib/sunshine-conversations-client/models/profile.rb +1 -1
  242. data/lib/sunshine-conversations-client/models/quoted_message.rb +1 -1
  243. data/lib/sunshine-conversations-client/models/quoted_message_external_message_id.rb +1 -1
  244. data/lib/sunshine-conversations-client/models/quoted_message_message.rb +1 -1
  245. data/lib/sunshine-conversations-client/models/referral.rb +1 -1
  246. data/lib/sunshine-conversations-client/models/referral_details.rb +1 -1
  247. data/lib/sunshine-conversations-client/models/reply.rb +1 -1
  248. data/lib/sunshine-conversations-client/models/source.rb +1 -1
  249. data/lib/sunshine-conversations-client/models/source_webhook.rb +1 -1
  250. data/lib/sunshine-conversations-client/models/source_with_campaign_webhook.rb +1 -1
  251. data/lib/sunshine-conversations-client/models/source_with_campaign_webhook_all_of.rb +1 -1
  252. data/lib/sunshine-conversations-client/models/status.rb +1 -1
  253. data/lib/sunshine-conversations-client/models/switchboard.rb +1 -1
  254. data/lib/sunshine-conversations-client/models/switchboard_accept_control.rb +1 -1
  255. data/lib/sunshine-conversations-client/models/switchboard_accept_control_all_of.rb +1 -1
  256. data/lib/sunshine-conversations-client/models/switchboard_accept_control_all_of_payload.rb +1 -1
  257. data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure.rb +1 -1
  258. data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure_all_of.rb +1 -1
  259. data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure_all_of_payload.rb +1 -1
  260. data/lib/sunshine-conversations-client/models/switchboard_integration.rb +1 -1
  261. data/lib/sunshine-conversations-client/models/switchboard_integration_create_body.rb +1 -1
  262. data/lib/sunshine-conversations-client/models/switchboard_integration_list_response.rb +1 -1
  263. data/lib/sunshine-conversations-client/models/switchboard_integration_response.rb +1 -1
  264. data/lib/sunshine-conversations-client/models/switchboard_integration_update_body.rb +1 -1
  265. data/lib/sunshine-conversations-client/models/switchboard_integration_webhook.rb +1 -1
  266. data/lib/sunshine-conversations-client/models/switchboard_list_response.rb +1 -1
  267. data/lib/sunshine-conversations-client/models/switchboard_offer_control.rb +1 -1
  268. data/lib/sunshine-conversations-client/models/switchboard_offer_control_all_of.rb +1 -1
  269. data/lib/sunshine-conversations-client/models/switchboard_offer_control_all_of_payload.rb +1 -1
  270. data/lib/sunshine-conversations-client/models/switchboard_offer_control_failure.rb +1 -1
  271. data/lib/sunshine-conversations-client/models/switchboard_pass_control.rb +1 -1
  272. data/lib/sunshine-conversations-client/models/switchboard_pass_control_all_of.rb +1 -1
  273. data/lib/sunshine-conversations-client/models/switchboard_pass_control_all_of_payload.rb +1 -1
  274. data/lib/sunshine-conversations-client/models/switchboard_pass_control_failure.rb +1 -1
  275. data/lib/sunshine-conversations-client/models/switchboard_response.rb +1 -1
  276. data/lib/sunshine-conversations-client/models/switchboard_update_body.rb +1 -1
  277. data/lib/sunshine-conversations-client/models/target.rb +1 -1
  278. data/lib/sunshine-conversations-client/models/telegram.rb +1 -1
  279. data/lib/sunshine-conversations-client/models/telegram_all_of.rb +1 -1
  280. data/lib/sunshine-conversations-client/models/telegram_update.rb +1 -1
  281. data/lib/sunshine-conversations-client/models/template_message.rb +1 -1
  282. data/lib/sunshine-conversations-client/models/text_message.rb +1 -1
  283. data/lib/sunshine-conversations-client/models/twilio.rb +1 -1
  284. data/lib/sunshine-conversations-client/models/twilio_all_of.rb +1 -1
  285. data/lib/sunshine-conversations-client/models/twilio_update.rb +1 -1
  286. data/lib/sunshine-conversations-client/models/twitter.rb +1 -1
  287. data/lib/sunshine-conversations-client/models/twitter_all_of.rb +1 -1
  288. data/lib/sunshine-conversations-client/models/twitter_update.rb +1 -1
  289. data/lib/sunshine-conversations-client/models/unity.rb +1 -1
  290. data/lib/sunshine-conversations-client/models/unity_all_of.rb +1 -1
  291. data/lib/sunshine-conversations-client/models/unity_update.rb +1 -1
  292. data/lib/sunshine-conversations-client/models/unity_update_all_of.rb +1 -1
  293. data/lib/sunshine-conversations-client/models/user.rb +49 -81
  294. data/lib/sunshine-conversations-client/models/user_all_of.rb +34 -43
  295. data/lib/sunshine-conversations-client/models/user_create_body.rb +1 -1
  296. data/lib/sunshine-conversations-client/models/user_merge_event.rb +1 -1
  297. data/lib/sunshine-conversations-client/models/user_merge_event_all_of.rb +1 -1
  298. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload.rb +1 -1
  299. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload_merged_clients.rb +1 -1
  300. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload_merged_conversations.rb +1 -1
  301. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload_merged_users.rb +3 -3
  302. data/lib/sunshine-conversations-client/models/user_response.rb +2 -2
  303. data/lib/sunshine-conversations-client/models/user_truncated.rb +1 -1
  304. data/lib/sunshine-conversations-client/models/user_update_body.rb +1 -1
  305. data/lib/sunshine-conversations-client/models/user_update_event.rb +1 -1
  306. data/lib/sunshine-conversations-client/models/user_update_event_all_of.rb +1 -1
  307. data/lib/sunshine-conversations-client/models/user_update_event_all_of_payload.rb +2 -2
  308. data/lib/sunshine-conversations-client/models/viber.rb +1 -1
  309. data/lib/sunshine-conversations-client/models/viber_all_of.rb +1 -1
  310. data/lib/sunshine-conversations-client/models/viber_update.rb +1 -1
  311. data/lib/sunshine-conversations-client/models/web.rb +1 -1
  312. data/lib/sunshine-conversations-client/models/web_all_of.rb +1 -1
  313. data/lib/sunshine-conversations-client/models/web_update.rb +1 -1
  314. data/lib/sunshine-conversations-client/models/web_update_all_of.rb +1 -1
  315. data/lib/sunshine-conversations-client/models/webhook.rb +1 -1
  316. data/lib/sunshine-conversations-client/models/webhook_body.rb +1 -1
  317. data/lib/sunshine-conversations-client/models/webhook_create_body.rb +1 -1
  318. data/lib/sunshine-conversations-client/models/webhook_list_response.rb +1 -1
  319. data/lib/sunshine-conversations-client/models/webhook_response.rb +1 -1
  320. data/lib/sunshine-conversations-client/models/webhook_sub_schema.rb +1 -1
  321. data/lib/sunshine-conversations-client/models/webview.rb +1 -1
  322. data/lib/sunshine-conversations-client/models/whats_app_update.rb +1 -1
  323. data/lib/sunshine-conversations-client/models/whats_app_update_all_of.rb +1 -1
  324. data/lib/sunshine-conversations-client/models/whatsapp.rb +1 -1
  325. data/lib/sunshine-conversations-client/models/whatsapp_all_of.rb +1 -1
  326. data/lib/sunshine-conversations-client/version.rb +2 -2
  327. data/lib/sunshine-conversations-client.rb +1 -6
  328. data/spec/api_client_spec.rb +1 -1
  329. data/spec/configuration_spec.rb +1 -1
  330. data/spec/spec_helper.rb +1 -1
  331. data/sunshine-conversations-client.gemspec +1 -1
  332. metadata +2 -12
  333. data/docs/AuthorMessages.md +0 -27
  334. data/docs/Business.md +0 -27
  335. data/docs/BusinessAllOf.md +0 -19
  336. data/docs/User2.md +0 -27
  337. data/docs/User2AllOf.md +0 -23
  338. data/lib/sunshine-conversations-client/models/author_messages.rb +0 -321
  339. data/lib/sunshine-conversations-client/models/business.rb +0 -300
  340. data/lib/sunshine-conversations-client/models/business_all_of.rb +0 -248
  341. data/lib/sunshine-conversations-client/models/user2.rb +0 -259
  342. data/lib/sunshine-conversations-client/models/user2_all_of.rb +0 -230
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 03f3c2f146abf73328c719e45fb681cd07eb2e61
4
- data.tar.gz: 638c0aff078f745c3eda9800ef54f66da37d0210
3
+ metadata.gz: 3337bf4bfa753c921b672d671104b12f9733da52
4
+ data.tar.gz: 92c61010698547a460a469f95f1c7c020ea9ed15
5
5
  SHA512:
6
- metadata.gz: c61f4162fb89adda025d0c2735876874810c2bc85c9299e9005e3493fe3a96910b2e767f775061722fd4ab52b6b977e55d954667fab38de20510b820400635cd
7
- data.tar.gz: a91847e82a691f5447f035bc0616a0128a446a7aed53bedc6b375816305f7712aed4bc5aaa14724652101c6e0c90fb1d1736fc422f6c7df5fff00bae9f7bcca0
6
+ metadata.gz: 266bac0bf204bc46b03a4058f8bb985eed7f95181f378cabbe21aeae46bbbd7901b5dcdb6375969539ffdd21f2f216a0822e197a321b3c9ca7275b32a96c8ca7
7
+ data.tar.gz: 1f9ba45bdec2e132b16c2601310ca2973438b7ff9a8c98593481547ea481a370550fff83a8e0e078b00d5f5f19f2eebe27589c6054987008f152dd2646a3e05d
data/CHANGELOG_RB.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [12.4.0] - 2024-04-24
4
+
5
+ ### Changed
6
+
7
+ - Changed Android integration creation and update: added properties for new Firebase credentials and deprecated legacy properties
8
+
9
+ ## [12.3.1] - 2024-03-07
10
+
11
+ ### Fixed
12
+
13
+ - Fixed an issue with the `author` schema that was causing Java build failures
14
+
3
15
  ## [12.3.0] - 2024-03-06
4
16
 
5
17
  ### Added
data/README.md CHANGED
@@ -4,8 +4,8 @@ SunshineConversationsClient - the Ruby gem for the Sunshine Conversations API
4
4
 
5
5
  This SDK is automatically generated by the [OpenAPI Generator Codegen](https://github.com/OpenAPITools/openapi-generator) project using the [Sunshine Conversations API spec](https://github.com/zendesk/sunshine-conversations-api-spec).
6
6
 
7
- - API version: 12.3.0
8
- - Package version: 12.3.0
7
+ - API version: 12.3.1
8
+ - Package version: 12.4.0
9
9
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
10
10
 
11
11
  ## Sunshine Conversations API Version
@@ -32,16 +32,16 @@ gem build sunshine-conversations-client.gemspec
32
32
  Then either install the gem locally:
33
33
 
34
34
  ```shell
35
- gem install ./sunshine-conversations-client-12.3.0.gem
35
+ gem install ./sunshine-conversations-client-12.4.0.gem
36
36
  ```
37
37
 
38
- (for development, run `gem install --dev ./sunshine-conversations-client-12.3.0.gem` to install the development dependencies)
38
+ (for development, run `gem install --dev ./sunshine-conversations-client-12.4.0.gem` to install the development dependencies)
39
39
 
40
40
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
41
41
 
42
42
  Finally add this to the Gemfile:
43
43
 
44
- gem 'sunshine-conversations-client', '~> 12.3.0'
44
+ gem 'sunshine-conversations-client', '~> 12.4.0'
45
45
 
46
46
  ### Install from Git
47
47
 
@@ -233,10 +233,7 @@ Class | Method | HTTP request | Description
233
233
  - [SunshineConversationsClient::AttachmentSchema](docs/AttachmentSchema.md)
234
234
  - [SunshineConversationsClient::AttachmentUploadBody](docs/AttachmentUploadBody.md)
235
235
  - [SunshineConversationsClient::Author](docs/Author.md)
236
- - [SunshineConversationsClient::AuthorMessages](docs/AuthorMessages.md)
237
236
  - [SunshineConversationsClient::AuthorWebhook](docs/AuthorWebhook.md)
238
- - [SunshineConversationsClient::Business](docs/Business.md)
239
- - [SunshineConversationsClient::BusinessAllOf](docs/BusinessAllOf.md)
240
237
  - [SunshineConversationsClient::Buy](docs/Buy.md)
241
238
  - [SunshineConversationsClient::Campaign](docs/Campaign.md)
242
239
  - [SunshineConversationsClient::CarouselMessage](docs/CarouselMessage.md)
@@ -454,8 +451,6 @@ Class | Method | HTTP request | Description
454
451
  - [SunshineConversationsClient::UnityUpdate](docs/UnityUpdate.md)
455
452
  - [SunshineConversationsClient::UnityUpdateAllOf](docs/UnityUpdateAllOf.md)
456
453
  - [SunshineConversationsClient::User](docs/User.md)
457
- - [SunshineConversationsClient::User2](docs/User2.md)
458
- - [SunshineConversationsClient::User2AllOf](docs/User2AllOf.md)
459
454
  - [SunshineConversationsClient::UserAllOf](docs/UserAllOf.md)
460
455
  - [SunshineConversationsClient::UserCreateBody](docs/UserCreateBody.md)
461
456
  - [SunshineConversationsClient::UserMergeEvent](docs/UserMergeEvent.md)
data/docs/Android.md CHANGED
@@ -4,7 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | To configure an android integration, first visit the [Firebase Console](https://console.firebase.google.com/). Copy the `serverKey` and `senderId` from the Cloud Messaging tab in the settings of your project and call the create integrations endpoint with this data. If you would like to continue using your legacy GCM `serverKey` you can also obtain it from the [Google Developer Console](https://console.developers.google.com/). | [optional] [default to 'android']
7
+ **type** | **String** | <aside class=\"notice\">Firebase Cloud Messaging has deprecated its legacy APIs for HTTP and XMPP. Legacy credentials <code>serverKey</code> and <code>senderId</code> will stop working as of June 2024 and must be replaced with OAuth 2.0 access token based credentials.</aside> To configure an android integration, first visit the [Firebase Console](https://console.firebase.google.com/). Generate a private key from the Service accounts tab in the settings. Copy the `project_id`, `client_email` and `private_key` from the generated JSON file and call the create integrations endpoint with this data. | [optional] [default to 'android']
8
+ **project_id** | **String** | Your project ID from your generated private key file. | [optional]
9
+ **client_email** | **String** | Your client email from your generated private key file. | [optional]
10
+ **private_key** | **String** | Your private key from your generated private key file. | [optional]
8
11
  **server_key** | **String** | Your server key from the fcm console. | [optional]
9
12
  **sender_id** | **String** | Your sender id from the fcm console. | [optional]
10
13
  **can_user_create_more_conversations** | **Boolean** | Allows users to create more than one conversation on the android integration. | [optional]
@@ -16,6 +19,9 @@ Name | Type | Description | Notes
16
19
  require 'SunshineConversationsClient'
17
20
 
18
21
  instance = SunshineConversationsClient::Android.new(type: null,
22
+ project_id: <project-id>,
23
+ client_email: <client-email>,
24
+ private_key: <private-key>,
19
25
  server_key: <server-key>,
20
26
  sender_id: <sender-id>,
21
27
  can_user_create_more_conversations: null,
data/docs/AndroidAllOf.md CHANGED
@@ -4,7 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | To configure an android integration, first visit the [Firebase Console](https://console.firebase.google.com/). Copy the `serverKey` and `senderId` from the Cloud Messaging tab in the settings of your project and call the create integrations endpoint with this data. If you would like to continue using your legacy GCM `serverKey` you can also obtain it from the [Google Developer Console](https://console.developers.google.com/). | [optional] [default to 'android']
7
+ **type** | **String** | <aside class=\"notice\">Firebase Cloud Messaging has deprecated its legacy APIs for HTTP and XMPP. Legacy credentials <code>serverKey</code> and <code>senderId</code> will stop working as of June 2024 and must be replaced with OAuth 2.0 access token based credentials.</aside> To configure an android integration, first visit the [Firebase Console](https://console.firebase.google.com/). Generate a private key from the Service accounts tab in the settings. Copy the `project_id`, `client_email` and `private_key` from the generated JSON file and call the create integrations endpoint with this data. | [optional] [default to 'android']
8
+ **project_id** | **String** | Your project ID from your generated private key file. | [optional]
9
+ **client_email** | **String** | Your client email from your generated private key file. | [optional]
10
+ **private_key** | **String** | Your private key from your generated private key file. | [optional]
8
11
  **server_key** | **String** | Your server key from the fcm console. | [optional]
9
12
  **sender_id** | **String** | Your sender id from the fcm console. | [optional]
10
13
  **can_user_create_more_conversations** | **Boolean** | Allows users to create more than one conversation on the android integration. | [optional]
@@ -16,6 +19,9 @@ Name | Type | Description | Notes
16
19
  require 'SunshineConversationsClient'
17
20
 
18
21
  instance = SunshineConversationsClient::AndroidAllOf.new(type: null,
22
+ project_id: <project-id>,
23
+ client_email: <client-email>,
24
+ private_key: <private-key>,
19
25
  server_key: <server-key>,
20
26
  sender_id: <sender-id>,
21
27
  can_user_create_more_conversations: null,
@@ -5,6 +5,9 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **display_name** | **String** | A human-friendly name used to identify the integration. `displayName` can be unset by changing it to `null`. | [optional]
8
+ **project_id** | **String** | Your project ID from your generated private key file. | [optional]
9
+ **client_email** | **String** | Your client email from your generated private key file. | [optional]
10
+ **private_key** | **String** | Your private key from your generated private key file. | [optional]
8
11
  **server_key** | **String** | Your server key from the fcm console. | [optional]
9
12
  **sender_id** | **String** | Your sender id from the fcm console. | [optional]
10
13
  **can_user_create_more_conversations** | **Boolean** | Allows users to create more than one conversation on the android integration. | [optional]
@@ -15,6 +18,9 @@ Name | Type | Description | Notes
15
18
  require 'SunshineConversationsClient'
16
19
 
17
20
  instance = SunshineConversationsClient::AndroidUpdate.new(display_name: My awesome integration,
21
+ project_id: <project-id>,
22
+ client_email: <client-email>,
23
+ private_key: <private-key>,
18
24
  server_key: <server-key>,
19
25
  sender_id: <sender-id>,
20
26
  can_user_create_more_conversations: null)
@@ -4,6 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **project_id** | **String** | Your project ID from your generated private key file. | [optional]
8
+ **client_email** | **String** | Your client email from your generated private key file. | [optional]
9
+ **private_key** | **String** | Your private key from your generated private key file. | [optional]
7
10
  **server_key** | **String** | Your server key from the fcm console. | [optional]
8
11
  **sender_id** | **String** | Your sender id from the fcm console. | [optional]
9
12
  **can_user_create_more_conversations** | **Boolean** | Allows users to create more than one conversation on the android integration. | [optional]
@@ -13,7 +16,10 @@ Name | Type | Description | Notes
13
16
  ```ruby
14
17
  require 'SunshineConversationsClient'
15
18
 
16
- instance = SunshineConversationsClient::AndroidUpdateAllOf.new(server_key: <server-key>,
19
+ instance = SunshineConversationsClient::AndroidUpdateAllOf.new(project_id: <project-id>,
20
+ client_email: <client-email>,
21
+ private_key: <private-key>,
22
+ server_key: <server-key>,
17
23
  sender_id: <sender-id>,
18
24
  can_user_create_more_conversations: null)
19
25
  ```
data/docs/Author.md CHANGED
@@ -5,6 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **type** | **String** | The author type. Either \"user\" (representing the end user) or \"business\" (sent on behalf of the business). |
8
+ **subtypes** | **Array<String>** | A string array that indicates the author's subtypes. Messages from \"business\" type with an \"AI\" subtype are generated by AI and a disclaimer is appended to the text of the message sent to the customer. For third-party channels, the disclaimer is applied for image, file, and text message types. | [optional]
8
9
  **user_id** | **String** | The id of the user. Only supported when `type` is user. | [optional]
9
10
  **user_external_id** | **String** | The externalId of the user. Only supported when `type` is user. | [optional]
10
11
  **display_name** | **String** | The display name of the message author. | [optional]
@@ -16,6 +17,7 @@ Name | Type | Description | Notes
16
17
  require 'SunshineConversationsClient'
17
18
 
18
19
  instance = SunshineConversationsClient::Author.new(type: business,
20
+ subtypes: null,
19
21
  user_id: 5963c0d619a30a2e00de36b8,
20
22
  user_external_id: your-own-id,
21
23
  display_name: Steve,
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **type** | **String** | The `type` of the author. |
8
8
  **user_id** | **String** | The id of the user. Only supported when author `type` is `user`. | [optional]
9
- **user** | [**User2**](User2.md) | The user that authored the message or activity. `profile` is included in the payload if the `includeFullUser` option is enabled. | [optional]
9
+ **user** | [**User**](User.md) | The user that authored the message or activity. `profile` is included in the payload if the `includeFullUser` option is enabled. | [optional]
10
10
 
11
11
  ## Code Sample
12
12
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **conversation** | [**ConversationTruncated**](ConversationTruncated.md) | The conversation that was created. | [optional]
8
8
  **creation_reason** | **String** | The reason why the conversation was created, if applicable. * `linkRequest` - The conversation was created in order to generate a link request to transfer the user to a different channel. * `message` - The conversation was created because a message was sent. * `none` - The conversation was not created for a specific purpose. Used primarily when a conversation is created via the Create Conversation API. * `notification` - The conversation was created by a call to the Notification API. * `prechatCapture` - The conversation was created because the user completed a prechat capture form in the Web Messenger. * `startConversation` - The conversation was created because of a call to the startConversation API on one of the SDK integrations, or a start conversation event was triggered from a messaging channel. * `proactiveMessaging` - The conversation was created because the user interacted with a campaign. | [optional]
9
9
  **source** | [**SourceWithCampaignWebhook**](SourceWithCampaignWebhook.md) | The source of the creation. | [optional]
10
- **user** | [**User2**](User2.md) | The user associated with the conversation. Only present if the created conversation was of type personal. For sdkGroup conversations, the list of participants can be fetched using the List Participants API, if required. | [optional]
10
+ **user** | [**User**](User.md) | The user associated with the conversation. Only present if the created conversation was of type personal. For sdkGroup conversations, the list of participants can be fetched using the List Participants API, if required. | [optional]
11
11
  **referral** | [**Referral**](Referral.md) | Referral information, if applicable. | [optional]
12
12
 
13
13
  ## Code Sample
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **user** | [**User2**](User2.md) | The user associated with the conversation. | [optional]
7
+ **user** | [**User**](User.md) | The user associated with the conversation. | [optional]
8
8
  **conversation** | [**ConversationTruncated**](ConversationTruncated.md) | The conversation in which the message was sent. | [optional]
9
9
  **message** | [**ConversationMessageDeliveryPayloadMessage**](ConversationMessageDeliveryPayloadMessage.md) | | [optional]
10
10
  **destination** | [**ConversationMessageDeliveryPayloadDestination**](ConversationMessageDeliveryPayloadDestination.md) | | [optional]
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **postback** | [**PostbackWebhook**](PostbackWebhook.md) | The postback associated with the event. | [optional]
8
8
  **conversation** | [**ConversationTruncated**](ConversationTruncated.md) | The conversation linked to the postback. | [optional]
9
- **user** | [**User2**](User2.md) | The user that triggered the postback. | [optional]
9
+ **user** | [**User**](User.md) | The user that triggered the postback. | [optional]
10
10
  **source** | [**SourceWithCampaignWebhook**](SourceWithCampaignWebhook.md) | The source of the postback. | [optional]
11
11
 
12
12
  ## Code Sample
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **conversation** | [**ConversationTruncated**](ConversationTruncated.md) | The conversation a user lands in after being referred. See the <a href=\"https://docs.smooch.io/guide/conversation-referrals/\">conversation referrals</a> guide for more details. | [optional]
8
- **user** | [**User2**](User2.md) | The user associated with the conversation. | [optional]
8
+ **user** | [**User**](User.md) | The user associated with the conversation. | [optional]
9
9
  **source** | [**SourceWithCampaignWebhook**](SourceWithCampaignWebhook.md) | The source of the referral. | [optional]
10
10
  **referral** | [**Referral**](Referral.md) | | [optional]
11
11
 
@@ -5,6 +5,9 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **display_name** | **String** | A human-friendly name used to identify the integration. `displayName` can be unset by changing it to `null`. | [optional]
8
+ **project_id** | **String** | Your project ID from your generated private key file. | [optional]
9
+ **client_email** | **String** | Your client email from your generated private key file. | [optional]
10
+ **private_key** | **String** | Your private key from your generated private key file. | [optional]
8
11
  **server_key** | **String** | Your server key from the fcm console. | [optional]
9
12
  **sender_id** | **String** | Your sender id from the fcm console. | [optional]
10
13
  **can_user_create_more_conversations** | **Boolean** | Allows users to create more than one conversation on the web messenger integration. | [optional]
@@ -39,6 +42,9 @@ Name | Type | Description | Notes
39
42
  require 'SunshineConversationsClient'
40
43
 
41
44
  instance = SunshineConversationsClient::IntegrationUpdate.new(display_name: My awesome integration,
45
+ project_id: <project-id>,
46
+ client_email: <client-email>,
47
+ private_key: <private-key>,
42
48
  server_key: <server-key>,
43
49
  sender_id: <sender-id>,
44
50
  can_user_create_more_conversations: null,
data/docs/Message.md CHANGED
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **id** | **String** | The unique ID of the message. | [optional]
8
8
  **received** | **String** | A datetime string with the format `YYYY-MM-DDThh:mm:ss.SSSZ` representing when Sunshine Conversations received the message. | [optional]
9
- **author** | [**AuthorMessages**](AuthorMessages.md) | | [optional]
9
+ **author** | [**Author**](Author.md) | | [optional]
10
10
  **content** | [**Content**](Content.md) | The content of the message. | [optional]
11
11
  **source** | [**Source**](Source.md) | | [optional]
12
12
  **quoted_message** | [**QuotedMessage**](QuotedMessage.md) | The quoted message is currently only available for WhatsApp and Web Messenger `formResponse` messages. | [optional]
data/docs/MessagePost.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **author** | [**AuthorMessages**](AuthorMessages.md) | The author of the message. |
7
+ **author** | [**Author**](Author.md) | The author of the message. |
8
8
  **content** | [**Content**](Content.md) | The content of the message. |
9
9
  **destination** | [**Destination**](Destination.md) | | [optional]
10
10
  **metadata** | [**Object**](.md) | Flat object containing custom properties. Strings, numbers and booleans are the only supported format that can be passed to metadata. The metadata is limited to 4KB in size. | [optional]
data/docs/User.md CHANGED
@@ -4,22 +4,24 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of the author. |
8
- **user_id** | **String** | The id of the user. Only supported when `type` is user. | [optional]
9
- **user_external_id** | **String** | The externalId of the user. Only supported when `type` is user. | [optional]
10
- **display_name** | **String** | The display name of the message author. | [optional]
11
- **avatar_url** | **String** | A custom message icon URL. The image must be JPG, PNG, or GIF format. | [optional]
7
+ **id** | **String** | The unique ID of the user. | [optional]
8
+ **external_id** | **String** | An optional ID that can also be used to retrieve the user. | [optional]
9
+ **signed_up_at** | **String** | | [optional]
10
+ **profile** | [**Profile**](Profile.md) | | [optional]
11
+ **metadata** | **Object** | | [optional]
12
+ **identities** | [**Array<Identity>**](Identity.md) | The user's connected identities. | [optional] [readonly]
12
13
 
13
14
  ## Code Sample
14
15
 
15
16
  ```ruby
16
17
  require 'SunshineConversationsClient'
17
18
 
18
- instance = SunshineConversationsClient::User.new(type: null,
19
- user_id: 5963c0d619a30a2e00de36b8,
20
- user_external_id: your-own-id,
21
- display_name: Steve,
22
- avatar_url: null)
19
+ instance = SunshineConversationsClient::User.new(id: 7494535bff5cef41a15be74d,
20
+ external_id: your-own-id,
21
+ signed_up_at: null,
22
+ profile: null,
23
+ metadata: null,
24
+ identities: null)
23
25
  ```
24
26
 
25
27
 
data/docs/UserAllOf.md CHANGED
@@ -4,14 +4,20 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of the author. | [optional]
7
+ **signed_up_at** | **String** | | [optional]
8
+ **profile** | [**Profile**](Profile.md) | | [optional]
9
+ **metadata** | **Object** | | [optional]
10
+ **identities** | [**Array<Identity>**](Identity.md) | The user's connected identities. | [optional] [readonly]
8
11
 
9
12
  ## Code Sample
10
13
 
11
14
  ```ruby
12
15
  require 'SunshineConversationsClient'
13
16
 
14
- instance = SunshineConversationsClient::UserAllOf.new(type: null)
17
+ instance = SunshineConversationsClient::UserAllOf.new(signed_up_at: null,
18
+ profile: null,
19
+ metadata: null,
20
+ identities: null)
15
21
  ```
16
22
 
17
23
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **surviving** | [**User2**](User2.md) | The user that now represents the merged user object. | [optional]
8
- **discarded** | [**User2**](User2.md) | The user that was unified into the surviving user object. | [optional]
7
+ **surviving** | [**User**](User.md) | The user that now represents the merged user object. | [optional]
8
+ **discarded** | [**User**](User.md) | The user that was unified into the surviving user object. | [optional]
9
9
 
10
10
  ## Code Sample
11
11
 
data/docs/UserResponse.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **user** | [**User2**](User2.md) | The user. | [optional]
7
+ **user** | [**User**](User.md) | The user. | [optional]
8
8
 
9
9
  ## Code Sample
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **user** | [**User2**](User2.md) | The updated user. | [optional]
7
+ **user** | [**User**](User.md) | The updated user. | [optional]
8
8
  **reason** | **String** | The reason why the user was updated, if applicable. * `authentication` - An anonymous user became an [identified](https://docs.smooch.io/guide/intro-to-users/) user. * `localeDetection` - A user was updated as a result of automated locale detection on messages sent. | [optional]
9
9
  **source** | [**SourceWebhook**](SourceWebhook.md) | The source of the creation. | [optional]
10
10
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.3.0
4
+ The version of the OpenAPI document: 12.3.1
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: 12.3.0
4
+ The version of the OpenAPI document: 12.3.1
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: 12.3.0
4
+ The version of the OpenAPI document: 12.3.1
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: 12.3.0
4
+ The version of the OpenAPI document: 12.3.1
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: 12.3.0
4
+ The version of the OpenAPI document: 12.3.1
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: 12.3.0
4
+ The version of the OpenAPI document: 12.3.1
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: 12.3.0
4
+ The version of the OpenAPI document: 12.3.1
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: 12.3.0
4
+ The version of the OpenAPI document: 12.3.1
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: 12.3.0
4
+ The version of the OpenAPI document: 12.3.1
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: 12.3.0
4
+ The version of the OpenAPI document: 12.3.1
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: 12.3.0
4
+ The version of the OpenAPI document: 12.3.1
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: 12.3.0
4
+ The version of the OpenAPI document: 12.3.1
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: 12.3.0
4
+ The version of the OpenAPI document: 12.3.1
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: 12.3.0
4
+ The version of the OpenAPI document: 12.3.1
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: 12.3.0
4
+ The version of the OpenAPI document: 12.3.1
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: 12.3.0
4
+ The version of the OpenAPI document: 12.3.1
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: 12.3.0
4
+ The version of the OpenAPI document: 12.3.1
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: 12.3.0
4
+ The version of the OpenAPI document: 12.3.1
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: 12.3.0
4
+ The version of the OpenAPI document: 12.3.1
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: 12.3.0
4
+ The version of the OpenAPI document: 12.3.1
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: 12.3.0
4
+ The version of the OpenAPI document: 12.3.1
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: 12.3.0
4
+ The version of the OpenAPI document: 12.3.1
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: 12.3.0
4
+ The version of the OpenAPI document: 12.3.1
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: 12.3.0
4
+ The version of the OpenAPI document: 12.3.1
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1