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
|
@@ -92,7 +92,10 @@ module SunshineConversationsClient
|
|
92
92
|
# List of attributes with nullable: true
|
93
93
|
def self.openapi_nullable
|
94
94
|
Set.new([
|
95
|
+
:'consumer_secret',
|
96
|
+
:'access_token_secret',
|
95
97
|
:'default_responder_id',
|
98
|
+
:'default_responder'
|
96
99
|
])
|
97
100
|
end
|
98
101
|
|
@@ -183,10 +186,6 @@ module SunshineConversationsClient
|
|
183
186
|
invalid_properties.push('invalid value for "consumer_key", the character length must be great than or equal to 1.')
|
184
187
|
end
|
185
188
|
|
186
|
-
if @consumer_secret.nil?
|
187
|
-
invalid_properties.push('invalid value for "consumer_secret", consumer_secret cannot be nil.')
|
188
|
-
end
|
189
|
-
|
190
189
|
if @consumer_secret.to_s.length < 1
|
191
190
|
invalid_properties.push('invalid value for "consumer_secret", the character length must be great than or equal to 1.')
|
192
191
|
end
|
@@ -199,10 +198,6 @@ module SunshineConversationsClient
|
|
199
198
|
invalid_properties.push('invalid value for "access_token_key", the character length must be great than or equal to 1.')
|
200
199
|
end
|
201
200
|
|
202
|
-
if @access_token_secret.nil?
|
203
|
-
invalid_properties.push('invalid value for "access_token_secret", access_token_secret cannot be nil.')
|
204
|
-
end
|
205
|
-
|
206
201
|
if @access_token_secret.to_s.length < 1
|
207
202
|
invalid_properties.push('invalid value for "access_token_secret", the character length must be great than or equal to 1.')
|
208
203
|
end
|
@@ -219,11 +214,9 @@ module SunshineConversationsClient
|
|
219
214
|
return false if !@env_name.nil? && @env_name.to_s.length < 1
|
220
215
|
return false if @consumer_key.nil?
|
221
216
|
return false if @consumer_key.to_s.length < 1
|
222
|
-
return false if @consumer_secret.nil?
|
223
217
|
return false if @consumer_secret.to_s.length < 1
|
224
218
|
return false if @access_token_key.nil?
|
225
219
|
return false if @access_token_key.to_s.length < 1
|
226
|
-
return false if @access_token_secret.nil?
|
227
220
|
return false if @access_token_secret.to_s.length < 1
|
228
221
|
true && super
|
229
222
|
end
|
@@ -265,10 +258,6 @@ module SunshineConversationsClient
|
|
265
258
|
# Custom attribute writer method with validation
|
266
259
|
# @param [Object] consumer_secret Value to be assigned
|
267
260
|
def consumer_secret=(consumer_secret)
|
268
|
-
if consumer_secret.nil?
|
269
|
-
fail ArgumentError, 'consumer_secret cannot be nil'
|
270
|
-
end
|
271
|
-
|
272
261
|
if consumer_secret.to_s.length < 1
|
273
262
|
fail ArgumentError, 'invalid value for "consumer_secret", the character length must be great than or equal to 1.'
|
274
263
|
end
|
@@ -293,10 +282,6 @@ module SunshineConversationsClient
|
|
293
282
|
# Custom attribute writer method with validation
|
294
283
|
# @param [Object] access_token_secret Value to be assigned
|
295
284
|
def access_token_secret=(access_token_secret)
|
296
|
-
if access_token_secret.nil?
|
297
|
-
fail ArgumentError, 'access_token_secret cannot be nil'
|
298
|
-
end
|
299
|
-
|
300
285
|
if access_token_secret.to_s.length < 1
|
301
286
|
fail ArgumentError, 'invalid value for "access_token_secret", the character length must be great than or equal to 1.'
|
302
287
|
end
|
@@ -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
|
@@ -83,6 +83,8 @@ module SunshineConversationsClient
|
|
83
83
|
# List of attributes with nullable: true
|
84
84
|
def self.openapi_nullable
|
85
85
|
Set.new([
|
86
|
+
:'consumer_secret',
|
87
|
+
:'access_token_secret'
|
86
88
|
])
|
87
89
|
end
|
88
90
|
|
@@ -152,10 +154,6 @@ module SunshineConversationsClient
|
|
152
154
|
invalid_properties.push('invalid value for "consumer_key", the character length must be great than or equal to 1.')
|
153
155
|
end
|
154
156
|
|
155
|
-
if @consumer_secret.nil?
|
156
|
-
invalid_properties.push('invalid value for "consumer_secret", consumer_secret cannot be nil.')
|
157
|
-
end
|
158
|
-
|
159
157
|
if @consumer_secret.to_s.length < 1
|
160
158
|
invalid_properties.push('invalid value for "consumer_secret", the character length must be great than or equal to 1.')
|
161
159
|
end
|
@@ -168,10 +166,6 @@ module SunshineConversationsClient
|
|
168
166
|
invalid_properties.push('invalid value for "access_token_key", the character length must be great than or equal to 1.')
|
169
167
|
end
|
170
168
|
|
171
|
-
if @access_token_secret.nil?
|
172
|
-
invalid_properties.push('invalid value for "access_token_secret", access_token_secret cannot be nil.')
|
173
|
-
end
|
174
|
-
|
175
169
|
if @access_token_secret.to_s.length < 1
|
176
170
|
invalid_properties.push('invalid value for "access_token_secret", the character length must be great than or equal to 1.')
|
177
171
|
end
|
@@ -188,11 +182,9 @@ module SunshineConversationsClient
|
|
188
182
|
return false if !@env_name.nil? && @env_name.to_s.length < 1
|
189
183
|
return false if @consumer_key.nil?
|
190
184
|
return false if @consumer_key.to_s.length < 1
|
191
|
-
return false if @consumer_secret.nil?
|
192
185
|
return false if @consumer_secret.to_s.length < 1
|
193
186
|
return false if @access_token_key.nil?
|
194
187
|
return false if @access_token_key.to_s.length < 1
|
195
|
-
return false if @access_token_secret.nil?
|
196
188
|
return false if @access_token_secret.to_s.length < 1
|
197
189
|
true
|
198
190
|
end
|
@@ -234,10 +226,6 @@ module SunshineConversationsClient
|
|
234
226
|
# Custom attribute writer method with validation
|
235
227
|
# @param [Object] consumer_secret Value to be assigned
|
236
228
|
def consumer_secret=(consumer_secret)
|
237
|
-
if consumer_secret.nil?
|
238
|
-
fail ArgumentError, 'consumer_secret cannot be nil'
|
239
|
-
end
|
240
|
-
|
241
229
|
if consumer_secret.to_s.length < 1
|
242
230
|
fail ArgumentError, 'invalid value for "consumer_secret", the character length must be great than or equal to 1.'
|
243
231
|
end
|
@@ -262,10 +250,6 @@ module SunshineConversationsClient
|
|
262
250
|
# Custom attribute writer method with validation
|
263
251
|
# @param [Object] access_token_secret Value to be assigned
|
264
252
|
def access_token_secret=(access_token_secret)
|
265
|
-
if access_token_secret.nil?
|
266
|
-
fail ArgumentError, 'access_token_secret cannot be nil'
|
267
|
-
end
|
268
|
-
|
269
253
|
if access_token_secret.to_s.length < 1
|
270
254
|
fail ArgumentError, 'invalid value for "access_token_secret", the character length must be great than or equal to 1.'
|
271
255
|
end
|
@@ -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,6 +14,9 @@ module SunshineConversationsClient
|
|
14
14
|
# To configure a Unity integration, create an integration with type 'unity' by calling the Create Integration endpoint.
|
15
15
|
attr_accessor :type
|
16
16
|
|
17
|
+
# 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`*.
|
18
|
+
attr_accessor :can_user_see_conversation_list
|
19
|
+
|
17
20
|
# Allows users to create more than one conversation on the Unity integration.
|
18
21
|
attr_accessor :can_user_create_more_conversations
|
19
22
|
|
@@ -29,6 +32,7 @@ module SunshineConversationsClient
|
|
29
32
|
def self.attribute_map
|
30
33
|
{
|
31
34
|
:'type' => :'type',
|
35
|
+
:'can_user_see_conversation_list' => :'canUserSeeConversationList',
|
32
36
|
:'can_user_create_more_conversations' => :'canUserCreateMoreConversations',
|
33
37
|
:'attachments_enabled' => :'attachmentsEnabled',
|
34
38
|
:'default_responder_id' => :'defaultResponderId',
|
@@ -40,6 +44,7 @@ module SunshineConversationsClient
|
|
40
44
|
def self.openapi_types
|
41
45
|
{
|
42
46
|
:'type' => :'String',
|
47
|
+
:'can_user_see_conversation_list' => :'Boolean',
|
43
48
|
:'can_user_create_more_conversations' => :'Boolean',
|
44
49
|
:'attachments_enabled' => :'Boolean',
|
45
50
|
:'default_responder_id' => :'String',
|
@@ -51,6 +56,7 @@ module SunshineConversationsClient
|
|
51
56
|
def self.openapi_nullable
|
52
57
|
Set.new([
|
53
58
|
:'default_responder_id',
|
59
|
+
:'default_responder'
|
54
60
|
])
|
55
61
|
end
|
56
62
|
|
@@ -88,6 +94,10 @@ module SunshineConversationsClient
|
|
88
94
|
self.type = 'unity'
|
89
95
|
end
|
90
96
|
|
97
|
+
if attributes.key?(:'can_user_see_conversation_list')
|
98
|
+
self.can_user_see_conversation_list = attributes[:'can_user_see_conversation_list']
|
99
|
+
end
|
100
|
+
|
91
101
|
if attributes.key?(:'can_user_create_more_conversations')
|
92
102
|
self.can_user_create_more_conversations = attributes[:'can_user_create_more_conversations']
|
93
103
|
end
|
@@ -124,6 +134,7 @@ module SunshineConversationsClient
|
|
124
134
|
return true if self.equal?(o)
|
125
135
|
self.class == o.class &&
|
126
136
|
type == o.type &&
|
137
|
+
can_user_see_conversation_list == o.can_user_see_conversation_list &&
|
127
138
|
can_user_create_more_conversations == o.can_user_create_more_conversations &&
|
128
139
|
attachments_enabled == o.attachments_enabled &&
|
129
140
|
default_responder_id == o.default_responder_id &&
|
@@ -139,7 +150,7 @@ module SunshineConversationsClient
|
|
139
150
|
# Calculates hash code according to all attributes.
|
140
151
|
# @return [Integer] Hash code
|
141
152
|
def hash
|
142
|
-
[type, can_user_create_more_conversations, attachments_enabled, default_responder_id, default_responder].hash
|
153
|
+
[type, can_user_see_conversation_list, can_user_create_more_conversations, attachments_enabled, default_responder_id, default_responder].hash
|
143
154
|
end
|
144
155
|
|
145
156
|
# 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
|
@@ -14,6 +14,9 @@ module SunshineConversationsClient
|
|
14
14
|
# To configure a Unity integration, create an integration with type 'unity' by calling the Create Integration endpoint.
|
15
15
|
attr_accessor :type
|
16
16
|
|
17
|
+
# 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`*.
|
18
|
+
attr_accessor :can_user_see_conversation_list
|
19
|
+
|
17
20
|
# Allows users to create more than one conversation on the Unity integration.
|
18
21
|
attr_accessor :can_user_create_more_conversations
|
19
22
|
|
@@ -24,6 +27,7 @@ module SunshineConversationsClient
|
|
24
27
|
def self.attribute_map
|
25
28
|
{
|
26
29
|
:'type' => :'type',
|
30
|
+
:'can_user_see_conversation_list' => :'canUserSeeConversationList',
|
27
31
|
:'can_user_create_more_conversations' => :'canUserCreateMoreConversations',
|
28
32
|
:'attachments_enabled' => :'attachmentsEnabled'
|
29
33
|
}
|
@@ -33,6 +37,7 @@ module SunshineConversationsClient
|
|
33
37
|
def self.openapi_types
|
34
38
|
{
|
35
39
|
:'type' => :'String',
|
40
|
+
:'can_user_see_conversation_list' => :'Boolean',
|
36
41
|
:'can_user_create_more_conversations' => :'Boolean',
|
37
42
|
:'attachments_enabled' => :'Boolean'
|
38
43
|
}
|
@@ -65,6 +70,10 @@ module SunshineConversationsClient
|
|
65
70
|
self.type = 'unity'
|
66
71
|
end
|
67
72
|
|
73
|
+
if attributes.key?(:'can_user_see_conversation_list')
|
74
|
+
self.can_user_see_conversation_list = attributes[:'can_user_see_conversation_list']
|
75
|
+
end
|
76
|
+
|
68
77
|
if attributes.key?(:'can_user_create_more_conversations')
|
69
78
|
self.can_user_create_more_conversations = attributes[:'can_user_create_more_conversations']
|
70
79
|
end
|
@@ -93,6 +102,7 @@ module SunshineConversationsClient
|
|
93
102
|
return true if self.equal?(o)
|
94
103
|
self.class == o.class &&
|
95
104
|
type == o.type &&
|
105
|
+
can_user_see_conversation_list == o.can_user_see_conversation_list &&
|
96
106
|
can_user_create_more_conversations == o.can_user_create_more_conversations &&
|
97
107
|
attachments_enabled == o.attachments_enabled
|
98
108
|
end
|
@@ -106,7 +116,7 @@ module SunshineConversationsClient
|
|
106
116
|
# Calculates hash code according to all attributes.
|
107
117
|
# @return [Integer] Hash code
|
108
118
|
def hash
|
109
|
-
[type, can_user_create_more_conversations, attachments_enabled].hash
|
119
|
+
[type, can_user_see_conversation_list, can_user_create_more_conversations, attachments_enabled].hash
|
110
120
|
end
|
111
121
|
|
112
122
|
# 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
|
@@ -17,6 +17,9 @@ module SunshineConversationsClient
|
|
17
17
|
# The default responder ID for the integration. This is the ID of the responder that will be used to send messages to the user. For more information, refer to <a href=\"https://docs.smooch.io/guide/switchboard/#per-channel-default-responder\">Per-channel default responder</a> guide.
|
18
18
|
attr_accessor :default_responder_id
|
19
19
|
|
20
|
+
# 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`*.
|
21
|
+
attr_accessor :can_user_see_conversation_list
|
22
|
+
|
20
23
|
# Allows users to create more than one conversation on the Unity integration.
|
21
24
|
attr_accessor :can_user_create_more_conversations
|
22
25
|
|
@@ -25,6 +28,7 @@ module SunshineConversationsClient
|
|
25
28
|
{
|
26
29
|
:'display_name' => :'displayName',
|
27
30
|
:'default_responder_id' => :'defaultResponderId',
|
31
|
+
:'can_user_see_conversation_list' => :'canUserSeeConversationList',
|
28
32
|
:'can_user_create_more_conversations' => :'canUserCreateMoreConversations'
|
29
33
|
}
|
30
34
|
end
|
@@ -34,6 +38,7 @@ module SunshineConversationsClient
|
|
34
38
|
{
|
35
39
|
:'display_name' => :'String',
|
36
40
|
:'default_responder_id' => :'String',
|
41
|
+
:'can_user_see_conversation_list' => :'Boolean',
|
37
42
|
:'can_user_create_more_conversations' => :'Boolean'
|
38
43
|
}
|
39
44
|
end
|
@@ -77,6 +82,10 @@ module SunshineConversationsClient
|
|
77
82
|
self.default_responder_id = attributes[:'default_responder_id']
|
78
83
|
end
|
79
84
|
|
85
|
+
if attributes.key?(:'can_user_see_conversation_list')
|
86
|
+
self.can_user_see_conversation_list = attributes[:'can_user_see_conversation_list']
|
87
|
+
end
|
88
|
+
|
80
89
|
if attributes.key?(:'can_user_create_more_conversations')
|
81
90
|
self.can_user_create_more_conversations = attributes[:'can_user_create_more_conversations']
|
82
91
|
end
|
@@ -126,6 +135,7 @@ module SunshineConversationsClient
|
|
126
135
|
self.class == o.class &&
|
127
136
|
display_name == o.display_name &&
|
128
137
|
default_responder_id == o.default_responder_id &&
|
138
|
+
can_user_see_conversation_list == o.can_user_see_conversation_list &&
|
129
139
|
can_user_create_more_conversations == o.can_user_create_more_conversations
|
130
140
|
end
|
131
141
|
|
@@ -138,7 +148,7 @@ module SunshineConversationsClient
|
|
138
148
|
# Calculates hash code according to all attributes.
|
139
149
|
# @return [Integer] Hash code
|
140
150
|
def hash
|
141
|
-
[display_name, default_responder_id, can_user_create_more_conversations].hash
|
151
|
+
[display_name, default_responder_id, can_user_see_conversation_list, can_user_create_more_conversations].hash
|
142
152
|
end
|
143
153
|
|
144
154
|
# 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
|
@@ -11,12 +11,16 @@ require 'date'
|
|
11
11
|
|
12
12
|
module SunshineConversationsClient
|
13
13
|
class UnityUpdateAllOf
|
14
|
+
# 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`*.
|
15
|
+
attr_accessor :can_user_see_conversation_list
|
16
|
+
|
14
17
|
# Allows users to create more than one conversation on the Unity integration.
|
15
18
|
attr_accessor :can_user_create_more_conversations
|
16
19
|
|
17
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
18
21
|
def self.attribute_map
|
19
22
|
{
|
23
|
+
:'can_user_see_conversation_list' => :'canUserSeeConversationList',
|
20
24
|
:'can_user_create_more_conversations' => :'canUserCreateMoreConversations'
|
21
25
|
}
|
22
26
|
end
|
@@ -24,6 +28,7 @@ module SunshineConversationsClient
|
|
24
28
|
# Attribute type mapping.
|
25
29
|
def self.openapi_types
|
26
30
|
{
|
31
|
+
:'can_user_see_conversation_list' => :'Boolean',
|
27
32
|
:'can_user_create_more_conversations' => :'Boolean'
|
28
33
|
}
|
29
34
|
end
|
@@ -49,6 +54,10 @@ module SunshineConversationsClient
|
|
49
54
|
h[k.to_sym] = v
|
50
55
|
}
|
51
56
|
|
57
|
+
if attributes.key?(:'can_user_see_conversation_list')
|
58
|
+
self.can_user_see_conversation_list = attributes[:'can_user_see_conversation_list']
|
59
|
+
end
|
60
|
+
|
52
61
|
if attributes.key?(:'can_user_create_more_conversations')
|
53
62
|
self.can_user_create_more_conversations = attributes[:'can_user_create_more_conversations']
|
54
63
|
end
|
@@ -72,6 +81,7 @@ module SunshineConversationsClient
|
|
72
81
|
def ==(o)
|
73
82
|
return true if self.equal?(o)
|
74
83
|
self.class == o.class &&
|
84
|
+
can_user_see_conversation_list == o.can_user_see_conversation_list &&
|
75
85
|
can_user_create_more_conversations == o.can_user_create_more_conversations
|
76
86
|
end
|
77
87
|
|
@@ -84,7 +94,7 @@ module SunshineConversationsClient
|
|
84
94
|
# Calculates hash code according to all attributes.
|
85
95
|
# @return [Integer] Hash code
|
86
96
|
def hash
|
87
|
-
[can_user_create_more_conversations].hash
|
97
|
+
[can_user_see_conversation_list, can_user_create_more_conversations].hash
|
88
98
|
end
|
89
99
|
|
90
100
|
# 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
|
@@ -49,7 +49,7 @@ module SunshineConversationsClient
|
|
49
49
|
:'signed_up_at' => :'String',
|
50
50
|
:'to_be_retained' => :'Boolean',
|
51
51
|
:'profile' => :'Profile',
|
52
|
-
:'metadata' => :'
|
52
|
+
:'metadata' => :'Hash',
|
53
53
|
:'identities' => :'Array<Identity>'
|
54
54
|
}
|
55
55
|
end
|
@@ -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
|
@@ -39,7 +39,7 @@ module SunshineConversationsClient
|
|
39
39
|
:'signed_up_at' => :'String',
|
40
40
|
:'to_be_retained' => :'Boolean',
|
41
41
|
:'profile' => :'Profile',
|
42
|
-
:'metadata' => :'
|
42
|
+
:'metadata' => :'Hash',
|
43
43
|
:'identities' => :'Array<Identity>'
|
44
44
|
}
|
45
45
|
end
|
@@ -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
|
@@ -43,7 +43,7 @@ module SunshineConversationsClient
|
|
43
43
|
:'signed_up_at' => :'String',
|
44
44
|
:'to_be_retained' => :'Boolean',
|
45
45
|
:'profile' => :'Profile',
|
46
|
-
:'metadata' => :'Object'
|
46
|
+
:'metadata' => :'Hash<String, Object>'
|
47
47
|
}
|
48
48
|
end
|
49
49
|
|
@@ -86,7 +86,6 @@ module SunshineConversationsClient
|
|
86
86
|
end
|
87
87
|
|
88
88
|
if attributes.key?(:'metadata')
|
89
|
-
self.metadata = attributes[:'metadata']
|
90
89
|
end
|
91
90
|
end
|
92
91
|
|
@@ -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
|
@@ -63,7 +63,7 @@ module SunshineConversationsClient
|
|
63
63
|
:'merged_users' => :'UserMergeEventAllOfPayloadMergedUsers',
|
64
64
|
:'merged_conversations' => :'UserMergeEventAllOfPayloadMergedConversations',
|
65
65
|
:'merged_clients' => :'UserMergeEventAllOfPayloadMergedClients',
|
66
|
-
:'discarded_metadata' => :'
|
66
|
+
:'discarded_metadata' => :'Hash',
|
67
67
|
:'reason' => :'String'
|
68
68
|
}
|
69
69
|
end
|
@@ -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
|
@@ -36,7 +36,7 @@ module SunshineConversationsClient
|
|
36
36
|
:'signed_up_at' => :'String',
|
37
37
|
:'to_be_retained' => :'Boolean',
|
38
38
|
:'profile' => :'Profile',
|
39
|
-
:'metadata' => :'Object'
|
39
|
+
:'metadata' => :'Hash<String, Object>'
|
40
40
|
}
|
41
41
|
end
|
42
42
|
|
@@ -75,7 +75,6 @@ module SunshineConversationsClient
|
|
75
75
|
end
|
76
76
|
|
77
77
|
if attributes.key?(:'metadata')
|
78
|
-
self.metadata = attributes[:'metadata']
|
79
78
|
end
|
80
79
|
end
|
81
80
|
|