sunshine-conversations-client 10.0.0 → 11.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG_RB.md +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
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a867f40b7aa07f853b8d6b078f357000497339bc
|
|
4
|
+
data.tar.gz: da085dbd1e9a1f6d0fb2ea3dff8888db03b0f758
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d4ad3e97e59e1a47fbd632d567147364ac540a30661610ff7dfe41007316b9666321db91b2a107cc815991d21b68e5deb779755b79b52806c7ae3df46effa7b0
|
|
7
|
+
data.tar.gz: 777e3e2aeadcb8ded591825e4474d0392f48d07fd0b3704392b14defcd45ffb66c74e27b0c4a4a92b74a55b39b9a56ab1ceb8cf280e9fbfe9f7e267d351a8999
|
data/CHANGELOG_RB.md
CHANGED
|
@@ -1,155 +1,173 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [11.0.0] - 2023-11-01
|
|
4
|
+
|
|
5
|
+
### Updated
|
|
6
|
+
|
|
7
|
+
- Updated: Updated maximum value for text type form message maxSize field to 256.
|
|
8
|
+
- Updated: Updated maximum value for text type form message minSize field to 256.
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Fixed: Fixed list of valid properties for formMessage vs formResponseMessage.
|
|
13
|
+
- Fixed: Removed erroneous "uri" format from uri property in the "link" action type.
|
|
14
|
+
|
|
15
|
+
## [10.0.1] - 2023-09-13
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
- Fixed: Added missing `mediaType` and `mediaSize` properties to imageMessage schema.
|
|
20
|
+
|
|
3
21
|
## [10.0.0] - 2023-09-07
|
|
4
22
|
|
|
5
23
|
### Fixed
|
|
6
24
|
|
|
7
|
-
-
|
|
25
|
+
- Fixed: Removed deprecated enums from Twitter Integration definition
|
|
8
26
|
|
|
9
27
|
## [9.15.0] - 2023-09-06
|
|
10
28
|
|
|
11
29
|
### Fixed
|
|
12
30
|
|
|
13
|
-
-
|
|
31
|
+
- Fixed: Added missing client types to the schema: `apple`, `gbm`, `googlercs`, `instagram`, `kakao`, `slackconnect`
|
|
14
32
|
|
|
15
33
|
## [9.14.0] - 2023-04-10
|
|
16
34
|
|
|
17
35
|
### Added
|
|
18
36
|
|
|
19
|
-
-
|
|
37
|
+
- Added a new `identities` read only property on the user object.
|
|
20
38
|
|
|
21
39
|
## [9.13.0] - 2023-03-30
|
|
22
40
|
|
|
23
41
|
### Added
|
|
24
42
|
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
43
|
+
- Added a new `proactiveMessaging` creation reason for the `conversation:create` webhook event.
|
|
44
|
+
- Added a `campaign` object to the `source` object of the following webhook events:
|
|
45
|
+
- `conversation:create`
|
|
46
|
+
- `conversation:message`
|
|
47
|
+
- `conversation:postback`
|
|
48
|
+
- `conversation:referral`
|
|
31
49
|
|
|
32
50
|
## [9.12.0] - 2022-08-30
|
|
33
51
|
|
|
34
|
-
-
|
|
35
|
-
-
|
|
52
|
+
- The Switchboard `passControl` action is now idempotent if either the target `switchboardIntegration` is specified explicitly by its `id` or `name`, or the `next` keyword is used for the `switchboardIntegration` field, and the invoking integration can be identified by its [OAuth token](https://docs.smooch.io/guide/oauth/#redirect-and-acquiring-an-oauth-token) or [Custom Integration API Key](https://docs.smooch.io/rest/#tag/CustomIntegrationApiKeys) credentials. Duplicate passControl actions using the `next` keyword and their metadata are disregarded.
|
|
53
|
+
- For more information, see [Switchboard passControl](https://docs.smooch.io/guide/switchboard/#pass-control).
|
|
36
54
|
|
|
37
55
|
## [9.11.0] - 2022-07-28
|
|
38
56
|
|
|
39
57
|
### Added
|
|
40
58
|
|
|
41
|
-
-
|
|
42
|
-
|
|
59
|
+
- Added `conversation:referral` event.
|
|
60
|
+
This currently fires when a user is referred to an existing conversation.
|
|
43
61
|
|
|
44
62
|
## [9.10.0] - 2022-07-19
|
|
45
63
|
|
|
46
64
|
### Added
|
|
47
65
|
|
|
48
|
-
-
|
|
66
|
+
- Added a new `unblocked` reason for the `client:update` webhook event.
|
|
49
67
|
|
|
50
68
|
## [9.9.0] - 2022-07-12
|
|
51
69
|
|
|
52
70
|
### Added
|
|
53
71
|
|
|
54
|
-
-
|
|
72
|
+
- Added new `appLocalizationEnabled` parameter to app settings.
|
|
55
73
|
|
|
56
74
|
## [9.8.0] - 2022-06-29
|
|
57
75
|
|
|
58
76
|
### Added
|
|
59
77
|
|
|
60
|
-
-
|
|
78
|
+
- `metadata` property now appear in the `conversation` object in webhook events
|
|
61
79
|
|
|
62
80
|
## [9.7.0] - 2022-05-05
|
|
63
81
|
|
|
64
82
|
### Added
|
|
65
83
|
|
|
66
|
-
-
|
|
84
|
+
- Added a `releaseControl` action endpoint to the Switchboard Actions API.
|
|
67
85
|
|
|
68
86
|
## [9.6.0] - 2022-03-23
|
|
69
87
|
|
|
70
88
|
### Added
|
|
71
89
|
|
|
72
|
-
-
|
|
73
|
-
-
|
|
90
|
+
- Added `user:update` event. This event currently fires when an anonymous user is converted to an authenticated user.
|
|
91
|
+
- Added missing `reason` in the `user:merge` webhook payload example.
|
|
74
92
|
|
|
75
93
|
## [9.5.7] - 2022-01-04
|
|
76
94
|
|
|
77
|
-
-
|
|
95
|
+
- Added missing pageId and pageName properties on Messenger integration.
|
|
78
96
|
|
|
79
97
|
## [9.5.6] - 2021-11-30
|
|
80
98
|
|
|
81
|
-
-
|
|
99
|
+
- Dependencies security update; Ruby wrapper not affected.
|
|
82
100
|
|
|
83
101
|
## [9.4.6] - 2021-09-28
|
|
84
102
|
|
|
85
|
-
-
|
|
86
|
-
-
|
|
87
|
-
-
|
|
103
|
+
- Added channel linking events
|
|
104
|
+
- Added `canUserSeeConversationList` in the `web` integration
|
|
105
|
+
- Updated RESTeasy to the latest version
|
|
88
106
|
|
|
89
107
|
## [9.4.5] - 2021-08-23
|
|
90
108
|
|
|
91
|
-
-
|
|
109
|
+
- Added page[before|after|size] query parameter constraints.
|
|
92
110
|
|
|
93
111
|
## [9.4.4] - 2021-04-12
|
|
94
112
|
|
|
95
113
|
### Added
|
|
96
114
|
|
|
97
|
-
-
|
|
115
|
+
- Added `messagingServiceSid` field when creating a Twilio integration that will use Messaging Services.
|
|
98
116
|
|
|
99
117
|
## [9.4.3] - 2021-02-16
|
|
100
118
|
|
|
101
119
|
### Fixed
|
|
102
120
|
|
|
103
|
-
-
|
|
104
|
-
-
|
|
121
|
+
- Fixed: query `Page1` instead of `Page` being used in the v2 List Messages API
|
|
122
|
+
- Fixed: property `displayName` should not be `nullable` in v2 App Key API
|
|
105
123
|
|
|
106
124
|
## [9.4.2] - 2021-01-06
|
|
107
125
|
|
|
108
126
|
### Added
|
|
109
127
|
|
|
110
|
-
-
|
|
111
|
-
-
|
|
128
|
+
- Added `phoneNumber` to the `integration` whatsapp response
|
|
129
|
+
- Added a message type `template` in the Post Message API
|
|
112
130
|
|
|
113
131
|
### Changed
|
|
114
132
|
|
|
115
|
-
-
|
|
133
|
+
- Removed `channelId` and `channelSecret` as required fields when creating a LINE integration
|
|
116
134
|
|
|
117
135
|
### Fixed
|
|
118
136
|
|
|
119
|
-
-
|
|
137
|
+
- Fixed: property `messageSchema` should be `schema` in v2 Post Message API
|
|
120
138
|
|
|
121
139
|
## [9.4.1] - 2020-12-16
|
|
122
140
|
|
|
123
141
|
### Changed
|
|
124
142
|
|
|
125
|
-
-
|
|
143
|
+
- Changed the limit of the `select` field options from 20 to 100
|
|
126
144
|
|
|
127
145
|
## [9.4.0] - 2020-12-15
|
|
128
146
|
|
|
129
147
|
### Added
|
|
130
148
|
|
|
131
|
-
-
|
|
149
|
+
- Added a new user profile field `locale`
|
|
132
150
|
|
|
133
151
|
## [9.3.0] - 2020-11-18
|
|
134
152
|
|
|
135
153
|
### Added
|
|
136
154
|
|
|
137
|
-
-
|
|
155
|
+
- Added a new optional field `altText` to the [message schema](https://docs.smooch.io/rest/#operation/postMessage) when sending an image or a file
|
|
138
156
|
|
|
139
157
|
## [9.2.0] - 2020-11-16
|
|
140
158
|
|
|
141
159
|
### Added
|
|
142
160
|
|
|
143
|
-
-
|
|
161
|
+
- Added support for Instagram Direct
|
|
144
162
|
|
|
145
163
|
## [9.1.1] - 2020-11-11
|
|
146
164
|
|
|
147
165
|
### Fixed
|
|
148
166
|
|
|
149
|
-
-
|
|
167
|
+
- Fixed rubygems upload issues
|
|
150
168
|
|
|
151
169
|
## [9.1.0] - 2020-11-11
|
|
152
170
|
|
|
153
171
|
### Added
|
|
154
172
|
|
|
155
|
-
-
|
|
173
|
+
- Release of Ruby wrappers
|
data/README.md
CHANGED
|
@@ -4,8 +4,8 @@ SunshineConversationsClient - the Ruby gem for the Sunshine Conversations API
|
|
|
4
4
|
|
|
5
5
|
This SDK is automatically generated by the [OpenAPI Generator Codegen](https://github.com/OpenAPITools/openapi-generator) project using the [Sunshine Conversations API spec](https://github.com/zendesk/sunshine-conversations-api-spec).
|
|
6
6
|
|
|
7
|
-
- API version:
|
|
8
|
-
- Package version:
|
|
7
|
+
- API version: 11.0.0
|
|
8
|
+
- Package version: 11.0.0
|
|
9
9
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
10
10
|
|
|
11
11
|
## Sunshine Conversations API Version
|
|
@@ -32,16 +32,16 @@ gem build sunshine-conversations-client.gemspec
|
|
|
32
32
|
Then either install the gem locally:
|
|
33
33
|
|
|
34
34
|
```shell
|
|
35
|
-
gem install ./sunshine-conversations-client-
|
|
35
|
+
gem install ./sunshine-conversations-client-11.0.0.gem
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
(for development, run `gem install --dev ./sunshine-conversations-client-
|
|
38
|
+
(for development, run `gem install --dev ./sunshine-conversations-client-11.0.0.gem` to install the development dependencies)
|
|
39
39
|
|
|
40
40
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
41
41
|
|
|
42
42
|
Finally add this to the Gemfile:
|
|
43
43
|
|
|
44
|
-
gem 'sunshine-conversations-client', '~>
|
|
44
|
+
gem 'sunshine-conversations-client', '~> 11.0.0'
|
|
45
45
|
|
|
46
46
|
### Install from Git
|
|
47
47
|
|
|
@@ -311,7 +311,11 @@ Class | Method | HTTP request | Description
|
|
|
311
311
|
- [SunshineConversationsClient::Field](docs/Field.md)
|
|
312
312
|
- [SunshineConversationsClient::FileMessage](docs/FileMessage.md)
|
|
313
313
|
- [SunshineConversationsClient::FormMessage](docs/FormMessage.md)
|
|
314
|
+
- [SunshineConversationsClient::FormMessageField](docs/FormMessageField.md)
|
|
315
|
+
- [SunshineConversationsClient::FormMessageFieldAllOf](docs/FormMessageFieldAllOf.md)
|
|
314
316
|
- [SunshineConversationsClient::FormResponseMessage](docs/FormResponseMessage.md)
|
|
317
|
+
- [SunshineConversationsClient::FormResponseMessageField](docs/FormResponseMessageField.md)
|
|
318
|
+
- [SunshineConversationsClient::FormResponseMessageFieldAllOf](docs/FormResponseMessageFieldAllOf.md)
|
|
315
319
|
- [SunshineConversationsClient::Identity](docs/Identity.md)
|
|
316
320
|
- [SunshineConversationsClient::ImageMessage](docs/ImageMessage.md)
|
|
317
321
|
- [SunshineConversationsClient::InlineObject](docs/InlineObject.md)
|
data/docs/Content.md
CHANGED
|
@@ -11,11 +11,12 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**items** | [**Array<Item>**](Item.md) | An array of objects representing the items associated with the message. Only present in carousel and list type messages. |
|
|
12
12
|
**display_settings** | [**CarouselMessageDisplaySettings**](CarouselMessageDisplaySettings.md) | | [optional]
|
|
13
13
|
**media_url** | **String** | The URL for media, such as an image, attached to the message. |
|
|
14
|
-
**media_size** | **Float** | The size of the media. | [optional] [readonly]
|
|
15
|
-
**media_type** | **String** | The
|
|
14
|
+
**media_size** | **Float** | The size of the media in bytes. | [optional] [readonly]
|
|
15
|
+
**media_type** | **String** | The type of media. | [optional] [readonly]
|
|
16
16
|
**alt_text** | **String** | An optional description of the image for accessibility purposes. The field will be saved by default with the file name as the value. | [optional]
|
|
17
|
+
**submitted** | **Boolean** | Flag which states whether the form is submitted. | [optional] [readonly]
|
|
17
18
|
**block_chat_input** | **Boolean** | true if the message should block the chat input on Web Messenger. | [optional]
|
|
18
|
-
**fields** | [**Array<
|
|
19
|
+
**fields** | [**Array<FormResponseMessageField>**](FormResponseMessageField.md) | Array of field objects that contain the submitted fields. |
|
|
19
20
|
**text_fallback** | **String** | A string containing the `label: value` of all fields, each separated by a newline character. | [optional] [readonly]
|
|
20
21
|
**coordinates** | [**LocationMessageCoordinates**](LocationMessageCoordinates.md) | |
|
|
21
22
|
**location** | [**LocationMessageLocation**](LocationMessageLocation.md) | | [optional]
|
|
@@ -36,6 +37,7 @@ instance = SunshineConversationsClient::Content.new(type: null,
|
|
|
36
37
|
media_size: null,
|
|
37
38
|
media_type: null,
|
|
38
39
|
alt_text: null,
|
|
40
|
+
submitted: null,
|
|
39
41
|
block_chat_input: null,
|
|
40
42
|
fields: null,
|
|
41
43
|
text_fallback: null,
|
data/docs/Field.md
CHANGED
|
@@ -7,13 +7,9 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**type** | **String** | The field type. |
|
|
8
8
|
**name** | **String** | The name of the field. Must be unique per form or formResponse. |
|
|
9
9
|
**label** | **String** | The label of the field. What the field is displayed as on Web Messenger. |
|
|
10
|
-
**placeholder** | **String** | Placeholder text for the field. Form message only. | [optional]
|
|
11
|
-
**min_size** | **Integer** | The minimum allowed length for the response for a field of type text. Form message only. | [optional] [default to 1]
|
|
12
|
-
**max_size** | **Integer** | The maximum allowed length for the response for a field of type text. Form message only. | [optional] [default to 128]
|
|
13
10
|
**text** | **String** | Specifies the response for a text field. | [optional]
|
|
14
11
|
**email** | **String** | Specifies the response for a email field. | [optional]
|
|
15
12
|
**select** | **Array<Object>** | Array of objects representing the response for a field of type select. Form and formResponse messages only. | [optional]
|
|
16
|
-
**options** | **Array<Object>** | Array of objects representing options for a field of type select. | [optional]
|
|
17
13
|
|
|
18
14
|
## Code Sample
|
|
19
15
|
|
|
@@ -23,13 +19,9 @@ require 'SunshineConversationsClient'
|
|
|
23
19
|
instance = SunshineConversationsClient::Field.new(type: null,
|
|
24
20
|
name: null,
|
|
25
21
|
label: null,
|
|
26
|
-
placeholder: null,
|
|
27
|
-
min_size: null,
|
|
28
|
-
max_size: null,
|
|
29
22
|
text: null,
|
|
30
23
|
email: null,
|
|
31
|
-
select: null
|
|
32
|
-
options: null)
|
|
24
|
+
select: null)
|
|
33
25
|
```
|
|
34
26
|
|
|
35
27
|
|
data/docs/FormMessage.md
CHANGED
|
@@ -5,8 +5,9 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**type** | **String** | The type of message. | [default to 'form']
|
|
8
|
+
**submitted** | **Boolean** | Flag which states whether the form is submitted. | [optional] [readonly]
|
|
8
9
|
**block_chat_input** | **Boolean** | true if the message should block the chat input on Web Messenger. | [optional]
|
|
9
|
-
**fields** | [**Array<
|
|
10
|
+
**fields** | [**Array<FormMessageField>**](FormMessageField.md) | An array of objects representing fields associated with the message. Only present in form and formResponse messages. |
|
|
10
11
|
|
|
11
12
|
## Code Sample
|
|
12
13
|
|
|
@@ -14,6 +15,7 @@ Name | Type | Description | Notes
|
|
|
14
15
|
require 'SunshineConversationsClient'
|
|
15
16
|
|
|
16
17
|
instance = SunshineConversationsClient::FormMessage.new(type: null,
|
|
18
|
+
submitted: null,
|
|
17
19
|
block_chat_input: null,
|
|
18
20
|
fields: null)
|
|
19
21
|
```
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# SunshineConversationsClient::FormMessageField
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**type** | **String** | The field type. |
|
|
8
|
+
**name** | **String** | The name of the field. Must be unique per form or formResponse. |
|
|
9
|
+
**label** | **String** | The label of the field. What the field is displayed as on Web Messenger. |
|
|
10
|
+
**text** | **String** | Specifies the response for a text field. | [optional]
|
|
11
|
+
**email** | **String** | Specifies the response for a email field. | [optional]
|
|
12
|
+
**select** | **Array<Object>** | Array of objects representing the response for a field of type select. Form and formResponse messages only. | [optional]
|
|
13
|
+
**placeholder** | **String** | Placeholder text for the field. Form message only. | [optional]
|
|
14
|
+
**min_size** | **Integer** | The minimum allowed length for the response for a field of type text. Form message only. | [optional] [default to 1]
|
|
15
|
+
**max_size** | **Integer** | The maximum allowed length for the response for a field of type text. Form message only. | [optional] [default to 128]
|
|
16
|
+
**options** | **Array<Object>** | Array of objects representing options for a field of type select. | [optional]
|
|
17
|
+
|
|
18
|
+
## Code Sample
|
|
19
|
+
|
|
20
|
+
```ruby
|
|
21
|
+
require 'SunshineConversationsClient'
|
|
22
|
+
|
|
23
|
+
instance = SunshineConversationsClient::FormMessageField.new(type: null,
|
|
24
|
+
name: null,
|
|
25
|
+
label: null,
|
|
26
|
+
text: null,
|
|
27
|
+
email: null,
|
|
28
|
+
select: null,
|
|
29
|
+
placeholder: null,
|
|
30
|
+
min_size: null,
|
|
31
|
+
max_size: null,
|
|
32
|
+
options: null)
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# SunshineConversationsClient::FormMessageFieldAllOf
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**placeholder** | **String** | Placeholder text for the field. Form message only. | [optional]
|
|
8
|
+
**min_size** | **Integer** | The minimum allowed length for the response for a field of type text. Form message only. | [optional] [default to 1]
|
|
9
|
+
**max_size** | **Integer** | The maximum allowed length for the response for a field of type text. Form message only. | [optional] [default to 128]
|
|
10
|
+
**options** | **Array<Object>** | Array of objects representing options for a field of type select. | [optional]
|
|
11
|
+
|
|
12
|
+
## Code Sample
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'SunshineConversationsClient'
|
|
16
|
+
|
|
17
|
+
instance = SunshineConversationsClient::FormMessageFieldAllOf.new(placeholder: null,
|
|
18
|
+
min_size: null,
|
|
19
|
+
max_size: null,
|
|
20
|
+
options: null)
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
|
data/docs/FormResponseMessage.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**type** | **String** | The type of message. | [default to 'formResponse']
|
|
8
|
-
**fields** | [**Array<
|
|
8
|
+
**fields** | [**Array<FormResponseMessageField>**](FormResponseMessageField.md) | Array of field objects that contain the submitted fields. |
|
|
9
9
|
**text_fallback** | **String** | A string containing the `label: value` of all fields, each separated by a newline character. | [optional] [readonly]
|
|
10
10
|
|
|
11
11
|
## Code Sample
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# SunshineConversationsClient::FormResponseMessageField
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**type** | **String** | The field type. |
|
|
8
|
+
**name** | **String** | The name of the field. Must be unique per form or formResponse. |
|
|
9
|
+
**label** | **String** | The label of the field. What the field is displayed as on Web Messenger. |
|
|
10
|
+
**text** | **String** | Specifies the response for a text field. | [optional]
|
|
11
|
+
**email** | **String** | Specifies the response for a email field. | [optional]
|
|
12
|
+
**select** | **Array<Object>** | Array of objects representing the response for a field of type select. Form and formResponse messages only. | [optional]
|
|
13
|
+
**quoted_message_id** | **String** | The messageId for the form that this response belongs to. | [optional]
|
|
14
|
+
|
|
15
|
+
## Code Sample
|
|
16
|
+
|
|
17
|
+
```ruby
|
|
18
|
+
require 'SunshineConversationsClient'
|
|
19
|
+
|
|
20
|
+
instance = SunshineConversationsClient::FormResponseMessageField.new(type: null,
|
|
21
|
+
name: null,
|
|
22
|
+
label: null,
|
|
23
|
+
text: null,
|
|
24
|
+
email: null,
|
|
25
|
+
select: null,
|
|
26
|
+
quoted_message_id: null)
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# SunshineConversationsClient::FormResponseMessageFieldAllOf
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**quoted_message_id** | **String** | The messageId for the form that this response belongs to. | [optional]
|
|
8
|
+
|
|
9
|
+
## Code Sample
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'SunshineConversationsClient'
|
|
13
|
+
|
|
14
|
+
instance = SunshineConversationsClient::FormResponseMessageFieldAllOf.new(quoted_message_id: null)
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
|
data/docs/ImageMessage.md
CHANGED
|
@@ -6,6 +6,8 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**type** | **String** | The type of message. | [default to 'image']
|
|
8
8
|
**media_url** | **String** | The URL for media, such as an image, attached to the message. |
|
|
9
|
+
**media_type** | **String** | The type of media. | [optional] [readonly]
|
|
10
|
+
**media_size** | **Float** | The size of the media in bytes. | [optional] [readonly]
|
|
9
11
|
**alt_text** | **String** | An optional description of the image for accessibility purposes. The field will be saved by default with the file name as the value. | [optional]
|
|
10
12
|
**text** | **String** | The text content of the message. Optional only if actions are provided. | [optional]
|
|
11
13
|
**actions** | [**Array<Action>**](Action.md) | Array of message actions. | [optional]
|
|
@@ -17,6 +19,8 @@ require 'SunshineConversationsClient'
|
|
|
17
19
|
|
|
18
20
|
instance = SunshineConversationsClient::ImageMessage.new(type: null,
|
|
19
21
|
media_url: null,
|
|
22
|
+
media_type: null,
|
|
23
|
+
media_size: null,
|
|
20
24
|
alt_text: null,
|
|
21
25
|
text: null,
|
|
22
26
|
actions: null)
|