sunshine-conversations-client 12.5.1 → 12.6.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 (349) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG_RB.md +5 -1
  3. data/README.md +9 -5
  4. data/docs/Android.md +5 -1
  5. data/docs/AndroidUpdate.md +2 -0
  6. data/docs/Apple.md +5 -1
  7. data/docs/CustomUpdateAllOf.md +17 -0
  8. data/docs/DefaultResponder.md +17 -0
  9. data/docs/DefaultResponderDefaultResponder.md +33 -0
  10. data/docs/DefaultResponderId.md +17 -0
  11. data/docs/Instagram.md +5 -1
  12. data/docs/InstagramUpdate.md +2 -0
  13. data/docs/IntegrationUpdate.md +2 -0
  14. data/docs/IntegrationUpdateBase.md +3 -1
  15. data/docs/Ios.md +5 -1
  16. data/docs/IosUpdate.md +2 -0
  17. data/docs/Line.md +5 -1
  18. data/docs/Mailgun.md +5 -1
  19. data/docs/MailgunUpdate.md +2 -0
  20. data/docs/Messagebird.md +5 -1
  21. data/docs/Messenger.md +5 -1
  22. data/docs/MessengerUpdate.md +2 -0
  23. data/docs/Telegram.md +5 -1
  24. data/docs/Twilio.md +5 -1
  25. data/docs/Twitter.md +5 -1
  26. data/docs/Unity.md +5 -1
  27. data/docs/UnityUpdate.md +2 -0
  28. data/docs/Viber.md +5 -1
  29. data/docs/Web.md +5 -1
  30. data/docs/WebUpdate.md +2 -0
  31. data/docs/WhatsAppUpdate.md +2 -0
  32. data/docs/Whatsapp.md +5 -1
  33. data/lib/sunshine-conversations-client/api/activities_api.rb +1 -1
  34. data/lib/sunshine-conversations-client/api/app_keys_api.rb +1 -1
  35. data/lib/sunshine-conversations-client/api/apps_api.rb +1 -1
  36. data/lib/sunshine-conversations-client/api/attachments_api.rb +1 -1
  37. data/lib/sunshine-conversations-client/api/clients_api.rb +1 -1
  38. data/lib/sunshine-conversations-client/api/conversations_api.rb +1 -1
  39. data/lib/sunshine-conversations-client/api/custom_integration_api_keys_api.rb +1 -1
  40. data/lib/sunshine-conversations-client/api/devices_api.rb +1 -1
  41. data/lib/sunshine-conversations-client/api/integrations_api.rb +1 -1
  42. data/lib/sunshine-conversations-client/api/messages_api.rb +1 -1
  43. data/lib/sunshine-conversations-client/api/o_auth_endpoints_api.rb +1 -1
  44. data/lib/sunshine-conversations-client/api/participants_api.rb +1 -1
  45. data/lib/sunshine-conversations-client/api/switchboard_actions_api.rb +1 -1
  46. data/lib/sunshine-conversations-client/api/switchboard_integrations_api.rb +1 -1
  47. data/lib/sunshine-conversations-client/api/switchboards_api.rb +1 -1
  48. data/lib/sunshine-conversations-client/api/users_api.rb +1 -1
  49. data/lib/sunshine-conversations-client/api/webhooks_api.rb +1 -1
  50. data/lib/sunshine-conversations-client/api_client.rb +1 -1
  51. data/lib/sunshine-conversations-client/api_error.rb +1 -1
  52. data/lib/sunshine-conversations-client/configuration.rb +1 -1
  53. data/lib/sunshine-conversations-client/models/accept_control_body.rb +1 -1
  54. data/lib/sunshine-conversations-client/models/action.rb +1 -1
  55. data/lib/sunshine-conversations-client/models/action_subset.rb +1 -1
  56. data/lib/sunshine-conversations-client/models/activity.rb +1 -1
  57. data/lib/sunshine-conversations-client/models/activity_all_of.rb +1 -1
  58. data/lib/sunshine-conversations-client/models/activity_post.rb +1 -1
  59. data/lib/sunshine-conversations-client/models/activity_post_all_of.rb +1 -1
  60. data/lib/sunshine-conversations-client/models/activity_types.rb +1 -1
  61. data/lib/sunshine-conversations-client/models/android.rb +27 -5
  62. data/lib/sunshine-conversations-client/models/android_all_of.rb +1 -1
  63. data/lib/sunshine-conversations-client/models/android_update.rb +13 -2
  64. data/lib/sunshine-conversations-client/models/android_update_all_of.rb +1 -1
  65. data/lib/sunshine-conversations-client/models/api_key.rb +1 -1
  66. data/lib/sunshine-conversations-client/models/app.rb +1 -1
  67. data/lib/sunshine-conversations-client/models/app_create_body.rb +1 -1
  68. data/lib/sunshine-conversations-client/models/app_key.rb +1 -1
  69. data/lib/sunshine-conversations-client/models/app_key_create_body.rb +1 -1
  70. data/lib/sunshine-conversations-client/models/app_key_list_response.rb +1 -1
  71. data/lib/sunshine-conversations-client/models/app_key_response.rb +1 -1
  72. data/lib/sunshine-conversations-client/models/app_list_filter.rb +1 -1
  73. data/lib/sunshine-conversations-client/models/app_list_response.rb +1 -1
  74. data/lib/sunshine-conversations-client/models/app_response.rb +1 -1
  75. data/lib/sunshine-conversations-client/models/app_settings.rb +1 -1
  76. data/lib/sunshine-conversations-client/models/app_sub_schema.rb +1 -1
  77. data/lib/sunshine-conversations-client/models/app_update_body.rb +1 -1
  78. data/lib/sunshine-conversations-client/models/apple.rb +27 -5
  79. data/lib/sunshine-conversations-client/models/apple_all_of.rb +1 -1
  80. data/lib/sunshine-conversations-client/models/apple_update.rb +1 -1
  81. data/lib/sunshine-conversations-client/models/attachment_delete_body.rb +1 -1
  82. data/lib/sunshine-conversations-client/models/attachment_media_token_body.rb +1 -1
  83. data/lib/sunshine-conversations-client/models/attachment_media_token_response.rb +1 -1
  84. data/lib/sunshine-conversations-client/models/attachment_response.rb +1 -1
  85. data/lib/sunshine-conversations-client/models/attachment_schema.rb +1 -1
  86. data/lib/sunshine-conversations-client/models/attachment_upload_body.rb +1 -1
  87. data/lib/sunshine-conversations-client/models/author.rb +1 -1
  88. data/lib/sunshine-conversations-client/models/author_webhook.rb +1 -1
  89. data/lib/sunshine-conversations-client/models/buy.rb +1 -1
  90. data/lib/sunshine-conversations-client/models/campaign.rb +1 -1
  91. data/lib/sunshine-conversations-client/models/carousel_message.rb +1 -1
  92. data/lib/sunshine-conversations-client/models/carousel_message_display_settings.rb +1 -1
  93. data/lib/sunshine-conversations-client/models/client.rb +1 -1
  94. data/lib/sunshine-conversations-client/models/client_add_event.rb +1 -1
  95. data/lib/sunshine-conversations-client/models/client_add_event_all_of.rb +1 -1
  96. data/lib/sunshine-conversations-client/models/client_add_event_all_of_payload.rb +1 -1
  97. data/lib/sunshine-conversations-client/models/client_association.rb +1 -1
  98. data/lib/sunshine-conversations-client/models/client_create.rb +1 -1
  99. data/lib/sunshine-conversations-client/models/client_list_response.rb +1 -1
  100. data/lib/sunshine-conversations-client/models/client_remove_event.rb +1 -1
  101. data/lib/sunshine-conversations-client/models/client_remove_event_all_of.rb +1 -1
  102. data/lib/sunshine-conversations-client/models/client_remove_event_all_of_payload.rb +1 -1
  103. data/lib/sunshine-conversations-client/models/client_response.rb +1 -1
  104. data/lib/sunshine-conversations-client/models/client_type.rb +1 -1
  105. data/lib/sunshine-conversations-client/models/client_update_event.rb +1 -1
  106. data/lib/sunshine-conversations-client/models/client_update_event_all_of.rb +1 -1
  107. data/lib/sunshine-conversations-client/models/client_update_event_all_of_payload.rb +1 -1
  108. data/lib/sunshine-conversations-client/models/confirmation.rb +1 -1
  109. data/lib/sunshine-conversations-client/models/content.rb +1 -1
  110. data/lib/sunshine-conversations-client/models/conversation.rb +1 -1
  111. data/lib/sunshine-conversations-client/models/conversation_all_of.rb +1 -1
  112. data/lib/sunshine-conversations-client/models/conversation_create_body.rb +1 -1
  113. data/lib/sunshine-conversations-client/models/conversation_create_event.rb +1 -1
  114. data/lib/sunshine-conversations-client/models/conversation_create_event_all_of.rb +1 -1
  115. data/lib/sunshine-conversations-client/models/conversation_create_event_all_of_payload.rb +1 -1
  116. data/lib/sunshine-conversations-client/models/conversation_join_event.rb +1 -1
  117. data/lib/sunshine-conversations-client/models/conversation_join_event_all_of.rb +1 -1
  118. data/lib/sunshine-conversations-client/models/conversation_join_event_all_of_payload.rb +1 -1
  119. data/lib/sunshine-conversations-client/models/conversation_leave_event.rb +1 -1
  120. data/lib/sunshine-conversations-client/models/conversation_leave_event_all_of.rb +1 -1
  121. data/lib/sunshine-conversations-client/models/conversation_leave_event_all_of_payload.rb +1 -1
  122. data/lib/sunshine-conversations-client/models/conversation_list_filter.rb +1 -1
  123. data/lib/sunshine-conversations-client/models/conversation_list_response.rb +1 -1
  124. data/lib/sunshine-conversations-client/models/conversation_message_delivery_channel_event.rb +1 -1
  125. data/lib/sunshine-conversations-client/models/conversation_message_delivery_channel_event_all_of.rb +1 -1
  126. data/lib/sunshine-conversations-client/models/conversation_message_delivery_failure_event.rb +1 -1
  127. data/lib/sunshine-conversations-client/models/conversation_message_delivery_failure_event_all_of.rb +1 -1
  128. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload.rb +1 -1
  129. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload_destination.rb +1 -1
  130. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload_external_messages.rb +1 -1
  131. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload_message.rb +1 -1
  132. data/lib/sunshine-conversations-client/models/conversation_message_delivery_user_event.rb +1 -1
  133. data/lib/sunshine-conversations-client/models/conversation_message_event.rb +1 -1
  134. data/lib/sunshine-conversations-client/models/conversation_message_event_all_of.rb +1 -1
  135. data/lib/sunshine-conversations-client/models/conversation_message_event_all_of_payload.rb +1 -1
  136. data/lib/sunshine-conversations-client/models/conversation_postback_event.rb +1 -1
  137. data/lib/sunshine-conversations-client/models/conversation_postback_event_all_of.rb +1 -1
  138. data/lib/sunshine-conversations-client/models/conversation_postback_event_all_of_payload.rb +1 -1
  139. data/lib/sunshine-conversations-client/models/conversation_read_event.rb +1 -1
  140. data/lib/sunshine-conversations-client/models/conversation_read_event_all_of.rb +1 -1
  141. data/lib/sunshine-conversations-client/models/conversation_read_event_all_of_payload.rb +1 -1
  142. data/lib/sunshine-conversations-client/models/conversation_referral_event.rb +1 -1
  143. data/lib/sunshine-conversations-client/models/conversation_referral_event_all_of.rb +1 -1
  144. data/lib/sunshine-conversations-client/models/conversation_referral_event_all_of_payload.rb +1 -1
  145. data/lib/sunshine-conversations-client/models/conversation_remove_event.rb +1 -1
  146. data/lib/sunshine-conversations-client/models/conversation_remove_event_all_of.rb +1 -1
  147. data/lib/sunshine-conversations-client/models/conversation_remove_event_all_of_payload.rb +1 -1
  148. data/lib/sunshine-conversations-client/models/conversation_response.rb +1 -1
  149. data/lib/sunshine-conversations-client/models/conversation_truncated.rb +1 -1
  150. data/lib/sunshine-conversations-client/models/conversation_type.rb +1 -1
  151. data/lib/sunshine-conversations-client/models/conversation_typing_event.rb +1 -1
  152. data/lib/sunshine-conversations-client/models/conversation_typing_event_all_of.rb +1 -1
  153. data/lib/sunshine-conversations-client/models/conversation_typing_event_all_of_payload.rb +1 -1
  154. data/lib/sunshine-conversations-client/models/conversation_update_body.rb +1 -1
  155. data/lib/sunshine-conversations-client/models/custom.rb +1 -1
  156. data/lib/sunshine-conversations-client/models/custom_all_of.rb +1 -1
  157. data/lib/sunshine-conversations-client/models/custom_update.rb +3 -3
  158. data/lib/sunshine-conversations-client/models/custom_update_all_of.rb +229 -0
  159. data/lib/sunshine-conversations-client/models/default_responder.rb +203 -0
  160. data/lib/sunshine-conversations-client/models/default_responder_default_responder.rb +285 -0
  161. data/lib/sunshine-conversations-client/models/default_responder_id.rb +205 -0
  162. data/lib/sunshine-conversations-client/models/destination.rb +1 -1
  163. data/lib/sunshine-conversations-client/models/device.rb +1 -1
  164. data/lib/sunshine-conversations-client/models/device_response.rb +1 -1
  165. data/lib/sunshine-conversations-client/models/event_sub_schema.rb +1 -1
  166. data/lib/sunshine-conversations-client/models/extra_channel_options.rb +1 -1
  167. data/lib/sunshine-conversations-client/models/extra_channel_options_messenger.rb +1 -1
  168. data/lib/sunshine-conversations-client/models/field.rb +1 -1
  169. data/lib/sunshine-conversations-client/models/file_message.rb +1 -1
  170. data/lib/sunshine-conversations-client/models/form_message.rb +1 -1
  171. data/lib/sunshine-conversations-client/models/form_message_field.rb +1 -1
  172. data/lib/sunshine-conversations-client/models/form_message_field_all_of.rb +1 -1
  173. data/lib/sunshine-conversations-client/models/form_response_message.rb +1 -1
  174. data/lib/sunshine-conversations-client/models/form_response_message_field.rb +1 -1
  175. data/lib/sunshine-conversations-client/models/form_response_message_field_all_of.rb +1 -1
  176. data/lib/sunshine-conversations-client/models/identity.rb +1 -1
  177. data/lib/sunshine-conversations-client/models/image_message.rb +1 -1
  178. data/lib/sunshine-conversations-client/models/inline_object.rb +1 -1
  179. data/lib/sunshine-conversations-client/models/instagram.rb +27 -5
  180. data/lib/sunshine-conversations-client/models/instagram_all_of.rb +1 -1
  181. data/lib/sunshine-conversations-client/models/instagram_update.rb +13 -2
  182. data/lib/sunshine-conversations-client/models/instagram_update_all_of.rb +1 -1
  183. data/lib/sunshine-conversations-client/models/integration.rb +1 -1
  184. data/lib/sunshine-conversations-client/models/integration_api_key.rb +1 -1
  185. data/lib/sunshine-conversations-client/models/integration_api_key_list_response.rb +1 -1
  186. data/lib/sunshine-conversations-client/models/integration_api_key_response.rb +1 -1
  187. data/lib/sunshine-conversations-client/models/integration_id.rb +1 -1
  188. data/lib/sunshine-conversations-client/models/integration_list_filter.rb +1 -1
  189. data/lib/sunshine-conversations-client/models/integration_list_response.rb +1 -1
  190. data/lib/sunshine-conversations-client/models/integration_response.rb +1 -1
  191. data/lib/sunshine-conversations-client/models/integration_type.rb +1 -1
  192. data/lib/sunshine-conversations-client/models/integration_update.rb +13 -2
  193. data/lib/sunshine-conversations-client/models/integration_update_base.rb +17 -6
  194. data/lib/sunshine-conversations-client/models/ios.rb +27 -5
  195. data/lib/sunshine-conversations-client/models/ios_all_of.rb +1 -1
  196. data/lib/sunshine-conversations-client/models/ios_update.rb +13 -2
  197. data/lib/sunshine-conversations-client/models/ios_update_all_of.rb +1 -1
  198. data/lib/sunshine-conversations-client/models/item.rb +1 -1
  199. data/lib/sunshine-conversations-client/models/line.rb +27 -5
  200. data/lib/sunshine-conversations-client/models/line_all_of.rb +1 -1
  201. data/lib/sunshine-conversations-client/models/line_update.rb +1 -1
  202. data/lib/sunshine-conversations-client/models/link.rb +1 -1
  203. data/lib/sunshine-conversations-client/models/links.rb +1 -1
  204. data/lib/sunshine-conversations-client/models/list_message.rb +1 -1
  205. data/lib/sunshine-conversations-client/models/location_message.rb +1 -1
  206. data/lib/sunshine-conversations-client/models/location_message_coordinates.rb +1 -1
  207. data/lib/sunshine-conversations-client/models/location_message_location.rb +1 -1
  208. data/lib/sunshine-conversations-client/models/location_request.rb +1 -1
  209. data/lib/sunshine-conversations-client/models/mailgun.rb +28 -6
  210. data/lib/sunshine-conversations-client/models/mailgun_all_of.rb +1 -1
  211. data/lib/sunshine-conversations-client/models/mailgun_update.rb +13 -2
  212. data/lib/sunshine-conversations-client/models/mailgun_update_all_of.rb +1 -1
  213. data/lib/sunshine-conversations-client/models/match_criteria.rb +1 -1
  214. data/lib/sunshine-conversations-client/models/match_criteria_base.rb +1 -1
  215. data/lib/sunshine-conversations-client/models/match_criteria_mailgun.rb +1 -1
  216. data/lib/sunshine-conversations-client/models/match_criteria_mailgun_all_of.rb +1 -1
  217. data/lib/sunshine-conversations-client/models/match_criteria_messagebird.rb +1 -1
  218. data/lib/sunshine-conversations-client/models/match_criteria_messagebird_all_of.rb +1 -1
  219. data/lib/sunshine-conversations-client/models/match_criteria_twilio.rb +1 -1
  220. data/lib/sunshine-conversations-client/models/match_criteria_twilio_all_of.rb +1 -1
  221. data/lib/sunshine-conversations-client/models/match_criteria_whatsapp.rb +1 -1
  222. data/lib/sunshine-conversations-client/models/match_criteria_whatsapp_all_of.rb +1 -1
  223. data/lib/sunshine-conversations-client/models/message.rb +1 -1
  224. data/lib/sunshine-conversations-client/models/message_bird_update.rb +1 -1
  225. data/lib/sunshine-conversations-client/models/message_list_response.rb +1 -1
  226. data/lib/sunshine-conversations-client/models/message_override.rb +1 -1
  227. data/lib/sunshine-conversations-client/models/message_override_apple.rb +1 -1
  228. data/lib/sunshine-conversations-client/models/message_override_line.rb +1 -1
  229. data/lib/sunshine-conversations-client/models/message_override_messenger.rb +1 -1
  230. data/lib/sunshine-conversations-client/models/message_override_payload.rb +1 -1
  231. data/lib/sunshine-conversations-client/models/message_override_whatsapp.rb +1 -1
  232. data/lib/sunshine-conversations-client/models/message_post.rb +1 -1
  233. data/lib/sunshine-conversations-client/models/message_post_response.rb +1 -1
  234. data/lib/sunshine-conversations-client/models/message_webhook.rb +1 -1
  235. data/lib/sunshine-conversations-client/models/messagebird.rb +27 -5
  236. data/lib/sunshine-conversations-client/models/messagebird_all_of.rb +1 -1
  237. data/lib/sunshine-conversations-client/models/messenger.rb +27 -5
  238. data/lib/sunshine-conversations-client/models/messenger_all_of.rb +1 -1
  239. data/lib/sunshine-conversations-client/models/messenger_update.rb +13 -2
  240. data/lib/sunshine-conversations-client/models/meta.rb +1 -1
  241. data/lib/sunshine-conversations-client/models/offer_control_body.rb +1 -1
  242. data/lib/sunshine-conversations-client/models/page.rb +1 -1
  243. data/lib/sunshine-conversations-client/models/participant.rb +1 -1
  244. data/lib/sunshine-conversations-client/models/participant_join_body.rb +1 -1
  245. data/lib/sunshine-conversations-client/models/participant_leave_body.rb +1 -1
  246. data/lib/sunshine-conversations-client/models/participant_leave_body_participant_id.rb +1 -1
  247. data/lib/sunshine-conversations-client/models/participant_leave_body_user_external_id.rb +1 -1
  248. data/lib/sunshine-conversations-client/models/participant_leave_body_user_id.rb +1 -1
  249. data/lib/sunshine-conversations-client/models/participant_list_response.rb +1 -1
  250. data/lib/sunshine-conversations-client/models/participant_response.rb +1 -1
  251. data/lib/sunshine-conversations-client/models/participant_sub_schema.rb +1 -1
  252. data/lib/sunshine-conversations-client/models/participant_with_user_external_id.rb +1 -1
  253. data/lib/sunshine-conversations-client/models/participant_with_user_id.rb +1 -1
  254. data/lib/sunshine-conversations-client/models/pass_control_body.rb +1 -1
  255. data/lib/sunshine-conversations-client/models/postback.rb +1 -1
  256. data/lib/sunshine-conversations-client/models/postback_webhook.rb +1 -1
  257. data/lib/sunshine-conversations-client/models/prechat_capture.rb +1 -1
  258. data/lib/sunshine-conversations-client/models/profile.rb +1 -1
  259. data/lib/sunshine-conversations-client/models/quoted_message.rb +1 -1
  260. data/lib/sunshine-conversations-client/models/quoted_message_external_message_id.rb +1 -1
  261. data/lib/sunshine-conversations-client/models/quoted_message_message.rb +1 -1
  262. data/lib/sunshine-conversations-client/models/referral.rb +1 -1
  263. data/lib/sunshine-conversations-client/models/referral_details.rb +1 -1
  264. data/lib/sunshine-conversations-client/models/reply.rb +1 -1
  265. data/lib/sunshine-conversations-client/models/source.rb +1 -1
  266. data/lib/sunshine-conversations-client/models/source_webhook.rb +1 -1
  267. data/lib/sunshine-conversations-client/models/source_with_campaign_webhook.rb +1 -1
  268. data/lib/sunshine-conversations-client/models/source_with_campaign_webhook_all_of.rb +1 -1
  269. data/lib/sunshine-conversations-client/models/status.rb +1 -1
  270. data/lib/sunshine-conversations-client/models/switchboard.rb +1 -1
  271. data/lib/sunshine-conversations-client/models/switchboard_accept_control.rb +1 -1
  272. data/lib/sunshine-conversations-client/models/switchboard_accept_control_all_of.rb +1 -1
  273. data/lib/sunshine-conversations-client/models/switchboard_accept_control_all_of_payload.rb +1 -1
  274. data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure.rb +1 -1
  275. data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure_all_of.rb +1 -1
  276. data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure_all_of_payload.rb +1 -1
  277. data/lib/sunshine-conversations-client/models/switchboard_integration.rb +1 -1
  278. data/lib/sunshine-conversations-client/models/switchboard_integration_create_body.rb +1 -1
  279. data/lib/sunshine-conversations-client/models/switchboard_integration_list_response.rb +1 -1
  280. data/lib/sunshine-conversations-client/models/switchboard_integration_response.rb +1 -1
  281. data/lib/sunshine-conversations-client/models/switchboard_integration_update_body.rb +1 -1
  282. data/lib/sunshine-conversations-client/models/switchboard_integration_webhook.rb +1 -1
  283. data/lib/sunshine-conversations-client/models/switchboard_list_response.rb +1 -1
  284. data/lib/sunshine-conversations-client/models/switchboard_offer_control.rb +1 -1
  285. data/lib/sunshine-conversations-client/models/switchboard_offer_control_all_of.rb +1 -1
  286. data/lib/sunshine-conversations-client/models/switchboard_offer_control_all_of_payload.rb +1 -1
  287. data/lib/sunshine-conversations-client/models/switchboard_offer_control_failure.rb +1 -1
  288. data/lib/sunshine-conversations-client/models/switchboard_pass_control.rb +1 -1
  289. data/lib/sunshine-conversations-client/models/switchboard_pass_control_all_of.rb +1 -1
  290. data/lib/sunshine-conversations-client/models/switchboard_pass_control_all_of_payload.rb +1 -1
  291. data/lib/sunshine-conversations-client/models/switchboard_pass_control_failure.rb +1 -1
  292. data/lib/sunshine-conversations-client/models/switchboard_response.rb +1 -1
  293. data/lib/sunshine-conversations-client/models/switchboard_update_body.rb +1 -1
  294. data/lib/sunshine-conversations-client/models/target.rb +1 -1
  295. data/lib/sunshine-conversations-client/models/telegram.rb +27 -5
  296. data/lib/sunshine-conversations-client/models/telegram_all_of.rb +1 -1
  297. data/lib/sunshine-conversations-client/models/telegram_update.rb +1 -1
  298. data/lib/sunshine-conversations-client/models/template_message.rb +1 -1
  299. data/lib/sunshine-conversations-client/models/text_message.rb +1 -1
  300. data/lib/sunshine-conversations-client/models/twilio.rb +27 -5
  301. data/lib/sunshine-conversations-client/models/twilio_all_of.rb +1 -1
  302. data/lib/sunshine-conversations-client/models/twilio_update.rb +1 -1
  303. data/lib/sunshine-conversations-client/models/twitter.rb +27 -5
  304. data/lib/sunshine-conversations-client/models/twitter_all_of.rb +1 -1
  305. data/lib/sunshine-conversations-client/models/twitter_update.rb +1 -1
  306. data/lib/sunshine-conversations-client/models/unity.rb +27 -5
  307. data/lib/sunshine-conversations-client/models/unity_all_of.rb +1 -1
  308. data/lib/sunshine-conversations-client/models/unity_update.rb +13 -2
  309. data/lib/sunshine-conversations-client/models/unity_update_all_of.rb +1 -1
  310. data/lib/sunshine-conversations-client/models/user.rb +1 -1
  311. data/lib/sunshine-conversations-client/models/user_all_of.rb +1 -1
  312. data/lib/sunshine-conversations-client/models/user_create_body.rb +1 -1
  313. data/lib/sunshine-conversations-client/models/user_merge_event.rb +1 -1
  314. data/lib/sunshine-conversations-client/models/user_merge_event_all_of.rb +1 -1
  315. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload.rb +1 -1
  316. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload_merged_clients.rb +1 -1
  317. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload_merged_conversations.rb +1 -1
  318. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload_merged_users.rb +1 -1
  319. data/lib/sunshine-conversations-client/models/user_response.rb +1 -1
  320. data/lib/sunshine-conversations-client/models/user_truncated.rb +1 -1
  321. data/lib/sunshine-conversations-client/models/user_update_body.rb +1 -1
  322. data/lib/sunshine-conversations-client/models/user_update_event.rb +1 -1
  323. data/lib/sunshine-conversations-client/models/user_update_event_all_of.rb +1 -1
  324. data/lib/sunshine-conversations-client/models/user_update_event_all_of_payload.rb +1 -1
  325. data/lib/sunshine-conversations-client/models/viber.rb +27 -5
  326. data/lib/sunshine-conversations-client/models/viber_all_of.rb +1 -1
  327. data/lib/sunshine-conversations-client/models/viber_update.rb +1 -1
  328. data/lib/sunshine-conversations-client/models/web.rb +27 -5
  329. data/lib/sunshine-conversations-client/models/web_all_of.rb +1 -1
  330. data/lib/sunshine-conversations-client/models/web_update.rb +13 -2
  331. data/lib/sunshine-conversations-client/models/web_update_all_of.rb +1 -1
  332. data/lib/sunshine-conversations-client/models/webhook.rb +1 -1
  333. data/lib/sunshine-conversations-client/models/webhook_body.rb +1 -1
  334. data/lib/sunshine-conversations-client/models/webhook_create_body.rb +1 -1
  335. data/lib/sunshine-conversations-client/models/webhook_list_response.rb +1 -1
  336. data/lib/sunshine-conversations-client/models/webhook_response.rb +1 -1
  337. data/lib/sunshine-conversations-client/models/webhook_sub_schema.rb +1 -1
  338. data/lib/sunshine-conversations-client/models/webview.rb +1 -1
  339. data/lib/sunshine-conversations-client/models/whats_app_update.rb +13 -2
  340. data/lib/sunshine-conversations-client/models/whats_app_update_all_of.rb +1 -1
  341. data/lib/sunshine-conversations-client/models/whatsapp.rb +28 -6
  342. data/lib/sunshine-conversations-client/models/whatsapp_all_of.rb +1 -1
  343. data/lib/sunshine-conversations-client/version.rb +2 -2
  344. data/lib/sunshine-conversations-client.rb +5 -1
  345. data/spec/api_client_spec.rb +1 -1
  346. data/spec/configuration_spec.rb +1 -1
  347. data/spec/spec_helper.rb +1 -1
  348. data/sunshine-conversations-client.gemspec +1 -1
  349. metadata +10 -2
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -20,12 +20,19 @@ module SunshineConversationsClient
20
20
  # Allows users to send attachments. By default, the setting is set to true. This setting can only be configured in Zendesk Admin Center.
