sunshine-conversations-client 16.0.1 → 17.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (682) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG_RB.md +7 -0
  3. data/README.md +20 -72
  4. data/docs/AcceptControlBody.md +8 -7
  5. data/docs/Action.md +64 -34
  6. data/docs/ActionSubset.md +60 -32
  7. data/docs/ActivitiesApi.md +2 -2
  8. data/docs/Activity.md +12 -11
  9. data/docs/ActivityMessage.md +69 -9
  10. data/docs/ActivityPost.md +10 -9
  11. data/docs/ActivityTypes.md +8 -7
  12. data/docs/Android.md +28 -27
  13. data/docs/AndroidUpdate.md +24 -23
  14. data/docs/ApiKey.md +12 -11
  15. data/docs/App.md +14 -13
  16. data/docs/AppCreateBody.md +12 -11
  17. data/docs/AppKey.md +12 -11
  18. data/docs/AppKeyCreateBody.md +8 -7
  19. data/docs/AppKeyListResponse.md +8 -7
  20. data/docs/AppKeyResponse.md +8 -7
  21. data/docs/AppKeysApi.md +7 -7
  22. data/docs/AppListFilter.md +8 -7
  23. data/docs/AppListResponse.md +12 -11
  24. data/docs/AppResponse.md +8 -7
  25. data/docs/AppSettings.md +20 -19
  26. data/docs/AppSubSchema.md +8 -7
  27. data/docs/AppUpdateBody.md +12 -11
  28. data/docs/Apple.md +20 -19
  29. data/docs/AppleMessageOverridePayload.md +10 -9
  30. data/docs/AppleUpdate.md +12 -11
  31. data/docs/AppsApi.md +7 -7
  32. data/docs/AttachmentDeleteBody.md +8 -7
  33. data/docs/AttachmentResponse.md +8 -7
  34. data/docs/AttachmentSchema.md +10 -9
  35. data/docs/AttachmentsApi.md +7 -7
  36. data/docs/Author.md +18 -17
  37. data/docs/AuthorWebhook.md +12 -11
  38. data/docs/Buy.md +16 -15
  39. data/docs/Campaign.md +8 -7
  40. data/docs/CarouselMessage.md +16 -15
  41. data/docs/CarouselMessageDisplaySettings.md +8 -7
  42. data/docs/Client.md +28 -27
  43. data/docs/ClientAddEvent.md +14 -13
  44. data/docs/ClientAddEventAllOfPayload.md +16 -15
  45. data/docs/ClientAssociation.md +10 -9
  46. data/docs/ClientCreate.md +12 -11
  47. data/docs/ClientListResponse.md +12 -11
  48. data/docs/ClientRemoveEvent.md +14 -13
  49. data/docs/ClientRemoveEventAllOfPayload.md +18 -17
  50. data/docs/ClientResponse.md +8 -7
  51. data/docs/ClientType.md +4 -5
  52. data/docs/ClientUpdateEvent.md +14 -13
  53. data/docs/ClientUpdateEventAllOfPayload.md +14 -13
  54. data/docs/ClientsApi.md +9 -9
  55. data/docs/Confirmation.md +10 -9
  56. data/docs/Content.md +93 -48
  57. data/docs/Conversation.md +30 -29
  58. data/docs/ConversationCreateBody.md +18 -17
  59. data/docs/ConversationCreateEvent.md +14 -13
  60. data/docs/ConversationCreateEventAllOfPayload.md +16 -15
  61. data/docs/ConversationJoinEvent.md +14 -13
  62. data/docs/ConversationJoinEventAllOfPayload.md +10 -9
  63. data/docs/ConversationLeaveEvent.md +14 -13
  64. data/docs/ConversationLeaveEventAllOfPayload.md +10 -9
  65. data/docs/ConversationListFilter.md +10 -9
  66. data/docs/ConversationListResponse.md +12 -11
  67. data/docs/ConversationMessageDeliveryChannelEvent.md +14 -13
  68. data/docs/ConversationMessageDeliveryFailureEvent.md +14 -13
  69. data/docs/ConversationMessageDeliveryFailureEventAllOfPayload.md +30 -0
  70. data/docs/ConversationMessageDeliveryFailureEventAllOfPayloadAllOfError.md +20 -0
  71. data/docs/ConversationMessageDeliveryPayload.md +18 -17
  72. data/docs/ConversationMessageDeliveryPayloadDestination.md +10 -9
  73. data/docs/ConversationMessageDeliveryPayloadExternalMessagesInner.md +18 -0
  74. data/docs/ConversationMessageDeliveryPayloadMessage.md +8 -7
  75. data/docs/ConversationMessageDeliveryUserEvent.md +14 -13
  76. data/docs/ConversationMessageEvent.md +14 -13
  77. data/docs/ConversationMessageEventAllOfPayload.md +12 -11
  78. data/docs/ConversationPostbackEvent.md +14 -13
  79. data/docs/ConversationPostbackEventAllOfPayload.md +14 -13
  80. data/docs/ConversationReadEvent.md +14 -13
  81. data/docs/ConversationReadEventAllOfPayload.md +10 -9
  82. data/docs/ConversationReadEventAllOfPayloadActivity.md +22 -0
  83. data/docs/ConversationReferralEvent.md +14 -13
  84. data/docs/ConversationReferralEventAllOfPayload.md +14 -13
  85. data/docs/ConversationRemoveEvent.md +14 -13
  86. data/docs/ConversationRemoveEventAllOfPayload.md +8 -7
  87. data/docs/ConversationResponse.md +8 -7
  88. data/docs/ConversationTruncated.md +16 -15
  89. data/docs/ConversationType.md +4 -5
  90. data/docs/ConversationTypingEvent.md +14 -13
  91. data/docs/ConversationTypingEventAllOfPayload.md +10 -9
  92. data/docs/ConversationTypingEventAllOfPayloadActivity.md +22 -0
  93. data/docs/ConversationUpdateBody.md +14 -13
  94. data/docs/ConversationsApi.md +16 -16
  95. data/docs/ConversionEventsBody.md +41 -11
  96. data/docs/Custom.md +10 -9
  97. data/docs/CustomIntegrationApiKeysApi.md +11 -11
  98. data/docs/CustomUpdate.md +8 -7
  99. data/docs/DefaultResponder.md +8 -7
  100. data/docs/DefaultResponderDefaultResponder.md +20 -19
  101. data/docs/DefaultResponderId.md +8 -7
  102. data/docs/Destination.md +39 -9
  103. data/docs/Device.md +26 -25
  104. data/docs/DeviceListResponse.md +8 -7
  105. data/docs/DeviceResponse.md +8 -7
  106. data/docs/DevicesApi.md +5 -5
  107. data/docs/DownloadMessageRefBody.md +10 -6
  108. data/docs/DownloadMessageRefBodyAllOfApple.md +8 -7
  109. data/docs/DownloadMessageRefBodyAllOfAppleInteractiveDataRef.md +16 -15
  110. data/docs/Error.md +10 -9
  111. data/docs/ErrorResponse.md +8 -7
  112. data/docs/EventSubSchema.md +12 -11
  113. data/docs/ExtraChannelOptions.md +8 -7
  114. data/docs/ExtraChannelOptionsMessenger.md +10 -9
  115. data/docs/Field.md +18 -17
  116. data/docs/FileMessage.md +26 -25
  117. data/docs/FormMessage.md +14 -13
  118. data/docs/FormMessageField.md +26 -25
  119. data/docs/FormOptionsInner.md +20 -0
  120. data/docs/FormResponseMessage.md +12 -11
  121. data/docs/FormResponseMessageField.md +20 -19
  122. data/docs/GetToken200Response.md +20 -0
  123. data/docs/GetTokenRequest.md +24 -0
  124. data/docs/Identity.md +12 -11
  125. data/docs/ImageMessage.md +28 -27
  126. data/docs/Instagram.md +30 -29
  127. data/docs/InstagramConversionEventsBody.md +8 -7
  128. data/docs/InstagramUpdate.md +12 -11
  129. data/docs/Integration.md +14 -13
  130. data/docs/IntegrationApiKey.md +8 -7
  131. data/docs/IntegrationApiKeyListResponse.md +8 -7
  132. data/docs/IntegrationApiKeyResponse.md +8 -7
  133. data/docs/IntegrationId.md +8 -7
  134. data/docs/IntegrationListFilter.md +8 -7
  135. data/docs/IntegrationListResponse.md +12 -11
  136. data/docs/IntegrationResponse.md +8 -7
  137. data/docs/IntegrationType.md +8 -7
  138. data/docs/IntegrationUpdate.md +70 -76
  139. data/docs/IntegrationUpdateBase.md +10 -9
  140. data/docs/IntegrationsApi.md +11 -11
  141. data/docs/Ios.md +26 -25
  142. data/docs/IosUpdate.md +22 -21
  143. data/docs/Item.md +22 -21
  144. data/docs/Line.md +26 -25
  145. data/docs/LineUpdate.md +10 -6
  146. data/docs/Link.md +18 -17
  147. data/docs/Links.md +10 -9
  148. data/docs/ListMessage.md +14 -13
  149. data/docs/LocationMessage.md +16 -15
  150. data/docs/LocationMessageCoordinates.md +10 -9
  151. data/docs/LocationMessageLocation.md +10 -9
  152. data/docs/LocationRequest.md +12 -11
  153. data/docs/Mailgun.md +22 -21
  154. data/docs/MailgunUpdate.md +14 -13
  155. data/docs/MatchCriteria.md +76 -18
  156. data/docs/MatchCriteriaBase.md +12 -11
  157. data/docs/MatchCriteriaMailgun.md +16 -15
  158. data/docs/MatchCriteriaMessagebird.md +14 -13
  159. data/docs/MatchCriteriaTwilio.md +14 -13
  160. data/docs/MatchCriteriaWhatsapp.md +14 -13
  161. data/docs/Message.md +24 -23
  162. data/docs/MessageBirdUpdate.md +10 -6
  163. data/docs/MessageListResponse.md +12 -11
  164. data/docs/MessageOverride.md +14 -13
  165. data/docs/MessageOverrideApple.md +8 -7
  166. data/docs/MessageOverrideLine.md +8 -7
  167. data/docs/MessageOverrideMessenger.md +8 -7
  168. data/docs/MessageOverridePayload.md +8 -7
  169. data/docs/MessageOverrideWhatsapp.md +8 -7
  170. data/docs/MessagePost.md +18 -17
  171. data/docs/MessagePostResponse.md +8 -7
  172. data/docs/MessageWebhook.md +22 -21
  173. data/docs/MessageWebhookSource.md +30 -0
  174. data/docs/Messagebird.md +20 -19
  175. data/docs/MessagesApi.md +11 -11
  176. data/docs/Messenger.md +22 -21
  177. data/docs/MessengerConversionEventsBody.md +8 -7
  178. data/docs/MessengerUpdate.md +12 -11
  179. data/docs/Meta.md +12 -11
  180. data/docs/MetaConversionEvent.md +8 -7
  181. data/docs/MetaConversionEventPayload.md +8 -7
  182. data/docs/OAuthEndpointsApi.md +9 -9
  183. data/docs/OfferControlBody.md +10 -9
  184. data/docs/Page.md +12 -11
  185. data/docs/Participant.md +18 -17
  186. data/docs/ParticipantJoinBody.md +12 -6
  187. data/docs/ParticipantLeaveBody.md +41 -11
  188. data/docs/ParticipantLeaveBodyParticipantId.md +8 -7
  189. data/docs/ParticipantLeaveBodyUserExternalId.md +8 -7
  190. data/docs/ParticipantLeaveBodyUserId.md +8 -7
  191. data/docs/ParticipantListResponse.md +12 -11
  192. data/docs/ParticipantResponse.md +8 -7
  193. data/docs/ParticipantSubSchema.md +12 -11
  194. data/docs/ParticipantWithUserExternalId.md +10 -9
  195. data/docs/ParticipantWithUserId.md +10 -9
  196. data/docs/ParticipantsApi.md +7 -7
  197. data/docs/PassControlBody.md +12 -11
  198. data/docs/Postback.md +14 -13
  199. data/docs/PostbackWebhook.md +10 -9
  200. data/docs/PrechatCapture.md +14 -13
  201. data/docs/Profile.md +16 -15
  202. data/docs/QuotedMessage.md +69 -11
  203. data/docs/QuotedMessageExternalMessageId.md +10 -9
  204. data/docs/QuotedMessageMessage.md +10 -9
  205. data/docs/Referral.md +10 -9
  206. data/docs/ReferralDetails.md +12 -11
  207. data/docs/ReleaseControlBody.md +10 -9
  208. data/docs/Reply.md +16 -15
  209. data/docs/Source.md +18 -17
  210. data/docs/SourceWebhook.md +18 -17
  211. data/docs/SourceWithCampaignWebhook.md +20 -19
  212. data/docs/Status.md +4 -5
  213. data/docs/Switchboard.md +12 -11
  214. data/docs/SwitchboardAcceptControl.md +14 -13
  215. data/docs/SwitchboardAcceptControlAllOfPayload.md +10 -9
  216. data/docs/SwitchboardAcceptControlFailure.md +14 -13
  217. data/docs/SwitchboardAcceptControlFailureAllOfPayload.md +12 -11
  218. data/docs/SwitchboardActionsApi.md +12 -12
  219. data/docs/SwitchboardIntegration.md +20 -19
  220. data/docs/SwitchboardIntegrationCreateBody.md +18 -17
  221. data/docs/SwitchboardIntegrationListResponse.md +8 -7
  222. data/docs/SwitchboardIntegrationResponse.md +8 -7
  223. data/docs/SwitchboardIntegrationUpdateBody.md +18 -17
  224. data/docs/SwitchboardIntegrationWebhook.md +14 -13
  225. data/docs/SwitchboardIntegrationsApi.md +10 -10
  226. data/docs/SwitchboardListResponse.md +8 -7
  227. data/docs/SwitchboardOfferControl.md +14 -13
  228. data/docs/SwitchboardOfferControlAllOfPayload.md +10 -9
  229. data/docs/SwitchboardOfferControlFailure.md +14 -13
  230. data/docs/SwitchboardPassControl.md +14 -13
  231. data/docs/SwitchboardPassControlAllOfPayload.md +12 -11
  232. data/docs/SwitchboardPassControlFailure.md +14 -13
  233. data/docs/SwitchboardReleaseControl.md +14 -13
  234. data/docs/SwitchboardReleaseControlAllOfPayload.md +12 -11
  235. data/docs/SwitchboardResponse.md +8 -7
  236. data/docs/SwitchboardUpdateBody.md +10 -9
  237. data/docs/SwitchboardsApi.md +7 -7
  238. data/docs/SyncUserBody.md +8 -7
  239. data/docs/Target.md +8 -7
  240. data/docs/Telegram.md +18 -17
  241. data/docs/TelegramUpdate.md +10 -6
  242. data/docs/TemplateMessage.md +12 -11
  243. data/docs/TextMessage.md +20 -19
  244. data/docs/TicketClosed.md +10 -9
  245. data/docs/TransferToEmail.md +10 -9
  246. data/docs/Twilio.md +20 -19
  247. data/docs/TwilioUpdate.md +10 -6
  248. data/docs/Twitter.md +24 -23
  249. data/docs/TwitterUpdate.md +10 -6
  250. data/docs/Unity.md +18 -17
  251. data/docs/UnityUpdate.md +14 -13
  252. data/docs/User.md +24 -23
  253. data/docs/UserCreateBody.md +16 -15
  254. data/docs/UserMergeEvent.md +14 -13
  255. data/docs/UserMergeEventAllOfPayload.md +16 -15
  256. data/docs/UserMergeEventAllOfPayloadMergedClients.md +10 -9
  257. data/docs/UserMergeEventAllOfPayloadMergedConversations.md +10 -9
  258. data/docs/UserMergeEventAllOfPayloadMergedUsers.md +10 -9
  259. data/docs/UserRemoveEvent.md +14 -13
  260. data/docs/UserRemoveEventAllOfPayload.md +8 -7
  261. data/docs/UserResponse.md +8 -7
  262. data/docs/UserTruncated.md +14 -13
  263. data/docs/UserUpdateBody.md +14 -13
  264. data/docs/UserUpdateEvent.md +14 -13
  265. data/docs/UserUpdateEventAllOfPayload.md +12 -11
  266. data/docs/UsersApi.md +14 -14
  267. data/docs/Viber.md +18 -17
  268. data/docs/ViberUpdate.md +10 -6
  269. data/docs/Web.md +46 -45
  270. data/docs/WebUpdate.md +42 -41
  271. data/docs/Webhook.md +20 -19
  272. data/docs/WebhookBody.md +14 -13
  273. data/docs/WebhookCreateBody.md +14 -6
  274. data/docs/WebhookListResponse.md +8 -7
  275. data/docs/WebhookResponse.md +8 -7
  276. data/docs/WebhookSubSchema.md +10 -9
  277. data/docs/WebhooksApi.md +15 -15
  278. data/docs/Webview.md +24 -23
  279. data/docs/WhatsAppConversionEventsBody.md +8 -7
  280. data/docs/WhatsAppUpdate.md +16 -15
  281. data/docs/Whatsapp.md +20 -19
  282. data/lib/sunshine-conversations-client/api/activities_api.rb +11 -7
  283. data/lib/sunshine-conversations-client/api/app_keys_api.rb +26 -19
  284. data/lib/sunshine-conversations-client/api/apps_api.rb +35 -24
  285. data/lib/sunshine-conversations-client/api/attachments_api.rb +20 -12
  286. data/lib/sunshine-conversations-client/api/clients_api.rb +21 -15
  287. data/lib/sunshine-conversations-client/api/conversations_api.rb +53 -34
  288. data/lib/sunshine-conversations-client/api/custom_integration_api_keys_api.rb +26 -19
  289. data/lib/sunshine-conversations-client/api/devices_api.rb +12 -10
  290. data/lib/sunshine-conversations-client/api/integrations_api.rb +35 -24
  291. data/lib/sunshine-conversations-client/api/messages_api.rb +26 -19
  292. data/lib/sunshine-conversations-client/api/o_auth_endpoints_api.rb +36 -29
  293. data/lib/sunshine-conversations-client/api/participants_api.rb +25 -16
  294. data/lib/sunshine-conversations-client/api/switchboard_actions_api.rb +38 -22
  295. data/lib/sunshine-conversations-client/api/switchboard_integrations_api.rb +30 -20
  296. data/lib/sunshine-conversations-client/api/switchboards_api.rb +26 -19
  297. data/lib/sunshine-conversations-client/api/users_api.rb +44 -29
  298. data/lib/sunshine-conversations-client/api/webhooks_api.rb +35 -24
  299. data/lib/sunshine-conversations-client/api_client.rb +54 -9
  300. data/lib/sunshine-conversations-client/api_error.rb +3 -2
  301. data/lib/sunshine-conversations-client/configuration.rb +27 -29
  302. data/lib/sunshine-conversations-client/models/accept_control_body.rb +28 -25
  303. data/lib/sunshine-conversations-client/models/action.rb +30 -406
  304. data/lib/sunshine-conversations-client/models/action_subset.rb +24 -390
  305. data/lib/sunshine-conversations-client/models/activity.rb +24 -25
  306. data/lib/sunshine-conversations-client/models/activity_message.rb +30 -227
  307. data/lib/sunshine-conversations-client/models/activity_post.rb +42 -43
  308. data/lib/sunshine-conversations-client/models/activity_types.rb +23 -23
  309. data/lib/sunshine-conversations-client/models/android.rb +68 -47
  310. data/lib/sunshine-conversations-client/models/android_update.rb +24 -25
  311. data/lib/sunshine-conversations-client/models/api_key.rb +49 -24
  312. data/lib/sunshine-conversations-client/models/app.rb +52 -24
  313. data/lib/sunshine-conversations-client/models/app_create_body.rb +55 -24
  314. data/lib/sunshine-conversations-client/models/app_key.rb +24 -24
  315. data/lib/sunshine-conversations-client/models/app_key_create_body.rb +51 -23
  316. data/lib/sunshine-conversations-client/models/app_key_list_response.rb +26 -23
  317. data/lib/sunshine-conversations-client/models/app_key_response.rb +23 -23
  318. data/lib/sunshine-conversations-client/models/app_list_filter.rb +23 -23
  319. data/lib/sunshine-conversations-client/models/app_list_response.rb +27 -24
  320. data/lib/sunshine-conversations-client/models/app_response.rb +23 -23
  321. data/lib/sunshine-conversations-client/models/app_settings.rb +24 -24
  322. data/lib/sunshine-conversations-client/models/app_sub_schema.rb +23 -23
  323. data/lib/sunshine-conversations-client/models/app_update_body.rb +51 -24
  324. data/lib/sunshine-conversations-client/models/apple.rb +67 -46
  325. data/lib/sunshine-conversations-client/models/apple_message_override_payload.rb +27 -24
  326. data/lib/sunshine-conversations-client/models/apple_update.rb +24 -25
  327. data/lib/sunshine-conversations-client/models/attachment_delete_body.rb +23 -23
  328. data/lib/sunshine-conversations-client/models/attachment_response.rb +23 -23
  329. data/lib/sunshine-conversations-client/models/attachment_schema.rb +24 -24
  330. data/lib/sunshine-conversations-client/models/author.rb +51 -24
  331. data/lib/sunshine-conversations-client/models/author_webhook.rb +24 -24
  332. data/lib/sunshine-conversations-client/models/buy.rb +27 -24
  333. data/lib/sunshine-conversations-client/models/campaign.rb +23 -23
  334. data/lib/sunshine-conversations-client/models/carousel_message.rb +55 -24
  335. data/lib/sunshine-conversations-client/models/carousel_message_display_settings.rb +23 -23
  336. data/lib/sunshine-conversations-client/models/client.rb +24 -24
  337. data/lib/sunshine-conversations-client/models/client_add_event.rb +24 -25
  338. data/lib/sunshine-conversations-client/models/client_add_event_all_of_payload.rb +24 -24
  339. data/lib/sunshine-conversations-client/models/client_association.rb +46 -24
  340. data/lib/sunshine-conversations-client/models/client_create.rb +24 -24
  341. data/lib/sunshine-conversations-client/models/client_list_response.rb +27 -24
  342. data/lib/sunshine-conversations-client/models/client_remove_event.rb +24 -25
  343. data/lib/sunshine-conversations-client/models/client_remove_event_all_of_payload.rb +24 -24
  344. data/lib/sunshine-conversations-client/models/client_response.rb +23 -23
  345. data/lib/sunshine-conversations-client/models/client_type.rb +9 -5
  346. data/lib/sunshine-conversations-client/models/client_update_event.rb +24 -25
  347. data/lib/sunshine-conversations-client/models/client_update_event_all_of_payload.rb +24 -24
  348. data/lib/sunshine-conversations-client/models/confirmation.rb +24 -24
  349. data/lib/sunshine-conversations-client/models/content.rb +52 -502
  350. data/lib/sunshine-conversations-client/models/conversation.rb +74 -25
  351. data/lib/sunshine-conversations-client/models/conversation_create_body.rb +92 -24
  352. data/lib/sunshine-conversations-client/models/conversation_create_event.rb +24 -25
  353. data/lib/sunshine-conversations-client/models/conversation_create_event_all_of_payload.rb +24 -24
  354. data/lib/sunshine-conversations-client/models/conversation_join_event.rb +24 -25
  355. data/lib/sunshine-conversations-client/models/conversation_join_event_all_of_payload.rb +24 -24
  356. data/lib/sunshine-conversations-client/models/conversation_leave_event.rb +24 -25
  357. data/lib/sunshine-conversations-client/models/conversation_leave_event_all_of_payload.rb +24 -24
  358. data/lib/sunshine-conversations-client/models/conversation_list_filter.rb +24 -24
  359. data/lib/sunshine-conversations-client/models/conversation_list_response.rb +27 -24
  360. data/lib/sunshine-conversations-client/models/conversation_message_delivery_channel_event.rb +24 -25
  361. data/lib/sunshine-conversations-client/models/conversation_message_delivery_failure_event.rb +25 -26
  362. data/lib/sunshine-conversations-client/models/{conversation_message_delivery_channel_event_all_of.rb → conversation_message_delivery_failure_event_all_of_payload.rb} +101 -33
  363. data/lib/sunshine-conversations-client/models/{conversation_message_delivery_failure_event_all_of.rb → conversation_message_delivery_failure_event_all_of_payload_all_of_error.rb} +45 -33
  364. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload.rb +28 -25
  365. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload_destination.rb +24 -24
  366. data/lib/sunshine-conversations-client/models/{conversation_message_delivery_payload_external_messages.rb → conversation_message_delivery_payload_external_messages_inner.rb} +26 -26
  367. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload_message.rb +23 -23
  368. data/lib/sunshine-conversations-client/models/conversation_message_delivery_user_event.rb +24 -25
  369. data/lib/sunshine-conversations-client/models/conversation_message_event.rb +24 -25
  370. data/lib/sunshine-conversations-client/models/conversation_message_event_all_of_payload.rb +27 -24
  371. data/lib/sunshine-conversations-client/models/conversation_postback_event.rb +24 -25
  372. data/lib/sunshine-conversations-client/models/conversation_postback_event_all_of_payload.rb +24 -24
  373. data/lib/sunshine-conversations-client/models/conversation_read_event.rb +24 -25
  374. data/lib/sunshine-conversations-client/models/conversation_read_event_all_of_payload.rb +25 -26
  375. data/lib/sunshine-conversations-client/models/{custom_all_of.rb → conversation_read_event_all_of_payload_activity.rb} +53 -40
  376. data/lib/sunshine-conversations-client/models/conversation_referral_event.rb +24 -25
  377. data/lib/sunshine-conversations-client/models/conversation_referral_event_all_of_payload.rb +24 -24
  378. data/lib/sunshine-conversations-client/models/conversation_remove_event.rb +24 -25
  379. data/lib/sunshine-conversations-client/models/conversation_remove_event_all_of_payload.rb +23 -23
  380. data/lib/sunshine-conversations-client/models/conversation_response.rb +23 -23
  381. data/lib/sunshine-conversations-client/models/conversation_truncated.rb +49 -24
  382. data/lib/sunshine-conversations-client/models/conversation_type.rb +9 -5
  383. data/lib/sunshine-conversations-client/models/conversation_typing_event.rb +24 -25
  384. data/lib/sunshine-conversations-client/models/conversation_typing_event_all_of_payload.rb +25 -26
  385. data/lib/sunshine-conversations-client/models/{activity_all_of.rb → conversation_typing_event_all_of_payload_activity.rb} +45 -27
  386. data/lib/sunshine-conversations-client/models/conversation_update_body.rb +52 -24
  387. data/lib/sunshine-conversations-client/models/conversion_events_body.rb +78 -221
  388. data/lib/sunshine-conversations-client/models/custom.rb +77 -25
  389. data/lib/sunshine-conversations-client/models/custom_update.rb +23 -23
  390. data/lib/sunshine-conversations-client/models/default_responder.rb +23 -23
  391. data/lib/sunshine-conversations-client/models/default_responder_default_responder.rb +24 -24
  392. data/lib/sunshine-conversations-client/models/default_responder_id.rb +23 -23
  393. data/lib/sunshine-conversations-client/models/destination.rb +77 -213
  394. data/lib/sunshine-conversations-client/models/device.rb +27 -24
  395. data/lib/sunshine-conversations-client/models/device_list_response.rb +26 -23
  396. data/lib/sunshine-conversations-client/models/device_response.rb +23 -23
  397. data/lib/sunshine-conversations-client/models/download_message_ref_body.rb +52 -39
  398. data/lib/sunshine-conversations-client/models/download_message_ref_body_all_of_apple.rb +23 -23
  399. data/lib/sunshine-conversations-client/models/download_message_ref_body_all_of_apple_interactive_data_ref.rb +24 -24
  400. data/lib/sunshine-conversations-client/models/error.rb +24 -24
  401. data/lib/sunshine-conversations-client/models/error_response.rb +26 -23
  402. data/lib/sunshine-conversations-client/models/event_sub_schema.rb +24 -24
  403. data/lib/sunshine-conversations-client/models/extra_channel_options.rb +23 -23
  404. data/lib/sunshine-conversations-client/models/extra_channel_options_messenger.rb +24 -24
  405. data/lib/sunshine-conversations-client/models/field.rb +27 -24
  406. data/lib/sunshine-conversations-client/models/file_message.rb +24 -24
  407. data/lib/sunshine-conversations-client/models/form_message.rb +55 -24
  408. data/lib/sunshine-conversations-client/models/form_message_field.rb +47 -27
  409. data/lib/sunshine-conversations-client/models/{viber_all_of.rb → form_options_inner.rb} +82 -72
  410. data/lib/sunshine-conversations-client/models/form_response_message.rb +55 -24
  411. data/lib/sunshine-conversations-client/models/form_response_message_field.rb +28 -26
  412. data/lib/sunshine-conversations-client/models/{user_merge_event_all_of.rb → get_token200_response.rb} +44 -33
  413. data/lib/sunshine-conversations-client/models/{inline_object.rb → get_token_request.rb} +27 -27
  414. data/lib/sunshine-conversations-client/models/identity.rb +24 -24
  415. data/lib/sunshine-conversations-client/models/image_message.rb +27 -24
  416. data/lib/sunshine-conversations-client/models/instagram.rb +68 -47
  417. data/lib/sunshine-conversations-client/models/instagram_conversion_events_body.rb +23 -23
  418. data/lib/sunshine-conversations-client/models/instagram_update.rb +24 -25
  419. data/lib/sunshine-conversations-client/models/integration.rb +46 -24
  420. data/lib/sunshine-conversations-client/models/integration_api_key.rb +23 -23
  421. data/lib/sunshine-conversations-client/models/integration_api_key_list_response.rb +26 -23
  422. data/lib/sunshine-conversations-client/models/integration_api_key_response.rb +23 -23
  423. data/lib/sunshine-conversations-client/models/integration_id.rb +23 -23
  424. data/lib/sunshine-conversations-client/models/integration_list_filter.rb +23 -23
  425. data/lib/sunshine-conversations-client/models/integration_list_response.rb +27 -24
  426. data/lib/sunshine-conversations-client/models/integration_response.rb +23 -23
  427. data/lib/sunshine-conversations-client/models/integration_type.rb +23 -23
  428. data/lib/sunshine-conversations-client/models/integration_update.rb +95 -724
  429. data/lib/sunshine-conversations-client/models/integration_update_base.rb +24 -24
  430. data/lib/sunshine-conversations-client/models/ios.rb +69 -48
  431. data/lib/sunshine-conversations-client/models/ios_update.rb +25 -26
  432. data/lib/sunshine-conversations-client/models/item.rb +58 -24
  433. data/lib/sunshine-conversations-client/models/line.rb +68 -47
  434. data/lib/sunshine-conversations-client/models/line_update.rb +74 -32
  435. data/lib/sunshine-conversations-client/models/link.rb +27 -24
  436. data/lib/sunshine-conversations-client/models/links.rb +24 -24
  437. data/lib/sunshine-conversations-client/models/list_message.rb +82 -24
  438. data/lib/sunshine-conversations-client/models/location_message.rb +24 -24
  439. data/lib/sunshine-conversations-client/models/location_message_coordinates.rb +24 -24
  440. data/lib/sunshine-conversations-client/models/location_message_location.rb +24 -24
  441. data/lib/sunshine-conversations-client/models/location_request.rb +27 -24
  442. data/lib/sunshine-conversations-client/models/mailgun.rb +70 -49
  443. data/lib/sunshine-conversations-client/models/mailgun_update.rb +25 -26
  444. data/lib/sunshine-conversations-client/models/match_criteria.rb +34 -289
  445. data/lib/sunshine-conversations-client/models/match_criteria_base.rb +24 -24
  446. data/lib/sunshine-conversations-client/models/match_criteria_mailgun.rb +25 -26
  447. data/lib/sunshine-conversations-client/models/match_criteria_messagebird.rb +25 -26
  448. data/lib/sunshine-conversations-client/models/match_criteria_twilio.rb +25 -26
  449. data/lib/sunshine-conversations-client/models/match_criteria_whatsapp.rb +25 -26
  450. data/lib/sunshine-conversations-client/models/message.rb +29 -26
  451. data/lib/sunshine-conversations-client/models/message_bird_update.rb +74 -32
  452. data/lib/sunshine-conversations-client/models/message_list_response.rb +27 -24
  453. data/lib/sunshine-conversations-client/models/message_override.rb +79 -228
  454. data/lib/sunshine-conversations-client/models/message_override_apple.rb +23 -23
  455. data/lib/sunshine-conversations-client/models/message_override_line.rb +23 -23
  456. data/lib/sunshine-conversations-client/models/message_override_messenger.rb +23 -23
  457. data/lib/sunshine-conversations-client/models/message_override_payload.rb +23 -23
  458. data/lib/sunshine-conversations-client/models/message_override_whatsapp.rb +23 -23
  459. data/lib/sunshine-conversations-client/models/message_post.rb +27 -24
  460. data/lib/sunshine-conversations-client/models/message_post_response.rb +26 -23
  461. data/lib/sunshine-conversations-client/models/message_webhook.rb +30 -27
  462. data/lib/sunshine-conversations-client/models/{apple_all_of.rb → message_webhook_source.rb} +91 -86
  463. data/lib/sunshine-conversations-client/models/messagebird.rb +69 -48
  464. data/lib/sunshine-conversations-client/models/messenger.rb +69 -48
  465. data/lib/sunshine-conversations-client/models/messenger_conversion_events_body.rb +23 -23
  466. data/lib/sunshine-conversations-client/models/messenger_update.rb +24 -25
  467. data/lib/sunshine-conversations-client/models/meta.rb +24 -24
  468. data/lib/sunshine-conversations-client/models/meta_conversion_event.rb +23 -23
  469. data/lib/sunshine-conversations-client/models/meta_conversion_event_payload.rb +26 -23
  470. data/lib/sunshine-conversations-client/models/offer_control_body.rb +29 -26
  471. data/lib/sunshine-conversations-client/models/page.rb +24 -24
  472. data/lib/sunshine-conversations-client/models/participant.rb +27 -24
  473. data/lib/sunshine-conversations-client/models/participant_join_body.rb +58 -32
  474. data/lib/sunshine-conversations-client/models/participant_leave_body.rb +78 -224
  475. data/lib/sunshine-conversations-client/models/participant_leave_body_participant_id.rb +23 -23
  476. data/lib/sunshine-conversations-client/models/participant_leave_body_user_external_id.rb +23 -23
  477. data/lib/sunshine-conversations-client/models/participant_leave_body_user_id.rb +23 -23
  478. data/lib/sunshine-conversations-client/models/participant_list_response.rb +27 -24
  479. data/lib/sunshine-conversations-client/models/participant_response.rb +23 -23
  480. data/lib/sunshine-conversations-client/models/participant_sub_schema.rb +77 -220
  481. data/lib/sunshine-conversations-client/models/participant_with_user_external_id.rb +24 -24
  482. data/lib/sunshine-conversations-client/models/participant_with_user_id.rb +24 -24
  483. data/lib/sunshine-conversations-client/models/pass_control_body.rb +29 -26
  484. data/lib/sunshine-conversations-client/models/postback.rb +27 -24
  485. data/lib/sunshine-conversations-client/models/postback_webhook.rb +27 -24
  486. data/lib/sunshine-conversations-client/models/prechat_capture.rb +27 -24
  487. data/lib/sunshine-conversations-client/models/profile.rb +24 -24
  488. data/lib/sunshine-conversations-client/models/quoted_message.rb +30 -237
  489. data/lib/sunshine-conversations-client/models/quoted_message_external_message_id.rb +24 -24
  490. data/lib/sunshine-conversations-client/models/quoted_message_message.rb +24 -24
  491. data/lib/sunshine-conversations-client/models/referral.rb +24 -24
  492. data/lib/sunshine-conversations-client/models/referral_details.rb +24 -24
  493. data/lib/sunshine-conversations-client/models/release_control_body.rb +29 -26
  494. data/lib/sunshine-conversations-client/models/reply.rb +27 -24
  495. data/lib/sunshine-conversations-client/models/source.rb +24 -24
  496. data/lib/sunshine-conversations-client/models/source_webhook.rb +24 -24
  497. data/lib/sunshine-conversations-client/models/source_with_campaign_webhook.rb +25 -26
  498. data/lib/sunshine-conversations-client/models/status.rb +9 -5
  499. data/lib/sunshine-conversations-client/models/switchboard.rb +24 -24
  500. data/lib/sunshine-conversations-client/models/switchboard_accept_control.rb +25 -26
  501. data/lib/sunshine-conversations-client/models/switchboard_accept_control_all_of_payload.rb +27 -24
  502. data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure.rb +25 -26
  503. data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure_all_of_payload.rb +27 -24
  504. data/lib/sunshine-conversations-client/models/switchboard_integration.rb +24 -24
  505. data/lib/sunshine-conversations-client/models/switchboard_integration_create_body.rb +25 -24
  506. data/lib/sunshine-conversations-client/models/switchboard_integration_list_response.rb +26 -23
  507. data/lib/sunshine-conversations-client/models/switchboard_integration_response.rb +23 -23
  508. data/lib/sunshine-conversations-client/models/switchboard_integration_update_body.rb +24 -24
  509. data/lib/sunshine-conversations-client/models/switchboard_integration_webhook.rb +24 -24
  510. data/lib/sunshine-conversations-client/models/switchboard_list_response.rb +26 -23
  511. data/lib/sunshine-conversations-client/models/switchboard_offer_control.rb +25 -26
  512. data/lib/sunshine-conversations-client/models/switchboard_offer_control_all_of_payload.rb +27 -24
  513. data/lib/sunshine-conversations-client/models/switchboard_offer_control_failure.rb +25 -26
  514. data/lib/sunshine-conversations-client/models/switchboard_pass_control.rb +25 -26
  515. data/lib/sunshine-conversations-client/models/switchboard_pass_control_all_of_payload.rb +27 -24
  516. data/lib/sunshine-conversations-client/models/switchboard_pass_control_failure.rb +25 -26
  517. data/lib/sunshine-conversations-client/models/switchboard_release_control.rb +25 -26
  518. data/lib/sunshine-conversations-client/models/switchboard_release_control_all_of_payload.rb +27 -24
  519. data/lib/sunshine-conversations-client/models/switchboard_response.rb +23 -23
  520. data/lib/sunshine-conversations-client/models/switchboard_update_body.rb +24 -24
  521. data/lib/sunshine-conversations-client/models/sync_user_body.rb +23 -23
  522. data/lib/sunshine-conversations-client/models/target.rb +23 -23
  523. data/lib/sunshine-conversations-client/models/telegram.rb +69 -48
  524. data/lib/sunshine-conversations-client/models/telegram_update.rb +74 -32
  525. data/lib/sunshine-conversations-client/models/template_message.rb +24 -24
  526. data/lib/sunshine-conversations-client/models/text_message.rb +27 -24
  527. data/lib/sunshine-conversations-client/models/ticket_closed.rb +27 -24
  528. data/lib/sunshine-conversations-client/models/transfer_to_email.rb +27 -24
  529. data/lib/sunshine-conversations-client/models/twilio.rb +69 -48
  530. data/lib/sunshine-conversations-client/models/twilio_update.rb +74 -32
  531. data/lib/sunshine-conversations-client/models/twitter.rb +50 -51
  532. data/lib/sunshine-conversations-client/models/twitter_update.rb +74 -32
  533. data/lib/sunshine-conversations-client/models/unity.rb +68 -47
  534. data/lib/sunshine-conversations-client/models/unity_update.rb +25 -26
  535. data/lib/sunshine-conversations-client/models/user.rb +34 -27
  536. data/lib/sunshine-conversations-client/models/user_create_body.rb +27 -24
  537. data/lib/sunshine-conversations-client/models/user_merge_event.rb +25 -26
  538. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload.rb +28 -26
  539. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload_merged_clients.rb +24 -24
  540. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload_merged_conversations.rb +24 -24
  541. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload_merged_users.rb +24 -24
  542. data/lib/sunshine-conversations-client/models/user_remove_event.rb +25 -26
  543. data/lib/sunshine-conversations-client/models/user_remove_event_all_of_payload.rb +23 -23
  544. data/lib/sunshine-conversations-client/models/user_response.rb +23 -23
  545. data/lib/sunshine-conversations-client/models/user_truncated.rb +24 -24
  546. data/lib/sunshine-conversations-client/models/user_update_body.rb +29 -24
  547. data/lib/sunshine-conversations-client/models/user_update_event.rb +25 -26
  548. data/lib/sunshine-conversations-client/models/user_update_event_all_of_payload.rb +24 -24
  549. data/lib/sunshine-conversations-client/models/viber.rb +69 -48
  550. data/lib/sunshine-conversations-client/models/viber_update.rb +74 -32
  551. data/lib/sunshine-conversations-client/models/web.rb +75 -48
  552. data/lib/sunshine-conversations-client/models/web_update.rb +31 -26
  553. data/lib/sunshine-conversations-client/models/webhook.rb +27 -24
  554. data/lib/sunshine-conversations-client/models/webhook_body.rb +27 -24
  555. data/lib/sunshine-conversations-client/models/webhook_create_body.rb +84 -32
  556. data/lib/sunshine-conversations-client/models/webhook_list_response.rb +26 -23
  557. data/lib/sunshine-conversations-client/models/webhook_response.rb +23 -23
  558. data/lib/sunshine-conversations-client/models/webhook_sub_schema.rb +24 -24
  559. data/lib/sunshine-conversations-client/models/webview.rb +27 -24
  560. data/lib/sunshine-conversations-client/models/whats_app_conversion_events_body.rb +23 -23
  561. data/lib/sunshine-conversations-client/models/whats_app_update.rb +25 -26
  562. data/lib/sunshine-conversations-client/models/whatsapp.rb +70 -49
  563. data/lib/sunshine-conversations-client/version.rb +3 -3
  564. data/lib/sunshine-conversations-client.rb +11 -63
  565. data/spec/spec_helper.rb +2 -2
  566. data/sunshine-conversations-client.gemspec +5 -5
  567. metadata +21 -149
  568. data/docs/ActivityAllOf.md +0 -19
  569. data/docs/ActivityPostAllOf.md +0 -17
  570. data/docs/AndroidAllOf.md +0 -33
  571. data/docs/AndroidUpdateAllOf.md +0 -29
  572. data/docs/AppleAllOf.md +0 -25
  573. data/docs/AppleUpdateAllOf.md +0 -17
  574. data/docs/AttachmentUploadBody.md +0 -17
  575. data/docs/ClientAddEventAllOf.md +0 -17
  576. data/docs/ClientRemoveEventAllOf.md +0 -17
  577. data/docs/ClientUpdateEventAllOf.md +0 -17
  578. data/docs/ConversationAllOf.md +0 -29
  579. data/docs/ConversationCreateEventAllOf.md +0 -17
  580. data/docs/ConversationJoinEventAllOf.md +0 -17
  581. data/docs/ConversationLeaveEventAllOf.md +0 -17
  582. data/docs/ConversationMessageDeliveryChannelEventAllOf.md +0 -17
  583. data/docs/ConversationMessageDeliveryFailureEventAllOf.md +0 -17
  584. data/docs/ConversationMessageDeliveryPayloadExternalMessages.md +0 -17
  585. data/docs/ConversationMessageEventAllOf.md +0 -17
  586. data/docs/ConversationPostbackEventAllOf.md +0 -17
  587. data/docs/ConversationReadEventAllOf.md +0 -17
  588. data/docs/ConversationReferralEventAllOf.md +0 -17
  589. data/docs/ConversationRemoveEventAllOf.md +0 -17
  590. data/docs/ConversationTypingEventAllOf.md +0 -17
  591. data/docs/CustomAllOf.md +0 -19
  592. data/docs/DownloadMessageRefBodyAllOf.md +0 -19
  593. data/docs/FormMessageFieldAllOf.md +0 -23
  594. data/docs/FormResponseMessageFieldAllOf.md +0 -17
  595. data/docs/InlineObject.md +0 -23
  596. data/docs/InstagramAllOf.md +0 -35
  597. data/docs/InstagramUpdateAllOf.md +0 -17
  598. data/docs/IosAllOf.md +0 -31
  599. data/docs/IosUpdateAllOf.md +0 -27
  600. data/docs/LineAllOf.md +0 -31
  601. data/docs/MailgunAllOf.md +0 -27
  602. data/docs/MailgunUpdateAllOf.md +0 -19
  603. data/docs/MatchCriteriaMailgunAllOf.md +0 -21
  604. data/docs/MatchCriteriaMessagebirdAllOf.md +0 -19
  605. data/docs/MatchCriteriaTwilioAllOf.md +0 -19
  606. data/docs/MatchCriteriaWhatsappAllOf.md +0 -19
  607. data/docs/MessagebirdAllOf.md +0 -25
  608. data/docs/MessengerAllOf.md +0 -27
  609. data/docs/SourceWithCampaignWebhookAllOf.md +0 -17
  610. data/docs/SwitchboardAcceptControlAllOf.md +0 -17
  611. data/docs/SwitchboardAcceptControlFailureAllOf.md +0 -17
  612. data/docs/SwitchboardOfferControlAllOf.md +0 -17
  613. data/docs/SwitchboardPassControlAllOf.md +0 -17
  614. data/docs/SwitchboardReleaseControlAllOf.md +0 -17
  615. data/docs/TelegramAllOf.md +0 -23
  616. data/docs/TwilioAllOf.md +0 -25
  617. data/docs/TwitterAllOf.md +0 -29
  618. data/docs/UnityAllOf.md +0 -23
  619. data/docs/UnityUpdateAllOf.md +0 -19
  620. data/docs/UserAllOf.md +0 -25
  621. data/docs/UserMergeEventAllOf.md +0 -17
  622. data/docs/UserRemoveEventAllOf.md +0 -17
  623. data/docs/UserUpdateEventAllOf.md +0 -17
  624. data/docs/ViberAllOf.md +0 -23
  625. data/docs/WebAllOf.md +0 -51
  626. data/docs/WebUpdateAllOf.md +0 -47
  627. data/docs/WhatsAppUpdateAllOf.md +0 -21
  628. data/docs/WhatsappAllOf.md +0 -25
  629. data/lib/sunshine-conversations-client/models/activity_post_all_of.rb +0 -204
  630. data/lib/sunshine-conversations-client/models/android_all_of.rb +0 -366
  631. data/lib/sunshine-conversations-client/models/android_update_all_of.rb +0 -344
  632. data/lib/sunshine-conversations-client/models/apple_update_all_of.rb +0 -219
  633. data/lib/sunshine-conversations-client/models/attachment_upload_body.rb +0 -208
  634. data/lib/sunshine-conversations-client/models/client_add_event_all_of.rb +0 -203
  635. data/lib/sunshine-conversations-client/models/client_remove_event_all_of.rb +0 -203
  636. data/lib/sunshine-conversations-client/models/client_update_event_all_of.rb +0 -203
  637. data/lib/sunshine-conversations-client/models/conversation_all_of.rb +0 -316
  638. data/lib/sunshine-conversations-client/models/conversation_create_event_all_of.rb +0 -203
  639. data/lib/sunshine-conversations-client/models/conversation_join_event_all_of.rb +0 -203
  640. data/lib/sunshine-conversations-client/models/conversation_leave_event_all_of.rb +0 -203
  641. data/lib/sunshine-conversations-client/models/conversation_message_event_all_of.rb +0 -203
  642. data/lib/sunshine-conversations-client/models/conversation_postback_event_all_of.rb +0 -203
  643. data/lib/sunshine-conversations-client/models/conversation_read_event_all_of.rb +0 -203
  644. data/lib/sunshine-conversations-client/models/conversation_referral_event_all_of.rb +0 -203
  645. data/lib/sunshine-conversations-client/models/conversation_remove_event_all_of.rb +0 -203
  646. data/lib/sunshine-conversations-client/models/conversation_typing_event_all_of.rb +0 -203
  647. data/lib/sunshine-conversations-client/models/download_message_ref_body_all_of.rb +0 -213
  648. data/lib/sunshine-conversations-client/models/form_message_field_all_of.rb +0 -310
  649. data/lib/sunshine-conversations-client/models/form_response_message_field_all_of.rb +0 -205
  650. data/lib/sunshine-conversations-client/models/instagram_all_of.rb +0 -303
  651. data/lib/sunshine-conversations-client/models/instagram_update_all_of.rb +0 -204
  652. data/lib/sunshine-conversations-client/models/ios_all_of.rb +0 -292
  653. data/lib/sunshine-conversations-client/models/ios_update_all_of.rb +0 -270
  654. data/lib/sunshine-conversations-client/models/line_all_of.rb +0 -291
  655. data/lib/sunshine-conversations-client/models/mailgun_all_of.rb +0 -336
  656. data/lib/sunshine-conversations-client/models/mailgun_update_all_of.rb +0 -230
  657. data/lib/sunshine-conversations-client/models/match_criteria_mailgun_all_of.rb +0 -234
  658. data/lib/sunshine-conversations-client/models/match_criteria_messagebird_all_of.rb +0 -222
  659. data/lib/sunshine-conversations-client/models/match_criteria_twilio_all_of.rb +0 -222
  660. data/lib/sunshine-conversations-client/models/match_criteria_whatsapp_all_of.rb +0 -222
  661. data/lib/sunshine-conversations-client/models/messagebird_all_of.rb +0 -302
  662. data/lib/sunshine-conversations-client/models/messenger_all_of.rb +0 -263
  663. data/lib/sunshine-conversations-client/models/source_with_campaign_webhook_all_of.rb +0 -204
  664. data/lib/sunshine-conversations-client/models/switchboard_accept_control_all_of.rb +0 -203
  665. data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure_all_of.rb +0 -203
  666. data/lib/sunshine-conversations-client/models/switchboard_offer_control_all_of.rb +0 -203
  667. data/lib/sunshine-conversations-client/models/switchboard_pass_control_all_of.rb +0 -203
  668. data/lib/sunshine-conversations-client/models/switchboard_release_control_all_of.rb +0 -203
  669. data/lib/sunshine-conversations-client/models/telegram_all_of.rb +0 -252
  670. data/lib/sunshine-conversations-client/models/twilio_all_of.rb +0 -297
  671. data/lib/sunshine-conversations-client/models/twitter_all_of.rb +0 -400
  672. data/lib/sunshine-conversations-client/models/unity_all_of.rb +0 -236
  673. data/lib/sunshine-conversations-client/models/unity_update_all_of.rb +0 -214
  674. data/lib/sunshine-conversations-client/models/user_all_of.rb +0 -239
  675. data/lib/sunshine-conversations-client/models/user_remove_event_all_of.rb +0 -203
  676. data/lib/sunshine-conversations-client/models/user_update_event_all_of.rb +0 -203
  677. data/lib/sunshine-conversations-client/models/web_all_of.rb +0 -391
  678. data/lib/sunshine-conversations-client/models/web_update_all_of.rb +0 -370
  679. data/lib/sunshine-conversations-client/models/whats_app_update_all_of.rb +0 -229
  680. data/lib/sunshine-conversations-client/models/whatsapp_all_of.rb +0 -252
  681. data/spec/api_client_spec.rb +0 -223
  682. data/spec/configuration_spec.rb +0 -39
