sunshine-conversations-client 9.4.4 → 9.5.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (318) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG_RB.md +18 -0
  3. data/README.md +15 -5
  4. data/docs/AppSettings.md +2 -2
  5. data/docs/ClientAddEvent.md +23 -0
  6. data/docs/ClientAddEventAllOf.md +17 -0
  7. data/docs/ClientAddEventAllOfPayload.md +25 -0
  8. data/docs/ClientRemoveEvent.md +23 -0
  9. data/docs/ClientRemoveEventAllOf.md +17 -0
  10. data/docs/ClientRemoveEventAllOfPayload.md +27 -0
  11. data/docs/ClientUpdateEvent.md +23 -0
  12. data/docs/ClientUpdateEventAllOf.md +17 -0
  13. data/docs/ClientUpdateEventAllOfPayload.md +23 -0
  14. data/docs/Content.md +1 -1
  15. data/docs/Field.md +4 -4
  16. data/docs/FormMessage.md +1 -1
  17. data/docs/InlineObject.md +2 -2
  18. data/docs/Messenger.md +5 -1
  19. data/docs/MessengerAllOf.md +5 -1
  20. data/docs/User.md +1 -1
  21. data/docs/UserMergeEventAllOfPayload.md +5 -1
  22. data/docs/UserMergeEventAllOfPayloadMergedClients.md +19 -0
  23. data/docs/UserTruncated.md +1 -1
  24. data/docs/Web.md +17 -15
  25. data/docs/WebAllOf.md +17 -15
  26. data/lib/sunshine-conversations-client/api/activities_api.rb +1 -1
  27. data/lib/sunshine-conversations-client/api/app_keys_api.rb +1 -1
  28. data/lib/sunshine-conversations-client/api/apps_api.rb +1 -1
  29. data/lib/sunshine-conversations-client/api/attachments_api.rb +1 -1
  30. data/lib/sunshine-conversations-client/api/clients_api.rb +1 -1
  31. data/lib/sunshine-conversations-client/api/conversations_api.rb +1 -1
  32. data/lib/sunshine-conversations-client/api/custom_integration_api_keys_api.rb +1 -1
  33. data/lib/sunshine-conversations-client/api/integrations_api.rb +1 -1
  34. data/lib/sunshine-conversations-client/api/messages_api.rb +1 -1
  35. data/lib/sunshine-conversations-client/api/o_auth_endpoints_api.rb +1 -1
  36. data/lib/sunshine-conversations-client/api/participants_api.rb +1 -1
  37. data/lib/sunshine-conversations-client/api/switchboard_actions_api.rb +1 -1
  38. data/lib/sunshine-conversations-client/api/switchboard_integrations_api.rb +1 -1
  39. data/lib/sunshine-conversations-client/api/switchboards_api.rb +1 -1
  40. data/lib/sunshine-conversations-client/api/users_api.rb +1 -1
  41. data/lib/sunshine-conversations-client/api/webhooks_api.rb +1 -1
  42. data/lib/sunshine-conversations-client/api_client.rb +1 -1
  43. data/lib/sunshine-conversations-client/api_error.rb +1 -1
  44. data/lib/sunshine-conversations-client/configuration.rb +1 -1
  45. data/lib/sunshine-conversations-client/models/accept_control_body.rb +1 -1
  46. data/lib/sunshine-conversations-client/models/action.rb +1 -1
  47. data/lib/sunshine-conversations-client/models/action_subset.rb +1 -1
  48. data/lib/sunshine-conversations-client/models/activity.rb +1 -1
  49. data/lib/sunshine-conversations-client/models/activity_all_of.rb +1 -1
  50. data/lib/sunshine-conversations-client/models/activity_post.rb +1 -1
  51. data/lib/sunshine-conversations-client/models/activity_post_all_of.rb +1 -1
  52. data/lib/sunshine-conversations-client/models/activity_types.rb +1 -1
  53. data/lib/sunshine-conversations-client/models/android.rb +1 -1
  54. data/lib/sunshine-conversations-client/models/android_all_of.rb +1 -1
  55. data/lib/sunshine-conversations-client/models/android_update.rb +1 -1
  56. data/lib/sunshine-conversations-client/models/android_update_all_of.rb +1 -1
  57. data/lib/sunshine-conversations-client/models/api_key.rb +1 -1
  58. data/lib/sunshine-conversations-client/models/app.rb +1 -1
  59. data/lib/sunshine-conversations-client/models/app_create_body.rb +1 -1
  60. data/lib/sunshine-conversations-client/models/app_key.rb +1 -1
  61. data/lib/sunshine-conversations-client/models/app_key_create_body.rb +1 -1
  62. data/lib/sunshine-conversations-client/models/app_key_list_response.rb +1 -1
  63. data/lib/sunshine-conversations-client/models/app_key_response.rb +1 -1
  64. data/lib/sunshine-conversations-client/models/app_list_filter.rb +1 -1
  65. data/lib/sunshine-conversations-client/models/app_list_response.rb +1 -1
  66. data/lib/sunshine-conversations-client/models/app_response.rb +1 -1
  67. data/lib/sunshine-conversations-client/models/app_settings.rb +3 -3
  68. data/lib/sunshine-conversations-client/models/app_sub_schema.rb +1 -1
  69. data/lib/sunshine-conversations-client/models/app_update_body.rb +1 -1
  70. data/lib/sunshine-conversations-client/models/apple.rb +1 -1
  71. data/lib/sunshine-conversations-client/models/apple_all_of.rb +1 -1
  72. data/lib/sunshine-conversations-client/models/apple_update.rb +1 -1
  73. data/lib/sunshine-conversations-client/models/attachment_delete_body.rb +1 -1
  74. data/lib/sunshine-conversations-client/models/attachment_media_token_body.rb +1 -1
  75. data/lib/sunshine-conversations-client/models/attachment_media_token_response.rb +1 -1
  76. data/lib/sunshine-conversations-client/models/attachment_response.rb +1 -1
  77. data/lib/sunshine-conversations-client/models/attachment_schema.rb +1 -1
  78. data/lib/sunshine-conversations-client/models/attachment_upload_body.rb +1 -1
  79. data/lib/sunshine-conversations-client/models/author.rb +1 -1
  80. data/lib/sunshine-conversations-client/models/author_webhook.rb +1 -1
  81. data/lib/sunshine-conversations-client/models/buy.rb +1 -1
  82. data/lib/sunshine-conversations-client/models/carousel_message.rb +1 -1
  83. data/lib/sunshine-conversations-client/models/carousel_message_display_settings.rb +1 -1
  84. data/lib/sunshine-conversations-client/models/client.rb +1 -1
  85. data/lib/sunshine-conversations-client/models/client_add_event.rb +241 -0
  86. data/lib/sunshine-conversations-client/models/client_add_event_all_of.rb +203 -0
  87. data/lib/sunshine-conversations-client/models/client_add_event_all_of_payload.rb +280 -0
  88. data/lib/sunshine-conversations-client/models/client_association.rb +1 -1
  89. data/lib/sunshine-conversations-client/models/client_create.rb +1 -1
  90. data/lib/sunshine-conversations-client/models/client_list_response.rb +1 -1
  91. data/lib/sunshine-conversations-client/models/client_remove_event.rb +241 -0
  92. data/lib/sunshine-conversations-client/models/client_remove_event_all_of.rb +203 -0
  93. data/lib/sunshine-conversations-client/models/client_remove_event_all_of_payload.rb +291 -0
  94. data/lib/sunshine-conversations-client/models/client_response.rb +1 -1
  95. data/lib/sunshine-conversations-client/models/client_type.rb +1 -1
  96. data/lib/sunshine-conversations-client/models/client_update_event.rb +241 -0
  97. data/lib/sunshine-conversations-client/models/client_update_event_all_of.rb +203 -0
  98. data/lib/sunshine-conversations-client/models/client_update_event_all_of_payload.rb +269 -0
  99. data/lib/sunshine-conversations-client/models/confirmation.rb +1 -1
  100. data/lib/sunshine-conversations-client/models/content.rb +2 -2
  101. data/lib/sunshine-conversations-client/models/conversation.rb +1 -1
  102. data/lib/sunshine-conversations-client/models/conversation_all_of.rb +1 -1
  103. data/lib/sunshine-conversations-client/models/conversation_create_body.rb +1 -1
  104. data/lib/sunshine-conversations-client/models/conversation_create_event.rb +1 -1
  105. data/lib/sunshine-conversations-client/models/conversation_create_event_all_of.rb +1 -1
  106. data/lib/sunshine-conversations-client/models/conversation_create_event_all_of_payload.rb +1 -1
  107. data/lib/sunshine-conversations-client/models/conversation_join_event.rb +1 -1
  108. data/lib/sunshine-conversations-client/models/conversation_join_event_all_of.rb +1 -1
  109. data/lib/sunshine-conversations-client/models/conversation_join_event_all_of_payload.rb +1 -1
  110. data/lib/sunshine-conversations-client/models/conversation_leave_event.rb +1 -1
  111. data/lib/sunshine-conversations-client/models/conversation_leave_event_all_of.rb +1 -1
  112. data/lib/sunshine-conversations-client/models/conversation_leave_event_all_of_payload.rb +1 -1
  113. data/lib/sunshine-conversations-client/models/conversation_list_filter.rb +1 -1
  114. data/lib/sunshine-conversations-client/models/conversation_list_response.rb +1 -1
  115. data/lib/sunshine-conversations-client/models/conversation_message_delivery_channel_event.rb +1 -1
  116. data/lib/sunshine-conversations-client/models/conversation_message_delivery_channel_event_all_of.rb +1 -1
  117. data/lib/sunshine-conversations-client/models/conversation_message_delivery_failure_event.rb +1 -1
  118. data/lib/sunshine-conversations-client/models/conversation_message_delivery_failure_event_all_of.rb +1 -1
  119. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload.rb +1 -1
  120. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload_destination.rb +1 -1
  121. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload_external_messages.rb +1 -1
  122. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload_message.rb +1 -1
  123. data/lib/sunshine-conversations-client/models/conversation_message_delivery_user_event.rb +1 -1
  124. data/lib/sunshine-conversations-client/models/conversation_message_event.rb +1 -1
  125. data/lib/sunshine-conversations-client/models/conversation_message_event_all_of.rb +1 -1
  126. data/lib/sunshine-conversations-client/models/conversation_message_event_all_of_payload.rb +1 -1
  127. data/lib/sunshine-conversations-client/models/conversation_postback_event.rb +1 -1
  128. data/lib/sunshine-conversations-client/models/conversation_postback_event_all_of.rb +1 -1
  129. data/lib/sunshine-conversations-client/models/conversation_postback_event_all_of_payload.rb +1 -1
  130. data/lib/sunshine-conversations-client/models/conversation_read_event.rb +1 -1
  131. data/lib/sunshine-conversations-client/models/conversation_read_event_all_of.rb +1 -1
  132. data/lib/sunshine-conversations-client/models/conversation_read_event_all_of_payload.rb +1 -1
  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 +5 -5
  152. data/lib/sunshine-conversations-client/models/file_message.rb +1 -1
  153. data/lib/sunshine-conversations-client/models/form_message.rb +3 -3
  154. data/lib/sunshine-conversations-client/models/form_response_message.rb +1 -1
  155. data/lib/sunshine-conversations-client/models/image_message.rb +1 -1
  156. data/lib/sunshine-conversations-client/models/inline_object.rb +2 -2
  157. data/lib/sunshine-conversations-client/models/instagram.rb +1 -1
  158. data/lib/sunshine-conversations-client/models/instagram_all_of.rb +1 -1
  159. data/lib/sunshine-conversations-client/models/instagram_update.rb +1 -1
  160. data/lib/sunshine-conversations-client/models/instagram_update_all_of.rb +1 -1
  161. data/lib/sunshine-conversations-client/models/integration.rb +1 -1
  162. data/lib/sunshine-conversations-client/models/integration_api_key.rb +1 -1
  163. data/lib/sunshine-conversations-client/models/integration_api_key_list_response.rb +1 -1
  164. data/lib/sunshine-conversations-client/models/integration_api_key_response.rb +1 -1
  165. data/lib/sunshine-conversations-client/models/integration_id.rb +1 -1
  166. data/lib/sunshine-conversations-client/models/integration_list_filter.rb +1 -1
  167. data/lib/sunshine-conversations-client/models/integration_list_response.rb +1 -1
  168. data/lib/sunshine-conversations-client/models/integration_response.rb +1 -1
  169. data/lib/sunshine-conversations-client/models/integration_type.rb +1 -1
  170. data/lib/sunshine-conversations-client/models/integration_update.rb +1 -1
  171. data/lib/sunshine-conversations-client/models/integration_update_base.rb +1 -1
  172. data/lib/sunshine-conversations-client/models/ios.rb +1 -1
  173. data/lib/sunshine-conversations-client/models/ios_all_of.rb +1 -1
  174. data/lib/sunshine-conversations-client/models/ios_update.rb +1 -1
  175. data/lib/sunshine-conversations-client/models/ios_update_all_of.rb +1 -1
  176. data/lib/sunshine-conversations-client/models/item.rb +1 -1
  177. data/lib/sunshine-conversations-client/models/line.rb +1 -1
  178. data/lib/sunshine-conversations-client/models/line_all_of.rb +1 -1
  179. data/lib/sunshine-conversations-client/models/line_update.rb +1 -1
  180. data/lib/sunshine-conversations-client/models/link.rb +1 -1
  181. data/lib/sunshine-conversations-client/models/links.rb +1 -1
  182. data/lib/sunshine-conversations-client/models/list_message.rb +1 -1
  183. data/lib/sunshine-conversations-client/models/location_message.rb +1 -1
  184. data/lib/sunshine-conversations-client/models/location_message_coordinates.rb +1 -1
  185. data/lib/sunshine-conversations-client/models/location_message_location.rb +1 -1
  186. data/lib/sunshine-conversations-client/models/location_request.rb +1 -1
  187. data/lib/sunshine-conversations-client/models/mailgun.rb +1 -1
  188. data/lib/sunshine-conversations-client/models/mailgun_all_of.rb +1 -1
  189. data/lib/sunshine-conversations-client/models/mailgun_update.rb +1 -1
  190. data/lib/sunshine-conversations-client/models/mailgun_update_all_of.rb +1 -1
  191. data/lib/sunshine-conversations-client/models/match_criteria.rb +1 -1
  192. data/lib/sunshine-conversations-client/models/match_criteria_base.rb +1 -1
  193. data/lib/sunshine-conversations-client/models/match_criteria_mailgun.rb +1 -1
  194. data/lib/sunshine-conversations-client/models/match_criteria_mailgun_all_of.rb +1 -1
  195. data/lib/sunshine-conversations-client/models/match_criteria_messagebird.rb +1 -1
  196. data/lib/sunshine-conversations-client/models/match_criteria_messagebird_all_of.rb +1 -1
  197. data/lib/sunshine-conversations-client/models/match_criteria_twilio.rb +1 -1
  198. data/lib/sunshine-conversations-client/models/match_criteria_twilio_all_of.rb +1 -1
  199. data/lib/sunshine-conversations-client/models/match_criteria_whatsapp.rb +1 -1
  200. data/lib/sunshine-conversations-client/models/match_criteria_whatsapp_all_of.rb +1 -1
  201. data/lib/sunshine-conversations-client/models/message.rb +1 -1
  202. data/lib/sunshine-conversations-client/models/message_bird_update.rb +1 -1
  203. data/lib/sunshine-conversations-client/models/message_list_response.rb +1 -1
  204. data/lib/sunshine-conversations-client/models/message_override.rb +1 -1
  205. data/lib/sunshine-conversations-client/models/message_override_apple.rb +1 -1
  206. data/lib/sunshine-conversations-client/models/message_override_line.rb +1 -1
  207. data/lib/sunshine-conversations-client/models/message_override_messenger.rb +1 -1
  208. data/lib/sunshine-conversations-client/models/message_override_payload.rb +1 -1
  209. data/lib/sunshine-conversations-client/models/message_override_whatsapp.rb +1 -1
  210. data/lib/sunshine-conversations-client/models/message_post.rb +1 -1
  211. data/lib/sunshine-conversations-client/models/message_post_response.rb +1 -1
  212. data/lib/sunshine-conversations-client/models/message_webhook.rb +1 -1
  213. data/lib/sunshine-conversations-client/models/messagebird.rb +1 -1
  214. data/lib/sunshine-conversations-client/models/messagebird_all_of.rb +1 -1
  215. data/lib/sunshine-conversations-client/models/messenger.rb +25 -5
  216. data/lib/sunshine-conversations-client/models/messenger_all_of.rb +25 -5
  217. data/lib/sunshine-conversations-client/models/messenger_update.rb +1 -1
  218. data/lib/sunshine-conversations-client/models/meta.rb +1 -1
  219. data/lib/sunshine-conversations-client/models/offer_control_body.rb +1 -1
  220. data/lib/sunshine-conversations-client/models/page.rb +54 -6
  221. data/lib/sunshine-conversations-client/models/participant.rb +1 -1
  222. data/lib/sunshine-conversations-client/models/participant_join_body.rb +1 -1
  223. data/lib/sunshine-conversations-client/models/participant_leave_body.rb +1 -1
  224. data/lib/sunshine-conversations-client/models/participant_leave_body_participant_id.rb +1 -1
  225. data/lib/sunshine-conversations-client/models/participant_leave_body_user_external_id.rb +1 -1
  226. data/lib/sunshine-conversations-client/models/participant_leave_body_user_id.rb +1 -1
  227. data/lib/sunshine-conversations-client/models/participant_list_response.rb +1 -1
  228. data/lib/sunshine-conversations-client/models/participant_response.rb +1 -1
  229. data/lib/sunshine-conversations-client/models/participant_sub_schema.rb +1 -1
  230. data/lib/sunshine-conversations-client/models/participant_with_user_external_id.rb +1 -1
  231. data/lib/sunshine-conversations-client/models/participant_with_user_id.rb +1 -1
  232. data/lib/sunshine-conversations-client/models/pass_control_body.rb +1 -1
  233. data/lib/sunshine-conversations-client/models/postback.rb +1 -1
  234. data/lib/sunshine-conversations-client/models/postback_webhook.rb +1 -1
  235. data/lib/sunshine-conversations-client/models/prechat_capture.rb +1 -1
  236. data/lib/sunshine-conversations-client/models/profile.rb +1 -1
  237. data/lib/sunshine-conversations-client/models/quoted_message.rb +1 -1
  238. data/lib/sunshine-conversations-client/models/quoted_message_external_message_id.rb +1 -1
  239. data/lib/sunshine-conversations-client/models/quoted_message_message.rb +1 -1
  240. data/lib/sunshine-conversations-client/models/referral.rb +1 -1
  241. data/lib/sunshine-conversations-client/models/referral_details.rb +1 -1
  242. data/lib/sunshine-conversations-client/models/reply.rb +1 -1
  243. data/lib/sunshine-conversations-client/models/source.rb +1 -1
  244. data/lib/sunshine-conversations-client/models/source_webhook.rb +1 -1
  245. data/lib/sunshine-conversations-client/models/status.rb +1 -1
  246. data/lib/sunshine-conversations-client/models/switchboard.rb +1 -1
  247. data/lib/sunshine-conversations-client/models/switchboard_accept_control.rb +1 -1
  248. data/lib/sunshine-conversations-client/models/switchboard_accept_control_all_of.rb +1 -1
  249. data/lib/sunshine-conversations-client/models/switchboard_accept_control_all_of_payload.rb +1 -1
  250. data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure.rb +1 -1
  251. data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure_all_of.rb +1 -1
  252. data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure_all_of_payload.rb +1 -1
  253. data/lib/sunshine-conversations-client/models/switchboard_integration.rb +1 -1
  254. data/lib/sunshine-conversations-client/models/switchboard_integration_create_body.rb +1 -1
  255. data/lib/sunshine-conversations-client/models/switchboard_integration_list_response.rb +1 -1
  256. data/lib/sunshine-conversations-client/models/switchboard_integration_response.rb +1 -1
  257. data/lib/sunshine-conversations-client/models/switchboard_integration_update_body.rb +1 -1
  258. data/lib/sunshine-conversations-client/models/switchboard_integration_webhook.rb +1 -1
  259. data/lib/sunshine-conversations-client/models/switchboard_list_response.rb +1 -1
  260. data/lib/sunshine-conversations-client/models/switchboard_offer_control.rb +1 -1
  261. data/lib/sunshine-conversations-client/models/switchboard_offer_control_all_of.rb +1 -1
  262. data/lib/sunshine-conversations-client/models/switchboard_offer_control_all_of_payload.rb +1 -1
  263. data/lib/sunshine-conversations-client/models/switchboard_offer_control_failure.rb +1 -1
  264. data/lib/sunshine-conversations-client/models/switchboard_pass_control.rb +1 -1
  265. data/lib/sunshine-conversations-client/models/switchboard_pass_control_all_of.rb +1 -1
  266. data/lib/sunshine-conversations-client/models/switchboard_pass_control_all_of_payload.rb +1 -1
  267. data/lib/sunshine-conversations-client/models/switchboard_pass_control_failure.rb +1 -1
  268. data/lib/sunshine-conversations-client/models/switchboard_response.rb +1 -1
  269. data/lib/sunshine-conversations-client/models/switchboard_update_body.rb +1 -1
  270. data/lib/sunshine-conversations-client/models/target.rb +1 -1
  271. data/lib/sunshine-conversations-client/models/telegram.rb +1 -1
  272. data/lib/sunshine-conversations-client/models/telegram_all_of.rb +1 -1
  273. data/lib/sunshine-conversations-client/models/telegram_update.rb +1 -1
  274. data/lib/sunshine-conversations-client/models/template_message.rb +1 -1
  275. data/lib/sunshine-conversations-client/models/text_message.rb +1 -1
  276. data/lib/sunshine-conversations-client/models/twilio.rb +1 -1
  277. data/lib/sunshine-conversations-client/models/twilio_all_of.rb +1 -1
  278. data/lib/sunshine-conversations-client/models/twilio_update.rb +1 -1
  279. data/lib/sunshine-conversations-client/models/twitter.rb +1 -1
  280. data/lib/sunshine-conversations-client/models/twitter_all_of.rb +1 -1
  281. data/lib/sunshine-conversations-client/models/twitter_update.rb +1 -1
  282. data/lib/sunshine-conversations-client/models/user.rb +2 -2
  283. data/lib/sunshine-conversations-client/models/user_all_of.rb +1 -1
  284. data/lib/sunshine-conversations-client/models/user_create_body.rb +1 -1
  285. data/lib/sunshine-conversations-client/models/user_merge_event.rb +1 -1
  286. data/lib/sunshine-conversations-client/models/user_merge_event_all_of.rb +1 -1
  287. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload.rb +60 -6
  288. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload_merged_clients.rb +215 -0
  289. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload_merged_conversations.rb +1 -1
  290. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload_merged_users.rb +1 -1
  291. data/lib/sunshine-conversations-client/models/user_response.rb +1 -1
  292. data/lib/sunshine-conversations-client/models/user_truncated.rb +2 -2
  293. data/lib/sunshine-conversations-client/models/user_update_body.rb +1 -1
  294. data/lib/sunshine-conversations-client/models/viber.rb +1 -1
  295. data/lib/sunshine-conversations-client/models/viber_all_of.rb +1 -1
  296. data/lib/sunshine-conversations-client/models/viber_update.rb +1 -1
  297. data/lib/sunshine-conversations-client/models/web.rb +25 -15
  298. data/lib/sunshine-conversations-client/models/web_all_of.rb +25 -15
  299. data/lib/sunshine-conversations-client/models/web_update.rb +1 -1
  300. data/lib/sunshine-conversations-client/models/web_update_all_of.rb +1 -1
  301. data/lib/sunshine-conversations-client/models/webhook.rb +1 -1
  302. data/lib/sunshine-conversations-client/models/webhook_body.rb +1 -1
  303. data/lib/sunshine-conversations-client/models/webhook_create_body.rb +1 -1
  304. data/lib/sunshine-conversations-client/models/webhook_list_response.rb +1 -1
  305. data/lib/sunshine-conversations-client/models/webhook_response.rb +1 -1
  306. data/lib/sunshine-conversations-client/models/webhook_sub_schema.rb +1 -1
  307. data/lib/sunshine-conversations-client/models/webview.rb +1 -1
  308. data/lib/sunshine-conversations-client/models/whats_app_update.rb +1 -1
  309. data/lib/sunshine-conversations-client/models/whats_app_update_all_of.rb +1 -1
  310. data/lib/sunshine-conversations-client/models/whatsapp.rb +1 -1
  311. data/lib/sunshine-conversations-client/models/whatsapp_all_of.rb +1 -1
  312. data/lib/sunshine-conversations-client/version.rb +2 -2
  313. data/lib/sunshine-conversations-client.rb +11 -1
  314. data/spec/api_client_spec.rb +1 -1
  315. data/spec/configuration_spec.rb +1 -1
  316. data/spec/spec_helper.rb +1 -1
  317. data/sunshine-conversations-client.gemspec +1 -1
  318. metadata +22 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 951694a16aa1ae2b3025ae5b725458b121ddf0d0