21
21
  attr_accessor :attachments_enabled
22
22
 
23
+ # 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 <a href=\"https://docs.smooch.io/guide/switchboard/#per-channel-default-responder\">Per-channel default responder</a> guide.
24
+ attr_accessor :default_responder_id
25
+
26
+ attr_accessor :default_responder
27
+
23
28
  # Attribute mapping from ruby-style variable name to JSON key.
24
29
  def self.attribute_map
25
30
  {
26
31
  :'type' => :'type',
27
32
  :'can_user_create_more_conversations' => :'canUserCreateMoreConversations',
28
- :'attachments_enabled' => :'attachmentsEnabled'
33
+ :'attachments_enabled' => :'attachmentsEnabled',
34
+ :'default_responder_id' => :'defaultResponderId',
35
+ :'default_responder' => :'defaultResponder'
29
36
  }
30
37
  end
31
38
 
@@ -34,19 +41,24 @@ module SunshineConversationsClient
34
41
  {
35
42
  :'type' => :'String',
36
43
  :'can_user_create_more_conversations' => :'Boolean',
37
- :'attachments_enabled' => :'Boolean'
44
+ :'attachments_enabled' => :'Boolean',
45
+ :'default_responder_id' => :'String',
46
+ :'default_responder' => :'DefaultResponderDefaultResponder'
38
47
  }