@@ -1,83 +1,77 @@
1
1
  # SunshineConversationsClient::IntegrationUpdate
2
2
 
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **display_name** | **String** | A human-friendly name used to identify the integration. `displayName` can be unset by changing it to `null`. | [optional]
8
- **default_responder_id** | **String** | The default responder ID for the integration. This is the ID of the responder that will be used to send messages to the user. For more information, refer to the <a href=\"https://developer.zendesk.com/documentation/conversations/messaging-platform/programmable-conversations/switchboard/#default-integration-assignment\">Switchboard guide</a>. | [optional]
9
- **project_id** | **String** | Your project ID from your generated private key file. | [optional]
10
- **client_email** | **String** | Your client email from your generated private key file. | [optional]
11
- **private_key** | **String** | Your private key from your generated private key file. | [optional]
12
- **server_key** | **String** | Your server key from the fcm console. | [optional]
13
- **sender_id** | **String** | Your sender id from the fcm console. | [optional]
14
- **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]
15
- **can_user_create_more_conversations** | **Boolean** | Allows users to create more than one conversation on the web messenger integration. | [optional]
16
- **authentication_message_secret** | **String** | A secret used to create the state value when sending Apple authentication 2.0 messages | [optional]
17
- **page_access_token** | **String** | A Facebook Page Access Token. | [optional]
18
- **certificate** | **String** | The binary of your APN certificate base64 encoded. | [optional]
19
- **password** | **String** | The password for your APN certificate. | [optional]
20
- **production** | **Boolean** | The APN environment to connect to (Production, if true, or Sandbox). Defaults to value inferred from certificate if not specified. | [optional]
21
- **auto_update_badge** | **Boolean** | Use the unread count of the conversation as the application badge. | [optional]
22
- **hide_unsubscribe_link** | **Boolean** | A boolean value indicating whether the unsubscribe link should be omitted from outgoing emails. When enabled, it is expected that the business is providing the user a way to unsubscribe by some other means. By default, the unsubscribe link will be included in all outgoing emails. | [optional]
23
- **from_address** | **String** | Email address to use as the From and Reply-To address if it must be different from incomingAddress. Only use this option if the address that you supply is configured to forward emails to the incomingAddress, otherwise user replies will be lost. You must also make sure that the domain is properly configured as a mail provider so as to not be flagged as spam by the user’s email client. May be unset with null. | [optional]
24
- **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']
25
- **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]
26
- **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']
27
- **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']
28
- **display_style** | **String** | Choose how the messenger will appear on your website. Must be either button or tab. | [optional] [default to 'button']
29
- **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]
30
- **button_width** | **String** | With the button style Web Messenger, you have the option of specifying the button width. | [optional] [default to '58']
31
- **button_height** | **String** | With the button style Web Messenger, you have the option of specifying the button height. | [optional] [default to '58']
32
- **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]
33
- **business_name** | **String** | A custom business name for the Web Messenger. | [optional]
34
- **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]
35
- **background_image_url** | **String** | A background image url for the conversation. Image will be tiled to fit the window. | [optional]
36
- **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]
37
- **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]
38
- **hsm_fallback_language** | **String** | Specify a fallback language to use when sending WhatsApp message template using the short hand syntax. Defaults to en_US. See WhatsApp documentation for more info. | [optional] [default to 'en_US']
39
- **account_id** | **String** | The business ID associated with the WhatsApp account. In combination with accountManagementAccessToken, it’s used for Message Template Reconstruction. | [optional]
40
- **account_management_access_token** | **String** | An access token associated with the accountId used to query the WhatsApp Account Management API. In combination with accountId, it’s used for Message Template Reconstruction. | [optional]
41
-
42
- ## Code Sample
3
+ ## Class instance methods
4
+
5
+ ### `openapi_one_of`
6
+
7
+ Returns the list of classes defined in oneOf.
8
+
9
+ #### Example
43
10
 