4
- data.tar.gz: 3c5ca6d954cc5022c7ca9c57731bc2efca316866
3
+ metadata.gz: 9232b30c6d809a5d3b0a46c939b8176381c70f8b
4
+ data.tar.gz: 291587ad346938294254c6a0089f3d5990a84792
5
5
  SHA512:
6
- metadata.gz: b5e38f4329fb6912a1fa1bf5651e64e5a0b738f27bc399ceb05d03aca24189c8add9124fb02071d3b35e7201e18afa42bd04ddd005811a696b58cafb18f88027
7
- data.tar.gz: 5bd9c970739f4824a931f15908609237b10ed9a7b1e20ab4e6ce3d24958f06e8fbd165d55b215dd4edb6c3773f716e8fb37b089048ae54a0c34e3438c2a9b225
6
+ metadata.gz: 7d30154940b7ffcf75932c7dc3f33bc9ae6936a72edc51ed49aaaf8891573ddd72fcdcd496e2c0875d53ff5e995355d288abb57f413bdb89ce44daf18de7664e
7
+ data.tar.gz: bf94e98f6b373bf5dd00dffb6ee8c20cf4092448a720235274ef1b5f0640343c363dc959e56a79529f67cde80fbb03ed4c6f96cc629e982c29ed7f00047dd868
data/CHANGELOG_RB.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## [9.5.7] - 2022-01-04
4
+
5
+ - Added missing pageId and pageName properties on Messenger integration.
6
+
7
+ ## [9.5.6] - 2021-11-30
8
+
9
+ - Dependencies security update; Ruby wrapper not affected.
10
+
11
+ ## [9.4.6] - 2021-09-28
12
+
13
+ - Added channel linking events
14
+ - Added `canUserSeeConversationList` in the `web` integration
15
+ - Updated RESTeasy to the latest version
16
+
17
+ ## [9.4.5] - 2021-08-23
18
+
19
+ - Added page[before|after|size] query parameter constraints.
20
+
3
21
  ## [9.4.4] - 2021-04-12
