sunshine-conversations-client 12.5.0 → 12.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG_RB.md +12 -0
- data/README.md +9 -5
- data/docs/Android.md +5 -1
- data/docs/AndroidUpdate.md +2 -0
- data/docs/AppSettings.md +2 -2
- data/docs/Apple.md +5 -1
- data/docs/AttachmentsApi.md +2 -2
- data/docs/CustomUpdateAllOf.md +17 -0
- data/docs/DefaultResponder.md +17 -0
- data/docs/DefaultResponderDefaultResponder.md +33 -0
- data/docs/DefaultResponderId.md +17 -0
- data/docs/Instagram.md +5 -1
- data/docs/InstagramUpdate.md +2 -0
- data/docs/IntegrationUpdate.md +2 -0
- data/docs/IntegrationUpdateBase.md +3 -1
- data/docs/Ios.md +5 -1
- data/docs/IosUpdate.md +2 -0
- data/docs/Line.md +5 -1
- data/docs/Mailgun.md +5 -1
- data/docs/MailgunUpdate.md +2 -0
- data/docs/Messagebird.md +5 -1
- data/docs/Messenger.md +5 -1
- data/docs/MessengerUpdate.md +2 -0
- data/docs/Telegram.md +5 -1
- data/docs/Twilio.md +5 -1
- data/docs/Twitter.md +5 -1
- data/docs/Unity.md +5 -1
- data/docs/UnityUpdate.md +2 -0
- data/docs/Viber.md +5 -1
- data/docs/Web.md +5 -1
- data/docs/WebUpdate.md +2 -0
- data/docs/WhatsAppUpdate.md +2 -0
- data/docs/Whatsapp.md +5 -1
- 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 +5 -5
- data/lib/sunshine-conversations-client/api/clients_api.rb +1 -1
- data/lib/sunshine-conversations-client/api/conversations_api.rb +1 -1
- data/lib/sunshine-conversations-client/api/custom_integration_api_keys_api.rb +1 -1
- data/lib/sunshine-conversations-client/api/devices_api.rb +1 -1
- 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 +1 -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 +1 -1
- data/lib/sunshine-conversations-client/models/action.rb +1 -1
- data/lib/sunshine-conversations-client/models/action_subset.rb +1 -1
- 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_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 +27 -5
- data/lib/sunshine-conversations-client/models/android_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/android_update.rb +13 -2
- data/lib/sunshine-conversations-client/models/android_update_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/api_key.rb +1 -1
- data/lib/sunshine-conversations-client/models/app.rb +1 -1
- data/lib/sunshine-conversations-client/models/app_create_body.rb +1 -1
- 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 +3 -3
- data/lib/sunshine-conversations-client/models/app_sub_schema.rb +1 -1
- data/lib/sunshine-conversations-client/models/app_update_body.rb +1 -1
- data/lib/sunshine-conversations-client/models/apple.rb +27 -5
- data/lib/sunshine-conversations-client/models/apple_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/apple_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/attachment_delete_body.rb +1 -1
- data/lib/sunshine-conversations-client/models/attachment_media_token_body.rb +1 -1
- data/lib/sunshine-conversations-client/models/attachment_media_token_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/attachment_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/attachment_schema.rb +1 -1
- 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 +1 -1
- 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 +1 -1
- data/lib/sunshine-conversations-client/models/conversation.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_create_body.rb +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +3 -3
- data/lib/sunshine-conversations-client/models/custom_update_all_of.rb +229 -0
- data/lib/sunshine-conversations-client/models/default_responder.rb +203 -0
- data/lib/sunshine-conversations-client/models/default_responder_default_responder.rb +285 -0
- data/lib/sunshine-conversations-client/models/default_responder_id.rb +205 -0
- data/lib/sunshine-conversations-client/models/destination.rb +1 -1
- data/lib/sunshine-conversations-client/models/device.rb +1 -1
- data/lib/sunshine-conversations-client/models/device_response.rb +1 -1
- 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 +1 -1
- 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 +1 -1
- data/lib/sunshine-conversations-client/models/inline_object.rb +1 -1
- data/lib/sunshine-conversations-client/models/instagram.rb +27 -5
- data/lib/sunshine-conversations-client/models/instagram_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/instagram_update.rb +13 -2
- 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 +13 -2
- data/lib/sunshine-conversations-client/models/integration_update_base.rb +17 -6
- data/lib/sunshine-conversations-client/models/ios.rb +27 -5
- data/lib/sunshine-conversations-client/models/ios_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/ios_update.rb +13 -2
- data/lib/sunshine-conversations-client/models/ios_update_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/item.rb +1 -1
- data/lib/sunshine-conversations-client/models/line.rb +27 -5
- 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 +1 -1
- 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 +1 -1
- data/lib/sunshine-conversations-client/models/mailgun.rb +28 -6
- data/lib/sunshine-conversations-client/models/mailgun_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/mailgun_update.rb +13 -2
- 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 +1 -1
- 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 +1 -1
- data/lib/sunshine-conversations-client/models/message_post_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/message_webhook.rb +1 -1
- data/lib/sunshine-conversations-client/models/messagebird.rb +27 -5
- data/lib/sunshine-conversations-client/models/messagebird_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/messenger.rb +27 -5
- data/lib/sunshine-conversations-client/models/messenger_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/messenger_update.rb +13 -2
- data/lib/sunshine-conversations-client/models/meta.rb +1 -1
- data/lib/sunshine-conversations-client/models/offer_control_body.rb +1 -1
- 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 +1 -1
- data/lib/sunshine-conversations-client/models/postback.rb +1 -1
- data/lib/sunshine-conversations-client/models/postback_webhook.rb +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_integration.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_integration_create_body.rb +1 -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 +1 -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 +1 -1
- 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 +1 -1
- 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 +27 -5
- data/lib/sunshine-conversations-client/models/telegram_all_of.rb +1 -1
- 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 +1 -1
- data/lib/sunshine-conversations-client/models/twilio.rb +27 -5
- data/lib/sunshine-conversations-client/models/twilio_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/twilio_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/twitter.rb +27 -5
- data/lib/sunshine-conversations-client/models/twitter_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/twitter_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/unity.rb +27 -5
- data/lib/sunshine-conversations-client/models/unity_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/unity_update.rb +13 -2
- data/lib/sunshine-conversations-client/models/unity_update_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/user.rb +1 -1
- data/lib/sunshine-conversations-client/models/user_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/user_create_body.rb +1 -1
- 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 +1 -1
- 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_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 +1 -1
- 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 +27 -5
- data/lib/sunshine-conversations-client/models/viber_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/viber_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/web.rb +27 -5
- data/lib/sunshine-conversations-client/models/web_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/web_update.rb +13 -2
- data/lib/sunshine-conversations-client/models/web_update_all_of.rb +1 -1
- 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 +1 -1
- data/lib/sunshine-conversations-client/models/whats_app_update.rb +13 -2
- data/lib/sunshine-conversations-client/models/whats_app_update_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/whatsapp.rb +28 -6
- data/lib/sunshine-conversations-client/models/whatsapp_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/version.rb +2 -2
- data/lib/sunshine-conversations-client.rb +5 -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 +10 -2
data/docs/Web.md
CHANGED
@@ -22,6 +22,8 @@ Name | Type | Description | Notes
|
|
22
22
|
**can_user_see_conversation_list** | **Boolean** | Allows users to view their list of conversations. By default, the list of conversations will be visible. *This setting only applies to apps where `settings.multiConvoEnabled` is set to `true`*. | [optional]
|
23
23
|
**can_user_create_more_conversations** | **Boolean** | Allows users to create more than one conversation on the web messenger integration. | [optional]
|
24
24
|
**attachments_enabled** | **Boolean** | Allows users to send attachments. By default, the setting is set to true. This setting can only be configured in Zendesk Admin Center. | [optional] [readonly]
|
25
|
+
**default_responder_id** | **String** | The default responder ID for the integration. This is the ID of the responder that will be used to send messages to the user. For more information, refer to <a href=\"https://docs.smooch.io/guide/switchboard/#per-channel-default-responder\">Per-channel default responder</a> guide. | [optional]
|
26
|
+
**default_responder** | [**DefaultResponderDefaultResponder**](DefaultResponderDefaultResponder.md) | | [optional]
|
25
27
|
|
26
28
|
## Code Sample
|
27
29
|
|
@@ -45,7 +47,9 @@ instance = SunshineConversationsClient::Web.new(type: null,
|
|
45
47
|
prechat_capture: null,
|
46
48
|
can_user_see_conversation_list: false,
|
47
49
|
can_user_create_more_conversations: null,
|
48
|
-
attachments_enabled: null
|
50
|
+
attachments_enabled: null,
|
51
|
+
default_responder_id: null,
|
52
|
+
default_responder: null)
|
49
53
|
```
|
50
54
|
|
51
55
|
|
data/docs/WebUpdate.md
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**display_name** | **String** | A human-friendly name used to identify the integration. `displayName` can be unset by changing it to `null`. | [optional]
|
8
|
+
**default_responder_id** | **String** | The default responder ID for the integration. This is the ID of the responder that will be used to send messages to the user. For more information, refer to <a href=\"https://docs.smooch.io/guide/switchboard/#per-channel-default-responder\">Per-channel default responder</a> guide. | [optional]
|
8
9
|
**brand_color** | **String** | This color will be used in the messenger header and the button or tab in idle state. Must be a 3 or 6-character hexadecimal color. | [optional] [default to '65758e']
|
9
10
|
**fixed_intro_pane** | **Boolean** | When true, the introduction pane will be pinned at the top of the conversation instead of scrolling with it. | [optional] [default to false]
|
10
11
|
**conversation_color** | **String** | This color will be used for customer messages, quick replies and actions in the footer. Must be a 3 or 6-character hexadecimal color. | [optional] [default to '0099ff']
|
@@ -27,6 +28,7 @@ Name | Type | Description | Notes
|
|
27
28
|
require 'SunshineConversationsClient'
|
28
29
|
|
29
30
|
instance = SunshineConversationsClient::WebUpdate.new(display_name: My awesome integration,
|
31
|
+
default_responder_id: null,
|
30
32
|
brand_color: null,
|
31
33
|
fixed_intro_pane: null,
|
32
34
|
conversation_color: null,
|
data/docs/WhatsAppUpdate.md
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**display_name** | **String** | A human-friendly name used to identify the integration. `displayName` can be unset by changing it to `null`. | [optional]
|
8
|
+
**default_responder_id** | **String** | The default responder ID for the integration. This is the ID of the responder that will be used to send messages to the user. For more information, refer to <a href=\"https://docs.smooch.io/guide/switchboard/#per-channel-default-responder\">Per-channel default responder</a> guide. | [optional]
|
8
9
|
**hsm_fallback_language** | **String** | Specify a fallback language to use when sending WhatsApp message template using the short hand syntax. Defaults to en_US. See WhatsApp documentation for more info. | [optional] [default to 'en_US']
|
9
10
|
**account_id** | **String** | The business ID associated with the WhatsApp account. In combination with accountManagementAccessToken, it’s used for Message Template Reconstruction. | [optional]
|
10
11
|
**account_management_access_token** | **String** | An access token associated with the accountId used to query the WhatsApp Account Management API. In combination with accountId, it’s used for Message Template Reconstruction. | [optional]
|
@@ -15,6 +16,7 @@ Name | Type | Description | Notes
|
|
15
16
|
require 'SunshineConversationsClient'
|
16
17
|
|
17
18
|
instance = SunshineConversationsClient::WhatsAppUpdate.new(display_name: My awesome integration,
|
19
|
+
default_responder_id: null,
|
18
20
|
hsm_fallback_language: null,
|
19
21
|
account_id: your_whatsApp_account_id,
|
20
22
|
account_management_access_token: your_access_token)
|
data/docs/Whatsapp.md
CHANGED
@@ -10,6 +10,8 @@ Name | Type | Description | Notes
|
|
10
10
|
**account_id** | **String** | The business ID associated with the WhatsApp account. In combination with accountManagementAccessToken, it’s used for Message Template Reconstruction. | [optional]
|
11
11
|
**account_management_access_token** | **String** | An access token associated with the accountId used to query the WhatsApp Account Management API. In combination with accountId, it’s used for Message Template Reconstruction. | [optional]
|
12
12
|
**phone_number** | **String** | The phone number that is associated with the deployment of this integration, if one exists. | [optional] [readonly]
|
13
|
+
**default_responder_id** | **String** | The default responder ID for the integration. This is the ID of the responder that will be used to send messages to the user. For more information, refer to <a href=\"https://docs.smooch.io/guide/switchboard/#per-channel-default-responder\">Per-channel default responder</a> guide. | [optional]
|
14
|
+
**default_responder** | [**DefaultResponderDefaultResponder**](DefaultResponderDefaultResponder.md) | | [optional]
|
13
15
|
|
14
16
|
## Code Sample
|
15
17
|
|
@@ -21,7 +23,9 @@ instance = SunshineConversationsClient::Whatsapp.new(type: null,
|
|
21
23
|
hsm_fallback_language: null,
|
22
24
|
account_id: your_whatsApp_account_id,
|
23
25
|
account_management_access_token: your_access_token,
|
24
|
-
phone_number: 15144441919
|
26
|
+
phone_number: 15144441919,
|
27
|
+
default_responder_id: null,
|
28
|
+
default_responder: null)
|
25
29
|
```
|
26
30
|
|
27
31
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Sunshine Conversations API
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 12.
|
4
|
+
The version of the OpenAPI document: 12.6.0
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 4.3.1
|
@@ -87,7 +87,7 @@ module SunshineConversationsClient
|
|
87
87
|
end
|
88
88
|
|
89
89
|
# Generate Media Token
|
90
|
-
# Generates a media JWT for a list of attachment paths.
|
90
|
+
# Generates a media JWT for a list of attachment paths.
|
91
91
|
# @param app_id [String] Identifies the app.
|
92
92
|
# @param attachment_media_token_body [AttachmentMediaTokenBody]
|
93
93
|
# @param [Hash] opts the optional parameters
|
@@ -98,7 +98,7 @@ module SunshineConversationsClient
|
|
98
98
|
end
|
99
99
|
|
100
100
|
# Generate Media Token
|
101
|
-
# Generates a media JWT for a list of attachment paths.
|
101
|
+
# Generates a media JWT for a list of attachment paths.
|
102
102
|
# @param app_id [String] Identifies the app.
|
103
103
|
# @param attachment_media_token_body [AttachmentMediaTokenBody]
|
104
104
|
# @param [Hash] opts the optional parameters
|
@@ -157,7 +157,7 @@ module SunshineConversationsClient
|
|
157
157
|
end
|
158
158
|
|
159
159
|
# Set Cookie
|
160
|
-
# With the media JWT retrieved, pass it in the header of the below request as it’s authorization in order to set a cookie in the user’s browser corresponding to the path within the media JWT. The expiration date of this cookie will match the expiration date of the media JWT.
|
160
|
+
# With the media JWT retrieved, pass it in the header of the below request as it’s authorization in order to set a cookie in the user’s browser corresponding to the path within the media JWT. The expiration date of this cookie will match the expiration date of the media JWT.
|
161
161
|
# @param app_id [String] Identifies the app.
|
162
162
|
# @param [Hash] opts the optional parameters
|
163
163
|
# @return [Object]
|
@@ -167,7 +167,7 @@ module SunshineConversationsClient
|
|
167
167
|
end
|
168
168
|
|
169
169
|
# Set Cookie
|
170
|
-
# With the media JWT retrieved, pass it in the header of the below request as it’s authorization in order to set a cookie in the user’s browser corresponding to the path within the media JWT. The expiration date of this cookie will match the expiration date of the media JWT.
|
170
|
+
# With the media JWT retrieved, pass it in the header of the below request as it’s authorization in order to set a cookie in the user’s browser corresponding to the path within the media JWT. The expiration date of this cookie will match the expiration date of the media JWT.
|
171
171
|
# @param app_id [String] Identifies the app.
|
172
172
|
# @param [Hash] opts the optional parameters
|
173
173
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Sunshine Conversations API
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 12.
|
4
|
+
The version of the OpenAPI document: 12.6.0
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 4.3.1
|
@@ -35,6 +35,11 @@ module SunshineConversationsClient
|
|
35
35
|
# Allows users to send attachments. By default, the setting is set to true. This setting can only be configured in Zendesk Admin Center.
|
36
36
|
attr_accessor :attachments_enabled
|
37
37
|
|
38
|
+
# 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.
|
39
|
+
attr_accessor :default_responder_id
|
40
|
+
|
41
|
+
attr_accessor :default_responder
|
42
|
+
|
38
43
|
# Attribute mapping from ruby-style variable name to JSON key.
|
39
44
|
def self.attribute_map
|
40
45
|
{
|
@@ -45,7 +50,9 @@ module SunshineConversationsClient
|
|
45
50
|
:'server_key' => :'serverKey',
|
46
51
|
:'sender_id' => :'senderId',
|
47
52
|
:'can_user_create_more_conversations' => :'canUserCreateMoreConversations',
|
48
|
-
:'attachments_enabled' => :'attachmentsEnabled'
|
53
|
+
:'attachments_enabled' => :'attachmentsEnabled',
|
54
|
+
:'default_responder_id' => :'defaultResponderId',
|
55
|
+
:'default_responder' => :'defaultResponder'
|
49
56
|
}
|
50
57
|
end
|
51
58
|
|
@@ -59,7 +66,9 @@ module SunshineConversationsClient
|
|
59
66
|
:'server_key' => :'String',
|
60
67
|
:'sender_id' => :'String',
|
61
68
|
:'can_user_create_more_conversations' => :'Boolean',
|
62
|
-
:'attachments_enabled' => :'Boolean'
|
69
|
+
:'attachments_enabled' => :'Boolean',
|
70
|
+
:'default_responder_id' => :'String',
|
71
|
+
:'default_responder' => :'DefaultResponderDefaultResponder'
|
63
72
|
}
|
64
73
|
end
|
65
74
|
|
@@ -71,6 +80,7 @@ module SunshineConversationsClient
|
|
71
80
|
:'private_key',
|
72
81
|
:'server_key',
|
73
82
|
:'sender_id',
|
83
|
+
:'default_responder_id',
|
74
84
|
])
|
75
85
|
end
|
76
86
|
|
@@ -78,6 +88,8 @@ module SunshineConversationsClient
|
|
78
88
|
def self.openapi_all_of
|
79
89
|
[
|
80
90
|
:'AndroidAllOf',
|
91
|
+
:'DefaultResponder',
|
92
|
+
:'DefaultResponderId',
|
81
93
|
:'Integration'
|
82
94
|
]
|
83
95
|
end
|
@@ -133,6 +145,14 @@ module SunshineConversationsClient
|
|
133
145
|
if attributes.key?(:'attachments_enabled')
|
134
146
|
self.attachments_enabled = attributes[:'attachments_enabled']
|
135
147
|
end
|
148
|
+
|
149
|
+
if attributes.key?(:'default_responder_id')
|
150
|
+
self.default_responder_id = attributes[:'default_responder_id']
|
151
|
+
end
|
152
|
+
|
153
|
+
if attributes.key?(:'default_responder')
|
154
|
+
self.default_responder = attributes[:'default_responder']
|
155
|
+
end
|
136
156
|
end
|
137
157
|
|
138
158
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -235,7 +255,9 @@ module SunshineConversationsClient
|
|
235
255
|
server_key == o.server_key &&
|
236
256
|
sender_id == o.sender_id &&
|
237
257
|
can_user_create_more_conversations == o.can_user_create_more_conversations &&
|
238
|
-
attachments_enabled == o.attachments_enabled &&
|
258
|
+
attachments_enabled == o.attachments_enabled &&
|
259
|
+
default_responder_id == o.default_responder_id &&
|
260
|
+
default_responder == o.default_responder && super(o)
|
239
261
|
end
|
240
262
|
|
241
263
|
# @see the `==` method
|
@@ -247,7 +269,7 @@ module SunshineConversationsClient
|
|
247
269
|
# Calculates hash code according to all attributes.
|
248
270
|
# @return [Integer] Hash code
|
249
271
|
def hash
|
250
|
-
[type, project_id, client_email, private_key, server_key, sender_id, can_user_create_more_conversations, attachments_enabled].hash
|
272
|
+
[type, project_id, client_email, private_key, server_key, sender_id, can_user_create_more_conversations, attachments_enabled, default_responder_id, default_responder].hash
|
251
273
|
end
|
252
274
|
|
253
275
|
# 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: 12.
|
4
|
+
The version of the OpenAPI document: 12.6.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
|
# A human-friendly name used to identify the integration. `displayName` can be unset by changing it to `null`.
|
15
15
|
attr_accessor :display_name
|
16
16
|
|
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
|
+
attr_accessor :default_responder_id
|
19
|
+
|
17
20
|
# Your project ID from your generated private key file.
|
18
21
|
attr_accessor :project_id
|
19
22
|
|
@@ -36,6 +39,7 @@ module SunshineConversationsClient
|
|
36
39
|
def self.attribute_map
|
37
40
|
{
|
38
41
|
:'display_name' => :'displayName',
|
42
|
+
:'default_responder_id' => :'defaultResponderId',
|
39
43
|
:'project_id' => :'projectId',
|
40
44
|
:'client_email' => :'clientEmail',
|
41
45
|
:'private_key' => :'privateKey',
|
@@ -49,6 +53,7 @@ module SunshineConversationsClient
|
|
49
53
|
def self.openapi_types
|
50
54
|
{
|
51
55
|
:'display_name' => :'String',
|
56
|
+
:'default_responder_id' => :'String',
|
52
57
|
:'project_id' => :'String',
|
53
58
|
:'client_email' => :'String',
|
54
59
|
:'private_key' => :'String',
|
@@ -62,6 +67,7 @@ module SunshineConversationsClient
|
|
62
67
|
def self.openapi_nullable
|
63
68
|
Set.new([
|
64
69
|
:'display_name',
|
70
|
+
:'default_responder_id',
|
65
71
|
:'project_id',
|
66
72
|
:'client_email',
|
67
73
|
:'private_key',
|
@@ -97,6 +103,10 @@ module SunshineConversationsClient
|
|
97
103
|
self.display_name = attributes[:'display_name']
|
98
104
|
end
|
99
105
|
|
106
|
+
if attributes.key?(:'default_responder_id')
|
107
|
+
self.default_responder_id = attributes[:'default_responder_id']
|
108
|
+
end
|
109
|
+
|
100
110
|
if attributes.key?(:'project_id')
|
101
111
|
self.project_id = attributes[:'project_id']
|
102
112
|
end
|
@@ -240,6 +250,7 @@ module SunshineConversationsClient
|
|
240
250
|
return true if self.equal?(o)
|
241
251
|
self.class == o.class &&
|
242
252
|
display_name == o.display_name &&
|
253
|
+
default_responder_id == o.default_responder_id &&
|
243
254
|
project_id == o.project_id &&
|
244
255
|
client_email == o.client_email &&
|
245
256
|
private_key == o.private_key &&
|
@@ -257,7 +268,7 @@ module SunshineConversationsClient
|
|
257
268
|
# Calculates hash code according to all attributes.
|
258
269
|
# @return [Integer] Hash code
|
259
270
|
def hash
|
260
|
-
[display_name, project_id, client_email, private_key, server_key, sender_id, can_user_create_more_conversations].hash
|
271
|
+
[display_name, default_responder_id, project_id, client_email, private_key, server_key, sender_id, can_user_create_more_conversations].hash
|
261
272
|
end
|
262
273
|
|
263
274
|
# Builds the object from hash
|