44
11
  ```ruby
45
- require 'SunshineConversationsClient'
46
-
47
- instance = SunshineConversationsClient::IntegrationUpdate.new(display_name: My awesome integration,
48
- default_responder_id: null,
49
- project_id: <project-id>,
50
- client_email: <client-email>,
51
- private_key: <private-key>,
52
- server_key: <server-key>,
53
- sender_id: <sender-id>,
54
- can_user_see_conversation_list: false,
55
- can_user_create_more_conversations: null,
56
- authentication_message_secret: eH3Ea4329FzUGEsWkjQr1dbD1JDpn5Ygo/kbW0/f8gOQ4eHTr31bjDUcCfv3s9QaAwRgpd4sckdlSXwMOAGHBQ==,
57
- page_access_token: your_access_token,
58
- certificate: your_APN_certificate,
59
- password: your_APN_password,
60
- production: null,
61
- auto_update_badge: null,
62
- hide_unsubscribe_link: null,
63
- from_address: test@sandbox123.mailgun.org,
64
- brand_color: null,
65
- fixed_intro_pane: null,
66
- conversation_color: null,
67
- action_color: null,
68
- display_style: null,
69
- button_icon_url: null,
70
- button_width: null,
71
- button_height: null,
72
- integration_order: ["59fc8466260f48003505228b","59d79780481d34002b7d3617"],
73
- business_name: Kent Shop,
74
- business_icon_url: https://www.gravatar.com/image.jpg,
75
- background_image_url: https://a-beautiful-tile.png,
76
- origin_whitelist: null,
77
- prechat_capture: null,
78
- hsm_fallback_language: null,
79
- account_id: your_whatsApp_account_id,
80
- account_management_access_token: your_access_token)
12
+ require 'sunshine-conversations-client'
13
+
14
+ SunshineConversationsClient::IntegrationUpdate.openapi_one_of
15
+ # =>
16
+ # [
17
+ # :'AndroidUpdate',
18
+ # :'AppleUpdate',
19
+ # :'CustomUpdate',
20
+ # :'InstagramUpdate',
21
+ # :'IosUpdate',
22
+ # :'LineUpdate',
23
+ # :'MailgunUpdate',
24
+ # :'MessageBirdUpdate',
25
+ # :'MessengerUpdate',
26
+ # :'TelegramUpdate',
27
+ # :'TwilioUpdate',
28
+ # :'TwitterUpdate',
29
+ # :'UnityUpdate',
30
+ # :'ViberUpdate',
31
+ # :'WebUpdate',
32
+ # :'WhatsAppUpdate'
33
+ # ]
81
34
  ```