4
22
 
5
23
  ### 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: 9.4.3
8
- - Package version: 9.4.4
7
+ - API version: 9.4.6
8
+ - Package version: 9.5.7
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-9.4.4.gem
35
+ gem install ./sunshine-conversations-client-9.5.7.gem
36
36
  ```
37
37
 
38
- (for development, run `gem install --dev ./sunshine-conversations-client-9.4.4.gem` to install the development dependencies)
38
+ (for development, run `gem install --dev ./sunshine-conversations-client-9.5.7.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', '~> 9.4.4'
44
+ gem 'sunshine-conversations-client', '~> 9.5.7'
45
45
 
46
46
  ### Install from Git
47
47
 
@@ -237,11 +237,20 @@ Class | Method | HTTP request | Description
237
237
  - [SunshineConversationsClient::CarouselMessage](docs/CarouselMessage.md)
238
238
  - [SunshineConversationsClient::CarouselMessageDisplaySettings](docs/CarouselMessageDisplaySettings.md)
239
239
  - [SunshineConversationsClient::Client](docs/Client.md)
240
+ - [SunshineConversationsClient::ClientAddEvent](docs/ClientAddEvent.md)
241
+ - [SunshineConversationsClient::ClientAddEventAllOf](docs/ClientAddEventAllOf.md)
242
+ - [SunshineConversationsClient::ClientAddEventAllOfPayload](docs/ClientAddEventAllOfPayload.md)
240
243
  - [SunshineConversationsClient::ClientAssociation](docs/ClientAssociation.md)
