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
@@ -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
|
@@ -14,7 +14,7 @@ module SunshineConversationsClient
|
|
14
14
|
# The type of message.
|
15
15
|
attr_accessor :type
|
16
16
|
|
17
|
-
# The URL for media, such as an image, attached to the message. <aside class=\"notice\">Note that for private attachments an authorization header is required to access the mediaUrl. See
|
17
|
+
# The URL for media, such as an image, attached to the message. <aside class=\"notice\">Note that for private attachments an authorization header is required to access the mediaUrl. See [configuring private attachments for messaging](https://developer.zendesk.com/documentation/zendesk-web-widget-sdks/messaging_private_attachments/) guide for more details.</aside>
|
18
18
|
attr_accessor :media_url
|
19
19
|
|
20
20
|
# The type of media.
|
@@ -26,9 +26,15 @@ module SunshineConversationsClient
|
|
26
26
|
# An optional description of the image for accessibility purposes. The field will be saved by default with the file name as the value.
|
27
27
|
attr_accessor :alt_text
|
28
28
|
|
29
|
-
# The text content of the message.
|
29
|
+
# The text content of the message.
|
30
30
|
attr_accessor :text
|
31
31
|
|
32
|
+
# 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.
|
33
|
+
attr_accessor :html_text
|
34
|
+
|
35
|
+
# 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.
|
36
|
+
attr_accessor :markdown_text
|
37
|
+
|
32
38
|
# Array of message actions.
|
33
39
|
attr_accessor :actions
|
34
40
|
|
@@ -44,6 +50,8 @@ module SunshineConversationsClient
|
|
44
50
|
:'media_size' => :'mediaSize',
|
45
51
|
:'alt_text' => :'altText',
|
46
52
|
:'text' => :'text',
|
53
|
+
:'html_text' => :'htmlText',
|
54
|
+
:'markdown_text' => :'markdownText',
|
47
55
|
:'actions' => :'actions',
|
48
56
|
:'attachment_id' => :'attachmentId'
|
49
57
|
}
|
@@ -58,6 +66,8 @@ module SunshineConversationsClient
|
|
58
66
|
:'media_size' => :'Float',
|
59
67
|
:'alt_text' => :'String',
|
60
68
|
:'text' => :'String',
|
69
|
+
:'html_text' => :'String',
|
70
|
+
:'markdown_text' => :'String',
|
61
71
|
:'actions' => :'Array<Action>',
|
62
72
|
:'attachment_id' => :'String'
|
63
73
|
}
|
@@ -110,6 +120,14 @@ module SunshineConversationsClient
|
|
110
120
|
self.text = attributes[:'text']
|
111
121
|
end
|
112
122
|
|
123
|
+
if attributes.key?(:'html_text')
|
124
|
+
self.html_text = attributes[:'html_text']
|
125
|
+
end
|
126
|
+
|
127
|
+
if attributes.key?(:'markdown_text')
|
128
|
+
self.markdown_text = attributes[:'markdown_text']
|
129
|
+
end
|
130
|
+
|
113
131
|
if attributes.key?(:'actions')
|
114
132
|
end
|
115
133
|
|
@@ -138,6 +156,14 @@ module SunshineConversationsClient
|
|
138
156
|
invalid_properties.push('invalid value for "alt_text", the character length must be smaller than or equal to 128.')
|
139
157
|
end
|
140
158
|
|
159
|
+
if !@html_text.nil? && @html_text.to_s.length > 4096
|
160
|
+
invalid_properties.push('invalid value for "html_text", the character length must be smaller than or equal to 4096.')
|
161
|
+
end
|
162
|
+
|
163
|
+
if !@markdown_text.nil? && @markdown_text.to_s.length > 4096
|
164
|
+
invalid_properties.push('invalid value for "markdown_text", the character length must be smaller than or equal to 4096.')
|
165
|
+
end
|
166
|
+
|
141
167
|
invalid_properties
|
142
168
|
end
|
143
169
|
|
@@ -148,6 +174,8 @@ module SunshineConversationsClient
|
|
148
174
|
return false if @media_url.nil?
|
149
175
|
return false if !@media_type.nil? && @media_type.to_s.length > 128
|
150
176
|
return false if !@alt_text.nil? && @alt_text.to_s.length > 128
|
177
|
+
return false if !@html_text.nil? && @html_text.to_s.length > 4096
|
178
|
+
return false if !@markdown_text.nil? && @markdown_text.to_s.length > 4096
|
151
179
|
true
|
152
180
|
end
|
153
181
|
|
@@ -171,6 +199,26 @@ module SunshineConversationsClient
|
|
171
199
|
@alt_text = alt_text
|
172
200
|
end
|
173
201
|
|
202
|
+
# Custom attribute writer method with validation
|
203
|
+
# @param [Object] html_text Value to be assigned
|
204
|
+
def html_text=(html_text)
|
205
|
+
if !html_text.nil? && html_text.to_s.length > 4096
|
206
|
+
fail ArgumentError, 'invalid value for "html_text", the character length must be smaller than or equal to 4096.'
|
207
|
+
end
|
208
|
+
|
209
|
+
@html_text = html_text
|
210
|
+
end
|
211
|
+
|
212
|
+
# Custom attribute writer method with validation
|
213
|
+
# @param [Object] markdown_text Value to be assigned
|
214
|
+
def markdown_text=(markdown_text)
|
215
|
+
if !markdown_text.nil? && markdown_text.to_s.length > 4096
|
216
|
+
fail ArgumentError, 'invalid value for "markdown_text", the character length must be smaller than or equal to 4096.'
|
217
|
+
end
|
218
|
+
|
219
|
+
@markdown_text = markdown_text
|
220
|
+
end
|
221
|
+
|
174
222
|
# Checks equality by comparing each attribute.
|
175
223
|
# @param [Object] Object to be compared
|
176
224
|
def ==(o)
|
@@ -182,6 +230,8 @@ module SunshineConversationsClient
|
|
182
230
|
media_size == o.media_size &&
|
183
231
|
alt_text == o.alt_text &&
|
184
232
|
text == o.text &&
|
233
|
+
html_text == o.html_text &&
|
234
|
+
markdown_text == o.markdown_text &&
|
185
235
|
actions == o.actions &&
|
186
236
|
attachment_id == o.attachment_id
|
187
237
|
end
|
@@ -195,7 +245,7 @@ module SunshineConversationsClient
|
|
195
245
|
# Calculates hash code according to all attributes.
|
196
246
|
# @return [Integer] Hash code
|
197
247
|
def hash
|
198
|
-
[type, media_url, media_type, media_size, alt_text, text, actions, attachment_id].hash
|
248
|
+
[type, media_url, media_type, media_size, alt_text, text, html_text, markdown_text, actions, attachment_id].hash
|
199
249
|
end
|
200
250
|
|
201
251
|
# Builds the object from hash
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Sunshine Conversations API
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
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
|
@@ -85,7 +85,10 @@ module SunshineConversationsClient
|
|
85
85
|
# List of attributes with nullable: true
|
86
86
|
def self.openapi_nullable
|
87
87
|
Set.new([
|
88
|
+
:'page_access_token',
|
89
|
+
:'app_secret',
|
88
90
|
:'default_responder_id',
|
91
|
+
:'default_responder'
|
89
92
|
])
|
90
93
|
end
|
91
94
|
|
@@ -172,27 +175,17 @@ module SunshineConversationsClient
|
|
172
175
|
# @return Array for valid properties with the reasons
|
173
176
|
def list_invalid_properties
|
174
177
|
invalid_properties = super
|
175
|
-
if @page_access_token.nil?
|
176
|
-
invalid_properties.push('invalid value for "page_access_token", page_access_token cannot be nil.')
|
177
|
-
end
|
178
|
-
|
179
178
|
if @app_id.nil?
|
180
179
|
invalid_properties.push('invalid value for "app_id", app_id cannot be nil.')
|
181
180
|
end
|
182
181
|
|
183
|
-
if @app_secret.nil?
|
184
|
-
invalid_properties.push('invalid value for "app_secret", app_secret cannot be nil.')
|
185
|
-
end
|
186
|
-
|
187
182
|
invalid_properties
|
188
183
|
end
|
189
184
|
|
190
185
|
# Check to see if the all the properties in the model are valid
|
191
186
|
# @return true if the model is valid
|
192
187
|
def valid?
|
193
|
-
return false if @page_access_token.nil?
|
194
188
|
return false if @app_id.nil?
|
195
|
-
return false if @app_secret.nil?
|
196
189
|
true && super
|
197
190
|
end
|
198
191
|
|
@@ -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
|
@@ -76,6 +76,8 @@ module SunshineConversationsClient
|
|
76
76
|
# List of attributes with nullable: true
|
77
77
|
def self.openapi_nullable
|
78
78
|
Set.new([
|
79
|
+
:'page_access_token',
|
80
|
+
:'app_secret',
|
79
81
|
])
|
80
82
|
end
|
81
83
|
|
@@ -141,27 +143,17 @@ module SunshineConversationsClient
|
|
141
143
|
# @return Array for valid properties with the reasons
|
142
144
|
def list_invalid_properties
|
143
145
|
invalid_properties = Array.new
|
144
|
-
if @page_access_token.nil?
|
145
|
-
invalid_properties.push('invalid value for "page_access_token", page_access_token cannot be nil.')
|
146
|
-
end
|
147
|
-
|
148
146
|
if @app_id.nil?
|
149
147
|
invalid_properties.push('invalid value for "app_id", app_id cannot be nil.')
|
150
148
|
end
|
151
149
|
|
152
|
-
if @app_secret.nil?
|
153
|
-
invalid_properties.push('invalid value for "app_secret", app_secret cannot be nil.')
|
154
|
-
end
|
155
|
-
|
156
150
|
invalid_properties
|
157
151
|
end
|
158
152
|
|
159
153
|
# Check to see if the all the properties in the model are valid
|
160
154
|
# @return true if the model is valid
|
161
155
|
def valid?
|
162
|
-
return false if @page_access_token.nil?
|
163
156
|
return false if @app_id.nil?
|
164
|
-
return false if @app_secret.nil?
|
165
157
|
true
|
166
158
|
end
|
167
159
|
|
@@ -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
|
@@ -32,6 +32,9 @@ module SunshineConversationsClient
|
|
32
32
|
# Your sender id from the fcm console.
|
33
33
|
attr_accessor :sender_id
|
34
34
|
|
35
|
+
# 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`*.
|
36
|
+
attr_accessor :can_user_see_conversation_list
|
37
|
+
|
35
38
|
# Allows users to create more than one conversation on the web messenger integration.
|
36
39
|
attr_accessor :can_user_create_more_conversations
|
37
40
|
|
@@ -120,6 +123,7 @@ module SunshineConversationsClient
|
|
120
123
|
:'private_key' => :'privateKey',
|
121
124
|
:'server_key' => :'serverKey',
|
122
125
|
:'sender_id' => :'senderId',
|
126
|
+
:'can_user_see_conversation_list' => :'canUserSeeConversationList',
|
123
127
|
:'can_user_create_more_conversations' => :'canUserCreateMoreConversations',
|
124
128
|
:'authentication_message_secret' => :'authenticationMessageSecret',
|
125
129
|
:'page_access_token' => :'pageAccessToken',
|
@@ -159,6 +163,7 @@ module SunshineConversationsClient
|
|
159
163
|
:'private_key' => :'String',
|
160
164
|
:'server_key' => :'String',
|
161
165
|
:'sender_id' => :'String',
|
166
|
+
:'can_user_see_conversation_list' => :'Boolean',
|
162
167
|
:'can_user_create_more_conversations' => :'Boolean',
|
163
168
|
:'authentication_message_secret' => :'String',
|
164
169
|
:'page_access_token' => :'String',
|
@@ -274,6 +279,10 @@ module SunshineConversationsClient
|
|
274
279
|
self.sender_id = attributes[:'sender_id']
|
275
280
|
end
|
276
281
|
|
282
|
+
if attributes.key?(:'can_user_see_conversation_list')
|
283
|
+
self.can_user_see_conversation_list = attributes[:'can_user_see_conversation_list']
|
284
|
+
end
|
285
|
+
|
277
286
|
if attributes.key?(:'can_user_create_more_conversations')
|
278
287
|
self.can_user_create_more_conversations = attributes[:'can_user_create_more_conversations']
|
279
288
|
end
|
@@ -578,6 +587,7 @@ module SunshineConversationsClient
|
|
578
587
|
private_key == o.private_key &&
|
579
588
|
server_key == o.server_key &&
|
580
589
|
sender_id == o.sender_id &&
|
590
|
+
can_user_see_conversation_list == o.can_user_see_conversation_list &&
|
581
591
|
can_user_create_more_conversations == o.can_user_create_more_conversations &&
|
582
592
|
authentication_message_secret == o.authentication_message_secret &&
|
583
593
|
page_access_token == o.page_access_token &&
|
@@ -615,7 +625,7 @@ module SunshineConversationsClient
|
|
615
625
|
# Calculates hash code according to all attributes.
|
616
626
|
# @return [Integer] Hash code
|
617
627
|
def hash
|
618
|
-
[display_name, default_responder_id, project_id, client_email, private_key, server_key, sender_id, can_user_create_more_conversations, authentication_message_secret, page_access_token, certificate, password, production, auto_update_badge, hide_unsubscribe_link, from_address, brand_color, fixed_intro_pane, conversation_color, action_color, display_style, button_icon_url, button_width, button_height, integration_order, business_name, business_icon_url, background_image_url, origin_whitelist, prechat_capture, hsm_fallback_language, account_id, account_management_access_token].hash
|
628
|
+
[display_name, default_responder_id, project_id, client_email, private_key, server_key, sender_id, can_user_see_conversation_list, can_user_create_more_conversations, authentication_message_secret, page_access_token, certificate, password, production, auto_update_badge, hide_unsubscribe_link, from_address, brand_color, fixed_intro_pane, conversation_color, action_color, display_style, button_icon_url, button_width, button_height, integration_order, business_name, business_icon_url, background_image_url, origin_whitelist, prechat_capture, hsm_fallback_language, account_id, account_management_access_token].hash
|
619
629
|
end
|
620
630
|
|
621
631
|
# Builds the object from hash
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Sunshine Conversations API
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
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
|
@@ -26,6 +26,9 @@ module SunshineConversationsClient
|
|
26
26
|
# Use the unread count of the conversation as the application badge.
|
27
27
|
attr_accessor :auto_update_badge
|
28
28
|
|
29
|
+
# 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`*.
|
30
|
+
attr_accessor :can_user_see_conversation_list
|
31
|
+
|
29
32
|
# Allows users to create more than one conversation on the iOS integration.
|
30
33
|
attr_accessor :can_user_create_more_conversations
|
31
34
|
|
@@ -45,6 +48,7 @@ module SunshineConversationsClient
|
|
45
48
|
:'password' => :'password',
|
46
49
|
:'production' => :'production',
|
47
50
|
:'auto_update_badge' => :'autoUpdateBadge',
|
51
|
+
:'can_user_see_conversation_list' => :'canUserSeeConversationList',
|
48
52
|
:'can_user_create_more_conversations' => :'canUserCreateMoreConversations',
|
49
53
|
:'attachments_enabled' => :'attachmentsEnabled',
|
50
54
|
:'default_responder_id' => :'defaultResponderId',
|
@@ -60,6 +64,7 @@ module SunshineConversationsClient
|
|
60
64
|
:'password' => :'String',
|
61
65
|
:'production' => :'Boolean',
|
62
66
|
:'auto_update_badge' => :'Boolean',
|
67
|
+
:'can_user_see_conversation_list' => :'Boolean',
|
63
68
|
:'can_user_create_more_conversations' => :'Boolean',
|
64
69
|
:'attachments_enabled' => :'Boolean',
|
65
70
|
:'default_responder_id' => :'String',
|
@@ -72,6 +77,7 @@ module SunshineConversationsClient
|
|
72
77
|
Set.new([
|
73
78
|
:'certificate',
|
74
79
|
:'default_responder_id',
|
80
|
+
:'default_responder'
|
75
81
|
])
|
76
82
|
end
|
77
83
|
|
@@ -125,6 +131,10 @@ module SunshineConversationsClient
|
|
125
131
|
self.auto_update_badge = attributes[:'auto_update_badge']
|
126
132
|
end
|
127
133
|
|
134
|
+
if attributes.key?(:'can_user_see_conversation_list')
|
135
|
+
self.can_user_see_conversation_list = attributes[:'can_user_see_conversation_list']
|
136
|
+
end
|
137
|
+
|
128
138
|
if attributes.key?(:'can_user_create_more_conversations')
|
129
139
|
self.can_user_create_more_conversations = attributes[:'can_user_create_more_conversations']
|
130
140
|
end
|
@@ -180,6 +190,7 @@ module SunshineConversationsClient
|
|
180
190
|
password == o.password &&
|
181
191
|
production == o.production &&
|
182
192
|
auto_update_badge == o.auto_update_badge &&
|
193
|
+
can_user_see_conversation_list == o.can_user_see_conversation_list &&
|
183
194
|
can_user_create_more_conversations == o.can_user_create_more_conversations &&
|
184
195
|
attachments_enabled == o.attachments_enabled &&
|
185
196
|
default_responder_id == o.default_responder_id &&
|
@@ -195,7 +206,7 @@ module SunshineConversationsClient
|
|
195
206
|
# Calculates hash code according to all attributes.
|
196
207
|
# @return [Integer] Hash code
|
197
208
|
def hash
|
198
|
-
[type, certificate, password, production, auto_update_badge, can_user_create_more_conversations, attachments_enabled, default_responder_id, default_responder].hash
|
209
|
+
[type, certificate, password, production, auto_update_badge, can_user_see_conversation_list, can_user_create_more_conversations, attachments_enabled, default_responder_id, default_responder].hash
|
199
210
|
end
|
200
211
|
|
201
212
|
# Builds the object from hash
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Sunshine Conversations API
|
3
3
|
|
4
|
-
The version of the OpenAPI document:
|
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
|
@@ -26,6 +26,9 @@ module SunshineConversationsClient
|
|
26
26
|
# Use the unread count of the conversation as the application badge.
|
27
27
|
attr_accessor :auto_update_badge
|
28
28
|
|
29
|
+
# 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`*.
|
30
|
+
attr_accessor :can_user_see_conversation_list
|
31
|
+
|
29
32
|
# Allows users to create more than one conversation on the iOS integration.
|
30
33
|
attr_accessor :can_user_create_more_conversations
|
31
34
|
|
@@ -40,6 +43,7 @@ module SunshineConversationsClient
|
|
40
43
|
:'password' => :'password',
|
41
44
|
:'production' => :'production',
|
42
45
|
:'auto_update_badge' => :'autoUpdateBadge',
|
46
|
+
:'can_user_see_conversation_list' => :'canUserSeeConversationList',
|
43
47
|
:'can_user_create_more_conversations' => :'canUserCreateMoreConversations',
|
44
48
|
:'attachments_enabled' => :'attachmentsEnabled'
|
45
49
|
}
|
@@ -53,6 +57,7 @@ module SunshineConversationsClient
|
|
53
57
|
:'password' => :'String',
|
54
58
|
:'production' => :'Boolean',
|
55
59
|
:'auto_update_badge' => :'Boolean',
|
60
|
+
:'can_user_see_conversation_list' => :'Boolean',
|
56
61
|
:'can_user_create_more_conversations' => :'Boolean',
|
57
62
|
:'attachments_enabled' => :'Boolean'
|
58
63
|
}
|
@@ -102,6 +107,10 @@ module SunshineConversationsClient
|
|
102
107
|
self.auto_update_badge = attributes[:'auto_update_badge']
|
103
108
|
end
|
104
109
|
|
110
|
+
if attributes.key?(:'can_user_see_conversation_list')
|
111
|
+
self.can_user_see_conversation_list = attributes[:'can_user_see_conversation_list']
|
112
|
+
end
|
113
|
+
|
105
114
|
if attributes.key?(:'can_user_create_more_conversations')
|
106
115
|
self.can_user_create_more_conversations = attributes[:'can_user_create_more_conversations']
|
107
116
|
end
|
@@ -149,6 +158,7 @@ module SunshineConversationsClient
|
|
149
158
|
password == o.password &&
|
150
159
|
production == o.production &&
|
151
160
|
auto_update_badge == o.auto_update_badge &&
|
161
|
+
can_user_see_conversation_list == o.can_user_see_conversation_list &&
|
152
162
|
can_user_create_more_conversations == o.can_user_create_more_conversations &&
|
153
163
|
attachments_enabled == o.attachments_enabled
|
154
164
|
end
|
@@ -162,7 +172,7 @@ module SunshineConversationsClient
|
|
162
172
|
# Calculates hash code according to all attributes.
|
163
173
|
# @return [Integer] Hash code
|
164
174
|
def hash
|
165
|
-
[type, certificate, password, production, auto_update_badge, can_user_create_more_conversations, attachments_enabled].hash
|
175
|
+
[type, certificate, password, production, auto_update_badge, can_user_see_conversation_list, can_user_create_more_conversations, attachments_enabled].hash
|
166
176
|
end
|
167
177
|
|
168
178
|
# Builds the object from hash
|