82
35
 
36
+ ### build
37
+
38
+ Find the appropriate object from the `openapi_one_of` list and casts the data into it.
39
+
40
+ #### Example
41
+
42
+ ```ruby
43
+ require 'sunshine-conversations-client'
44
+
45
+ SunshineConversationsClient::IntegrationUpdate.build(data)
46
+ # => #<AndroidUpdate:0x00007fdd4aab02a0>
47
+
48
+ SunshineConversationsClient::IntegrationUpdate.build(data_that_doesnt_match)
49
+ # => nil
50
+ ```
51
+
52
+ #### Parameters
53
+
54
+ | Name | Type | Description |
55
+ | ---- | ---- | ----------- |
56
+ | **data** | **Mixed** | data to be matched against the list of oneOf items |
57
+
58
+ #### Return type
59
+
60
+ - `AndroidUpdate`
61
+ - `AppleUpdate`
62
+ - `CustomUpdate`
63
+ - `InstagramUpdate`
64
+ - `IosUpdate`
65
+ - `LineUpdate`
66
+ - `MailgunUpdate`
67
+ - `MessageBirdUpdate`
68
+ - `MessengerUpdate`
69
+ - `TelegramUpdate`
70
+ - `TwilioUpdate`
71
+ - `TwitterUpdate`
72
+ - `UnityUpdate`
73
+ - `ViberUpdate`
74
+ - `WebUpdate`
75
+ - `WhatsAppUpdate`
76
+ - `nil` (if no type matches)
83
77
 
