sunshine-conversations-client 14.3.5 → 15.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG_RB.md +25 -4
- data/README.md +7 -5
- data/docs/AcceptControlBody.md +1 -1
- data/docs/Action.md +1 -1
- data/docs/ActionSubset.md +1 -1
- data/docs/Android.md +2 -0
- data/docs/AndroidAllOf.md +2 -0
- data/docs/AndroidUpdate.md +2 -0
- data/docs/AndroidUpdateAllOf.md +2 -0
- data/docs/App.md +1 -1
- data/docs/AppCreateBody.md +1 -1
- data/docs/AppSettings.md +1 -1
- data/docs/AppUpdateBody.md +1 -1
- data/docs/AttachmentSchema.md +1 -1
- data/docs/Buy.md +1 -1
- data/docs/ClientsApi.md +1 -1
- data/docs/Content.md +5 -1
- data/docs/Conversation.md +1 -1
- data/docs/ConversationCreateBody.md +1 -1
- data/docs/ConversationTruncated.md +1 -1
- data/docs/ConversationUpdateBody.md +1 -1
- data/docs/ConversationsApi.md +3 -3
- data/docs/DefaultResponderDefaultResponder.md +3 -7
- data/docs/Device.md +1 -1
- data/docs/DevicesApi.md +2 -2
- data/docs/Error.md +19 -0
- data/docs/ErrorResponse.md +17 -0
- data/docs/FileMessage.md +5 -1
- data/docs/ImageMessage.md +6 -2
- data/docs/IntegrationUpdate.md +2 -0
- data/docs/IntegrationsApi.md +1 -1
- data/docs/Ios.md +2 -0
- data/docs/IosAllOf.md +2 -0
- data/docs/IosUpdate.md +2 -0
- data/docs/IosUpdateAllOf.md +2 -0
- data/docs/Item.md +1 -1
- data/docs/Link.md +1 -1
- data/docs/LocationRequest.md +1 -1
- data/docs/Message.md +1 -1
- data/docs/MessagePost.md +1 -1
- data/docs/MessageWebhook.md +1 -1
- data/docs/OAuthEndpointsApi.md +1 -1
- data/docs/OfferControlBody.md +1 -1
- data/docs/ParticipantsApi.md +2 -2
- data/docs/PassControlBody.md +1 -1
- data/docs/Postback.md +1 -1
- data/docs/PostbackWebhook.md +1 -1
- data/docs/Reply.md +1 -1
- data/docs/SwitchboardAcceptControlAllOfPayload.md +1 -1
- data/docs/SwitchboardAcceptControlFailureAllOfPayload.md +1 -1
- data/docs/SwitchboardIntegrationCreateBody.md +2 -2
- data/docs/SwitchboardIntegrationUpdateBody.md +2 -2
- data/docs/SwitchboardIntegrationsApi.md +1 -1
- data/docs/SwitchboardOfferControlAllOfPayload.md +1 -1
- data/docs/SwitchboardPassControlAllOfPayload.md +1 -1
- data/docs/TextMessage.md +5 -1
- data/docs/Unity.md +2 -0
- data/docs/UnityAllOf.md +2 -0
- data/docs/UnityUpdate.md +2 -0
- data/docs/UnityUpdateAllOf.md +3 -1
- data/docs/User.md +1 -1
- data/docs/UserAllOf.md +1 -1
- data/docs/UserCreateBody.md +1 -1
- data/docs/UserMergeEventAllOfPayload.md +1 -1
- data/docs/UserUpdateBody.md +1 -1
- data/docs/WebUpdate.md +2 -0
- data/docs/WebUpdateAllOf.md +2 -0
- data/docs/Webview.md +1 -1
- data/docs/Whatsapp.md +0 -2
- data/docs/WhatsappAllOf.md +0 -2
- data/lib/sunshine-conversations-client/api/activities_api.rb +1 -1
- data/lib/sunshine-conversations-client/api/app_keys_api.rb +1 -1
- data/lib/sunshine-conversations-client/api/apps_api.rb +1 -1
- data/lib/sunshine-conversations-client/api/attachments_api.rb +1 -1
- data/lib/sunshine-conversations-client/api/clients_api.rb +1 -1
- data/lib/sunshine-conversations-client/api/conversations_api.rb +4 -4
- data/lib/sunshine-conversations-client/api/custom_integration_api_keys_api.rb +1 -1
- data/lib/sunshine-conversations-client/api/devices_api.rb +5 -5
- data/lib/sunshine-conversations-client/api/integrations_api.rb +1 -1
- data/lib/sunshine-conversations-client/api/messages_api.rb +1 -1
- data/lib/sunshine-conversations-client/api/o_auth_endpoints_api.rb +3 -1
- data/lib/sunshine-conversations-client/api/participants_api.rb +1 -1
- data/lib/sunshine-conversations-client/api/switchboard_actions_api.rb +1 -1
- data/lib/sunshine-conversations-client/api/switchboard_integrations_api.rb +1 -1
- data/lib/sunshine-conversations-client/api/switchboards_api.rb +1 -1
- data/lib/sunshine-conversations-client/api/users_api.rb +1 -1
- data/lib/sunshine-conversations-client/api/webhooks_api.rb +1 -1
- data/lib/sunshine-conversations-client/api_client.rb +1 -1
- data/lib/sunshine-conversations-client/api_error.rb +1 -1
- data/lib/sunshine-conversations-client/configuration.rb +1 -1
- data/lib/sunshine-conversations-client/models/accept_control_body.rb +2 -2
- data/lib/sunshine-conversations-client/models/action.rb +2 -3
- data/lib/sunshine-conversations-client/models/action_subset.rb +2 -3
- data/lib/sunshine-conversations-client/models/activity.rb +1 -1
- data/lib/sunshine-conversations-client/models/activity_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/activity_message.rb +1 -1
- data/lib/sunshine-conversations-client/models/activity_post.rb +1 -1
- data/lib/sunshine-conversations-client/models/activity_post_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/activity_types.rb +1 -1
- data/lib/sunshine-conversations-client/models/android.rb +13 -2
- data/lib/sunshine-conversations-client/models/android_all_of.rb +12 -2
- data/lib/sunshine-conversations-client/models/android_update.rb +12 -2
- data/lib/sunshine-conversations-client/models/android_update_all_of.rb +12 -2
- data/lib/sunshine-conversations-client/models/api_key.rb +1 -1
- data/lib/sunshine-conversations-client/models/app.rb +2 -3
- data/lib/sunshine-conversations-client/models/app_create_body.rb +2 -3
- data/lib/sunshine-conversations-client/models/app_key.rb +1 -1
- data/lib/sunshine-conversations-client/models/app_key_create_body.rb +1 -1
- data/lib/sunshine-conversations-client/models/app_key_list_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/app_key_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/app_list_filter.rb +1 -1
- data/lib/sunshine-conversations-client/models/app_list_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/app_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/app_settings.rb +1 -1
- data/lib/sunshine-conversations-client/models/app_sub_schema.rb +1 -1
- data/lib/sunshine-conversations-client/models/app_update_body.rb +2 -3
- data/lib/sunshine-conversations-client/models/apple.rb +2 -1
- data/lib/sunshine-conversations-client/models/apple_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/apple_message_override_payload.rb +1 -1
- data/lib/sunshine-conversations-client/models/apple_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/apple_update_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/attachment_delete_body.rb +1 -1
- data/lib/sunshine-conversations-client/models/attachment_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/attachment_schema.rb +2 -2
- data/lib/sunshine-conversations-client/models/attachment_upload_body.rb +1 -1
- data/lib/sunshine-conversations-client/models/author.rb +1 -1
- data/lib/sunshine-conversations-client/models/author_webhook.rb +1 -1
- data/lib/sunshine-conversations-client/models/buy.rb +2 -3
- data/lib/sunshine-conversations-client/models/campaign.rb +1 -1
- data/lib/sunshine-conversations-client/models/carousel_message.rb +1 -1
- data/lib/sunshine-conversations-client/models/carousel_message_display_settings.rb +1 -1
- data/lib/sunshine-conversations-client/models/client.rb +1 -1
- data/lib/sunshine-conversations-client/models/client_add_event.rb +1 -1
- data/lib/sunshine-conversations-client/models/client_add_event_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/client_add_event_all_of_payload.rb +1 -1
- data/lib/sunshine-conversations-client/models/client_association.rb +1 -1
- data/lib/sunshine-conversations-client/models/client_create.rb +1 -1
- data/lib/sunshine-conversations-client/models/client_list_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/client_remove_event.rb +1 -1
- data/lib/sunshine-conversations-client/models/client_remove_event_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/client_remove_event_all_of_payload.rb +1 -1
- data/lib/sunshine-conversations-client/models/client_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/client_type.rb +1 -1
- data/lib/sunshine-conversations-client/models/client_update_event.rb +1 -1
- data/lib/sunshine-conversations-client/models/client_update_event_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/client_update_event_all_of_payload.rb +1 -1
- data/lib/sunshine-conversations-client/models/confirmation.rb +1 -1
- data/lib/sunshine-conversations-client/models/content.rb +53 -3
- data/lib/sunshine-conversations-client/models/conversation.rb +2 -3
- data/lib/sunshine-conversations-client/models/conversation_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_create_body.rb +2 -3
- data/lib/sunshine-conversations-client/models/conversation_create_event.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_create_event_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_create_event_all_of_payload.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_join_event.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_join_event_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_join_event_all_of_payload.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_leave_event.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_leave_event_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_leave_event_all_of_payload.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_list_filter.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_list_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_message_delivery_channel_event.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_message_delivery_channel_event_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_message_delivery_failure_event.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_message_delivery_failure_event_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload_destination.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload_external_messages.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload_message.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_message_delivery_user_event.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_message_event.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_message_event_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_message_event_all_of_payload.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_postback_event.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_postback_event_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_postback_event_all_of_payload.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_read_event.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_read_event_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_read_event_all_of_payload.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_referral_event.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_referral_event_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_referral_event_all_of_payload.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_remove_event.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_remove_event_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_remove_event_all_of_payload.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_truncated.rb +2 -3
- data/lib/sunshine-conversations-client/models/conversation_type.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_typing_event.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_typing_event_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_typing_event_all_of_payload.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_update_body.rb +2 -3
- data/lib/sunshine-conversations-client/models/custom.rb +1 -1
- data/lib/sunshine-conversations-client/models/custom_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/custom_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/default_responder.rb +2 -1
- data/lib/sunshine-conversations-client/models/default_responder_default_responder.rb +12 -31
- data/lib/sunshine-conversations-client/models/default_responder_id.rb +1 -1
- data/lib/sunshine-conversations-client/models/destination.rb +1 -1
- data/lib/sunshine-conversations-client/models/device.rb +2 -3
- data/lib/sunshine-conversations-client/models/device_list_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/device_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/download_message_ref_body.rb +1 -1
- data/lib/sunshine-conversations-client/models/download_message_ref_body_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/download_message_ref_body_all_of_apple.rb +1 -1
- data/lib/sunshine-conversations-client/models/download_message_ref_body_all_of_apple_interactive_data_ref.rb +1 -1
- data/lib/sunshine-conversations-client/models/error.rb +214 -0
- data/lib/sunshine-conversations-client/models/error_response.rb +203 -0
- data/lib/sunshine-conversations-client/models/event_sub_schema.rb +1 -1
- data/lib/sunshine-conversations-client/models/extra_channel_options.rb +1 -1
- data/lib/sunshine-conversations-client/models/extra_channel_options_messenger.rb +1 -1
- data/lib/sunshine-conversations-client/models/field.rb +1 -1
- data/lib/sunshine-conversations-client/models/file_message.rb +53 -3
- data/lib/sunshine-conversations-client/models/form_message.rb +1 -1
- data/lib/sunshine-conversations-client/models/form_message_field.rb +1 -1
- data/lib/sunshine-conversations-client/models/form_message_field_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/form_response_message.rb +1 -1
- data/lib/sunshine-conversations-client/models/form_response_message_field.rb +1 -1
- data/lib/sunshine-conversations-client/models/form_response_message_field_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/identity.rb +1 -1
- data/lib/sunshine-conversations-client/models/image_message.rb +54 -4
- data/lib/sunshine-conversations-client/models/inline_object.rb +1 -1
- data/lib/sunshine-conversations-client/models/instagram.rb +4 -11
- data/lib/sunshine-conversations-client/models/instagram_all_of.rb +3 -11
- data/lib/sunshine-conversations-client/models/instagram_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/instagram_update_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/integration.rb +1 -1
- data/lib/sunshine-conversations-client/models/integration_api_key.rb +1 -1
- data/lib/sunshine-conversations-client/models/integration_api_key_list_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/integration_api_key_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/integration_id.rb +1 -1
- data/lib/sunshine-conversations-client/models/integration_list_filter.rb +1 -1
- data/lib/sunshine-conversations-client/models/integration_list_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/integration_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/integration_type.rb +1 -1
- data/lib/sunshine-conversations-client/models/integration_update.rb +12 -2
- data/lib/sunshine-conversations-client/models/integration_update_base.rb +1 -1
- data/lib/sunshine-conversations-client/models/ios.rb +13 -2
- data/lib/sunshine-conversations-client/models/ios_all_of.rb +12 -2
- data/lib/sunshine-conversations-client/models/ios_update.rb +12 -2
- data/lib/sunshine-conversations-client/models/ios_update_all_of.rb +12 -2
- data/lib/sunshine-conversations-client/models/item.rb +2 -3
- data/lib/sunshine-conversations-client/models/line.rb +2 -1
- data/lib/sunshine-conversations-client/models/line_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/line_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/link.rb +2 -3
- data/lib/sunshine-conversations-client/models/links.rb +1 -1
- data/lib/sunshine-conversations-client/models/list_message.rb +1 -1
- data/lib/sunshine-conversations-client/models/location_message.rb +1 -1
- data/lib/sunshine-conversations-client/models/location_message_coordinates.rb +1 -1
- data/lib/sunshine-conversations-client/models/location_message_location.rb +1 -1
- data/lib/sunshine-conversations-client/models/location_request.rb +2 -3
- data/lib/sunshine-conversations-client/models/mailgun.rb +3 -10
- data/lib/sunshine-conversations-client/models/mailgun_all_of.rb +2 -10
- data/lib/sunshine-conversations-client/models/mailgun_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/mailgun_update_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/match_criteria.rb +1 -1
- data/lib/sunshine-conversations-client/models/match_criteria_base.rb +1 -1
- data/lib/sunshine-conversations-client/models/match_criteria_mailgun.rb +1 -1
- data/lib/sunshine-conversations-client/models/match_criteria_mailgun_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/match_criteria_messagebird.rb +1 -1
- data/lib/sunshine-conversations-client/models/match_criteria_messagebird_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/match_criteria_twilio.rb +1 -1
- data/lib/sunshine-conversations-client/models/match_criteria_twilio_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/match_criteria_whatsapp.rb +1 -1
- data/lib/sunshine-conversations-client/models/match_criteria_whatsapp_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/message.rb +2 -2
- data/lib/sunshine-conversations-client/models/message_bird_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/message_list_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/message_override.rb +1 -1
- data/lib/sunshine-conversations-client/models/message_override_apple.rb +1 -1
- data/lib/sunshine-conversations-client/models/message_override_line.rb +1 -1
- data/lib/sunshine-conversations-client/models/message_override_messenger.rb +1 -1
- data/lib/sunshine-conversations-client/models/message_override_payload.rb +1 -1
- data/lib/sunshine-conversations-client/models/message_override_whatsapp.rb +1 -1
- data/lib/sunshine-conversations-client/models/message_post.rb +2 -3
- data/lib/sunshine-conversations-client/models/message_post_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/message_webhook.rb +2 -2
- data/lib/sunshine-conversations-client/models/messagebird.rb +4 -19
- data/lib/sunshine-conversations-client/models/messagebird_all_of.rb +3 -19
- data/lib/sunshine-conversations-client/models/messenger.rb +4 -11
- data/lib/sunshine-conversations-client/models/messenger_all_of.rb +3 -11
- data/lib/sunshine-conversations-client/models/messenger_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/meta.rb +1 -1
- data/lib/sunshine-conversations-client/models/offer_control_body.rb +2 -2
- data/lib/sunshine-conversations-client/models/page.rb +1 -1
- data/lib/sunshine-conversations-client/models/participant.rb +1 -1
- data/lib/sunshine-conversations-client/models/participant_join_body.rb +1 -1
- data/lib/sunshine-conversations-client/models/participant_leave_body.rb +1 -1
- data/lib/sunshine-conversations-client/models/participant_leave_body_participant_id.rb +1 -1
- data/lib/sunshine-conversations-client/models/participant_leave_body_user_external_id.rb +1 -1
- data/lib/sunshine-conversations-client/models/participant_leave_body_user_id.rb +1 -1
- data/lib/sunshine-conversations-client/models/participant_list_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/participant_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/participant_sub_schema.rb +1 -1
- data/lib/sunshine-conversations-client/models/participant_with_user_external_id.rb +1 -1
- data/lib/sunshine-conversations-client/models/participant_with_user_id.rb +1 -1
- data/lib/sunshine-conversations-client/models/pass_control_body.rb +2 -2
- data/lib/sunshine-conversations-client/models/postback.rb +2 -3
- data/lib/sunshine-conversations-client/models/postback_webhook.rb +2 -3
- data/lib/sunshine-conversations-client/models/prechat_capture.rb +1 -1
- data/lib/sunshine-conversations-client/models/profile.rb +1 -1
- data/lib/sunshine-conversations-client/models/quoted_message.rb +1 -1
- data/lib/sunshine-conversations-client/models/quoted_message_external_message_id.rb +1 -1
- data/lib/sunshine-conversations-client/models/quoted_message_message.rb +1 -1
- data/lib/sunshine-conversations-client/models/referral.rb +1 -1
- data/lib/sunshine-conversations-client/models/referral_details.rb +1 -1
- data/lib/sunshine-conversations-client/models/reply.rb +2 -3
- data/lib/sunshine-conversations-client/models/source.rb +1 -1
- data/lib/sunshine-conversations-client/models/source_webhook.rb +1 -1
- data/lib/sunshine-conversations-client/models/source_with_campaign_webhook.rb +1 -1
- data/lib/sunshine-conversations-client/models/source_with_campaign_webhook_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/status.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_accept_control.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_accept_control_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_accept_control_all_of_payload.rb +2 -3
- data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure_all_of_payload.rb +2 -3
- data/lib/sunshine-conversations-client/models/switchboard_integration.rb +2 -1
- data/lib/sunshine-conversations-client/models/switchboard_integration_create_body.rb +2 -1
- data/lib/sunshine-conversations-client/models/switchboard_integration_list_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_integration_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_integration_update_body.rb +2 -1
- data/lib/sunshine-conversations-client/models/switchboard_integration_webhook.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_list_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_offer_control.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_offer_control_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_offer_control_all_of_payload.rb +2 -3
- data/lib/sunshine-conversations-client/models/switchboard_offer_control_failure.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_pass_control.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_pass_control_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_pass_control_all_of_payload.rb +2 -3
- data/lib/sunshine-conversations-client/models/switchboard_pass_control_failure.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_update_body.rb +1 -1
- data/lib/sunshine-conversations-client/models/target.rb +1 -1
- data/lib/sunshine-conversations-client/models/telegram.rb +3 -10
- data/lib/sunshine-conversations-client/models/telegram_all_of.rb +2 -10
- data/lib/sunshine-conversations-client/models/telegram_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/template_message.rb +1 -1
- data/lib/sunshine-conversations-client/models/text_message.rb +53 -3
- data/lib/sunshine-conversations-client/models/ticket_closed.rb +1 -1
- data/lib/sunshine-conversations-client/models/transfer_to_email.rb +1 -1
- data/lib/sunshine-conversations-client/models/twilio.rb +3 -10
- data/lib/sunshine-conversations-client/models/twilio_all_of.rb +2 -10
- data/lib/sunshine-conversations-client/models/twilio_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/twitter.rb +4 -19
- data/lib/sunshine-conversations-client/models/twitter_all_of.rb +3 -19
- data/lib/sunshine-conversations-client/models/twitter_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/unity.rb +13 -2
- data/lib/sunshine-conversations-client/models/unity_all_of.rb +12 -2
- data/lib/sunshine-conversations-client/models/unity_update.rb +12 -2
- data/lib/sunshine-conversations-client/models/unity_update_all_of.rb +12 -2
- data/lib/sunshine-conversations-client/models/user.rb +2 -2
- data/lib/sunshine-conversations-client/models/user_all_of.rb +2 -2
- data/lib/sunshine-conversations-client/models/user_create_body.rb +2 -3
- data/lib/sunshine-conversations-client/models/user_merge_event.rb +1 -1
- data/lib/sunshine-conversations-client/models/user_merge_event_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload.rb +2 -2
- data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload_merged_clients.rb +1 -1
- data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload_merged_conversations.rb +1 -1
- data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload_merged_users.rb +1 -1
- data/lib/sunshine-conversations-client/models/user_remove_event.rb +1 -1
- data/lib/sunshine-conversations-client/models/user_remove_event_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/user_remove_event_all_of_payload.rb +1 -1
- data/lib/sunshine-conversations-client/models/user_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/user_truncated.rb +1 -1
- data/lib/sunshine-conversations-client/models/user_update_body.rb +2 -3
- data/lib/sunshine-conversations-client/models/user_update_event.rb +1 -1
- data/lib/sunshine-conversations-client/models/user_update_event_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/user_update_event_all_of_payload.rb +1 -1
- data/lib/sunshine-conversations-client/models/viber.rb +3 -10
- data/lib/sunshine-conversations-client/models/viber_all_of.rb +2 -10
- data/lib/sunshine-conversations-client/models/viber_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/web.rb +2 -1
- data/lib/sunshine-conversations-client/models/web_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/web_update.rb +12 -2
- data/lib/sunshine-conversations-client/models/web_update_all_of.rb +12 -2
- data/lib/sunshine-conversations-client/models/webhook.rb +1 -1
- data/lib/sunshine-conversations-client/models/webhook_body.rb +1 -1
- data/lib/sunshine-conversations-client/models/webhook_create_body.rb +1 -1
- data/lib/sunshine-conversations-client/models/webhook_list_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/webhook_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/webhook_sub_schema.rb +1 -1
- data/lib/sunshine-conversations-client/models/webview.rb +2 -3
- data/lib/sunshine-conversations-client/models/whats_app_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/whats_app_update_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/whatsapp.rb +3 -17
- data/lib/sunshine-conversations-client/models/whatsapp_all_of.rb +2 -17
- data/lib/sunshine-conversations-client/version.rb +2 -2
- data/lib/sunshine-conversations-client.rb +3 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/sunshine-conversations-client.gemspec +1 -1
- metadata +6 -2
data/docs/IosUpdate.md
CHANGED
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
10
10
|
**password** | **String** | The password for your APN certificate. | [optional]
|
11
11
|
**production** | **Boolean** | The APN environment to connect to (Production, if true, or Sandbox). Defaults to value inferred from certificate if not specified. | [optional]
|
12
12
|
**auto_update_badge** | **Boolean** | Use the unread count of the conversation as the application badge. | [optional]
|
13
|
+
**can_user_see_conversation_list** | **Boolean** | Allows users to view their list of conversations. By default, the list of conversations will be visible. *This setting only applies to apps where `settings.multiConvoEnabled` is set to `true`*. | [optional]
|
13
14
|
**can_user_create_more_conversations** | **Boolean** | Allows users to create more than one conversation on the iOS integration. | [optional]
|
14
15
|
|
15
16
|
## Code Sample
|
@@ -23,6 +24,7 @@ instance = SunshineConversationsClient::IosUpdate.new(display_name: My awesome i
|
|
23
24
|
password: your_APN_password,
|
24
25
|
production: null,
|
25
26
|
auto_update_badge: null,
|
27
|
+
can_user_see_conversation_list: false,
|
26
28
|
can_user_create_more_conversations: null)
|
27
29
|
```
|
28
30
|
|
data/docs/IosUpdateAllOf.md
CHANGED
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**password** | **String** | The password for your APN certificate. | [optional]
|
9
9
|
**production** | **Boolean** | The APN environment to connect to (Production, if true, or Sandbox). Defaults to value inferred from certificate if not specified. | [optional]
|
10
10
|
**auto_update_badge** | **Boolean** | Use the unread count of the conversation as the application badge. | [optional]
|
11
|
+
**can_user_see_conversation_list** | **Boolean** | Allows users to view their list of conversations. By default, the list of conversations will be visible. *This setting only applies to apps where `settings.multiConvoEnabled` is set to `true`*. | [optional]
|
11
12
|
**can_user_create_more_conversations** | **Boolean** | Allows users to create more than one conversation on the iOS integration. | [optional]
|
12
13
|
|
13
14
|
## Code Sample
|
@@ -19,6 +20,7 @@ instance = SunshineConversationsClient::IosUpdateAllOf.new(certificate: your_APN
|
|
19
20
|
password: your_APN_password,
|
20
21
|
production: null,
|
21
22
|
auto_update_badge: null,
|
23
|
+
can_user_see_conversation_list: false,
|
22
24
|
can_user_create_more_conversations: null)
|
23
25
|
```
|
24
26
|
|
data/docs/Item.md
CHANGED
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
**alt_text** | **String** | An optional description of the media for accessibility purposes. The field will be saved by default with the file name as the value. | [optional]
|
12
12
|
**size** | **String** | The size of the image. | [optional]
|
13
13
|
**actions** | [**Array<ActionSubset>**](ActionSubset.md) | An array of objects representing the actions associated with the item. |
|
14
|
-
**metadata** |
|
14
|
+
**metadata** | **Hash<String, Object>** | Flat object containing custom properties. Strings, numbers and booleans are the only supported format that can be passed to metadata. The metadata is limited to 4KB in size. | [optional]
|
15
15
|
|
16
16
|
## Code Sample
|
17
17
|
|
data/docs/Link.md
CHANGED
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**uri** | **String** | The action URI. This is the link that will be used in the clients when clicking the button. |
|
9
9
|
**text** | **String** | The button text. |
|
10
10
|
**default** | **Boolean** | Boolean value indicating whether the action is the default action for a message item in Facebook Messenger. | [optional]
|
11
|
-
**metadata** |
|
11
|
+
**metadata** | **Hash<String, Object>** | Flat object containing custom properties. Strings, numbers and booleans are the only supported format that can be passed to metadata. The metadata is limited to 4KB in size. | [optional]
|
12
12
|
**extra_channel_options** | [**ExtraChannelOptions**](ExtraChannelOptions.md) | | [optional]
|
13
13
|
|
14
14
|
## Code Sample
|
data/docs/LocationRequest.md
CHANGED
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**type** | **String** | The type of action. | [default to 'locationRequest']
|
8
8
|
**text** | **String** | The button text. |
|
9
|
-
**metadata** |
|
9
|
+
**metadata** | **Hash<String, Object>** | 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]
|
10
10
|
|
11
11
|
## Code Sample
|
12
12
|
|
data/docs/Message.md
CHANGED
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
**content** | [**Content**](Content.md) | The content of the message. | [optional]
|
12
12
|
**source** | [**Source**](Source.md) | | [optional]
|
13
13
|
**quoted_message** | [**QuotedMessage**](QuotedMessage.md) | The quoted message is currently only available for WhatsApp and Web Messenger `formResponse` messages. | [optional]
|
14
|
-
**metadata** | **
|
14
|
+
**metadata** | **Hash** | | [optional]
|
15
15
|
**deleted** | **Boolean** | true if the message serves as a placeholder for one that has been deleted. | [optional]
|
16
16
|
|
17
17
|
## Code Sample
|
data/docs/MessagePost.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**author** | [**Author**](Author.md) | The author of the message. |
|
8
8
|
**content** | [**Content**](Content.md) | The content of the message. |
|
9
9
|
**destination** | [**Destination**](Destination.md) | | [optional]
|
10
|
-
**metadata** |
|
10
|
+
**metadata** | **Hash<String, Object>** | 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
12
|
**schema** | **String** | When `schema` is set to `\"whatsapp\"`, the `content` key is expected to conform to the [native WhatsApp schema](https://developers.facebook.com/docs/whatsapp/api/messages/message-templates) for sending message templates. For more details, consult the documentation for [sending message templates on WhatsApp](https://docs.smooch.io/guide/whatsapp/#sending-message-templates). | [optional]
|
13
13
|
|
data/docs/MessageWebhook.md
CHANGED
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
10
10
|
**content** | [**Content**](Content.md) | The content of the message. | [optional]
|
11
11
|
**source** | [**Source**](Source.md) | | [optional]
|
12
12
|
**quoted_message** | [**QuotedMessage**](QuotedMessage.md) | The quoted message is currently only available for WhatsApp and Web Messenger `formResponse` messages. | [optional]
|
13
|
-
**metadata** | **
|
13
|
+
**metadata** | **Hash** | | [optional]
|
14
14
|
**deleted** | **Boolean** | true if the message serves as a placeholder for one that has been deleted. | [optional]
|
15
15
|
|
16
16
|
## Code Sample
|
data/docs/OAuthEndpointsApi.md
CHANGED
data/docs/OfferControlBody.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**switchboard_integration** | **String** | The id or the name of the switchboard integration that will become pending. Also supports the `next` keyword to offer control to the next switchboard integration designated in the switchboard hierarchy configuration. This cannot match the active switchboard integration. |
|
8
|
-
**metadata** | **
|
8
|
+
**metadata** | **Hash** | 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. The metadata object will be included in the `switchboard:offerControl` and `switchboard:offerControl:failure` webhooks. | [optional]
|
9
9
|
|
10
10
|
## Code Sample
|
11
11
|
|
data/docs/ParticipantsApi.md
CHANGED
@@ -37,7 +37,7 @@ end
|
|
37
37
|
api_instance = SunshineConversationsClient::ParticipantsApi.new
|
38
38
|
app_id = '5d8cff3cd55b040010928b5b' # String | Identifies the app.
|
39
39
|
conversation_id = '029c31f25a21b47effd7be90' # String | Identifies the conversation.
|
40
|
-
participant_join_body =
|
40
|
+
participant_join_body = {"userId":"67a11490f0305f4a391e9f8a","subscribeSDKClient":true} # ParticipantJoinBody |
|
41
41
|
# Be sure to add the required body parameters
|
42
42
|
|
43
43
|
begin
|
@@ -99,7 +99,7 @@ end
|
|
99
99
|
api_instance = SunshineConversationsClient::ParticipantsApi.new
|
100
100
|
app_id = '5d8cff3cd55b040010928b5b' # String | Identifies the app.
|
101
101
|
conversation_id = '029c31f25a21b47effd7be90' # String | Identifies the conversation.
|
102
|
-
participant_leave_body =
|
102
|
+
participant_leave_body = {"userId":"67a11490f0305f4a391e9f8a"} # ParticipantLeaveBody |
|
103
103
|
# Be sure to add the required body parameters
|
104
104
|
|
105
105
|
begin
|
data/docs/PassControlBody.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**switchboard_integration** | **String** | The id or the name of the switchboard integration that will become active. May also use the `next` keyword to transfer control to the next switchboard integration designated in the switchboard hierarchy configuration |
|
8
|
-
**metadata** | **
|
8
|
+
**metadata** | **Hash** | 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. The metadata object will be included in the `switchboard:passControl` webhook. | [optional]
|
9
9
|
|
10
10
|
## Code Sample
|
11
11
|
|
data/docs/Postback.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**type** | **String** | The type of action. | [default to 'postback']
|
8
8
|
**text** | **String** | The button text. |
|
9
9
|
**payload** | **String** | The payload of a postback or reply button. |
|
10
|
-
**metadata** |
|
10
|
+
**metadata** | **Hash<String, Object>** | 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
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/PostbackWebhook.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**payload** | **String** | The payload associated with the postback. | [optional]
|
8
|
-
**metadata** |
|
8
|
+
**metadata** | **Hash<String, Object>** | 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]
|
9
9
|
|
10
10
|
## Code Sample
|
11
11
|
|
data/docs/Reply.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**type** | **String** | The type of action. |
|
8
8
|
**text** | **String** | The button text. We recommend a non-empty value because some channels may not support empty ones. Text longer than 20 characters will be truncated on Facebook Messenger, and longer than 40 characters will be truncated on Web Messenger, iOS, and Android. |
|
9
9
|
**payload** | **String** | A string payload to help you identify the action context. Used when posting the reply. You can also use metadata for more complex needs. |
|
10
|
-
**metadata** |
|
10
|
+
**metadata** | **Hash<String, Object>** | 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
|
**icon_url** | **String** | An icon to render next to the reply option. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
@@ -5,7 +5,7 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**conversation** | [**ConversationTruncated**](ConversationTruncated.md) | The conversation from which the switchboard event was fired. Will include an `activeSwitchboardIntegration` representing the integration that has just accepted control. | [optional]
|
8
|
-
**metadata** |
|
8
|
+
**metadata** | **Hash<String, Object>** | 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]
|
9
9
|
|
10
10
|
## Code Sample
|
11
11
|
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**error** | [**Object**](.md) | Object containing details of what went wrong. | [optional]
|
8
8
|
**conversation** | [**ConversationTruncated**](ConversationTruncated.md) | The conversation from which the switchboard event was fired. | [optional]
|
9
|
-
**metadata** |
|
9
|
+
**metadata** | **Hash<String, Object>** | 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]
|
10
10
|
|
11
11
|
## Code Sample
|
12
12
|
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**integration_id** | **String** | The id of the integration to link to the switchboard integration. Must be used when linking a custom integration. One of `integrationId` or `integrationType` must be provided. | [optional]
|
9
9
|
**integration_type** | **String** | The type of the integration to link to the switchboard integration. Must be used when linking an OAuth integration. One of `integrationId` or `integrationType` must be provided. | [optional]
|
10
10
|
**deliver_standby_events** | **Boolean** | | [optional]
|
11
|
-
**next_switchboard_integration_id** | **String** |
|
11
|
+
**next_switchboard_integration_id** | **String** | The switchboard integration id to which control of a conversation is passed / offered by default. | [optional]
|
12
12
|
**message_history_count** | **Integer** | Number of messages to include in the message history context. | [optional]
|
13
13
|
|
14
14
|
## Code Sample
|
@@ -20,7 +20,7 @@ instance = SunshineConversationsClient::SwitchboardIntegrationCreateBody.new(nam
|
|
20
20
|
integration_id: null,
|
21
21
|
integration_type: null,
|
22
22
|
deliver_standby_events: null,
|
23
|
-
next_switchboard_integration_id:
|
23
|
+
next_switchboard_integration_id: 5ef21b86e933b7355c11c606,
|
24
24
|
message_history_count: 5)
|
25
25
|
```
|
26
26
|
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**integration_id** | **String** | The id of the integration to link to the switchboard integration. Must be used when linking a custom integration. Can't provide both `integrationId` and `integrationType`. | [optional]
|
9
9
|
**integration_type** | **String** | The type of the integration to link to the switchboard integration. Must be used when linking an OAuth integration. Can't provide both `integrationId` and `integrationType`. | [optional]
|
10
10
|
**deliver_standby_events** | **Boolean** | Setting to determine if webhooks should be sent when the switchboard integration is not in control of a conversation (standby status) | [optional]
|
11
|
-
**next_switchboard_integration_id** | **String** |
|
11
|
+
**next_switchboard_integration_id** | **String** | The switchboard integration id to which control of a conversation is passed / offered by default. | [optional]
|
12
12
|
**message_history_count** | **Integer** | Number of messages to include in the message history context. | [optional]
|
13
13
|
|
14
14
|
## Code Sample
|
@@ -20,7 +20,7 @@ instance = SunshineConversationsClient::SwitchboardIntegrationUpdateBody.new(nam
|
|
20
20
|
integration_id: null,
|
21
21
|
integration_type: null,
|
22
22
|
deliver_standby_events: null,
|
23
|
-
next_switchboard_integration_id:
|
23
|
+
next_switchboard_integration_id: 5ef21b86e933b7355c11c606,
|
24
24
|
message_history_count: 5)
|
25
25
|
```
|
26
26
|
|
@@ -223,7 +223,7 @@ api_instance = SunshineConversationsClient::SwitchboardIntegrationsApi.new
|
|
223
223
|
app_id = '5d8cff3cd55b040010928b5b' # String | Identifies the app.
|
224
224
|
switchboard_id = '5d8cff3cd55b040010928b5b' # String | Identifies the switchboard.
|
225
225
|
switchboard_integration_id = '5d8cff3cd55b040010928b5b' # String | Identifies the switchboard integration.
|
226
|
-
switchboard_integration_update_body = {"
|
226
|
+
switchboard_integration_update_body = {"deliverStandbyEvents":true,"nextSwitchboardIntegrationId":"5ef21b86e933b7355c11c606","messageHistoryCount":5} # SwitchboardIntegrationUpdateBody |
|
227
227
|
# Be sure to add the required body parameters
|
228
228
|
|
229
229
|
begin
|
@@ -5,7 +5,7 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**conversation** | [**ConversationTruncated**](ConversationTruncated.md) | The conversation from which the switchboard event was fired. On success, the payload will include an `activeSwitchboardIntegration`, representing the integration from which control is being offered, and a `pendingSwitchboardIntegration`, representing the integration being offered control. | [optional]
|
8
|
-
**metadata** |
|
8
|
+
**metadata** | **Hash<String, Object>** | 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]
|
9
9
|
|
10
10
|
## Code Sample
|
11
11
|
|
@@ -5,7 +5,7 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**conversation** | [**ConversationTruncated**](ConversationTruncated.md) | The conversation from which the switchboard event was fired. On success, the payload will include an `activeSwitchboardIntegration`, representing the switchboard integration that is now in control of the conversation. | [optional]
|
8
|
-
**metadata** |
|
8
|
+
**metadata** | **Hash<String, Object>** | 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]
|
9
9
|
|
10
10
|
## Code Sample
|
11
11
|
|
data/docs/TextMessage.md
CHANGED
@@ -5,7 +5,9 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**type** | **String** | The type of message. | [default to 'text']
|
8
|
-
**text** | **String** | The text content of the message.
|
8
|
+
**text** | **String** | The text content of the message. Required unless `actions`, `htmlText` or `markdownText` is provided. | [optional]
|
9
|
+
**html_text** | **String** | HTML text content of the message. Can be provided in place of `text`. Cannot be used with `markdownText`. If no `text` is provided, will be converted to `text` upon reception to be displayed on channels that do not support rich text. See [rich text](https://docs.smooch.io/guide/structured-messages/rich-text) documentation for more information. | [optional]
|
10
|
+
**markdown_text** | **String** | Markdown text content of the message. Can be provided in place of `text`. Cannot be used with `htmlText`. Will be converted to `htmlText` upon reception. If converted `htmlText` exceeds 4096 characters, the message will be rejected. If no `text` is provided, will be converted to `text` upon reception to be displayed on channels that do not support rich text. See [rich text](https://docs.smooch.io/guide/structured-messages/rich-text) documentation for more information. | [optional]
|
9
11
|
**actions** | [**Array<Action>**](Action.md) | Array of message actions. | [optional]
|
10
12
|
**payload** | **String** | The payload of a [reply button](https://docs.smooch.io/guide/structured-messages/#reply-buttons) response message. | [optional]
|
11
13
|
|
@@ -16,6 +18,8 @@ require 'SunshineConversationsClient'
|
|
16
18
|
|
17
19
|
instance = SunshineConversationsClient::TextMessage.new(type: null,
|
18
20
|
text: Hello!,
|
21
|
+
html_text: <h1>Hello!</h1>,
|
22
|
+
markdown_text: # Hello!,
|
19
23
|
actions: null,
|
20
24
|
payload: null)
|
21
25
|
```
|
data/docs/Unity.md
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**type** | **String** | To configure a Unity integration, create an integration with type 'unity' by calling the Create Integration endpoint. | [optional] [default to 'unity']
|
8
|
+
**can_user_see_conversation_list** | **Boolean** | Allows users to view their list of conversations. By default, the list of conversations will be visible. *This setting only applies to apps where `settings.multiConvoEnabled` is set to `true`*. | [optional]
|
8
9
|
**can_user_create_more_conversations** | **Boolean** | Allows users to create more than one conversation on the Unity integration. | [optional]
|
9
10
|
**attachments_enabled** | **Boolean** | Allows users to send attachments. By default, the setting is set to true. This setting can only be configured in Zendesk Admin Center. | [optional] [readonly]
|
10
11
|
**default_responder_id** | **String** | The default responder ID for the integration. This is the ID of the responder that will be used to send messages to the user. For more information, refer to <a href=\"https://docs.smooch.io/guide/switchboard/#per-channel-default-responder\">Per-channel default responder</a> guide. | [optional]
|
@@ -16,6 +17,7 @@ Name | Type | Description | Notes
|
|
16
17
|
require 'SunshineConversationsClient'
|
17
18
|
|
18
19
|
instance = SunshineConversationsClient::Unity.new(type: null,
|
20
|
+
can_user_see_conversation_list: false,
|
19
21
|
can_user_create_more_conversations: null,
|
20
22
|
attachments_enabled: null,
|
21
23
|
default_responder_id: null,
|
data/docs/UnityAllOf.md
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**type** | **String** | To configure a Unity integration, create an integration with type 'unity' by calling the Create Integration endpoint. | [optional] [default to 'unity']
|
8
|
+
**can_user_see_conversation_list** | **Boolean** | Allows users to view their list of conversations. By default, the list of conversations will be visible. *This setting only applies to apps where `settings.multiConvoEnabled` is set to `true`*. | [optional]
|
8
9
|
**can_user_create_more_conversations** | **Boolean** | Allows users to create more than one conversation on the Unity integration. | [optional]
|
9
10
|
**attachments_enabled** | **Boolean** | Allows users to send attachments. By default, the setting is set to true. This setting can only be configured in Zendesk Admin Center. | [optional] [readonly]
|
10
11
|
|
@@ -14,6 +15,7 @@ Name | Type | Description | Notes
|
|
14
15
|
require 'SunshineConversationsClient'
|
15
16
|
|
16
17
|
instance = SunshineConversationsClient::UnityAllOf.new(type: null,
|
18
|
+
can_user_see_conversation_list: false,
|
17
19
|
can_user_create_more_conversations: null,
|
18
20
|
attachments_enabled: null)
|
19
21
|
```
|
data/docs/UnityUpdate.md
CHANGED
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**display_name** | **String** | A human-friendly name used to identify the integration. `displayName` can be unset by changing it to `null`. | [optional]
|
8
8
|
**default_responder_id** | **String** | The default responder ID for the integration. This is the ID of the responder that will be used to send messages to the user. For more information, refer to <a href=\"https://docs.smooch.io/guide/switchboard/#per-channel-default-responder\">Per-channel default responder</a> guide. | [optional]
|
9
|
+
**can_user_see_conversation_list** | **Boolean** | Allows users to view their list of conversations. By default, the list of conversations will be visible. *This setting only applies to apps where `settings.multiConvoEnabled` is set to `true`*. | [optional]
|
9
10
|
**can_user_create_more_conversations** | **Boolean** | Allows users to create more than one conversation on the Unity integration. | [optional]
|
10
11
|
|
11
12
|
## Code Sample
|
@@ -15,6 +16,7 @@ require 'SunshineConversationsClient'
|
|
15
16
|
|
16
17
|
instance = SunshineConversationsClient::UnityUpdate.new(display_name: My awesome integration,
|
17
18
|
default_responder_id: null,
|
19
|
+
can_user_see_conversation_list: false,
|
18
20
|
can_user_create_more_conversations: null)
|
19
21
|
```
|
20
22
|
|
data/docs/UnityUpdateAllOf.md
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**can_user_see_conversation_list** | **Boolean** | Allows users to view their list of conversations. By default, the list of conversations will be visible. *This setting only applies to apps where `settings.multiConvoEnabled` is set to `true`*. | [optional]
|
7
8
|
**can_user_create_more_conversations** | **Boolean** | Allows users to create more than one conversation on the Unity integration. | [optional]
|
8
9
|
|
9
10
|
## Code Sample
|
@@ -11,7 +12,8 @@ Name | Type | Description | Notes
|
|
11
12
|
```ruby
|
12
13
|
require 'SunshineConversationsClient'
|
13
14
|
|
14
|
-
instance = SunshineConversationsClient::UnityUpdateAllOf.new(
|
15
|
+
instance = SunshineConversationsClient::UnityUpdateAllOf.new(can_user_see_conversation_list: false,
|
16
|
+
can_user_create_more_conversations: null)
|
15
17
|
```
|
16
18
|
|
17
19
|
|
data/docs/User.md
CHANGED
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**signed_up_at** | **String** | | [optional]
|
10
10
|
**to_be_retained** | **Boolean** | | [optional]
|
11
11
|
**profile** | [**Profile**](Profile.md) | | [optional]
|
12
|
-
**metadata** | **
|
12
|
+
**metadata** | **Hash** | | [optional]
|
13
13
|
**identities** | [**Array<Identity>**](Identity.md) | The user's connected identities. | [optional] [readonly]
|
14
14
|
|
15
15
|
## Code Sample
|
data/docs/UserAllOf.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**signed_up_at** | **String** | | [optional]
|
8
8
|
**to_be_retained** | **Boolean** | | [optional]
|
9
9
|
**profile** | [**Profile**](Profile.md) | | [optional]
|
10
|
-
**metadata** | **
|
10
|
+
**metadata** | **Hash** | | [optional]
|
11
11
|
**identities** | [**Array<Identity>**](Identity.md) | The user's connected identities. | [optional] [readonly]
|
12
12
|
|
13
13
|
## Code Sample
|
data/docs/UserCreateBody.md
CHANGED
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**signed_up_at** | **String** | The date at which the user signed up. Must be ISO 8601 time format `YYYY-MM-DDThh:mm:ss.sssZ`. | [optional]
|
9
9
|
**to_be_retained** | **Boolean** | Flag indicating whether a user should be retained after they have passed their inactive expiry. See [creating deletion schedules for bot-only conversations](https://support.zendesk.com/hc/en-us/articles/8499219792154) for more information. | [optional]
|
10
10
|
**profile** | [**Profile**](Profile.md) | | [optional]
|
11
|
-
**metadata** |
|
11
|
+
**metadata** | **Hash<String, Object>** | Flat object containing custom properties. Strings, numbers and booleans are the only supported format that can be passed to metadata. The metadata is limited to 4KB in size. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**merged_users** | [**UserMergeEventAllOfPayloadMergedUsers**](UserMergeEventAllOfPayloadMergedUsers.md) | | [optional]
|
8
8
|
**merged_conversations** | [**UserMergeEventAllOfPayloadMergedConversations**](UserMergeEventAllOfPayloadMergedConversations.md) | | [optional]
|
9
9
|
**merged_clients** | [**UserMergeEventAllOfPayloadMergedClients**](UserMergeEventAllOfPayloadMergedClients.md) | | [optional]
|
10
|
-
**discarded_metadata** | **
|
10
|
+
**discarded_metadata** | **Hash** | A flat object with the set of metadata properties that were discarded when merging the two users. This should contain values only if the combined metadata fields exceed the 4KB limit. | [optional]
|
11
11
|
**reason** | **String** | The reason for which the users merged. * `api` - The users were merged using the API. * `channelLinking` - The users were merged as a result of initiating a channel link. * `sdkLogin` - The users were merged as a result of logging into an SDK device. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
data/docs/UserUpdateBody.md
CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**signed_up_at** | **String** | | [optional]
|
8
8
|
**to_be_retained** | **Boolean** | | [optional]
|
9
9
|
**profile** | [**Profile**](Profile.md) | | [optional]
|
10
|
-
**metadata** |
|
10
|
+
**metadata** | **Hash<String, Object>** | 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
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/WebUpdate.md
CHANGED
@@ -20,6 +20,7 @@ Name | Type | Description | Notes
|
|
20
20
|
**background_image_url** | **String** | A background image url for the conversation. Image will be tiled to fit the window. | [optional]
|
21
21
|
**origin_whitelist** | **Array<String>** | A list of origins to whitelist. When set, only the origins from this list will be able to initialize the Web Messenger. If unset, all origins are whitelisted. The elements in the list should follow the serialized-origin format from RFC 6454: scheme \"://\" host [ \":\" port ], where scheme is http or https. | [optional]
|
22
22
|
**prechat_capture** | [**PrechatCapture**](PrechatCapture.md) | Object whose properties can be set to specify the add-on’s options. See the [guide](https://docs.smooch.io/guide/web-messenger/#prechat-capture) to learn more about Prechat Capture. | [optional]
|
23
|
+
**can_user_see_conversation_list** | **Boolean** | Allows users to view their list of conversations. By default, the list of conversations will be visible. *This setting only applies to apps where `settings.multiConvoEnabled` is set to `true`*. | [optional]
|
23
24
|
**can_user_create_more_conversations** | **Boolean** | Allows users to create more than one conversation on the web messenger integration. | [optional]
|
24
25
|
|
25
26
|
## Code Sample
|
@@ -43,6 +44,7 @@ instance = SunshineConversationsClient::WebUpdate.new(display_name: My awesome i
|
|
43
44
|
background_image_url: https://a-beautiful-tile.png,
|
44
45
|
origin_whitelist: null,
|
45
46
|
prechat_capture: null,
|
47
|
+
can_user_see_conversation_list: false,
|
46
48
|
can_user_create_more_conversations: null)
|
47
49
|
```
|
48
50
|
|
data/docs/WebUpdateAllOf.md
CHANGED
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
|
|
18
18
|
**background_image_url** | **String** | A background image url for the conversation. Image will be tiled to fit the window. | [optional]
|
19
19
|
**origin_whitelist** | **Array<String>** | A list of origins to whitelist. When set, only the origins from this list will be able to initialize the Web Messenger. If unset, all origins are whitelisted. The elements in the list should follow the serialized-origin format from RFC 6454: scheme \"://\" host [ \":\" port ], where scheme is http or https. | [optional]
|
20
20
|
**prechat_capture** | [**PrechatCapture**](PrechatCapture.md) | Object whose properties can be set to specify the add-on’s options. See the [guide](https://docs.smooch.io/guide/web-messenger/#prechat-capture) to learn more about Prechat Capture. | [optional]
|
21
|
+
**can_user_see_conversation_list** | **Boolean** | Allows users to view their list of conversations. By default, the list of conversations will be visible. *This setting only applies to apps where `settings.multiConvoEnabled` is set to `true`*. | [optional]
|
21
22
|
**can_user_create_more_conversations** | **Boolean** | Allows users to create more than one conversation on the web messenger integration. | [optional]
|
22
23
|
|
23
24
|
## Code Sample
|
@@ -39,6 +40,7 @@ instance = SunshineConversationsClient::WebUpdateAllOf.new(brand_color: null,
|
|
39
40
|
background_image_url: https://a-beautiful-tile.png,
|
40
41
|
origin_whitelist: null,
|
41
42
|
prechat_capture: null,
|
43
|
+
can_user_see_conversation_list: false,
|
42
44
|
can_user_create_more_conversations: null)
|
43
45
|
```
|
44
46
|
|
data/docs/Webview.md
CHANGED
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**uri** | **String** | The webview URI. This is the URI that will open in the webview when clicking the button. |
|
9
9
|
**text** | **String** | The button text. |
|
10
10
|
**default** | **Boolean** | Boolean value indicating whether the action is the default action for a message item in Facebook Messenger. | [optional]
|
11
|
-
**metadata** |
|
11
|
+
**metadata** | **Hash<String, Object>** | Flat object containing custom properties. Strings, numbers and booleans are the only supported format that can be passed to metadata. The metadata is limited to 4KB in size. | [optional]
|
12
12
|
**extra_channel_options** | [**ExtraChannelOptions**](ExtraChannelOptions.md) | | [optional]
|
13
13
|
**size** | **String** | The size to display a webview. Used for actions of type webview. | [optional]
|
14
14
|
**fallback** | **String** | The fallback uri for channels that don’t support webviews. Used for actions of type webview. |
|
data/docs/Whatsapp.md
CHANGED
@@ -5,7 +5,6 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**type** | **String** | To configure a WhatsApp integration, use your WhatsApp API Client connection information. Sunshine Conversations can provide WhatsApp API Client hosting for approved brands. See our [WhatsApp guide](https://docs.smooch.io/guide/whatsapp/#whatsapp-api-client) for more details on WhatsApp API Client hosting. | [optional] [default to 'whatsapp']
|
8
|
-
**deployment_id** | **String** | The Id of the deployment. The integrationId and the appId will be added to the deployment. Additionally, the deployment’s status will be set to integrated. |
|
9
8
|
**hsm_fallback_language** | **String** | Specify a fallback language to use when sending WhatsApp message template using the short hand syntax. Defaults to en_US. See WhatsApp documentation for more info. | [optional] [default to 'en_US']
|
10
9
|
**account_id** | **String** | The business ID associated with the WhatsApp account. In combination with accountManagementAccessToken, it’s used for Message Template Reconstruction. | [optional]
|
11
10
|
**account_management_access_token** | **String** | An access token associated with the accountId used to query the WhatsApp Account Management API. In combination with accountId, it’s used for Message Template Reconstruction. | [optional]
|
@@ -19,7 +18,6 @@ Name | Type | Description | Notes
|
|
19
18
|
require 'SunshineConversationsClient'
|
20
19
|
|
21
20
|
instance = SunshineConversationsClient::Whatsapp.new(type: null,
|
22
|
-
deployment_id: 55c8d9758590aa1900b9b9aa,
|
23
21
|
hsm_fallback_language: null,
|
24
22
|
account_id: your_whatsApp_account_id,
|
25
23
|
account_management_access_token: your_access_token,
|
data/docs/WhatsappAllOf.md
CHANGED
@@ -5,7 +5,6 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**type** | **String** | To configure a WhatsApp integration, use your WhatsApp API Client connection information. Sunshine Conversations can provide WhatsApp API Client hosting for approved brands. See our [WhatsApp guide](https://docs.smooch.io/guide/whatsapp/#whatsapp-api-client) for more details on WhatsApp API Client hosting. | [optional] [default to 'whatsapp']
|
8
|
-
**deployment_id** | **String** | The Id of the deployment. The integrationId and the appId will be added to the deployment. Additionally, the deployment’s status will be set to integrated. |
|
9
8
|
**hsm_fallback_language** | **String** | Specify a fallback language to use when sending WhatsApp message template using the short hand syntax. Defaults to en_US. See WhatsApp documentation for more info. | [optional] [default to 'en_US']
|
10
9
|
**account_id** | **String** | The business ID associated with the WhatsApp account. In combination with accountManagementAccessToken, it’s used for Message Template Reconstruction. | [optional]
|
11
10
|
**account_management_access_token** | **String** | An access token associated with the accountId used to query the WhatsApp Account Management API. In combination with accountId, it’s used for Message Template Reconstruction. | [optional]
|
@@ -17,7 +16,6 @@ Name | Type | Description | Notes
|
|
17
16
|
require 'SunshineConversationsClient'
|
18
17
|
|
19
18
|
instance = SunshineConversationsClient::WhatsappAllOf.new(type: null,
|
20
|
-
deployment_id: 55c8d9758590aa1900b9b9aa,
|
21
19
|
hsm_fallback_language: null,
|
22
20
|
account_id: your_whatsApp_account_id,
|
23
21
|
account_management_access_token: your_access_token,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Sunshine Conversations API
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
4
|
+
The version of the OpenAPI document: 15.0.0
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 4.3.1
|
@@ -160,7 +160,7 @@ module SunshineConversationsClient
|
|
160
160
|
# @param conversation_id [String] Identifies the conversation.
|
161
161
|
# @param download_message_ref_body [DownloadMessageRefBody]
|
162
162
|
# @param [Hash] opts the optional parameters
|
163
|
-
# @return [Object]
|
163
|
+
# @return [Hash<String, Object>]
|
164
164
|
def download_message_ref(app_id, conversation_id, download_message_ref_body, opts = {})
|
165
165
|
data, _status_code, _headers = download_message_ref_with_http_info(app_id, conversation_id, download_message_ref_body, opts)
|
166
166
|
data
|
@@ -172,7 +172,7 @@ module SunshineConversationsClient
|
|
172
172
|
# @param conversation_id [String] Identifies the conversation.
|
173
173
|
# @param download_message_ref_body [DownloadMessageRefBody]
|
174
174
|
# @param [Hash] opts the optional parameters
|
175
|
-
# @return [Array<(
|
175
|
+
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
176
176
|
def download_message_ref_with_http_info(app_id, conversation_id, download_message_ref_body, opts = {})
|
177
177
|
if @api_client.config.debugging
|
178
178
|
@api_client.config.logger.debug 'Calling API: ConversationsApi.download_message_ref ...'
|
@@ -209,7 +209,7 @@ module SunshineConversationsClient
|
|
209
209
|
post_body = opts[:body] || @api_client.object_to_http_body(download_message_ref_body)
|
210
210
|
|
211
211
|
# return_type
|
212
|
-
return_type = opts[:return_type] || 'Object'
|
212
|
+
return_type = opts[:return_type] || 'Hash<String, Object>'
|
213
213
|
|
214
214
|
# auth_names
|
215
215
|
auth_names = opts[:auth_names] || ['basicAuth', 'bearerAuth']
|