sunshine-conversations-client 13.0.0 → 13.1.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 +6 -0
- data/README.md +5 -9
- data/docs/AppSettings.md +1 -5
- data/docs/AttachmentsApi.md +2 -118
- 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 +1 -1
- 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_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 +1 -1
- 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 +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 +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 +1 -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 +2 -6
- data/docs/AttachmentMediaTokenBody.md +0 -17
- data/docs/AttachmentMediaTokenResponse.md +0 -17
- data/lib/sunshine-conversations-client/models/attachment_media_token_body.rb +0 -208
- data/lib/sunshine-conversations-client/models/attachment_media_token_response.rb +0 -203
@@ -1,208 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Sunshine Conversations API
|
3
|
-
|
4
|
-
The version of the OpenAPI document: 12.8.0
|
5
|
-
|
6
|
-
Generated by: https://openapi-generator.tech
|
7
|
-
OpenAPI Generator version: 4.3.1
|
8
|
-
=end
|
9
|
-
|
10
|
-
require 'date'
|
11
|
-
|
12
|
-
module SunshineConversationsClient
|
13
|
-
class AttachmentMediaTokenBody
|
14
|
-
# An array of strings representing the list of attachment paths used to generate the media JWT. One token will be generated for each path. Each token will be valid for 2 hours by default. This value can be modified, see [App Settings](#operation/createApp) for more information.
|
15
|
-
attr_accessor :paths
|
16
|
-
|
17
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
18
|
-
def self.attribute_map
|
19
|
-
{
|
20
|
-
:'paths' => :'paths'
|
21
|
-
}
|
22
|
-
end
|
23
|
-
|
24
|
-
# Attribute type mapping.
|
25
|
-
def self.openapi_types
|
26
|
-
{
|
27
|
-
:'paths' => :'Array<String>'
|
28
|
-
}
|
29
|
-
end
|
30
|
-
|
31
|
-
# List of attributes with nullable: true
|
32
|
-
def self.openapi_nullable
|
33
|
-
Set.new([
|
34
|
-
])
|
35
|
-
end
|
36
|
-
|
37
|
-
# Initializes the object
|
38
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
39
|
-
def initialize(attributes = {})
|
40
|
-
if (!attributes.is_a?(Hash))
|
41
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `SunshineConversationsClient::AttachmentMediaTokenBody` initialize method"
|
42
|
-
end
|
43
|
-
|
44
|
-
# check to see if the attribute exists and convert string to symbol for hash key
|
45
|
-
attributes = attributes.each_with_object({}) { |(k, v), h|
|
46
|
-
if (!self.class.attribute_map.key?(k.to_sym))
|
47
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `SunshineConversationsClient::AttachmentMediaTokenBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
48
|
-
end
|
49
|
-
h[k.to_sym] = v
|
50
|
-
}
|
51
|
-
|
52
|
-
if attributes.key?(:'paths')
|
53
|
-
end
|
54
|
-
end
|
55
|
-
|
56
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
57
|
-
# @return Array for valid properties with the reasons
|
58
|
-
def list_invalid_properties
|
59
|
-
invalid_properties = Array.new
|
60
|
-
if @paths.nil?
|
61
|
-
invalid_properties.push('invalid value for "paths", paths cannot be nil.')
|
62
|
-
end
|
63
|
-
|
64
|
-
invalid_properties
|
65
|
-
end
|
66
|
-
|
67
|
-
# Check to see if the all the properties in the model are valid
|
68
|
-
# @return true if the model is valid
|
69
|
-
def valid?
|
70
|
-
return false if @paths.nil?
|
71
|
-
true
|
72
|
-
end
|
73
|
-
|
74
|
-
# Checks equality by comparing each attribute.
|
75
|
-
# @param [Object] Object to be compared
|
76
|
-
def ==(o)
|
77
|
-
return true if self.equal?(o)
|
78
|
-
self.class == o.class &&
|
79
|
-
paths == o.paths
|
80
|
-
end
|
81
|
-
|
82
|
-
# @see the `==` method
|
83
|
-
# @param [Object] Object to be compared
|
84
|
-
def eql?(o)
|
85
|
-
self == o
|
86
|
-
end
|
87
|
-
|
88
|
-
# Calculates hash code according to all attributes.
|
89
|
-
# @return [Integer] Hash code
|
90
|
-
def hash
|
91
|
-
[paths].hash
|
92
|
-
end
|
93
|
-
|
94
|
-
# Builds the object from hash
|
95
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
96
|
-
# @return [Object] Returns the model itself
|
97
|
-
def self.build_from_hash(attributes)
|
98
|
-
new.build_from_hash(attributes)
|
99
|
-
end
|
100
|
-
|
101
|
-
# Builds the object from hash
|
102
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
103
|
-
# @return [Object] Returns the model itself
|
104
|
-
def build_from_hash(attributes)
|
105
|
-
return nil unless attributes.is_a?(Hash)
|
106
|
-
self.class.openapi_types.each_pair do |key, type|
|
107
|
-
if type =~ /\AArray<(.*)>/i
|
108
|
-
# check to ensure the input is an array given that the attribute
|
109
|
-
# is documented as an array but the input is not
|
110
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
111
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
112
|
-
end
|
113
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
114
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
115
|
-
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
116
|
-
end
|
117
|
-
|
118
|
-
self
|
119
|
-
end
|
120
|
-
|
121
|
-
# Deserializes the data based on type
|
122
|
-
# @param string type Data type
|
123
|
-
# @param string value Value to be deserialized
|
124
|
-
# @return [Object] Deserialized data
|
125
|
-
def _deserialize(type, value)
|
126
|
-
case type.to_sym
|
127
|
-
when :DateTime
|
128
|
-
DateTime.parse(value)
|
129
|
-
when :Date
|
130
|
-
Date.parse(value)
|
131
|
-
when :String
|
132
|
-
value.to_s
|
133
|
-
when :Integer
|
134
|
-
value.to_i
|
135
|
-
when :Float
|
136
|
-
value.to_f
|
137
|
-
when :Boolean
|
138
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
139
|
-
true
|
140
|
-
else
|
141
|
-
false
|
142
|
-
end
|
143
|
-
when :Object
|
144
|
-
# generic object (usually a Hash), return directly
|
145
|
-
value
|
146
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
147
|
-
inner_type = Regexp.last_match[:inner_type]
|
148
|
-
value.map { |v| _deserialize(inner_type, v) }
|
149
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
150
|
-
k_type = Regexp.last_match[:k_type]
|
151
|
-
v_type = Regexp.last_match[:v_type]
|
152
|
-
{}.tap do |hash|
|
153
|
-
value.each do |k, v|
|
154
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
155
|
-
end
|
156
|
-
end
|
157
|
-
else # model
|
158
|
-
SunshineConversationsClient.const_get(type).build_from_hash(value)
|
159
|
-
end
|
160
|
-
end
|
161
|
-
|
162
|
-
# Returns the string representation of the object
|
163
|
-
# @return [String] String presentation of the object
|
164
|
-
def to_s
|
165
|
-
to_hash.to_s
|
166
|
-
end
|
167
|
-
|
168
|
-
# to_body is an alias to to_hash (backward compatibility)
|
169
|
-
# @return [Hash] Returns the object in the form of hash
|
170
|
-
def to_body
|
171
|
-
to_hash
|
172
|
-
end
|
173
|
-
|
174
|
-
# Returns the object in the form of hash
|
175
|
-
# @return [Hash] Returns the object in the form of hash
|
176
|
-
def to_hash
|
177
|
-
hash = {}
|
178
|
-
self.class.attribute_map.each_pair do |attr, param|
|
179
|
-
value = self.send(attr)
|
180
|
-
if value.nil?
|
181
|
-
is_nullable = self.class.openapi_nullable.include?(attr)
|
182
|
-
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
183
|
-
end
|
184
|
-
|
185
|
-
hash[param] = _to_hash(value)
|
186
|
-
end
|
187
|
-
hash
|
188
|
-
end
|
189
|
-
|
190
|
-
# Outputs non-array value in the form of hash
|
191
|
-
# For object, use to_hash. Otherwise, just return the value
|
192
|
-
# @param [Object] value Any valid value
|
193
|
-
# @return [Hash] Returns the value in the form of hash
|
194
|
-
def _to_hash(value)
|
195
|
-
if value.is_a?(Array)
|
196
|
-
value.compact.map { |v| _to_hash(v) }
|
197
|
-
elsif value.is_a?(Hash)
|
198
|
-
{}.tap do |hash|
|
199
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
200
|
-
end
|
201
|
-
elsif value.respond_to? :to_hash
|
202
|
-
value.to_hash
|
203
|
-
else
|
204
|
-
value
|
205
|
-
end
|
206
|
-
end
|
207
|
-
end
|
208
|
-
end
|
@@ -1,203 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Sunshine Conversations API
|
3
|
-
|
4
|
-
The version of the OpenAPI document: 12.8.0
|
5
|
-
|
6
|
-
Generated by: https://openapi-generator.tech
|
7
|
-
OpenAPI Generator version: 4.3.1
|
8
|
-
=end
|
9
|
-
|
10
|
-
require 'date'
|
11
|
-
|
12
|
-
module SunshineConversationsClient
|
13
|
-
class AttachmentMediaTokenResponse
|
14
|
-
# Object with key value pair where the key is the path and the value is the media JWT.
|
15
|
-
attr_accessor :tokens
|
16
|
-
|
17
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
18
|
-
def self.attribute_map
|
19
|
-
{
|
20
|
-
:'tokens' => :'tokens'
|
21
|
-
}
|
22
|
-
end
|
23
|
-
|
24
|
-
# Attribute type mapping.
|
25
|
-
def self.openapi_types
|
26
|
-
{
|
27
|
-
:'tokens' => :'Hash<String, String>'
|
28
|
-
}
|
29
|
-
end
|
30
|
-
|
31
|
-
# List of attributes with nullable: true
|
32
|
-
def self.openapi_nullable
|
33
|
-
Set.new([
|
34
|
-
])
|
35
|
-
end
|
36
|
-
|
37
|
-
# Initializes the object
|
38
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
39
|
-
def initialize(attributes = {})
|
40
|
-
if (!attributes.is_a?(Hash))
|
41
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `SunshineConversationsClient::AttachmentMediaTokenResponse` initialize method"
|
42
|
-
end
|
43
|
-
|
44
|
-
# check to see if the attribute exists and convert string to symbol for hash key
|
45
|
-
attributes = attributes.each_with_object({}) { |(k, v), h|
|
46
|
-
if (!self.class.attribute_map.key?(k.to_sym))
|
47
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `SunshineConversationsClient::AttachmentMediaTokenResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
48
|
-
end
|
49
|
-
h[k.to_sym] = v
|
50
|
-
}
|
51
|
-
|
52
|
-
if attributes.key?(:'tokens')
|
53
|
-
end
|
54
|
-
end
|
55
|
-
|
56
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
57
|
-
# @return Array for valid properties with the reasons
|
58
|
-
def list_invalid_properties
|
59
|
-
invalid_properties = Array.new
|
60
|
-
invalid_properties
|
61
|
-
end
|
62
|
-
|
63
|
-
# Check to see if the all the properties in the model are valid
|
64
|
-
# @return true if the model is valid
|
65
|
-
def valid?
|
66
|
-
true
|
67
|
-
end
|
68
|
-
|
69
|
-
# Checks equality by comparing each attribute.
|
70
|
-
# @param [Object] Object to be compared
|
71
|
-
def ==(o)
|
72
|
-
return true if self.equal?(o)
|
73
|
-
self.class == o.class &&
|
74
|
-
tokens == o.tokens
|
75
|
-
end
|
76
|
-
|
77
|
-
# @see the `==` method
|
78
|
-
# @param [Object] Object to be compared
|
79
|
-
def eql?(o)
|
80
|
-
self == o
|
81
|
-
end
|
82
|
-
|
83
|
-
# Calculates hash code according to all attributes.
|
84
|
-
# @return [Integer] Hash code
|
85
|
-
def hash
|
86
|
-
[tokens].hash
|
87
|
-
end
|
88
|
-
|
89
|
-
# Builds the object from hash
|
90
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
91
|
-
# @return [Object] Returns the model itself
|
92
|
-
def self.build_from_hash(attributes)
|
93
|
-
new.build_from_hash(attributes)
|
94
|
-
end
|
95
|
-
|
96
|
-
# Builds the object from hash
|
97
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
98
|
-
# @return [Object] Returns the model itself
|
99
|
-
def build_from_hash(attributes)
|
100
|
-
return nil unless attributes.is_a?(Hash)
|
101
|
-
self.class.openapi_types.each_pair do |key, type|
|
102
|
-
if type =~ /\AArray<(.*)>/i
|
103
|
-
# check to ensure the input is an array given that the attribute
|
104
|
-
# is documented as an array but the input is not
|
105
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
106
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
107
|
-
end
|
108
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
109
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
110
|
-
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
111
|
-
end
|
112
|
-
|
113
|
-
self
|
114
|
-
end
|
115
|
-
|
116
|
-
# Deserializes the data based on type
|
117
|
-
# @param string type Data type
|
118
|
-
# @param string value Value to be deserialized
|
119
|
-
# @return [Object] Deserialized data
|
120
|
-
def _deserialize(type, value)
|
121
|
-
case type.to_sym
|
122
|
-
when :DateTime
|
123
|
-
DateTime.parse(value)
|
124
|
-
when :Date
|
125
|
-
Date.parse(value)
|
126
|
-
when :String
|
127
|
-
value.to_s
|
128
|
-
when :Integer
|
129
|
-
value.to_i
|
130
|
-
when :Float
|
131
|
-
value.to_f
|
132
|
-
when :Boolean
|
133
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
134
|
-
true
|
135
|
-
else
|
136
|
-
false
|
137
|
-
end
|
138
|
-
when :Object
|
139
|
-
# generic object (usually a Hash), return directly
|
140
|
-
value
|
141
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
142
|
-
inner_type = Regexp.last_match[:inner_type]
|
143
|
-
value.map { |v| _deserialize(inner_type, v) }
|
144
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
145
|
-
k_type = Regexp.last_match[:k_type]
|
146
|
-
v_type = Regexp.last_match[:v_type]
|
147
|
-
{}.tap do |hash|
|
148
|
-
value.each do |k, v|
|
149
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
150
|
-
end
|
151
|
-
end
|
152
|
-
else # model
|
153
|
-
SunshineConversationsClient.const_get(type).build_from_hash(value)
|
154
|
-
end
|
155
|
-
end
|
156
|
-
|
157
|
-
# Returns the string representation of the object
|
158
|
-
# @return [String] String presentation of the object
|
159
|
-
def to_s
|
160
|
-
to_hash.to_s
|
161
|
-
end
|
162
|
-
|
163
|
-
# to_body is an alias to to_hash (backward compatibility)
|
164
|
-
# @return [Hash] Returns the object in the form of hash
|
165
|
-
def to_body
|
166
|
-
to_hash
|
167
|
-
end
|
168
|
-
|
169
|
-
# Returns the object in the form of hash
|
170
|
-
# @return [Hash] Returns the object in the form of hash
|
171
|
-
def to_hash
|
172
|
-
hash = {}
|
173
|
-
self.class.attribute_map.each_pair do |attr, param|
|
174
|
-
value = self.send(attr)
|
175
|
-
if value.nil?
|
176
|
-
is_nullable = self.class.openapi_nullable.include?(attr)
|
177
|
-
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
178
|
-
end
|
179
|
-
|
180
|
-
hash[param] = _to_hash(value)
|
181
|
-
end
|
182
|
-
hash
|
183
|
-
end
|
184
|
-
|
185
|
-
# Outputs non-array value in the form of hash
|
186
|
-
# For object, use to_hash. Otherwise, just return the value
|
187
|
-
# @param [Object] value Any valid value
|
188
|
-
# @return [Hash] Returns the value in the form of hash
|
189
|
-
def _to_hash(value)
|
190
|
-
if value.is_a?(Array)
|
191
|
-
value.compact.map { |v| _to_hash(v) }
|
192
|
-
elsif value.is_a?(Hash)
|
193
|
-
{}.tap do |hash|
|
194
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
195
|
-
end
|
196
|
-
elsif value.respond_to? :to_hash
|
197
|
-
value.to_hash
|
198
|
-
else
|
199
|
-
value
|
200
|
-
end
|
201
|
-
end
|
202
|
-
end
|
203
|
-
end
|