@@ -2,18 +2,19 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **display_name** | **String** | A human-friendly name used to identify the integration. &#x60;displayName&#x60; can be unset by changing it to &#x60;null&#x60;. | [optional]
8
- **default_responder_id** | **String** | The default responder ID for the integration. This is the ID of the responder that will be used to send messages to the user. For more information, refer to the &lt;a href&#x3D;\&quot;https://developer.zendesk.com/documentation/conversations/messaging-platform/programmable-conversations/switchboard/#default-integration-assignment\&quot;&gt;Switchboard guide&lt;/a&gt;. | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **display_name** | **String** | A human-friendly name used to identify the integration. &#x60;displayName&#x60; can be unset by changing it to &#x60;null&#x60;. | [optional] |
8
+ | **default_responder_id** | **String** | The default responder ID for the integration. This is the ID of the responder that will be used to send messages to the user. For more information, refer to the &lt;a href&#x3D;\&quot;https://developer.zendesk.com/documentation/conversations/messaging-platform/programmable-conversations/switchboard/#default-integration-assignment\&quot;&gt;Switchboard guide&lt;/a&gt;. | [optional] |
9
9
 
10
- ## Code Sample
10
+ ## Example
11
11
 
12
12
  ```ruby
13
- require 'SunshineConversationsClient'
13
+ require 'sunshine-conversations-client'
14
14
 
15
- instance = SunshineConversationsClient::IntegrationUpdateBase.new(display_name: My awesome integration,
16
- default_responder_id: null)
15
+ instance = SunshineConversationsClient::IntegrationUpdateBase.new(
16
+ display_name: My awesome integration,
17
+ default_responder_id: null
18
+ )
17
19
  ```
