sunshine-conversations-client 9.4.4 → 9.5.7
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 +18 -0
- data/README.md +15 -5
- data/docs/AppSettings.md +2 -2
- data/docs/ClientAddEvent.md +23 -0
- data/docs/ClientAddEventAllOf.md +17 -0
- data/docs/ClientAddEventAllOfPayload.md +25 -0
- data/docs/ClientRemoveEvent.md +23 -0
- data/docs/ClientRemoveEventAllOf.md +17 -0
- data/docs/ClientRemoveEventAllOfPayload.md +27 -0
- data/docs/ClientUpdateEvent.md +23 -0
- data/docs/ClientUpdateEventAllOf.md +17 -0
- data/docs/ClientUpdateEventAllOfPayload.md +23 -0
- data/docs/Content.md +1 -1
- data/docs/Field.md +4 -4
- data/docs/FormMessage.md +1 -1
- data/docs/InlineObject.md +2 -2
- data/docs/Messenger.md +5 -1
- data/docs/MessengerAllOf.md +5 -1
- data/docs/User.md +1 -1
- data/docs/UserMergeEventAllOfPayload.md +5 -1
- data/docs/UserMergeEventAllOfPayloadMergedClients.md +19 -0
- data/docs/UserTruncated.md +1 -1
- data/docs/Web.md +17 -15
- data/docs/WebAllOf.md +17 -15
- 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 +3 -3
- data/lib/sunshine-conversations-client/models/app_sub_schema.rb +1 -1
- data/lib/sunshine-conversations-client/models/app_update_body.rb +1 -1
- data/lib/sunshine-conversations-client/models/apple.rb +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/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 +241 -0
- data/lib/sunshine-conversations-client/models/client_add_event_all_of.rb +203 -0
- data/lib/sunshine-conversations-client/models/client_add_event_all_of_payload.rb +280 -0
- 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 +241 -0
- data/lib/sunshine-conversations-client/models/client_remove_event_all_of.rb +203 -0
- data/lib/sunshine-conversations-client/models/client_remove_event_all_of_payload.rb +291 -0
- 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 +241 -0
- data/lib/sunshine-conversations-client/models/client_update_event_all_of.rb +203 -0
- data/lib/sunshine-conversations-client/models/client_update_event_all_of_payload.rb +269 -0
- data/lib/sunshine-conversations-client/models/confirmation.rb +1 -1
- data/lib/sunshine-conversations-client/models/content.rb +2 -2
- 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_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 +5 -5
- data/lib/sunshine-conversations-client/models/file_message.rb +1 -1
- data/lib/sunshine-conversations-client/models/form_message.rb +3 -3
- data/lib/sunshine-conversations-client/models/form_response_message.rb +1 -1
- data/lib/sunshine-conversations-client/models/image_message.rb +1 -1
- data/lib/sunshine-conversations-client/models/inline_object.rb +2 -2
- 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 +25 -5
- data/lib/sunshine-conversations-client/models/messenger_all_of.rb +25 -5
- 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 +54 -6
- 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/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 +2 -2
- 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 +60 -6
- data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload_merged_clients.rb +215 -0
- 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 +2 -2
- data/lib/sunshine-conversations-client/models/user_update_body.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 +25 -15
- data/lib/sunshine-conversations-client/models/web_all_of.rb +25 -15
- 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 +11 -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 +22 -2
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Sunshine Conversations API
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 9.4.
|
4
|
+
The version of the OpenAPI document: 9.4.6
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 4.3.1
|
@@ -23,13 +23,21 @@ module SunshineConversationsClient
|
|
23
23
|
# A Facebook App Secret.
|
24
24
|
attr_accessor :app_secret
|
25
25
|
|
26
|
+
# A Facebook page ID.
|
27
|
+
attr_accessor :page_id
|
28
|
+
|
29
|
+
# A Facebook page name.
|
30
|
+
attr_accessor :page_name
|
31
|
+
|
26
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
27
33
|
def self.attribute_map
|
28
34
|
{
|
29
35
|
:'type' => :'type',
|
30
36
|
:'page_access_token' => :'pageAccessToken',
|
31
37
|
:'app_id' => :'appId',
|
32
|
-
:'app_secret' => :'appSecret'
|
38
|
+
:'app_secret' => :'appSecret',
|
39
|
+
:'page_id' => :'pageId',
|
40
|
+
:'page_name' => :'pageName'
|
33
41
|
}
|
34
42
|
end
|
35
43
|
|
@@ -39,7 +47,9 @@ module SunshineConversationsClient
|
|
39
47
|
:'type' => :'String',
|
40
48
|
:'page_access_token' => :'String',
|
41
49
|
:'app_id' => :'String',
|
42
|
-
:'app_secret' => :'String'
|
50
|
+
:'app_secret' => :'String',
|
51
|
+
:'page_id' => :'Float',
|
52
|
+
:'page_name' => :'String'
|
43
53
|
}
|
44
54
|
end
|
45
55
|
|
@@ -92,6 +102,14 @@ module SunshineConversationsClient
|
|
92
102
|
if attributes.key?(:'app_secret')
|
93
103
|
self.app_secret = attributes[:'app_secret']
|
94
104
|
end
|
105
|
+
|
106
|
+
if attributes.key?(:'page_id')
|
107
|
+
self.page_id = attributes[:'page_id']
|
108
|
+
end
|
109
|
+
|
110
|
+
if attributes.key?(:'page_name')
|
111
|
+
self.page_name = attributes[:'page_name']
|
112
|
+
end
|
95
113
|
end
|
96
114
|
|
97
115
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -130,7 +148,9 @@ module SunshineConversationsClient
|
|
130
148
|
type == o.type &&
|
131
149
|
page_access_token == o.page_access_token &&
|
132
150
|
app_id == o.app_id &&
|
133
|
-
app_secret == o.app_secret &&
|
151
|
+
app_secret == o.app_secret &&
|
152
|
+
page_id == o.page_id &&
|
153
|
+
page_name == o.page_name && super(o)
|
134
154
|
end
|
135
155
|
|
136
156
|
# @see the `==` method
|
@@ -142,7 +162,7 @@ module SunshineConversationsClient
|
|
142
162
|
# Calculates hash code according to all attributes.
|
143
163
|
# @return [Integer] Hash code
|
144
164
|
def hash
|
145
|
-
[type, page_access_token, app_id, app_secret].hash
|
165
|
+
[type, page_access_token, app_id, app_secret, page_id, page_name].hash
|
146
166
|
end
|
147
167
|
|
148
168
|
# 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: 9.4.
|
4
|
+
The version of the OpenAPI document: 9.4.6
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 4.3.1
|
@@ -23,13 +23,21 @@ module SunshineConversationsClient
|
|
23
23
|
# A Facebook App Secret.
|
24
24
|
attr_accessor :app_secret
|
25
25
|
|
26
|
+
# A Facebook page ID.
|
27
|
+
attr_accessor :page_id
|
28
|
+
|
29
|
+
# A Facebook page name.
|
30
|
+
attr_accessor :page_name
|
31
|
+
|
26
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
27
33
|
def self.attribute_map
|
28
34
|
{
|
29
35
|
:'type' => :'type',
|
30
36
|
:'page_access_token' => :'pageAccessToken',
|
31
37
|
:'app_id' => :'appId',
|
32
|
-
:'app_secret' => :'appSecret'
|
38
|
+
:'app_secret' => :'appSecret',
|
39
|
+
:'page_id' => :'pageId',
|
40
|
+
:'page_name' => :'pageName'
|
33
41
|
}
|
34
42
|
end
|
35
43
|
|
@@ -39,7 +47,9 @@ module SunshineConversationsClient
|
|
39
47
|
:'type' => :'String',
|
40
48
|
:'page_access_token' => :'String',
|
41
49
|
:'app_id' => :'String',
|
42
|
-
:'app_secret' => :'String'
|
50
|
+
:'app_secret' => :'String',
|
51
|
+
:'page_id' => :'Float',
|
52
|
+
:'page_name' => :'String'
|
43
53
|
}
|
44
54
|
end
|
45
55
|
|
@@ -81,6 +91,14 @@ module SunshineConversationsClient
|
|
81
91
|
if attributes.key?(:'app_secret')
|
82
92
|
self.app_secret = attributes[:'app_secret']
|
83
93
|
end
|
94
|
+
|
95
|
+
if attributes.key?(:'page_id')
|
96
|
+
self.page_id = attributes[:'page_id']
|
97
|
+
end
|
98
|
+
|
99
|
+
if attributes.key?(:'page_name')
|
100
|
+
self.page_name = attributes[:'page_name']
|
101
|
+
end
|
84
102
|
end
|
85
103
|
|
86
104
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -119,7 +137,9 @@ module SunshineConversationsClient
|
|
119
137
|
type == o.type &&
|
120
138
|
page_access_token == o.page_access_token &&
|
121
139
|
app_id == o.app_id &&
|
122
|
-
app_secret == o.app_secret
|
140
|
+
app_secret == o.app_secret &&
|
141
|
+
page_id == o.page_id &&
|
142
|
+
page_name == o.page_name
|
123
143
|
end
|
124
144
|
|
125
145
|
# @see the `==` method
|
@@ -131,7 +151,7 @@ module SunshineConversationsClient
|
|
131
151
|
# Calculates hash code according to all attributes.
|
132
152
|
# @return [Integer] Hash code
|
133
153
|
def hash
|
134
|
-
[type, page_access_token, app_id, app_secret].hash
|
154
|
+
[type, page_access_token, app_id, app_secret, page_id, page_name].hash
|
135
155
|
end
|
136
156
|
|
137
157
|
# 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: 9.4.
|
4
|
+
The version of the OpenAPI document: 9.4.6
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 4.3.1
|
@@ -78,12 +78,28 @@ module SunshineConversationsClient
|
|
78
78
|
# @return Array for valid properties with the reasons
|
79
79
|
def list_invalid_properties
|
80
80
|
invalid_properties = Array.new
|
81
|
+
if !@after.nil? && @after.to_s.length > 24
|
82
|
+
invalid_properties.push('invalid value for "after", the character length must be smaller than or equal to 24.')
|
83
|
+
end
|
84
|
+
|
85
|
+
if !@after.nil? && @after.to_s.length < 24
|
86
|
+
invalid_properties.push('invalid value for "after", the character length must be great than or equal to 24.')
|
87
|
+
end
|
88
|
+
|
89
|
+
if !@before.nil? && @before.to_s.length > 24
|
90
|
+
invalid_properties.push('invalid value for "before", the character length must be smaller than or equal to 24.')
|
91
|
+
end
|
92
|
+
|
93
|
+
if !@before.nil? && @before.to_s.length < 24
|
94
|
+
invalid_properties.push('invalid value for "before", the character length must be great than or equal to 24.')
|
95
|
+
end
|
96
|
+
|
81
97
|
if !@size.nil? && @size > 100
|
82
98
|
invalid_properties.push('invalid value for "size", must be smaller than or equal to 100.')
|
83
99
|
end
|
84
100
|
|
85
|
-
if !@size.nil? && @size <
|
86
|
-
invalid_properties.push('invalid value for "size", must be greater than or equal to
|
101
|
+
if !@size.nil? && @size < 1
|
102
|
+
invalid_properties.push('invalid value for "size", must be greater than or equal to 1.')
|
87
103
|
end
|
88
104
|
|
89
105
|
invalid_properties
|
@@ -92,11 +108,43 @@ module SunshineConversationsClient
|
|
92
108
|
# Check to see if the all the properties in the model are valid
|
93
109
|
# @return true if the model is valid
|
94
110
|
def valid?
|
111
|
+
return false if !@after.nil? && @after.to_s.length > 24
|
112
|
+
return false if !@after.nil? && @after.to_s.length < 24
|
113
|
+
return false if !@before.nil? && @before.to_s.length > 24
|
114
|
+
return false if !@before.nil? && @before.to_s.length < 24
|
95
115
|
return false if !@size.nil? && @size > 100
|
96
|
-
return false if !@size.nil? && @size <
|
116
|
+
return false if !@size.nil? && @size < 1
|
97
117
|
true
|
98
118
|
end
|
99
119
|
|
120
|
+
# Custom attribute writer method with validation
|
121
|
+
# @param [Object] after Value to be assigned
|
122
|
+
def after=(after)
|
123
|
+
if !after.nil? && after.to_s.length > 24
|
124
|
+
fail ArgumentError, 'invalid value for "after", the character length must be smaller than or equal to 24.'
|
125
|
+
end
|
126
|
+
|
127
|
+
if !after.nil? && after.to_s.length < 24
|
128
|
+
fail ArgumentError, 'invalid value for "after", the character length must be great than or equal to 24.'
|
129
|
+
end
|
130
|
+
|
131
|
+
@after = after
|
132
|
+
end
|
133
|
+
|
134
|
+
# Custom attribute writer method with validation
|
135
|
+
# @param [Object] before Value to be assigned
|
136
|
+
def before=(before)
|
137
|
+
if !before.nil? && before.to_s.length > 24
|
138
|
+
fail ArgumentError, 'invalid value for "before", the character length must be smaller than or equal to 24.'
|
139
|
+
end
|
140
|
+
|
141
|
+
if !before.nil? && before.to_s.length < 24
|
142
|
+
fail ArgumentError, 'invalid value for "before", the character length must be great than or equal to 24.'
|
143
|
+
end
|
144
|
+
|
145
|
+
@before = before
|
146
|
+
end
|
147
|
+
|
100
148
|
# Custom attribute writer method with validation
|
101
149
|
# @param [Object] size Value to be assigned
|
102
150
|
def size=(size)
|
@@ -104,8 +152,8 @@ module SunshineConversationsClient
|
|
104
152
|
fail ArgumentError, 'invalid value for "size", must be smaller than or equal to 100.'
|
105
153
|
end
|
106
154
|
|
107
|
-
if !size.nil? && size <
|
108
|
-
fail ArgumentError, 'invalid value for "size", must be greater than or equal to
|
155
|
+
if !size.nil? && size < 1
|
156
|
+
fail ArgumentError, 'invalid value for "size", must be greater than or equal to 1.'
|
109
157
|
end
|
110
158
|
|
111
159
|
@size = size
|