241
244
  - [SunshineConversationsClient::ClientCreate](docs/ClientCreate.md)
242
245
  - [SunshineConversationsClient::ClientListResponse](docs/ClientListResponse.md)
246
+ - [SunshineConversationsClient::ClientRemoveEvent](docs/ClientRemoveEvent.md)
247
+ - [SunshineConversationsClient::ClientRemoveEventAllOf](docs/ClientRemoveEventAllOf.md)
248
+ - [SunshineConversationsClient::ClientRemoveEventAllOfPayload](docs/ClientRemoveEventAllOfPayload.md)
243
249
  - [SunshineConversationsClient::ClientResponse](docs/ClientResponse.md)
244
250
  - [SunshineConversationsClient::ClientType](docs/ClientType.md)
251
+ - [SunshineConversationsClient::ClientUpdateEvent](docs/ClientUpdateEvent.md)
252
+ - [SunshineConversationsClient::ClientUpdateEventAllOf](docs/ClientUpdateEventAllOf.md)
253
+ - [SunshineConversationsClient::ClientUpdateEventAllOfPayload](docs/ClientUpdateEventAllOfPayload.md)
245
254
  - [SunshineConversationsClient::Confirmation](docs/Confirmation.md)
246
255
  - [SunshineConversationsClient::Content](docs/Content.md)
247
256
  - [SunshineConversationsClient::Conversation](docs/Conversation.md)
@@ -431,6 +440,7 @@ Class | Method | HTTP request | Description
431
440
  - [SunshineConversationsClient::UserMergeEvent](docs/UserMergeEvent.md)
432
441
  - [SunshineConversationsClient::UserMergeEventAllOf](docs/UserMergeEventAllOf.md)
433
442
  - [SunshineConversationsClient::UserMergeEventAllOfPayload](docs/UserMergeEventAllOfPayload.md)
443
+ - [SunshineConversationsClient::UserMergeEventAllOfPayloadMergedClients](docs/UserMergeEventAllOfPayloadMergedClients.md)
434
444
  - [SunshineConversationsClient::UserMergeEventAllOfPayloadMergedConversations](docs/UserMergeEventAllOfPayloadMergedConversations.md)