18
20
 
19
-
@@ -37,8 +37,8 @@ SunshineConversationsClient.configure do |config|
37
37
  end
38
38
 
39
39
  api_instance = SunshineConversationsClient::IntegrationsApi.new
40
- app_id = '5d8cff3cd55b040010928b5b' # String | Identifies the app.
41
- integration = SunshineConversationsClient::Integration.new # Integration |
40
+ app_id = 5d8cff3cd55b040010928b5b # String | Identifies the app.
41
+ integration = # Integration |
42
42
  # Be sure to add the required body parameters
43
43
 
44
44
  begin
@@ -97,8 +97,8 @@ SunshineConversationsClient.configure do |config|
97
97
  end
98
98
 
99
99
  api_instance = SunshineConversationsClient::IntegrationsApi.new
100
- app_id = '5d8cff3cd55b040010928b5b' # String | Identifies the app.
101
- integration_id = '029c31f25a21b47effd7be90' # String | The id of the integration.
100
+ app_id = 5d8cff3cd55b040010928b5b # String | Identifies the app.
101
+ integration_id = 029c31f25a21b47effd7be90 # String | The id of the integration.
102
102
  # Be sure to add the required body parameters
103
103
 
104
104
  begin
@@ -157,8 +157,8 @@ SunshineConversationsClient.configure do |config|
157
157
  end
158
158
 
159
159
  api_instance = SunshineConversationsClient::IntegrationsApi.new
160
- app_id = '5d8cff3cd55b040010928b5b' # String | Identifies the app.
161
- integration_id = '029c31f25a21b47effd7be90' # String | The id of the integration.
160
+ app_id = 5d8cff3cd55b040010928b5b # String | Identifies the app.
161
+ integration_id = 029c31f25a21b47effd7be90 # String | The id of the integration.
162
162
  # Be sure to add the required body parameters
163
163
 
164
164
  begin
@@ -217,11 +217,11 @@ SunshineConversationsClient.configure do |config|
217
217
  end
218
218
 
219
219
  api_instance = SunshineConversationsClient::IntegrationsApi.new
220
- app_id = '5d8cff3cd55b040010928b5b' # String | Identifies the app.
220
+ app_id = 5d8cff3cd55b040010928b5b # String | Identifies the app.
221
221
  # Be sure to add the required body parameters