39
48
  end
40
49
 
41
50
  # List of attributes with nullable: true
42
51
  def self.openapi_nullable
43
52
  Set.new([
53
+ :'default_responder_id',
44
54
  ])
45
55
  end
46
56
 
47
57
  # List of class defined in allOf (OpenAPI v3)
48
58
  def self.openapi_all_of
49
59
  [
60
+ :'DefaultResponder',
61
+ :'DefaultResponderId',
50
62
  :'Integration',
51
63
  :'UnityAllOf'
52
64
  ]
@@ -83,6 +95,14 @@ module SunshineConversationsClient
83
95
  if attributes.key?(:'attachments_enabled')
84
96
  self.attachments_enabled = attributes[:'attachments_enabled']
85
97
  end
98
+
99
+ if attributes.key?(:'default_responder_id')
100
+ self.default_responder_id = attributes[:'default_responder_id']
101
+ end
102
+
103
+ if attributes.key?(:'default_responder')
104
+ self.default_responder = attributes[:'default_responder']
105
+ end
86
106
  end
87
107
 
88
108
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -105,7 +125,9 @@ module SunshineConversationsClient
105
125
  self.class == o.class &&
106
126
  type == o.type &&
107
127
  can_user_create_more_conversations == o.can_user_create_more_conversations &&
