sunshine-conversations-client 9.4.1 → 9.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (323) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG_RB.md +15 -0
  3. data/README.md +7 -5
  4. data/docs/Android.md +1 -1
  5. data/docs/AndroidAllOf.md +1 -1
  6. data/docs/Apple.md +1 -1
  7. data/docs/AppleAllOf.md +1 -1
  8. data/docs/Content.md +4 -2
  9. data/docs/Custom.md +1 -1
  10. data/docs/CustomAllOf.md +1 -1
  11. data/docs/Instagram.md +1 -1
  12. data/docs/InstagramAllOf.md +1 -1
  13. data/docs/Integration.md +1 -1
  14. data/docs/Ios.md +1 -1
  15. data/docs/IosAllOf.md +1 -1
  16. data/docs/Line.md +3 -3
  17. data/docs/LineAllOf.md +3 -3
  18. data/docs/Mailgun.md +1 -1
  19. data/docs/MailgunAllOf.md +1 -1
  20. data/docs/MessagePost.md +2 -2
  21. data/docs/Messagebird.md +1 -1
  22. data/docs/MessagebirdAllOf.md +1 -1
  23. data/docs/MessagesApi.md +2 -2
  24. data/docs/Messenger.md +1 -1
  25. data/docs/MessengerAllOf.md +1 -1
  26. data/docs/Page1.md +19 -0
  27. data/docs/Telegram.md +1 -1
  28. data/docs/TelegramAllOf.md +1 -1
  29. data/docs/TemplateMessage.md +19 -0
  30. data/docs/Twilio.md +1 -1
  31. data/docs/TwilioAllOf.md +1 -1
  32. data/docs/Twitter.md +1 -1
  33. data/docs/TwitterAllOf.md +1 -1
  34. data/docs/Viber.md +1 -1
  35. data/docs/ViberAllOf.md +1 -1
  36. data/docs/Web.md +1 -1
  37. data/docs/WebAllOf.md +1 -1
  38. data/docs/Whatsapp.md +4 -2
  39. data/docs/WhatsappAllOf.md +4 -2
  40. data/lib/sunshine-conversations-client.rb +3 -1
  41. data/lib/sunshine-conversations-client/api/activities_api.rb +1 -1
  42. data/lib/sunshine-conversations-client/api/app_keys_api.rb +1 -1
  43. data/lib/sunshine-conversations-client/api/apps_api.rb +1 -1
  44. data/lib/sunshine-conversations-client/api/attachments_api.rb +1 -1
  45. data/lib/sunshine-conversations-client/api/clients_api.rb +1 -1
  46. data/lib/sunshine-conversations-client/api/conversations_api.rb +1 -1
  47. data/lib/sunshine-conversations-client/api/custom_integration_api_keys_api.rb +1 -1
  48. data/lib/sunshine-conversations-client/api/integrations_api.rb +1 -1
  49. data/lib/sunshine-conversations-client/api/messages_api.rb +3 -3
  50. data/lib/sunshine-conversations-client/api/o_auth_endpoints_api.rb +1 -1
  51. data/lib/sunshine-conversations-client/api/participants_api.rb +1 -1
  52. data/lib/sunshine-conversations-client/api/switchboard_actions_api.rb +1 -1
  53. data/lib/sunshine-conversations-client/api/switchboard_integrations_api.rb +1 -1
  54. data/lib/sunshine-conversations-client/api/switchboards_api.rb +1 -1
  55. data/lib/sunshine-conversations-client/api/users_api.rb +1 -1
  56. data/lib/sunshine-conversations-client/api/webhooks_api.rb +1 -1
  57. data/lib/sunshine-conversations-client/api_client.rb +1 -1
  58. data/lib/sunshine-conversations-client/api_error.rb +1 -1
  59. data/lib/sunshine-conversations-client/configuration.rb +1 -1
  60. data/lib/sunshine-conversations-client/models/accept_control_body.rb +1 -1
  61. data/lib/sunshine-conversations-client/models/action.rb +1 -1
  62. data/lib/sunshine-conversations-client/models/action_subset.rb +1 -1
  63. data/lib/sunshine-conversations-client/models/activity.rb +1 -1
  64. data/lib/sunshine-conversations-client/models/activity_all_of.rb +1 -1
  65. data/lib/sunshine-conversations-client/models/activity_post.rb +1 -1
  66. data/lib/sunshine-conversations-client/models/activity_post_all_of.rb +1 -1
  67. data/lib/sunshine-conversations-client/models/activity_types.rb +1 -1
  68. data/lib/sunshine-conversations-client/models/android.rb +2 -2
  69. data/lib/sunshine-conversations-client/models/android_all_of.rb +2 -2
  70. data/lib/sunshine-conversations-client/models/android_update.rb +1 -1
  71. data/lib/sunshine-conversations-client/models/android_update_all_of.rb +1 -1
  72. data/lib/sunshine-conversations-client/models/api_key.rb +1 -1
  73. data/lib/sunshine-conversations-client/models/app.rb +1 -1
  74. data/lib/sunshine-conversations-client/models/app_create_body.rb +1 -1
  75. data/lib/sunshine-conversations-client/models/app_key.rb +1 -1
  76. data/lib/sunshine-conversations-client/models/app_key_create_body.rb +1 -1
  77. data/lib/sunshine-conversations-client/models/app_key_list_response.rb +1 -1
  78. data/lib/sunshine-conversations-client/models/app_key_response.rb +1 -1
  79. data/lib/sunshine-conversations-client/models/app_list_filter.rb +1 -1
  80. data/lib/sunshine-conversations-client/models/app_list_response.rb +1 -1
  81. data/lib/sunshine-conversations-client/models/app_response.rb +1 -1
  82. data/lib/sunshine-conversations-client/models/app_settings.rb +1 -1
  83. data/lib/sunshine-conversations-client/models/app_sub_schema.rb +1 -1
  84. data/lib/sunshine-conversations-client/models/app_update_body.rb +1 -1
  85. data/lib/sunshine-conversations-client/models/apple.rb +2 -2
  86. data/lib/sunshine-conversations-client/models/apple_all_of.rb +2 -3
  87. data/lib/sunshine-conversations-client/models/apple_update.rb +1 -1
  88. data/lib/sunshine-conversations-client/models/attachment_delete_body.rb +1 -1
  89. data/lib/sunshine-conversations-client/models/attachment_media_token_body.rb +1 -1
  90. data/lib/sunshine-conversations-client/models/attachment_media_token_response.rb +1 -1
  91. data/lib/sunshine-conversations-client/models/attachment_response.rb +1 -1
  92. data/lib/sunshine-conversations-client/models/attachment_schema.rb +1 -1
  93. data/lib/sunshine-conversations-client/models/attachment_upload_body.rb +1 -1
  94. data/lib/sunshine-conversations-client/models/author.rb +1 -1
  95. data/lib/sunshine-conversations-client/models/author_webhook.rb +1 -1
  96. data/lib/sunshine-conversations-client/models/buy.rb +1 -1
  97. data/lib/sunshine-conversations-client/models/carousel_message.rb +1 -1
  98. data/lib/sunshine-conversations-client/models/carousel_message_display_settings.rb +1 -1
  99. data/lib/sunshine-conversations-client/models/client.rb +1 -1
  100. data/lib/sunshine-conversations-client/models/client_association.rb +1 -1
  101. data/lib/sunshine-conversations-client/models/client_create.rb +1 -1
  102. data/lib/sunshine-conversations-client/models/client_list_response.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/confirmation.rb +1 -1
  106. data/lib/sunshine-conversations-client/models/content.rb +22 -6
  107. data/lib/sunshine-conversations-client/models/conversation.rb +1 -1
  108. data/lib/sunshine-conversations-client/models/conversation_all_of.rb +1 -1
  109. data/lib/sunshine-conversations-client/models/conversation_create_body.rb +1 -1
  110. data/lib/sunshine-conversations-client/models/conversation_create_event.rb +1 -1
  111. data/lib/sunshine-conversations-client/models/conversation_create_event_all_of.rb +1 -1
  112. data/lib/sunshine-conversations-client/models/conversation_create_event_all_of_payload.rb +1 -1
  113. data/lib/sunshine-conversations-client/models/conversation_join_event.rb +1 -1
  114. data/lib/sunshine-conversations-client/models/conversation_join_event_all_of.rb +1 -1
  115. data/lib/sunshine-conversations-client/models/conversation_join_event_all_of_payload.rb +1 -1
  116. data/lib/sunshine-conversations-client/models/conversation_leave_event.rb +1 -1
  117. data/lib/sunshine-conversations-client/models/conversation_leave_event_all_of.rb +1 -1
  118. data/lib/sunshine-conversations-client/models/conversation_leave_event_all_of_payload.rb +1 -1
  119. data/lib/sunshine-conversations-client/models/conversation_list_filter.rb +1 -1
  120. data/lib/sunshine-conversations-client/models/conversation_list_response.rb +1 -1
  121. data/lib/sunshine-conversations-client/models/conversation_message_delivery_channel_event.rb +1 -1
  122. data/lib/sunshine-conversations-client/models/conversation_message_delivery_channel_event_all_of.rb +1 -1
  123. data/lib/sunshine-conversations-client/models/conversation_message_delivery_failure_event.rb +1 -1
  124. data/lib/sunshine-conversations-client/models/conversation_message_delivery_failure_event_all_of.rb +1 -1
  125. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload.rb +1 -1
  126. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload_destination.rb +1 -1
  127. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload_external_messages.rb +1 -1
  128. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload_message.rb +1 -1
  129. data/lib/sunshine-conversations-client/models/conversation_message_delivery_user_event.rb +1 -1
  130. data/lib/sunshine-conversations-client/models/conversation_message_event.rb +1 -1
  131. data/lib/sunshine-conversations-client/models/conversation_message_event_all_of.rb +1 -1
  132. data/lib/sunshine-conversations-client/models/conversation_message_event_all_of_payload.rb +1 -1
  133. data/lib/sunshine-conversations-client/models/conversation_postback_event.rb +1 -1
  134. data/lib/sunshine-conversations-client/models/conversation_postback_event_all_of.rb +1 -1
  135. data/lib/sunshine-conversations-client/models/conversation_postback_event_all_of_payload.rb +1 -1
  136. data/lib/sunshine-conversations-client/models/conversation_read_event.rb +1 -1
  137. data/lib/sunshine-conversations-client/models/conversation_read_event_all_of.rb +1 -1
  138. data/lib/sunshine-conversations-client/models/conversation_read_event_all_of_payload.rb +1 -1
  139. data/lib/sunshine-conversations-client/models/conversation_remove_event.rb +1 -1
  140. data/lib/sunshine-conversations-client/models/conversation_remove_event_all_of.rb +1 -1
  141. data/lib/sunshine-conversations-client/models/conversation_remove_event_all_of_payload.rb +1 -1
  142. data/lib/sunshine-conversations-client/models/conversation_response.rb +1 -1
  143. data/lib/sunshine-conversations-client/models/conversation_truncated.rb +1 -1
  144. data/lib/sunshine-conversations-client/models/conversation_type.rb +1 -1
  145. data/lib/sunshine-conversations-client/models/conversation_typing_event.rb +1 -1
  146. data/lib/sunshine-conversations-client/models/conversation_typing_event_all_of.rb +1 -1
  147. data/lib/sunshine-conversations-client/models/conversation_typing_event_all_of_payload.rb +1 -1
  148. data/lib/sunshine-conversations-client/models/conversation_update_body.rb +1 -1
  149. data/lib/sunshine-conversations-client/models/custom.rb +2 -2
  150. data/lib/sunshine-conversations-client/models/custom_all_of.rb +2 -2
  151. data/lib/sunshine-conversations-client/models/custom_update.rb +1 -1
  152. data/lib/sunshine-conversations-client/models/destination.rb +1 -1
  153. data/lib/sunshine-conversations-client/models/device.rb +1 -1
  154. data/lib/sunshine-conversations-client/models/event_sub_schema.rb +1 -1
  155. data/lib/sunshine-conversations-client/models/extra_channel_options.rb +1 -1
  156. data/lib/sunshine-conversations-client/models/extra_channel_options_messenger.rb +1 -1
  157. data/lib/sunshine-conversations-client/models/field.rb +1 -1
  158. data/lib/sunshine-conversations-client/models/file_message.rb +1 -1
  159. data/lib/sunshine-conversations-client/models/form_message.rb +1 -1
  160. data/lib/sunshine-conversations-client/models/form_response_message.rb +1 -1
  161. data/lib/sunshine-conversations-client/models/image_message.rb +1 -1
  162. data/lib/sunshine-conversations-client/models/inline_object.rb +1 -1
  163. data/lib/sunshine-conversations-client/models/instagram.rb +2 -2
  164. data/lib/sunshine-conversations-client/models/instagram_all_of.rb +2 -3
  165. data/lib/sunshine-conversations-client/models/instagram_update.rb +1 -1
  166. data/lib/sunshine-conversations-client/models/instagram_update_all_of.rb +1 -1
  167. data/lib/sunshine-conversations-client/models/integration.rb +1 -2
  168. data/lib/sunshine-conversations-client/models/integration_api_key.rb +1 -1
  169. data/lib/sunshine-conversations-client/models/integration_api_key_list_response.rb +1 -1
  170. data/lib/sunshine-conversations-client/models/integration_api_key_response.rb +1 -1
  171. data/lib/sunshine-conversations-client/models/integration_id.rb +1 -1
  172. data/lib/sunshine-conversations-client/models/integration_list_filter.rb +1 -1
  173. data/lib/sunshine-conversations-client/models/integration_list_response.rb +1 -1
  174. data/lib/sunshine-conversations-client/models/integration_response.rb +1 -1
  175. data/lib/sunshine-conversations-client/models/integration_type.rb +1 -1
  176. data/lib/sunshine-conversations-client/models/integration_update.rb +1 -1
  177. data/lib/sunshine-conversations-client/models/integration_update_base.rb +1 -1
  178. data/lib/sunshine-conversations-client/models/ios.rb +2 -2
  179. data/lib/sunshine-conversations-client/models/ios_all_of.rb +2 -2
  180. data/lib/sunshine-conversations-client/models/ios_update.rb +1 -1
  181. data/lib/sunshine-conversations-client/models/ios_update_all_of.rb +1 -1
  182. data/lib/sunshine-conversations-client/models/item.rb +1 -1
  183. data/lib/sunshine-conversations-client/models/line.rb +4 -14
  184. data/lib/sunshine-conversations-client/models/line_all_of.rb +4 -15
  185. data/lib/sunshine-conversations-client/models/line_update.rb +1 -1
  186. data/lib/sunshine-conversations-client/models/link.rb +1 -1
  187. data/lib/sunshine-conversations-client/models/links.rb +1 -1
  188. data/lib/sunshine-conversations-client/models/list_message.rb +1 -1
  189. data/lib/sunshine-conversations-client/models/location_message.rb +1 -1
  190. data/lib/sunshine-conversations-client/models/location_message_coordinates.rb +1 -1
  191. data/lib/sunshine-conversations-client/models/location_message_location.rb +1 -1
  192. data/lib/sunshine-conversations-client/models/location_request.rb +1 -1
  193. data/lib/sunshine-conversations-client/models/mailgun.rb +2 -2
  194. data/lib/sunshine-conversations-client/models/mailgun_all_of.rb +2 -3
  195. data/lib/sunshine-conversations-client/models/mailgun_update.rb +1 -1
  196. data/lib/sunshine-conversations-client/models/mailgun_update_all_of.rb +1 -1
  197. data/lib/sunshine-conversations-client/models/match_criteria.rb +1 -1
  198. data/lib/sunshine-conversations-client/models/match_criteria_base.rb +1 -1
  199. data/lib/sunshine-conversations-client/models/match_criteria_mailgun.rb +1 -1
  200. data/lib/sunshine-conversations-client/models/match_criteria_mailgun_all_of.rb +1 -1
  201. data/lib/sunshine-conversations-client/models/match_criteria_messagebird.rb +1 -1
  202. data/lib/sunshine-conversations-client/models/match_criteria_messagebird_all_of.rb +1 -1
  203. data/lib/sunshine-conversations-client/models/match_criteria_twilio.rb +1 -1
  204. data/lib/sunshine-conversations-client/models/match_criteria_twilio_all_of.rb +1 -1
  205. data/lib/sunshine-conversations-client/models/match_criteria_whatsapp.rb +1 -1
  206. data/lib/sunshine-conversations-client/models/match_criteria_whatsapp_all_of.rb +1 -1
  207. data/lib/sunshine-conversations-client/models/message.rb +1 -1
  208. data/lib/sunshine-conversations-client/models/message_bird_update.rb +1 -1
  209. data/lib/sunshine-conversations-client/models/message_list_response.rb +1 -1
  210. data/lib/sunshine-conversations-client/models/message_override.rb +1 -1
  211. data/lib/sunshine-conversations-client/models/message_override_apple.rb +1 -1
  212. data/lib/sunshine-conversations-client/models/message_override_line.rb +1 -1
  213. data/lib/sunshine-conversations-client/models/message_override_messenger.rb +1 -1
  214. data/lib/sunshine-conversations-client/models/message_override_payload.rb +1 -1
  215. data/lib/sunshine-conversations-client/models/message_override_whatsapp.rb +1 -1
  216. data/lib/sunshine-conversations-client/models/message_post.rb +9 -9
  217. data/lib/sunshine-conversations-client/models/message_post_response.rb +1 -1
  218. data/lib/sunshine-conversations-client/models/message_webhook.rb +1 -1
  219. data/lib/sunshine-conversations-client/models/messagebird.rb +2 -2
  220. data/lib/sunshine-conversations-client/models/messagebird_all_of.rb +2 -3
  221. data/lib/sunshine-conversations-client/models/messenger.rb +2 -2
  222. data/lib/sunshine-conversations-client/models/messenger_all_of.rb +2 -3
  223. data/lib/sunshine-conversations-client/models/messenger_update.rb +1 -1
  224. data/lib/sunshine-conversations-client/models/meta.rb +1 -1
  225. data/lib/sunshine-conversations-client/models/offer_control_body.rb +1 -1
  226. data/lib/sunshine-conversations-client/models/page.rb +1 -1
  227. data/lib/sunshine-conversations-client/models/page1.rb +214 -0
  228. data/lib/sunshine-conversations-client/models/participant.rb +1 -1
  229. data/lib/sunshine-conversations-client/models/participant_join_body.rb +1 -1
  230. data/lib/sunshine-conversations-client/models/participant_leave_body.rb +1 -1
  231. data/lib/sunshine-conversations-client/models/participant_leave_body_participant_id.rb +1 -1
  232. data/lib/sunshine-conversations-client/models/participant_leave_body_user_external_id.rb +1 -1
  233. data/lib/sunshine-conversations-client/models/participant_leave_body_user_id.rb +1 -1
  234. data/lib/sunshine-conversations-client/models/participant_list_response.rb +1 -1
  235. data/lib/sunshine-conversations-client/models/participant_response.rb +1 -1
  236. data/lib/sunshine-conversations-client/models/participant_sub_schema.rb +1 -1
  237. data/lib/sunshine-conversations-client/models/participant_with_user_external_id.rb +1 -1
  238. data/lib/sunshine-conversations-client/models/participant_with_user_id.rb +1 -1
  239. data/lib/sunshine-conversations-client/models/pass_control_body.rb +1 -1
  240. data/lib/sunshine-conversations-client/models/postback.rb +1 -1
  241. data/lib/sunshine-conversations-client/models/postback_webhook.rb +1 -1
  242. data/lib/sunshine-conversations-client/models/prechat_capture.rb +1 -1
  243. data/lib/sunshine-conversations-client/models/profile.rb +1 -1
  244. data/lib/sunshine-conversations-client/models/quoted_message.rb +1 -1
  245. data/lib/sunshine-conversations-client/models/quoted_message_external_message_id.rb +1 -1
  246. data/lib/sunshine-conversations-client/models/quoted_message_message.rb +1 -1
  247. data/lib/sunshine-conversations-client/models/referral.rb +1 -1
  248. data/lib/sunshine-conversations-client/models/referral_details.rb +1 -1
  249. data/lib/sunshine-conversations-client/models/reply.rb +1 -1
  250. data/lib/sunshine-conversations-client/models/source.rb +1 -1
  251. data/lib/sunshine-conversations-client/models/source_webhook.rb +1 -1
  252. data/lib/sunshine-conversations-client/models/status.rb +1 -1
  253. data/lib/sunshine-conversations-client/models/switchboard.rb +1 -1
  254. data/lib/sunshine-conversations-client/models/switchboard_accept_control.rb +1 -1
  255. data/lib/sunshine-conversations-client/models/switchboard_accept_control_all_of.rb +1 -1
  256. data/lib/sunshine-conversations-client/models/switchboard_accept_control_all_of_payload.rb +1 -1
  257. data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure.rb +1 -1
  258. data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure_all_of.rb +1 -1
  259. data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure_all_of_payload.rb +1 -1
  260. data/lib/sunshine-conversations-client/models/switchboard_integration.rb +1 -1
  261. data/lib/sunshine-conversations-client/models/switchboard_integration_create_body.rb +1 -1
  262. data/lib/sunshine-conversations-client/models/switchboard_integration_list_response.rb +1 -1
  263. data/lib/sunshine-conversations-client/models/switchboard_integration_response.rb +1 -1
  264. data/lib/sunshine-conversations-client/models/switchboard_integration_update_body.rb +1 -1
  265. data/lib/sunshine-conversations-client/models/switchboard_integration_webhook.rb +1 -1
  266. data/lib/sunshine-conversations-client/models/switchboard_list_response.rb +1 -1
  267. data/lib/sunshine-conversations-client/models/switchboard_offer_control.rb +1 -1
  268. data/lib/sunshine-conversations-client/models/switchboard_offer_control_all_of.rb +1 -1
  269. data/lib/sunshine-conversations-client/models/switchboard_offer_control_all_of_payload.rb +1 -1
  270. data/lib/sunshine-conversations-client/models/switchboard_offer_control_failure.rb +1 -1
  271. data/lib/sunshine-conversations-client/models/switchboard_pass_control.rb +1 -1
  272. data/lib/sunshine-conversations-client/models/switchboard_pass_control_all_of.rb +1 -1
  273. data/lib/sunshine-conversations-client/models/switchboard_pass_control_all_of_payload.rb +1 -1
  274. data/lib/sunshine-conversations-client/models/switchboard_pass_control_failure.rb +1 -1
  275. data/lib/sunshine-conversations-client/models/switchboard_response.rb +1 -1
  276. data/lib/sunshine-conversations-client/models/switchboard_update_body.rb +1 -1
  277. data/lib/sunshine-conversations-client/models/target.rb +1 -1
  278. data/lib/sunshine-conversations-client/models/telegram.rb +2 -2
  279. data/lib/sunshine-conversations-client/models/telegram_all_of.rb +2 -3
  280. data/lib/sunshine-conversations-client/models/telegram_update.rb +1 -1
  281. data/lib/sunshine-conversations-client/models/template_message.rb +221 -0
  282. data/lib/sunshine-conversations-client/models/text_message.rb +1 -1
  283. data/lib/sunshine-conversations-client/models/twilio.rb +2 -2
  284. data/lib/sunshine-conversations-client/models/twilio_all_of.rb +2 -3
  285. data/lib/sunshine-conversations-client/models/twilio_update.rb +1 -1
  286. data/lib/sunshine-conversations-client/models/twitter.rb +2 -2
  287. data/lib/sunshine-conversations-client/models/twitter_all_of.rb +2 -3
  288. data/lib/sunshine-conversations-client/models/twitter_update.rb +1 -1
  289. data/lib/sunshine-conversations-client/models/user.rb +1 -1
  290. data/lib/sunshine-conversations-client/models/user_all_of.rb +1 -1
  291. data/lib/sunshine-conversations-client/models/user_create_body.rb +1 -1
  292. data/lib/sunshine-conversations-client/models/user_merge_event.rb +1 -1
  293. data/lib/sunshine-conversations-client/models/user_merge_event_all_of.rb +1 -1
  294. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload.rb +1 -1
  295. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload_merged_conversations.rb +1 -1
  296. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload_merged_users.rb +1 -1
  297. data/lib/sunshine-conversations-client/models/user_response.rb +1 -1
  298. data/lib/sunshine-conversations-client/models/user_truncated.rb +1 -1
  299. data/lib/sunshine-conversations-client/models/user_update_body.rb +1 -1
  300. data/lib/sunshine-conversations-client/models/viber.rb +2 -2
  301. data/lib/sunshine-conversations-client/models/viber_all_of.rb +2 -3
  302. data/lib/sunshine-conversations-client/models/viber_update.rb +1 -1
  303. data/lib/sunshine-conversations-client/models/web.rb +2 -2
  304. data/lib/sunshine-conversations-client/models/web_all_of.rb +2 -3
  305. data/lib/sunshine-conversations-client/models/web_update.rb +1 -1
  306. data/lib/sunshine-conversations-client/models/web_update_all_of.rb +1 -1
  307. data/lib/sunshine-conversations-client/models/webhook.rb +1 -1
  308. data/lib/sunshine-conversations-client/models/webhook_body.rb +1 -1
  309. data/lib/sunshine-conversations-client/models/webhook_create_body.rb +1 -1
  310. data/lib/sunshine-conversations-client/models/webhook_list_response.rb +1 -1
  311. data/lib/sunshine-conversations-client/models/webhook_response.rb +1 -1
  312. data/lib/sunshine-conversations-client/models/webhook_sub_schema.rb +1 -1
  313. data/lib/sunshine-conversations-client/models/webview.rb +1 -1
  314. data/lib/sunshine-conversations-client/models/whats_app_update.rb +1 -1
  315. data/lib/sunshine-conversations-client/models/whats_app_update_all_of.rb +1 -1
  316. data/lib/sunshine-conversations-client/models/whatsapp.rb +18 -7
  317. data/lib/sunshine-conversations-client/models/whatsapp_all_of.rb +18 -8
  318. data/lib/sunshine-conversations-client/version.rb +2 -2
  319. data/spec/api_client_spec.rb +1 -1
  320. data/spec/configuration_spec.rb +1 -1
  321. data/spec/spec_helper.rb +1 -1
  322. data/sunshine-conversations-client.gemspec +1 -1
  323. metadata +6 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3fc03f92b99bea49559a9f2e8015f856baf7224c
