sunshine-conversations-client 10.0.0 → 11.0.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 +56 -38
- data/README.md +9 -5
- data/docs/Content.md +5 -3
- data/docs/Field.md +1 -9
- data/docs/FormMessage.md +3 -1
- data/docs/FormMessageField.md +35 -0
- data/docs/FormMessageFieldAllOf.md +23 -0
- data/docs/FormResponseMessage.md +1 -1
- data/docs/FormResponseMessageField.md +29 -0
- data/docs/FormResponseMessageFieldAllOf.md +17 -0
- data/docs/ImageMessage.md +4 -0
- data/lib/sunshine-conversations-client/api/activities_api.rb +1 -1
- data/lib/sunshine-conversations-client/api/app_keys_api.rb +1 -1
- data/lib/sunshine-conversations-client/api/apps_api.rb +1 -1
- data/lib/sunshine-conversations-client/api/attachments_api.rb +1 -1
- data/lib/sunshine-conversations-client/api/clients_api.rb +1 -1
- data/lib/sunshine-conversations-client/api/conversations_api.rb +1 -1
- data/lib/sunshine-conversations-client/api/custom_integration_api_keys_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 +1 -1
- 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_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 +30 -5
- 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/destination.rb +1 -1
- data/lib/sunshine-conversations-client/models/device.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 +10 -126
- data/lib/sunshine-conversations-client/models/file_message.rb +1 -1
- data/lib/sunshine-conversations-client/models/form_message.rb +13 -3
- data/lib/sunshine-conversations-client/models/form_message_field.rb +529 -0
- data/lib/sunshine-conversations-client/models/form_message_field_all_of.rb +310 -0
- data/lib/sunshine-conversations-client/models/form_response_message.rb +2 -2
- data/lib/sunshine-conversations-client/models/form_response_message_field.rb +424 -0
- data/lib/sunshine-conversations-client/models/form_response_message_field_all_of.rb +205 -0
- data/lib/sunshine-conversations-client/models/identity.rb +1 -1
- data/lib/sunshine-conversations-client/models/image_message.rb +37 -2
- 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/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 +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
@@ -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: 11.0.0
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 4.3.1
|
@@ -10,7 +10,6 @@ OpenAPI Generator version: 4.3.1
|
|
10
10
|
require 'date'
|
11
11
|
|
12
12
|
module SunshineConversationsClient
|
13
|
-
# Properties that can be expected to receive inside a form or formResponse message field.
|
14
13
|
class Field
|
15
14
|
# The field type.
|
16
15
|
attr_accessor :type
|
@@ -21,15 +20,6 @@ module SunshineConversationsClient
|
|
21
20
|
# The label of the field. What the field is displayed as on Web Messenger.
|
22
21
|
attr_accessor :label
|
23
22
|
|
24
|
-
# Placeholder text for the field. Form message only.
|
25
|
-
attr_accessor :placeholder
|
26
|
-
|
27
|
-
# The minimum allowed length for the response for a field of type text. Form message only.
|
28
|
-
attr_accessor :min_size
|
29
|
-
|
30
|
-
# The maximum allowed length for the response for a field of type text. Form message only.
|
31
|
-
attr_accessor :max_size
|
32
|
-
|
33
23
|
# Specifies the response for a text field.
|
34
24
|
attr_accessor :text
|
35
25
|
|
@@ -39,9 +29,6 @@ module SunshineConversationsClient
|
|
39
29
|
# Array of objects representing the response for a field of type select. Form and formResponse messages only.
|
40
30
|
attr_accessor :select
|
41
31
|
|
42
|
-
# Array of objects representing options for a field of type select.
|
43
|
-
attr_accessor :options
|
44
|
-
|
45
32
|
class EnumAttributeValidator
|
46
33
|
attr_reader :datatype
|
47
34
|
attr_reader :allowable_values
|
@@ -70,13 +57,9 @@ module SunshineConversationsClient
|
|
70
57
|
:'type' => :'type',
|
71
58
|
:'name' => :'name',
|
72
59
|
:'label' => :'label',
|
73
|
-
:'placeholder' => :'placeholder',
|
74
|
-
:'min_size' => :'minSize',
|
75
|
-
:'max_size' => :'maxSize',
|
76
60
|
:'text' => :'text',
|
77
61
|
:'email' => :'email',
|
78
|
-
:'select' => :'select'
|
79
|
-
:'options' => :'options'
|
62
|
+
:'select' => :'select'
|
80
63
|
}
|
81
64
|
end
|
82
65
|
|
@@ -86,13 +69,9 @@ module SunshineConversationsClient
|
|
86
69
|
:'type' => :'String',
|
87
70
|
:'name' => :'String',
|
88
71
|
:'label' => :'String',
|
89
|
-
:'placeholder' => :'String',
|
90
|
-
:'min_size' => :'Integer',
|
91
|
-
:'max_size' => :'Integer',
|
92
72
|
:'text' => :'String',
|
93
73
|
:'email' => :'String',
|
94
|
-
:'select' => :'Array<Object>'
|
95
|
-
:'options' => :'Array<Object>'
|
74
|
+
:'select' => :'Array<Object>'
|
96
75
|
}
|
97
76
|
end
|
98
77
|
|
@@ -129,22 +108,6 @@ module SunshineConversationsClient
|
|
129
108
|
self.label = attributes[:'label']
|
130
109
|
end
|
131
110
|
|
132
|
-
if attributes.key?(:'placeholder')
|
133
|
-
self.placeholder = attributes[:'placeholder']
|
134
|
-
end
|
135
|
-
|
136
|
-
if attributes.key?(:'min_size')
|
137
|
-
self.min_size = attributes[:'min_size']
|
138
|
-
else
|
139
|
-
self.min_size = 1
|
140
|
-
end
|
141
|
-
|
142
|
-
if attributes.key?(:'max_size')
|
143
|
-
self.max_size = attributes[:'max_size']
|
144
|
-
else
|
145
|
-
self.max_size = 128
|
146
|
-
end
|
147
|
-
|
148
111
|
if attributes.key?(:'text')
|
149
112
|
self.text = attributes[:'text']
|
150
113
|
end
|
@@ -155,9 +118,6 @@ module SunshineConversationsClient
|
|
155
118
|
|
156
119
|
if attributes.key?(:'select')
|
157
120
|
end
|
158
|
-
|
159
|
-
if attributes.key?(:'options')
|
160
|
-
end
|
161
121
|
end
|
162
122
|
|
163
123
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -192,32 +152,8 @@ module SunshineConversationsClient
|
|
192
152
|
invalid_properties.push('invalid value for "label", the character length must be great than or equal to 1.')
|
193
153
|
end
|
194
154
|
|
195
|
-
if !@
|
196
|
-
invalid_properties.push('invalid value for "
|
197
|
-
end
|
198
|
-
|
199
|
-
if !@placeholder.nil? && @placeholder.to_s.length < 1
|
200
|
-
invalid_properties.push('invalid value for "placeholder", the character length must be great than or equal to 1.')
|
201
|
-
end
|
202
|
-
|
203
|
-
if !@min_size.nil? && @min_size > 128
|
204
|
-
invalid_properties.push('invalid value for "min_size", must be smaller than or equal to 128.')
|
205
|
-
end
|
206
|
-
|
207
|
-
if !@min_size.nil? && @min_size < 1
|
208
|
-
invalid_properties.push('invalid value for "min_size", must be greater than or equal to 1.')
|
209
|
-
end
|
210
|
-
|
211
|
-
if !@max_size.nil? && @max_size > 128
|
212
|
-
invalid_properties.push('invalid value for "max_size", must be smaller than or equal to 128.')
|
213
|
-
end
|
214
|
-
|
215
|
-
if !@max_size.nil? && @max_size < 1
|
216
|
-
invalid_properties.push('invalid value for "max_size", must be greater than or equal to 1.')
|
217
|
-
end
|
218
|
-
|
219
|
-
if !@text.nil? && @text.to_s.length > 128
|
220
|
-
invalid_properties.push('invalid value for "text", the character length must be smaller than or equal to 128.')
|
155
|
+
if !@text.nil? && @text.to_s.length > 256
|
156
|
+
invalid_properties.push('invalid value for "text", the character length must be smaller than or equal to 256.')
|
221
157
|
end
|
222
158
|
|
223
159
|
if !@text.nil? && @text.to_s.length < 1
|
@@ -247,13 +183,7 @@ module SunshineConversationsClient
|
|
247
183
|
return false if @label.nil?
|
248
184
|
return false if @label.to_s.length > 128
|
249
185
|
return false if @label.to_s.length < 1
|
250
|
-
return false if !@
|
251
|
-
return false if !@placeholder.nil? && @placeholder.to_s.length < 1
|
252
|
-
return false if !@min_size.nil? && @min_size > 128
|
253
|
-
return false if !@min_size.nil? && @min_size < 1
|
254
|
-
return false if !@max_size.nil? && @max_size > 128
|
255
|
-
return false if !@max_size.nil? && @max_size < 1
|
256
|
-
return false if !@text.nil? && @text.to_s.length > 128
|
186
|
+
return false if !@text.nil? && @text.to_s.length > 256
|
257
187
|
return false if !@text.nil? && @text.to_s.length < 1
|
258
188
|
return false if !@email.nil? && @email.to_s.length > 128
|
259
189
|
return false if !@email.nil? && @email.to_s.length < 1
|
@@ -306,53 +236,11 @@ module SunshineConversationsClient
|
|
306
236
|
@label = label
|
307
237
|
end
|
308
238
|
|
309
|
-
# Custom attribute writer method with validation
|
310
|
-
# @param [Object] placeholder Value to be assigned
|
311
|
-
def placeholder=(placeholder)
|
312
|
-
if !placeholder.nil? && placeholder.to_s.length > 128
|
313
|
-
fail ArgumentError, 'invalid value for "placeholder", the character length must be smaller than or equal to 128.'
|
314
|
-
end
|
315
|
-
|
316
|
-
if !placeholder.nil? && placeholder.to_s.length < 1
|
317
|
-
fail ArgumentError, 'invalid value for "placeholder", the character length must be great than or equal to 1.'
|
318
|
-
end
|
319
|
-
|
320
|
-
@placeholder = placeholder
|
321
|
-
end
|
322
|
-
|
323
|
-
# Custom attribute writer method with validation
|
324
|
-
# @param [Object] min_size Value to be assigned
|
325
|
-
def min_size=(min_size)
|
326
|
-
if !min_size.nil? && min_size > 128
|
327
|
-
fail ArgumentError, 'invalid value for "min_size", must be smaller than or equal to 128.'
|
328
|
-
end
|
329
|
-
|
330
|
-
if !min_size.nil? && min_size < 1
|
331
|
-
fail ArgumentError, 'invalid value for "min_size", must be greater than or equal to 1.'
|
332
|
-
end
|
333
|
-
|
334
|
-
@min_size = min_size
|
335
|
-
end
|
336
|
-
|
337
|
-
# Custom attribute writer method with validation
|
338
|
-
# @param [Object] max_size Value to be assigned
|
339
|
-
def max_size=(max_size)
|
340
|
-
if !max_size.nil? && max_size > 128
|
341
|
-
fail ArgumentError, 'invalid value for "max_size", must be smaller than or equal to 128.'
|
342
|
-
end
|
343
|
-
|
344
|
-
if !max_size.nil? && max_size < 1
|
345
|
-
fail ArgumentError, 'invalid value for "max_size", must be greater than or equal to 1.'
|
346
|
-
end
|
347
|
-
|
348
|
-
@max_size = max_size
|
349
|
-
end
|
350
|
-
|
351
239
|
# Custom attribute writer method with validation
|
352
240
|
# @param [Object] text Value to be assigned
|
353
241
|
def text=(text)
|
354
|
-
if !text.nil? && text.to_s.length >
|
355
|
-
fail ArgumentError, 'invalid value for "text", the character length must be smaller than or equal to
|
242
|
+
if !text.nil? && text.to_s.length > 256
|
243
|
+
fail ArgumentError, 'invalid value for "text", the character length must be smaller than or equal to 256.'
|
356
244
|
end
|
357
245
|
|
358
246
|
if !text.nil? && text.to_s.length < 1
|
@@ -384,13 +272,9 @@ module SunshineConversationsClient
|
|
384
272
|
type == o.type &&
|
385
273
|
name == o.name &&
|
386
274
|
label == o.label &&
|
387
|
-
placeholder == o.placeholder &&
|
388
|
-
min_size == o.min_size &&
|
389
|
-
max_size == o.max_size &&
|
390
275
|
text == o.text &&
|
391
276
|
email == o.email &&
|
392
|
-
select == o.select
|
393
|
-
options == o.options
|
277
|
+
select == o.select
|
394
278
|
end
|
395
279
|
|
396
280
|
# @see the `==` method
|
@@ -402,7 +286,7 @@ module SunshineConversationsClient
|
|
402
286
|
# Calculates hash code according to all attributes.
|
403
287
|
# @return [Integer] Hash code
|
404
288
|
def hash
|
405
|
-
[type, name, label,
|
289
|
+
[type, name, label, text, email, select].hash
|
406
290
|
end
|
407
291
|
|
408
292
|
# 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: 11.0.0
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 4.3.1
|
@@ -15,6 +15,9 @@ module SunshineConversationsClient
|
|
15
15
|
# The type of message.
|
16
16
|
attr_accessor :type
|
17
17
|
|
18
|
+
# Flag which states whether the form is submitted.
|
19
|
+
attr_accessor :submitted
|
20
|
+
|
18
21
|
# true if the message should block the chat input on Web Messenger.
|
19
22
|
attr_accessor :block_chat_input
|
20
23
|
|
@@ -25,6 +28,7 @@ module SunshineConversationsClient
|
|
25
28
|
def self.attribute_map
|
26
29
|
{
|
27
30
|
:'type' => :'type',
|
31
|
+
:'submitted' => :'submitted',
|
28
32
|
:'block_chat_input' => :'blockChatInput',
|
29
33
|
:'fields' => :'fields'
|
30
34
|
}
|
@@ -34,8 +38,9 @@ module SunshineConversationsClient
|
|
34
38
|
def self.openapi_types
|
35
39
|
{
|
36
40
|
:'type' => :'String',
|
41
|
+
:'submitted' => :'Boolean',
|
37
42
|
:'block_chat_input' => :'Boolean',
|
38
|
-
:'fields' => :'Array<
|
43
|
+
:'fields' => :'Array<FormMessageField>'
|
39
44
|
}
|
40
45
|
end
|
41
46
|
|
@@ -66,6 +71,10 @@ module SunshineConversationsClient
|
|
66
71
|
self.type = 'form'
|
67
72
|
end
|
68
73
|
|
74
|
+
if attributes.key?(:'submitted')
|
75
|
+
self.submitted = attributes[:'submitted']
|
76
|
+
end
|
77
|
+
|
69
78
|
if attributes.key?(:'block_chat_input')
|
70
79
|
self.block_chat_input = attributes[:'block_chat_input']
|
71
80
|
end
|
@@ -103,6 +112,7 @@ module SunshineConversationsClient
|
|
103
112
|
return true if self.equal?(o)
|
104
113
|
self.class == o.class &&
|
105
114
|
type == o.type &&
|
115
|
+
submitted == o.submitted &&
|
106
116
|
block_chat_input == o.block_chat_input &&
|
107
117
|
fields == o.fields
|
108
118
|
end
|
@@ -116,7 +126,7 @@ module SunshineConversationsClient
|
|
116
126
|
# Calculates hash code according to all attributes.
|
117
127
|
# @return [Integer] Hash code
|
118
128
|
def hash
|
119
|
-
[type, block_chat_input, fields].hash
|
129
|
+
[type, submitted, block_chat_input, fields].hash
|
120
130
|
end
|
121
131
|
|
122
132
|
# Builds the object from hash
|