108
- attachments_enabled == o.attachments_enabled && super(o)
128
+ attachments_enabled == o.attachments_enabled &&
129
+ default_responder_id == o.default_responder_id &&
130
+ default_responder == o.default_responder && super(o)
109
131
  end
110
132
 
111
133
  # @see the `==` method
@@ -117,7 +139,7 @@ module SunshineConversationsClient
117
139
  # Calculates hash code according to all attributes.
118
140
  # @return [Integer] Hash code
119
141
  def hash
120
- [type, can_user_create_more_conversations, attachments_enabled].hash
142
+ [type, can_user_create_more_conversations, attachments_enabled, default_responder_id, default_responder].hash
121
143
  end
122
144
 
123
145
  # Builds the object from hash
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -14,6 +14,9 @@ module SunshineConversationsClient
14
14
  # A human-friendly name used to identify the integration. `displayName` can be unset by changing it to `null`.
15
15
  attr_accessor :display_name
16
16
 
17
+ # 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 <a href=\"https://docs.smooch.io/guide/switchboard/#per-channel-default-responder\">Per-channel default responder</a> guide.
18
+ attr_accessor :default_responder_id
19
+
17
20
  # Allows users to create more than one conversation on the Unity integration.
18
21
  attr_accessor :can_user_create_more_conversations
