sunshine-conversations-client 12.3.0 → 12.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG_RB.md +6 -0
- data/README.md +5 -10
- data/docs/Author.md +2 -0
- data/docs/AuthorWebhook.md +1 -1
- data/docs/ConversationCreateEventAllOfPayload.md +1 -1
- data/docs/ConversationMessageDeliveryPayload.md +1 -1
- data/docs/ConversationPostbackEventAllOfPayload.md +1 -1
- data/docs/ConversationReferralEventAllOfPayload.md +1 -1
- data/docs/Message.md +1 -1
- data/docs/MessagePost.md +1 -1
- data/docs/User.md +12 -10
- data/docs/UserAllOf.md +8 -2
- data/docs/UserMergeEventAllOfPayloadMergedUsers.md +2 -2
- data/docs/UserResponse.md +1 -1
- data/docs/UserUpdateEventAllOfPayload.md +1 -1
- data/lib/sunshine-conversations-client/api/activities_api.rb +1 -1
- data/lib/sunshine-conversations-client/api/app_keys_api.rb +1 -1
- data/lib/sunshine-conversations-client/api/apps_api.rb +1 -1
- data/lib/sunshine-conversations-client/api/attachments_api.rb +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 +11 -2
- data/lib/sunshine-conversations-client/models/author_webhook.rb +2 -2
- data/lib/sunshine-conversations-client/models/buy.rb +1 -1
- data/lib/sunshine-conversations-client/models/campaign.rb +1 -1
- data/lib/sunshine-conversations-client/models/carousel_message.rb +1 -1
- data/lib/sunshine-conversations-client/models/carousel_message_display_settings.rb +1 -1
- data/lib/sunshine-conversations-client/models/client.rb +1 -1
- data/lib/sunshine-conversations-client/models/client_add_event.rb +1 -1
- data/lib/sunshine-conversations-client/models/client_add_event_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/client_add_event_all_of_payload.rb +1 -1
- data/lib/sunshine-conversations-client/models/client_association.rb +1 -1
- data/lib/sunshine-conversations-client/models/client_create.rb +1 -1
- data/lib/sunshine-conversations-client/models/client_list_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/client_remove_event.rb +1 -1
- data/lib/sunshine-conversations-client/models/client_remove_event_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/client_remove_event_all_of_payload.rb +1 -1
- data/lib/sunshine-conversations-client/models/client_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/client_type.rb +1 -1
- data/lib/sunshine-conversations-client/models/client_update_event.rb +1 -1
- data/lib/sunshine-conversations-client/models/client_update_event_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/client_update_event_all_of_payload.rb +1 -1
- data/lib/sunshine-conversations-client/models/confirmation.rb +1 -1
- data/lib/sunshine-conversations-client/models/content.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_create_body.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_create_event.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_create_event_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/conversation_create_event_all_of_payload.rb +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +1 -1
- data/lib/sunshine-conversations-client/models/file_message.rb +1 -1
- data/lib/sunshine-conversations-client/models/form_message.rb +1 -1
- data/lib/sunshine-conversations-client/models/form_message_field.rb +1 -1
- data/lib/sunshine-conversations-client/models/form_message_field_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/form_response_message.rb +1 -1
- data/lib/sunshine-conversations-client/models/form_response_message_field.rb +1 -1
- data/lib/sunshine-conversations-client/models/form_response_message_field_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/identity.rb +1 -1
- data/lib/sunshine-conversations-client/models/image_message.rb +1 -1
- data/lib/sunshine-conversations-client/models/inline_object.rb +1 -1
- data/lib/sunshine-conversations-client/models/instagram.rb +1 -1
- data/lib/sunshine-conversations-client/models/instagram_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/instagram_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/instagram_update_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/integration.rb +1 -1
- data/lib/sunshine-conversations-client/models/integration_api_key.rb +1 -1
- data/lib/sunshine-conversations-client/models/integration_api_key_list_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/integration_api_key_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/integration_id.rb +1 -1
- data/lib/sunshine-conversations-client/models/integration_list_filter.rb +1 -1
- data/lib/sunshine-conversations-client/models/integration_list_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/integration_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/integration_type.rb +1 -1
- data/lib/sunshine-conversations-client/models/integration_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/integration_update_base.rb +1 -1
- data/lib/sunshine-conversations-client/models/ios.rb +1 -1
- data/lib/sunshine-conversations-client/models/ios_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/ios_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/ios_update_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/item.rb +1 -1
- data/lib/sunshine-conversations-client/models/line.rb +1 -1
- data/lib/sunshine-conversations-client/models/line_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/line_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/link.rb +1 -1
- data/lib/sunshine-conversations-client/models/links.rb +1 -1
- data/lib/sunshine-conversations-client/models/list_message.rb +1 -1
- data/lib/sunshine-conversations-client/models/location_message.rb +1 -1
- data/lib/sunshine-conversations-client/models/location_message_coordinates.rb +1 -1
- data/lib/sunshine-conversations-client/models/location_message_location.rb +1 -1
- data/lib/sunshine-conversations-client/models/location_request.rb +1 -1
- data/lib/sunshine-conversations-client/models/mailgun.rb +1 -1
- data/lib/sunshine-conversations-client/models/mailgun_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/mailgun_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/mailgun_update_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/match_criteria.rb +1 -1
- data/lib/sunshine-conversations-client/models/match_criteria_base.rb +1 -1
- data/lib/sunshine-conversations-client/models/match_criteria_mailgun.rb +1 -1
- data/lib/sunshine-conversations-client/models/match_criteria_mailgun_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/match_criteria_messagebird.rb +1 -1
- data/lib/sunshine-conversations-client/models/match_criteria_messagebird_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/match_criteria_twilio.rb +1 -1
- data/lib/sunshine-conversations-client/models/match_criteria_twilio_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/match_criteria_whatsapp.rb +1 -1
- data/lib/sunshine-conversations-client/models/match_criteria_whatsapp_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/message.rb +2 -2
- 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 +2 -2
- data/lib/sunshine-conversations-client/models/message_post_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/message_webhook.rb +1 -1
- data/lib/sunshine-conversations-client/models/messagebird.rb +1 -1
- data/lib/sunshine-conversations-client/models/messagebird_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/messenger.rb +1 -1
- data/lib/sunshine-conversations-client/models/messenger_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/messenger_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/meta.rb +1 -1
- data/lib/sunshine-conversations-client/models/offer_control_body.rb +1 -1
- data/lib/sunshine-conversations-client/models/page.rb +1 -1
- data/lib/sunshine-conversations-client/models/participant.rb +1 -1
- data/lib/sunshine-conversations-client/models/participant_join_body.rb +1 -1
- data/lib/sunshine-conversations-client/models/participant_leave_body.rb +1 -1
- data/lib/sunshine-conversations-client/models/participant_leave_body_participant_id.rb +1 -1
- data/lib/sunshine-conversations-client/models/participant_leave_body_user_external_id.rb +1 -1
- data/lib/sunshine-conversations-client/models/participant_leave_body_user_id.rb +1 -1
- data/lib/sunshine-conversations-client/models/participant_list_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/participant_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/participant_sub_schema.rb +1 -1
- data/lib/sunshine-conversations-client/models/participant_with_user_external_id.rb +1 -1
- data/lib/sunshine-conversations-client/models/participant_with_user_id.rb +1 -1
- data/lib/sunshine-conversations-client/models/pass_control_body.rb +1 -1
- data/lib/sunshine-conversations-client/models/postback.rb +1 -1
- data/lib/sunshine-conversations-client/models/postback_webhook.rb +1 -1
- data/lib/sunshine-conversations-client/models/prechat_capture.rb +1 -1
- data/lib/sunshine-conversations-client/models/profile.rb +1 -1
- data/lib/sunshine-conversations-client/models/quoted_message.rb +1 -1
- data/lib/sunshine-conversations-client/models/quoted_message_external_message_id.rb +1 -1
- data/lib/sunshine-conversations-client/models/quoted_message_message.rb +1 -1
- data/lib/sunshine-conversations-client/models/referral.rb +1 -1
- data/lib/sunshine-conversations-client/models/referral_details.rb +1 -1
- data/lib/sunshine-conversations-client/models/reply.rb +1 -1
- data/lib/sunshine-conversations-client/models/source.rb +1 -1
- data/lib/sunshine-conversations-client/models/source_webhook.rb +1 -1
- data/lib/sunshine-conversations-client/models/source_with_campaign_webhook.rb +1 -1
- data/lib/sunshine-conversations-client/models/source_with_campaign_webhook_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/status.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_accept_control.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_accept_control_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_accept_control_all_of_payload.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure_all_of_payload.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_integration.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_integration_create_body.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_integration_list_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_integration_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_integration_update_body.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_integration_webhook.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_list_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_offer_control.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_offer_control_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_offer_control_all_of_payload.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_offer_control_failure.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_pass_control.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_pass_control_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_pass_control_all_of_payload.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_pass_control_failure.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/switchboard_update_body.rb +1 -1
- data/lib/sunshine-conversations-client/models/target.rb +1 -1
- data/lib/sunshine-conversations-client/models/telegram.rb +1 -1
- data/lib/sunshine-conversations-client/models/telegram_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/telegram_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/template_message.rb +1 -1
- data/lib/sunshine-conversations-client/models/text_message.rb +1 -1
- data/lib/sunshine-conversations-client/models/twilio.rb +1 -1
- data/lib/sunshine-conversations-client/models/twilio_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/twilio_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/twitter.rb +1 -1
- data/lib/sunshine-conversations-client/models/twitter_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/twitter_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/unity.rb +1 -1
- data/lib/sunshine-conversations-client/models/unity_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/unity_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/unity_update_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/user.rb +49 -81
- data/lib/sunshine-conversations-client/models/user_all_of.rb +34 -43
- 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 +3 -3
- data/lib/sunshine-conversations-client/models/user_response.rb +2 -2
- 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 +2 -2
- data/lib/sunshine-conversations-client/models/viber.rb +1 -1
- data/lib/sunshine-conversations-client/models/viber_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/viber_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/web.rb +1 -1
- data/lib/sunshine-conversations-client/models/web_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/web_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/web_update_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/webhook.rb +1 -1
- data/lib/sunshine-conversations-client/models/webhook_body.rb +1 -1
- data/lib/sunshine-conversations-client/models/webhook_create_body.rb +1 -1
- data/lib/sunshine-conversations-client/models/webhook_list_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/webhook_response.rb +1 -1
- data/lib/sunshine-conversations-client/models/webhook_sub_schema.rb +1 -1
- data/lib/sunshine-conversations-client/models/webview.rb +1 -1
- data/lib/sunshine-conversations-client/models/whats_app_update.rb +1 -1
- data/lib/sunshine-conversations-client/models/whats_app_update_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/models/whatsapp.rb +1 -1
- data/lib/sunshine-conversations-client/models/whatsapp_all_of.rb +1 -1
- data/lib/sunshine-conversations-client/version.rb +2 -2
- data/lib/sunshine-conversations-client.rb +1 -6
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/sunshine-conversations-client.gemspec +1 -1
- metadata +2 -12
- data/docs/AuthorMessages.md +0 -27
- data/docs/Business.md +0 -27
- data/docs/BusinessAllOf.md +0 -19
- data/docs/User2.md +0 -27
- data/docs/User2AllOf.md +0 -23
- data/lib/sunshine-conversations-client/models/author_messages.rb +0 -321
- data/lib/sunshine-conversations-client/models/business.rb +0 -300
- data/lib/sunshine-conversations-client/models/business_all_of.rb +0 -248
- data/lib/sunshine-conversations-client/models/user2.rb +0 -259
- data/lib/sunshine-conversations-client/models/user2_all_of.rb +0 -230
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Sunshine Conversations API
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 12.3.
|
4
|
+
The version of the OpenAPI document: 12.3.1
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 4.3.1
|
@@ -11,76 +11,57 @@ require 'date'
|
|
11
11
|
|
12
12
|
module SunshineConversationsClient
|
13
13
|
class User
|
14
|
-
# The
|
15
|
-
attr_accessor :
|
16
|
-
|
17
|
-
# The id of the user. Only supported when `type` is user.
|
18
|
-
attr_accessor :user_id
|
19
|
-
|
20
|
-
# The externalId of the user. Only supported when `type` is user.
|
21
|
-
attr_accessor :user_external_id
|
22
|
-
|
23
|
-
# The display name of the message author.
|
24
|
-
attr_accessor :display_name
|
25
|
-
|
26
|
-
# A custom message icon URL. The image must be JPG, PNG, or GIF format.
|
27
|
-
attr_accessor :avatar_url
|
28
|
-
|
29
|
-
class EnumAttributeValidator
|
30
|
-
attr_reader :datatype
|
31
|
-
attr_reader :allowable_values
|
32
|
-
|
33
|
-
def initialize(datatype, allowable_values)
|
34
|
-
@allowable_values = allowable_values.map do |value|
|
35
|
-
case datatype.to_s
|
36
|
-
when /Integer/i
|
37
|
-
value.to_i
|
38
|
-
when /Float/i
|
39
|
-
value.to_f
|
40
|
-
else
|
41
|
-
value
|
42
|
-
end
|
43
|
-
end
|
44
|
-
end
|
14
|
+
# The unique ID of the user.
|
15
|
+
attr_accessor :id
|
45
16
|
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
17
|
+
# An optional ID that can also be used to retrieve the user.
|
18
|
+
attr_accessor :external_id
|
19
|
+
|
20
|
+
attr_accessor :signed_up_at
|
21
|
+
|
22
|
+
attr_accessor :profile
|
23
|
+
|
24
|
+
attr_accessor :metadata
|
25
|
+
|
26
|
+
# The user's connected identities.
|
27
|
+
attr_accessor :identities
|
50
28
|
|
51
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
52
30
|
def self.attribute_map
|
53
31
|
{
|
54
|
-
:'
|
55
|
-
:'
|
56
|
-
:'
|
57
|
-
:'
|
58
|
-
:'
|
32
|
+
:'id' => :'id',
|
33
|
+
:'external_id' => :'externalId',
|
34
|
+
:'signed_up_at' => :'signedUpAt',
|
35
|
+
:'profile' => :'profile',
|
36
|
+
:'metadata' => :'metadata',
|
37
|
+
:'identities' => :'identities'
|
59
38
|
}
|
60
39
|
end
|
61
40
|
|
62
41
|
# Attribute type mapping.
|
63
42
|
def self.openapi_types
|
64
43
|
{
|
65
|
-
:'
|
66
|
-
:'
|
67
|
-
:'
|
68
|
-
:'
|
69
|
-
:'
|
44
|
+
:'id' => :'String',
|
45
|
+
:'external_id' => :'String',
|
46
|
+
:'signed_up_at' => :'String',
|
47
|
+
:'profile' => :'Profile',
|
48
|
+
:'metadata' => :'Object',
|
49
|
+
:'identities' => :'Array<Identity>'
|
70
50
|
}
|
71
51
|
end
|
72
52
|
|
73
53
|
# List of attributes with nullable: true
|
74
54
|
def self.openapi_nullable
|
75
55
|
Set.new([
|
56
|
+
:'external_id',
|
76
57
|
])
|
77
58
|
end
|
78
59
|
|
79
60
|
# List of class defined in allOf (OpenAPI v3)
|
80
61
|
def self.openapi_all_of
|
81
62
|
[
|
82
|
-
:'
|
83
|
-
:'
|
63
|
+
:'UserAllOf',
|
64
|
+
:'UserTruncated'
|
84
65
|
]
|
85
66
|
end
|
86
67
|
|
@@ -99,24 +80,27 @@ module SunshineConversationsClient
|
|
99
80
|
h[k.to_sym] = v
|
100
81
|
}
|
101
82
|
|
102
|
-
if attributes.key?(:'
|
103
|
-
self.
|
83
|
+
if attributes.key?(:'id')
|
84
|
+
self.id = attributes[:'id']
|
85
|
+
end
|
86
|
+
|
87
|
+
if attributes.key?(:'external_id')
|
88
|
+
self.external_id = attributes[:'external_id']
|
104
89
|
end
|
105
90
|
|
106
|
-
if attributes.key?(:'
|
107
|
-
self.
|
91
|
+
if attributes.key?(:'signed_up_at')
|
92
|
+
self.signed_up_at = attributes[:'signed_up_at']
|
108
93
|
end
|
109
94
|
|
110
|
-
if attributes.key?(:'
|
111
|
-
self.
|
95
|
+
if attributes.key?(:'profile')
|
96
|
+
self.profile = attributes[:'profile']
|
112
97
|
end
|
113
98
|
|
114
|
-
if attributes.key?(:'
|
115
|
-
self.
|
99
|
+
if attributes.key?(:'metadata')
|
100
|
+
self.metadata = attributes[:'metadata']
|
116
101
|
end
|
117
102
|
|
118
|
-
if attributes.key?(:'
|
119
|
-
self.avatar_url = attributes[:'avatar_url']
|
103
|
+
if attributes.key?(:'identities')
|
120
104
|
end
|
121
105
|
end
|
122
106
|
|
@@ -124,42 +108,26 @@ module SunshineConversationsClient
|
|
124
108
|
# @return Array for valid properties with the reasons
|
125
109
|
def list_invalid_properties
|
126
110
|
invalid_properties = Array.new
|
127
|
-
if @type.nil?
|
128
|
-
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
129
|
-
end
|
130
|
-
|
131
111
|
invalid_properties
|
132
112
|
end
|
133
113
|
|
134
114
|
# Check to see if the all the properties in the model are valid
|
135
115
|
# @return true if the model is valid
|
136
116
|
def valid?
|
137
|
-
return false if @type.nil?
|
138
|
-
type_validator = EnumAttributeValidator.new('String', ["user"])
|
139
|
-
return false unless type_validator.valid?(@type)
|
140
117
|
true
|
141
118
|
end
|
142
119
|
|
143
|
-
# Custom attribute writer method checking allowed values (enum).
|
144
|
-
# @param [Object] type Object to be assigned
|
145
|
-
def type=(type)
|
146
|
-
validator = EnumAttributeValidator.new('String', ["user"])
|
147
|
-
unless validator.valid?(type)
|
148
|
-
fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
|
149
|
-
end
|
150
|
-
@type = type
|
151
|
-
end
|
152
|
-
|
153
120
|
# Checks equality by comparing each attribute.
|
154
121
|
# @param [Object] Object to be compared
|
155
122
|
def ==(o)
|
156
123
|
return true if self.equal?(o)
|
157
124
|
self.class == o.class &&
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
125
|
+
id == o.id &&
|
126
|
+
external_id == o.external_id &&
|
127
|
+
signed_up_at == o.signed_up_at &&
|
128
|
+
profile == o.profile &&
|
129
|
+
metadata == o.metadata &&
|
130
|
+
identities == o.identities
|
163
131
|
end
|
164
132
|
|
165
133
|
# @see the `==` method
|
@@ -171,7 +139,7 @@ module SunshineConversationsClient
|
|
171
139
|
# Calculates hash code according to all attributes.
|
172
140
|
# @return [Integer] Hash code
|
173
141
|
def hash
|
174
|
-
[
|
142
|
+
[id, external_id, signed_up_at, profile, metadata, identities].hash
|
175
143
|
end
|
176
144
|
|
177
145
|
# 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: 12.3.
|
4
|
+
The version of the OpenAPI document: 12.3.1
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 4.3.1
|
@@ -10,44 +10,33 @@ OpenAPI Generator version: 4.3.1
|
|
10
10
|
require 'date'
|
11
11
|
|
12
12
|
module SunshineConversationsClient
|
13
|
-
# The message author.
|
14
13
|
class UserAllOf
|
15
|
-
|
16
|
-
attr_accessor :type
|
17
|
-
|
18
|
-
class EnumAttributeValidator
|
19
|
-
attr_reader :datatype
|
20
|
-
attr_reader :allowable_values
|
21
|
-
|
22
|
-
def initialize(datatype, allowable_values)
|
23
|
-
@allowable_values = allowable_values.map do |value|
|
24
|
-
case datatype.to_s
|
25
|
-
when /Integer/i
|
26
|
-
value.to_i
|
27
|
-
when /Float/i
|
28
|
-
value.to_f
|
29
|
-
else
|
30
|
-
value
|
31
|
-
end
|
32
|
-
end
|
33
|
-
end
|
14
|
+
attr_accessor :signed_up_at
|
34
15
|
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
16
|
+
attr_accessor :profile
|
17
|
+
|
18
|
+
attr_accessor :metadata
|
19
|
+
|
20
|
+
# The user's connected identities.
|
21
|
+
attr_accessor :identities
|
39
22
|
|
40
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
41
24
|
def self.attribute_map
|
42
25
|
{
|
43
|
-
:'
|
26
|
+
:'signed_up_at' => :'signedUpAt',
|
27
|
+
:'profile' => :'profile',
|
28
|
+
:'metadata' => :'metadata',
|
29
|
+
:'identities' => :'identities'
|
44
30
|
}
|
45
31
|
end
|
46
32
|
|
47
33
|
# Attribute type mapping.
|
48
34
|
def self.openapi_types
|
49
35
|
{
|
50
|
-
:'
|
36
|
+
:'signed_up_at' => :'String',
|
37
|
+
:'profile' => :'Profile',
|
38
|
+
:'metadata' => :'Object',
|
39
|
+
:'identities' => :'Array<Identity>'
|
51
40
|
}
|
52
41
|
end
|
53
42
|
|
@@ -72,8 +61,19 @@ module SunshineConversationsClient
|
|
72
61
|
h[k.to_sym] = v
|
73
62
|
}
|
74
63
|
|
75
|
-
if attributes.key?(:'
|
76
|
-
self.
|
64
|
+
if attributes.key?(:'signed_up_at')
|
65
|
+
self.signed_up_at = attributes[:'signed_up_at']
|
66
|
+
end
|
67
|
+
|
68
|
+
if attributes.key?(:'profile')
|
69
|
+
self.profile = attributes[:'profile']
|
70
|
+
end
|
71
|
+
|
72
|
+
if attributes.key?(:'metadata')
|
73
|
+
self.metadata = attributes[:'metadata']
|
74
|
+
end
|
75
|
+
|
76
|
+
if attributes.key?(:'identities')
|
77
77
|
end
|
78
78
|
end
|
79
79
|
|
@@ -87,27 +87,18 @@ module SunshineConversationsClient
|
|
87
87
|
# Check to see if the all the properties in the model are valid
|
88
88
|
# @return true if the model is valid
|
89
89
|
def valid?
|
90
|
-
type_validator = EnumAttributeValidator.new('String', ["user"])
|
91
|
-
return false unless type_validator.valid?(@type)
|
92
90
|
true
|
93
91
|
end
|
94
92
|
|
95
|
-
# Custom attribute writer method checking allowed values (enum).
|
96
|
-
# @param [Object] type Object to be assigned
|
97
|
-
def type=(type)
|
98
|
-
validator = EnumAttributeValidator.new('String', ["user"])
|
99
|
-
unless validator.valid?(type)
|
100
|
-
fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
|
101
|
-
end
|
102
|
-
@type = type
|
103
|
-
end
|
104
|
-
|
105
93
|
# Checks equality by comparing each attribute.
|
106
94
|
# @param [Object] Object to be compared
|
107
95
|
def ==(o)
|
108
96
|
return true if self.equal?(o)
|
109
97
|
self.class == o.class &&
|
110
|
-
|
98
|
+
signed_up_at == o.signed_up_at &&
|
99
|
+
profile == o.profile &&
|
100
|
+
metadata == o.metadata &&
|
101
|
+
identities == o.identities
|
111
102
|
end
|
112
103
|
|
113
104
|
# @see the `==` method
|
@@ -119,7 +110,7 @@ module SunshineConversationsClient
|
|
119
110
|
# Calculates hash code according to all attributes.
|
120
111
|
# @return [Integer] Hash code
|
121
112
|
def hash
|
122
|
-
[
|
113
|
+
[signed_up_at, profile, metadata, identities].hash
|
123
114
|
end
|
124
115
|
|
125
116
|
# Builds the object from hash
|
data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload_merged_users.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Sunshine Conversations API
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 12.3.
|
4
|
+
The version of the OpenAPI document: 12.3.1
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 4.3.1
|
@@ -29,8 +29,8 @@ module SunshineConversationsClient
|
|
29
29
|
# Attribute type mapping.
|
30
30
|
def self.openapi_types
|
31
31
|
{
|
32
|
-
:'surviving' => :'
|
33
|
-
:'discarded' => :'
|
32
|
+
:'surviving' => :'User',
|
33
|
+
:'discarded' => :'User'
|
34
34
|
}
|
35
35
|
end
|
36
36
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Sunshine Conversations API
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 12.3.
|
4
|
+
The version of the OpenAPI document: 12.3.1
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 4.3.1
|
@@ -24,7 +24,7 @@ module SunshineConversationsClient
|
|
24
24
|
# Attribute type mapping.
|
25
25
|
def self.openapi_types
|
26
26
|
{
|
27
|
-
:'user' => :'
|
27
|
+
:'user' => :'User'
|
28
28
|
}
|
29
29
|
end
|
30
30
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Sunshine Conversations API
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 12.3.
|
4
|
+
The version of the OpenAPI document: 12.3.1
|
5
5
|
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
7
|
OpenAPI Generator version: 4.3.1
|
@@ -55,7 +55,7 @@ module SunshineConversationsClient
|
|
55
55
|
# Attribute type mapping.
|
56
56
|
def self.openapi_types
|
57
57
|
{
|
58
|
-
:'user' => :'
|
58
|
+
:'user' => :'User',
|
59
59
|
:'reason' => :'String',
|
60
60
|
:'source' => :'SourceWebhook'
|
61
61
|
}
|