222
222
  opts = {
223
- page: SunshineConversationsClient::Page.new, # Page | Contains parameters for applying cursor pagination.
224
- filter: SunshineConversationsClient::IntegrationListFilter.new # IntegrationListFilter | Contains parameters for filtering the results.
223
+ page: , # Page | Contains parameters for applying cursor pagination.
224
+ filter: # IntegrationListFilter | Contains parameters for filtering the results.
225
225
  }
226
226
 
227
227
  begin
@@ -281,8 +281,8 @@ SunshineConversationsClient.configure do |config|
281
281
  end
282
282
 
283
283
  api_instance = SunshineConversationsClient::IntegrationsApi.new
284
- app_id = '5d8cff3cd55b040010928b5b' # String | Identifies the app.
285
- integration_id = '029c31f25a21b47effd7be90' # String | The id of the integration.
284
+ app_id = 5d8cff3cd55b040010928b5b # String | Identifies the app.
285
+ integration_id = 029c31f25a21b47effd7be90 # String | The id of the integration.
286
286
  integration_update = {"displayName":"My Test Integration"} # IntegrationUpdate |
287
287
  # Be sure to add the required body parameters
288
288
 
data/docs/Ios.md CHANGED
@@ -2,34 +2,35 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | To configure an ios integration, call the create integration endpoint with a base64 encoded Apple Push Notification certificate from the [Apple Developer Portal](https://developer.apple.com/). | [optional] [default to &#39;ios&#39;]
8
- **certificate** | **String** | The binary of your APN certificate base64 encoded. To base64 encode your certificate you can use this command in the terminal: &#x60;openssl base64 -in YOUR_CERTIFICATE.p12 | tr -d &#39;\\n&#39;&#x60; | [optional]
9
- **password** | **String** | The password for your APN certificate. | [optional]
10
- **production** | **Boolean** | The APN environment to connect to (Production, if true, or Sandbox). Defaults to value inferred from certificate if not specified. | [optional]
11
- **auto_update_badge** | **Boolean** | Use the unread count of the conversation as the application badge. | [optional]
12
- **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 &#x60;settings.multiConvoEnabled&#x60; is set to &#x60;true&#x60;*. | [optional]
13
- **can_user_create_more_conversations** | **Boolean** | Allows users to create more than one conversation on the iOS integration. | [optional]
14
- **attachments_enabled** | **Boolean** | Allows users to send attachments. By default, the setting is set to true. This setting can only be configured in Zendesk Admin Center. | [optional] [readonly]
15
- **default_responder_id** | **String** | The default responder ID for the integration. This is the ID of the responder that will be used to send messages to the user. For more information, refer to the &lt;a href&#x3D;\&quot;https://developer.zendesk.com/documentation/conversations/messaging-platform/programmable-conversations/switchboard/#default-integration-assignment\&quot;&gt;Switchboard guide&lt;/a&gt;. | [optional]
16
- **default_responder** | [**DefaultResponderDefaultResponder**](DefaultResponderDefaultResponder.md) | | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **default_responder_id** | **String** | The default responder ID for the integration. This is the ID of the responder that will be used to send messages to the user. For more information, refer to the &lt;a href&#x3D;\&quot;https://developer.zendesk.com/documentation/conversations/messaging-platform/programmable-conversations/switchboard/#default-integration-assignment\&quot;&gt;Switchboard guide&lt;/a&gt;. | [optional] |
8
+ | **default_responder** | [**DefaultResponderDefaultResponder**](DefaultResponderDefaultResponder.md) | | [optional] |
9
+ | **type** | **String** | To configure an ios integration, call the create integration endpoint with a base64 encoded Apple Push Notification certificate from the [Apple Developer Portal](https://developer.apple.com/). | [optional][default to &#39;ios&#39;] |
10
+ | **certificate** | **String** | The binary of your APN certificate base64 encoded. To base64 encode your certificate you can use this command in the terminal: &#x60;openssl base64 -in YOUR_CERTIFICATE.p12 | tr -d &#39;\\n&#39;&#x60; | [optional] |
11
+ | **password** | **String** | The password for your APN certificate. | [optional] |
12
+ | **production** | **Boolean** | The APN environment to connect to (Production, if true, or Sandbox). Defaults to value inferred from certificate if not specified. | [optional] |
13
+ | **auto_update_badge** | **Boolean** | Use the unread count of the conversation as the application badge. | [optional] |
14
+ | **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 &#x60;settings.multiConvoEnabled&#x60; is set to &#x60;true&#x60;*. | [optional] |
15
+ | **can_user_create_more_conversations** | **Boolean** | Allows users to create more than one conversation on the iOS integration. | [optional] |
16
+ | **attachments_enabled** | **Boolean** | Allows users to send attachments. By default, the setting is set to true. This setting can only be configured in Zendesk Admin Center. | [optional][readonly] |
17
17
 
18
- ## Code Sample
18
+ ## Example
19
19
 
20
20
  ```ruby
21
- require 'SunshineConversationsClient'
21
+ require 'sunshine-conversations-client'
22
22
 
23
- instance = SunshineConversationsClient::Ios.new(type: null,
24
- certificate: your_APN_certificate,
25
- password: your_APN_password,
26
- production: null,
27
- auto_update_badge: null,
28
- can_user_see_conversation_list: false,
29
- can_user_create_more_conversations: null,
30
- attachments_enabled: null,
31
- default_responder_id: null,
32
- default_responder: null)
23
+ instance = SunshineConversationsClient::Ios.new(
24
+ default_responder_id: null,
25
+ default_responder: null,
26
+ type: null,
27
+ certificate: your_APN_certificate,
28
+ password: your_APN_password,
29
+ production: null,
30
+ auto_update_badge: null,
31
+ can_user_see_conversation_list: false,
32
+ can_user_create_more_conversations: null,
33
+ attachments_enabled: null
34
+ )
33
35
  ```
34
36
 
35
-
data/docs/IosUpdate.md CHANGED
@@ -2,30 +2,31 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **display_name** | **String** | A human-friendly name used to identify the integration. &#x60;displayName&#x60; can be unset by changing it to &#x60;null&#x60;. | [optional]
8
- **default_responder_id** | **String** | The default responder ID for the integration. This is the ID of the responder that will be used to send messages to the user. For more information, refer to the &lt;a href&#x3D;\&quot;https://developer.zendesk.com/documentation/conversations/messaging-platform/programmable-conversations/switchboard/#default-integration-assignment\&quot;&gt;Switchboard guide&lt;/a&gt;. | [optional]
9
- **certificate** | **String** | The binary of your APN certificate base64 encoded. | [optional]
10
- **password** | **String** | The password for your APN certificate. | [optional]
11
- **production** | **Boolean** | The APN environment to connect to (Production, if true, or Sandbox). Defaults to value inferred from certificate if not specified. | [optional]
12
- **auto_update_badge** | **Boolean** | Use the unread count of the conversation as the application badge. | [optional]
13
- **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 &#x60;settings.multiConvoEnabled&#x60; is set to &#x60;true&#x60;*. | [optional]
14
- **can_user_create_more_conversations** | **Boolean** | Allows users to create more than one conversation on the iOS integration. | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **display_name** | **String** | A human-friendly name used to identify the integration. &#x60;displayName&#x60; can be unset by changing it to &#x60;null&#x60;. | [optional] |
8
+ | **default_responder_id** | **String** | The default responder ID for the integration. This is the ID of the responder that will be used to send messages to the user. For more information, refer to the &lt;a href&#x3D;\&quot;https://developer.zendesk.com/documentation/conversations/messaging-platform/programmable-conversations/switchboard/#default-integration-assignment\&quot;&gt;Switchboard guide&lt;/a&gt;. | [optional] |
9
+ | **certificate** | **String** | The binary of your APN certificate base64 encoded. | [optional] |
10
+ | **password** | **String** | The password for your APN certificate. | [optional] |
11
+ | **production** | **Boolean** | The APN environment to connect to (Production, if true, or Sandbox). Defaults to value inferred from certificate if not specified. | [optional] |
12
+ | **auto_update_badge** | **Boolean** | Use the unread count of the conversation as the application badge. | [optional] |
13
+ | **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 &#x60;settings.multiConvoEnabled&#x60; is set to &#x60;true&#x60;*. | [optional] |
14
+ | **can_user_create_more_conversations** | **Boolean** | Allows users to create more than one conversation on the iOS integration. | [optional] |
15
15
 
16
- ## Code Sample
16
+ ## Example
17
17
 
18
18
  ```ruby
19
- require 'SunshineConversationsClient'
19
+ require 'sunshine-conversations-client'
20
20
 
21
- instance = SunshineConversationsClient::IosUpdate.new(display_name: My awesome integration,
22
- default_responder_id: null,
23
- certificate: your_APN_certificate,
24
- password: your_APN_password,
25
- production: null,
26
- auto_update_badge: null,
27
- can_user_see_conversation_list: false,
28
- can_user_create_more_conversations: null)
21
+ instance = SunshineConversationsClient::IosUpdate.new(
22
+ display_name: My awesome integration,
23
+ default_responder_id: null,
24
+ certificate: your_APN_certificate,
25
+ password: your_APN_password,
26
+ production: null,
27
+ auto_update_badge: null,
28
+ can_user_see_conversation_list: false,
29
+ can_user_create_more_conversations: null
30
+ )
29
31
  ```
30
32
 
31
-
data/docs/Item.md CHANGED
@@ -2,30 +2,31 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **title** | **String** | The title of the item. |
8
- **description** | **String** | The description of the item. | [optional]
9
- **media_url** | **String** | The image url attached to the item. | [optional]
10
- **media_type** | **String** | The MIME type for any image attached in the mediaUrl. | [optional]
11
- **alt_text** | **String** | An optional description of the media for accessibility purposes. The field will be saved by default with the file name as the value. | [optional]
12
- **size** | **String** | The size of the image. | [optional]
13
- **actions** | [**Array&lt;ActionSubset&gt;**](ActionSubset.md) | An array of objects representing the actions associated with the item. |
14
- **metadata** | **Hash&lt;String, Object&gt;** | 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]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **title** | **String** | The title of the item. | |
8
+ | **description** | **String** | The description of the item. | [optional] |
9
+ | **media_url** | **String** | The image url attached to the item. | [optional] |
10
+ | **media_type** | **String** | The MIME type for any image attached in the mediaUrl. | [optional] |
11
+ | **alt_text** | **String** | An optional description of the media for accessibility purposes. The field will be saved by default with the file name as the value. | [optional] |
12
+ | **size** | **String** | The size of the image. | [optional] |
13
+ | **actions** | [**Array&lt;ActionSubset&gt;**](ActionSubset.md) | An array of objects representing the actions associated with the item. | |
14
+ | **metadata** | **Hash&lt;String, Object&gt;** | 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] |
15
15
 