19
22
 
@@ -21,6 +24,7 @@ module SunshineConversationsClient
21
24
  def self.attribute_map
22
25
  {
23
26
  :'display_name' => :'displayName',
27
+ :'default_responder_id' => :'defaultResponderId',
24
28
  :'can_user_create_more_conversations' => :'canUserCreateMoreConversations'
25
29
  }
26
30
  end
@@ -29,6 +33,7 @@ module SunshineConversationsClient
29
33
  def self.openapi_types
30
34
  {
31
35
  :'display_name' => :'String',
36
+ :'default_responder_id' => :'String',
32
37
  :'can_user_create_more_conversations' => :'Boolean'
33
38
  }
34
39
  end
@@ -37,6 +42,7 @@ module SunshineConversationsClient
37
42
  def self.openapi_nullable
38
43
  Set.new([
39
44
  :'display_name',
45
+ :'default_responder_id',
40
46
  ])
41
47
  end
42
48
 
@@ -67,6 +73,10 @@ module SunshineConversationsClient
67
73
  self.display_name = attributes[:'display_name']
68
74
  end
69
75
 
76
+ if attributes.key?(:'default_responder_id')
77
+ self.default_responder_id = attributes[:'default_responder_id']
78
+ end
79
+
70
80
  if attributes.key?(:'can_user_create_more_conversations')