4
- data.tar.gz: dc62d4b9989d53ef317fa3eada2786c0bc91b49e
3
+ metadata.gz: 463c25c67746b75baefe183a32530d85ef991c88
4
+ data.tar.gz: 32fecd9b161c683ee3cf36fd1294c9b23c6fde4d
5
5
  SHA512:
6
- metadata.gz: 897ced74bb733a891133c98d72d340f4db1dada5dbbabc7156149be9533fa6c76c14d30a5c12a8075a10c1685c9e7b8b0b0a20e9d692ada50d09b12acacbf818
7
- data.tar.gz: e8b60a072fdb33a1be8be6c5d5bd0c30839e1174f94df712e198f0bdd4b0f0a4113a85b1de6eaf942f02739894e0a1aa3cb69db59a2a6724215a4c8155334511
6
+ metadata.gz: be3ba62af2d66e56390d97f85a60aa03d062b7dbc0c816e581c26b5e85e8a51fbed4a9dbc04a449e51bbfdef9c1d68e8ddf73642b7a8758d4baac2a4e17adba7
7
+ data.tar.gz: 6eaf438da768e80bc3035eb7cbb711bb37e8d96a4313cec78e6afe71994be91cb0e0245a104db7d4460928e261f62803930557ec8e3d0deb10ab48788ecdfbe5
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## [9.4.2] - 2021-01-06
4
+
5
+ ### Added
6
+
7
+ - Added `phoneNumber` to the `integration` whatsapp response.
8
+ - Added a message type `template` in the Post Message API.
9
+
10
+ ### Changed
11
+
12
+ - Removed `channelId` and `channelSecret` as required fields when creating a LINE integration
13
+
14
+ ### Fixed
15
+
16
+ - Fixed: property `messageSchema` should be `schema` in v2 Post Message API
17
+
3
18
  ## [9.4.1] - 2020-12-16