435
445
  - [SunshineConversationsClient::UserMergeEventAllOfPayloadMergedUsers](docs/UserMergeEventAllOfPayloadMergedUsers.md)
436
446
  - [SunshineConversationsClient::UserResponse](docs/UserResponse.md)
data/docs/AppSettings.md CHANGED
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **conversation_retention_seconds** | **Integer** | Number of seconds of inactivity before a conversation’s messages will be automatically deleted. See [Conversation Retention Seconds](https://docs.smooch.io/rest/#conversation-retention-seconds) for more information. | [optional]
7
+ **conversation_retention_seconds** | **Integer** | Number of seconds of inactivity before a conversation’s messages will be automatically deleted. See [Conversation Retention Seconds](https://docs.smooch.io/guide/creating-and-managing-apps/#conversation-retention-seconds) for more information. | [optional]
8
8
  **mask_credit_card_numbers** | **Boolean** | A boolean specifying whether credit card numbers should be masked when sent through Sunshine Conversations. | [optional]
9
9
  **use_animal_names** | **Boolean** | A boolean specifying whether animal names should be used for unnamed users. See the [user naming guide](https://docs.smooch.io/guide/receiving-messages/#message-author-name) for details. | [optional]
10
- **echo_postback** | **Boolean** | A boolean specifying whether a message should be added to the conversation history when a postback button is clicked. See [Echo Postbacks](https://docs.smooch.io/rest/#echo-postbacks) for more information. | [optional]
10
+ **echo_postback** | **Boolean** | A boolean specifying whether a message should be added to the conversation history when a postback button is clicked. See [Echo Postbacks](https://docs.smooch.io/guide/creating-and-managing-apps/#echo-postbacks) for more information. | [optional]
11
11
  **ignore_auto_conversation_start** | **Boolean** | A boolean specifying whether a non message event coming from a channel will trigger a [start conversation](https://docs.smooch.io/rest/#section/Webhook-Triggers) event and count as a monthly active user (MAU). <aside class=\"notice\">Calling <code>startConversation()</code> (or equivalent) from the Android, iOS or Web SDK will count as a MAU, regardless of the value of this setting.</aside> | [optional]
12
12
  **multi_convo_enabled** | **Boolean** | A boolean specifying whether users are allowed to be part of several conversations. Enabling `multiConvo` is **irreversible**. | [optional]
13
13
  **attachments_access** | **String** | A string specifying whether attachments should be stored in a publicly or privately accessible cloud storage. attachmentsAccess is set to public by default but can be modified to private. See <a href=\"https://docs.smooch.io/guide/private-attachments/\">Private Attachments</a> for more information. | [optional]
@@ -0,0 +1,23 @@
1
+ # SunshineConversationsClient::ClientAddEvent
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **id** | **String** | The unique ID of the event. May be used to ensure that an event is not processed twice in the case of a webhook that is re-tried due to an error or timeout. | [optional]
8
+ **type** | **String** | The type of the event. Will match one of the subscribed triggers for your [webhook](#operation/createWebhook). | [optional]
9
+ **created_at** | **String** | A timestamp signifying when the event was generated. Formatted as `YYYY-MM-DDThh:mm:ss.SSSZ`. | [optional]
10
+ **payload** | [**ClientAddEventAllOfPayload**](ClientAddEventAllOfPayload.md) | | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'SunshineConversationsClient'
16
+
17
+ instance = SunshineConversationsClient::ClientAddEvent.new(id: null,
18
+ type: null,
19
+ created_at: null,
20
+ payload: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,17 @@
1
+ # SunshineConversationsClient::ClientAddEventAllOf
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **payload** | [**ClientAddEventAllOfPayload**](ClientAddEventAllOfPayload.md) | | [optional]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'SunshineConversationsClient'
13
+
14
+ instance = SunshineConversationsClient::ClientAddEventAllOf.new(payload: null)
15
+ ```
16
+
17
+
@@ -0,0 +1,25 @@
1
+ # SunshineConversationsClient::ClientAddEventAllOfPayload
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **conversation** | [**ConversationTruncated**](ConversationTruncated.md) | The conversation associated with the creation of the client. This field is only present when the reason is `channelLinking` and when attaching the client to a specific conversation. | [optional]
8
+ **user** | [**UserTruncated**](UserTruncated.md) | The user associated with the client. | [optional]
9
+ **client** | [**Client**](Client.md) | The client that was just created. | [optional]
10
+ **reason** | **String** | The reason for which the client was added. * `channelLinking` - The client was created as a result of initiating a channel link. * `sdkLogin` - The client was created as a result of logging into an SDK device. * `authCode` - The client was created as a result of initializing an SDK client with an `authCode`. | [optional]
11
+ **source** | [**SourceWebhook**](SourceWebhook.md) | The source where this event originated from. This could be the API or an SDK device. | [optional]
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'SunshineConversationsClient'
17
+
18
+ instance = SunshineConversationsClient::ClientAddEventAllOfPayload.new(conversation: null,
19
+ user: null,
20
+ client: null,
21
+ reason: null,
22
+ source: null)
23
+ ```
24
+
25
+
@@ -0,0 +1,23 @@
1
+ # SunshineConversationsClient::ClientRemoveEvent
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **id** | **String** | The unique ID of the event. May be used to ensure that an event is not processed twice in the case of a webhook that is re-tried due to an error or timeout. | [optional]
8
+ **type** | **String** | The type of the event. Will match one of the subscribed triggers for your [webhook](#operation/createWebhook). | [optional]
9
+ **created_at** | **String** | A timestamp signifying when the event was generated. Formatted as `YYYY-MM-DDThh:mm:ss.SSSZ`. | [optional]
10
+ **payload** | [**ClientRemoveEventAllOfPayload**](ClientRemoveEventAllOfPayload.md) | | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'SunshineConversationsClient'
16
+
17
+ instance = SunshineConversationsClient::ClientRemoveEvent.new(id: null,
18
+ type: null,
19
+ created_at: null,
20
+ payload: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,17 @@
1
+ # SunshineConversationsClient::ClientRemoveEventAllOf
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **payload** | [**ClientRemoveEventAllOfPayload**](ClientRemoveEventAllOfPayload.md) | | [optional]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'SunshineConversationsClient'
13
+
14
+ instance = SunshineConversationsClient::ClientRemoveEventAllOf.new(payload: null)
15
+ ```
16
+
17
+
@@ -0,0 +1,27 @@
1
+ # SunshineConversationsClient::ClientRemoveEventAllOfPayload
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **conversation** | [**ConversationTruncated**](ConversationTruncated.md) | The conversation associated with the removal of the client. This field is only present when the reason is `theft`, `linkCancelled` or `linkFailed`. Note that for the `theft` reason, the conversation will not be present if it has been deleted. | [optional]
8
+ **user** | [**UserTruncated**](UserTruncated.md) | The user associated with the client. | [optional]
9
+ **client** | [**Client**](Client.md) | The removed client. | [optional]
10
+ **reason** | **String** | The reason for which the client was removed. * `api` - The client was removed using the API. * `linkCancelled` - The user cancelled a channel link. * `linkFailed` - The client was removed after a channel link attempt failed. * `sdk` - The client was removed using the SDK. * `theft` - The client was transferred to another user due to a channel link. | [optional]
11
+ **error** | [**Object**](.md) | Object containing details of what went wrong. This field will only be present when the reason is `linkCancelled` or `linkFailed`. | [optional]
12
+ **source** | [**SourceWebhook**](SourceWebhook.md) | The source where this event originated from. This could be the API or an SDK device. | [optional]
13
+
14
+ ## Code Sample
15
+
16
+ ```ruby
17
+ require 'SunshineConversationsClient'
18
+
19
+ instance = SunshineConversationsClient::ClientRemoveEventAllOfPayload.new(conversation: null,
20
+ user: null,
21
+ client: null,
22
+ reason: null,
23
+ error: null,
24
+ source: null)
25
+ ```
26
+
27
+
@@ -0,0 +1,23 @@
1
+ # SunshineConversationsClient::ClientUpdateEvent
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **id** | **String** | The unique ID of the event. May be used to ensure that an event is not processed twice in the case of a webhook that is re-tried due to an error or timeout. | [optional]
8
+ **type** | **String** | The type of the event. Will match one of the subscribed triggers for your [webhook](#operation/createWebhook). | [optional]
9
+ **created_at** | **String** | A timestamp signifying when the event was generated. Formatted as `YYYY-MM-DDThh:mm:ss.SSSZ`. | [optional]
10
+ **payload** | [**ClientUpdateEventAllOfPayload**](ClientUpdateEventAllOfPayload.md) | | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'SunshineConversationsClient'
16
+
17
+ instance = SunshineConversationsClient::ClientUpdateEvent.new(id: null,
18
+ type: null,
19
+ created_at: null,
20
+ payload: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,17 @@
1
+ # SunshineConversationsClient::ClientUpdateEventAllOf
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **payload** | [**ClientUpdateEventAllOfPayload**](ClientUpdateEventAllOfPayload.md) | | [optional]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'SunshineConversationsClient'
13
+
14
+ instance = SunshineConversationsClient::ClientUpdateEventAllOf.new(payload: null)
15
+ ```
16
+
17
+
@@ -0,0 +1,23 @@
1
+ # SunshineConversationsClient::ClientUpdateEventAllOfPayload
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **conversation** | [**ConversationTruncated**](ConversationTruncated.md) | The conversation which triggered a change in the client. | [optional]
8
+ **user** | [**UserTruncated**](UserTruncated.md) | The user associated with the client. | [optional]
9
+ **client** | [**Client**](Client.md) | The updated client. | [optional]
10
+ **reason** | **String** | The reason for which the client was updated. * `confirmed` - The client is now active and ready to use. * `blocked` - The user has unsubscribed from the conversation. * `matched` - The channel found a user that matches the information provided. | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'SunshineConversationsClient'
16
+
17
+ instance = SunshineConversationsClient::ClientUpdateEventAllOfPayload.new(conversation: null,
18
+ user: null,
19
+ client: null,
20
+ reason: null)
21
+ ```
22
+
23
+
data/docs/Content.md CHANGED
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
13
13
  **media_size** | **Float** | The size of the media. | [optional] [readonly]
14
14
  **media_type** | **String** | The media type of the file. | [optional] [readonly]
15
15
  **alt_text** | **String** | An optional description of the image for accessibility purposes. The field will be saved by default with the file name as the value. | [optional]
16
- **block_chat_input** | **Boolean** | true if the message should block the chat input on Web Messenger. form message only. | [optional]
16
+ **block_chat_input** | **Boolean** | true if the message should block the chat input on Web Messenger. | [optional]
17
17
  **fields** | [**Array<Field>**](Field.md) | Array of field objects that contain the submitted fields. |
18
18
  **text_fallback** | **String** | A string containing the `label: value` of all fields, each separated by a newline character. | [optional] [readonly]
19
19
  **coordinates** | [**LocationMessageCoordinates**](LocationMessageCoordinates.md) | |
data/docs/Field.md CHANGED
@@ -7,12 +7,12 @@ Name | Type | Description | Notes
7
7
  **type** | **String** | The field type. |
8
8
  **name** | **String** | The name of the field. Must be unique per form or formResponse. |
9
9
  **label** | **String** | The label of the field. What the field is displayed as on Web Messenger. |
10
- **placeholder** | **String** | Placeholder text for the field. form message only. | [optional]
11
- **min_size** | **Integer** | The minimum allowed length for the response for a field of type text. form message only. | [optional] [default to 1]
12
- **max_size** | **Integer** | The maximum allowed length for the response for a field of type text. form message only. | [optional] [default to 128]
10
+ **placeholder** | **String** | Placeholder text for the field. Form message only. | [optional]
11
+ **min_size** | **Integer** | The minimum allowed length for the response for a field of type text. Form message only. | [optional] [default to 1]
12
+ **max_size** | **Integer** | The maximum allowed length for the response for a field of type text. Form message only. | [optional] [default to 128]
13
13
  **text** | **String** | Specifies the response for a text field. | [optional]
14
14
  **email** | **String** | Specifies the response for a email field. | [optional]
15
- **select** | **Array<Object>** | Array of objects representing the response for a field of type select. form and formResponse messages only. | [optional]
15
+ **select** | **Array<Object>** | Array of objects representing the response for a field of type select. Form and formResponse messages only. | [optional]
16
16
  **options** | **Array<Object>** | Array of objects representing options for a field of type select. | [optional]
17
17
 
18
18
  ## Code Sample
data/docs/FormMessage.md CHANGED
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **type** | **String** | The type of message. | [default to 'form']
8
- **block_chat_input** | **Boolean** | true if the message should block the chat input on Web Messenger. form message only. | [optional]
8
+ **block_chat_input** | **Boolean** | true if the message should block the chat input on Web Messenger. | [optional]
9
9
  **fields** | [**Array<Field>**](Field.md) | An array of objects representing fields associated with the message. Only present in form and formResponse messages. |
10
10
 
11
11
  ## Code Sample
data/docs/InlineObject.md CHANGED
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **code** | **String** | The authorization code received via /oauth/authorize |
8
- **grant_type** | **String** | Must be set to authorization_code |
8
+ **grant_type** | **String** | Must be set to the string `authorization_code` |
9
9
  **client_id** | **String** | Your integration’s unique identifier |
10
10
  **client_secret** | **String** | Your integration’s secret |
11
11
 
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
15
15
  require 'SunshineConversationsClient'
16
16
 
17
17
  instance = SunshineConversationsClient::InlineObject.new(code: 658965,
18
- grant_type: 658965,
18
+ grant_type: authorization_code,
19
19
  client_id: 5e4af71a81966cfff3ef6550,
20
20
  client_secret: 5XJ85yjUtRcaQu_pDINblPZb)
21
21
  ```
data/docs/Messenger.md CHANGED
@@ -8,6 +8,8 @@ Name | Type | Description | Notes
8
8
  **page_access_token** | **String** | A Facebook Page Access Token. |
9
9
  **app_id** | **String** | A Facebook App ID. |
10
10
  **app_secret** | **String** | A Facebook App Secret. |
11
+ **page_id** | **Float** | A Facebook page ID. | [optional]
12
+ **page_name** | **String** | A Facebook page name. | [optional]
11
13
 
12
14
  ## Code Sample
13
15
 
@@ -17,7 +19,9 @@ require 'SunshineConversationsClient'
17
19
  instance = SunshineConversationsClient::Messenger.new(type: null,
18
20
  page_access_token: your_access_token,
19
21
  app_id: your_facebook_app_id,
20
- app_secret: your_facebook_app_secret)
22
+ app_secret: your_facebook_app_secret,
23
+ page_id: 123212323432123,
24
+ page_name: An Awesome Page)
21
25
  ```
22
26
 
23
27
 
@@ -8,6 +8,8 @@ Name | Type | Description | Notes
8
8
  **page_access_token** | **String** | A Facebook Page Access Token. |
9
9
  **app_id** | **String** | A Facebook App ID. |
10
10
  **app_secret** | **String** | A Facebook App Secret. |
11
+ **page_id** | **Float** | A Facebook page ID. | [optional]
12
+ **page_name** | **String** | A Facebook page name. | [optional]
11
13
 
12
14
  ## Code Sample
13
15
 
@@ -17,7 +19,9 @@ require 'SunshineConversationsClient'
17
19
  instance = SunshineConversationsClient::MessengerAllOf.new(type: null,
18
20
  page_access_token: your_access_token,
19
21
  app_id: your_facebook_app_id,
20
- app_secret: your_facebook_app_secret)
22
+ app_secret: your_facebook_app_secret,
23
+ page_id: 123212323432123,
24
+ page_name: An Awesome Page)
21
25
  ```
22
26
 
23
27
 
data/docs/User.md CHANGED
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **id** | **String** | The unique ID of the user. | [optional]
8
- **external_id** | **String** | An optional ID that if specified can also be used to retrieve the user. | [optional]
8
+ **external_id** | **String** | An optional ID that can also be used to retrieve the user. | [optional]
9
9
  **signed_up_at** | **String** | | [optional]
10
10
  **profile** | [**Profile**](Profile.md) | | [optional]
11
11
  **metadata** | **Object** | | [optional]
@@ -6,7 +6,9 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **merged_users** | [**UserMergeEventAllOfPayloadMergedUsers**](UserMergeEventAllOfPayloadMergedUsers.md) | | [optional]
8
8
  **merged_conversations** | [**UserMergeEventAllOfPayloadMergedConversations**](UserMergeEventAllOfPayloadMergedConversations.md) | | [optional]
9
+ **merged_clients** | [**UserMergeEventAllOfPayloadMergedClients**](UserMergeEventAllOfPayloadMergedClients.md) | | [optional]
9
10
  **discarded_metadata** | **Object** | A flat object with the set of metadata properties that were discarded when merging the two users. This should contain values only if the combined metadata fields exceed the 4KB limit. | [optional]
11
+ **reason** | **String** | The reason for which the users merged. * `api` - The users were merged using the API. * `channelLinking` - The users were merged as a result of initiating a channel link. * `sdkLogin` - The users were merged as a result of logging into an SDK device. | [optional]
10
12
 
11
13
  ## Code Sample
12
14
 
@@ -15,7 +17,9 @@ require 'SunshineConversationsClient'
15
17
 
16
18
  instance = SunshineConversationsClient::UserMergeEventAllOfPayload.new(merged_users: null,
17
19
  merged_conversations: null,
18
- discarded_metadata: null)
20
+ merged_clients: null,
21
+ discarded_metadata: null,
22
+ reason: null)
19
23
  ```
20
24
 
21
25
 
@@ -0,0 +1,19 @@
1
+ # SunshineConversationsClient::UserMergeEventAllOfPayloadMergedClients
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **surviving** | [**Client**](Client.md) | The client that already existed before the merge started. | [optional]
8
+ **discarded** | [**Client**](Client.md) | The pending client that was discarded during the merge event. | [optional]
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'SunshineConversationsClient'
14
+
15
+ instance = SunshineConversationsClient::UserMergeEventAllOfPayloadMergedClients.new(surviving: null,
16
+ discarded: null)
17
+ ```
18
+
19
+
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **id** | **String** | The unique ID of the user. | [optional]
8
- **external_id** | **String** | An optional ID that if specified can also be used to retrieve the user. | [optional]
8
+ **external_id** | **String** | An optional ID that can also be used to retrieve the user. | [optional]
9
9
 
10
10
  ## Code Sample
11
11
 
data/docs/Web.md CHANGED
@@ -5,21 +5,22 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **type** | **String** | To configure a Web Messenger integration, acquire the required information and call the Create Integration endpoint. | [optional] [default to 'web']
8
- **brand_color** | **String** | This color will be used in the messenger header and the button or tab in idle state. Must be a 3 or 6-character hexadecimal color. | [optional] [default to '65758e']
9
- **fixed_intro_pane** | **Boolean** | When true, the introduction pane will be pinned at the top of the conversation instead of scrolling with it. | [optional] [default to false]
10
- **conversation_color** | **String** | This color will be used for customer messages, quick replies and actions in the footer. Must be a 3 or 6-character hexadecimal color. | [optional] [default to '0099ff']
11
- **action_color** | **String** | This color will be used for call-to-actions inside your messages. Must be a 3 or 6-character hexadecimal color. | [optional] [default to '0099ff']
12
- **display_style** | **String** | Choose how the messenger will appear on your website. Must be either button or tab. | [optional] [default to 'button']
13
- **button_icon_url** | **String** | With the button style Web Messenger, you have the option of selecting your own button icon. The image must be at least 200 x 200 pixels and must be in either JPG, PNG, or GIF format. | [optional]
14
- **button_width** | **String** | With the button style Web Messenger, you have the option of specifying the button width. | [optional] [default to '58']
15
- **button_height** | **String** | With the button style Web Messenger, you have the option of specifying the button height. | [optional] [default to '58']
16
- **integration_order** | **Array<String>** | Array of integration IDs, order will be reflected in the Web Messenger. When set, only integrations from this list will be displayed in the Web Messenger. If unset, all integrations will be displayed. | [optional]
8
+ **brand_color** | **String** | This color will be used in the messenger header and the button or tab in idle state. Must be a 3 or 6-character hexadecimal color. | [optional] [default to '65758e']
9
+ **fixed_intro_pane** | **Boolean** | When true, the introduction pane will be pinned at the top of the conversation instead of scrolling with it. | [optional] [default to false]
10
+ **conversation_color** | **String** | This color will be used for customer messages, quick replies and actions in the footer. Must be a 3 or 6-character hexadecimal color. | [optional] [default to '0099ff']
11
+ **action_color** | **String** | This color will be used for call-to-actions inside your messages. Must be a 3 or 6-character hexadecimal color. | [optional] [default to '0099ff']
12
+ **display_style** | **String** | Choose how the messenger will appear on your website. Must be either button or tab. | [optional] [default to 'button']
13
+ **button_icon_url** | **String** | With the button style Web Messenger, you have the option of selecting your own button icon. The image must be at least 200 x 200 pixels and must be in either JPG, PNG, or GIF format. | [optional]
14
+ **button_width** | **String** | With the button style Web Messenger, you have the option of specifying the button width. | [optional] [default to '58']
15
+ **button_height** | **String** | With the button style Web Messenger, you have the option of specifying the button height. | [optional] [default to '58']
16
+ **integration_order** | **Array<String>** | Array of integration IDs, order will be reflected in the Web Messenger. When set, only integrations from this list will be displayed in the Web Messenger. If unset, all integrations will be displayed. | [optional]
17
17
  **business_name** | **String** | A custom business name for the Web Messenger. | [optional]
18
- **business_icon_url** | **String** | A custom business icon url for the Web Messenger. The image must be at least 200 x 200 pixels and must be in either JPG, PNG, or GIF format. | [optional]
19
- **background_image_url** | **String** | A background image url for the conversation. Image will be tiled to fit the window. | [optional]
18
+ **business_icon_url** | **String** | A custom business icon url for the Web Messenger. The image must be at least 200 x 200 pixels and must be in either JPG, PNG, or GIF format. | [optional]
19
+ **background_image_url** | **String** | A background image url for the conversation. Image will be tiled to fit the window. | [optional]
20
20
  **origin_whitelist** | **Array<String>** | A list of origins to whitelist. When set, only the origins from this list will be able to initialize the Web Messenger. If unset, all origins are whitelisted. The elements in the list should follow the serialized-origin format from RFC 6454: scheme \"://\" host [ \":\" port ], where scheme is http or https. | [optional]
21
- **prechat_capture** | [**PrechatCapture**](PrechatCapture.md) | Object whose properties can be set to specify the add-on’s options. See the [guide](https://docs.smooch.io/guide/web-messenger/#prechat-capture) to learn more about Prechat Capture. | [optional]
22
- **can_user_create_more_conversations** | **Boolean** | Allows users to create more than one conversation on the web messenger integration. | [optional]
21
+ **prechat_capture** | [**PrechatCapture**](PrechatCapture.md) | Object whose properties can be set to specify the add-on’s options. See the [guide](https://docs.smooch.io/guide/web-messenger/#prechat-capture) to learn more about Prechat Capture. | [optional]
22
+ **can_user_see_conversation_list** | **Boolean** | Allows users to view their list of conversations. By default, the list of conversations will be visible. *This setting only applies to apps where `settings.multiConvoEnabled` is set to `true`*. | [optional]
23
+ **can_user_create_more_conversations** | **Boolean** | Allows users to create more than one conversation on the web messenger integration. | [optional]
23
24
 
24
25
  ## Code Sample
25
26
 
@@ -35,12 +36,13 @@ instance = SunshineConversationsClient::Web.new(type: null,
35
36
  button_icon_url: https://domain.com/images/avatar.png,
36
37
  button_width: null,
37
38
  button_height: null,
38
- integration_order: ["59fc8466260f48003505228b","59d79780481d34002b7d3617"],
39
+ integration_order: ["59fc8466260f48003505228b", "59d79780481d34002b7d3617"],
39
40
  business_name: Kent Shop,
40
41
  business_icon_url: https://www.gravatar.com/image.jpg,
41
42
  background_image_url: https://a-beautiful-tile.png,
42
- origin_whitelist: ["https://yourdomain.com"],
43
+ origin_whitelist: https://yourdomain.com,
43
44
  prechat_capture: null,
45
+ can_user_see_conversation_list: false,
44
46
  can_user_create_more_conversations: null)
45
47
  ```
46
48
 
data/docs/WebAllOf.md CHANGED
@@ -5,21 +5,22 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **type** | **String** | To configure a Web Messenger integration, acquire the required information and call the Create Integration endpoint. | [optional] [default to 'web']
8
- **brand_color** | **String** | This color will be used in the messenger header and the button or tab in idle state. Must be a 3 or 6-character hexadecimal color. | [optional] [default to '65758e']
9
- **fixed_intro_pane** | **Boolean** | When true, the introduction pane will be pinned at the top of the conversation instead of scrolling with it. | [optional] [default to false]
10
- **conversation_color** | **String** | This color will be used for customer messages, quick replies and actions in the footer. Must be a 3 or 6-character hexadecimal color. | [optional] [default to '0099ff']
11
- **action_color** | **String** | This color will be used for call-to-actions inside your messages. Must be a 3 or 6-character hexadecimal color. | [optional] [default to '0099ff']
12
- **display_style** | **String** | Choose how the messenger will appear on your website. Must be either button or tab. | [optional] [default to 'button']
13
- **button_icon_url** | **String** | With the button style Web Messenger, you have the option of selecting your own button icon. The image must be at least 200 x 200 pixels and must be in either JPG, PNG, or GIF format. | [optional]
14
- **button_width** | **String** | With the button style Web Messenger, you have the option of specifying the button width. | [optional] [default to '58']
15
- **button_height** | **String** | With the button style Web Messenger, you have the option of specifying the button height. | [optional] [default to '58']
16
- **integration_order** | **Array<String>** | Array of integration IDs, order will be reflected in the Web Messenger. When set, only integrations from this list will be displayed in the Web Messenger. If unset, all integrations will be displayed. | [optional]
8
+ **brand_color** | **String** | This color will be used in the messenger header and the button or tab in idle state. Must be a 3 or 6-character hexadecimal color. | [optional] [default to '65758e']
9
+ **fixed_intro_pane** | **Boolean** | When true, the introduction pane will be pinned at the top of the conversation instead of scrolling with it. | [optional] [default to false]
10
+ **conversation_color** | **String** | This color will be used for customer messages, quick replies and actions in the footer. Must be a 3 or 6-character hexadecimal color. | [optional] [default to '0099ff']
11
+ **action_color** | **String** | This color will be used for call-to-actions inside your messages. Must be a 3 or 6-character hexadecimal color. | [optional] [default to '0099ff']
12
+ **display_style** | **String** | Choose how the messenger will appear on your website. Must be either button or tab. | [optional] [default to 'button']
13
+ **button_icon_url** | **String** | With the button style Web Messenger, you have the option of selecting your own button icon. The image must be at least 200 x 200 pixels and must be in either JPG, PNG, or GIF format. | [optional]
14
+ **button_width** | **String** | With the button style Web Messenger, you have the option of specifying the button width. | [optional] [default to '58']
15
+ **button_height** | **String** | With the button style Web Messenger, you have the option of specifying the button height. | [optional] [default to '58']
16
+ **integration_order** | **Array<String>** | Array of integration IDs, order will be reflected in the Web Messenger. When set, only integrations from this list will be displayed in the Web Messenger. If unset, all integrations will be displayed. | [optional]
17
17
  **business_name** | **String** | A custom business name for the Web Messenger. | [optional]
18
- **business_icon_url** | **String** | A custom business icon url for the Web Messenger. The image must be at least 200 x 200 pixels and must be in either JPG, PNG, or GIF format. | [optional]
19
- **background_image_url** | **String** | A background image url for the conversation. Image will be tiled to fit the window. | [optional]
18
+ **business_icon_url** | **String** | A custom business icon url for the Web Messenger. The image must be at least 200 x 200 pixels and must be in either JPG, PNG, or GIF format. | [optional]
19
+ **background_image_url** | **String** | A background image url for the conversation. Image will be tiled to fit the window. | [optional]
20
20
  **origin_whitelist** | **Array<String>** | A list of origins to whitelist. When set, only the origins from this list will be able to initialize the Web Messenger. If unset, all origins are whitelisted. The elements in the list should follow the serialized-origin format from RFC 6454: scheme \"://\" host [ \":\" port ], where scheme is http or https. | [optional]
21
- **prechat_capture** | [**PrechatCapture**](PrechatCapture.md) | Object whose properties can be set to specify the add-on’s options. See the [guide](https://docs.smooch.io/guide/web-messenger/#prechat-capture) to learn more about Prechat Capture. | [optional]
22
- **can_user_create_more_conversations** | **Boolean** | Allows users to create more than one conversation on the web messenger integration. | [optional]
21
+ **prechat_capture** | [**PrechatCapture**](PrechatCapture.md) | Object whose properties can be set to specify the add-on’s options. See the [guide](https://docs.smooch.io/guide/web-messenger/#prechat-capture) to learn more about Prechat Capture. | [optional]
22
+ **can_user_see_conversation_list** | **Boolean** | Allows users to view their list of conversations. By default, the list of conversations will be visible. *This setting only applies to apps where `settings.multiConvoEnabled` is set to `true`*. | [optional]
23
+ **can_user_create_more_conversations** | **Boolean** | Allows users to create more than one conversation on the web messenger integration. | [optional]
23
24
 
24
25
  ## Code Sample
25
26
 
@@ -35,12 +36,13 @@ instance = SunshineConversationsClient::WebAllOf.new(type: null,
35
36
  button_icon_url: https://domain.com/images/avatar.png,
36
37
  button_width: null,
37
38
  button_height: null,
38
- integration_order: ["59fc8466260f48003505228b","59d79780481d34002b7d3617"],
39
+ integration_order: ["59fc8466260f48003505228b", "59d79780481d34002b7d3617"],
39
40
  business_name: Kent Shop,
40
41
  business_icon_url: https://www.gravatar.com/image.jpg,
41
42
  background_image_url: https://a-beautiful-tile.png,
42
- origin_whitelist: ["https://yourdomain.com"],
43
+ origin_whitelist: https://yourdomain.com,
43
44
  prechat_capture: null,
45
+ can_user_see_conversation_list: false,
44
46
  can_user_create_more_conversations: null)
45
47
  ```
46
48
 
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 9.4.3
4
+ The version of the OpenAPI document: 9.4.6
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: 9.4.3
4
+ The version of the OpenAPI document: 9.4.6
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1