71
81
  self.can_user_create_more_conversations = attributes[:'can_user_create_more_conversations']
72
82
  end
@@ -115,6 +125,7 @@ module SunshineConversationsClient
115
125
  return true if self.equal?(o)
116
126
  self.class == o.class &&
117
127
  display_name == o.display_name &&
128
+ default_responder_id == o.default_responder_id &&
118
129
  can_user_create_more_conversations == o.can_user_create_more_conversations
119
130
  end
120
131
 
@@ -127,7 +138,7 @@ module SunshineConversationsClient
127
138
  # Calculates hash code according to all attributes.
128
139
  # @return [Integer] Hash code
129
140
  def hash
130
- [display_name, can_user_create_more_conversations].hash
141
+ [display_name, default_responder_id, can_user_create_more_conversations].hash
131
142
  end
132
143
 
133
144
  # Builds the object from hash
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -23,13 +23,20 @@ module SunshineConversationsClient
23
23
  # Unique ID of the Viber account.
24
24
  attr_accessor :account_id
25
25
 
26
+ # 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 <a href=\"https://docs.smooch.io/guide/switchboard/#per-channel-default-responder\">Per-channel default responder</a> guide.
27
+ attr_accessor :default_responder_id
28
+
29
+ attr_accessor :default_responder
30
+
26
31
  # Attribute mapping from ruby-style variable name to JSON key.