4
19
 
5
20
  ### Changed
data/README.md CHANGED
@@ -4,8 +4,8 @@ SunshineConversationsClient - the Ruby gem for the Sunshine Conversations API
4
4
 
5
5
  This SDK is automatically generated by the [OpenAPI Generator Codegen](https://github.com/OpenAPITools/openapi-generator) project using the [Sunshine Conversations API spec](https://github.com/zendesk/sunshine-conversations-api-spec).
6
6
 
7
- - API version: 9.4.0
8
- - Package version: 9.4.1
7
+ - API version: 9.4.2
8
+ - Package version: 9.4.2
9
9
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
10
10
 
11
11
  ## Sunshine Conversations API Version
@@ -32,16 +32,16 @@ gem build sunshine-conversations-client.gemspec
32
32
  Then either install the gem locally:
33
33
 
34
34
  ```shell
35
- gem install ./sunshine-conversations-client-9.4.1.gem
35
+ gem install ./sunshine-conversations-client-9.4.2.gem
36
36
  ```
37
37
 
38
- (for development, run `gem install --dev ./sunshine-conversations-client-9.4.1.gem` to install the development dependencies)
38
+ (for development, run `gem install --dev ./sunshine-conversations-client-9.4.2.gem` to install the development dependencies)
39
39
 
40
40
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
41
41
 
42
42
  Finally add this to the Gemfile:
43
43
 
44
- gem 'sunshine-conversations-client', '~> 9.4.1'
44
+ gem 'sunshine-conversations-client', '~> 9.4.2'
45
45
 
46
46
  ### Install from Git
47
47
 
@@ -364,6 +364,7 @@ Class | Method | HTTP request | Description
364
364
  - [SunshineConversationsClient::Meta](docs/Meta.md)
365
365
  - [SunshineConversationsClient::OfferControlBody](docs/OfferControlBody.md)
366
366
  - [SunshineConversationsClient::Page](docs/Page.md)
367
+ - [SunshineConversationsClient::Page1](docs/Page1.md)
367
368
  - [SunshineConversationsClient::Participant](docs/Participant.md)
368
369
  - [SunshineConversationsClient::ParticipantJoinBody](docs/ParticipantJoinBody.md)
369
370
  - [SunshineConversationsClient::ParticipantLeaveBody](docs/ParticipantLeaveBody.md)
@@ -417,6 +418,7 @@ Class | Method | HTTP request | Description
417
418
  - [SunshineConversationsClient::Telegram](docs/Telegram.md)
418
419
  - [SunshineConversationsClient::TelegramAllOf](docs/TelegramAllOf.md)
419
420
  - [SunshineConversationsClient::TelegramUpdate](docs/TelegramUpdate.md)
421
+ - [SunshineConversationsClient::TemplateMessage](docs/TemplateMessage.md)
420
422
  - [SunshineConversationsClient::TextMessage](docs/TextMessage.md)
421
423
  - [SunshineConversationsClient::Twilio](docs/Twilio.md)
422
424
  - [SunshineConversationsClient::TwilioAllOf](docs/TwilioAllOf.md)
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of integration. | [optional] [default to 'android']
7
+ **type** | **String** | To configure an android integration, first visit the [Firebase Console](https://console.firebase.google.com/). Copy the `serverKey` and `senderId` from the Cloud Messaging tab in the settings of your project and call the create integrations endpoint with this data. If you would like to continue using your legacy GCM `serverKey` you can also obtain it from the [Google Developer Console](https://console.developers.google.com/). | [optional] [default to 'android']
8
8
  **server_key** | **String** | Your server key from the fcm console. | [optional]
9
9
  **sender_id** | **String** | Your sender id from the fcm console. | [optional]
10
10
  **can_user_create_more_conversations** | **Boolean** | Allows users to create more than one conversation on the android integration. | [optional]
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of integration. | [optional] [default to 'android']
7
+ **type** | **String** | To configure an android integration, first visit the [Firebase Console](https://console.firebase.google.com/). Copy the `serverKey` and `senderId` from the Cloud Messaging tab in the settings of your project and call the create integrations endpoint with this data. If you would like to continue using your legacy GCM `serverKey` you can also obtain it from the [Google Developer Console](https://console.developers.google.com/). | [optional] [default to 'android']
8
8
  **server_key** | **String** | Your server key from the fcm console. | [optional]
9
9
  **sender_id** | **String** | Your sender id from the fcm console. | [optional]
10
10
  **can_user_create_more_conversations** | **Boolean** | Allows users to create more than one conversation on the android integration. | [optional]
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of integration. | [optional] [default to 'apple']
7
+ **type** | **String** | To configure an Apple Business Chat integration, acquire the required information and call the Create Integration endpoint. | [optional] [default to 'apple']
8
8
  **business_id** | **String** | Apple Business Chat ID. |
9
9
  **api_secret** | **String** | Your Apple API secret which is tied to your Messaging Service Provider. |
10
10
  **msp_id** | **String** | Your Messaging Service Provider ID. |
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of integration. | [optional] [default to 'apple']
7
+ **type** | **String** | To configure an Apple Business Chat integration, acquire the required information and call the Create Integration endpoint. | [optional] [default to 'apple']
8
8
  **business_id** | **String** | Apple Business Chat ID. |
9
9
  **api_secret** | **String** | Your Apple API secret which is tied to your Messaging Service Provider. |
10
10
  **msp_id** | **String** | Your Messaging Service Provider ID. |
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of message. | [default to 'location']
7
+ **type** | **String** | The type of message. | [default to 'template']
8
8
  **text** | **String** | The fallback text message used when location messages are not supported by the channel. | [optional] [readonly]
9
9
  **actions** | [**Array<ActionSubset>**](ActionSubset.md) | An array of objects representing the actions associated with the message. The array length is limited by the third party channel. | [optional]
10
10
  **items** | [**Array<Item>**](Item.md) | An array of objects representing the items associated with the message. Only present in carousel and list type messages. |
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
18
18
  **text_fallback** | **String** | A string containing the `label: value` of all fields, each separated by a newline character. | [optional] [readonly]
19
19
  **coordinates** | [**LocationMessageCoordinates**](LocationMessageCoordinates.md) | |
20
20
  **location** | [**LocationMessageLocation**](LocationMessageLocation.md) | | [optional]
21
+ **template** | [**Object**](.md) | The whatsapp template message to send. For more information, consult the [guide](https://docs.smooch.io/guide/whatsapp#sending-message-templates). `schema` must be set to `whatsapp`. |
21
22
 
22
23
  ## Code Sample
23
24
 
@@ -37,7 +38,8 @@ instance = SunshineConversationsClient::Content.new(type: null,
37
38
  fields: null,
38
39
  text_fallback: null,
39
40
  coordinates: null,
40
- location: null)
41
+ location: null,
42
+ template: null)
41
43
  ```
42
44
 
43
45
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of integration. | [optional] [default to 'custom']
7
+ **type** | **String** | To configure a custom integration you need to setup a webhook with a set of triggers and target. | [optional] [default to 'custom']
8
8
  **webhooks** | [**Array<Webhook>**](Webhook.md) | An array of webhooks associated with the custom integration. |
9
9
 
10
10
  ## Code Sample
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of integration. | [optional] [default to 'custom']
7
+ **type** | **String** | To configure a custom integration you need to setup a webhook with a set of triggers and target. | [optional] [default to 'custom']
8
8
  **webhooks** | [**Array<Webhook>**](Webhook.md) | An array of webhooks associated with the custom integration. |
9
9
 
10
10
  ## Code Sample
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of integration. | [optional] [default to 'instagram']
7
+ **type** | **String** | Instagram Direct setup steps: - Take note of your Facebook app ID and secret (apps can be created at [developer.facebook.com](https://developer.facebook.com)); - The Facebook app must have been submitted to Facebook for app review with the \"manage_pages\" (to retrieve Page Access Tokens for the Pages and apps that the app user administers and to set a webhook), \"instagram_basic\", and \"instagram_manage_messages\" (to retrieve basic Instagram account information and send messages) permissions. - In order to integrate an Instagram Direct app, you must acquire a Page Access Token from your user. Once you have acquired a page access token from your user, call the Create Integration endpoint with your app secret and ID and the user’s page access token. | [optional] [default to 'instagram']
8
8
  **page_access_token** | **String** | The Facebook Page Access Token of the Facebook page that is linked to your Instagram account. |
9
9
  **app_id** | **String** | Your Facebook App ID. |
10
10
  **app_secret** | **String** | Your Facebook App secret. |
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of integration. | [optional] [default to 'instagram']
7
+ **type** | **String** | Instagram Direct setup steps: - Take note of your Facebook app ID and secret (apps can be created at [developer.facebook.com](https://developer.facebook.com)); - The Facebook app must have been submitted to Facebook for app review with the \"manage_pages\" (to retrieve Page Access Tokens for the Pages and apps that the app user administers and to set a webhook), \"instagram_basic\", and \"instagram_manage_messages\" (to retrieve basic Instagram account information and send messages) permissions. - In order to integrate an Instagram Direct app, you must acquire a Page Access Token from your user. Once you have acquired a page access token from your user, call the Create Integration endpoint with your app secret and ID and the user’s page access token. | [optional] [default to 'instagram']
8
8
  **page_access_token** | **String** | The Facebook Page Access Token of the Facebook page that is linked to your Instagram account. |
9
9
  **app_id** | **String** | Your Facebook App ID. |
10
10
  **app_secret** | **String** | Your Facebook App secret. |
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **id** | **String** | The unique ID of the integration. | [optional] [readonly]
8
- **type** | **String** | The type of integration. |
8
+ **type** | **String** | |
9
9
  **status** | [**Status**](Status.md) | | [optional]
10
10
  **display_name** | **String** | A human-friendly name used to identify the integration. | [optional]
11
11
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of integration. | [optional] [default to 'ios']
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 'ios']
8
8
  **certificate** | **String** | The binary of your APN certificate base64 encoded. | [optional]
9
9
  **password** | **String** | The password for your APN certificate. | [optional]
10
10
  **production** | **Boolean** | The APN environment to connect to (Production, if true, or Sandbox). Defaults to value inferred from certificate if not specified. | [optional]
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of integration. | [optional] [default to 'ios']
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 'ios']
8
8
  **certificate** | **String** | The binary of your APN certificate base64 encoded. | [optional]
9
9
  **password** | **String** | The password for your APN certificate. | [optional]
10
10
  **production** | **Boolean** | The APN environment to connect to (Production, if true, or Sandbox). Defaults to value inferred from certificate if not specified. | [optional]
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of integration. | [optional] [default to 'line']
8
- **channel_id** | **String** | LINE Channel ID. |
9
- **channel_secret** | **String** | LINE Channel Secret. |
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: `https://app.smooch.io:443/api/line/webhooks/{appId}/{integrationId}`. | [optional] [default to 'line']
8
+ **channel_id** | **String** | LINE Channel ID. Can be omitted along with `channelSecret` to integrate LINE to setup a webhook before receiving the `channelId` and `channelSecret` back from LINE. | [optional]
9
+ **channel_secret** | **String** | LINE Channel Secret. Can be omitted along with `channelId` to integrate LINE to setup a webhook before receiving the `channelId` and `channelSecret` back from LINE. | [optional]
10
10
  **channel_access_token** | **String** | LINE Channel Access Token. | [optional]
11
11
  **service_code** | **String** | LINE Service Code. | [optional]
12
12
  **switcher_secret** | **String** | LINE Switcher Secret. | [optional]
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of integration. | [optional] [default to 'line']
8
- **channel_id** | **String** | LINE Channel ID. |
9
- **channel_secret** | **String** | LINE Channel Secret. |
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: `https://app.smooch.io:443/api/line/webhooks/{appId}/{integrationId}`. | [optional] [default to 'line']
8
+ **channel_id** | **String** | LINE Channel ID. Can be omitted along with `channelSecret` to integrate LINE to setup a webhook before receiving the `channelId` and `channelSecret` back from LINE. | [optional]
9
+ **channel_secret** | **String** | LINE Channel Secret. Can be omitted along with `channelId` to integrate LINE to setup a webhook before receiving the `channelId` and `channelSecret` back from LINE. | [optional]
10
10
  **channel_access_token** | **String** | LINE Channel Access Token. | [optional]
11
11
  **service_code** | **String** | LINE Service Code. | [optional]
12
12
  **switcher_secret** | **String** | LINE Switcher Secret. | [optional]
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of integration. | [optional] [default to 'mailgun']
7
+ **type** | **String** | To configure a Mailgun integration, visit the API Keys tab in the settings page of the Mailgun dashboard and copy your active API key. Call the Create Integration endpoint with your API Key, a domain you have configured in Mailgun, and the incoming address you would like to use. Must have the same domain as the one specified in the domain parameter. | [optional] [default to 'mailgun']
8
8
  **api_key** | **String** | The public API key of your Mailgun account. |
9
9
  **domain** | **String** | The domain used to relay email. This domain must be configured and verified in your Mailgun account. |
10
10
  **incoming_address** | **String** | Sunshine Conversations will receive all emails sent to this address. It will also be used as the Reply-To address. |
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of integration. | [optional] [default to 'mailgun']
7
+ **type** | **String** | To configure a Mailgun integration, visit the API Keys tab in the settings page of the Mailgun dashboard and copy your active API key. Call the Create Integration endpoint with your API Key, a domain you have configured in Mailgun, and the incoming address you would like to use. Must have the same domain as the one specified in the domain parameter. | [optional] [default to 'mailgun']
8
8
  **api_key** | **String** | The public API key of your Mailgun account. |
9
9
  **domain** | **String** | The domain used to relay email. This domain must be configured and verified in your Mailgun account. |
10
10
  **incoming_address** | **String** | Sunshine Conversations will receive all emails sent to this address. It will also be used as the Reply-To address. |
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
9
9
  **destination** | [**Destination**](Destination.md) | | [optional]
10
10
  **metadata** | [**Object**](.md) | Flat object containing custom properties. Strings, numbers and booleans are the only supported format that can be passed to metadata. The metadata is limited to 4KB in size. | [optional]
11
11
  **override** | [**MessageOverride**](MessageOverride.md) | | [optional]
12
- **message_schema** | **String** | Send WhatsApp Message Templates using \"whatsapp\", while populating the message key using the native [WhatsApp schema](https://developers.facebook.com/docs/whatsapp/api/messages/message-templates). When the `messageSchema` is specified, the message is automatically converted to the Sunshine Conversations schema to be stored in the conversation record. The Sunshine Conversations message schema is also used in the API response. Go to [Post Message API](https://docs.smooch.io/guide/whatsapp/#post-message-api) to view an example. | [optional]
12
+ **schema** | **String** | When the `schema` is set to `whatsapp`, the message is automatically converted to the Sunshine Conversations schema to be stored in the conversation record. The Sunshine Conversations message schema is also used in the API response. Go to [Post Message API](https://docs.smooch.io/guide/whatsapp/#post-message-api) to view an example. | [optional]
13
13
 
14
14
  ## Code Sample
15
15
 
@@ -21,7 +21,7 @@ instance = SunshineConversationsClient::MessagePost.new(author: null,
21
21
  destination: null,
22
22
  metadata: {"lang":"en-ca"},
23
23
  override: null,
24
- message_schema: whatsapp)
24
+ schema: whatsapp)
25
25
  ```
26
26
 
27
27
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of integration. | [optional] [default to 'messagebird']
7
+ **type** | **String** | To configure a MessageBird integration, acquire the accessKey, the signingKey and the MessageBird number you would like to use, then call the Create Integration endpoint. The response will include the integration’s `_id` and `webhookSecret`, which must be used to configure the webhook in MessageBird. In the Flow Builder for the MessageBird number you’ve used to integrate, add a new step with the following settings: - Create a new Call HTTP endpoint with SMS flow. - Select your desired SMS number for Incoming SMS. - Click on Forward to URL and set its method to POST. - Then, using the integration _id and webhookSecret returned from the create integration call, enter the following into the URL field: `https://app.smooch.io/api/messagebird/webhooks/{appId}/{integrationId}/{webhookSecret}` - Select application/json for the Set Content-Type header field. - Save and publish your changes. | [optional] [default to 'messagebird']
8
8
  **access_key** | **String** | The public API key of your MessageBird account. |
9
9
  **signing_key** | **String** | The signing key of your MessageBird account. Used to validate the webhooks' origin. |
10
10
  **originator** | **String** | Sunshine Conversations will receive all messages sent to this phone number. |
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of integration. | [optional] [default to 'messagebird']
7
+ **type** | **String** | To configure a MessageBird integration, acquire the accessKey, the signingKey and the MessageBird number you would like to use, then call the Create Integration endpoint. The response will include the integration’s `_id` and `webhookSecret`, which must be used to configure the webhook in MessageBird. In the Flow Builder for the MessageBird number you’ve used to integrate, add a new step with the following settings: - Create a new Call HTTP endpoint with SMS flow. - Select your desired SMS number for Incoming SMS. - Click on Forward to URL and set its method to POST. - Then, using the integration _id and webhookSecret returned from the create integration call, enter the following into the URL field: `https://app.smooch.io/api/messagebird/webhooks/{appId}/{integrationId}/{webhookSecret}` - Select application/json for the Set Content-Type header field. - Save and publish your changes. | [optional] [default to 'messagebird']
8
8
  **access_key** | **String** | The public API key of your MessageBird account. |
9
9
  **signing_key** | **String** | The signing key of your MessageBird account. Used to validate the webhooks' origin. |
10
10
  **originator** | **String** | Sunshine Conversations will receive all messages sent to this phone number. |
@@ -162,7 +162,7 @@ app_id = '5d8cff3cd55b040010928b5b' # String | Identifies the app.
162
162
  conversation_id = '029c31f25a21b47effd7be90' # String | Identifies the conversation.
163
163
  # Be sure to add the required body parameters
164
164
  opts = {
165
- page: SunshineConversationsClient::Page.new # Page | Contains parameters for applying cursor pagination.
165
+ page: SunshineConversationsClient::Page1.new # Page1 | Contains parameters for applying cursor pagination.
166
166
  }
167
167
 
168
168
  begin
@@ -181,7 +181,7 @@ Name | Type | Description | Notes
181
181
  ------------- | ------------- | ------------- | -------------
182
182
  **app_id** | **String**| Identifies the app. |
183
183
  **conversation_id** | **String**| Identifies the conversation. |
184
- **page** | [**Page**](.md)| Contains parameters for applying cursor pagination. | [optional]
184
+ **page** | [**Page1**](.md)| Contains parameters for applying cursor pagination. | [optional]
185
185
 
186
186
  ### Return type
187
187
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of integration. | [optional] [default to 'messenger']
7
+ **type** | **String** | Facebook Messenger Setup steps: - Take note of your Facebook app ID and secret (apps can be created at developer.facebook.com); - The Facebook app must have been submitted to Facebook for app review with the “manage_pages” (to retrieve Page Access Tokens for the Pages, apps that the app user administers and set a webhook) and “pages_messaging” (to send messages) permissions. - In order to integrate a Facebook Messenger app you must acquire a Page Access Token from your user. Once you have acquired a page access token from your user, call the Create Integration endpoint with your app secret and ID and the user’s page access token. | [optional] [default to 'messenger']
8
8
  **page_access_token** | **String** | A Facebook Page Access Token. |
9
9
  **app_id** | **String** | A Facebook App ID. |
10
10
  **app_secret** | **String** | A Facebook App Secret. |
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of integration. | [optional] [default to 'messenger']
7
+ **type** | **String** | Facebook Messenger Setup steps: - Take note of your Facebook app ID and secret (apps can be created at developer.facebook.com); - The Facebook app must have been submitted to Facebook for app review with the “manage_pages” (to retrieve Page Access Tokens for the Pages, apps that the app user administers and set a webhook) and “pages_messaging” (to send messages) permissions. - In order to integrate a Facebook Messenger app you must acquire a Page Access Token from your user. Once you have acquired a page access token from your user, call the Create Integration endpoint with your app secret and ID and the user’s page access token. | [optional] [default to 'messenger']
8
8
  **page_access_token** | **String** | A Facebook Page Access Token. |
9
9
  **app_id** | **String** | A Facebook App ID. |
10
10
  **app_secret** | **String** | A Facebook App Secret. |
@@ -0,0 +1,19 @@
1
+ # SunshineConversationsClient::Page1
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **after** | **String** | A record id. Results will only contain the records that come after the specified record. Only one of `after` or `before` can be provided, not both. | [optional]
8
+ **before** | **String** | A record id. Results will only contain the records that come before the specified record. Only one of `after` or `before` can be provided, not both. | [optional]
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'SunshineConversationsClient'
14
+
15
+ instance = SunshineConversationsClient::Page1.new(after: 5e1606762556d93e9c176f69,
16
+ before: 5e1606762556d93e9c176f69)
17
+ ```
18
+
19
+
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of integration. | [optional] [default to 'telegram']
7
+ **type** | **String** | To configure a Telegram integration, acquire the required information from the user and call the Create Integration endpoint. | [optional] [default to 'telegram']
8
8
  **token** | **String** | Telegram Bot Token. |
9
9
  **username** | **String** | Username of the botId | [optional] [readonly]
10
10
  **bot_id** | **String** | A human-friendly name used to identify the integration. | [optional] [readonly]
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of integration. | [optional] [default to 'telegram']
7
+ **type** | **String** | To configure a Telegram integration, acquire the required information from the user and call the Create Integration endpoint. | [optional] [default to 'telegram']
8
8
  **token** | **String** | Telegram Bot Token. |
9
9
  **username** | **String** | Username of the botId | [optional] [readonly]
10
10
  **bot_id** | **String** | A human-friendly name used to identify the integration. | [optional] [readonly]
@@ -0,0 +1,19 @@
1
+ # SunshineConversationsClient::TemplateMessage
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **type** | **String** | The type of message. | [optional] [default to 'template']
8
+ **template** | [**Object**](.md) | The whatsapp template message to send. For more information, consult the [guide](https://docs.smooch.io/guide/whatsapp#sending-message-templates). `schema` must be set to `whatsapp`. |
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'SunshineConversationsClient'
14
+
15
+ instance = SunshineConversationsClient::TemplateMessage.new(type: null,
16
+ template: null)
17
+ ```
18
+
19
+
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of integration. | [optional] [default to 'twilio']
7
+ **type** | **String** | To configure a Twilio integration, acquire the required information from the user and call the Create Integration endpoint. | [optional] [default to 'twilio']
8
8
  **account_sid** | **String** | Twilio Account SID. |
9
9
  **auth_token** | **String** | Twilio Auth Token. |
10
10
  **phone_number_sid** | **String** | SID for specific phone number. |
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of integration. | [optional] [default to 'twilio']
7
+ **type** | **String** | To configure a Twilio integration, acquire the required information from the user and call the Create Integration endpoint. | [optional] [default to 'twilio']
8
8
  **account_sid** | **String** | Twilio Account SID. |
9
9
  **auth_token** | **String** | Twilio Auth Token. |
10
10
  **phone_number_sid** | **String** | SID for specific phone number. |
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of integration. | [optional] [default to 'twitter']
7
+ **type** | **String** | To set up a Twitter integration, please follow the steps outlined in the [Twitter Setup Guide](https://docs.smooch.io/guide/twitter/#setup). | [optional] [default to 'twitter']
8
8
  **tier** | **String** | Your Twitter app’s tier, sandbox, premium or enterprise. |
9
9
  **env_name** | **String** | The Twitter dev environments label (required for sandbox and premium tiers). | [optional]
10
10
  **consumer_key** | **String** | The consumer key for your Twitter app. |
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of integration. | [optional] [default to 'twitter']
7
+ **type** | **String** | To set up a Twitter integration, please follow the steps outlined in the [Twitter Setup Guide](https://docs.smooch.io/guide/twitter/#setup). | [optional] [default to 'twitter']
8
8
  **tier** | **String** | Your Twitter app’s tier, sandbox, premium or enterprise. |
9
9
  **env_name** | **String** | The Twitter dev environments label (required for sandbox and premium tiers). | [optional]
10
10
  **consumer_key** | **String** | The consumer key for your Twitter app. |
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **type** | **String** | The type of integration. | [optional] [default to 'viber']
7
+ **type** | **String** | To configure a Viber integration, acquire the Viber Public Account token from the user and call the Create Integration endpoint. | [optional] [default to 'viber']
8
8
  **token** | **String** | Viber Public Account token. |
9
9
  **uri** | **String** | Unique URI of the Viber account. | [optional] [readonly]
10
10
  **account_id** | **String** | Unique ID of the Viber account. | [optional] [readonly]