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
|
@@ -55,7 +55,9 @@ module SunshineConversationsClient
|
|
55
55
|
# List of attributes with nullable: true
|
56
56
|
def self.openapi_nullable
|
57
57
|
Set.new([
|
58
|
+
:'token',
|
58
59
|
:'default_responder_id',
|
60
|
+
:'default_responder'
|
59
61
|
])
|
60
62
|
end
|
61
63
|
|
@@ -118,10 +120,6 @@ module SunshineConversationsClient
|
|
118
120
|
# @return Array for valid properties with the reasons
|
119
121
|
def list_invalid_properties
|
120
122
|
invalid_properties = super
|
121
|
-
if @token.nil?
|
122
|
-
invalid_properties.push('invalid value for "token", token cannot be nil.')
|
123
|
-
end
|
124
|
-
|
125
123
|
if @token.to_s.length < 1
|
126
124
|
invalid_properties.push('invalid value for "token", the character length must be great than or equal to 1.')
|
127
125
|
end
|
@@ -132,7 +130,6 @@ module SunshineConversationsClient
|
|
132
130
|
# Check to see if the all the properties in the model are valid
|
133
131
|
# @return true if the model is valid
|
134
132
|
def valid?
|
135
|
-
return false if @token.nil?
|
136
133
|
return false if @token.to_s.length < 1
|
137
134
|
true && super
|
138
135
|
end
|
@@ -140,10 +137,6 @@ module SunshineConversationsClient
|
|
140
137
|
# Custom attribute writer method with validation
|
141
138
|
# @param [Object] token Value to be assigned
|
142
139
|
def token=(token)
|
143
|
-
if token.nil?
|
144
|
-
fail ArgumentError, 'token cannot be nil'
|
145
|
-
end
|
146
|
-
|
147
140
|
if token.to_s.length < 1
|
148
141
|
fail ArgumentError, 'invalid value for "token", the character length must be great than or equal to 1.'
|
149
142
|
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
|
@@ -46,6 +46,7 @@ module SunshineConversationsClient
|
|
46
46
|
# List of attributes with nullable: true
|
47
47
|
def self.openapi_nullable
|
48
48
|
Set.new([
|
49
|
+
:'token',
|
49
50
|
])
|
50
51
|
end
|
51
52
|
|
@@ -87,10 +88,6 @@ module SunshineConversationsClient
|
|
87
88
|
# @return Array for valid properties with the reasons
|
88
89
|
def list_invalid_properties
|
89
90
|
invalid_properties = Array.new
|
90
|
-
if @token.nil?
|
91
|
-
invalid_properties.push('invalid value for "token", token cannot be nil.')
|
92
|
-
end
|
93
|
-
|
94
91
|
if @token.to_s.length < 1
|
95
92
|
invalid_properties.push('invalid value for "token", the character length must be great than or equal to 1.')
|
96
93
|
end
|
@@ -101,7 +98,6 @@ module SunshineConversationsClient
|
|
101
98
|
# Check to see if the all the properties in the model are valid
|
102
99
|
# @return true if the model is valid
|
103
100
|
def valid?
|
104
|
-
return false if @token.nil?
|
105
101
|
return false if @token.to_s.length < 1
|
106
102
|
true
|
107
103
|
end
|
@@ -109,10 +105,6 @@ module SunshineConversationsClient
|
|
109
105
|
# Custom attribute writer method with validation
|
110
106
|
# @param [Object] token Value to be assigned
|
111
107
|
def token=(token)
|
112
|
-
if token.nil?
|
113
|
-
fail ArgumentError, 'token cannot be nil'
|
114
|
-
end
|
115
|
-
|
116
108
|
if token.to_s.length < 1
|
117
109
|
fail ArgumentError, 'invalid value for "token", the character length must be great than or equal to 1.'
|
118
110
|
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
|
@@ -129,6 +129,7 @@ module SunshineConversationsClient
|
|
129
129
|
:'integration_order',
|
130
130
|
:'origin_whitelist',
|
131
131
|
:'default_responder_id',
|
132
|
+
:'default_responder'
|
132
133
|
])
|
133
134
|
end
|
134
135
|
|
@@ -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
|
@@ -59,6 +59,9 @@ module SunshineConversationsClient
|
|
59
59
|
# Object whose properties can be set to specify the add-on’s options. See the [guide](https://docs.smooch.io/guide/web-messenger/#prechat-capture) to learn more about Prechat Capture.
|
60
60
|
attr_accessor :prechat_capture
|
61
61
|
|
62
|
+
# 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`*.
|
63
|
+
attr_accessor :can_user_see_conversation_list
|
64
|
+
|
62
65
|
# Allows users to create more than one conversation on the web messenger integration.
|
63
66
|
attr_accessor :can_user_create_more_conversations
|
64
67
|
|
@@ -81,6 +84,7 @@ module SunshineConversationsClient
|
|
81
84
|
:'background_image_url' => :'backgroundImageUrl',
|
82
85
|
:'origin_whitelist' => :'originWhitelist',
|
83
86
|
:'prechat_capture' => :'prechatCapture',
|
87
|
+
:'can_user_see_conversation_list' => :'canUserSeeConversationList',
|
84
88
|
:'can_user_create_more_conversations' => :'canUserCreateMoreConversations'
|
85
89
|
}
|
86
90
|
end
|
@@ -104,6 +108,7 @@ module SunshineConversationsClient
|
|
104
108
|
:'background_image_url' => :'String',
|
105
109
|
:'origin_whitelist' => :'Array<String>',
|
106
110
|
:'prechat_capture' => :'PrechatCapture',
|
111
|
+
:'can_user_see_conversation_list' => :'Boolean',
|
107
112
|
:'can_user_create_more_conversations' => :'Boolean'
|
108
113
|
}
|
109
114
|
end
|
@@ -218,6 +223,10 @@ module SunshineConversationsClient
|
|
218
223
|
self.prechat_capture = attributes[:'prechat_capture']
|
219
224
|
end
|
220
225
|
|
226
|
+
if attributes.key?(:'can_user_see_conversation_list')
|
227
|
+
self.can_user_see_conversation_list = attributes[:'can_user_see_conversation_list']
|
228
|
+
end
|
229
|
+
|
221
230
|
if attributes.key?(:'can_user_create_more_conversations')
|
222
231
|
self.can_user_create_more_conversations = attributes[:'can_user_create_more_conversations']
|
223
232
|
end
|
@@ -281,6 +290,7 @@ module SunshineConversationsClient
|
|
281
290
|
background_image_url == o.background_image_url &&
|
282
291
|
origin_whitelist == o.origin_whitelist &&
|
283
292
|
prechat_capture == o.prechat_capture &&
|
293
|
+
can_user_see_conversation_list == o.can_user_see_conversation_list &&
|
284
294
|
can_user_create_more_conversations == o.can_user_create_more_conversations
|
285
295
|
end
|
286
296
|
|
@@ -293,7 +303,7 @@ module SunshineConversationsClient
|
|
293
303
|
# Calculates hash code according to all attributes.
|
294
304
|
# @return [Integer] Hash code
|
295
305
|
def hash
|
296
|
-
[display_name, default_responder_id, brand_color, fixed_intro_pane, conversation_color, action_color, display_style, button_icon_url, button_width, button_height, integration_order, business_name, business_icon_url, background_image_url, origin_whitelist, prechat_capture, can_user_create_more_conversations].hash
|
306
|
+
[display_name, default_responder_id, brand_color, fixed_intro_pane, conversation_color, action_color, display_style, button_icon_url, button_width, button_height, integration_order, business_name, business_icon_url, background_image_url, origin_whitelist, prechat_capture, can_user_see_conversation_list, can_user_create_more_conversations].hash
|
297
307
|
end
|
298
308
|
|
299
309
|
# 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
|
@@ -54,6 +54,9 @@ module SunshineConversationsClient
|
|
54
54
|
# Object whose properties can be set to specify the add-on’s options. See the [guide](https://docs.smooch.io/guide/web-messenger/#prechat-capture) to learn more about Prechat Capture.
|
55
55
|
attr_accessor :prechat_capture
|
56
56
|
|
57
|
+
# 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`*.
|
58
|
+
attr_accessor :can_user_see_conversation_list
|
59
|
+
|
57
60
|
# Allows users to create more than one conversation on the web messenger integration.
|
58
61
|
attr_accessor :can_user_create_more_conversations
|
59
62
|
|
@@ -74,6 +77,7 @@ module SunshineConversationsClient
|
|
74
77
|
:'background_image_url' => :'backgroundImageUrl',
|
75
78
|
:'origin_whitelist' => :'originWhitelist',
|
76
79
|
:'prechat_capture' => :'prechatCapture',
|
80
|
+
:'can_user_see_conversation_list' => :'canUserSeeConversationList',
|
77
81
|
:'can_user_create_more_conversations' => :'canUserCreateMoreConversations'
|
78
82
|
}
|
79
83
|
end
|
@@ -95,6 +99,7 @@ module SunshineConversationsClient
|
|
95
99
|
:'background_image_url' => :'String',
|
96
100
|
:'origin_whitelist' => :'Array<String>',
|
97
101
|
:'prechat_capture' => :'PrechatCapture',
|
102
|
+
:'can_user_see_conversation_list' => :'Boolean',
|
98
103
|
:'can_user_create_more_conversations' => :'Boolean'
|
99
104
|
}
|
100
105
|
end
|
@@ -191,6 +196,10 @@ module SunshineConversationsClient
|
|
191
196
|
self.prechat_capture = attributes[:'prechat_capture']
|
192
197
|
end
|
193
198
|
|
199
|
+
if attributes.key?(:'can_user_see_conversation_list')
|
200
|
+
self.can_user_see_conversation_list = attributes[:'can_user_see_conversation_list']
|
201
|
+
end
|
202
|
+
|
194
203
|
if attributes.key?(:'can_user_create_more_conversations')
|
195
204
|
self.can_user_create_more_conversations = attributes[:'can_user_create_more_conversations']
|
196
205
|
end
|
@@ -228,6 +237,7 @@ module SunshineConversationsClient
|
|
228
237
|
background_image_url == o.background_image_url &&
|
229
238
|
origin_whitelist == o.origin_whitelist &&
|
230
239
|
prechat_capture == o.prechat_capture &&
|
240
|
+
can_user_see_conversation_list == o.can_user_see_conversation_list &&
|
231
241
|
can_user_create_more_conversations == o.can_user_create_more_conversations
|
232
242
|
end
|
233
243
|
|
@@ -240,7 +250,7 @@ module SunshineConversationsClient
|
|
240
250
|
# Calculates hash code according to all attributes.
|
241
251
|
# @return [Integer] Hash code
|
242
252
|
def hash
|
243
|
-
[brand_color, fixed_intro_pane, conversation_color, action_color, display_style, button_icon_url, button_width, button_height, integration_order, business_name, business_icon_url, background_image_url, origin_whitelist, prechat_capture, can_user_create_more_conversations].hash
|
253
|
+
[brand_color, fixed_intro_pane, conversation_color, action_color, display_style, button_icon_url, button_width, button_height, integration_order, business_name, business_icon_url, background_image_url, origin_whitelist, prechat_capture, can_user_see_conversation_list, can_user_create_more_conversations].hash
|
244
254
|
end
|
245
255
|
|
246
256
|
# 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
|
@@ -82,7 +82,7 @@ module SunshineConversationsClient
|
|
82
82
|
:'uri' => :'String',
|
83
83
|
:'text' => :'String',
|
84
84
|
:'default' => :'Boolean',
|
85
|
-
:'metadata' => :'Object',
|
85
|
+
:'metadata' => :'Hash<String, Object>',
|
86
86
|
:'extra_channel_options' => :'ExtraChannelOptions',
|
87
87
|
:'size' => :'String',
|
88
88
|
:'fallback' => :'String',
|
@@ -129,7 +129,6 @@ module SunshineConversationsClient
|
|
129
129
|
end
|
130
130
|
|
131
131
|
if attributes.key?(:'metadata')
|
132
|
-
self.metadata = attributes[:'metadata']
|
133
132
|
end
|
134
133
|
|
135
134
|
if attributes.key?(:'extra_channel_options')
|
@@ -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,9 +14,6 @@ module SunshineConversationsClient
|
|
14
14
|
# To configure a WhatsApp integration, use your WhatsApp API Client connection information. Sunshine Conversations can provide WhatsApp API Client hosting for approved brands. See our [WhatsApp guide](https://docs.smooch.io/guide/whatsapp/#whatsapp-api-client) for more details on WhatsApp API Client hosting.
|
15
15
|
attr_accessor :type
|
16
16
|
|
17
|
-
# The Id of the deployment. The integrationId and the appId will be added to the deployment. Additionally, the deployment’s status will be set to integrated.
|
18
|
-
attr_accessor :deployment_id
|
19
|
-
|
20
17
|
# Specify a fallback language to use when sending WhatsApp message template using the short hand syntax. Defaults to en_US. See WhatsApp documentation for more info.
|
21
18
|
attr_accessor :hsm_fallback_language
|
22
19
|
|
@@ -38,7 +35,6 @@ module SunshineConversationsClient
|
|
38
35
|
def self.attribute_map
|
39
36
|
{
|
40
37
|
:'type' => :'type',
|
41
|
-
:'deployment_id' => :'deploymentId',
|
42
38
|
:'hsm_fallback_language' => :'hsmFallbackLanguage',
|
43
39
|
:'account_id' => :'accountId',
|
44
40
|
:'account_management_access_token' => :'accountManagementAccessToken',
|
@@ -52,7 +48,6 @@ module SunshineConversationsClient
|
|
52
48
|
def self.openapi_types
|
53
49
|
{
|
54
50
|
:'type' => :'String',
|
55
|
-
:'deployment_id' => :'String',
|
56
51
|
:'hsm_fallback_language' => :'String',
|
57
52
|
:'account_id' => :'String',
|
58
53
|
:'account_management_access_token' => :'String',
|
@@ -70,6 +65,7 @@ module SunshineConversationsClient
|
|
70
65
|
:'account_management_access_token',
|
71
66
|
:'phone_number',
|
72
67
|
:'default_responder_id',
|
68
|
+
:'default_responder'
|
73
69
|
])
|
74
70
|
end
|
75
71
|
|
@@ -107,10 +103,6 @@ module SunshineConversationsClient
|
|
107
103
|
self.type = 'whatsapp'
|
108
104
|
end
|
109
105
|
|
110
|
-
if attributes.key?(:'deployment_id')
|
111
|
-
self.deployment_id = attributes[:'deployment_id']
|
112
|
-
end
|
113
|
-
|
114
106
|
if attributes.key?(:'hsm_fallback_language')
|
115
107
|
self.hsm_fallback_language = attributes[:'hsm_fallback_language']
|
116
108
|
else
|
@@ -142,17 +134,12 @@ module SunshineConversationsClient
|
|
142
134
|
# @return Array for valid properties with the reasons
|
143
135
|
def list_invalid_properties
|
144
136
|
invalid_properties = super
|
145
|
-
if @deployment_id.nil?
|
146
|
-
invalid_properties.push('invalid value for "deployment_id", deployment_id cannot be nil.')
|
147
|
-
end
|
148
|
-
|
149
137
|
invalid_properties
|
150
138
|
end
|
151
139
|
|
152
140
|
# Check to see if the all the properties in the model are valid
|
153
141
|
# @return true if the model is valid
|
154
142
|
def valid?
|
155
|
-
return false if @deployment_id.nil?
|
156
143
|
true && super
|
157
144
|
end
|
158
145
|
|
@@ -162,7 +149,6 @@ module SunshineConversationsClient
|
|
162
149
|
return true if self.equal?(o)
|
163
150
|
self.class == o.class &&
|
164
151
|
type == o.type &&
|
165
|
-
deployment_id == o.deployment_id &&
|
166
152
|
hsm_fallback_language == o.hsm_fallback_language &&
|
167
153
|
account_id == o.account_id &&
|
168
154
|
account_management_access_token == o.account_management_access_token &&
|
@@ -180,7 +166,7 @@ module SunshineConversationsClient
|
|
180
166
|
# Calculates hash code according to all attributes.
|
181
167
|
# @return [Integer] Hash code
|
182
168
|
def hash
|
183
|
-
[type,
|
169
|
+
[type, hsm_fallback_language, account_id, account_management_access_token, phone_number, default_responder_id, default_responder].hash
|
184
170
|
end
|
185
171
|
|
186
172
|
# 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,9 +14,6 @@ module SunshineConversationsClient
|
|
14
14
|
# To configure a WhatsApp integration, use your WhatsApp API Client connection information. Sunshine Conversations can provide WhatsApp API Client hosting for approved brands. See our [WhatsApp guide](https://docs.smooch.io/guide/whatsapp/#whatsapp-api-client) for more details on WhatsApp API Client hosting.
|
15
15
|
attr_accessor :type
|
16
16
|
|
17
|
-
# The Id of the deployment. The integrationId and the appId will be added to the deployment. Additionally, the deployment’s status will be set to integrated.
|
18
|
-
attr_accessor :deployment_id
|
19
|
-
|
20
17
|
# Specify a fallback language to use when sending WhatsApp message template using the short hand syntax. Defaults to en_US. See WhatsApp documentation for more info.
|
21
18
|
attr_accessor :hsm_fallback_language
|
22
19
|
|
@@ -33,7 +30,6 @@ module SunshineConversationsClient
|
|
33
30
|
def self.attribute_map
|
34
31
|
{
|
35
32
|
:'type' => :'type',
|
36
|
-
:'deployment_id' => :'deploymentId',
|
37
33
|
:'hsm_fallback_language' => :'hsmFallbackLanguage',
|
38
34
|
:'account_id' => :'accountId',
|
39
35
|
:'account_management_access_token' => :'accountManagementAccessToken',
|
@@ -45,7 +41,6 @@ module SunshineConversationsClient
|
|
45
41
|
def self.openapi_types
|
46
42
|
{
|
47
43
|
:'type' => :'String',
|
48
|
-
:'deployment_id' => :'String',
|
49
44
|
:'hsm_fallback_language' => :'String',
|
50
45
|
:'account_id' => :'String',
|
51
46
|
:'account_management_access_token' => :'String',
|
@@ -84,10 +79,6 @@ module SunshineConversationsClient
|
|
84
79
|
self.type = 'whatsapp'
|
85
80
|
end
|
86
81
|
|
87
|
-
if attributes.key?(:'deployment_id')
|
88
|
-
self.deployment_id = attributes[:'deployment_id']
|
89
|
-
end
|
90
|
-
|
91
82
|
if attributes.key?(:'hsm_fallback_language')
|
92
83
|
self.hsm_fallback_language = attributes[:'hsm_fallback_language']
|
93
84
|
else
|
@@ -111,17 +102,12 @@ module SunshineConversationsClient
|
|
111
102
|
# @return Array for valid properties with the reasons
|
112
103
|
def list_invalid_properties
|
113
104
|
invalid_properties = Array.new
|
114
|
-
if @deployment_id.nil?
|
115
|
-
invalid_properties.push('invalid value for "deployment_id", deployment_id cannot be nil.')
|
116
|
-
end
|
117
|
-
|
118
105
|
invalid_properties
|
119
106
|
end
|
120
107
|
|
121
108
|
# Check to see if the all the properties in the model are valid
|
122
109
|
# @return true if the model is valid
|
123
110
|
def valid?
|
124
|
-
return false if @deployment_id.nil?
|
125
111
|
true
|
126
112
|
end
|
127
113
|
|
@@ -131,7 +117,6 @@ module SunshineConversationsClient
|
|
131
117
|
return true if self.equal?(o)
|
132
118
|
self.class == o.class &&
|
133
119
|
type == o.type &&
|
134
|
-
deployment_id == o.deployment_id &&
|
135
120
|
hsm_fallback_language == o.hsm_fallback_language &&
|
136
121
|
account_id == o.account_id &&
|
137
122
|
account_management_access_token == o.account_management_access_token &&
|
@@ -147,7 +132,7 @@ module SunshineConversationsClient
|
|
147
132
|
# Calculates hash code according to all attributes.
|
148
133
|
# @return [Integer] Hash code
|
149
134
|
def hash
|
150
|
-
[type,
|
135
|
+
[type, hsm_fallback_language, account_id, account_management_access_token, phone_number].hash
|
151
136
|
end
|
152
137
|
|
153
138
|
# Builds the object from hash
|
@@ -1,12 +1,12 @@
|
|
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
|
8
8
|
=end
|
9
9
|
|
10
10
|
module SunshineConversationsClient
|
11
|
-
VERSION = '
|
11
|
+
VERSION = '15.0.0'
|
12
12
|
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
|
@@ -141,6 +141,8 @@ require 'sunshine-conversations-client/models/download_message_ref_body'
|
|
141
141
|
require 'sunshine-conversations-client/models/download_message_ref_body_all_of'
|
142
142
|
require 'sunshine-conversations-client/models/download_message_ref_body_all_of_apple'
|
143
143
|
require 'sunshine-conversations-client/models/download_message_ref_body_all_of_apple_interactive_data_ref'
|
144
|
+
require 'sunshine-conversations-client/models/error'
|
145
|
+
require 'sunshine-conversations-client/models/error_response'
|
144
146
|
require 'sunshine-conversations-client/models/event_sub_schema'
|
145
147
|
require 'sunshine-conversations-client/models/extra_channel_options'
|
146
148
|
require 'sunshine-conversations-client/models/extra_channel_options_messenger'
|
data/spec/api_client_spec.rb
CHANGED
data/spec/configuration_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sunshine-conversations-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 15.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sunshine Conversations
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -207,6 +207,8 @@ files:
|
|
207
207
|
- docs/DownloadMessageRefBodyAllOf.md
|
208
208
|
- docs/DownloadMessageRefBodyAllOfApple.md
|
209
209
|
- docs/DownloadMessageRefBodyAllOfAppleInteractiveDataRef.md
|
210
|
+
- docs/Error.md
|
211
|
+
- docs/ErrorResponse.md
|
210
212
|
- docs/EventSubSchema.md
|
211
213
|
- docs/ExtraChannelOptions.md
|
212
214
|
- docs/ExtraChannelOptionsMessenger.md
|
@@ -537,6 +539,8 @@ files:
|
|
537
539
|
- lib/sunshine-conversations-client/models/download_message_ref_body_all_of.rb
|
538
540
|
- lib/sunshine-conversations-client/models/download_message_ref_body_all_of_apple.rb
|
539
541
|
- lib/sunshine-conversations-client/models/download_message_ref_body_all_of_apple_interactive_data_ref.rb
|
542
|
+
- lib/sunshine-conversations-client/models/error.rb
|
543
|
+
- lib/sunshine-conversations-client/models/error_response.rb
|
540
544
|
- lib/sunshine-conversations-client/models/event_sub_schema.rb
|
541
545
|
- lib/sunshine-conversations-client/models/extra_channel_options.rb
|
542
546
|
- lib/sunshine-conversations-client/models/extra_channel_options_messenger.rb
|