27
32
  def self.attribute_map
28
33
  {
29
34
  :'type' => :'type',
30
35
  :'token' => :'token',
31
36
  :'uri' => :'uri',
32
- :'account_id' => :'accountId'
37
+ :'account_id' => :'accountId',
38
+ :'default_responder_id' => :'defaultResponderId',
39
+ :'default_responder' => :'defaultResponder'
33
40
  }
34
41
  end
35
42
 
@@ -39,19 +46,24 @@ module SunshineConversationsClient
39
46
  :'type' => :'String',
40
47
  :'token' => :'String',
41
48
  :'uri' => :'String',
42
- :'account_id' => :'String'
49
+ :'account_id' => :'String',
50
+ :'default_responder_id' => :'String',
51
+ :'default_responder' => :'DefaultResponderDefaultResponder'
43
52
  }
44
53
  end
45
54
 
46
55
  # List of attributes with nullable: true
47
56
  def self.openapi_nullable
48
57
  Set.new([
58
+ :'default_responder_id',
49
59
  ])
50
60
  end
51
61
 
52
62
  # List of class defined in allOf (OpenAPI v3)
53
63
  def self.openapi_all_of
54
64
  [
65
+ :'DefaultResponder',
66
+ :'DefaultResponderId',
55
67
  :'Integration',
56
68
  :'ViberAllOf'
57
69
  ]
@@ -92,6 +104,14 @@ module SunshineConversationsClient
92
104
  if attributes.key?(:'account_id')
93
105
  self.account_id = attributes[:'account_id']
94
106
  end
107
+
108
+ if attributes.key?(:'default_responder_id')
109
+ self.default_responder_id = attributes[:'default_responder_id']
110
+ end
111
+
112
+ if attributes.key?(:'default_responder')
113
+ self.default_responder = attributes[:'default_responder']
114
+ end
95
115
  end
96
116
 
97
117
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -139,7 +159,9 @@ module SunshineConversationsClient
139
159
  type == o.type &&
140
160
  token == o.token &&
141
161
  uri == o.uri &&
142
- account_id == o.account_id && super(o)
162
+ account_id == o.account_id &&
163
+ default_responder_id == o.default_responder_id &&
164
+ default_responder == o.default_responder && super(o)
143
165
  end
144
166
 
145
167
  # @see the `==` method
@@ -151,7 +173,7 @@ module SunshineConversationsClient
151
173
  # Calculates hash code according to all attributes.
152
174
  # @return [Integer] Hash code
153
175
  def hash
154
- [type, token, uri, account_id].hash
176
+ [type, token, uri, account_id, default_responder_id, default_responder].hash
155
177
  end
156
178
 
157
179
  # Builds the object from hash
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -65,6 +65,11 @@ module SunshineConversationsClient
65
65
  # Allows users to send attachments. By default, the setting is set to true. This setting can only be configured in Zendesk Admin Center.
66
66
  attr_accessor :attachments_enabled
67
67
 
68
+ # 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 <a href=\"https://docs.smooch.io/guide/switchboard/#per-channel-default-responder\">Per-channel default responder</a> guide.
69
+ attr_accessor :default_responder_id
70
+
71
+ attr_accessor :default_responder
72
+
68
73
  # Attribute mapping from ruby-style variable name to JSON key.
69
74
  def self.attribute_map
70
75
  {
@@ -85,7 +90,9 @@ module SunshineConversationsClient
85
90
  :'prechat_capture' => :'prechatCapture',
86
91
  :'can_user_see_conversation_list' => :'canUserSeeConversationList',
87
92
  :'can_user_create_more_conversations' => :'canUserCreateMoreConversations',
88
- :'attachments_enabled' => :'attachmentsEnabled'
93
+ :'attachments_enabled' => :'attachmentsEnabled',
94
+ :'default_responder_id' => :'defaultResponderId',
95
+ :'default_responder' => :'defaultResponder'
89
96
  }
90
97
  end
91
98
 
@@ -109,7 +116,9 @@ module SunshineConversationsClient
109
116
  :'prechat_capture' => :'PrechatCapture',
110
117
  :'can_user_see_conversation_list' => :'Boolean',
111
118
  :'can_user_create_more_conversations' => :'Boolean',
112
- :'attachments_enabled' => :'Boolean'
119
+ :'attachments_enabled' => :'Boolean',
120
+ :'default_responder_id' => :'String',
121
+ :'default_responder' => :'DefaultResponderDefaultResponder'
113
122
  }
114
123
  end
115
124
 