16
- ## Code Sample
16
+ ## Example
17
17
 
18
18
  ```ruby
19
- require 'SunshineConversationsClient'
19
+ require 'sunshine-conversations-client'
20
20
 
21
- instance = SunshineConversationsClient::Item.new(title: null,
22
- description: null,
23
- media_url: null,
24
- media_type: null,
25
- alt_text: null,
26
- size: null,
27
- actions: null,
28
- metadata: {&quot;lang&quot;:&quot;en-ca&quot;})
21
+ instance = SunshineConversationsClient::Item.new(
22
+ title: null,
23
+ description: null,
24
+ media_url: null,
25
+ media_type: null,
26
+ alt_text: null,
27
+ size: null,
28
+ actions: null,
29
+ metadata: {&quot;lang&quot;:&quot;en-ca&quot;}
30
+ )
29
31
  ```
30
32
 
31
-
data/docs/Line.md CHANGED
@@ -2,34 +2,35 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | For LINE, each of your customers will need to manually configure a webhook in their LINE configuration page that will point to Sunshine Conversations servers. You must instruct your customers how to configure this manually on their LINE bot page. Once you’ve acquired all the required information, call the Create Integration endpoint. Then, using the returned integration _id, your customer must set the Callback URL field in their LINE Business Center page. The URL should look like the following: &#x60;https://app.smooch.io:443/api/line/webhooks/{appId}/{integrationId}&#x60;. | [optional] [default to &#39;line&#39;]
8
- **channel_id** | **String** | LINE Channel ID. Can be omitted along with &#x60;channelSecret&#x60; to integrate LINE to setup a webhook before receiving the &#x60;channelId&#x60; and &#x60;channelSecret&#x60; back from LINE. | [optional]
9
- **channel_secret** | **String** | LINE Channel Secret. Can be omitted along with &#x60;channelId&#x60; to integrate LINE to setup a webhook before receiving the &#x60;channelId&#x60; and &#x60;channelSecret&#x60; back from LINE. | [optional]
10
- **channel_access_token** | **String** | LINE Channel Access Token. | [optional]
11
- **service_code** | **String** | LINE Service Code. | [optional]
12
- **switcher_secret** | **String** | LINE Switcher Secret. | [optional]
13
- **qr_code_url** | **String** | URL provided by LINE in the [Developer Console](https://developers.line.biz/console/). | [optional]
14
- **line_id** | **String** | LINE Basic ID. Is automatically set when qrCodeUrl is updated. | [optional] [readonly]
15
- **default_responder_id** | **String** | The default responder ID for the integration. This is the ID of the responder that will be used to send messages to the user. For more information, refer to the &lt;a href&#x3D;\&quot;https://developer.zendesk.com/documentation/conversations/messaging-platform/programmable-conversations/switchboard/#default-integration-assignment\&quot;&gt;Switchboard guide&lt;/a&gt;. | [optional]
16
- **default_responder** | [**DefaultResponderDefaultResponder**](DefaultResponderDefaultResponder.md) | | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **default_responder_id** | **String** | The default responder ID for the integration. This is the ID of the responder that will be used to send messages to the user. For more information, refer to the &lt;a href&#x3D;\&quot;https://developer.zendesk.com/documentation/conversations/messaging-platform/programmable-conversations/switchboard/#default-integration-assignment\&quot;&gt;Switchboard guide&lt;/a&gt;. | [optional] |
8
+ | **default_responder** | [**DefaultResponderDefaultResponder**](DefaultResponderDefaultResponder.md) | | [optional] |
9
+ | **type** | **String** | For LINE, each of your customers will need to manually configure a webhook in their LINE configuration page that will point to Sunshine Conversations servers. You must instruct your customers how to configure this manually on their LINE bot page. Once you’ve acquired all the required information, call the Create Integration endpoint. Then, using the returned integration _id, your customer must set the Callback URL field in their LINE Business Center page. The URL should look like the following: &#x60;https://app.smooch.io:443/api/line/webhooks/{appId}/{integrationId}&#x60;. | [optional][default to &#39;line&#39;] |
10
+ | **channel_id** | **String** | LINE Channel ID. Can be omitted along with &#x60;channelSecret&#x60; to integrate LINE to setup a webhook before receiving the &#x60;channelId&#x60; and &#x60;channelSecret&#x60; back from LINE. | [optional] |
11
+ | **channel_secret** | **String** | LINE Channel Secret. Can be omitted along with &#x60;channelId&#x60; to integrate LINE to setup a webhook before receiving the &#x60;channelId&#x60; and &#x60;channelSecret&#x60; back from LINE. | [optional] |
12
+ | **channel_access_token** | **String** | LINE Channel Access Token. | [optional] |
13
+ | **service_code** | **String** | LINE Service Code. | [optional] |
14
+ | **switcher_secret** | **String** | LINE Switcher Secret. | [optional] |
15
+ | **qr_code_url** | **String** | URL provided by LINE in the [Developer Console](https://developers.line.biz/console/). | [optional] |
16
+ | **line_id** | **String** | LINE Basic ID. Is automatically set when qrCodeUrl is updated. | [optional][readonly] |
17
17
 
18
- ## Code Sample
18
+ ## Example
19
19
 
20
20
  ```ruby
21
- require 'SunshineConversationsClient'
21
+ require 'sunshine-conversations-client'
22
22
 
23
- instance = SunshineConversationsClient::Line.new(type: null,
24
- channel_id: 1286564967,
25
- channel_secret: your_line_channel_secret,
26
- channel_access_token: your_line_channel_token,
27
- service_code: your_line_service_code,
28
- switcher_secret: your_line_switcher_secret,
29
- qr_code_url: https://qr-official.line.me/M/1O4fb8.png,
30
- line_id: 104fb8,
31
- default_responder_id: null,
32
- default_responder: null)
23
+ instance = SunshineConversationsClient::Line.new(
24
+ default_responder_id: null,
25
+ default_responder: null,
26
+ type: null,
27
+ channel_id: 1286564967,
28
+ channel_secret: your_line_channel_secret,
29
+ channel_access_token: your_line_channel_token,
30
+ service_code: your_line_service_code,
31
+ switcher_secret: your_line_switcher_secret,
32
+ qr_code_url: https://qr-official.line.me/M/1O4fb8.png,
33
+ line_id: 104fb8
34
+ )
33
35
  ```
34
36
 
35
-
data/docs/LineUpdate.md CHANGED
@@ -2,15 +2,19 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **display_name** | **String** | A human-friendly name used to identify the integration. &#x60;displayName&#x60; can be unset by changing it to &#x60;null&#x60;. | [optional] |
8
+ | **default_responder_id** | **String** | The default responder ID for the integration. This is the ID of the responder that will be used to send messages to the user. For more information, refer to the &lt;a href&#x3D;\&quot;https://developer.zendesk.com/documentation/conversations/messaging-platform/programmable-conversations/switchboard/#default-integration-assignment\&quot;&gt;Switchboard guide&lt;/a&gt;. | [optional] |
7
9
 
8
- ## Code Sample
10
+ ## Example
9
11
 
10
12
  ```ruby
11
- require 'SunshineConversationsClient'
13
+ require 'sunshine-conversations-client'
12
14
 
13
- instance = SunshineConversationsClient::LineUpdate.new()
15
+ instance = SunshineConversationsClient::LineUpdate.new(
16
+ display_name: My awesome integration,
17
+ default_responder_id: null
18
+ )
14
19
  ```
15
20
 
16
-
data/docs/Link.md CHANGED
@@ -2,26 +2,27 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of action. | [default to &#39;link&#39;]
8
- **uri** | **String** | The action URI. This is the link that will be used in the clients when clicking the button. |
9
- **text** | **String** | The button text. |
10
- **default** | **Boolean** | Boolean value indicating whether the action is the default action for a message item in Facebook Messenger. | [optional]
11
- **metadata** | **Hash&lt;String, Object&gt;** | 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]
12
- **extra_channel_options** | [**ExtraChannelOptions**](ExtraChannelOptions.md) | | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | The type of action. | [default to &#39;link&#39;] |
8
+ | **uri** | **String** | The action URI. This is the link that will be used in the clients when clicking the button. | |
9
+ | **text** | **String** | The button text. | |
10
+ | **default** | **Boolean** | Boolean value indicating whether the action is the default action for a message item in Facebook Messenger. | [optional] |
11
+ | **metadata** | **Hash&lt;String, Object&gt;** | 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] |
12
+ | **extra_channel_options** | [**ExtraChannelOptions**](ExtraChannelOptions.md) | | [optional] |
13
13
 
14
- ## Code Sample
14
+ ## Example
15
15
 
16
16
  ```ruby
17
- require 'SunshineConversationsClient'
17
+ require 'sunshine-conversations-client'
18
18
 
19
- instance = SunshineConversationsClient::Link.new(type: null,
20
- uri: null,
21
- text: null,
22
- default: null,
23
- metadata: {&quot;lang&quot;:&quot;en-ca&quot;},
24
- extra_channel_options: null)
19
+ instance = SunshineConversationsClient::Link.new(
20
+ type: null,
21
+ uri: null,
22
+ text: null,
23
+ default: null,
24
+ metadata: {&quot;lang&quot;:&quot;en-ca&quot;},
25
+ extra_channel_options: null
26
+ )
25
27
  ```
26
28
 
27
-
data/docs/Links.md CHANGED
@@ -2,18 +2,19 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **prev** | **String** | A link to the previous page. Not specified if there are no previous pages. | [optional]
8
- **_next** | **String** | A link to the next page. Not specified if there are no subsequent pages. | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **prev** | **String** | A link to the previous page. Not specified if there are no previous pages. | [optional] |
8
+ | **_next** | **String** | A link to the next page. Not specified if there are no subsequent pages. | [optional] |
9
9
 
10
- ## Code Sample
10
+ ## Example
11
11
 
12
12
  ```ruby
13
- require 'SunshineConversationsClient'
13
+ require 'sunshine-conversations-client'
14
14
 
15
- instance = SunshineConversationsClient::Links.new(prev: https://{subdomain}.zendesk.com/sc/v2/apps?page[before]&#x3D;fcafad804c39a39648004af9,
16
- _next: https://{subdomain}.zendesk.com/sc/v2/apps?page[after]&#x3D;5ea868f862cdd24abf010b38)
15
+ instance = SunshineConversationsClient::Links.new(
16
+ prev: https://{subdomain}.zendesk.com/sc/v2/apps?page[before]&#x3D;fcafad804c39a39648004af9,
17
+ _next: https://{subdomain}.zendesk.com/sc/v2/apps?page[after]&#x3D;5ea868f862cdd24abf010b38
18
+ )
17
19
  ```
18
20
 
19
-