sunshine-conversations-client 13.0.0 → 13.2.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 +13 -0
- data/README.md +7 -9
- data/docs/AppSettings.md +1 -5
- data/docs/Apple.md +2 -0
- data/docs/AppleAllOf.md +3 -1
- data/docs/AppleMessageOverridePayload.md +19 -0
- data/docs/AppleUpdate.md +6 -1
- data/docs/AppleUpdateAllOf.md +17 -0
- data/docs/AttachmentsApi.md +2 -118
- data/docs/IntegrationUpdate.md +2 -0
- data/docs/MessageOverride.md +1 -1
- data/docs/MessageOverrideApple.md +1 -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 +3 -135
- 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 +1 -1
- data/lib/sunshine-conversations-client/models/android_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/android_update.rb +1 -1
- 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 +2 -22
- 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 -2
- data/lib/sunshine-conversations-client/models/apple_all_of.rb +30 -5
- data/lib/sunshine-conversations-client/models/{attachment_media_token_body.rb → apple_message_override_payload.rb} +43 -16
- data/lib/sunshine-conversations-client/models/apple_update.rb +78 -10
- data/lib/sunshine-conversations-client/models/{attachment_media_token_response.rb → apple_update_all_of.rb} +27 -11
- 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 +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 +1 -1
- data/lib/sunshine-conversations-client/models/custom_update_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/default_responder.rb +1 -1
- data/lib/sunshine-conversations-client/models/default_responder_default_responder.rb +1 -1
- 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 +1 -1
- 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/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 +1 -1
- data/lib/sunshine-conversations-client/models/instagram_all_of.rb +1 -1
- 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 +27 -2
- data/lib/sunshine-conversations-client/models/integration_update_base.rb +1 -1
- data/lib/sunshine-conversations-client/models/ios.rb +1 -1
- data/lib/sunshine-conversations-client/models/ios_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/ios_update.rb +1 -1
- 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 +1 -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 +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 +1 -1
- data/lib/sunshine-conversations-client/models/mailgun_all_of.rb +1 -1
- 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 +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 +3 -3
- data/lib/sunshine-conversations-client/models/message_override_apple.rb +2 -2
- 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 +1 -1
- data/lib/sunshine-conversations-client/models/messagebird_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/messenger.rb +1 -1
- data/lib/sunshine-conversations-client/models/messenger_all_of.rb +1 -1
- 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 +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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- data/lib/sunshine-conversations-client/models/unity_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/unity_update.rb +1 -1
- 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 +1 -1
- 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 +1 -1
- data/lib/sunshine-conversations-client/models/web_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/web_update.rb +1 -1
- 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 +1 -1
- data/lib/sunshine-conversations-client/models/whats_app_update_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/whatsapp.rb +1 -1
- 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 +3 -3
- 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 -6
- data/docs/AttachmentMediaTokenBody.md +0 -17
- data/docs/AttachmentMediaTokenResponse.md +0 -17
@@ -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: 13.2.0
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 4.3.1
|
@@ -10,21 +10,48 @@ OpenAPI Generator version: 4.3.1
|
|
10
10
|
require 'date'
|
11
11
|
|
12
12
|
module SunshineConversationsClient
|
13
|
-
|
14
|
-
|
15
|
-
attr_accessor :
|
13
|
+
# The exact payload to send to the channel.
|
14
|
+
class AppleMessageOverridePayload
|
15
|
+
attr_accessor :payload
|
16
|
+
|
17
|
+
# List of capabilities needed for the override message to be received by the end user. `LIST` : for list picker; `TIME` : for time picker; `FORM` : for form; `QUICK` : for quick reply; `AUTH2` : for authentication
|
18
|
+
attr_accessor :with_capabilities
|
19
|
+
|
20
|
+
class EnumAttributeValidator
|
21
|
+
attr_reader :datatype
|
22
|
+
attr_reader :allowable_values
|
23
|
+
|
24
|
+
def initialize(datatype, allowable_values)
|
25
|
+
@allowable_values = allowable_values.map do |value|
|
26
|
+
case datatype.to_s
|
27
|
+
when /Integer/i
|
28
|
+
value.to_i
|
29
|
+
when /Float/i
|
30
|
+
value.to_f
|
31
|
+
else
|
32
|
+
value
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
def valid?(value)
|
38
|
+
!value || allowable_values.include?(value)
|
39
|
+
end
|
40
|
+
end
|
16
41
|
|
17
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
18
43
|
def self.attribute_map
|
19
44
|
{
|
20
|
-
:'
|
45
|
+
:'payload' => :'payload',
|
46
|
+
:'with_capabilities' => :'withCapabilities'
|
21
47
|
}
|
22
48
|
end
|
23
49
|
|
24
50
|
# Attribute type mapping.
|
25
51
|
def self.openapi_types
|
26
52
|
{
|
27
|
-
:'
|
53
|
+
:'payload' => :'Object',
|
54
|
+
:'with_capabilities' => :'Array<String>'
|
28
55
|
}
|
29
56
|
end
|
30
57
|
|
@@ -38,18 +65,22 @@ module SunshineConversationsClient
|
|
38
65
|
# @param [Hash] attributes Model attributes in the form of hash
|
39
66
|
def initialize(attributes = {})
|
40
67
|
if (!attributes.is_a?(Hash))
|
41
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `SunshineConversationsClient::
|
68
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `SunshineConversationsClient::AppleMessageOverridePayload` initialize method"
|
42
69
|
end
|
43
70
|
|
44
71
|
# check to see if the attribute exists and convert string to symbol for hash key
|
45
72
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
46
73
|
if (!self.class.attribute_map.key?(k.to_sym))
|
47
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `SunshineConversationsClient::
|
74
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `SunshineConversationsClient::AppleMessageOverridePayload`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
48
75
|
end
|
49
76
|
h[k.to_sym] = v
|
50
77
|
}
|
51
78
|
|
52
|
-
if attributes.key?(:'
|
79
|
+
if attributes.key?(:'payload')
|
80
|
+
self.payload = attributes[:'payload']
|
81
|
+
end
|
82
|
+
|
83
|
+
if attributes.key?(:'with_capabilities')
|
53
84
|
end
|
54
85
|
end
|
55
86
|
|
@@ -57,17 +88,12 @@ module SunshineConversationsClient
|
|
57
88
|
# @return Array for valid properties with the reasons
|
58
89
|
def list_invalid_properties
|
59
90
|
invalid_properties = Array.new
|
60
|
-
if @paths.nil?
|
61
|
-
invalid_properties.push('invalid value for "paths", paths cannot be nil.')
|
62
|
-
end
|
63
|
-
|
64
91
|
invalid_properties
|
65
92
|
end
|
66
93
|
|
67
94
|
# Check to see if the all the properties in the model are valid
|
68
95
|
# @return true if the model is valid
|
69
96
|
def valid?
|
70
|
-
return false if @paths.nil?
|
71
97
|
true
|
72
98
|
end
|
73
99
|
|
@@ -76,7 +102,8 @@ module SunshineConversationsClient
|
|
76
102
|
def ==(o)
|
77
103
|
return true if self.equal?(o)
|
78
104
|
self.class == o.class &&
|
79
|
-
|
105
|
+
payload == o.payload &&
|
106
|
+
with_capabilities == o.with_capabilities
|
80
107
|
end
|
81
108
|
|
82
109
|
# @see the `==` method
|
@@ -88,7 +115,7 @@ module SunshineConversationsClient
|
|
88
115
|
# Calculates hash code according to all attributes.
|
89
116
|
# @return [Integer] Hash code
|
90
117
|
def hash
|
91
|
-
[
|
118
|
+
[payload, with_capabilities].hash
|
92
119
|
end
|
93
120
|
|
94
121
|
# 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: 13.2.0
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 4.3.1
|
@@ -10,28 +10,46 @@ OpenAPI Generator version: 4.3.1
|
|
10
10
|
require 'date'
|
11
11
|
|
12
12
|
module SunshineConversationsClient
|
13
|
-
class AppleUpdate
|
13
|
+
class AppleUpdate
|
14
|
+
# A human-friendly name used to identify the integration. `displayName` can be unset by changing it to `null`.
|
15
|
+
attr_accessor :display_name
|
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
|
+
|
20
|
+
# A secret used to create the state value when sending Apple authentication 2.0 messages
|
21
|
+
attr_accessor :authentication_message_secret
|
22
|
+
|
14
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
15
24
|
def self.attribute_map
|
16
25
|
{
|
26
|
+
:'display_name' => :'displayName',
|
27
|
+
:'default_responder_id' => :'defaultResponderId',
|
28
|
+
:'authentication_message_secret' => :'authenticationMessageSecret'
|
17
29
|
}
|
18
30
|
end
|
19
31
|
|
20
32
|
# Attribute type mapping.
|
21
33
|
def self.openapi_types
|
22
34
|
{
|
35
|
+
:'display_name' => :'String',
|
36
|
+
:'default_responder_id' => :'String',
|
37
|
+
:'authentication_message_secret' => :'String'
|
23
38
|
}
|
24
39
|
end
|
25
40
|
|
26
41
|
# List of attributes with nullable: true
|
27
42
|
def self.openapi_nullable
|
28
43
|
Set.new([
|
44
|
+
:'display_name',
|
45
|
+
:'default_responder_id',
|
29
46
|
])
|
30
47
|
end
|
31
48
|
|
32
49
|
# List of class defined in allOf (OpenAPI v3)
|
33
50
|
def self.openapi_all_of
|
34
51
|
[
|
52
|
+
:'AppleUpdateAllOf',
|
35
53
|
:'IntegrationUpdateBase'
|
36
54
|
]
|
37
55
|
end
|
@@ -51,28 +69,79 @@ module SunshineConversationsClient
|
|
51
69
|
h[k.to_sym] = v
|
52
70
|
}
|
53
71
|
|
54
|
-
|
55
|
-
|
72
|
+
if attributes.key?(:'display_name')
|
73
|
+
self.display_name = attributes[:'display_name']
|
74
|
+
end
|
75
|
+
|
76
|
+
if attributes.key?(:'default_responder_id')
|
77
|
+
self.default_responder_id = attributes[:'default_responder_id']
|
78
|
+
end
|
79
|
+
|
80
|
+
if attributes.key?(:'authentication_message_secret')
|
81
|
+
self.authentication_message_secret = attributes[:'authentication_message_secret']
|
82
|
+
end
|
56
83
|
end
|
57
84
|
|
58
85
|
# Show invalid properties with the reasons. Usually used together with valid?
|
59
86
|
# @return Array for valid properties with the reasons
|
60
87
|
def list_invalid_properties
|
61
|
-
invalid_properties =
|
88
|
+
invalid_properties = Array.new
|
89
|
+
if !@display_name.nil? && @display_name.to_s.length > 100
|
90
|
+
invalid_properties.push('invalid value for "display_name", the character length must be smaller than or equal to 100.')
|
91
|
+
end
|
92
|
+
|
93
|
+
if !@display_name.nil? && @display_name.to_s.length < 1
|
94
|
+
invalid_properties.push('invalid value for "display_name", the character length must be great than or equal to 1.')
|
95
|
+
end
|
96
|
+
|
97
|
+
if !@authentication_message_secret.nil? && @authentication_message_secret.to_s.length < 88
|
98
|
+
invalid_properties.push('invalid value for "authentication_message_secret", the character length must be great than or equal to 88.')
|
99
|
+
end
|
100
|
+
|
62
101
|
invalid_properties
|
63
102
|
end
|
64
103
|
|
65
104
|
# Check to see if the all the properties in the model are valid
|
66
105
|
# @return true if the model is valid
|
67
106
|
def valid?
|
68
|
-
|
107
|
+
return false if !@display_name.nil? && @display_name.to_s.length > 100
|
108
|
+
return false if !@display_name.nil? && @display_name.to_s.length < 1
|
109
|
+
return false if !@authentication_message_secret.nil? && @authentication_message_secret.to_s.length < 88
|
110
|
+
true
|
111
|
+
end
|
112
|
+
|
113
|
+
# Custom attribute writer method with validation
|
114
|
+
# @param [Object] display_name Value to be assigned
|
115
|
+
def display_name=(display_name)
|
116
|
+
if !display_name.nil? && display_name.to_s.length > 100
|
117
|
+
fail ArgumentError, 'invalid value for "display_name", the character length must be smaller than or equal to 100.'
|
118
|
+
end
|
119
|
+
|
120
|
+
if !display_name.nil? && display_name.to_s.length < 1
|
121
|
+
fail ArgumentError, 'invalid value for "display_name", the character length must be great than or equal to 1.'
|
122
|
+
end
|
123
|
+
|
124
|
+
@display_name = display_name
|
125
|
+
end
|
126
|
+
|
127
|
+
# Custom attribute writer method with validation
|
128
|
+
# @param [Object] authentication_message_secret Value to be assigned
|
129
|
+
def authentication_message_secret=(authentication_message_secret)
|
130
|
+
if !authentication_message_secret.nil? && authentication_message_secret.to_s.length < 88
|
131
|
+
fail ArgumentError, 'invalid value for "authentication_message_secret", the character length must be great than or equal to 88.'
|
132
|
+
end
|
133
|
+
|
134
|
+
@authentication_message_secret = authentication_message_secret
|
69
135
|
end
|
70
136
|
|
71
137
|
# Checks equality by comparing each attribute.
|
72
138
|
# @param [Object] Object to be compared
|
73
139
|
def ==(o)
|
74
140
|
return true if self.equal?(o)
|
75
|
-
self.class == o.class &&
|
141
|
+
self.class == o.class &&
|
142
|
+
display_name == o.display_name &&
|
143
|
+
default_responder_id == o.default_responder_id &&
|
144
|
+
authentication_message_secret == o.authentication_message_secret
|
76
145
|
end
|
77
146
|
|
78
147
|
# @see the `==` method
|
@@ -84,7 +153,7 @@ module SunshineConversationsClient
|
|
84
153
|
# Calculates hash code according to all attributes.
|
85
154
|
# @return [Integer] Hash code
|
86
155
|
def hash
|
87
|
-
[].hash
|
156
|
+
[display_name, default_responder_id, authentication_message_secret].hash
|
88
157
|
end
|
89
158
|
|
90
159
|
# Builds the object from hash
|
@@ -99,7 +168,6 @@ module SunshineConversationsClient
|
|
99
168
|
# @return [Object] Returns the model itself
|
100
169
|
def build_from_hash(attributes)
|
101
170
|
return nil unless attributes.is_a?(Hash)
|
102
|
-
super(attributes)
|
103
171
|
self.class.openapi_types.each_pair do |key, type|
|
104
172
|
if type =~ /\AArray<(.*)>/i
|
105
173
|
# check to ensure the input is an array given that the attribute
|
@@ -171,7 +239,7 @@ module SunshineConversationsClient
|
|
171
239
|
# Returns the object in the form of hash
|
172
240
|
# @return [Hash] Returns the object in the form of hash
|
173
241
|
def to_hash
|
174
|
-
hash =
|
242
|
+
hash = {}
|
175
243
|
self.class.attribute_map.each_pair do |attr, param|
|
176
244
|
value = self.send(attr)
|
177
245
|
if value.nil?
|
@@ -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: 13.2.0
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 4.3.1
|
@@ -10,21 +10,21 @@ OpenAPI Generator version: 4.3.1
|
|
10
10
|
require 'date'
|
11
11
|
|
12
12
|
module SunshineConversationsClient
|
13
|
-
class
|
14
|
-
#
|
15
|
-
attr_accessor :
|
13
|
+
class AppleUpdateAllOf
|
14
|
+
# A secret used to create the state value when sending Apple authentication 2.0 messages
|
15
|
+
attr_accessor :authentication_message_secret
|
16
16
|
|
17
17
|
# Attribute mapping from ruby-style variable name to JSON key.
|
18
18
|
def self.attribute_map
|
19
19
|
{
|
20
|
-
:'
|
20
|
+
:'authentication_message_secret' => :'authenticationMessageSecret'
|
21
21
|
}
|
22
22
|
end
|
23
23
|
|
24
24
|
# Attribute type mapping.
|
25
25
|
def self.openapi_types
|
26
26
|
{
|
27
|
-
:'
|
27
|
+
:'authentication_message_secret' => :'String'
|
28
28
|
}
|
29
29
|
end
|
30
30
|
|
@@ -38,18 +38,19 @@ module SunshineConversationsClient
|
|
38
38
|
# @param [Hash] attributes Model attributes in the form of hash
|
39
39
|
def initialize(attributes = {})
|
40
40
|
if (!attributes.is_a?(Hash))
|
41
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `SunshineConversationsClient::
|
41
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `SunshineConversationsClient::AppleUpdateAllOf` initialize method"
|
42
42
|
end
|
43
43
|
|
44
44
|
# check to see if the attribute exists and convert string to symbol for hash key
|
45
45
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
46
46
|
if (!self.class.attribute_map.key?(k.to_sym))
|
47
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `SunshineConversationsClient::
|
47
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `SunshineConversationsClient::AppleUpdateAllOf`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
48
48
|
end
|
49
49
|
h[k.to_sym] = v
|
50
50
|
}
|
51
51
|
|
52
|
-
if attributes.key?(:'
|
52
|
+
if attributes.key?(:'authentication_message_secret')
|
53
|
+
self.authentication_message_secret = attributes[:'authentication_message_secret']
|
53
54
|
end
|
54
55
|
end
|
55
56
|
|
@@ -57,21 +58,36 @@ module SunshineConversationsClient
|
|
57
58
|
# @return Array for valid properties with the reasons
|
58
59
|
def list_invalid_properties
|
59
60
|
invalid_properties = Array.new
|
61
|
+
if !@authentication_message_secret.nil? && @authentication_message_secret.to_s.length < 88
|
62
|
+
invalid_properties.push('invalid value for "authentication_message_secret", the character length must be great than or equal to 88.')
|
63
|
+
end
|
64
|
+
|
60
65
|
invalid_properties
|
61
66
|
end
|
62
67
|
|
63
68
|
# Check to see if the all the properties in the model are valid
|
64
69
|
# @return true if the model is valid
|
65
70
|
def valid?
|
71
|
+
return false if !@authentication_message_secret.nil? && @authentication_message_secret.to_s.length < 88
|
66
72
|
true
|
67
73
|
end
|
68
74
|
|
75
|
+
# Custom attribute writer method with validation
|
76
|
+
# @param [Object] authentication_message_secret Value to be assigned
|
77
|
+
def authentication_message_secret=(authentication_message_secret)
|
78
|
+
if !authentication_message_secret.nil? && authentication_message_secret.to_s.length < 88
|
79
|
+
fail ArgumentError, 'invalid value for "authentication_message_secret", the character length must be great than or equal to 88.'
|
80
|
+
end
|
81
|
+
|
82
|
+
@authentication_message_secret = authentication_message_secret
|
83
|
+
end
|
84
|
+
|
69
85
|
# Checks equality by comparing each attribute.
|
70
86
|
# @param [Object] Object to be compared
|
71
87
|
def ==(o)
|
72
88
|
return true if self.equal?(o)
|
73
89
|
self.class == o.class &&
|
74
|
-
|
90
|
+
authentication_message_secret == o.authentication_message_secret
|
75
91
|
end
|
76
92
|
|
77
93
|
# @see the `==` method
|
@@ -83,7 +99,7 @@ module SunshineConversationsClient
|
|
83
99
|
# Calculates hash code according to all attributes.
|
84
100
|
# @return [Integer] Hash code
|
85
101
|
def hash
|
86
|
-
[
|
102
|
+
[authentication_message_secret].hash
|
87
103
|
end
|
88
104
|
|
89
105
|
# Builds the object from hash
|