@@ -119,12 +128,15 @@ module SunshineConversationsClient
119
128
  :'button_icon_url',
120
129
  :'integration_order',
121
130
  :'origin_whitelist',
131
+ :'default_responder_id',
122
132
  ])
123
133
  end
124
134
 
125
135
  # List of class defined in allOf (OpenAPI v3)
126
136
  def self.openapi_all_of
127
137
  [
138
+ :'DefaultResponder',
139
+ :'DefaultResponderId',
128
140
  :'Integration',
129
141
  :'WebAllOf'
130
142
  ]
@@ -233,6 +245,14 @@ module SunshineConversationsClient
233
245
  if attributes.key?(:'attachments_enabled')
234
246
  self.attachments_enabled = attributes[:'attachments_enabled']
235
247
  end
248
+
249
+ if attributes.key?(:'default_responder_id')
250
+ self.default_responder_id = attributes[:'default_responder_id']
251
+ end
252
+
253
+ if attributes.key?(:'default_responder')
254
+ self.default_responder = attributes[:'default_responder']
255
+ end
236
256
  end
237
257
 
238
258
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -270,7 +290,9 @@ module SunshineConversationsClient
270
290
  prechat_capture == o.prechat_capture &&
271
291
  can_user_see_conversation_list == o.can_user_see_conversation_list &&
272
292
  can_user_create_more_conversations == o.can_user_create_more_conversations &&
273
- attachments_enabled == o.attachments_enabled && super(o)
293
+ attachments_enabled == o.attachments_enabled &&
294
+ default_responder_id == o.default_responder_id &&
295
+ default_responder == o.default_responder && super(o)
274
296
  end
275
297
 
276
298
  # @see the `==` method
@@ -282,7 +304,7 @@ module SunshineConversationsClient
282
304
  # Calculates hash code according to all attributes.
283
305
  # @return [Integer] Hash code
284
306
  def hash
285
- [type, brand_color, fixed_intro_pane, conversation_color, action_color, display_style, button_icon_url, button_width, button_height, integration_order, business_name, business_icon_url, background_image_url, origin_whitelist, prechat_capture, can_user_see_conversation_list, can_user_create_more_conversations, attachments_enabled].hash
307
+ [type, brand_color, fixed_intro_pane, conversation_color, action_color, display_style, button_icon_url, button_width, button_height, integration_order, business_name, business_icon_url, background_image_url, origin_whitelist, prechat_capture, can_user_see_conversation_list, can_user_create_more_conversations, attachments_enabled, default_responder_id, default_responder].hash
286
308
  end
287
309
 
288
310
  # Builds the object from hash
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -14,6 +14,9 @@ module SunshineConversationsClient
14
14
  # A human-friendly name used to identify the integration. `displayName` can be unset by changing it to `null`.
15
15
  attr_accessor :display_name
16
16
 
17
+ # 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 <a href=\"https://docs.smooch.io/guide/switchboard/#per-channel-default-responder\">Per-channel default responder</a> guide.
18
+ attr_accessor :default_responder_id
19
+
17
20
  # 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.
18
21
  attr_accessor :brand_color
19
22
 
@@ -63,6 +66,7 @@ module SunshineConversationsClient
63
66
  def self.attribute_map
64
67
  {
65
68
  :'display_name' => :'displayName',
69
+ :'default_responder_id' => :'defaultResponderId',
66
70
  :'brand_color' => :'brandColor',
67
71
  :'fixed_intro_pane' => :'fixedIntroPane',
68
72
  :'conversation_color' => :'conversationColor',
@@ -85,6 +89,7 @@ module SunshineConversationsClient
85
89
  def self.openapi_types
86
90
  {
87
91
  :'display_name' => :'String',
92
+ :'default_responder_id' => :'String',
88
93
  :'brand_color' => :'String',
89
94
  :'fixed_intro_pane' => :'Boolean',
90
95
  :'conversation_color' => :'String',
@@ -107,6 +112,7 @@ module SunshineConversationsClient
107
112
  def self.openapi_nullable
108
113
  Set.new([
109
114
  :'display_name',
115
+ :'default_responder_id',
110
116
  :'button_icon_url',
111
117
  :'integration_order',
112
118
  :'origin_whitelist',
@@ -140,6 +146,10 @@ module SunshineConversationsClient
140
146
  self.display_name = attributes[:'display_name']
141
147
  end
142
148
 
149
+ if attributes.key?(:'default_responder_id')
150
+ self.default_responder_id = attributes[:'default_responder_id']
151
+ end
152
+
143
153
  if attributes.key?(:'brand_color')
144
154
  self.brand_color = attributes[:'brand_color']
145
155
  else
@@ -256,6 +266,7 @@ module SunshineConversationsClient
256
266
  return true if self.equal?(o)
257
267
  self.class == o.class &&
258
268
  display_name == o.display_name &&
269
+ default_responder_id == o.default_responder_id &&
259
270
  brand_color == o.brand_color &&
260
271
  fixed_intro_pane == o.fixed_intro_pane &&
261
272
  conversation_color == o.conversation_color &&
@@ -282,7 +293,7 @@ module SunshineConversationsClient
282
293
  # Calculates hash code according to all attributes.
283
294
  # @return [Integer] Hash code
284
295
  def hash
285
- [display_name, brand_color, fixed_intro_pane, conversation_color, action_color, display_style, button_icon_url, button_width, button_height, integration_order, business_name, business_icon_url, background_image_url, origin_whitelist, prechat_capture, can_user_create_more_conversations].hash
296
+ [display_name, default_responder_id, brand_color, fixed_intro_pane, conversation_color, action_color, display_style, button_icon_url, button_width, button_height, integration_order, business_name, business_icon_url, background_image_url, origin_whitelist, prechat_capture, can_user_create_more_conversations].hash
286
297
  end
287
298
 
288
299
  # Builds the object from hash
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.5.1
4
+ The version of the OpenAPI document: 12.6.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1