From 1b9f674be5b95df5f581cdd60fd4fafd98c05e02 Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Fri, 22 May 2026 12:58:37 +0000 Subject: [PATCH] SDK regeneration --- .fern/metadata.json | 18 + CONTRIBUTING.md | 120 +++ lib/auth0.rb | 389 ++++++++- lib/auth0/actions/client.rb | 17 +- lib/auth0/actions/modules/client.rb | 18 +- .../create_action_module_request_content.rb | 5 + ...ction_module_actions_request_parameters.rb | 2 + .../get_action_modules_request_parameters.rb | 1 + ...llback_action_module_request_parameters.rb | 1 + .../update_action_module_request_content.rb | 3 + lib/auth0/actions/modules/versions/client.rb | 7 +- ...tion_module_versions_request_parameters.rb | 2 + lib/auth0/actions/triggers/bindings/client.rb | 9 +- ...ion_trigger_bindings_request_parameters.rb | 2 + .../update_action_bindings_request_content.rb | 1 + lib/auth0/actions/triggers/client.rb | 5 +- .../types/create_action_request_content.rb | 7 + .../types/delete_action_request_parameters.rb | 1 + .../types/list_actions_request_parameters.rb | 5 + .../types/test_action_request_content.rb | 1 + .../types/update_action_request_content.rb | 7 + lib/auth0/actions/versions/client.rb | 7 +- ...list_action_versions_request_parameters.rb | 2 + .../attack_protection/bot_detection/client.rb | 5 +- ..._bot_detection_settings_request_content.rb | 5 + .../breached_password_detection/client.rb | 5 +- ...word_detection_settings_request_content.rb | 4 + .../brute_force_protection/client.rb | 5 +- ...te_brute_force_settings_request_content.rb | 4 + lib/auth0/attack_protection/captcha/client.rb | 5 +- ...tack_protection_captcha_request_content.rb | 7 + .../suspicious_ip_throttling/client.rb | 5 +- ..._ip_throttling_settings_request_content.rb | 3 + lib/auth0/branding/client.rb | 5 +- lib/auth0/branding/phone/providers/client.rb | 6 +- ...branding_phone_provider_request_content.rb | 3 + ...hone_provider_send_test_request_content.rb | 2 + ...branding_phone_provider_request_content.rb | 4 + lib/auth0/branding/phone/templates/client.rb | 6 +- .../create_phone_template_request_content.rb | 2 + ...plate_test_notification_request_content.rb | 2 + .../update_phone_template_request_content.rb | 2 + lib/auth0/branding/templates/client.rb | 46 +- lib/auth0/branding/themes/client.rb | 7 +- .../create_branding_theme_request_content.rb | 5 + .../update_branding_theme_request_content.rb | 6 + .../types/update_branding_request_content.rb | 5 + lib/auth0/client_grants/client.rb | 7 +- .../client_grants/organizations/client.rb | 5 +- ..._grant_organizations_request_parameters.rb | 2 + .../create_client_grant_request_content.rb | 8 + .../list_client_grants_request_parameters.rb | 6 + .../update_client_grant_request_content.rb | 5 + lib/auth0/clients/client.rb | 27 +- lib/auth0/clients/connections/client.rb | 5 +- .../types/connections_get_request.rb | 5 + lib/auth0/clients/credentials/client.rb | 2 +- ...patch_client_credential_request_content.rb | 2 + .../post_client_credential_request_content.rb | 8 + .../types/create_client_request_content.rb | 54 ++ .../types/get_client_request_parameters.rb | 2 + .../types/list_clients_request_parameters.rb | 9 + .../types/update_client_request_content.rb | 55 ++ lib/auth0/connection_profiles/client.rb | 12 +- ...eate_connection_profile_request_content.rb | 5 + ...t_connection_profile_request_parameters.rb | 1 + ...date_connection_profile_request_content.rb | 6 + lib/auth0/connections/client.rb | 71 +- lib/auth0/connections/clients/client.rb | 15 +- ...tion_enabled_clients_request_parameters.rb | 2 + .../directory_provisioning/client.rb | 12 +- ...ectory_provisionings_request_parameters.rb | 1 + ..._synchronized_groups_request_parameters.rb | 2 + ...ace_synchronized_groups_request_content.rb | 1 + .../connections/scim_configuration/client.rb | 7 +- .../scim_configuration/tokens/client.rb | 2 +- .../create_scim_token_request_content.rb | 2 + ..._scim_configurations_request_parameters.rb | 1 + ...date_scim_configuration_request_content.rb | 2 + .../create_connection_request_content.rb | 10 + .../get_connection_request_parameters.rb | 2 + .../list_connections_query_parameters.rb | 5 + .../update_connection_request_content.rb | 9 + lib/auth0/connections/users/client.rb | 2 - ...nection_users_by_email_query_parameters.rb | 1 + lib/auth0/custom_domains/client.rb | 52 +- .../create_custom_domain_request_content.rb | 6 + .../list_custom_domains_request_parameters.rb | 3 + .../update_custom_domain_request_content.rb | 4 + lib/auth0/device_credentials/client.rb | 7 +- ...c_key_device_credential_request_content.rb | 4 + ...t_device_credentials_request_parameters.rb | 7 + lib/auth0/email_templates/client.rb | 4 +- .../create_email_template_request_content.rb | 8 + .../set_email_template_request_content.rb | 9 + .../update_email_template_request_content.rb | 9 + lib/auth0/emails/provider/client.rb | 7 +- .../create_email_provider_request_content.rb | 4 + .../get_email_provider_request_parameters.rb | 1 + .../update_email_provider_request_content.rb | 4 + lib/auth0/event_streams/client.rb | 9 +- lib/auth0/event_streams/deliveries/client.rb | 2 - ...nt_stream_deliveries_request_parameters.rb | 6 + .../event_streams/redeliveries/client.rb | 2 +- ...event_stream_redelivery_request_content.rb | 4 + ...event_stream_test_event_request_content.rb | 2 + .../types/event_streams_create_request.rb | 2 + .../list_event_streams_request_parameters.rb | 1 + .../update_event_stream_request_content.rb | 4 + lib/auth0/events/client.rb | 54 ++ .../subscribe_events_request_parameters.rb | 15 + lib/auth0/flows/client.rb | 11 +- lib/auth0/flows/executions/client.rb | 7 +- .../get_flow_execution_request_parameters.rb | 2 + ...list_flow_executions_request_parameters.rb | 2 + .../types/create_flow_request_content.rb | 1 + .../types/get_flow_request_parameters.rb | 1 + .../types/list_flows_request_parameters.rb | 4 + .../types/update_flow_request_content.rb | 2 + lib/auth0/flows/vault/connections/client.rb | 9 +- ...ws_vault_connections_request_parameters.rb | 2 + ..._flows_vault_connection_request_content.rb | 2 + lib/auth0/forms/client.rb | 11 +- .../types/create_form_request_content.rb | 7 + .../types/get_form_request_parameters.rb | 1 + .../types/list_forms_request_parameters.rb | 3 + .../types/update_form_request_content.rb | 8 + lib/auth0/groups/client.rb | 7 +- lib/auth0/groups/members/client.rb | 5 +- .../get_group_members_request_parameters.rb | 4 + .../types/list_groups_request_parameters.rb | 8 + ...rdian_enrollment_ticket_request_content.rb | 5 + lib/auth0/guardian/factors/client.rb | 7 +- .../guardian/factors/duo/settings/client.rb | 5 +- ...ian_factor_duo_settings_request_content.rb | 2 + ...ian_factor_duo_settings_request_content.rb | 2 + lib/auth0/guardian/factors/phone/client.rb | 20 +- ..._factor_phone_templates_request_content.rb | 1 + ...s_provider_phone_twilio_request_content.rb | 3 + .../factors/push_notification/client.rb | 15 +- ..._push_notification_apns_request_content.rb | 2 + ...r_push_notification_sns_request_content.rb | 4 + ..._push_notification_apns_request_content.rb | 2 + ...r_push_notification_sns_request_content.rb | 4 + lib/auth0/guardian/factors/sms/client.rb | 15 +- ...an_factor_sms_templates_request_content.rb | 1 + ...ors_provider_sms_twilio_request_content.rb | 3 + .../set_guardian_factor_request_content.rb | 1 + lib/auth0/guardian/policies/client.rb | 5 +- lib/auth0/hooks/client.rb | 18 +- .../types/create_hook_request_content.rb | 4 + .../types/get_hook_request_parameters.rb | 1 + .../types/list_hooks_request_parameters.rb | 5 + .../types/update_hook_request_content.rb | 4 + .../jobs/errors/types/errors_get_response.rb | 1 + .../create_export_users_request_content.rb | 3 + ...eate_verification_email_request_content.rb | 3 + lib/auth0/keys/custom_signing/client.rb | 10 +- lib/auth0/keys/encryption/client.rb | 14 +- .../import_encryption_key_request_content.rb | 1 + ...list_encryption_keys_request_parameters.rb | 2 + lib/auth0/keys/signing/client.rb | 10 +- lib/auth0/log_streams/client.rb | 782 +++++++++++------- .../update_log_stream_request_content.rb | 6 + lib/auth0/logs/client.rb | 7 +- .../types/list_logs_request_parameters.rb | 6 + lib/auth0/network_acls/client.rb | 11 +- .../create_network_acl_request_content.rb | 3 + .../list_network_acls_request_parameters.rb | 2 + .../types/set_network_acl_request_content.rb | 4 + .../update_network_acl_request_content.rb | 4 + lib/auth0/organizations/client.rb | 7 +- .../organizations/client_grants/client.rb | 9 +- ...ganization_client_grant_request_content.rb | 1 + ...zation_client_grants_request_parameters.rb | 6 + lib/auth0/organizations/connections/client.rb | 9 +- ...ation_all_connection_request_parameters.rb | 7 + ...tion_all_connections_request_parameters.rb | 4 + ...anization_connection_request_parameters.rb | 7 + .../organizations/discovery_domains/client.rb | 7 +- ...zation_discovery_domain_request_content.rb | 3 + ...on_discovery_domains_request_parameters.rb | 2 + ...zation_discovery_domain_request_content.rb | 3 + .../enabled_connections/client.rb | 9 +- ...organization_connection_request_content.rb | 4 + ...nization_connections_request_parameters.rb | 3 + ...organization_connection_request_content.rb | 4 + lib/auth0/organizations/invitations/client.rb | 11 +- ...organization_invitation_request_content.rb | 9 + ...anization_invitation_request_parameters.rb | 3 + ...nization_invitations_request_parameters.rb | 6 + lib/auth0/organizations/members/client.rb | 9 +- .../organizations/members/roles/client.rb | 7 +- ...ganization_member_roles_request_content.rb | 2 + ...ganization_member_roles_request_content.rb | 2 + ...ization_member_roles_request_parameters.rb | 4 + ...ate_organization_member_request_content.rb | 1 + ...te_organization_members_request_content.rb | 1 + ...organization_members_request_parameters.rb | 4 + .../create_organization_request_content.rb | 5 + .../list_organizations_request_parameters.rb | 2 + .../update_organization_request_content.rb | 5 + lib/auth0/prompts/client.rb | 5 +- lib/auth0/prompts/rendering/client.rb | 19 +- .../types/list_aculs_request_parameters.rb | 7 + .../types/update_acul_request_content.rb | 7 + .../types/update_settings_request_content.rb | 2 + lib/auth0/rate_limit_policies/client.rb | 197 +++++ ...reate_rate_limit_policy_request_content.rb | 17 + ..._rate_limit_policies_request_parameters.rb | 19 + ...patch_rate_limit_policy_request_content.rb | 13 + lib/auth0/refresh_tokens/client.rb | 39 +- .../get_refresh_tokens_request_parameters.rb | 5 + .../revoke_refresh_tokens_request_content.rb | 17 + .../update_refresh_token_request_content.rb | 1 + lib/auth0/resource_servers/client.rb | 11 +- .../create_resource_server_request_content.rb | 19 + .../get_resource_server_request_parameters.rb | 1 + ...list_resource_server_request_parameters.rb | 4 + .../update_resource_server_request_content.rb | 19 + lib/auth0/risk_assessments/settings/client.rb | 5 +- .../settings/new_device/client.rb | 5 +- lib/auth0/roles/client.rb | 9 +- lib/auth0/roles/permissions/client.rb | 11 +- .../add_role_permissions_request_content.rb | 1 + ...delete_role_permissions_request_content.rb | 1 + ...ist_role_permissions_request_parameters.rb | 3 + .../types/create_role_request_content.rb | 1 + .../types/list_roles_request_parameters.rb | 3 + .../types/update_role_request_content.rb | 2 + lib/auth0/roles/users/client.rb | 7 +- .../assign_role_users_request_content.rb | 1 + .../list_role_users_request_parameters.rb | 2 + lib/auth0/rules/client.rb | 25 +- .../types/create_rule_request_content.rb | 3 + .../types/get_rule_request_parameters.rb | 2 + .../types/list_rules_request_parameters.rb | 5 + .../types/update_rule_request_content.rb | 4 + lib/auth0/rules_configs/client.rb | 7 +- .../types/set_rules_config_request_content.rb | 1 + lib/auth0/self_service_profiles/client.rb | 9 +- .../custom_text/client.rb | 6 +- .../sso_ticket/client.rb | 17 +- ...vice_profile_sso_ticket_request_content.rb | 9 + ...te_self_service_profile_request_content.rb | 5 + ...elf_service_profiles_request_parameters.rb | 2 + ...te_self_service_profile_request_content.rb | 6 + lib/auth0/sessions/client.rb | 2 +- .../types/update_session_request_content.rb | 1 + lib/auth0/stats/client.rb | 7 +- .../get_daily_stats_request_parameters.rb | 1 + lib/auth0/supplemental_signals/client.rb | 5 +- lib/auth0/tenants/settings/client.rb | 2 - .../get_tenant_settings_request_parameters.rb | 1 + .../update_tenant_settings_request_content.rb | 35 + .../change_password_ticket_request_content.rb | 9 + .../verify_email_ticket_request_content.rb | 6 + lib/auth0/token_exchange_profiles/client.rb | 7 +- ..._token_exchange_profile_request_content.rb | 3 + .../token_exchange_profiles_list_request.rb | 1 + ..._token_exchange_profile_request_content.rb | 2 + lib/auth0/types/action.rb | 16 + lib/auth0/types/action_base.rb | 5 + lib/auth0/types/action_binding.rb | 5 + lib/auth0/types/action_binding_ref.rb | 1 + lib/auth0/types/action_binding_with_ref.rb | 2 + lib/auth0/types/action_deployed_version.rb | 15 + lib/auth0/types/action_error.rb | 2 + lib/auth0/types/action_execution_result.rb | 3 + lib/auth0/types/action_module_action.rb | 4 + lib/auth0/types/action_module_dependency.rb | 1 + .../types/action_module_dependency_request.rb | 1 + lib/auth0/types/action_module_list_item.rb | 9 + lib/auth0/types/action_module_reference.rb | 3 + lib/auth0/types/action_module_secret.rb | 1 + .../types/action_module_secret_request.rb | 1 + lib/auth0/types/action_module_version.rb | 6 + .../types/action_module_version_reference.rb | 5 + lib/auth0/types/action_secret_request.rb | 1 + lib/auth0/types/action_secret_response.rb | 1 + lib/auth0/types/action_trigger.rb | 6 + .../action_trigger_compatible_trigger.rb | 1 + lib/auth0/types/action_version.rb | 15 + lib/auth0/types/action_version_dependency.rb | 2 + lib/auth0/types/acul_client_filter.rb | 1 + lib/auth0/types/acul_configs_item.rb | 7 + .../types/acul_context_configuration_item.rb | 1 + lib/auth0/types/acul_domain_filter.rb | 1 + lib/auth0/types/acul_filters.rb | 3 + lib/auth0/types/acul_head_tag.rb | 2 + lib/auth0/types/acul_organization_filter.rb | 1 + ...rganization_connection_response_content.rb | 4 + ...anization_client_grant_response_content.rb | 5 + ...tection_captcha_arkose_response_content.rb | 3 + ...a_recaptcha_enterprise_response_content.rb | 1 + ...attack_protection_update_captcha_arkose.rb | 4 + ...tection_update_captcha_friendly_captcha.rb | 1 + ...tack_protection_update_captcha_hcaptcha.rb | 1 + ...ion_update_captcha_recaptcha_enterprise.rb | 2 + ..._protection_update_captcha_recaptcha_v2.rb | 1 + lib/auth0/types/bad_request_schema.rb | 14 + lib/auth0/types/bad_request_schema_error.rb | 11 + lib/auth0/types/branding_colors.rb | 1 + lib/auth0/types/branding_identifiers.rb | 14 + .../types/branding_login_display_enum.rb | 12 + lib/auth0/types/branding_page_background.rb | 8 +- lib/auth0/types/branding_phone_display.rb | 12 + .../types/branding_phone_formatting_enum.rb | 12 + .../types/branding_phone_masking_enum.rb | 13 + lib/auth0/types/branding_theme_borders.rb | 8 + lib/auth0/types/branding_theme_colors.rb | 19 + .../types/branding_theme_font_body_text.rb | 1 + .../types/branding_theme_font_buttons_text.rb | 1 + .../types/branding_theme_font_input_labels.rb | 1 + lib/auth0/types/branding_theme_font_links.rb | 1 + .../types/branding_theme_font_subtitle.rb | 1 + lib/auth0/types/branding_theme_font_title.rb | 1 + lib/auth0/types/branding_theme_fonts.rb | 8 + .../types/branding_theme_page_background.rb | 2 + lib/auth0/types/branding_theme_widget.rb | 4 + .../breached_password_detection_stage.rb | 1 + .../certificate_subject_dn_credential.rb | 3 + .../types/change_password_ticket_identity.rb | 2 + lib/auth0/types/cimd_mapped_client_fields.rb | 9 + .../cimd_mapped_private_key_jwt_credential.rb | 2 + lib/auth0/types/cimd_validation_result.rb | 2 + lib/auth0/types/client.rb | 59 ++ lib/auth0/types/client_addon_aws.rb | 2 + lib/auth0/types/client_addon_azure_blob.rb | 12 + lib/auth0/types/client_addon_azure_sb.rb | 4 + lib/auth0/types/client_addon_firebase.rb | 4 + lib/auth0/types/client_addon_layer.rb | 4 + lib/auth0/types/client_addon_office365.rb | 1 + .../types/client_addon_salesforce_api.rb | 3 + .../client_addon_salesforce_sandbox_api.rb | 3 + lib/auth0/types/client_addon_saml.rb | 15 + lib/auth0/types/client_addon_sapapi.rb | 5 + lib/auth0/types/client_addon_sentry.rb | 1 + lib/auth0/types/client_addon_share_point.rb | 1 + .../client_addon_share_point_external_url.rb | 1 + .../types/client_addon_sso_integration.rb | 1 + lib/auth0/types/client_addons.rb | 29 + .../types/client_authentication_method.rb | 2 + .../client_create_authentication_method.rb | 2 + lib/auth0/types/client_credential.rb | 9 + .../types/client_default_organization.rb | 1 + lib/auth0/types/client_encryption_key.rb | 2 + .../types/client_grant_response_content.rb | 10 + lib/auth0/types/client_jwt_configuration.rb | 3 + lib/auth0/types/client_mobile.rb | 1 + lib/auth0/types/client_mobile_android.rb | 1 + lib/auth0/types/client_mobilei_os.rb | 1 + ...ent_my_organization_patch_configuration.rb | 5 +- ...ient_my_organization_post_configuration.rb | 5 +- ..._my_organization_response_configuration.rb | 5 +- ...ient_oidc_backchannel_logout_initiators.rb | 1 + ...client_oidc_backchannel_logout_settings.rb | 2 + .../client_refresh_token_configuration.rb | 7 + .../types/client_refresh_token_policy.rb | 1 + .../client_session_transfer_configuration.rb | 7 + ...ssion_transfer_delegation_configuration.rb | 12 + ...transfer_delegation_device_binding_enum.rb | 12 + ...igned_request_object_with_credential_id.rb | 1 + ...t_signed_request_object_with_public_key.rb | 1 + lib/auth0/types/client_signing_key.rb | 2 + lib/auth0/types/connected_account.rb | 8 + ...rtion_decryption_algorithm_profile_enum.rb | 11 + ...onnection_assertion_decryption_settings.rb | 12 + .../types/connection_attribute_identifier.rb | 1 + .../types/connection_attribute_map_oidc.rb | 2 + .../types/connection_attribute_map_okta.rb | 2 + lib/auth0/types/connection_attributes.rb | 2 + .../connection_authentication_methods.rb | 3 + lib/auth0/types/connection_base_url_exact.rb | 2 +- .../types/connection_client_id_amazon.rb | 2 +- .../types/connection_client_id_azure_ad.rb | 2 +- lib/auth0/types/connection_client_id_exact.rb | 2 +- .../types/connection_client_id_facebook.rb | 2 +- .../types/connection_client_id_google_apps.rb | 2 +- .../types/connection_client_id_o_auth1.rb | 2 +- .../types/connection_client_id_o_auth2.rb | 2 +- lib/auth0/types/connection_client_id_oidc.rb | 2 +- .../types/connection_client_id_paypal.rb | 2 +- .../types/connection_client_secret_amazon.rb | 2 +- .../connection_client_secret_bitbucket.rb | 2 +- .../types/connection_client_secret_exact.rb | 2 +- .../connection_client_secret_facebook.rb | 2 +- .../connection_client_secret_google_apps.rb | 2 +- .../types/connection_client_secret_o_auth1.rb | 2 +- .../types/connection_client_secret_o_auth2.rb | 2 +- .../types/connection_client_secret_oidc.rb | 2 +- .../types/connection_client_secret_paypal.rb | 2 +- .../connection_client_secret_windows_live.rb | 2 +- lib/auth0/types/connection_common.rb | 3 + .../connection_connected_accounts_purpose.rb | 1 + ...nnection_connected_accounts_purpose_xaa.rb | 1 + lib/auth0/types/connection_custom_scripts.rb | 8 + .../types/connection_decryption_key_saml.rb | 1 + .../connection_decryption_key_saml_cert.rb | 1 + .../types/connection_dpop_signing_alg_enum.rb | 2 + lib/auth0/types/connection_email_email.rb | 3 + .../types/connection_fields_map_saml_value.rb | 1 + lib/auth0/types/connection_for_list.rb | 10 + .../types/connection_for_organization.rb | 3 + .../connection_gateway_authentication.rb | 4 + .../connection_gateway_authentication_sms.rb | 4 + ...ection_https_url_with_http_fallback2048.rb | 2 +- ...nection_https_url_with_http_fallback255.rb | 2 +- lib/auth0/types/connection_issuer.rb | 2 +- lib/auth0/types/connection_jwks_uri.rb | 2 +- lib/auth0/types/connection_key.rb | 11 + lib/auth0/types/connection_mfa.rb | 1 + lib/auth0/types/connection_op_policy_uri.rb | 2 +- lib/auth0/types/connection_op_tos_uri.rb | 2 +- lib/auth0/types/connection_options_ad.rb | 16 + lib/auth0/types/connection_options_adfs.rb | 12 + lib/auth0/types/connection_options_amazon.rb | 7 + lib/auth0/types/connection_options_apple.rb | 9 + lib/auth0/types/connection_options_auth0.rb | 21 + .../types/connection_options_auth0oidc.rb | 1 + .../types/connection_options_azure_ad.rb | 66 ++ .../types/connection_options_bitbucket.rb | 5 + .../types/connection_options_common_oidc.rb | 22 + .../types/connection_options_common_saml.rb | 16 + lib/auth0/types/connection_options_email.rb | 5 + lib/auth0/types/connection_options_exact.rb | 5 + .../types/connection_options_facebook.rb | 46 ++ lib/auth0/types/connection_options_git_hub.rb | 25 + .../types/connection_options_google_apps.rb | 24 + .../connection_options_google_o_auth2.rb | 72 ++ .../connection_options_idpinitiated_saml.rb | 3 + lib/auth0/types/connection_options_line.rb | 7 + .../types/connection_options_linkedin.rb | 12 + lib/auth0/types/connection_options_o_auth1.rb | 7 + .../types/connection_options_o_auth1common.rb | 3 + lib/auth0/types/connection_options_o_auth2.rb | 15 + .../types/connection_options_o_auth2common.rb | 4 + .../types/connection_options_office365.rb | 1 + lib/auth0/types/connection_options_oidc.rb | 2 + .../types/connection_options_oidc_metadata.rb | 36 + lib/auth0/types/connection_options_okta.rb | 2 + lib/auth0/types/connection_options_paypal.rb | 8 + .../types/connection_options_ping_federate.rb | 1 + .../types/connection_options_salesforce.rb | 6 + lib/auth0/types/connection_options_saml.rb | 14 + lib/auth0/types/connection_options_sms.rb | 13 + lib/auth0/types/connection_options_twitter.rb | 10 + .../types/connection_options_windows_live.rb | 64 ++ lib/auth0/types/connection_passkey_options.rb | 2 + ...nnection_password_authentication_method.rb | 2 + .../connection_password_dictionary_options.rb | 1 + .../connection_password_history_options.rb | 1 + .../types/connection_password_options.rb | 3 + .../connection_password_options_complexity.rb | 5 + .../connection_password_options_dictionary.rb | 2 + .../connection_password_options_history.rb | 1 + ...onnection_password_options_profile_data.rb | 1 + ...on_ping_federate_base_url_ping_federate.rb | 2 +- lib/auth0/types/connection_profile.rb | 6 + .../types/connection_profile_organization.rb | 1 + .../connection_profile_strategy_override.rb | 1 + .../connection_profile_strategy_overrides.rb | 7 + .../types/connection_profile_template.rb | 5 + .../types/connection_profile_template_item.rb | 2 + .../types/connection_properties_options.rb | 40 + lib/auth0/types/connection_purposes.rb | 1 + .../types/connection_registration_endpoint.rb | 2 +- lib/auth0/types/connection_response_common.rb | 1 + .../types/connection_response_content_ad.rb | 2 + .../types/connection_response_content_adfs.rb | 3 + .../connection_response_content_amazon.rb | 1 + .../connection_response_content_apple.rb | 1 + .../connection_response_content_auth0.rb | 1 + .../connection_response_content_auth0oidc.rb | 1 + .../connection_response_content_azure_ad.rb | 3 + .../connection_response_content_baidu.rb | 1 + .../connection_response_content_bitbucket.rb | 1 + .../connection_response_content_bitly.rb | 1 + .../types/connection_response_content_box.rb | 1 + .../connection_response_content_custom.rb | 2 + .../connection_response_content_daccount.rb | 1 + .../connection_response_content_dropbox.rb | 1 + .../connection_response_content_dwolla.rb | 1 + .../connection_response_content_email.rb | 1 + .../connection_response_content_evernote.rb | 1 + ...ction_response_content_evernote_sandbox.rb | 1 + .../connection_response_content_exact.rb | 1 + .../connection_response_content_facebook.rb | 1 + .../connection_response_content_fitbit.rb | 1 + .../connection_response_content_git_hub.rb | 1 + ...connection_response_content_google_apps.rb | 3 + ...nection_response_content_google_o_auth2.rb | 1 + .../connection_response_content_instagram.rb | 1 + .../types/connection_response_content_ip.rb | 2 + .../types/connection_response_content_line.rb | 1 + .../connection_response_content_linkedin.rb | 1 + .../connection_response_content_o_auth1.rb | 1 + .../connection_response_content_o_auth2.rb | 1 + .../connection_response_content_office365.rb | 3 + .../types/connection_response_content_oidc.rb | 4 + .../types/connection_response_content_okta.rb | 2 + .../connection_response_content_paypal.rb | 1 + ...nection_response_content_paypal_sandbox.rb | 1 + ...nnection_response_content_ping_federate.rb | 3 + ...ection_response_content_planning_center.rb | 1 + .../connection_response_content_salesforce.rb | 1 + ...n_response_content_salesforce_community.rb | 1 + ...ion_response_content_salesforce_sandbox.rb | 1 + .../types/connection_response_content_saml.rb | 3 + .../connection_response_content_sharepoint.rb | 2 + .../types/connection_response_content_shop.rb | 1 + .../connection_response_content_shopify.rb | 1 + .../types/connection_response_content_sms.rb | 1 + .../connection_response_content_soundcloud.rb | 1 + ...n_response_content_thirty_seven_signals.rb | 1 + .../connection_response_content_twitter.rb | 1 + .../connection_response_content_untappd.rb | 1 + .../connection_response_content_vkontakte.rb | 1 + .../connection_response_content_weibo.rb | 1 + ...onnection_response_content_windows_live.rb | 1 + .../connection_response_content_wordpress.rb | 1 + .../connection_response_content_yahoo.rb | 1 + .../connection_response_content_yandex.rb | 1 + lib/auth0/types/connection_scope_o_auth2.rb | 1 + lib/auth0/types/connection_scripts_o_auth2.rb | 1 + .../types/connection_service_documentation.rb | 2 +- .../types/connection_signing_key_saml.rb | 1 + .../types/connection_tenant_domain_saml.rb | 2 +- lib/auth0/types/connection_token_endpoint.rb | 2 +- ...ken_endpoint_jwtca_aud_format_enum_oidc.rb | 12 + lib/auth0/types/connection_totp_email.rb | 1 + lib/auth0/types/connection_totp_sms.rb | 1 + ...nnection_upstream_additional_properties.rb | 1 + .../types/connection_userinfo_endpoint.rb | 2 +- .../connection_username_validation_options.rb | 1 + .../create_action_module_response_content.rb | 10 + ..._action_module_version_response_content.rb | 6 + .../types/create_action_response_content.rb | 16 + ...randing_phone_provider_response_content.rb | 7 + .../create_branding_theme_response_content.rb | 6 + .../create_client_grant_response_content.rb | 10 + .../types/create_client_response_content.rb | 59 ++ lib/auth0/types/create_connection_common.rb | 4 + ...ate_connection_profile_response_content.rb | 6 + .../create_connection_request_content_ad.rb | 1 + .../create_connection_request_content_adfs.rb | 2 + ...reate_connection_request_content_amazon.rb | 1 + ...create_connection_request_content_apple.rb | 1 + ...create_connection_request_content_auth0.rb | 2 + ...te_connection_request_content_auth0oidc.rb | 1 + ...ate_connection_request_content_azure_ad.rb | 2 + ...create_connection_request_content_baidu.rb | 1 + ...te_connection_request_content_bitbucket.rb | 1 + ...create_connection_request_content_bitly.rb | 1 + .../create_connection_request_content_box.rb | 1 + ...reate_connection_request_content_custom.rb | 1 + ...ate_connection_request_content_daccount.rb | 1 + ...eate_connection_request_content_dropbox.rb | 1 + ...reate_connection_request_content_dwolla.rb | 1 + ...create_connection_request_content_email.rb | 1 + ...ate_connection_request_content_evernote.rb | 1 + ...ection_request_content_evernote_sandbox.rb | 1 + ...create_connection_request_content_exact.rb | 1 + ...ate_connection_request_content_facebook.rb | 1 + ...reate_connection_request_content_fitbit.rb | 1 + ...eate_connection_request_content_git_hub.rb | 1 + ..._connection_request_content_google_apps.rb | 2 + ...nnection_request_content_google_o_auth2.rb | 1 + ...te_connection_request_content_instagram.rb | 1 + .../create_connection_request_content_ip.rb | 2 + .../create_connection_request_content_line.rb | 1 + ...ate_connection_request_content_linkedin.rb | 1 + ...eate_connection_request_content_o_auth1.rb | 1 + ...eate_connection_request_content_o_auth2.rb | 1 + ...te_connection_request_content_office365.rb | 2 + .../create_connection_request_content_oidc.rb | 4 + .../create_connection_request_content_okta.rb | 2 + ...reate_connection_request_content_paypal.rb | 1 + ...nnection_request_content_paypal_sandbox.rb | 1 + ...onnection_request_content_ping_federate.rb | 2 + ...nection_request_content_planning_center.rb | 1 + ...e_connection_request_content_salesforce.rb | 1 + ...on_request_content_salesforce_community.rb | 1 + ...tion_request_content_salesforce_sandbox.rb | 1 + .../create_connection_request_content_saml.rb | 2 + ...e_connection_request_content_sharepoint.rb | 2 + .../create_connection_request_content_shop.rb | 1 + ...eate_connection_request_content_shopify.rb | 1 + .../create_connection_request_content_sms.rb | 1 + ...e_connection_request_content_soundcloud.rb | 1 + ...on_request_content_thirty_seven_signals.rb | 1 + ...eate_connection_request_content_twitter.rb | 1 + ...eate_connection_request_content_untappd.rb | 1 + ...te_connection_request_content_vkontakte.rb | 1 + ...create_connection_request_content_weibo.rb | 1 + ...connection_request_content_windows_live.rb | 1 + ...te_connection_request_content_wordpress.rb | 1 + ...create_connection_request_content_yahoo.rb | 1 + ...reate_connection_request_content_yandex.rb | 1 + .../create_connection_response_content.rb | 11 + .../create_custom_domain_response_content.rb | 11 + ..._directory_provisioning_request_content.rb | 2 + ...directory_provisioning_response_content.rb | 10 + ...ectory_synchronization_response_content.rb | 2 + .../create_email_provider_response_content.rb | 4 + .../create_email_template_response_content.rb | 8 + ...on_key_public_wrapping_response_content.rb | 1 + .../create_encryption_key_response_content.rb | 6 + ...ate_event_stream_action_request_content.rb | 3 + ...ent_stream_event_bridge_request_content.rb | 3 + ...vent_stream_redelivery_response_content.rb | 3 + .../create_event_stream_response_content.rb | 2 + ...vent_stream_test_event_response_content.rb | 5 + ...e_event_stream_web_hook_request_content.rb | 3 + lib/auth0/types/create_export_users_fields.rb | 1 + .../create_export_users_response_content.rb | 7 + .../types/create_flow_response_content.rb | 5 + ...e_flows_vault_connection_activecampaign.rb | 1 + ...vault_connection_activecampaign_api_key.rb | 2 + ...connection_activecampaign_uninitialized.rb | 1 + .../create_flows_vault_connection_airtable.rb | 1 + ...flows_vault_connection_airtable_api_key.rb | 2 + ...vault_connection_airtable_uninitialized.rb | 1 + .../create_flows_vault_connection_auth0.rb | 1 + ...e_flows_vault_connection_auth0oauth_app.rb | 2 + ...ows_vault_connection_auth0uninitialized.rb | 1 + .../create_flows_vault_connection_bigquery.rb | 1 + ...ate_flows_vault_connection_bigquery_jwt.rb | 2 + ...vault_connection_bigquery_uninitialized.rb | 1 + .../create_flows_vault_connection_clearbit.rb | 1 + ...flows_vault_connection_clearbit_api_key.rb | 2 + ...vault_connection_clearbit_uninitialized.rb | 1 + .../create_flows_vault_connection_docusign.rb | 1 + ...ws_vault_connection_docusign_oauth_code.rb | 2 + ...vault_connection_docusign_uninitialized.rb | 1 + ...te_flows_vault_connection_google_sheets.rb | 1 + ...ult_connection_google_sheets_oauth_code.rb | 2 + ..._connection_google_sheets_uninitialized.rb | 1 + .../create_flows_vault_connection_http.rb | 4 + ...ate_flows_vault_connection_http_api_key.rb | 2 + ..._flows_vault_connection_http_basic_auth.rb | 2 + ...eate_flows_vault_connection_http_bearer.rb | 2 + ...onnection_http_oauth_client_credentials.rb | 2 + ...ows_vault_connection_http_uninitialized.rb | 1 + .../create_flows_vault_connection_hubspot.rb | 2 + ..._flows_vault_connection_hubspot_api_key.rb | 2 + ...ows_vault_connection_hubspot_oauth_code.rb | 2 + ..._vault_connection_hubspot_uninitialized.rb | 1 + .../create_flows_vault_connection_jwt.rb | 1 + .../create_flows_vault_connection_jwt_jwt.rb | 2 + ...lows_vault_connection_jwt_uninitialized.rb | 1 + ...create_flows_vault_connection_mailchimp.rb | 2 + ...lows_vault_connection_mailchimp_api_key.rb | 2 + ...s_vault_connection_mailchimp_oauth_code.rb | 2 + ...ault_connection_mailchimp_uninitialized.rb | 1 + .../create_flows_vault_connection_mailjet.rb | 1 + ..._flows_vault_connection_mailjet_api_key.rb | 2 + ..._vault_connection_mailjet_uninitialized.rb | 1 + ...create_flows_vault_connection_pipedrive.rb | 2 + ...s_vault_connection_pipedrive_oauth_code.rb | 2 + ..._flows_vault_connection_pipedrive_token.rb | 2 + ...ault_connection_pipedrive_uninitialized.rb | 1 + ..._flows_vault_connection_request_content.rb | 20 + ...flows_vault_connection_response_content.rb | 9 + ...reate_flows_vault_connection_salesforce.rb | 1 + ..._vault_connection_salesforce_oauth_code.rb | 2 + ...ult_connection_salesforce_uninitialized.rb | 1 + .../create_flows_vault_connection_sendgrid.rb | 1 + ...flows_vault_connection_sendgrid_api_key.rb | 2 + ...vault_connection_sendgrid_uninitialized.rb | 1 + .../create_flows_vault_connection_slack.rb | 2 + ...flows_vault_connection_slack_oauth_code.rb | 2 + ...ws_vault_connection_slack_uninitialized.rb | 1 + ...te_flows_vault_connection_slack_webhook.rb | 2 + .../create_flows_vault_connection_stripe.rb | 2 + ..._flows_vault_connection_stripe_key_pair.rb | 2 + ...lows_vault_connection_stripe_oauth_code.rb | 2 + ...s_vault_connection_stripe_uninitialized.rb | 1 + .../create_flows_vault_connection_telegram.rb | 1 + ...e_flows_vault_connection_telegram_token.rb | 2 + ...vault_connection_telegram_uninitialized.rb | 1 + .../create_flows_vault_connection_twilio.rb | 1 + ...e_flows_vault_connection_twilio_api_key.rb | 2 + ...s_vault_connection_twilio_uninitialized.rb | 1 + .../create_flows_vault_connection_whatsapp.rb | 1 + ...e_flows_vault_connection_whatsapp_token.rb | 2 + ...vault_connection_whatsapp_uninitialized.rb | 1 + .../create_flows_vault_connection_zapier.rb | 1 + ...s_vault_connection_zapier_uninitialized.rb | 1 + ...e_flows_vault_connection_zapier_webhook.rb | 2 + .../types/create_form_response_content.rb | 12 + ...dian_enrollment_ticket_response_content.rb | 1 + .../types/create_hook_response_content.rb | 5 + .../create_import_users_response_content.rb | 5 + .../create_log_stream_datadog_request_body.rb | 6 + ...te_log_stream_event_bridge_request_body.rb | 6 + ...eate_log_stream_event_grid_request_body.rb | 6 + .../create_log_stream_http_request_body.rb | 6 + ...create_log_stream_mixpanel_request_body.rb | 6 + .../create_log_stream_request_content.rb | 7 + .../create_log_stream_response_content.rb | 7 + .../create_log_stream_segment_request_body.rb | 6 + .../create_log_stream_splunk_request_body.rb | 6 + .../create_log_stream_sumo_request_body.rb | 6 + ...ization_all_connection_response_content.rb | 7 + ...ation_discovery_domain_response_content.rb | 5 + ...rganization_invitation_response_content.rb | 12 + .../create_organization_response_content.rb | 6 + ...one_provider_send_test_response_content.rb | 1 + .../create_phone_template_response_content.rb | 6 + ...eate_rate_limit_policy_response_content.rb | 21 + ...create_resource_server_response_content.rb | 23 + .../types/create_role_response_content.rb | 2 + .../types/create_rule_response_content.rb | 5 + ...eate_scim_configuration_request_content.rb | 1 + ...ate_scim_configuration_response_content.rb | 7 + .../create_scim_token_response_content.rb | 4 + ...e_self_service_profile_response_content.rb | 8 + ...token_exchange_profile_response_content.rb | 6 + ...user_attribute_profile_response_content.rb | 3 + ..._authentication_method_response_content.rb | 24 + .../types/create_user_response_content.rb | 24 + ...le_credential_template_response_content.rb | 8 + ...ate_verification_email_response_content.rb | 3 + .../types/credential_device_type_enum.rb | 12 + lib/auth0/types/custom_domain.rb | 12 + lib/auth0/types/custom_signing_key_jwk.rb | 13 + lib/auth0/types/daily_stats.rb | 5 + lib/auth0/types/default_token_quota.rb | 1 + ...ete_user_identity_response_content_item.rb | 7 + .../types/deploy_action_response_content.rb | 15 + .../deploy_action_version_response_content.rb | 15 + lib/auth0/types/device_credential.rb | 5 + lib/auth0/types/directory_provisioning.rb | 10 + .../directory_provisioning_mapping_item.rb | 1 + lib/auth0/types/domain_certificate.rb | 3 + lib/auth0/types/domain_verification.rb | 3 + lib/auth0/types/domain_verification_method.rb | 2 + lib/auth0/types/email_attribute.rb | 4 + lib/auth0/types/email_provider_credentials.rb | 4 + .../email_provider_credentials_schema.rb | 7 + ...ovider_credentials_schema_access_key_id.rb | 2 + ...ail_provider_credentials_schema_api_key.rb | 2 + ...l_provider_credentials_schema_client_id.rb | 2 + ...l_provider_credentials_schema_smtp_host.rb | 3 + ...email_provider_credentials_schema_three.rb | 1 + lib/auth0/types/email_provider_name_enum.rb | 1 + lib/auth0/types/encryption_key.rb | 6 + .../types/event_stream_action_destination.rb | 1 + .../event_stream_action_response_content.rb | 6 + lib/auth0/types/event_stream_cloud_event.rb | 5 + ...event_stream_cloud_event_a0purpose_enum.rb | 11 + .../types/event_stream_cloud_event_context.rb | 20 + ...event_stream_cloud_event_context_client.rb | 14 + ...eam_cloud_event_context_client_metadata.rb | 23 + ...t_stream_cloud_event_context_connection.rb | 14 + ...vent_stream_cloud_event_context_request.rb | 20 + ..._stream_cloud_event_context_request_geo.rb | 26 + ...event_stream_cloud_event_context_tenant.rb | 10 + ...vent_stream_cloud_event_error_code_enum.rb | 16 + .../event_stream_cloud_event_error_detail.rb | 14 + .../event_stream_cloud_event_error_message.rb | 10 + ...eam_cloud_event_error_message_type_enum.rb | 11 + .../event_stream_cloud_event_group_created.rb | 12 + ...m_cloud_event_group_created_cloud_event.rb | 26 + ...ent_group_created_cloud_event_type_enum.rb | 11 + ...t_stream_cloud_event_group_created_data.rb | 12 + ...stream_cloud_event_group_created_object.rb | 16 + ...tream_cloud_event_group_created_object0.rb | 20 + ...ud_event_group_created_object0type_enum.rb | 11 + ...tream_cloud_event_group_created_object1.rb | 20 + ...ud_event_group_created_object1type_enum.rb | 11 + ...tream_cloud_event_group_created_object2.rb | 18 + ...ud_event_group_created_object2type_enum.rb | 11 + ...eam_cloud_event_group_created_type_enum.rb | 11 + .../event_stream_cloud_event_group_deleted.rb | 12 + ...m_cloud_event_group_deleted_cloud_event.rb | 26 + ...ent_group_deleted_cloud_event_type_enum.rb | 11 + ...t_stream_cloud_event_group_deleted_data.rb | 12 + ...stream_cloud_event_group_deleted_object.rb | 16 + ...tream_cloud_event_group_deleted_object0.rb | 22 + ...ud_event_group_deleted_object0type_enum.rb | 11 + ...tream_cloud_event_group_deleted_object1.rb | 22 + ...ud_event_group_deleted_object1type_enum.rb | 11 + ...tream_cloud_event_group_deleted_object2.rb | 20 + ...ud_event_group_deleted_object2type_enum.rb | 11 + ...eam_cloud_event_group_deleted_type_enum.rb | 11 + ...t_stream_cloud_event_group_member_added.rb | 12 + ...ud_event_group_member_added_cloud_event.rb | 26 + ...roup_member_added_cloud_event_type_enum.rb | 11 + ...eam_cloud_event_group_member_added_data.rb | 12 + ...m_cloud_event_group_member_added_object.rb | 12 + ...d_event_group_member_added_object_group.rb | 16 + ..._event_group_member_added_object_group0.rb | 16 + ...oup_member_added_object_group0type_enum.rb | 11 + ..._event_group_member_added_object_group1.rb | 16 + ...oup_member_added_object_group1type_enum.rb | 11 + ..._event_group_member_added_object_group2.rb | 14 + ...oup_member_added_object_group2type_enum.rb | 11 + ..._event_group_member_added_object_member.rb | 14 + ...event_group_member_added_object_member0.rb | 12 + ...er_added_object_member0member_type_enum.rb | 11 + ...event_group_member_added_object_member1.rb | 16 + ...er_added_object_member1member_type_enum.rb | 11 + ...loud_event_group_member_added_type_enum.rb | 11 + ...stream_cloud_event_group_member_deleted.rb | 12 + ..._event_group_member_deleted_cloud_event.rb | 26 + ...up_member_deleted_cloud_event_type_enum.rb | 11 + ...m_cloud_event_group_member_deleted_data.rb | 12 + ...cloud_event_group_member_deleted_object.rb | 12 + ...event_group_member_deleted_object_group.rb | 16 + ...vent_group_member_deleted_object_group0.rb | 16 + ...p_member_deleted_object_group0type_enum.rb | 11 + ...vent_group_member_deleted_object_group1.rb | 16 + ...p_member_deleted_object_group1type_enum.rb | 11 + ...vent_group_member_deleted_object_group2.rb | 14 + ...p_member_deleted_object_group2type_enum.rb | 11 + ...vent_group_member_deleted_object_member.rb | 14 + ...ent_group_member_deleted_object_member0.rb | 12 + ..._deleted_object_member0member_type_enum.rb | 11 + ...ent_group_member_deleted_object_member1.rb | 16 + ..._deleted_object_member1member_type_enum.rb | 11 + ...ud_event_group_member_deleted_type_enum.rb | 11 + ..._stream_cloud_event_group_role_assigned.rb | 12 + ...d_event_group_role_assigned_cloud_event.rb | 26 + ...oup_role_assigned_cloud_event_type_enum.rb | 11 + ...am_cloud_event_group_role_assigned_data.rb | 12 + ..._cloud_event_group_role_assigned_object.rb | 14 + ..._event_group_role_assigned_object_group.rb | 16 + ...event_group_role_assigned_object_group0.rb | 16 + ...up_role_assigned_object_group0type_enum.rb | 11 + ...event_group_role_assigned_object_group1.rb | 16 + ...up_role_assigned_object_group1type_enum.rb | 11 + ...event_group_role_assigned_object_group2.rb | 14 + ...up_role_assigned_object_group2type_enum.rb | 11 + ...d_event_group_role_assigned_object_role.rb | 12 + ...oud_event_group_role_assigned_type_enum.rb | 11 + ...t_stream_cloud_event_group_role_deleted.rb | 12 + ...ud_event_group_role_deleted_cloud_event.rb | 26 + ...roup_role_deleted_cloud_event_type_enum.rb | 11 + ...eam_cloud_event_group_role_deleted_data.rb | 12 + ...m_cloud_event_group_role_deleted_object.rb | 14 + ...d_event_group_role_deleted_object_group.rb | 16 + ..._event_group_role_deleted_object_group0.rb | 16 + ...oup_role_deleted_object_group0type_enum.rb | 11 + ..._event_group_role_deleted_object_group1.rb | 16 + ...oup_role_deleted_object_group1type_enum.rb | 11 + ..._event_group_role_deleted_object_group2.rb | 14 + ...oup_role_deleted_object_group2type_enum.rb | 11 + ...ud_event_group_role_deleted_object_role.rb | 10 + ...loud_event_group_role_deleted_type_enum.rb | 11 + .../event_stream_cloud_event_group_updated.rb | 12 + ...m_cloud_event_group_updated_cloud_event.rb | 26 + ...ent_group_updated_cloud_event_type_enum.rb | 11 + ...t_stream_cloud_event_group_updated_data.rb | 12 + ...stream_cloud_event_group_updated_object.rb | 16 + ...tream_cloud_event_group_updated_object0.rb | 22 + ...ud_event_group_updated_object0type_enum.rb | 11 + ...tream_cloud_event_group_updated_object1.rb | 22 + ...ud_event_group_updated_object1type_enum.rb | 11 + ...tream_cloud_event_group_updated_object2.rb | 20 + ...ud_event_group_updated_object2type_enum.rb | 11 + ...eam_cloud_event_group_updated_type_enum.rb | 11 + ..._stream_cloud_event_offset_only_message.rb | 10 + ...oud_event_offset_only_message_type_enum.rb | 11 + ...stream_cloud_event_org_connection_added.rb | 12 + ..._event_org_connection_added_cloud_event.rb | 26 + ..._connection_added_cloud_event_type_enum.rb | 11 + ...m_cloud_event_org_connection_added_data.rb | 12 + ...cloud_event_org_connection_added_object.rb | 18 + ..._org_connection_added_object_connection.rb | 9 + ...rg_connection_added_object_organization.rb | 12 + ...ud_event_org_connection_added_type_enum.rb | 11 + ...ream_cloud_event_org_connection_removed.rb | 12 + ...vent_org_connection_removed_cloud_event.rb | 26 + ...onnection_removed_cloud_event_type_enum.rb | 11 + ...cloud_event_org_connection_removed_data.rb | 12 + ...oud_event_org_connection_removed_object.rb | 12 + ...rg_connection_removed_object_connection.rb | 9 + ..._connection_removed_object_organization.rb | 12 + ..._event_org_connection_removed_type_enum.rb | 11 + ...ream_cloud_event_org_connection_updated.rb | 12 + ...vent_org_connection_updated_cloud_event.rb | 26 + ...onnection_updated_cloud_event_type_enum.rb | 11 + ...cloud_event_org_connection_updated_data.rb | 12 + ...oud_event_org_connection_updated_object.rb | 18 + ...rg_connection_updated_object_connection.rb | 9 + ..._connection_updated_object_organization.rb | 12 + ..._event_org_connection_updated_type_enum.rb | 11 + .../event_stream_cloud_event_org_created.rb | 12 + ...eam_cloud_event_org_created_cloud_event.rb | 26 + ...event_org_created_cloud_event_type_enum.rb | 11 + ...ent_stream_cloud_event_org_created_data.rb | 12 + ...t_stream_cloud_event_org_created_object.rb | 18 + ...cloud_event_org_created_object_branding.rb | 12 + ...vent_org_created_object_branding_colors.rb | 12 + ...cloud_event_org_created_object_metadata.rb | 23 + ...tream_cloud_event_org_created_type_enum.rb | 11 + .../event_stream_cloud_event_org_deleted.rb | 12 + ...eam_cloud_event_org_deleted_cloud_event.rb | 26 + ...event_org_deleted_cloud_event_type_enum.rb | 11 + ...ent_stream_cloud_event_org_deleted_data.rb | 12 + ...t_stream_cloud_event_org_deleted_object.rb | 16 + ...cloud_event_org_deleted_object_metadata.rb | 23 + ...tream_cloud_event_org_deleted_type_enum.rb | 11 + ...eam_cloud_event_org_group_role_assigned.rb | 12 + ...ent_org_group_role_assigned_cloud_event.rb | 26 + ...oup_role_assigned_cloud_event_type_enum.rb | 11 + ...loud_event_org_group_role_assigned_data.rb | 12 + ...ud_event_org_group_role_assigned_object.rb | 16 + ...nt_org_group_role_assigned_object_group.rb | 16 + ...t_org_group_role_assigned_object_group0.rb | 16 + ...up_role_assigned_object_group0type_enum.rb | 11 + ...t_org_group_role_assigned_object_group1.rb | 16 + ...up_role_assigned_object_group1type_enum.rb | 11 + ...t_org_group_role_assigned_object_group2.rb | 14 + ...up_role_assigned_object_group2type_enum.rb | 11 + ...group_role_assigned_object_organization.rb | 10 + ...ent_org_group_role_assigned_object_role.rb | 12 + ...event_org_group_role_assigned_type_enum.rb | 11 + ...ream_cloud_event_org_group_role_deleted.rb | 12 + ...vent_org_group_role_deleted_cloud_event.rb | 26 + ...roup_role_deleted_cloud_event_type_enum.rb | 11 + ...cloud_event_org_group_role_deleted_data.rb | 12 + ...oud_event_org_group_role_deleted_object.rb | 16 + ...ent_org_group_role_deleted_object_group.rb | 16 + ...nt_org_group_role_deleted_object_group0.rb | 16 + ...oup_role_deleted_object_group0type_enum.rb | 11 + ...nt_org_group_role_deleted_object_group1.rb | 16 + ...oup_role_deleted_object_group1type_enum.rb | 11 + ...nt_org_group_role_deleted_object_group2.rb | 14 + ...oup_role_deleted_object_group2type_enum.rb | 11 + ..._group_role_deleted_object_organization.rb | 10 + ...vent_org_group_role_deleted_object_role.rb | 10 + ..._event_org_group_role_deleted_type_enum.rb | 11 + ...ent_stream_cloud_event_org_member_added.rb | 12 + ...loud_event_org_member_added_cloud_event.rb | 26 + ..._org_member_added_cloud_event_type_enum.rb | 11 + ...tream_cloud_event_org_member_added_data.rb | 12 + ...eam_cloud_event_org_member_added_object.rb | 12 + ...nt_org_member_added_object_organization.rb | 12 + ...loud_event_org_member_added_object_user.rb | 10 + ..._cloud_event_org_member_added_type_enum.rb | 11 + ...t_stream_cloud_event_org_member_deleted.rb | 12 + ...ud_event_org_member_deleted_cloud_event.rb | 26 + ...rg_member_deleted_cloud_event_type_enum.rb | 11 + ...eam_cloud_event_org_member_deleted_data.rb | 12 + ...m_cloud_event_org_member_deleted_object.rb | 12 + ..._org_member_deleted_object_organization.rb | 12 + ...ud_event_org_member_deleted_object_user.rb | 10 + ...loud_event_org_member_deleted_type_enum.rb | 11 + ...am_cloud_event_org_member_role_assigned.rb | 12 + ...nt_org_member_role_assigned_cloud_event.rb | 26 + ...ber_role_assigned_cloud_event_type_enum.rb | 11 + ...oud_event_org_member_role_assigned_data.rb | 12 + ...d_event_org_member_role_assigned_object.rb | 14 + ...ember_role_assigned_object_organization.rb | 10 + ...nt_org_member_role_assigned_object_role.rb | 12 + ...nt_org_member_role_assigned_object_user.rb | 10 + ...vent_org_member_role_assigned_type_enum.rb | 11 + ...eam_cloud_event_org_member_role_deleted.rb | 12 + ...ent_org_member_role_deleted_cloud_event.rb | 26 + ...mber_role_deleted_cloud_event_type_enum.rb | 11 + ...loud_event_org_member_role_deleted_data.rb | 12 + ...ud_event_org_member_role_deleted_object.rb | 14 + ...member_role_deleted_object_organization.rb | 10 + ...ent_org_member_role_deleted_object_role.rb | 12 + ...ent_org_member_role_deleted_object_user.rb | 10 + ...event_org_member_role_deleted_type_enum.rb | 11 + .../event_stream_cloud_event_org_updated.rb | 12 + ...eam_cloud_event_org_updated_cloud_event.rb | 26 + ...event_org_updated_cloud_event_type_enum.rb | 11 + ...ent_stream_cloud_event_org_updated_data.rb | 12 + ...t_stream_cloud_event_org_updated_object.rb | 18 + ...cloud_event_org_updated_object_branding.rb | 12 + ...vent_org_updated_object_branding_colors.rb | 12 + ...cloud_event_org_updated_object_metadata.rb | 23 + ...tream_cloud_event_org_updated_type_enum.rb | 11 + .../event_stream_cloud_event_user_created.rb | 12 + ...am_cloud_event_user_created_cloud_event.rb | 26 + ...vent_user_created_cloud_event_type_enum.rb | 11 + ...nt_stream_cloud_event_user_created_data.rb | 12 + ..._stream_cloud_event_user_created_object.rb | 50 ++ ..._event_user_created_object_app_metadata.rb | 23 + ...ent_user_created_object_identities_item.rb | 20 + ...r_created_object_identities_item_custom.rb | 18 + ...t_identities_item_custom_is_social_enum.rb | 23 + ...ect_identities_item_custom_profile_data.rb | 24 + ...ct_identities_item_custom_provider_enum.rb | 11 + ...d_object_identities_item_custom_user_id.rb | 14 + ...created_object_identities_item_database.rb | 18 + ...identities_item_database_is_social_enum.rb | 23 + ...t_identities_item_database_profile_data.rb | 24 + ..._identities_item_database_provider_enum.rb | 11 + ...object_identities_item_database_user_id.rb | 14 + ...eated_object_identities_item_enterprise.rb | 18 + ...entities_item_enterprise_is_social_enum.rb | 23 + ...identities_item_enterprise_profile_data.rb | 24 + ...dentities_item_enterprise_provider_enum.rb | 21 + ...ject_identities_item_enterprise_user_id.rb | 14 + ...ted_object_identities_item_passwordless.rb | 18 + ...tities_item_passwordless_is_social_enum.rb | 23 + ...entities_item_passwordless_profile_data.rb | 24 + ...ntities_item_passwordless_provider_enum.rb | 12 + ...ct_identities_item_passwordless_user_id.rb | 14 + ...r_created_object_identities_item_social.rb | 18 + ...t_identities_item_social_is_social_enum.rb | 23 + ...ect_identities_item_social_profile_data.rb | 24 + ...ct_identities_item_social_provider_enum.rb | 49 ++ ...d_object_identities_item_social_user_id.rb | 14 + ...event_user_created_object_user_metadata.rb | 23 + ...ream_cloud_event_user_created_type_enum.rb | 11 + .../event_stream_cloud_event_user_deleted.rb | 12 + ...am_cloud_event_user_deleted_cloud_event.rb | 26 + ...vent_user_deleted_cloud_event_type_enum.rb | 11 + ...nt_stream_cloud_event_user_deleted_data.rb | 12 + ..._stream_cloud_event_user_deleted_object.rb | 52 ++ ..._event_user_deleted_object_app_metadata.rb | 23 + ...ent_user_deleted_object_identities_item.rb | 20 + ...r_deleted_object_identities_item_custom.rb | 18 + ...t_identities_item_custom_is_social_enum.rb | 23 + ...ect_identities_item_custom_profile_data.rb | 24 + ...ct_identities_item_custom_provider_enum.rb | 11 + ...d_object_identities_item_custom_user_id.rb | 14 + ...deleted_object_identities_item_database.rb | 18 + ...identities_item_database_is_social_enum.rb | 23 + ...t_identities_item_database_profile_data.rb | 24 + ..._identities_item_database_provider_enum.rb | 11 + ...object_identities_item_database_user_id.rb | 14 + ...leted_object_identities_item_enterprise.rb | 18 + ...entities_item_enterprise_is_social_enum.rb | 23 + ...identities_item_enterprise_profile_data.rb | 24 + ...dentities_item_enterprise_provider_enum.rb | 21 + ...ject_identities_item_enterprise_user_id.rb | 14 + ...ted_object_identities_item_passwordless.rb | 18 + ...tities_item_passwordless_is_social_enum.rb | 23 + ...entities_item_passwordless_profile_data.rb | 24 + ...ntities_item_passwordless_provider_enum.rb | 12 + ...ct_identities_item_passwordless_user_id.rb | 14 + ...r_deleted_object_identities_item_social.rb | 18 + ...t_identities_item_social_is_social_enum.rb | 23 + ...ect_identities_item_social_profile_data.rb | 24 + ...ct_identities_item_social_provider_enum.rb | 49 ++ ...d_object_identities_item_social_user_id.rb | 14 + ...event_user_deleted_object_user_metadata.rb | 23 + ...ream_cloud_event_user_deleted_type_enum.rb | 11 + .../event_stream_cloud_event_user_updated.rb | 12 + ...am_cloud_event_user_updated_cloud_event.rb | 26 + ...vent_user_updated_cloud_event_type_enum.rb | 11 + ...nt_stream_cloud_event_user_updated_data.rb | 12 + ..._stream_cloud_event_user_updated_object.rb | 50 ++ ..._event_user_updated_object_app_metadata.rb | 23 + ...ent_user_updated_object_identities_item.rb | 20 + ...r_updated_object_identities_item_custom.rb | 18 + ...t_identities_item_custom_is_social_enum.rb | 23 + ...ect_identities_item_custom_profile_data.rb | 24 + ...ct_identities_item_custom_provider_enum.rb | 11 + ...d_object_identities_item_custom_user_id.rb | 14 + ...updated_object_identities_item_database.rb | 18 + ...identities_item_database_is_social_enum.rb | 23 + ...t_identities_item_database_profile_data.rb | 24 + ..._identities_item_database_provider_enum.rb | 11 + ...object_identities_item_database_user_id.rb | 14 + ...dated_object_identities_item_enterprise.rb | 18 + ...entities_item_enterprise_is_social_enum.rb | 23 + ...identities_item_enterprise_profile_data.rb | 24 + ...dentities_item_enterprise_provider_enum.rb | 21 + ...ject_identities_item_enterprise_user_id.rb | 14 + ...ted_object_identities_item_passwordless.rb | 18 + ...tities_item_passwordless_is_social_enum.rb | 23 + ...entities_item_passwordless_profile_data.rb | 24 + ...ntities_item_passwordless_provider_enum.rb | 12 + ...ct_identities_item_passwordless_user_id.rb | 14 + ...r_updated_object_identities_item_social.rb | 18 + ...t_identities_item_social_is_social_enum.rb | 23 + ...ect_identities_item_social_profile_data.rb | 24 + ...ct_identities_item_social_provider_enum.rb | 49 ++ ...d_object_identities_item_social_user_id.rb | 14 + ...event_user_updated_object_user_metadata.rb | 23 + ...ream_cloud_event_user_updated_type_enum.rb | 11 + lib/auth0/types/event_stream_delivery.rb | 5 + .../types/event_stream_delivery_attempt.rb | 2 + .../types/event_stream_destination_patch.rb | 1 + ...event_stream_event_bridge_configuration.rb | 2 + .../event_stream_event_bridge_destination.rb | 1 + ...nt_stream_event_bridge_response_content.rb | 6 + .../types/event_stream_response_content.rb | 2 + ...stream_subscribe_events_event_type_enum.rb | 32 + ...tream_subscribe_events_event_type_param.rb | 23 + ...tream_subscribe_events_response_content.rb | 62 ++ ...t_stream_webhook_authorization_response.rb | 2 + .../types/event_stream_webhook_basic_auth.rb | 1 + .../event_stream_webhook_configuration.rb | 1 + ...event_stream_webhook_custom_header_auth.rb | 1 + .../types/event_stream_webhook_destination.rb | 1 + .../event_stream_webhook_response_content.rb | 6 + lib/auth0/types/express_configuration.rb | 8 + .../types/express_configuration_or_null.rb | 8 + lib/auth0/types/fed_cm_login.rb | 10 + lib/auth0/types/fed_cm_login_google.rb | 10 + .../types/federated_connection_token_set.rb | 5 + lib/auth0/types/flow_action.rb | 24 + lib/auth0/types/flow_action_activecampaign.rb | 1 + ...low_action_activecampaign_list_contacts.rb | 6 + ...ion_activecampaign_list_contacts_params.rb | 1 + ...ow_action_activecampaign_upsert_contact.rb | 6 + ...on_activecampaign_upsert_contact_params.rb | 5 + lib/auth0/types/flow_action_airtable.rb | 2 + .../flow_action_airtable_create_record.rb | 6 + ...ow_action_airtable_create_record_params.rb | 3 + .../flow_action_airtable_list_records.rb | 6 + ...low_action_airtable_list_records_params.rb | 4 + .../flow_action_airtable_update_record.rb | 6 + ...ow_action_airtable_update_record_params.rb | 4 + lib/auth0/types/flow_action_auth0.rb | 6 + .../types/flow_action_auth0create_user.rb | 6 + .../flow_action_auth0create_user_params.rb | 1 + lib/auth0/types/flow_action_auth0get_user.rb | 6 + .../types/flow_action_auth0get_user_params.rb | 1 + lib/auth0/types/flow_action_auth0make_call.rb | 6 + .../flow_action_auth0make_call_params.rb | 3 + .../types/flow_action_auth0send_email.rb | 6 + .../flow_action_auth0send_email_params.rb | 4 + ...flow_action_auth0send_email_params_from.rb | 1 + .../types/flow_action_auth0send_request.rb | 6 + .../flow_action_auth0send_request_params.rb | 5 + ...action_auth0send_request_params_payload.rb | 2 + ...0send_request_params_query_params_value.rb | 1 + lib/auth0/types/flow_action_auth0send_sms.rb | 6 + .../types/flow_action_auth0send_sms_params.rb | 3 + .../types/flow_action_auth0update_user.rb | 6 + .../flow_action_auth0update_user_params.rb | 2 + .../types/flow_action_bigquery_insert_rows.rb | 6 + ...flow_action_bigquery_insert_rows_params.rb | 3 + lib/auth0/types/flow_action_clearbit.rb | 1 + .../flow_action_clearbit_find_company.rb | 6 + ...low_action_clearbit_find_company_params.rb | 1 + .../types/flow_action_clearbit_find_person.rb | 6 + ...flow_action_clearbit_find_person_params.rb | 1 + .../types/flow_action_email_verify_email.rb | 6 + .../flow_action_email_verify_email_params.rb | 1 + ..._action_email_verify_email_params_rules.rb | 5 + lib/auth0/types/flow_action_flow.rb | 6 + .../flow_action_flow_boolean_condition.rb | 6 + ...ow_action_flow_boolean_condition_params.rb | 1 + .../types/flow_action_flow_delay_flow.rb | 6 + .../flow_action_flow_delay_flow_params.rb | 1 + ...ow_action_flow_delay_flow_params_number.rb | 1 + .../types/flow_action_flow_do_nothing.rb | 6 + .../types/flow_action_flow_error_message.rb | 6 + lib/auth0/types/flow_action_flow_map_value.rb | 6 + .../flow_action_flow_map_value_params.rb | 2 + ...w_action_flow_map_value_params_fallback.rb | 3 + ...flow_action_flow_map_value_params_input.rb | 1 + .../types/flow_action_flow_return_json.rb | 6 + ..._action_flow_return_json_params_payload.rb | 1 + .../types/flow_action_flow_store_vars.rb | 6 + .../flow_action_google_sheets_add_row.rb | 6 + ...low_action_google_sheets_add_row_params.rb | 3 + ...n_google_sheets_add_row_params_sheet_id.rb | 1 + .../types/flow_action_http_send_request.rb | 6 + .../flow_action_http_send_request_params.rb | 7 + ...ion_http_send_request_params_basic_auth.rb | 1 + ...action_http_send_request_params_payload.rb | 2 + ..._send_request_params_query_params_value.rb | 1 + lib/auth0/types/flow_action_hubspot.rb | 2 + .../flow_action_hubspot_enroll_contact.rb | 6 + ...ow_action_hubspot_enroll_contact_params.rb | 2 + ...bspot_enroll_contact_params_workflow_id.rb | 1 + .../types/flow_action_hubspot_get_contact.rb | 6 + .../flow_action_hubspot_get_contact_params.rb | 1 + .../flow_action_hubspot_upsert_contact.rb | 6 + ...ow_action_hubspot_upsert_contact_params.rb | 2 + lib/auth0/types/flow_action_json.rb | 2 + .../types/flow_action_json_create_json.rb | 6 + .../types/flow_action_json_parse_json.rb | 6 + .../types/flow_action_json_serialize_json.rb | 6 + ...ction_json_serialize_json_params_object.rb | 1 + lib/auth0/types/flow_action_jwt.rb | 2 + lib/auth0/types/flow_action_jwt_decode_jwt.rb | 6 + lib/auth0/types/flow_action_jwt_sign_jwt.rb | 6 + .../types/flow_action_jwt_sign_jwt_params.rb | 5 + lib/auth0/types/flow_action_jwt_verify_jwt.rb | 6 + .../flow_action_jwt_verify_jwt_params.rb | 3 + .../flow_action_mailchimp_upsert_member.rb | 6 + ...w_action_mailchimp_upsert_member_params.rb | 2 + ...n_mailchimp_upsert_member_params_member.rb | 2 + .../types/flow_action_mailjet_send_email.rb | 6 + .../flow_action_mailjet_send_email_params.rb | 1 + ...n_mailjet_send_email_params_template_id.rb | 1 + lib/auth0/types/flow_action_otp.rb | 1 + .../types/flow_action_otp_generate_code.rb | 6 + .../flow_action_otp_generate_code_params.rb | 1 + .../types/flow_action_otp_verify_code.rb | 6 + .../flow_action_otp_verify_code_params.rb | 1 + ...flow_action_otp_verify_code_params_code.rb | 1 + lib/auth0/types/flow_action_pipedrive.rb | 2 + .../types/flow_action_pipedrive_add_deal.rb | 6 + .../flow_action_pipedrive_add_deal_params.rb | 7 + ...pedrive_add_deal_params_organization_id.rb | 1 + ...ion_pipedrive_add_deal_params_person_id.rb | 1 + ...tion_pipedrive_add_deal_params_stage_id.rb | 1 + ...ction_pipedrive_add_deal_params_user_id.rb | 1 + .../flow_action_pipedrive_add_organization.rb | 6 + ...ction_pipedrive_add_organization_params.rb | 3 + ...edrive_add_organization_params_owner_id.rb | 1 + .../types/flow_action_pipedrive_add_person.rb | 6 + ...flow_action_pipedrive_add_person_params.rb | 6 + ...drive_add_person_params_organization_id.rb | 1 + ...on_pipedrive_add_person_params_owner_id.rb | 1 + lib/auth0/types/flow_action_salesforce.rb | 3 + .../flow_action_salesforce_create_lead.rb | 6 + ...ow_action_salesforce_create_lead_params.rb | 6 + .../types/flow_action_salesforce_get_lead.rb | 6 + .../flow_action_salesforce_get_lead_params.rb | 1 + .../flow_action_salesforce_search_leads.rb | 6 + ...w_action_salesforce_search_leads_params.rb | 3 + .../flow_action_salesforce_update_lead.rb | 6 + ...ow_action_salesforce_update_lead_params.rb | 2 + .../types/flow_action_sendgrid_send_email.rb | 6 + .../flow_action_sendgrid_send_email_params.rb | 2 + ...ction_sendgrid_send_email_params_person.rb | 1 + .../types/flow_action_slack_post_message.rb | 6 + .../flow_action_slack_post_message_params.rb | 2 + ...on_slack_post_message_params_attachment.rb | 3 + ...ck_post_message_params_attachment_field.rb | 2 + lib/auth0/types/flow_action_stripe.rb | 6 + .../types/flow_action_stripe_add_tax_id.rb | 6 + .../flow_action_stripe_add_tax_id_params.rb | 3 + lib/auth0/types/flow_action_stripe_address.rb | 5 + .../flow_action_stripe_create_customer.rb | 6 + ...ow_action_stripe_create_customer_params.rb | 8 + ...low_action_stripe_create_portal_session.rb | 6 + ...ion_stripe_create_portal_session_params.rb | 2 + .../types/flow_action_stripe_delete_tax_id.rb | 6 + ...flow_action_stripe_delete_tax_id_params.rb | 2 + .../flow_action_stripe_find_customers.rb | 6 + ...low_action_stripe_find_customers_params.rb | 1 + .../types/flow_action_stripe_get_customer.rb | 6 + .../flow_action_stripe_get_customer_params.rb | 1 + lib/auth0/types/flow_action_stripe_tax_id.rb | 1 + .../flow_action_stripe_update_customer.rb | 6 + ...ow_action_stripe_update_customer_params.rb | 8 + .../flow_action_telegram_send_message.rb | 6 + ...low_action_telegram_send_message_params.rb | 2 + lib/auth0/types/flow_action_twilio.rb | 1 + .../types/flow_action_twilio_make_call.rb | 6 + .../flow_action_twilio_make_call_params.rb | 3 + .../types/flow_action_twilio_send_sms.rb | 6 + .../flow_action_twilio_send_sms_params.rb | 3 + .../flow_action_whatsapp_send_message.rb | 6 + ...low_action_whatsapp_send_message_params.rb | 4 + ...on_whatsapp_send_message_params_payload.rb | 1 + lib/auth0/types/flow_action_xml.rb | 1 + lib/auth0/types/flow_action_xml_parse_xml.rb | 6 + .../types/flow_action_xml_serialize_xml.rb | 6 + ..._action_xml_serialize_xml_params_object.rb | 1 + .../flow_action_zapier_trigger_webhook.rb | 6 + ...ow_action_zapier_trigger_webhook_params.rb | 1 + lib/auth0/types/flow_execution_summary.rb | 7 + lib/auth0/types/flow_summary.rb | 4 + .../flows_vault_connectio_setup_api_key.rb | 1 + ...t_connectio_setup_api_key_with_base_url.rb | 2 + ...ault_connectio_setup_bigquery_oauth_jwt.rb | 3 + ...flows_vault_connectio_setup_http_bearer.rb | 1 + .../types/flows_vault_connectio_setup_jwt.rb | 1 + ...s_vault_connectio_setup_mailjet_api_key.rb | 2 + .../flows_vault_connectio_setup_oauth_app.rb | 4 + .../flows_vault_connectio_setup_oauth_code.rb | 1 + ...ws_vault_connectio_setup_secret_api_key.rb | 1 + ...s_vault_connectio_setup_stripe_key_pair.rb | 2 + .../flows_vault_connectio_setup_token.rb | 1 + ...ws_vault_connectio_setup_twilio_api_key.rb | 2 + .../flows_vault_connectio_setup_webhook.rb | 1 + ...ows_vault_connection_http_api_key_setup.rb | 3 + ..._vault_connection_http_basic_auth_setup.rb | 2 + ...ion_http_oauth_client_credentials_setup.rb | 6 + .../types/flows_vault_connection_summary.rb | 8 + lib/auth0/types/forbidden_schema.rb | 14 + lib/auth0/types/forbidden_schema_error.rb | 11 + lib/auth0/types/form_block.rb | 7 + lib/auth0/types/form_block_divider.rb | 3 + lib/auth0/types/form_block_html.rb | 3 + lib/auth0/types/form_block_image.rb | 3 + lib/auth0/types/form_block_image_config.rb | 2 + lib/auth0/types/form_block_jump_button.rb | 3 + .../types/form_block_jump_button_config.rb | 2 + lib/auth0/types/form_block_next_button.rb | 3 + lib/auth0/types/form_block_previous_button.rb | 3 + lib/auth0/types/form_block_resend_button.rb | 3 + .../types/form_block_resend_button_config.rb | 6 + lib/auth0/types/form_block_rich_text.rb | 3 + lib/auth0/types/form_component.rb | 2 + lib/auth0/types/form_ending_node.rb | 3 + .../types/form_ending_node_redirection.rb | 1 + lib/auth0/types/form_field.rb | 15 + lib/auth0/types/form_field_boolean.rb | 7 + lib/auth0/types/form_field_boolean_config.rb | 1 + .../form_field_boolean_config_options.rb | 1 + lib/auth0/types/form_field_cards.rb | 7 + lib/auth0/types/form_field_cards_config.rb | 2 + .../types/form_field_cards_config_option.rb | 2 + lib/auth0/types/form_field_choice.rb | 7 + lib/auth0/types/form_field_choice_config.rb | 2 + .../form_field_choice_config_allow_other.rb | 2 + .../types/form_field_choice_config_option.rb | 1 + lib/auth0/types/form_field_custom.rb | 7 + lib/auth0/types/form_field_custom_config.rb | 3 + lib/auth0/types/form_field_date.rb | 7 + lib/auth0/types/form_field_date_config.rb | 1 + lib/auth0/types/form_field_dropdown.rb | 7 + lib/auth0/types/form_field_dropdown_config.rb | 2 + .../form_field_dropdown_config_option.rb | 1 + lib/auth0/types/form_field_email.rb | 7 + lib/auth0/types/form_field_email_config.rb | 1 + lib/auth0/types/form_field_file.rb | 7 + lib/auth0/types/form_field_file_config.rb | 5 + lib/auth0/types/form_field_legal.rb | 7 + lib/auth0/types/form_field_number.rb | 7 + lib/auth0/types/form_field_number_config.rb | 3 + lib/auth0/types/form_field_password.rb | 7 + lib/auth0/types/form_field_password_config.rb | 6 + lib/auth0/types/form_field_payment.rb | 7 + lib/auth0/types/form_field_payment_config.rb | 4 + .../types/form_field_payment_config_charge.rb | 1 + ...orm_field_payment_config_charge_one_off.rb | 1 + ...d_payment_config_charge_one_off_one_off.rb | 1 + ...nt_config_charge_one_off_one_off_amount.rb | 1 + ...ield_payment_config_charge_subscription.rb | 1 + .../form_field_payment_config_credentials.rb | 1 + ...m_field_payment_config_field_properties.rb | 1 + .../types/form_field_payment_config_fields.rb | 3 + lib/auth0/types/form_field_social.rb | 7 + lib/auth0/types/form_field_tel.rb | 7 + lib/auth0/types/form_field_tel_config.rb | 5 + lib/auth0/types/form_field_text.rb | 7 + lib/auth0/types/form_field_text_config.rb | 4 + lib/auth0/types/form_field_url.rb | 7 + lib/auth0/types/form_field_url_config.rb | 1 + lib/auth0/types/form_flow.rb | 4 + lib/auth0/types/form_flow_config.rb | 1 + lib/auth0/types/form_hidden_field.rb | 1 + lib/auth0/types/form_languages.rb | 1 + lib/auth0/types/form_messages.rb | 1 + lib/auth0/types/form_node.rb | 2 + lib/auth0/types/form_node_coordinates.rb | 1 + lib/auth0/types/form_node_pointer.rb | 1 + lib/auth0/types/form_router.rb | 4 + lib/auth0/types/form_router_config.rb | 1 + lib/auth0/types/form_router_rule.rb | 2 + lib/auth0/types/form_start_node.rb | 2 + lib/auth0/types/form_step.rb | 4 + lib/auth0/types/form_step_config.rb | 1 + lib/auth0/types/form_summary.rb | 5 + lib/auth0/types/form_widget.rb | 2 + ...form_widget_auth0verifiable_credentials.rb | 7 + ...dget_auth0verifiable_credentials_config.rb | 5 + lib/auth0/types/form_widget_g_maps_address.rb | 7 + lib/auth0/types/form_widget_recaptcha.rb | 7 + .../types/form_widget_recaptcha_config.rb | 1 + .../get_action_execution_response_content.rb | 5 + ..._action_module_actions_response_content.rb | 3 + .../get_action_module_response_content.rb | 10 + ..._action_module_version_response_content.rb | 6 + ...action_module_versions_response_content.rb | 3 + .../get_action_modules_response_content.rb | 3 + .../types/get_action_response_content.rb | 16 + .../get_action_version_response_content.rb | 15 + lib/auth0/types/get_acul_response_content.rb | 8 + ...ack_protection_captcha_response_content.rb | 7 + ...bot_detection_settings_response_content.rb | 5 + ...branding_default_theme_response_content.rb | 6 + ...randing_phone_provider_response_content.rb | 7 + .../types/get_branding_response_content.rb | 5 + .../get_branding_theme_response_content.rb | 6 + ...ord_detection_settings_response_content.rb | 4 + ...t_brute_force_settings_response_content.rb | 4 + .../get_client_credential_response_content.rb | 9 + .../get_client_grant_response_content.rb | 10 + .../types/get_client_response_content.rb | 59 ++ ...ection_enabled_clients_response_content.rb | 1 + ...get_connection_profile_response_content.rb | 6 + ...ction_profile_template_response_content.rb | 2 + .../types/get_connection_response_content.rb | 11 + .../get_custom_domain_response_content.rb | 12 + ..._default_custom_domain_response_content.rb | 12 + .../get_default_domain_response_content.rb | 1 + ...directory_provisioning_response_content.rb | 10 + .../get_email_provider_response_content.rb | 4 + .../get_email_template_response_content.rb | 8 + .../get_encryption_key_response_content.rb | 6 + ...tream_delivery_history_response_content.rb | 5 + .../get_event_stream_response_content.rb | 2 + .../get_flow_execution_response_content.rb | 8 + lib/auth0/types/get_flow_response_content.rb | 5 + ...flows_vault_connection_response_content.rb | 9 + lib/auth0/types/get_form_response_content.rb | 12 + .../get_group_members_response_content.rb | 1 + lib/auth0/types/get_group_response_content.rb | 6 + ...et_guardian_enrollment_response_content.rb | 6 + ...an_factor_duo_settings_response_content.rb | 2 + ...factor_phone_templates_response_content.rb | 1 + ...n_factor_sms_templates_response_content.rb | 1 + ..._factors_provider_apns_response_content.rb | 2 + ..._provider_phone_twilio_response_content.rb | 3 + ...rs_provider_sms_twilio_response_content.rb | 3 + ...n_factors_provider_sns_response_content.rb | 4 + lib/auth0/types/get_hook_response_content.rb | 5 + .../types/get_job_error_response_content.rb | 1 + .../get_job_generic_error_response_content.rb | 5 + lib/auth0/types/get_job_import_user_error.rb | 2 + lib/auth0/types/get_job_response_content.rb | 10 + lib/auth0/types/get_job_summary.rb | 3 + lib/auth0/types/get_log_response_content.rb | 20 + .../types/get_log_stream_response_content.rb | 7 + .../get_network_acls_response_content.rb | 6 + ...ization_all_connection_response_content.rb | 7 + ...t_organization_by_name_response_content.rb | 5 + ...rganization_connection_response_content.rb | 4 + ...scovery_domain_by_name_response_content.rb | 5 + ...ation_discovery_domain_response_content.rb | 5 + ...rganization_invitation_response_content.rb | 12 + .../get_organization_response_content.rb | 5 + .../get_phone_template_response_content.rb | 6 + .../get_rate_limit_policy_response_content.rb | 21 + .../get_refresh_token_response_content.rb | 11 + ...fresh_tokens_paginated_response_content.rb | 1 + .../get_resource_server_response_content.rb | 23 + lib/auth0/types/get_role_response_content.rb | 2 + lib/auth0/types/get_rule_response_content.rb | 5 + ...get_scim_configuration_response_content.rb | 7 + ...t_self_service_profile_response_content.rb | 8 + .../types/get_session_response_content.rb | 12 + .../types/get_settings_response_content.rb | 2 + .../get_signing_keys_response_content.rb | 11 + ...ip_throttling_settings_response_content.rb | 3 + .../get_tenant_settings_response_content.rb | 36 + ...token_exchange_profile_response_content.rb | 6 + ...iversal_login_template_response_content.rb | 1 + ...user_attribute_profile_response_content.rb | 3 + ...ibute_profile_template_response_content.rb | 2 + ..._authentication_method_response_content.rb | 23 + ..._user_groups_paginated_response_content.rb | 4 + lib/auth0/types/get_user_response_content.rb | 24 + ...le_credential_template_response_content.rb | 8 + lib/auth0/types/group.rb | 6 + lib/auth0/types/group_member.rb | 4 + lib/auth0/types/guardian_factor.rb | 2 + lib/auth0/types/hook.rb | 5 + lib/auth0/types/http_custom_header.rb | 1 + lib/auth0/types/identity.rb | 2 + .../import_encryption_key_response_content.rb | 6 + lib/auth0/types/integration.rb | 14 + lib/auth0/types/integration_release.rb | 4 + lib/auth0/types/integration_required_param.rb | 8 + .../integration_required_param_option.rb | 1 + lib/auth0/types/integration_sem_ver.rb | 1 + ...ion_bindings_paginated_response_content.rb | 3 + ...ion_versions_paginated_response_content.rb | 3 + ...list_actions_paginated_response_content.rb | 3 + ...aculs_offset_paginated_response_content.rb | 3 + .../types/list_aculs_response_content_item.rb | 8 + ...ist_client_connections_response_content.rb | 1 + ...rganizations_paginated_response_content.rb | 1 + ...client_grant_paginated_response_content.rb | 1 + ...ients_offset_paginated_response_content.rb | 3 + ...ion_profiles_paginated_response_content.rb | 1 + ...s_checkpoint_paginated_response_content.rb | 1 + ...tials_offset_paginated_response_content.rb | 3 + ...irectory_provisionings_response_content.rb | 1 + ...n_key_offset_paginated_response_content.rb | 3 + .../list_event_streams_response_content.rb | 1 + ...w_executions_paginated_response_content.rb | 1 + ...flows_offset_paginated_response_content.rb | 3 + ...tions_offset_paginated_response_content.rb | 3 + ...forms_offset_paginated_response_content.rb | 3 + .../list_groups_paginated_response_content.rb | 4 + ...hooks_offset_paginated_response_content.rb | 3 + ...t_log_offset_paginated_response_content.rb | 4 + ..._acls_offset_paginated_response_content.rb | 3 + ...tions_offset_paginated_response_content.rb | 3 + ...rants_offset_paginated_response_content.rb | 3 + ...tions_offset_paginated_response_content.rb | 3 + ...tion_discovery_domains_response_content.rb | 1 + ...tions_offset_paginated_response_content.rb | 2 + ...roles_offset_paginated_response_content.rb | 3 + ...tion_members_paginated_response_content.rb | 1 + ...rganizations_paginated_response_content.rb | 1 + ...mit_policies_paginated_response_content.rb | 11 + ...fresh_tokens_paginated_response_content.rb | 1 + ...erver_offset_paginated_response_content.rb | 3 + ...sions_offset_paginated_response_content.rb | 3 + ...t_role_users_paginated_response_content.rb | 1 + ...roles_offset_paginated_response_content.rb | 3 + ...rules_offset_paginated_response_content.rb | 3 + ...st_scim_configurations_response_content.rb | 1 + ...ice_profiles_paginated_response_content.rb | 3 + ...st_synchronized_groups_response_content.rb | 1 + ...token_exchange_profile_response_content.rb | 1 + ...ute_profiles_paginated_response_content.rb | 1 + ...thods_offset_paginated_response_content.rb | 3 + ...ser_connected_accounts_response_content.rb | 1 + ...rants_offset_paginated_response_content.rb | 3 + ...tions_offset_paginated_response_content.rb | 3 + ...sions_offset_paginated_response_content.rb | 3 + ...roles_offset_paginated_response_content.rb | 3 + ...ser_sessions_paginated_response_content.rb | 1 + ...users_offset_paginated_response_content.rb | 4 + ...al_templates_paginated_response_content.rb | 1 + lib/auth0/types/log.rb | 20 + lib/auth0/types/log_date.rb | 1 + lib/auth0/types/log_location_info.rb | 7 + lib/auth0/types/log_security_context.rb | 1 + .../log_stream_datadog_response_schema.rb | 7 + lib/auth0/types/log_stream_datadog_sink.rb | 1 + ...log_stream_event_bridge_response_schema.rb | 7 + .../types/log_stream_event_bridge_sink.rb | 2 + .../log_stream_event_grid_response_schema.rb | 7 + lib/auth0/types/log_stream_event_grid_sink.rb | 3 + lib/auth0/types/log_stream_filter.rb | 1 + .../types/log_stream_http_response_schema.rb | 7 + lib/auth0/types/log_stream_http_sink.rb | 4 + .../log_stream_mixpanel_response_schema.rb | 7 + lib/auth0/types/log_stream_mixpanel_sink.rb | 3 + .../types/log_stream_mixpanel_sink_patch.rb | 3 + lib/auth0/types/log_stream_pii_config.rb | 2 + lib/auth0/types/log_stream_response_schema.rb | 7 + .../log_stream_segment_response_schema.rb | 7 + lib/auth0/types/log_stream_sink_patch.rb | 5 + .../log_stream_splunk_response_schema.rb | 7 + lib/auth0/types/log_stream_splunk_sink.rb | 3 + .../types/log_stream_sumo_response_schema.rb | 7 + .../types/mdl_presentation_properties.rb | 20 + lib/auth0/types/native_social_login.rb | 2 + lib/auth0/types/network_acl_action.rb | 4 + lib/auth0/types/network_acl_match.rb | 10 + lib/auth0/types/network_acl_rule.rb | 3 + .../types/network_acls_response_content.rb | 6 + lib/auth0/types/oauth_scope.rb | 5 + lib/auth0/types/organization.rb | 5 + .../types/organization_all_connection_post.rb | 7 + lib/auth0/types/organization_branding.rb | 1 + .../types/organization_branding_colors.rb | 1 + lib/auth0/types/organization_client_grant.rb | 5 + lib/auth0/types/organization_connection.rb | 4 + .../organization_connection_information.rb | 1 + .../types/organization_discovery_domain.rb | 5 + .../types/organization_enabled_connection.rb | 4 + lib/auth0/types/organization_invitation.rb | 12 + lib/auth0/types/organization_member.rb | 4 + lib/auth0/types/organization_member_role.rb | 1 + .../types/partial_phone_template_content.rb | 1 + ...atch_client_credential_response_content.rb | 9 + ...it_policy_configuration_request_content.rb | 15 + ...cy_configuration_request_content_action.rb | 13 + ...iguration_request_content_action_action.rb | 11 + ...olicy_configuration_request_content_one.rb | 11 + ...onfiguration_request_content_one_action.rb | 12 + ...licy_configuration_request_content_zero.rb | 9 + ...nfiguration_request_content_zero_action.rb | 11 + lib/auth0/types/permission_request_payload.rb | 1 + .../types/permissions_response_payload.rb | 3 + lib/auth0/types/phone_attribute.rb | 2 + .../types/phone_provider_configuration.rb | 1 + lib/auth0/types/phone_provider_credentials.rb | 1 + .../types/phone_provider_schema_masked.rb | 7 + lib/auth0/types/phone_template.rb | 6 + lib/auth0/types/phone_template_body.rb | 1 + lib/auth0/types/phone_template_content.rb | 2 + ...post_client_credential_response_content.rb | 9 + ..._connections_keys_response_content_item.rb | 10 + .../preview_cimd_metadata_response_content.rb | 3 + lib/auth0/types/public_key_credential.rb | 6 + lib/auth0/types/rate_limit_policy.rb | 21 + .../types/rate_limit_policy_configuration.rb | 16 + .../rate_limit_policy_configuration_action.rb | 13 + ...imit_policy_configuration_action_action.rb | 11 + .../rate_limit_policy_configuration_one.rb | 11 + ...e_limit_policy_configuration_one_action.rb | 12 + .../rate_limit_policy_configuration_zero.rb | 9 + ..._limit_policy_configuration_zero_action.rb | 11 + .../types/rate_limit_policy_consumer_enum.rb | 11 + .../types/rate_limit_policy_resource_enum.rb | 11 + lib/auth0/types/refresh_token_date.rb | 1 + lib/auth0/types/refresh_token_device.rb | 5 + .../types/refresh_token_resource_server.rb | 1 + .../types/refresh_token_response_content.rb | 11 + .../register_cimd_client_response_content.rb | 2 + .../reset_phone_template_response_content.rb | 6 + lib/auth0/types/resource_server.rb | 23 + .../resource_server_authorization_policy.rb | 10 + .../resource_server_proof_of_possession.rb | 2 + lib/auth0/types/resource_server_scope.rb | 1 + ...ource_server_subject_type_authorization.rb | 1 + .../types/resource_server_token_encryption.rb | 1 + .../resource_server_token_encryption_key.rb | 3 + .../revoked_signing_keys_response_content.rb | 1 + lib/auth0/types/role.rb | 2 + lib/auth0/types/role_user.rb | 3 + ...rollback_action_module_response_content.rb | 10 + .../rotate_client_secret_response_content.rb | 59 ++ ...otate_connections_keys_response_content.rb | 8 + .../rotate_signing_keys_response_content.rb | 1 + lib/auth0/types/rule.rb | 5 + lib/auth0/types/scim_configuration.rb | 7 + lib/auth0/types/scim_mapping_item.rb | 1 + lib/auth0/types/scim_token_item.rb | 4 + lib/auth0/types/self_service_profile.rb | 8 + ...elf_service_profile_branding_properties.rb | 1 + ...ce_profile_sso_ticket_connection_config.rb | 8 +- ...e_profile_sso_ticket_connection_options.rb | 2 + ...rofile_sso_ticket_domain_aliases_config.rb | 3 +- ...ice_profile_sso_ticket_enabled_features.rb | 2 + ...profile_sso_ticket_enabled_organization.rb | 2 + ...rofile_sso_ticket_idp_initiated_options.rb | 3 + ..._profile_sso_ticket_provisioning_config.rb | 2 + .../self_service_profile_user_attribute.rb | 2 + .../types/session_authentication_signal.rb | 2 + lib/auth0/types/session_date.rb | 1 + lib/auth0/types/session_device_metadata.rb | 5 + lib/auth0/types/session_response_content.rb | 12 + .../set_email_template_response_content.rb | 8 + ...an_factor_duo_settings_response_content.rb | 2 + ...factor_phone_templates_response_content.rb | 1 + ...n_factor_sms_templates_response_content.rb | 1 + ..._provider_phone_twilio_response_content.rb | 3 + ...push_notification_apns_response_content.rb | 1 + ..._push_notification_sns_response_content.rb | 4 + ...rs_provider_sms_twilio_response_content.rb | 3 + .../set_network_acls_response_content.rb | 6 + .../set_rules_config_response_content.rb | 1 + ..._authentication_method_response_content.rb | 12 + .../types/set_user_authentication_methods.rb | 5 + lib/auth0/types/signing_keys.rb | 11 + lib/auth0/types/signing_keys_date.rb | 1 + lib/auth0/types/signup_verified.rb | 1 + ...uspicious_ip_throttling_pre_login_stage.rb | 1 + ..._throttling_pre_user_registration_stage.rb | 1 + .../types/suspicious_ip_throttling_stage.rb | 1 + .../types/tenant_settings_device_flow.rb | 1 + lib/auth0/types/tenant_settings_error_page.rb | 2 + lib/auth0/types/tenant_settings_flags.rb | 28 + .../types/tenant_settings_guardian_page.rb | 1 + .../types/tenant_settings_password_page.rb | 1 + .../test_custom_domain_response_content.rb | 1 + ...token_exchange_profile_response_content.rb | 6 + .../types/token_quota_client_credentials.rb | 2 + lib/auth0/types/too_many_requests_schema.rb | 14 + .../types/too_many_requests_schema_error.rb | 11 + .../types/twilio_provider_configuration.rb | 3 + lib/auth0/types/unauthorized_schema.rb | 14 + lib/auth0/types/unauthorized_schema_error.rb | 11 + .../update_action_module_response_content.rb | 10 + .../types/update_action_response_content.rb | 16 + .../types/update_acul_response_content.rb | 5 + ...ack_protection_captcha_response_content.rb | 7 + ...bot_detection_settings_response_content.rb | 5 + lib/auth0/types/update_branding_colors.rb | 1 + .../types/update_branding_identifiers.rb | 14 + .../update_branding_login_display_enum.rb | 12 + .../types/update_branding_page_background.rb | 8 +- .../types/update_branding_phone_display.rb | 12 + .../update_branding_phone_formatting_enum.rb | 12 + .../update_branding_phone_masking_enum.rb | 13 + ...randing_phone_provider_response_content.rb | 7 + .../types/update_branding_response_content.rb | 5 + .../update_branding_theme_response_content.rb | 6 + ...ord_detection_settings_response_content.rb | 4 + ...e_brute_force_settings_response_content.rb | 4 + .../update_client_grant_response_content.rb | 10 + .../types/update_client_response_content.rb | 59 ++ lib/auth0/types/update_connection_options.rb | 40 + ...ate_connection_profile_response_content.rb | 6 + .../update_connection_request_content_adfs.rb | 1 + ...update_connection_request_content_auth0.rb | 1 + ...ate_connection_request_content_azure_ad.rb | 1 + ..._connection_request_content_google_apps.rb | 1 + .../update_connection_request_content_ip.rb | 1 + ...te_connection_request_content_office365.rb | 1 + .../update_connection_request_content_oidc.rb | 3 + .../update_connection_request_content_okta.rb | 1 + ...onnection_request_content_ping_federate.rb | 1 + .../update_connection_request_content_saml.rb | 1 + ...e_connection_request_content_sharepoint.rb | 1 + .../update_connection_response_content.rb | 11 + .../update_custom_domain_response_content.rb | 11 + ..._default_custom_domain_response_content.rb | 12 + .../update_default_domain_response_content.rb | 1 + ..._directory_provisioning_request_content.rb | 2 + ...directory_provisioning_response_content.rb | 10 + .../update_email_provider_response_content.rb | 4 + .../update_email_template_response_content.rb | 8 + ...client_connections_request_content_item.rb | 1 + .../update_event_stream_response_content.rb | 2 + .../types/update_flow_response_content.rb | 5 + ...flows_vault_connection_response_content.rb | 9 + .../update_flows_vault_connection_setup.rb | 15 + .../types/update_form_response_content.rb | 12 + ...an_factor_duo_settings_response_content.rb | 2 + ...push_notification_apns_response_content.rb | 1 + ..._push_notification_sns_response_content.rb | 4 + .../types/update_hook_response_content.rb | 5 + .../update_log_stream_response_content.rb | 7 + .../update_network_acl_response_content.rb | 6 + ...ization_all_connection_response_content.rb | 7 + ...rganization_connection_response_content.rb | 4 + ...ation_discovery_domain_response_content.rb | 5 + .../update_organization_response_content.rb | 5 + .../update_phone_template_response_content.rb | 6 + ...date_rate_limit_policy_response_content.rb | 21 + .../update_refresh_token_response_content.rb | 11 + ...update_resource_server_response_content.rb | 23 + .../types/update_role_response_content.rb | 2 + .../types/update_rule_response_content.rb | 5 + ...ate_scim_configuration_response_content.rb | 7 + ...e_self_service_profile_response_content.rb | 8 + .../types/update_session_response_content.rb | 12 + .../types/update_settings_response_content.rb | 2 + ...ip_throttling_settings_response_content.rb | 3 + ...update_tenant_settings_response_content.rb | 36 + ...niversal_login_template_request_content.rb | 1 + ...user_attribute_profile_response_content.rb | 3 + ..._authentication_method_response_content.rb | 14 + .../types/update_user_response_content.rb | 24 + ...le_credential_template_response_content.rb | 8 + lib/auth0/types/user_attribute_profile.rb | 3 + .../user_attribute_profile_oidc_mapping.rb | 1 + ...er_attribute_profile_strategy_overrides.rb | 7 + ...bute_profile_strategy_overrides_mapping.rb | 2 + ...bute_profile_strategy_overrides_user_id.rb | 7 + ...file_strategy_overrides_user_id_mapping.rb | 2 + .../types/user_attribute_profile_template.rb | 2 + .../user_attribute_profile_template_item.rb | 2 + ...le_user_attribute_additional_properties.rb | 7 + .../types/user_attribute_profile_user_id.rb | 3 + lib/auth0/types/user_authentication_method.rb | 23 + .../user_authentication_method_properties.rb | 1 + lib/auth0/types/user_block_identifier.rb | 2 + lib/auth0/types/user_date_schema.rb | 1 + lib/auth0/types/user_grant.rb | 4 + lib/auth0/types/user_id.rb | 1 + lib/auth0/types/user_identity.rb | 7 + lib/auth0/types/user_identity_schema.rb | 7 + ...t_log_offset_paginated_response_content.rb | 4 + lib/auth0/types/user_permission_schema.rb | 3 + lib/auth0/types/user_profile_data.rb | 7 + lib/auth0/types/user_response_schema.rb | 24 + lib/auth0/types/username_allowed_types.rb | 1 + lib/auth0/types/username_attribute.rb | 3 + lib/auth0/types/username_validation.rb | 2 + lib/auth0/types/users_enrollment.rb | 8 + ...verifiable_credential_template_response.rb | 8 + .../verify_custom_domain_response_content.rb | 11 + lib/auth0/types/x509certificate_credential.rb | 2 + lib/auth0/user_attribute_profiles/client.rb | 14 +- ..._user_attribute_profile_request_content.rb | 2 + ...er_attribute_profile_request_parameters.rb | 1 + ..._user_attribute_profile_request_content.rb | 3 + lib/auth0/user_blocks/client.rb | 6 - ...blocks_by_identifier_request_parameters.rb | 1 + .../list_user_blocks_request_parameters.rb | 1 + lib/auth0/user_grants/client.rb | 9 +- .../list_user_grants_request_parameters.rb | 5 + .../users/authentication_methods/client.rb | 9 +- ...r_authentication_method_request_content.rb | 23 + ...thentication_methods_request_parameters.rb | 3 + ...r_authentication_method_request_content.rb | 3 + lib/auth0/users/client.rb | 15 +- lib/auth0/users/connected_accounts/client.rb | 5 +- ...r_connected_accounts_request_parameters.rb | 2 + lib/auth0/users/groups/client.rb | 5 +- .../get_user_groups_request_parameters.rb | 4 + lib/auth0/users/identities/client.rb | 2 +- .../link_user_identity_request_content.rb | 4 + lib/auth0/users/logs/client.rb | 7 +- .../list_user_logs_request_parameters.rb | 4 + lib/auth0/users/organizations/client.rb | 7 +- ...t_user_organizations_request_parameters.rb | 3 + lib/auth0/users/permissions/client.rb | 11 +- ...create_user_permissions_request_content.rb | 1 + ...delete_user_permissions_request_content.rb | 1 + ...ist_user_permissions_request_parameters.rb | 3 + lib/auth0/users/refresh_token/client.rb | 5 +- .../list_refresh_tokens_request_parameters.rb | 2 + lib/auth0/users/risk_assessments/client.rb | 2 +- .../types/clear_assessors_request_content.rb | 2 + lib/auth0/users/roles/client.rb | 11 +- .../assign_user_roles_request_content.rb | 1 + .../delete_user_roles_request_content.rb | 1 + .../list_user_roles_request_parameters.rb | 3 + lib/auth0/users/sessions/client.rb | 5 +- .../list_user_sessions_request_parameters.rb | 2 + .../types/create_user_request_content.rb | 16 + .../types/get_user_request_parameters.rb | 2 + .../list_users_by_email_request_parameters.rb | 2 + .../types/list_users_request_parameters.rb | 9 + .../revoke_user_access_request_content.rb | 2 + .../types/update_user_request_content.rb | 18 + .../verification/templates/client.rb | 9 +- ...ble_credential_template_request_content.rb | 5 + ...credential_templates_request_parameters.rb | 1 + ...ble_credential_template_request_content.rb | 6 + 1802 files changed, 13790 insertions(+), 903 deletions(-) create mode 100644 .fern/metadata.json create mode 100644 CONTRIBUTING.md create mode 100644 lib/auth0/events/client.rb create mode 100644 lib/auth0/events/types/subscribe_events_request_parameters.rb create mode 100644 lib/auth0/rate_limit_policies/client.rb create mode 100644 lib/auth0/rate_limit_policies/types/create_rate_limit_policy_request_content.rb create mode 100644 lib/auth0/rate_limit_policies/types/list_rate_limit_policies_request_parameters.rb create mode 100644 lib/auth0/rate_limit_policies/types/patch_rate_limit_policy_request_content.rb create mode 100644 lib/auth0/refresh_tokens/types/revoke_refresh_tokens_request_content.rb create mode 100644 lib/auth0/types/bad_request_schema.rb create mode 100644 lib/auth0/types/bad_request_schema_error.rb create mode 100644 lib/auth0/types/branding_identifiers.rb create mode 100644 lib/auth0/types/branding_login_display_enum.rb create mode 100644 lib/auth0/types/branding_phone_display.rb create mode 100644 lib/auth0/types/branding_phone_formatting_enum.rb create mode 100644 lib/auth0/types/branding_phone_masking_enum.rb create mode 100644 lib/auth0/types/client_session_transfer_delegation_configuration.rb create mode 100644 lib/auth0/types/client_session_transfer_delegation_device_binding_enum.rb create mode 100644 lib/auth0/types/connection_assertion_decryption_algorithm_profile_enum.rb create mode 100644 lib/auth0/types/connection_assertion_decryption_settings.rb create mode 100644 lib/auth0/types/connection_token_endpoint_jwtca_aud_format_enum_oidc.rb create mode 100644 lib/auth0/types/create_rate_limit_policy_response_content.rb create mode 100644 lib/auth0/types/credential_device_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_a0purpose_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_context.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_context_client.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_context_client_metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_context_connection.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_context_request.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_context_request_geo.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_context_tenant.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_error_code_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_error_detail.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_error_message.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_error_message_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_created.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_created_cloud_event.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_created_cloud_event_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_created_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_created_object.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_created_object0.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_created_object0type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_created_object1.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_created_object1type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_created_object2.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_created_object2type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_created_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_deleted.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_deleted_cloud_event.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_deleted_cloud_event_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_deleted_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_deleted_object.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_deleted_object0.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_deleted_object0type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_deleted_object1.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_deleted_object1type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_deleted_object2.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_deleted_object2type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_deleted_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_added.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_added_cloud_event.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_added_cloud_event_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_added_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_added_object.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_added_object_group.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_added_object_group0.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_added_object_group0type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_added_object_group1.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_added_object_group1type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_added_object_group2.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_added_object_group2type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_added_object_member.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_added_object_member0.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_added_object_member0member_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_added_object_member1.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_added_object_member1member_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_added_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_deleted.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_deleted_cloud_event.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_deleted_cloud_event_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_deleted_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_deleted_object.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group0.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group0type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group1.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group1type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group2.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group2type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_member.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_member0.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_member0member_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_member1.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_member1member_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_member_deleted_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_role_assigned.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_role_assigned_cloud_event.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_role_assigned_cloud_event_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_role_assigned_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_role_assigned_object.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group0.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group0type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group1.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group1type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group2.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group2type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_role.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_role_assigned_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_role_deleted.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_role_deleted_cloud_event.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_role_deleted_cloud_event_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_role_deleted_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_role_deleted_object.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group0.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group0type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group1.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group1type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group2.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group2type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_role.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_role_deleted_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_updated.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_updated_cloud_event.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_updated_cloud_event_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_updated_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_updated_object.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_updated_object0.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_updated_object0type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_updated_object1.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_updated_object1type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_updated_object2.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_updated_object2type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_group_updated_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_offset_only_message.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_offset_only_message_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_connection_added.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_connection_added_cloud_event.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_connection_added_cloud_event_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_connection_added_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_connection_added_object.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_connection_added_object_connection.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_connection_added_object_organization.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_connection_added_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_connection_removed.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_connection_removed_cloud_event.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_connection_removed_cloud_event_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_connection_removed_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_connection_removed_object.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_connection_removed_object_connection.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_connection_removed_object_organization.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_connection_removed_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_connection_updated.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_connection_updated_cloud_event.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_connection_updated_cloud_event_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_connection_updated_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_connection_updated_object.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_connection_updated_object_connection.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_connection_updated_object_organization.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_connection_updated_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_created.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_created_cloud_event.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_created_cloud_event_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_created_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_created_object.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_created_object_branding.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_created_object_branding_colors.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_created_object_metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_created_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_deleted.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_deleted_cloud_event.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_deleted_cloud_event_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_deleted_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_deleted_object.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_deleted_object_metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_deleted_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_assigned.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_cloud_event.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_cloud_event_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group0.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group0type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group1.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group1type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group2.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group2type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_organization.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_role.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_deleted.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_cloud_event.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_cloud_event_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group0.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group0type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group1.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group1type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group2.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group2type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_organization.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_role.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_added.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_added_cloud_event.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_added_cloud_event_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_added_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_added_object.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_added_object_organization.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_added_object_user.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_added_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_deleted.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_deleted_cloud_event.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_deleted_cloud_event_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_deleted_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_deleted_object.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_deleted_object_organization.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_deleted_object_user.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_deleted_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_role_assigned.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_cloud_event.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_cloud_event_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_object.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_object_organization.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_object_role.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_object_user.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_role_deleted.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_cloud_event.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_cloud_event_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_object.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_object_organization.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_object_role.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_object_user.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_updated.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_updated_cloud_event.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_updated_cloud_event_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_updated_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_updated_object.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_updated_object_branding.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_updated_object_branding_colors.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_updated_object_metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_org_updated_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_cloud_event.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_cloud_event_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object_app_metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_custom.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_custom_is_social_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_custom_profile_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_custom_provider_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_custom_user_id.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_database.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_database_is_social_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_database_profile_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_database_provider_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_database_user_id.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_enterprise.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_enterprise_is_social_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_enterprise_profile_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_enterprise_provider_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_enterprise_user_id.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_passwordless.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_passwordless_is_social_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_passwordless_profile_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_passwordless_provider_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_passwordless_user_id.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_social.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_social_is_social_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_social_profile_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_social_provider_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_social_user_id.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_object_user_metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_created_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_cloud_event.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_cloud_event_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object_app_metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_custom.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_custom_is_social_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_custom_profile_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_custom_provider_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_custom_user_id.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_database.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_database_is_social_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_database_profile_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_database_provider_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_database_user_id.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_enterprise.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_enterprise_is_social_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_enterprise_profile_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_enterprise_provider_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_enterprise_user_id.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_passwordless.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_passwordless_is_social_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_passwordless_profile_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_passwordless_provider_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_passwordless_user_id.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_social.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_social_is_social_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_social_profile_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_social_provider_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_social_user_id.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_object_user_metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_deleted_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_cloud_event.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_cloud_event_type_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object_app_metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_custom.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_custom_is_social_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_custom_profile_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_custom_provider_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_custom_user_id.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_database.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_database_is_social_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_database_profile_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_database_provider_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_database_user_id.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_enterprise.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_enterprise_is_social_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_enterprise_profile_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_enterprise_provider_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_enterprise_user_id.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_passwordless.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_passwordless_is_social_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_passwordless_profile_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_passwordless_provider_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_passwordless_user_id.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_social.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_social_is_social_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_social_profile_data.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_social_provider_enum.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_social_user_id.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_object_user_metadata.rb create mode 100644 lib/auth0/types/event_stream_cloud_event_user_updated_type_enum.rb create mode 100644 lib/auth0/types/event_stream_subscribe_events_event_type_enum.rb create mode 100644 lib/auth0/types/event_stream_subscribe_events_event_type_param.rb create mode 100644 lib/auth0/types/event_stream_subscribe_events_response_content.rb create mode 100644 lib/auth0/types/fed_cm_login.rb create mode 100644 lib/auth0/types/fed_cm_login_google.rb create mode 100644 lib/auth0/types/forbidden_schema.rb create mode 100644 lib/auth0/types/forbidden_schema_error.rb create mode 100644 lib/auth0/types/get_rate_limit_policy_response_content.rb create mode 100644 lib/auth0/types/list_rate_limit_policies_paginated_response_content.rb create mode 100644 lib/auth0/types/patch_rate_limit_policy_configuration_request_content.rb create mode 100644 lib/auth0/types/patch_rate_limit_policy_configuration_request_content_action.rb create mode 100644 lib/auth0/types/patch_rate_limit_policy_configuration_request_content_action_action.rb create mode 100644 lib/auth0/types/patch_rate_limit_policy_configuration_request_content_one.rb create mode 100644 lib/auth0/types/patch_rate_limit_policy_configuration_request_content_one_action.rb create mode 100644 lib/auth0/types/patch_rate_limit_policy_configuration_request_content_zero.rb create mode 100644 lib/auth0/types/patch_rate_limit_policy_configuration_request_content_zero_action.rb create mode 100644 lib/auth0/types/rate_limit_policy.rb create mode 100644 lib/auth0/types/rate_limit_policy_configuration.rb create mode 100644 lib/auth0/types/rate_limit_policy_configuration_action.rb create mode 100644 lib/auth0/types/rate_limit_policy_configuration_action_action.rb create mode 100644 lib/auth0/types/rate_limit_policy_configuration_one.rb create mode 100644 lib/auth0/types/rate_limit_policy_configuration_one_action.rb create mode 100644 lib/auth0/types/rate_limit_policy_configuration_zero.rb create mode 100644 lib/auth0/types/rate_limit_policy_configuration_zero_action.rb create mode 100644 lib/auth0/types/rate_limit_policy_consumer_enum.rb create mode 100644 lib/auth0/types/rate_limit_policy_resource_enum.rb create mode 100644 lib/auth0/types/resource_server_authorization_policy.rb create mode 100644 lib/auth0/types/too_many_requests_schema.rb create mode 100644 lib/auth0/types/too_many_requests_schema_error.rb create mode 100644 lib/auth0/types/unauthorized_schema.rb create mode 100644 lib/auth0/types/unauthorized_schema_error.rb create mode 100644 lib/auth0/types/update_branding_identifiers.rb create mode 100644 lib/auth0/types/update_branding_login_display_enum.rb create mode 100644 lib/auth0/types/update_branding_phone_display.rb create mode 100644 lib/auth0/types/update_branding_phone_formatting_enum.rb create mode 100644 lib/auth0/types/update_branding_phone_masking_enum.rb create mode 100644 lib/auth0/types/update_rate_limit_policy_response_content.rb diff --git a/.fern/metadata.json b/.fern/metadata.json new file mode 100644 index 00000000..f1401254 --- /dev/null +++ b/.fern/metadata.json @@ -0,0 +1,18 @@ +{ + "cliVersion": "5.32.1", + "generatorName": "fernapi/fern-ruby-sdk", + "generatorVersion": "1.12.11", + "generatorConfig": { + "clientModuleName": "Management", + "package-name": "auth0", + "useProvidedDefaults": true, + "enableWireTests": true, + "offsetSemantics": "page-index", + "useDefaultRequestParameterValues": true + }, + "originGitCommit": "219914accde9916f411f553a3e3eb35a8478eaaf", + "originGitCommitIsDirty": true, + "invokedBy": "manual", + "requestedVersion": "6.0.0", + "sdkVersion": "6.0.0" +} \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..95c10ea9 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,120 @@ +# Contributing + +Thanks for your interest in contributing to this SDK! This document provides guidelines for contributing to the project. + +## Getting Started + +### Prerequisites + +- Ruby 3.0+ +- Bundler + +### Installation + +Install the project dependencies: + +```bash +bundle install +``` + +### Building + +Build the gem: + +```bash +gem build *.gemspec +``` + +### Testing + +Run the test suite: + +```bash +bundle exec rspec +``` + +### Linting and Formatting + +Check code style: + +```bash +bundle exec rubocop +``` + +Fix code style issues: + +```bash +bundle exec rubocop -a +``` + +## About Generated Code + +**Important**: Most files in this SDK are automatically generated by [Fern](https://buildwithfern.com) from the API definition. Direct modifications to generated files will be overwritten the next time the SDK is generated. + +### Generated Files + +The following directories contain generated code: +- `lib/` - API client classes and types +- Most Ruby files in the project + +### How to Customize + +If you need to customize the SDK, you have two options: + +#### Option 1: Use `.fernignore` + +For custom code that should persist across SDK regenerations: + +1. Create a `.fernignore` file in the project root +2. Add file patterns for files you want to preserve (similar to `.gitignore` syntax) +3. Add your custom code to those files + +Files listed in `.fernignore` will not be overwritten when the SDK is regenerated. + +For more information, see the [Fern documentation on custom code](https://buildwithfern.com/learn/sdks/overview/custom-code). + +#### Option 2: Contribute to the Generator + +If you want to change how code is generated for all users of this SDK: + +1. The Ruby SDK generator lives in the [Fern repository](https://github.com/fern-api/fern) +2. Generator code is located at `generators/ruby-v2/` +3. Follow the [Fern contributing guidelines](https://github.com/fern-api/fern/blob/main/CONTRIBUTING.md) +4. Submit a pull request with your changes to the generator + +This approach is best for: +- Bug fixes in generated code +- New features that would benefit all users +- Improvements to code generation patterns + +## Making Changes + +### Workflow + +1. Create a new branch for your changes +2. Make your modifications +3. Run tests to ensure nothing breaks: `bundle exec rspec` +4. Run linting: `bundle exec rubocop` +5. Build the gem: `gem build *.gemspec` +6. Commit your changes with a clear commit message +7. Push your branch and create a pull request + +### Commit Messages + +Write clear, descriptive commit messages that explain what changed and why. + +### Code Style + +This project uses RuboCop for code formatting. Run `bundle exec rubocop` before committing to ensure your code meets the project's style guidelines. + +## Questions or Issues? + +If you have questions or run into issues: + +1. Check the [Fern documentation](https://buildwithfern.com) +2. Search existing [GitHub issues](https://github.com/fern-api/fern/issues) +3. Open a new issue if your question hasn't been addressed + +## License + +By contributing to this project, you agree that your contributions will be licensed under the same license as the project. diff --git a/lib/auth0.rb b/lib/auth0.rb index 56391204..d05e7b10 100644 --- a/lib/auth0.rb +++ b/lib/auth0.rb @@ -149,6 +149,8 @@ require_relative "auth0/types/attack_protection_update_captcha_recaptcha_v2" require_relative "auth0/types/authentication_method_type_enum" require_relative "auth0/types/authentication_type_enum" +require_relative "auth0/types/bad_request_schema_error" +require_relative "auth0/types/bad_request_schema" require_relative "auth0/types/bot_detection_ip_address_or_cidr_block" require_relative "auth0/types/bot_detection_allowlist" require_relative "auth0/types/bot_detection_challenge_policy_password_flow_enum" @@ -163,6 +165,11 @@ require_relative "auth0/types/branding_page_background" require_relative "auth0/types/branding_colors" require_relative "auth0/types/branding_font" +require_relative "auth0/types/branding_login_display_enum" +require_relative "auth0/types/branding_phone_formatting_enum" +require_relative "auth0/types/branding_phone_masking_enum" +require_relative "auth0/types/branding_phone_display" +require_relative "auth0/types/branding_identifiers" require_relative "auth0/types/branding_theme_borders_buttons_style_enum" require_relative "auth0/types/branding_theme_borders_inputs_style_enum" require_relative "auth0/types/branding_theme_borders" @@ -276,6 +283,8 @@ require_relative "auth0/types/refresh_token_rotation_type_enum" require_relative "auth0/types/client_refresh_token_configuration" require_relative "auth0/types/client_session_transfer_allowed_authentication_methods_enum" +require_relative "auth0/types/client_session_transfer_delegation_device_binding_enum" +require_relative "auth0/types/client_session_transfer_delegation_configuration" require_relative "auth0/types/client_session_transfer_device_binding_enum" require_relative "auth0/types/client_session_transfer_configuration" require_relative "auth0/types/client_signed_request_object_with_credential_id" @@ -321,7 +330,6 @@ require_relative "auth0/types/client_token_exchange_configuration_or_null" require_relative "auth0/types/connected_account_access_type_enum" require_relative "auth0/types/connected_account" -require_relative "auth0/types/connection_https_url_with_http_fallback" require_relative "auth0/types/connection_https_url_with_http_fallback255" require_relative "auth0/types/connection_access_token_urlo_auth1" require_relative "auth0/types/connection_acr_values_supported" @@ -338,6 +346,8 @@ require_relative "auth0/types/connection_api_enable_users" require_relative "auth0/types/connection_api_enable_users_google_apps" require_relative "auth0/types/connection_app_domain_azure_ad" +require_relative "auth0/types/connection_assertion_decryption_algorithm_profile_enum" +require_relative "auth0/types/connection_assertion_decryption_settings" require_relative "auth0/types/default_method_email_identifier_enum" require_relative "auth0/types/connection_attribute_identifier" require_relative "auth0/types/connection_attribute_map_attributes" @@ -417,6 +427,7 @@ require_relative "auth0/types/connection_is_domain_connection" require_relative "auth0/types/connections_metadata" require_relative "auth0/types/connection_common" +require_relative "auth0/types/connection_https_url_with_http_fallback" require_relative "auth0/types/connection_community_base_url_salesforce" require_relative "auth0/types/connection_configuration" require_relative "auth0/types/connection_connected_accounts_purpose" @@ -617,6 +628,7 @@ require_relative "auth0/types/connection_send_back_channel_nonce" require_relative "auth0/types/connection_token_endpoint_auth_method_enum" require_relative "auth0/types/connection_token_endpoint_auth_signing_alg_enum" +require_relative "auth0/types/connection_token_endpoint_jwtca_aud_format_enum_oidc" require_relative "auth0/types/connection_options_common_oidc" require_relative "auth0/types/connection_options_idpinitiated_saml" require_relative "auth0/types/connection_protocol_binding_enum_saml" @@ -1711,6 +1723,17 @@ require_relative "auth0/types/create_phone_template_response_content" require_relative "auth0/types/create_phone_template_test_notification_response_content" require_relative "auth0/types/create_public_key_device_credential_response_content" +require_relative "auth0/types/rate_limit_policy_configuration_zero_action" +require_relative "auth0/types/rate_limit_policy_configuration_zero" +require_relative "auth0/types/rate_limit_policy_configuration_one_action" +require_relative "auth0/types/rate_limit_policy_configuration_one" +require_relative "auth0/types/rate_limit_policy_configuration_action_action" +require_relative "auth0/types/rate_limit_policy_configuration_action" +require_relative "auth0/types/rate_limit_policy_configuration" +require_relative "auth0/types/rate_limit_policy_consumer_enum" +require_relative "auth0/types/rate_limit_policy_resource_enum" +require_relative "auth0/types/create_rate_limit_policy_response_content" +require_relative "auth0/types/resource_server_authorization_policy" require_relative "auth0/types/resource_server_consent_policy_enum" require_relative "auth0/types/resource_server_proof_of_possession_mechanism_enum" require_relative "auth0/types/resource_server_proof_of_possession_required_for_enum" @@ -1758,6 +1781,7 @@ require_relative "auth0/types/user_attribute_profile_user_id" require_relative "auth0/types/create_user_attribute_profile_response_content" require_relative "auth0/types/created_user_authentication_method_type_enum" +require_relative "auth0/types/credential_device_type_enum" require_relative "auth0/types/preferred_authentication_method_enum" require_relative "auth0/types/user_authentication_method_properties_enum" require_relative "auth0/types/user_authentication_method_properties" @@ -1816,16 +1840,352 @@ require_relative "auth0/types/email_provider_name_enum" require_relative "auth0/types/email_specific_provider_settings_with_additional_properties" require_relative "auth0/types/encryption_key" +require_relative "auth0/types/event_stream_cloud_event_a0purpose_enum" +require_relative "auth0/types/event_stream_cloud_event_context_client_metadata" +require_relative "auth0/types/event_stream_cloud_event_context_client" +require_relative "auth0/types/event_stream_cloud_event_context_connection" +require_relative "auth0/types/event_stream_cloud_event_context_request_geo" +require_relative "auth0/types/event_stream_cloud_event_context_request" +require_relative "auth0/types/event_stream_cloud_event_context_tenant" +require_relative "auth0/types/event_stream_cloud_event_context" +require_relative "auth0/types/event_stream_cloud_event_error_code_enum" +require_relative "auth0/types/event_stream_cloud_event_error_detail" +require_relative "auth0/types/event_stream_cloud_event_error_message" +require_relative "auth0/types/event_stream_cloud_event_error_message_type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_created_cloud_event_type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_created_object0type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_created_object0" +require_relative "auth0/types/event_stream_cloud_event_group_created_object1type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_created_object1" +require_relative "auth0/types/event_stream_cloud_event_group_created_object2type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_created_object2" +require_relative "auth0/types/event_stream_cloud_event_group_created_object" +require_relative "auth0/types/event_stream_cloud_event_group_created_data" +require_relative "auth0/types/event_stream_cloud_event_group_created_cloud_event" +require_relative "auth0/types/event_stream_cloud_event_group_created" +require_relative "auth0/types/event_stream_cloud_event_group_created_type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_deleted_cloud_event_type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_deleted_object0type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_deleted_object0" +require_relative "auth0/types/event_stream_cloud_event_group_deleted_object1type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_deleted_object1" +require_relative "auth0/types/event_stream_cloud_event_group_deleted_object2type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_deleted_object2" +require_relative "auth0/types/event_stream_cloud_event_group_deleted_object" +require_relative "auth0/types/event_stream_cloud_event_group_deleted_data" +require_relative "auth0/types/event_stream_cloud_event_group_deleted_cloud_event" +require_relative "auth0/types/event_stream_cloud_event_group_deleted" +require_relative "auth0/types/event_stream_cloud_event_group_deleted_type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_member_added_cloud_event_type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_member_added_object_group0type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_member_added_object_group0" +require_relative "auth0/types/event_stream_cloud_event_group_member_added_object_group1type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_member_added_object_group1" +require_relative "auth0/types/event_stream_cloud_event_group_member_added_object_group2type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_member_added_object_group2" +require_relative "auth0/types/event_stream_cloud_event_group_member_added_object_group" +require_relative "auth0/types/event_stream_cloud_event_group_member_added_object_member0member_type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_member_added_object_member0" +require_relative "auth0/types/event_stream_cloud_event_group_member_added_object_member1member_type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_member_added_object_member1" +require_relative "auth0/types/event_stream_cloud_event_group_member_added_object_member" +require_relative "auth0/types/event_stream_cloud_event_group_member_added_object" +require_relative "auth0/types/event_stream_cloud_event_group_member_added_data" +require_relative "auth0/types/event_stream_cloud_event_group_member_added_cloud_event" +require_relative "auth0/types/event_stream_cloud_event_group_member_added" +require_relative "auth0/types/event_stream_cloud_event_group_member_added_type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_member_deleted_cloud_event_type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_member_deleted_object_group0type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_member_deleted_object_group0" +require_relative "auth0/types/event_stream_cloud_event_group_member_deleted_object_group1type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_member_deleted_object_group1" +require_relative "auth0/types/event_stream_cloud_event_group_member_deleted_object_group2type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_member_deleted_object_group2" +require_relative "auth0/types/event_stream_cloud_event_group_member_deleted_object_group" +require_relative "auth0/types/event_stream_cloud_event_group_member_deleted_object_member0member_type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_member_deleted_object_member0" +require_relative "auth0/types/event_stream_cloud_event_group_member_deleted_object_member1member_type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_member_deleted_object_member1" +require_relative "auth0/types/event_stream_cloud_event_group_member_deleted_object_member" +require_relative "auth0/types/event_stream_cloud_event_group_member_deleted_object" +require_relative "auth0/types/event_stream_cloud_event_group_member_deleted_data" +require_relative "auth0/types/event_stream_cloud_event_group_member_deleted_cloud_event" +require_relative "auth0/types/event_stream_cloud_event_group_member_deleted" +require_relative "auth0/types/event_stream_cloud_event_group_member_deleted_type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_role_assigned_cloud_event_type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_role_assigned_object_group0type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_role_assigned_object_group0" +require_relative "auth0/types/event_stream_cloud_event_group_role_assigned_object_group1type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_role_assigned_object_group1" +require_relative "auth0/types/event_stream_cloud_event_group_role_assigned_object_group2type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_role_assigned_object_group2" +require_relative "auth0/types/event_stream_cloud_event_group_role_assigned_object_group" +require_relative "auth0/types/event_stream_cloud_event_group_role_assigned_object_role" +require_relative "auth0/types/event_stream_cloud_event_group_role_assigned_object" +require_relative "auth0/types/event_stream_cloud_event_group_role_assigned_data" +require_relative "auth0/types/event_stream_cloud_event_group_role_assigned_cloud_event" +require_relative "auth0/types/event_stream_cloud_event_group_role_assigned" +require_relative "auth0/types/event_stream_cloud_event_group_role_assigned_type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_role_deleted_cloud_event_type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_role_deleted_object_group0type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_role_deleted_object_group0" +require_relative "auth0/types/event_stream_cloud_event_group_role_deleted_object_group1type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_role_deleted_object_group1" +require_relative "auth0/types/event_stream_cloud_event_group_role_deleted_object_group2type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_role_deleted_object_group2" +require_relative "auth0/types/event_stream_cloud_event_group_role_deleted_object_group" +require_relative "auth0/types/event_stream_cloud_event_group_role_deleted_object_role" +require_relative "auth0/types/event_stream_cloud_event_group_role_deleted_object" +require_relative "auth0/types/event_stream_cloud_event_group_role_deleted_data" +require_relative "auth0/types/event_stream_cloud_event_group_role_deleted_cloud_event" +require_relative "auth0/types/event_stream_cloud_event_group_role_deleted" +require_relative "auth0/types/event_stream_cloud_event_group_role_deleted_type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_updated_cloud_event_type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_updated_object0type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_updated_object0" +require_relative "auth0/types/event_stream_cloud_event_group_updated_object1type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_updated_object1" +require_relative "auth0/types/event_stream_cloud_event_group_updated_object2type_enum" +require_relative "auth0/types/event_stream_cloud_event_group_updated_object2" +require_relative "auth0/types/event_stream_cloud_event_group_updated_object" +require_relative "auth0/types/event_stream_cloud_event_group_updated_data" +require_relative "auth0/types/event_stream_cloud_event_group_updated_cloud_event" +require_relative "auth0/types/event_stream_cloud_event_group_updated" +require_relative "auth0/types/event_stream_cloud_event_group_updated_type_enum" +require_relative "auth0/types/event_stream_cloud_event_offset_only_message" +require_relative "auth0/types/event_stream_cloud_event_offset_only_message_type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_connection_added_cloud_event_type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_connection_added_object_connection" +require_relative "auth0/types/event_stream_cloud_event_org_connection_added_object_organization" +require_relative "auth0/types/event_stream_cloud_event_org_connection_added_object" +require_relative "auth0/types/event_stream_cloud_event_org_connection_added_data" +require_relative "auth0/types/event_stream_cloud_event_org_connection_added_cloud_event" +require_relative "auth0/types/event_stream_cloud_event_org_connection_added" +require_relative "auth0/types/event_stream_cloud_event_org_connection_added_type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_connection_removed_cloud_event_type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_connection_removed_object_connection" +require_relative "auth0/types/event_stream_cloud_event_org_connection_removed_object_organization" +require_relative "auth0/types/event_stream_cloud_event_org_connection_removed_object" +require_relative "auth0/types/event_stream_cloud_event_org_connection_removed_data" +require_relative "auth0/types/event_stream_cloud_event_org_connection_removed_cloud_event" +require_relative "auth0/types/event_stream_cloud_event_org_connection_removed" +require_relative "auth0/types/event_stream_cloud_event_org_connection_removed_type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_cloud_event_type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_object_connection" +require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_object_organization" +require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_object" +require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_data" +require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_cloud_event" +require_relative "auth0/types/event_stream_cloud_event_org_connection_updated" +require_relative "auth0/types/event_stream_cloud_event_org_connection_updated_type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_created_cloud_event_type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_created_object_branding_colors" +require_relative "auth0/types/event_stream_cloud_event_org_created_object_branding" +require_relative "auth0/types/event_stream_cloud_event_org_created_object_metadata" +require_relative "auth0/types/event_stream_cloud_event_org_created_object" +require_relative "auth0/types/event_stream_cloud_event_org_created_data" +require_relative "auth0/types/event_stream_cloud_event_org_created_cloud_event" +require_relative "auth0/types/event_stream_cloud_event_org_created" +require_relative "auth0/types/event_stream_cloud_event_org_created_type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_deleted_cloud_event_type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_deleted_object_metadata" +require_relative "auth0/types/event_stream_cloud_event_org_deleted_object" +require_relative "auth0/types/event_stream_cloud_event_org_deleted_data" +require_relative "auth0/types/event_stream_cloud_event_org_deleted_cloud_event" +require_relative "auth0/types/event_stream_cloud_event_org_deleted" +require_relative "auth0/types/event_stream_cloud_event_org_deleted_type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_assigned_cloud_event_type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group0type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group0" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group1type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group1" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group2type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group2" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_assigned_object_organization" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_assigned_object_role" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_assigned_object" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_assigned_data" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_assigned_cloud_event" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_assigned" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_assigned_type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_deleted_cloud_event_type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group0type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group0" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group1type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group1" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group2type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group2" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_deleted_object_organization" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_deleted_object_role" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_deleted_object" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_deleted_data" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_deleted_cloud_event" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_deleted" +require_relative "auth0/types/event_stream_cloud_event_org_group_role_deleted_type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_member_added_cloud_event_type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_member_added_object_organization" +require_relative "auth0/types/event_stream_cloud_event_org_member_added_object_user" +require_relative "auth0/types/event_stream_cloud_event_org_member_added_object" +require_relative "auth0/types/event_stream_cloud_event_org_member_added_data" +require_relative "auth0/types/event_stream_cloud_event_org_member_added_cloud_event" +require_relative "auth0/types/event_stream_cloud_event_org_member_added" +require_relative "auth0/types/event_stream_cloud_event_org_member_added_type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_member_deleted_cloud_event_type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_member_deleted_object_organization" +require_relative "auth0/types/event_stream_cloud_event_org_member_deleted_object_user" +require_relative "auth0/types/event_stream_cloud_event_org_member_deleted_object" +require_relative "auth0/types/event_stream_cloud_event_org_member_deleted_data" +require_relative "auth0/types/event_stream_cloud_event_org_member_deleted_cloud_event" +require_relative "auth0/types/event_stream_cloud_event_org_member_deleted" +require_relative "auth0/types/event_stream_cloud_event_org_member_deleted_type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_member_role_assigned_cloud_event_type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_member_role_assigned_object_organization" +require_relative "auth0/types/event_stream_cloud_event_org_member_role_assigned_object_role" +require_relative "auth0/types/event_stream_cloud_event_org_member_role_assigned_object_user" +require_relative "auth0/types/event_stream_cloud_event_org_member_role_assigned_object" +require_relative "auth0/types/event_stream_cloud_event_org_member_role_assigned_data" +require_relative "auth0/types/event_stream_cloud_event_org_member_role_assigned_cloud_event" +require_relative "auth0/types/event_stream_cloud_event_org_member_role_assigned" +require_relative "auth0/types/event_stream_cloud_event_org_member_role_assigned_type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_member_role_deleted_cloud_event_type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_member_role_deleted_object_organization" +require_relative "auth0/types/event_stream_cloud_event_org_member_role_deleted_object_role" +require_relative "auth0/types/event_stream_cloud_event_org_member_role_deleted_object_user" +require_relative "auth0/types/event_stream_cloud_event_org_member_role_deleted_object" +require_relative "auth0/types/event_stream_cloud_event_org_member_role_deleted_data" +require_relative "auth0/types/event_stream_cloud_event_org_member_role_deleted_cloud_event" +require_relative "auth0/types/event_stream_cloud_event_org_member_role_deleted" +require_relative "auth0/types/event_stream_cloud_event_org_member_role_deleted_type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_updated_cloud_event_type_enum" +require_relative "auth0/types/event_stream_cloud_event_org_updated_object_branding_colors" +require_relative "auth0/types/event_stream_cloud_event_org_updated_object_branding" +require_relative "auth0/types/event_stream_cloud_event_org_updated_object_metadata" +require_relative "auth0/types/event_stream_cloud_event_org_updated_object" +require_relative "auth0/types/event_stream_cloud_event_org_updated_data" +require_relative "auth0/types/event_stream_cloud_event_org_updated_cloud_event" +require_relative "auth0/types/event_stream_cloud_event_org_updated" +require_relative "auth0/types/event_stream_cloud_event_org_updated_type_enum" +require_relative "auth0/types/event_stream_cloud_event_user_created_cloud_event_type_enum" +require_relative "auth0/types/event_stream_cloud_event_user_created_object_app_metadata" +require_relative "auth0/types/event_stream_cloud_event_user_created_object_identities_item_custom_is_social_enum" +require_relative "auth0/types/event_stream_cloud_event_user_created_object_identities_item_custom_profile_data" +require_relative "auth0/types/event_stream_cloud_event_user_created_object_identities_item_custom_provider_enum" +require_relative "auth0/types/event_stream_cloud_event_user_created_object_identities_item_custom_user_id" +require_relative "auth0/types/event_stream_cloud_event_user_created_object_identities_item_custom" +require_relative "auth0/types/event_stream_cloud_event_user_created_object_identities_item_database_is_social_enum" +require_relative "auth0/types/event_stream_cloud_event_user_created_object_identities_item_database_profile_data" +require_relative "auth0/types/event_stream_cloud_event_user_created_object_identities_item_database_provider_enum" +require_relative "auth0/types/event_stream_cloud_event_user_created_object_identities_item_database_user_id" +require_relative "auth0/types/event_stream_cloud_event_user_created_object_identities_item_database" +require_relative "auth0/types/event_stream_cloud_event_user_created_object_identities_item_enterprise_is_social_enum" +require_relative "auth0/types/event_stream_cloud_event_user_created_object_identities_item_enterprise_profile_data" +require_relative "auth0/types/event_stream_cloud_event_user_created_object_identities_item_enterprise_provider_enum" +require_relative "auth0/types/event_stream_cloud_event_user_created_object_identities_item_enterprise_user_id" +require_relative "auth0/types/event_stream_cloud_event_user_created_object_identities_item_enterprise" +require_relative "auth0/types/event_stream_cloud_event_user_created_object_identities_item_passwordless_is_social_enum" +require_relative "auth0/types/event_stream_cloud_event_user_created_object_identities_item_passwordless_profile_data" +require_relative "auth0/types/event_stream_cloud_event_user_created_object_identities_item_passwordless_provider_enum" +require_relative "auth0/types/event_stream_cloud_event_user_created_object_identities_item_passwordless_user_id" +require_relative "auth0/types/event_stream_cloud_event_user_created_object_identities_item_passwordless" +require_relative "auth0/types/event_stream_cloud_event_user_created_object_identities_item_social_is_social_enum" +require_relative "auth0/types/event_stream_cloud_event_user_created_object_identities_item_social_profile_data" +require_relative "auth0/types/event_stream_cloud_event_user_created_object_identities_item_social_provider_enum" +require_relative "auth0/types/event_stream_cloud_event_user_created_object_identities_item_social_user_id" +require_relative "auth0/types/event_stream_cloud_event_user_created_object_identities_item_social" +require_relative "auth0/types/event_stream_cloud_event_user_created_object_identities_item" +require_relative "auth0/types/event_stream_cloud_event_user_created_object_user_metadata" +require_relative "auth0/types/event_stream_cloud_event_user_created_object" +require_relative "auth0/types/event_stream_cloud_event_user_created_data" +require_relative "auth0/types/event_stream_cloud_event_user_created_cloud_event" +require_relative "auth0/types/event_stream_cloud_event_user_created" +require_relative "auth0/types/event_stream_cloud_event_user_created_type_enum" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_cloud_event_type_enum" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object_app_metadata" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_custom_is_social_enum" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_custom_profile_data" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_custom_provider_enum" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_custom_user_id" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_custom" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_database_is_social_enum" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_database_profile_data" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_database_provider_enum" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_database_user_id" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_database" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_enterprise_is_social_enum" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_enterprise_profile_data" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_enterprise_provider_enum" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_enterprise_user_id" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_enterprise" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_passwordless_is_social_enum" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_passwordless_profile_data" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_passwordless_provider_enum" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_passwordless_user_id" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_passwordless" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_social_is_social_enum" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_social_profile_data" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_social_provider_enum" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_social_user_id" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_social" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object_identities_item" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object_user_metadata" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_object" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_data" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_cloud_event" +require_relative "auth0/types/event_stream_cloud_event_user_deleted" +require_relative "auth0/types/event_stream_cloud_event_user_deleted_type_enum" +require_relative "auth0/types/event_stream_cloud_event_user_updated_cloud_event_type_enum" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object_app_metadata" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object_identities_item_custom_is_social_enum" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object_identities_item_custom_profile_data" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object_identities_item_custom_provider_enum" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object_identities_item_custom_user_id" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object_identities_item_custom" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object_identities_item_database_is_social_enum" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object_identities_item_database_profile_data" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object_identities_item_database_provider_enum" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object_identities_item_database_user_id" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object_identities_item_database" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object_identities_item_enterprise_is_social_enum" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object_identities_item_enterprise_profile_data" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object_identities_item_enterprise_provider_enum" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object_identities_item_enterprise_user_id" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object_identities_item_enterprise" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object_identities_item_passwordless_is_social_enum" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object_identities_item_passwordless_profile_data" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object_identities_item_passwordless_provider_enum" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object_identities_item_passwordless_user_id" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object_identities_item_passwordless" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object_identities_item_social_is_social_enum" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object_identities_item_social_profile_data" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object_identities_item_social_provider_enum" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object_identities_item_social_user_id" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object_identities_item_social" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object_identities_item" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object_user_metadata" +require_relative "auth0/types/event_stream_cloud_event_user_updated_object" +require_relative "auth0/types/event_stream_cloud_event_user_updated_data" +require_relative "auth0/types/event_stream_cloud_event_user_updated_cloud_event" +require_relative "auth0/types/event_stream_cloud_event_user_updated" +require_relative "auth0/types/event_stream_cloud_event_user_updated_type_enum" require_relative "auth0/types/event_stream_delivery" require_relative "auth0/types/event_stream_destination_patch" require_relative "auth0/types/event_stream_response_content" +require_relative "auth0/types/event_stream_subscribe_events_event_type_enum" +require_relative "auth0/types/event_stream_subscribe_events_event_type_param" +require_relative "auth0/types/event_stream_subscribe_events_response_content" require_relative "auth0/types/event_stream_test_event_type_enum" require_relative "auth0/types/express_configuration_or_null" +require_relative "auth0/types/fed_cm_login_google" +require_relative "auth0/types/fed_cm_login" require_relative "auth0/types/federated_connection_token_set" require_relative "auth0/types/flow_execution_debug" require_relative "auth0/types/flow_execution_summary" require_relative "auth0/types/flow_summary" require_relative "auth0/types/flows_vault_connection_summary" +require_relative "auth0/types/forbidden_schema_error" +require_relative "auth0/types/forbidden_schema" require_relative "auth0/types/form_ending_node_nullable" require_relative "auth0/types/form_languages_nullable" require_relative "auth0/types/form_messages_nullable" @@ -1934,6 +2294,7 @@ require_relative "auth0/types/get_organization_response_content" require_relative "auth0/types/get_partials_response_content" require_relative "auth0/types/get_phone_template_response_content" +require_relative "auth0/types/get_rate_limit_policy_response_content" require_relative "auth0/types/refresh_token_date_object" require_relative "auth0/types/refresh_token_date" require_relative "auth0/types/refresh_token_device" @@ -2062,6 +2423,8 @@ require_relative "auth0/types/list_organizations_paginated_response_content" require_relative "auth0/types/phone_template" require_relative "auth0/types/list_phone_templates_response_content" +require_relative "auth0/types/rate_limit_policy" +require_relative "auth0/types/list_rate_limit_policies_paginated_response_content" require_relative "auth0/types/list_refresh_tokens_paginated_response_content" require_relative "auth0/types/resource_server" require_relative "auth0/types/list_resource_server_offset_paginated_response_content" @@ -2115,6 +2478,13 @@ require_relative "auth0/types/partial_groups_enum" require_relative "auth0/types/partial_phone_template_content" require_relative "auth0/types/patch_client_credential_response_content" +require_relative "auth0/types/patch_rate_limit_policy_configuration_request_content_zero_action" +require_relative "auth0/types/patch_rate_limit_policy_configuration_request_content_zero" +require_relative "auth0/types/patch_rate_limit_policy_configuration_request_content_one_action" +require_relative "auth0/types/patch_rate_limit_policy_configuration_request_content_one" +require_relative "auth0/types/patch_rate_limit_policy_configuration_request_content_action_action" +require_relative "auth0/types/patch_rate_limit_policy_configuration_request_content_action" +require_relative "auth0/types/patch_rate_limit_policy_configuration_request_content" require_relative "auth0/types/patch_supplemental_signals_response_content" require_relative "auth0/types/permission_request_payload" require_relative "auth0/types/twilio_provider_credentials" @@ -2192,6 +2562,10 @@ require_relative "auth0/types/test_action_response_content" require_relative "auth0/types/test_custom_domain_response_content" require_relative "auth0/types/test_event_data_content" +require_relative "auth0/types/too_many_requests_schema_error" +require_relative "auth0/types/too_many_requests_schema" +require_relative "auth0/types/unauthorized_schema_error" +require_relative "auth0/types/unauthorized_schema" require_relative "auth0/types/update_action_bindings_response_content" require_relative "auth0/types/update_action_module_response_content" require_relative "auth0/types/update_action_response_content" @@ -2201,6 +2575,11 @@ require_relative "auth0/types/update_branding_page_background" require_relative "auth0/types/update_branding_colors" require_relative "auth0/types/update_branding_font" +require_relative "auth0/types/update_branding_login_display_enum" +require_relative "auth0/types/update_branding_phone_formatting_enum" +require_relative "auth0/types/update_branding_phone_masking_enum" +require_relative "auth0/types/update_branding_phone_display" +require_relative "auth0/types/update_branding_identifiers" require_relative "auth0/types/update_branding_phone_provider_response_content" require_relative "auth0/types/update_branding_response_content" require_relative "auth0/types/update_branding_theme_response_content" @@ -2295,6 +2674,7 @@ require_relative "auth0/types/update_organization_discovery_domain_response_content" require_relative "auth0/types/update_organization_response_content" require_relative "auth0/types/update_phone_template_response_content" +require_relative "auth0/types/update_rate_limit_policy_response_content" require_relative "auth0/types/update_refresh_token_response_content" require_relative "auth0/types/update_resource_server_response_content" require_relative "auth0/types/update_risk_assessments_settings_new_device_response_content" @@ -2369,6 +2749,8 @@ require_relative "auth0/event_streams/types/list_event_streams_request_parameters" require_relative "auth0/event_streams/types/update_event_stream_request_content" require_relative "auth0/event_streams/types/create_event_stream_test_event_request_content" +require_relative "auth0/events/client" +require_relative "auth0/events/types/subscribe_events_request_parameters" require_relative "auth0/flows/client" require_relative "auth0/flows/types/list_flows_request_parameters" require_relative "auth0/flows/types/create_flow_request_content" @@ -2405,8 +2787,13 @@ require_relative "auth0/organizations/types/update_organization_request_content" require_relative "auth0/prompts/client" require_relative "auth0/prompts/types/update_settings_request_content" +require_relative "auth0/rate_limit_policies/client" +require_relative "auth0/rate_limit_policies/types/list_rate_limit_policies_request_parameters" +require_relative "auth0/rate_limit_policies/types/create_rate_limit_policy_request_content" +require_relative "auth0/rate_limit_policies/types/patch_rate_limit_policy_request_content" require_relative "auth0/refresh_tokens/client" require_relative "auth0/refresh_tokens/types/get_refresh_tokens_request_parameters" +require_relative "auth0/refresh_tokens/types/revoke_refresh_tokens_request_content" require_relative "auth0/refresh_tokens/types/update_refresh_token_request_content" require_relative "auth0/resource_servers/client" require_relative "auth0/resource_servers/types/list_resource_server_request_parameters" diff --git a/lib/auth0/actions/client.rb b/lib/auth0/actions/client.rb index 3630c2a6..5ca92bad 100644 --- a/lib/auth0/actions/client.rb +++ b/lib/auth0/actions/client.rb @@ -29,7 +29,6 @@ def initialize(client:) # @return [Auth0::Types::ListActionsPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[trigger_id action_name deployed page per_page installed] query_params = {} query_params["triggerId"] = params[:trigger_id] if params.key?(:trigger_id) query_params["actionName"] = params[:action_name] if params.key?(:action_name) @@ -37,13 +36,12 @@ def list(request_options: {}, **params) query_params["page"] = params.fetch(:page, 0) query_params["per_page"] = params.fetch(:per_page, 50) query_params["installed"] = params[:installed] if params.key?(:installed) - params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :actions, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -60,7 +58,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListActionsPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListActionsPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -153,10 +152,8 @@ def get(request_options: {}, **params) # @return [untyped] def delete(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[force] query_params = {} query_params["force"] = params[:force] if params.key?(:force) - params = params.except(*query_param_names) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], @@ -177,8 +174,8 @@ def delete(request_options: {}, **params) raise error_class.new(response.body, code: code) end - # Update an existing action. If this action is currently bound to a trigger, updating it will not - # affect any user flows until the action is deployed. + # Update an existing action. If this action is currently bound to a trigger, updating it will **not** affect any + # user flows until the action is deployed. # # @param request_options [Hash] # @param params [Auth0::Actions::Types::UpdateActionRequestContent] @@ -193,7 +190,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Actions::Types::UpdateActionRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( @@ -269,7 +266,7 @@ def deploy(request_options: {}, **params) def test(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Actions::Types::TestActionRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/actions/modules/client.rb b/lib/auth0/actions/modules/client.rb index 922a550d..f678df44 100644 --- a/lib/auth0/actions/modules/client.rb +++ b/lib/auth0/actions/modules/client.rb @@ -26,17 +26,15 @@ def initialize(client:) # @return [Auth0::Types::GetActionModulesResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[page per_page] query_params = {} query_params["page"] = params.fetch(:page, 0) query_params["per_page"] = params.fetch(:per_page, 50) - params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :modules, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -53,7 +51,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::GetActionModulesResponseContent.load(response.body) + parsed_response = Auth0::Types::GetActionModulesResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -176,7 +175,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Actions::Modules::Types::UpdateActionModuleRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( @@ -217,17 +216,15 @@ def update(request_options: {}, **params) # @return [Auth0::Types::GetActionModuleActionsResponseContent] def list_actions(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[page per_page] query_params = {} query_params["page"] = params.fetch(:page, 0) query_params["per_page"] = params.fetch(:per_page, 50) - params = params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :actions, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -244,7 +241,8 @@ def list_actions(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::GetActionModuleActionsResponseContent.load(response.body) + parsed_response = Auth0::Types::GetActionModuleActionsResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -268,7 +266,7 @@ def list_actions(request_options: {}, **params) def rollback(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Actions::Modules::Types::RollbackActionModuleRequestParameters.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/actions/modules/types/create_action_module_request_content.rb b/lib/auth0/actions/modules/types/create_action_module_request_content.rb index 8b538153..59ec0e36 100644 --- a/lib/auth0/actions/modules/types/create_action_module_request_content.rb +++ b/lib/auth0/actions/modules/types/create_action_module_request_content.rb @@ -6,10 +6,15 @@ module Modules module Types class CreateActionModuleRequestContent < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :code, -> { String }, optional: false, nullable: false + field :secrets, -> { Internal::Types::Array[Auth0::Types::ActionModuleSecretRequest] }, optional: true, nullable: false + field :dependencies, -> { Internal::Types::Array[Auth0::Types::ActionModuleDependencyRequest] }, optional: true, nullable: false + field :api_version, -> { String }, optional: true, nullable: false + field :publish, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/actions/modules/types/get_action_module_actions_request_parameters.rb b/lib/auth0/actions/modules/types/get_action_module_actions_request_parameters.rb index d53c8d9f..721b55af 100644 --- a/lib/auth0/actions/modules/types/get_action_module_actions_request_parameters.rb +++ b/lib/auth0/actions/modules/types/get_action_module_actions_request_parameters.rb @@ -6,7 +6,9 @@ module Modules module Types class GetActionModuleActionsRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/actions/modules/types/get_action_modules_request_parameters.rb b/lib/auth0/actions/modules/types/get_action_modules_request_parameters.rb index 64f729c4..aa8e45b2 100644 --- a/lib/auth0/actions/modules/types/get_action_modules_request_parameters.rb +++ b/lib/auth0/actions/modules/types/get_action_modules_request_parameters.rb @@ -6,6 +6,7 @@ module Modules module Types class GetActionModulesRequestParameters < Internal::Types::Model field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/actions/modules/types/rollback_action_module_request_parameters.rb b/lib/auth0/actions/modules/types/rollback_action_module_request_parameters.rb index 2c7980c2..3edb94fc 100644 --- a/lib/auth0/actions/modules/types/rollback_action_module_request_parameters.rb +++ b/lib/auth0/actions/modules/types/rollback_action_module_request_parameters.rb @@ -6,6 +6,7 @@ module Modules module Types class RollbackActionModuleRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :module_version_id, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/actions/modules/types/update_action_module_request_content.rb b/lib/auth0/actions/modules/types/update_action_module_request_content.rb index 88cb37f9..308d5077 100644 --- a/lib/auth0/actions/modules/types/update_action_module_request_content.rb +++ b/lib/auth0/actions/modules/types/update_action_module_request_content.rb @@ -6,8 +6,11 @@ module Modules module Types class UpdateActionModuleRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :code, -> { String }, optional: true, nullable: false + field :secrets, -> { Internal::Types::Array[Auth0::Types::ActionModuleSecretRequest] }, optional: true, nullable: false + field :dependencies, -> { Internal::Types::Array[Auth0::Types::ActionModuleDependencyRequest] }, optional: true, nullable: false end end diff --git a/lib/auth0/actions/modules/versions/client.rb b/lib/auth0/actions/modules/versions/client.rb index ce276cd1..ef24ddee 100644 --- a/lib/auth0/actions/modules/versions/client.rb +++ b/lib/auth0/actions/modules/versions/client.rb @@ -28,17 +28,15 @@ def initialize(client:) # @return [Auth0::Types::GetActionModuleVersionsResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[page per_page] query_params = {} query_params["page"] = params.fetch(:page, 0) query_params["per_page"] = params.fetch(:per_page, 50) - params = params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :versions, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -55,7 +53,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::GetActionModuleVersionsResponseContent.load(response.body) + parsed_response = Auth0::Types::GetActionModuleVersionsResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/auth0/actions/modules/versions/types/get_action_module_versions_request_parameters.rb b/lib/auth0/actions/modules/versions/types/get_action_module_versions_request_parameters.rb index 1e73aa98..a8fb27a3 100644 --- a/lib/auth0/actions/modules/versions/types/get_action_module_versions_request_parameters.rb +++ b/lib/auth0/actions/modules/versions/types/get_action_module_versions_request_parameters.rb @@ -7,7 +7,9 @@ module Versions module Types class GetActionModuleVersionsRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/actions/triggers/bindings/client.rb b/lib/auth0/actions/triggers/bindings/client.rb index 7ba33331..a518737a 100644 --- a/lib/auth0/actions/triggers/bindings/client.rb +++ b/lib/auth0/actions/triggers/bindings/client.rb @@ -30,17 +30,15 @@ def initialize(client:) # @return [Auth0::Types::ListActionBindingsPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[page per_page] query_params = {} query_params["page"] = params.fetch(:page, 0) query_params["per_page"] = params.fetch(:per_page, 50) - params = params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :bindings, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -57,7 +55,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListActionBindingsPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListActionBindingsPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -82,7 +81,7 @@ def list(request_options: {}, **params) def update_many(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Actions::Triggers::Bindings::Types::UpdateActionBindingsRequestContent.new(params).to_h - non_body_param_names = ["triggerId"] + non_body_param_names = %w[triggerId] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/actions/triggers/bindings/types/list_action_trigger_bindings_request_parameters.rb b/lib/auth0/actions/triggers/bindings/types/list_action_trigger_bindings_request_parameters.rb index 95726805..8b91ebfe 100644 --- a/lib/auth0/actions/triggers/bindings/types/list_action_trigger_bindings_request_parameters.rb +++ b/lib/auth0/actions/triggers/bindings/types/list_action_trigger_bindings_request_parameters.rb @@ -7,7 +7,9 @@ module Bindings module Types class ListActionTriggerBindingsRequestParameters < Internal::Types::Model field :trigger_id, -> { Auth0::Types::ActionTriggerTypeEnum }, optional: false, nullable: false, api_name: "triggerId" + field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/actions/triggers/bindings/types/update_action_bindings_request_content.rb b/lib/auth0/actions/triggers/bindings/types/update_action_bindings_request_content.rb index 6d461d53..bf6ffb2d 100644 --- a/lib/auth0/actions/triggers/bindings/types/update_action_bindings_request_content.rb +++ b/lib/auth0/actions/triggers/bindings/types/update_action_bindings_request_content.rb @@ -7,6 +7,7 @@ module Bindings module Types class UpdateActionBindingsRequestContent < Internal::Types::Model field :trigger_id, -> { Auth0::Types::ActionTriggerTypeEnum }, optional: false, nullable: false, api_name: "triggerId" + field :bindings, -> { Internal::Types::Array[Auth0::Types::ActionBindingWithRef] }, optional: true, nullable: false end end diff --git a/lib/auth0/actions/triggers/client.rb b/lib/auth0/actions/triggers/client.rb index c221e6d9..e202a298 100644 --- a/lib/auth0/actions/triggers/client.rb +++ b/lib/auth0/actions/triggers/client.rb @@ -15,7 +15,7 @@ def initialize(client:) # actions can be bound. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -23,8 +23,7 @@ def initialize(client:) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::ListActionTriggersResponseContent] - def list(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def list(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", diff --git a/lib/auth0/actions/types/create_action_request_content.rb b/lib/auth0/actions/types/create_action_request_content.rb index f1986e9d..fbd87c37 100644 --- a/lib/auth0/actions/types/create_action_request_content.rb +++ b/lib/auth0/actions/types/create_action_request_content.rb @@ -5,12 +5,19 @@ module Actions module Types class CreateActionRequestContent < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :supported_triggers, -> { Internal::Types::Array[Auth0::Types::ActionTrigger] }, optional: false, nullable: false + field :code, -> { String }, optional: true, nullable: false + field :dependencies, -> { Internal::Types::Array[Auth0::Types::ActionVersionDependency] }, optional: true, nullable: false + field :runtime, -> { String }, optional: true, nullable: false + field :secrets, -> { Internal::Types::Array[Auth0::Types::ActionSecretRequest] }, optional: true, nullable: false + field :modules, -> { Internal::Types::Array[Auth0::Types::ActionModuleReference] }, optional: true, nullable: false + field :deploy, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/actions/types/delete_action_request_parameters.rb b/lib/auth0/actions/types/delete_action_request_parameters.rb index 39ef9235..8ca60de1 100644 --- a/lib/auth0/actions/types/delete_action_request_parameters.rb +++ b/lib/auth0/actions/types/delete_action_request_parameters.rb @@ -5,6 +5,7 @@ module Actions module Types class DeleteActionRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :force, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/actions/types/list_actions_request_parameters.rb b/lib/auth0/actions/types/list_actions_request_parameters.rb index 99112750..6146957d 100644 --- a/lib/auth0/actions/types/list_actions_request_parameters.rb +++ b/lib/auth0/actions/types/list_actions_request_parameters.rb @@ -5,10 +5,15 @@ module Actions module Types class ListActionsRequestParameters < Internal::Types::Model field :trigger_id, -> { Auth0::Types::ActionTriggerTypeEnum }, optional: true, nullable: false, api_name: "triggerId" + field :action_name, -> { String }, optional: true, nullable: false, api_name: "actionName" + field :deployed, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :installed, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/actions/types/test_action_request_content.rb b/lib/auth0/actions/types/test_action_request_content.rb index e36628d1..49ad4149 100644 --- a/lib/auth0/actions/types/test_action_request_content.rb +++ b/lib/auth0/actions/types/test_action_request_content.rb @@ -5,6 +5,7 @@ module Actions module Types class TestActionRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :payload, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false end end diff --git a/lib/auth0/actions/types/update_action_request_content.rb b/lib/auth0/actions/types/update_action_request_content.rb index 60ecc184..3ab69010 100644 --- a/lib/auth0/actions/types/update_action_request_content.rb +++ b/lib/auth0/actions/types/update_action_request_content.rb @@ -5,12 +5,19 @@ module Actions module Types class UpdateActionRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :supported_triggers, -> { Internal::Types::Array[Auth0::Types::ActionTrigger] }, optional: true, nullable: false + field :code, -> { String }, optional: true, nullable: false + field :dependencies, -> { Internal::Types::Array[Auth0::Types::ActionVersionDependency] }, optional: true, nullable: false + field :runtime, -> { String }, optional: true, nullable: false + field :secrets, -> { Internal::Types::Array[Auth0::Types::ActionSecretRequest] }, optional: true, nullable: false + field :modules, -> { Internal::Types::Array[Auth0::Types::ActionModuleReference] }, optional: true, nullable: false end end diff --git a/lib/auth0/actions/versions/client.rb b/lib/auth0/actions/versions/client.rb index 2d990135..75d107d5 100644 --- a/lib/auth0/actions/versions/client.rb +++ b/lib/auth0/actions/versions/client.rb @@ -28,17 +28,15 @@ def initialize(client:) # @return [Auth0::Types::ListActionVersionsPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[page per_page] query_params = {} query_params["page"] = params.fetch(:page, 0) query_params["per_page"] = params.fetch(:per_page, 50) - params = params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :versions, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -55,7 +53,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListActionVersionsPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListActionVersionsPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/auth0/actions/versions/types/list_action_versions_request_parameters.rb b/lib/auth0/actions/versions/types/list_action_versions_request_parameters.rb index 013a0252..b290cc56 100644 --- a/lib/auth0/actions/versions/types/list_action_versions_request_parameters.rb +++ b/lib/auth0/actions/versions/types/list_action_versions_request_parameters.rb @@ -6,7 +6,9 @@ module Versions module Types class ListActionVersionsRequestParameters < Internal::Types::Model field :action_id, -> { String }, optional: false, nullable: false, api_name: "actionId" + field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/attack_protection/bot_detection/client.rb b/lib/auth0/attack_protection/bot_detection/client.rb index 9b0558e3..fe9b060c 100644 --- a/lib/auth0/attack_protection/bot_detection/client.rb +++ b/lib/auth0/attack_protection/bot_detection/client.rb @@ -14,7 +14,7 @@ def initialize(client:) # Get the Bot Detection configuration of your tenant. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -22,8 +22,7 @@ def initialize(client:) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::GetBotDetectionSettingsResponseContent] - def get(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def get(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", diff --git a/lib/auth0/attack_protection/bot_detection/types/update_bot_detection_settings_request_content.rb b/lib/auth0/attack_protection/bot_detection/types/update_bot_detection_settings_request_content.rb index 0580ec89..ff0e67e1 100644 --- a/lib/auth0/attack_protection/bot_detection/types/update_bot_detection_settings_request_content.rb +++ b/lib/auth0/attack_protection/bot_detection/types/update_bot_detection_settings_request_content.rb @@ -6,10 +6,15 @@ module BotDetection module Types class UpdateBotDetectionSettingsRequestContent < Internal::Types::Model field :bot_detection_level, -> { Auth0::Types::BotDetectionLevelEnum }, optional: true, nullable: false + field :challenge_password_policy, -> { Auth0::Types::BotDetectionChallengePolicyPasswordFlowEnum }, optional: true, nullable: false + field :challenge_passwordless_policy, -> { Auth0::Types::BotDetectionChallengePolicyPasswordlessFlowEnum }, optional: true, nullable: false + field :challenge_password_reset_policy, -> { Auth0::Types::BotDetectionChallengePolicyPasswordResetFlowEnum }, optional: true, nullable: false + field :allowlist, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :monitoring_mode_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/attack_protection/breached_password_detection/client.rb b/lib/auth0/attack_protection/breached_password_detection/client.rb index 6999ff7a..7c83c067 100644 --- a/lib/auth0/attack_protection/breached_password_detection/client.rb +++ b/lib/auth0/attack_protection/breached_password_detection/client.rb @@ -14,7 +14,7 @@ def initialize(client:) # Retrieve details of the Breached Password Detection configuration of your tenant. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -22,8 +22,7 @@ def initialize(client:) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::GetBreachedPasswordDetectionSettingsResponseContent] - def get(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def get(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", diff --git a/lib/auth0/attack_protection/breached_password_detection/types/update_breached_password_detection_settings_request_content.rb b/lib/auth0/attack_protection/breached_password_detection/types/update_breached_password_detection_settings_request_content.rb index 420e70a0..3a8e325a 100644 --- a/lib/auth0/attack_protection/breached_password_detection/types/update_breached_password_detection_settings_request_content.rb +++ b/lib/auth0/attack_protection/breached_password_detection/types/update_breached_password_detection_settings_request_content.rb @@ -6,9 +6,13 @@ module BreachedPasswordDetection module Types class UpdateBreachedPasswordDetectionSettingsRequestContent < Internal::Types::Model field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :shields, -> { Internal::Types::Array[Auth0::Types::BreachedPasswordDetectionShieldsEnum] }, optional: true, nullable: false + field :admin_notification_frequency, -> { Internal::Types::Array[Auth0::Types::BreachedPasswordDetectionAdminNotificationFrequencyEnum] }, optional: true, nullable: false + field :method_, -> { Auth0::Types::BreachedPasswordDetectionMethodEnum }, optional: true, nullable: false, api_name: "method" + field :stage, -> { Auth0::Types::BreachedPasswordDetectionStage }, optional: true, nullable: false end end diff --git a/lib/auth0/attack_protection/brute_force_protection/client.rb b/lib/auth0/attack_protection/brute_force_protection/client.rb index ddd8f70e..92617654 100644 --- a/lib/auth0/attack_protection/brute_force_protection/client.rb +++ b/lib/auth0/attack_protection/brute_force_protection/client.rb @@ -14,7 +14,7 @@ def initialize(client:) # Retrieve details of the Brute-force Protection configuration of your tenant. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -22,8 +22,7 @@ def initialize(client:) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::GetBruteForceSettingsResponseContent] - def get(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def get(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", diff --git a/lib/auth0/attack_protection/brute_force_protection/types/update_brute_force_settings_request_content.rb b/lib/auth0/attack_protection/brute_force_protection/types/update_brute_force_settings_request_content.rb index 2341bb7b..e54d065a 100644 --- a/lib/auth0/attack_protection/brute_force_protection/types/update_brute_force_settings_request_content.rb +++ b/lib/auth0/attack_protection/brute_force_protection/types/update_brute_force_settings_request_content.rb @@ -6,9 +6,13 @@ module BruteForceProtection module Types class UpdateBruteForceSettingsRequestContent < Internal::Types::Model field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :shields, -> { Internal::Types::Array[Auth0::Types::BruteForceProtectionShieldsEnum] }, optional: true, nullable: false + field :allowlist, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :mode, -> { Auth0::Types::BruteForceProtectionModeEnum }, optional: true, nullable: false + field :max_attempts, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/attack_protection/captcha/client.rb b/lib/auth0/attack_protection/captcha/client.rb index a46e338c..0aeb9845 100644 --- a/lib/auth0/attack_protection/captcha/client.rb +++ b/lib/auth0/attack_protection/captcha/client.rb @@ -14,7 +14,7 @@ def initialize(client:) # Get the CAPTCHA configuration for your client. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -22,8 +22,7 @@ def initialize(client:) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::GetAttackProtectionCaptchaResponseContent] - def get(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def get(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", diff --git a/lib/auth0/attack_protection/captcha/types/update_attack_protection_captcha_request_content.rb b/lib/auth0/attack_protection/captcha/types/update_attack_protection_captcha_request_content.rb index 014eb264..f471d06b 100644 --- a/lib/auth0/attack_protection/captcha/types/update_attack_protection_captcha_request_content.rb +++ b/lib/auth0/attack_protection/captcha/types/update_attack_protection_captcha_request_content.rb @@ -6,12 +6,19 @@ module Captcha module Types class UpdateAttackProtectionCaptchaRequestContent < Internal::Types::Model field :active_provider_id, -> { Auth0::Types::AttackProtectionCaptchaProviderID }, optional: true, nullable: false + field :arkose, -> { Auth0::Types::AttackProtectionUpdateCaptchaArkose }, optional: true, nullable: false + field :auth_challenge, -> { Auth0::Types::AttackProtectionCaptchaAuthChallengeRequest }, optional: true, nullable: false + field :hcaptcha, -> { Auth0::Types::AttackProtectionUpdateCaptchaHcaptcha }, optional: true, nullable: false + field :friendly_captcha, -> { Auth0::Types::AttackProtectionUpdateCaptchaFriendlyCaptcha }, optional: true, nullable: false + field :recaptcha_enterprise, -> { Auth0::Types::AttackProtectionUpdateCaptchaRecaptchaEnterprise }, optional: true, nullable: false + field :recaptcha_v2, -> { Auth0::Types::AttackProtectionUpdateCaptchaRecaptchaV2 }, optional: true, nullable: false + field :simple_captcha, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/attack_protection/suspicious_ip_throttling/client.rb b/lib/auth0/attack_protection/suspicious_ip_throttling/client.rb index 3464b5fe..3054d4bb 100644 --- a/lib/auth0/attack_protection/suspicious_ip_throttling/client.rb +++ b/lib/auth0/attack_protection/suspicious_ip_throttling/client.rb @@ -14,7 +14,7 @@ def initialize(client:) # Retrieve details of the Suspicious IP Throttling configuration of your tenant. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -22,8 +22,7 @@ def initialize(client:) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::GetSuspiciousIPThrottlingSettingsResponseContent] - def get(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def get(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", diff --git a/lib/auth0/attack_protection/suspicious_ip_throttling/types/update_suspicious_ip_throttling_settings_request_content.rb b/lib/auth0/attack_protection/suspicious_ip_throttling/types/update_suspicious_ip_throttling_settings_request_content.rb index b6aff6e9..e118cda8 100644 --- a/lib/auth0/attack_protection/suspicious_ip_throttling/types/update_suspicious_ip_throttling_settings_request_content.rb +++ b/lib/auth0/attack_protection/suspicious_ip_throttling/types/update_suspicious_ip_throttling_settings_request_content.rb @@ -6,8 +6,11 @@ module SuspiciousIPThrottling module Types class UpdateSuspiciousIPThrottlingSettingsRequestContent < Internal::Types::Model field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :shields, -> { Internal::Types::Array[Auth0::Types::SuspiciousIPThrottlingShieldsEnum] }, optional: true, nullable: false + field :allowlist, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :stage, -> { Auth0::Types::SuspiciousIPThrottlingStage }, optional: true, nullable: false end end diff --git a/lib/auth0/branding/client.rb b/lib/auth0/branding/client.rb index e6edd4d8..4fbe145a 100644 --- a/lib/auth0/branding/client.rb +++ b/lib/auth0/branding/client.rb @@ -13,7 +13,7 @@ def initialize(client:) # Retrieve branding settings. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -21,8 +21,7 @@ def initialize(client:) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::GetBrandingResponseContent] - def get(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def get(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", diff --git a/lib/auth0/branding/phone/providers/client.rb b/lib/auth0/branding/phone/providers/client.rb index 078459ef..c895629e 100644 --- a/lib/auth0/branding/phone/providers/client.rb +++ b/lib/auth0/branding/phone/providers/client.rb @@ -28,10 +28,8 @@ def initialize(client:) # @return [Auth0::Types::ListBrandingPhoneProvidersResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[disabled] query_params = {} query_params["disabled"] = params[:disabled] if params.key?(:disabled) - params.except(*query_param_names) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], @@ -176,7 +174,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Branding::Phone::Providers::Types::UpdateBrandingPhoneProviderRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( @@ -213,7 +211,7 @@ def update(request_options: {}, **params) def test(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Branding::Phone::Providers::Types::CreatePhoneProviderSendTestRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/branding/phone/providers/types/create_branding_phone_provider_request_content.rb b/lib/auth0/branding/phone/providers/types/create_branding_phone_provider_request_content.rb index b7a16762..d33cbe91 100644 --- a/lib/auth0/branding/phone/providers/types/create_branding_phone_provider_request_content.rb +++ b/lib/auth0/branding/phone/providers/types/create_branding_phone_provider_request_content.rb @@ -7,8 +7,11 @@ module Providers module Types class CreateBrandingPhoneProviderRequestContent < Internal::Types::Model field :name, -> { Auth0::Types::PhoneProviderNameEnum }, optional: false, nullable: false + field :disabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :configuration, -> { Auth0::Types::PhoneProviderConfiguration }, optional: true, nullable: false + field :credentials, -> { Auth0::Types::PhoneProviderCredentials }, optional: false, nullable: false end end diff --git a/lib/auth0/branding/phone/providers/types/create_phone_provider_send_test_request_content.rb b/lib/auth0/branding/phone/providers/types/create_phone_provider_send_test_request_content.rb index 61d735c2..980b20d6 100644 --- a/lib/auth0/branding/phone/providers/types/create_phone_provider_send_test_request_content.rb +++ b/lib/auth0/branding/phone/providers/types/create_phone_provider_send_test_request_content.rb @@ -7,7 +7,9 @@ module Providers module Types class CreatePhoneProviderSendTestRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :to, -> { String }, optional: false, nullable: false + field :delivery_method, -> { Auth0::Types::PhoneProviderDeliveryMethodEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/branding/phone/providers/types/update_branding_phone_provider_request_content.rb b/lib/auth0/branding/phone/providers/types/update_branding_phone_provider_request_content.rb index 958bd5c9..656be8fb 100644 --- a/lib/auth0/branding/phone/providers/types/update_branding_phone_provider_request_content.rb +++ b/lib/auth0/branding/phone/providers/types/update_branding_phone_provider_request_content.rb @@ -7,9 +7,13 @@ module Providers module Types class UpdateBrandingPhoneProviderRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :name, -> { Auth0::Types::PhoneProviderNameEnum }, optional: true, nullable: false + field :disabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :credentials, -> { Auth0::Types::PhoneProviderCredentials }, optional: true, nullable: false + field :configuration, -> { Auth0::Types::PhoneProviderConfiguration }, optional: true, nullable: false end end diff --git a/lib/auth0/branding/phone/templates/client.rb b/lib/auth0/branding/phone/templates/client.rb index 78a7f1d0..b17e4cff 100644 --- a/lib/auth0/branding/phone/templates/client.rb +++ b/lib/auth0/branding/phone/templates/client.rb @@ -24,10 +24,8 @@ def initialize(client:) # @return [Auth0::Types::ListPhoneTemplatesResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[disabled] query_params = {} query_params["disabled"] = params[:disabled] if params.key?(:disabled) - params.except(*query_param_names) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], @@ -157,7 +155,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Branding::Phone::Templates::Types::UpdatePhoneTemplateRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( @@ -227,7 +225,7 @@ def reset(request_options: {}, **params) def test(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Branding::Phone::Templates::Types::CreatePhoneTemplateTestNotificationRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/branding/phone/templates/types/create_phone_template_request_content.rb b/lib/auth0/branding/phone/templates/types/create_phone_template_request_content.rb index de1b7cdc..723a0340 100644 --- a/lib/auth0/branding/phone/templates/types/create_phone_template_request_content.rb +++ b/lib/auth0/branding/phone/templates/types/create_phone_template_request_content.rb @@ -7,7 +7,9 @@ module Templates module Types class CreatePhoneTemplateRequestContent < Internal::Types::Model field :type, -> { Auth0::Types::PhoneTemplateNotificationTypeEnum }, optional: true, nullable: false + field :disabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :content, -> { Auth0::Types::PhoneTemplateContent }, optional: true, nullable: false end end diff --git a/lib/auth0/branding/phone/templates/types/create_phone_template_test_notification_request_content.rb b/lib/auth0/branding/phone/templates/types/create_phone_template_test_notification_request_content.rb index 25e1cb0a..0ad15bc7 100644 --- a/lib/auth0/branding/phone/templates/types/create_phone_template_test_notification_request_content.rb +++ b/lib/auth0/branding/phone/templates/types/create_phone_template_test_notification_request_content.rb @@ -7,7 +7,9 @@ module Templates module Types class CreatePhoneTemplateTestNotificationRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :to, -> { String }, optional: false, nullable: false + field :delivery_method, -> { Auth0::Types::PhoneProviderDeliveryMethodEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/branding/phone/templates/types/update_phone_template_request_content.rb b/lib/auth0/branding/phone/templates/types/update_phone_template_request_content.rb index 9758435f..cdeb649e 100644 --- a/lib/auth0/branding/phone/templates/types/update_phone_template_request_content.rb +++ b/lib/auth0/branding/phone/templates/types/update_phone_template_request_content.rb @@ -7,7 +7,9 @@ module Templates module Types class UpdatePhoneTemplateRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :content, -> { Auth0::Types::PartialPhoneTemplateContent }, optional: true, nullable: false + field :disabled, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/branding/templates/client.rb b/lib/auth0/branding/templates/client.rb index 3ec6e87c..f281a1b3 100644 --- a/lib/auth0/branding/templates/client.rb +++ b/lib/auth0/branding/templates/client.rb @@ -12,7 +12,7 @@ def initialize(client:) end # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -20,8 +20,7 @@ def initialize(client:) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::GetUniversalLoginTemplateResponseContent] - def get_universal_login(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def get_universal_login(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", @@ -44,30 +43,30 @@ def get_universal_login(request_options: {}, **params) # Update the Universal Login branding template. # - #

When content-type header is set to application/json:

- #
+        # When `content-type` header is set to `application/json`:
+        #
+        # ```json
         # {
-        # "template": "<!DOCTYPE html>{% assign resolved_dir = dir | default: "auto" %}<html lang="{{locale}}"
-        # dir="{{resolved_dir}}"><head>{%- auth0:head -%}</head><body
-        # class="_widget-auto-layout">{%- auth0:widget -%}</body></html>"
+        # "template": "{% assign resolved_dir = dir | default: \"auto\" %}{%- auth0:head -%}{%- auth0:widget
+        # -%}"
         # }
-        # 
+ # ``` + # + # When `content-type` header is set to `text/html`: # - #

- # When content-type header is set to text/html: - #

- #
-        # <!DOCTYPE html>
+        # ```html
+        # 
         # {% assign resolved_dir = dir | default: "auto" %}
-        # <html lang="{{locale}}" dir="{{resolved_dir}}">
-        #   <head>
+        # 
+        #   
         #     {%- auth0:head -%}
-        #   </head>
-        #   <body class="_widget-auto-layout">
+        #   
+        #   
         #     {%- auth0:widget -%}
-        #   </body>
-        # </html>
-        # 
+ # + # + # ``` # # @param request_options [Hash] # @param params [Auth0::Types::UpdateUniversalLoginTemplateRequestContent] @@ -100,7 +99,7 @@ def update_universal_login(request_options: {}, **params) end # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -108,8 +107,7 @@ def update_universal_login(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # # @return [untyped] - def delete_universal_login(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def delete_universal_login(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "DELETE", diff --git a/lib/auth0/branding/themes/client.rb b/lib/auth0/branding/themes/client.rb index 601ec73a..9a8bdda7 100644 --- a/lib/auth0/branding/themes/client.rb +++ b/lib/auth0/branding/themes/client.rb @@ -48,7 +48,7 @@ def create(request_options: {}, **params) # Retrieve default branding theme. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -56,8 +56,7 @@ def create(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::GetBrandingDefaultThemeResponseContent] - def get_default(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def get_default(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", @@ -159,7 +158,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Branding::Themes::Types::UpdateBrandingThemeRequestContent.new(params).to_h - non_body_param_names = ["themeId"] + non_body_param_names = %w[themeId] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/branding/themes/types/create_branding_theme_request_content.rb b/lib/auth0/branding/themes/types/create_branding_theme_request_content.rb index 0fe58aa7..17ea2be2 100644 --- a/lib/auth0/branding/themes/types/create_branding_theme_request_content.rb +++ b/lib/auth0/branding/themes/types/create_branding_theme_request_content.rb @@ -6,10 +6,15 @@ module Themes module Types class CreateBrandingThemeRequestContent < Internal::Types::Model field :borders, -> { Auth0::Types::BrandingThemeBorders }, optional: false, nullable: false + field :colors, -> { Auth0::Types::BrandingThemeColors }, optional: false, nullable: false + field :display_name, -> { String }, optional: true, nullable: false, api_name: "displayName" + field :fonts, -> { Auth0::Types::BrandingThemeFonts }, optional: false, nullable: false + field :page_background, -> { Auth0::Types::BrandingThemePageBackground }, optional: false, nullable: false + field :widget, -> { Auth0::Types::BrandingThemeWidget }, optional: false, nullable: false end end diff --git a/lib/auth0/branding/themes/types/update_branding_theme_request_content.rb b/lib/auth0/branding/themes/types/update_branding_theme_request_content.rb index 7997e0f2..9a11b3be 100644 --- a/lib/auth0/branding/themes/types/update_branding_theme_request_content.rb +++ b/lib/auth0/branding/themes/types/update_branding_theme_request_content.rb @@ -6,11 +6,17 @@ module Themes module Types class UpdateBrandingThemeRequestContent < Internal::Types::Model field :theme_id, -> { String }, optional: false, nullable: false, api_name: "themeId" + field :borders, -> { Auth0::Types::BrandingThemeBorders }, optional: false, nullable: false + field :colors, -> { Auth0::Types::BrandingThemeColors }, optional: false, nullable: false + field :display_name, -> { String }, optional: true, nullable: false, api_name: "displayName" + field :fonts, -> { Auth0::Types::BrandingThemeFonts }, optional: false, nullable: false + field :page_background, -> { Auth0::Types::BrandingThemePageBackground }, optional: false, nullable: false + field :widget, -> { Auth0::Types::BrandingThemeWidget }, optional: false, nullable: false end end diff --git a/lib/auth0/branding/types/update_branding_request_content.rb b/lib/auth0/branding/types/update_branding_request_content.rb index 76c7ca9e..e1786ae7 100644 --- a/lib/auth0/branding/types/update_branding_request_content.rb +++ b/lib/auth0/branding/types/update_branding_request_content.rb @@ -5,8 +5,13 @@ module Branding module Types class UpdateBrandingRequestContent < Internal::Types::Model field :colors, -> { Auth0::Types::UpdateBrandingColors }, optional: true, nullable: false + field :favicon_url, -> { String }, optional: true, nullable: false + field :logo_url, -> { String }, optional: true, nullable: false + + field :identifiers, -> { Auth0::Types::UpdateBrandingIdentifiers }, optional: true, nullable: false + field :font, -> { Auth0::Types::UpdateBrandingFont }, optional: true, nullable: false end end diff --git a/lib/auth0/client_grants/client.rb b/lib/auth0/client_grants/client.rb index 053a05e9..4f0e07ae 100644 --- a/lib/auth0/client_grants/client.rb +++ b/lib/auth0/client_grants/client.rb @@ -32,7 +32,6 @@ def initialize(client:) # @return [Auth0::Types::ListClientGrantPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[from take audience client_id allow_any_organization subject_type default_for] query_params = {} query_params["from"] = params[:from] if params.key?(:from) query_params["take"] = params.fetch(:take, 50) @@ -41,7 +40,6 @@ def list(request_options: {}, **params) query_params["allow_any_organization"] = params[:allow_any_organization] if params.key?(:allow_any_organization) query_params["subject_type"] = params[:subject_type] if params.key?(:subject_type) query_params["default_for"] = params[:default_for] if params.key?(:default_for) - params.except(*query_param_names) Auth0::Internal::CursorItemIterator.new( cursor_field: :next_, @@ -63,7 +61,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListClientGrantPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListClientGrantPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -193,7 +192,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::ClientGrants::Types::UpdateClientGrantRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/client_grants/organizations/client.rb b/lib/auth0/client_grants/organizations/client.rb index b55097e0..8a088646 100644 --- a/lib/auth0/client_grants/organizations/client.rb +++ b/lib/auth0/client_grants/organizations/client.rb @@ -25,11 +25,9 @@ def initialize(client:) # @return [Auth0::Types::ListClientGrantOrganizationsPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[from take] query_params = {} query_params["from"] = params[:from] if params.key?(:from) query_params["take"] = params.fetch(:take, 50) - params = params.except(*query_param_names) Auth0::Internal::CursorItemIterator.new( cursor_field: :next_, @@ -51,7 +49,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListClientGrantOrganizationsPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListClientGrantOrganizationsPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/auth0/client_grants/organizations/types/list_client_grant_organizations_request_parameters.rb b/lib/auth0/client_grants/organizations/types/list_client_grant_organizations_request_parameters.rb index 231ea125..045cdf70 100644 --- a/lib/auth0/client_grants/organizations/types/list_client_grant_organizations_request_parameters.rb +++ b/lib/auth0/client_grants/organizations/types/list_client_grant_organizations_request_parameters.rb @@ -6,7 +6,9 @@ module Organizations module Types class ListClientGrantOrganizationsRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :from, -> { String }, optional: true, nullable: false + field :take, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/client_grants/types/create_client_grant_request_content.rb b/lib/auth0/client_grants/types/create_client_grant_request_content.rb index 29bedb71..583f83e6 100644 --- a/lib/auth0/client_grants/types/create_client_grant_request_content.rb +++ b/lib/auth0/client_grants/types/create_client_grant_request_content.rb @@ -5,13 +5,21 @@ module ClientGrants module Types class CreateClientGrantRequestContent < Internal::Types::Model field :client_id, -> { String }, optional: true, nullable: false + field :audience, -> { String }, optional: false, nullable: false + field :default_for, -> { Auth0::Types::ClientGrantDefaultForEnum }, optional: true, nullable: false + field :organization_usage, -> { Auth0::Types::ClientGrantOrganizationUsageEnum }, optional: true, nullable: false + field :allow_any_organization, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :scope, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :subject_type, -> { Auth0::Types::ClientGrantSubjectTypeEnum }, optional: true, nullable: false + field :authorization_details_types, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :allow_all_scopes, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/client_grants/types/list_client_grants_request_parameters.rb b/lib/auth0/client_grants/types/list_client_grants_request_parameters.rb index a6811900..52f38ead 100644 --- a/lib/auth0/client_grants/types/list_client_grants_request_parameters.rb +++ b/lib/auth0/client_grants/types/list_client_grants_request_parameters.rb @@ -5,11 +5,17 @@ module ClientGrants module Types class ListClientGrantsRequestParameters < Internal::Types::Model field :from, -> { String }, optional: true, nullable: false + field :take, -> { Integer }, optional: true, nullable: false + field :audience, -> { String }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false + field :allow_any_organization, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :subject_type, -> { Auth0::Types::ClientGrantSubjectTypeEnum }, optional: true, nullable: false + field :default_for, -> { Auth0::Types::ClientGrantDefaultForEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/client_grants/types/update_client_grant_request_content.rb b/lib/auth0/client_grants/types/update_client_grant_request_content.rb index cde06bca..88de10fa 100644 --- a/lib/auth0/client_grants/types/update_client_grant_request_content.rb +++ b/lib/auth0/client_grants/types/update_client_grant_request_content.rb @@ -5,10 +5,15 @@ module ClientGrants module Types class UpdateClientGrantRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :scope, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :organization_usage, -> { Auth0::Types::ClientGrantOrganizationNullableUsageEnum }, optional: true, nullable: false + field :allow_any_organization, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :authorization_details_types, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :allow_all_scopes, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/clients/client.rb b/lib/auth0/clients/client.rb index eb23f565..84b3ec01 100644 --- a/lib/auth0/clients/client.rb +++ b/lib/auth0/clients/client.rb @@ -69,7 +69,6 @@ def initialize(client:) # @return [Auth0::Types::ListClientsOffsetPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[fields include_fields page per_page include_totals is_global is_first_party app_type external_client_id q] query_params = {} query_params["fields"] = params[:fields] if params.key?(:fields) query_params["include_fields"] = params[:include_fields] if params.key?(:include_fields) @@ -81,13 +80,12 @@ def list(request_options: {}, **params) query_params["app_type"] = params[:app_type] if params.key?(:app_type) query_params["external_client_id"] = params[:external_client_id] if params.key?(:external_client_id) query_params["q"] = params[:q] if params.key?(:q) - params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :clients, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -104,7 +102,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListClientsOffsetPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListClientsOffsetPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -205,10 +204,20 @@ def preview_cimd_metadata(request_options: {}, **params) end end + # Idempotent registration for Client ID Metadata Document (CIMD) clients. + # Uses external_client_id as the unique identifier for upsert operations. # - # Idempotent registration for Client ID Metadata Document (CIMD) clients. - # Uses external_client_id as the unique identifier for upsert operations. - # **Create:** Returns 201 when a new client is created (requires \ + # Create: Returns 201 when a new client is created (requires create:clients scope). + # Update: Returns 200 when an existing client is updated (requires update:clients + # scope). + # + # This endpoint automatically: + # # # @param request_options [Hash] # @param params [Auth0::Clients::Types::RegisterCimdClientRequestContent] @@ -293,11 +302,9 @@ def register_cimd_client(request_options: {}, **params) # @return [Auth0::Types::GetClientResponseContent] def get(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[fields include_fields] query_params = {} query_params["fields"] = params[:fields] if params.key?(:fields) query_params["include_fields"] = params[:include_fields] if params.key?(:include_fields) - params = params.except(*query_param_names) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], @@ -385,7 +392,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Clients::Types::UpdateClientRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/clients/connections/client.rb b/lib/auth0/clients/connections/client.rb index 232dd69f..188b703b 100644 --- a/lib/auth0/clients/connections/client.rb +++ b/lib/auth0/clients/connections/client.rb @@ -43,14 +43,12 @@ def initialize(client:) # @return [Auth0::Types::ListClientConnectionsResponseContent] def get(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[strategy from take fields include_fields] query_params = {} query_params["strategy"] = params[:strategy] if params.key?(:strategy) query_params["from"] = params[:from] if params.key?(:from) query_params["take"] = params.fetch(:take, 50) query_params["fields"] = params[:fields] if params.key?(:fields) query_params["include_fields"] = params[:include_fields] if params.key?(:include_fields) - params = params.except(*query_param_names) Auth0::Internal::CursorItemIterator.new( cursor_field: :next_, @@ -72,7 +70,8 @@ def get(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListClientConnectionsResponseContent.load(response.body) + parsed_response = Auth0::Types::ListClientConnectionsResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/auth0/clients/connections/types/connections_get_request.rb b/lib/auth0/clients/connections/types/connections_get_request.rb index 8a9323ec..985e9547 100644 --- a/lib/auth0/clients/connections/types/connections_get_request.rb +++ b/lib/auth0/clients/connections/types/connections_get_request.rb @@ -6,10 +6,15 @@ module Connections module Types class ConnectionsGetRequest < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :strategy, -> { Auth0::Types::ConnectionStrategyEnum }, optional: true, nullable: false + field :from, -> { String }, optional: true, nullable: false + field :take, -> { Integer }, optional: true, nullable: false + field :fields, -> { String }, optional: true, nullable: false + field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/clients/credentials/client.rb b/lib/auth0/clients/credentials/client.rb index cce0e1d1..728dae80 100644 --- a/lib/auth0/clients/credentials/client.rb +++ b/lib/auth0/clients/credentials/client.rb @@ -106,7 +106,7 @@ def list(request_options: {}, **params) def create(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Clients::Credentials::Types::PostClientCredentialRequestContent.new(params).to_h - non_body_param_names = ["client_id"] + non_body_param_names = %w[client_id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/clients/credentials/types/patch_client_credential_request_content.rb b/lib/auth0/clients/credentials/types/patch_client_credential_request_content.rb index 9b9566ca..8a882cd2 100644 --- a/lib/auth0/clients/credentials/types/patch_client_credential_request_content.rb +++ b/lib/auth0/clients/credentials/types/patch_client_credential_request_content.rb @@ -6,7 +6,9 @@ module Credentials module Types class PatchClientCredentialRequestContent < Internal::Types::Model field :client_id, -> { String }, optional: false, nullable: false + field :credential_id, -> { String }, optional: false, nullable: false + field :expires_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/clients/credentials/types/post_client_credential_request_content.rb b/lib/auth0/clients/credentials/types/post_client_credential_request_content.rb index f091775e..1dc95ad2 100644 --- a/lib/auth0/clients/credentials/types/post_client_credential_request_content.rb +++ b/lib/auth0/clients/credentials/types/post_client_credential_request_content.rb @@ -6,13 +6,21 @@ module Credentials module Types class PostClientCredentialRequestContent < Internal::Types::Model field :client_id, -> { String }, optional: false, nullable: false + field :credential_type, -> { Auth0::Types::ClientCredentialTypeEnum }, optional: false, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :subject_dn, -> { String }, optional: true, nullable: false + field :pem, -> { String }, optional: true, nullable: false + field :alg, -> { Auth0::Types::PublicKeyCredentialAlgorithmEnum }, optional: true, nullable: false + field :parse_expiry_from_cert, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :expires_at, -> { String }, optional: true, nullable: false + field :kid, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/clients/types/create_client_request_content.rb b/lib/auth0/clients/types/create_client_request_content.rb index a415dd6e..4cbc0b5c 100644 --- a/lib/auth0/clients/types/create_client_request_content.rb +++ b/lib/auth0/clients/types/create_client_request_content.rb @@ -5,57 +5,111 @@ module Clients module Types class CreateClientRequestContent < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :description, -> { String }, optional: true, nullable: false + field :logo_uri, -> { String }, optional: true, nullable: false + field :callbacks, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :oidc_logout, -> { Auth0::Types::ClientOidcBackchannelLogoutSettings }, optional: true, nullable: false + field :oidc_backchannel_logout, -> { Auth0::Types::ClientOidcBackchannelLogoutSettings }, optional: true, nullable: false + field :session_transfer, -> { Auth0::Types::ClientSessionTransferConfiguration }, optional: true, nullable: false + field :allowed_origins, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :web_origins, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :client_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :allowed_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :allowed_logout_urls, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :grant_types, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :token_endpoint_auth_method, -> { Auth0::Types::ClientTokenEndpointAuthMethodEnum }, optional: true, nullable: false + field :is_token_endpoint_ip_header_trusted, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :app_type, -> { Auth0::Types::ClientAppTypeEnum }, optional: true, nullable: false + field :is_first_party, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :oidc_conformant, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :jwt_configuration, -> { Auth0::Types::ClientJwtConfiguration }, optional: true, nullable: false + field :encryption_key, -> { Auth0::Types::ClientEncryptionKey }, optional: true, nullable: false + field :sso, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :cross_origin_authentication, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :cross_origin_loc, -> { String }, optional: true, nullable: false + field :sso_disabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :custom_login_page_on, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :custom_login_page, -> { String }, optional: true, nullable: false + field :custom_login_page_preview, -> { String }, optional: true, nullable: false + field :form_template, -> { String }, optional: true, nullable: false + field :addons, -> { Auth0::Types::ClientAddons }, optional: true, nullable: false + field :client_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :mobile, -> { Auth0::Types::ClientMobile }, optional: true, nullable: false + field :initiate_login_uri, -> { String }, optional: true, nullable: false + field :native_social_login, -> { Auth0::Types::NativeSocialLogin }, optional: true, nullable: false + + field :fedcm_login, -> { Auth0::Types::FedCmLogin }, optional: true, nullable: false + field :refresh_token, -> { Auth0::Types::ClientRefreshTokenConfiguration }, optional: true, nullable: false + field :default_organization, -> { Auth0::Types::ClientDefaultOrganization }, optional: true, nullable: false + field :organization_usage, -> { Auth0::Types::ClientOrganizationUsageEnum }, optional: true, nullable: false + field :organization_require_behavior, -> { Auth0::Types::ClientOrganizationRequireBehaviorEnum }, optional: true, nullable: false + field :organization_discovery_methods, -> { Internal::Types::Array[Auth0::Types::ClientOrganizationDiscoveryEnum] }, optional: true, nullable: false + field :client_authentication_methods, -> { Auth0::Types::ClientCreateAuthenticationMethod }, optional: true, nullable: false + field :require_pushed_authorization_requests, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :require_proof_of_possession, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :signed_request_object, -> { Auth0::Types::ClientSignedRequestObjectWithPublicKey }, optional: true, nullable: false + field :compliance_level, -> { Auth0::Types::ClientComplianceLevelEnum }, optional: true, nullable: false + field :skip_non_verifiable_callback_uri_confirmation_prompt, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :token_exchange, -> { Auth0::Types::ClientTokenExchangeConfiguration }, optional: true, nullable: false + field :par_request_expiry, -> { Integer }, optional: true, nullable: false + field :token_quota, -> { Auth0::Types::CreateTokenQuota }, optional: true, nullable: false + field :resource_server_identifier, -> { String }, optional: true, nullable: false + field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false + field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false + field :express_configuration, -> { Auth0::Types::ExpressConfiguration }, optional: true, nullable: false + field :my_organization_configuration, -> { Auth0::Types::ClientMyOrganizationPostConfiguration }, optional: true, nullable: false + field :async_approval_notification_channels, -> { Internal::Types::Array[Auth0::Types::AsyncApprovalNotificationsChannelsEnum] }, optional: true, nullable: false end end diff --git a/lib/auth0/clients/types/get_client_request_parameters.rb b/lib/auth0/clients/types/get_client_request_parameters.rb index 5c1aa124..3008e7c3 100644 --- a/lib/auth0/clients/types/get_client_request_parameters.rb +++ b/lib/auth0/clients/types/get_client_request_parameters.rb @@ -5,7 +5,9 @@ module Clients module Types class GetClientRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :fields, -> { String }, optional: true, nullable: false + field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/clients/types/list_clients_request_parameters.rb b/lib/auth0/clients/types/list_clients_request_parameters.rb index 3546e8eb..6e687267 100644 --- a/lib/auth0/clients/types/list_clients_request_parameters.rb +++ b/lib/auth0/clients/types/list_clients_request_parameters.rb @@ -5,14 +5,23 @@ module Clients module Types class ListClientsRequestParameters < Internal::Types::Model field :fields, -> { String }, optional: true, nullable: false + field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :include_totals, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :is_global, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :is_first_party, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :app_type, -> { String }, optional: true, nullable: false + field :external_client_id, -> { String }, optional: true, nullable: false + field :q, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/clients/types/update_client_request_content.rb b/lib/auth0/clients/types/update_client_request_content.rb index 149aa4d3..cd006f91 100644 --- a/lib/auth0/clients/types/update_client_request_content.rb +++ b/lib/auth0/clients/types/update_client_request_content.rb @@ -5,58 +5,113 @@ module Clients module Types class UpdateClientRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false + field :client_secret, -> { String }, optional: true, nullable: false + field :logo_uri, -> { String }, optional: true, nullable: false + field :callbacks, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :oidc_logout, -> { Auth0::Types::ClientOidcBackchannelLogoutSettings }, optional: true, nullable: false + field :oidc_backchannel_logout, -> { Auth0::Types::ClientOidcBackchannelLogoutSettings }, optional: true, nullable: false + field :session_transfer, -> { Auth0::Types::ClientSessionTransferConfiguration }, optional: true, nullable: false + field :allowed_origins, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :web_origins, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :grant_types, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :client_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :allowed_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :allowed_logout_urls, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :jwt_configuration, -> { Auth0::Types::ClientJwtConfiguration }, optional: true, nullable: false + field :encryption_key, -> { Auth0::Types::ClientEncryptionKey }, optional: true, nullable: false + field :sso, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :cross_origin_authentication, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :cross_origin_loc, -> { String }, optional: true, nullable: false + field :sso_disabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :custom_login_page_on, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :token_endpoint_auth_method, -> { Auth0::Types::ClientTokenEndpointAuthMethodOrNullEnum }, optional: true, nullable: false + field :is_token_endpoint_ip_header_trusted, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :app_type, -> { Auth0::Types::ClientAppTypeEnum }, optional: true, nullable: false + field :is_first_party, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :oidc_conformant, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :custom_login_page, -> { String }, optional: true, nullable: false + field :custom_login_page_preview, -> { String }, optional: true, nullable: false + field :token_quota, -> { Auth0::Types::UpdateTokenQuota }, optional: true, nullable: false + field :form_template, -> { String }, optional: true, nullable: false + field :addons, -> { Auth0::Types::ClientAddons }, optional: true, nullable: false + field :client_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :mobile, -> { Auth0::Types::ClientMobile }, optional: true, nullable: false + field :initiate_login_uri, -> { String }, optional: true, nullable: false + field :native_social_login, -> { Auth0::Types::NativeSocialLogin }, optional: true, nullable: false + + field :fedcm_login, -> { Auth0::Types::FedCmLogin }, optional: true, nullable: false + field :refresh_token, -> { Auth0::Types::ClientRefreshTokenConfiguration }, optional: true, nullable: false + field :default_organization, -> { Auth0::Types::ClientDefaultOrganization }, optional: true, nullable: false + field :organization_usage, -> { Auth0::Types::ClientOrganizationUsagePatchEnum }, optional: true, nullable: false + field :organization_require_behavior, -> { Auth0::Types::ClientOrganizationRequireBehaviorPatchEnum }, optional: true, nullable: false + field :organization_discovery_methods, -> { Internal::Types::Array[Auth0::Types::ClientOrganizationDiscoveryEnum] }, optional: true, nullable: false + field :client_authentication_methods, -> { Auth0::Types::ClientAuthenticationMethod }, optional: true, nullable: false + field :require_pushed_authorization_requests, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :require_proof_of_possession, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :signed_request_object, -> { Auth0::Types::ClientSignedRequestObjectWithCredentialID }, optional: true, nullable: false + field :compliance_level, -> { Auth0::Types::ClientComplianceLevelEnum }, optional: true, nullable: false + field :skip_non_verifiable_callback_uri_confirmation_prompt, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :token_exchange, -> { Auth0::Types::ClientTokenExchangeConfigurationOrNull }, optional: true, nullable: false + field :par_request_expiry, -> { Integer }, optional: true, nullable: false + field :express_configuration, -> { Auth0::Types::ExpressConfigurationOrNull }, optional: true, nullable: false + field :my_organization_configuration, -> { Auth0::Types::ClientMyOrganizationPatchConfiguration }, optional: true, nullable: false + field :async_approval_notification_channels, -> { Internal::Types::Array[Auth0::Types::AsyncApprovalNotificationsChannelsEnum] }, optional: true, nullable: false + field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false + field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/connection_profiles/client.rb b/lib/auth0/connection_profiles/client.rb index 2aa9d779..c0c9d457 100644 --- a/lib/auth0/connection_profiles/client.rb +++ b/lib/auth0/connection_profiles/client.rb @@ -25,11 +25,9 @@ def initialize(client:) # @return [Auth0::Types::ListConnectionProfilesPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[from take] query_params = {} query_params["from"] = params[:from] if params.key?(:from) query_params["take"] = params.fetch(:take, 50) - params.except(*query_param_names) Auth0::Internal::CursorItemIterator.new( cursor_field: :next_, @@ -51,7 +49,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListConnectionProfilesPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListConnectionProfilesPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -96,7 +95,7 @@ def create(request_options: {}, **params) # Retrieve a list of Connection Profile Templates. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -104,8 +103,7 @@ def create(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::ListConnectionProfileTemplateResponseContent] - def list_templates(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def list_templates(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", @@ -241,7 +239,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::ConnectionProfiles::Types::UpdateConnectionProfileRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/connection_profiles/types/create_connection_profile_request_content.rb b/lib/auth0/connection_profiles/types/create_connection_profile_request_content.rb index a12f6424..f4cfed79 100644 --- a/lib/auth0/connection_profiles/types/create_connection_profile_request_content.rb +++ b/lib/auth0/connection_profiles/types/create_connection_profile_request_content.rb @@ -5,10 +5,15 @@ module ConnectionProfiles module Types class CreateConnectionProfileRequestContent < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :organization, -> { Auth0::Types::ConnectionProfileOrganization }, optional: true, nullable: false + field :connection_name_prefix_template, -> { String }, optional: true, nullable: false + field :enabled_features, -> { Internal::Types::Array[Auth0::Types::EnabledFeaturesEnum] }, optional: true, nullable: false + field :connection_config, -> { Auth0::Types::ConnectionProfileConfig }, optional: true, nullable: false + field :strategy_overrides, -> { Auth0::Types::ConnectionProfileStrategyOverrides }, optional: true, nullable: false end end diff --git a/lib/auth0/connection_profiles/types/list_connection_profile_request_parameters.rb b/lib/auth0/connection_profiles/types/list_connection_profile_request_parameters.rb index 9e9c130e..19ed6564 100644 --- a/lib/auth0/connection_profiles/types/list_connection_profile_request_parameters.rb +++ b/lib/auth0/connection_profiles/types/list_connection_profile_request_parameters.rb @@ -5,6 +5,7 @@ module ConnectionProfiles module Types class ListConnectionProfileRequestParameters < Internal::Types::Model field :from, -> { String }, optional: true, nullable: false + field :take, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/connection_profiles/types/update_connection_profile_request_content.rb b/lib/auth0/connection_profiles/types/update_connection_profile_request_content.rb index 47d269f3..a8a39fe6 100644 --- a/lib/auth0/connection_profiles/types/update_connection_profile_request_content.rb +++ b/lib/auth0/connection_profiles/types/update_connection_profile_request_content.rb @@ -5,11 +5,17 @@ module ConnectionProfiles module Types class UpdateConnectionProfileRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :organization, -> { Auth0::Types::ConnectionProfileOrganization }, optional: true, nullable: false + field :connection_name_prefix_template, -> { String }, optional: true, nullable: false + field :enabled_features, -> { Internal::Types::Array[Auth0::Types::EnabledFeaturesEnum] }, optional: true, nullable: false + field :connection_config, -> { Auth0::Types::ConnectionProfileConfig }, optional: true, nullable: false + field :strategy_overrides, -> { Auth0::Types::ConnectionProfileStrategyOverrides }, optional: true, nullable: false end end diff --git a/lib/auth0/connections/client.rb b/lib/auth0/connections/client.rb index 8ac9a0c0..476162d2 100644 --- a/lib/auth0/connections/client.rb +++ b/lib/auth0/connections/client.rb @@ -10,30 +10,27 @@ def initialize(client:) @client = client end - # Retrieves detailed list of all connections - # that match the specified strategy. If no strategy is provided, all connections within your tenant are retrieved. - # This action can accept a list of fields to include or exclude from the resulting list of connections. + # Retrieves detailed list of all [connections](https://auth0.com/docs/authenticate/identity-providers) that match + # the specified strategy. If no strategy is provided, all connections within your tenant are retrieved. This + # action can accept a list of fields to include or exclude from the resulting list of connections. # # This endpoint supports two types of pagination: - # + # + # - Offset pagination + # - Checkpoint pagination # # Checkpoint pagination must be used if you need to retrieve more than 1000 connections. # - #

Checkpoint Pagination

+ # **Checkpoint Pagination** # # To search by checkpoint, use the following parameters: - # # - # Note: The first time you call this endpoint using checkpoint pagination, omit the from - # parameter. If there are more results, a next value is included in the response. You can use this - # for subsequent API calls. When next is no longer included in the response, no pages are remaining. + # - `from`: Optional id from which to start selection. + # - `take`: The total amount of entries to retrieve when using the from parameter. Defaults to 50. + # + # **Note**: The first time you call this endpoint using checkpoint pagination, omit the `from` parameter. If there + # are more results, a `next` value is included in the response. You can use this for subsequent API calls. When + # `next` is no longer included in the response, no pages are remaining. # # @param request_options [Hash] # @param params [Hash] @@ -52,7 +49,6 @@ def initialize(client:) # @return [Auth0::Types::ListConnectionsCheckpointPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[from take strategy name fields include_fields] query_params = {} query_params["from"] = params[:from] if params.key?(:from) query_params["take"] = params.fetch(:take, 50) @@ -60,7 +56,6 @@ def list(request_options: {}, **params) query_params["name"] = params[:name] if params.key?(:name) query_params["fields"] = params[:fields] if params.key?(:fields) query_params["include_fields"] = params[:include_fields] if params.key?(:include_fields) - params.except(*query_param_names) Auth0::Internal::CursorItemIterator.new( cursor_field: :next_, @@ -82,7 +77,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListConnectionsCheckpointPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListConnectionsCheckpointPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -90,9 +86,9 @@ def list(request_options: {}, **params) end end - # Creates a new connection according to the JSON object received in body. + # Creates a new connection according to the JSON object received in `body`. # - # Note: If a connection with the same name was recently deleted and had a large number of associated users, + # **Note:** If a connection with the same name was recently deleted and had a large number of associated users, # the deletion may still be processing. Creating a new connection with that name before the deletion completes may # fail or produce unexpected results. # @@ -128,8 +124,8 @@ def create(request_options: {}, **params) end end - # Retrieve details for a specified connection - # along with options that can be used for identity provider configuration. + # Retrieve details for a specified [connection](https://auth0.com/docs/authenticate/identity-providers) along with + # options that can be used for identity provider configuration. # # @param request_options [Hash] # @param params [Hash] @@ -145,11 +141,9 @@ def create(request_options: {}, **params) # @return [Auth0::Types::GetConnectionResponseContent] def get(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[fields include_fields] query_params = {} query_params["fields"] = params[:fields] if params.key?(:fields) query_params["include_fields"] = params[:include_fields] if params.key?(:include_fields) - params = params.except(*query_param_names) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], @@ -172,13 +166,13 @@ def get(request_options: {}, **params) end end - # Removes a specific connection from your - # tenant. This action cannot be undone. Once removed, users can no longer use this connection to authenticate. + # Removes a specific [connection](https://auth0.com/docs/authenticate/identity-providers) from your tenant. This + # action cannot be undone. Once removed, users can no longer use this connection to authenticate. # - # Note: If your connection has a large amount of users associated with it, please be aware that this - # operation can be long running after the response is returned and may impact concurrent create connection requests, if - # they use an identical connection name. + # **Note:** If your connection has a large amount of users associated with it, please be aware that this operation + # can be long running after the response is returned and may impact concurrent [create + # connection](https://auth0.com/docs/api/management/v2/connections/post-connections) requests, if they use an + # identical connection name. # # @param request_options [Hash] # @param params [Hash] @@ -210,11 +204,11 @@ def delete(request_options: {}, **params) raise error_class.new(response.body, code: code) end - # Update details for a specific connection, - # including option properties for identity provider configuration. + # Update details for a specific [connection](https://auth0.com/docs/authenticate/identity-providers), including + # option properties for identity provider configuration. # - # Note: If you use the options parameter, the entire options object is overriden. - # To avoid partial data or other issues, ensure all parameters are present when using this option. + # **Note**: If you use the `options` parameter, the entire `options` object is overridden. To avoid partial data + # or other issues, ensure all parameters are present when using this option. # # @param request_options [Hash] # @param params [Auth0::Connections::Types::UpdateConnectionRequestContent] @@ -229,7 +223,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Connections::Types::UpdateConnectionRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( @@ -253,9 +247,8 @@ def update(request_options: {}, **params) end end - # Retrieves the status of an ad/ldap connection referenced by its ID. 200 OK http status - # code response is returned when the connection is online, otherwise a 404 status code is returned - # along with an error message + # Retrieves the status of an ad/ldap connection referenced by its `ID`. `200 OK` http status code response is + # returned when the connection is online, otherwise a `404` status code is returned along with an error message # # @param request_options [Hash] # @param params [Hash] diff --git a/lib/auth0/connections/clients/client.rb b/lib/auth0/connections/clients/client.rb index 97bc3c30..1d1a3ca5 100644 --- a/lib/auth0/connections/clients/client.rb +++ b/lib/auth0/connections/clients/client.rb @@ -11,12 +11,12 @@ def initialize(client:) @client = client end - # Retrieve all clients that have the specified connection enabled. + # Retrieve all clients that have the specified + # [connection](https://auth0.com/docs/authenticate/identity-providers) enabled. # - # Note: The first time you call this endpoint, omit the from parameter. If there are more - # results, a next value is included in the response. You can use this for subsequent API calls. - # When next is no longer included in the response, no further results are remaining. + # **Note**: The first time you call this endpoint, omit the `from` parameter. If there are more results, a + # `next` value is included in the response. You can use this for subsequent API calls. When `next` is no longer + # included in the response, no further results are remaining. # # @param request_options [Hash] # @param params [Hash] @@ -32,11 +32,9 @@ def initialize(client:) # @return [Auth0::Types::GetConnectionEnabledClientsResponseContent] def get(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[take from] query_params = {} query_params["take"] = params.fetch(:take, 50) query_params["from"] = params[:from] if params.key?(:from) - params = params.except(*query_param_names) Auth0::Internal::CursorItemIterator.new( cursor_field: :next_, @@ -58,7 +56,8 @@ def get(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::GetConnectionEnabledClientsResponseContent.load(response.body) + parsed_response = Auth0::Types::GetConnectionEnabledClientsResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/auth0/connections/clients/types/get_connection_enabled_clients_request_parameters.rb b/lib/auth0/connections/clients/types/get_connection_enabled_clients_request_parameters.rb index a57f1077..bb015db9 100644 --- a/lib/auth0/connections/clients/types/get_connection_enabled_clients_request_parameters.rb +++ b/lib/auth0/connections/clients/types/get_connection_enabled_clients_request_parameters.rb @@ -6,7 +6,9 @@ module Clients module Types class GetConnectionEnabledClientsRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :take, -> { Integer }, optional: true, nullable: false + field :from, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/connections/directory_provisioning/client.rb b/lib/auth0/connections/directory_provisioning/client.rb index 331c9b21..98dcbe22 100644 --- a/lib/auth0/connections/directory_provisioning/client.rb +++ b/lib/auth0/connections/directory_provisioning/client.rb @@ -26,11 +26,9 @@ def initialize(client:) # @return [Auth0::Types::ListDirectoryProvisioningsResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[from take] query_params = {} query_params["from"] = params[:from] if params.key?(:from) query_params["take"] = params.fetch(:take, 50) - params.except(*query_param_names) Auth0::Internal::CursorItemIterator.new( cursor_field: :next_, @@ -52,7 +50,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListDirectoryProvisioningsResponseContent.load(response.body) + parsed_response = Auth0::Types::ListDirectoryProvisioningsResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -246,11 +245,9 @@ def get_default_mapping(request_options: {}, **params) # @return [Auth0::Types::ListSynchronizedGroupsResponseContent] def list_synchronized_groups(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[from take] query_params = {} query_params["from"] = params[:from] if params.key?(:from) query_params["take"] = params.fetch(:take, 50) - params = params.except(*query_param_names) Auth0::Internal::CursorItemIterator.new( cursor_field: :next_, @@ -272,7 +269,8 @@ def list_synchronized_groups(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListSynchronizedGroupsResponseContent.load(response.body) + parsed_response = Auth0::Types::ListSynchronizedGroupsResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -295,7 +293,7 @@ def list_synchronized_groups(request_options: {}, **params) def set(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Connections::DirectoryProvisioning::Types::ReplaceSynchronizedGroupsRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/connections/directory_provisioning/types/list_directory_provisionings_request_parameters.rb b/lib/auth0/connections/directory_provisioning/types/list_directory_provisionings_request_parameters.rb index a806bd48..8fb0a775 100644 --- a/lib/auth0/connections/directory_provisioning/types/list_directory_provisionings_request_parameters.rb +++ b/lib/auth0/connections/directory_provisioning/types/list_directory_provisionings_request_parameters.rb @@ -6,6 +6,7 @@ module DirectoryProvisioning module Types class ListDirectoryProvisioningsRequestParameters < Internal::Types::Model field :from, -> { String }, optional: true, nullable: false + field :take, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/connections/directory_provisioning/types/list_synchronized_groups_request_parameters.rb b/lib/auth0/connections/directory_provisioning/types/list_synchronized_groups_request_parameters.rb index c01f34ab..7ac63fcb 100644 --- a/lib/auth0/connections/directory_provisioning/types/list_synchronized_groups_request_parameters.rb +++ b/lib/auth0/connections/directory_provisioning/types/list_synchronized_groups_request_parameters.rb @@ -6,7 +6,9 @@ module DirectoryProvisioning module Types class ListSynchronizedGroupsRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :from, -> { String }, optional: true, nullable: false + field :take, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/connections/directory_provisioning/types/replace_synchronized_groups_request_content.rb b/lib/auth0/connections/directory_provisioning/types/replace_synchronized_groups_request_content.rb index e22460e3..98f786ea 100644 --- a/lib/auth0/connections/directory_provisioning/types/replace_synchronized_groups_request_content.rb +++ b/lib/auth0/connections/directory_provisioning/types/replace_synchronized_groups_request_content.rb @@ -6,6 +6,7 @@ module DirectoryProvisioning module Types class ReplaceSynchronizedGroupsRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :groups, -> { Internal::Types::Array[Auth0::Types::SynchronizedGroupPayload] }, optional: false, nullable: false end end diff --git a/lib/auth0/connections/scim_configuration/client.rb b/lib/auth0/connections/scim_configuration/client.rb index d837885c..6a61ce2b 100644 --- a/lib/auth0/connections/scim_configuration/client.rb +++ b/lib/auth0/connections/scim_configuration/client.rb @@ -26,11 +26,9 @@ def initialize(client:) # @return [Auth0::Types::ListSCIMConfigurationsResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[from take] query_params = {} query_params["from"] = params[:from] if params.key?(:from) query_params["take"] = params.fetch(:take, 50) - params.except(*query_param_names) Auth0::Internal::CursorItemIterator.new( cursor_field: :next_, @@ -52,7 +50,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListSCIMConfigurationsResponseContent.load(response.body) + parsed_response = Auth0::Types::ListSCIMConfigurationsResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -176,7 +175,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Connections::SCIMConfiguration::Types::UpdateSCIMConfigurationRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/connections/scim_configuration/tokens/client.rb b/lib/auth0/connections/scim_configuration/tokens/client.rb index 773e942f..4f4b1f06 100644 --- a/lib/auth0/connections/scim_configuration/tokens/client.rb +++ b/lib/auth0/connections/scim_configuration/tokens/client.rb @@ -61,7 +61,7 @@ def get(request_options: {}, **params) def create(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Connections::SCIMConfiguration::Tokens::Types::CreateSCIMTokenRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/connections/scim_configuration/tokens/types/create_scim_token_request_content.rb b/lib/auth0/connections/scim_configuration/tokens/types/create_scim_token_request_content.rb index dde6f79a..88d1e225 100644 --- a/lib/auth0/connections/scim_configuration/tokens/types/create_scim_token_request_content.rb +++ b/lib/auth0/connections/scim_configuration/tokens/types/create_scim_token_request_content.rb @@ -7,7 +7,9 @@ module Tokens module Types class CreateSCIMTokenRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :scopes, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :token_lifetime, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/connections/scim_configuration/types/list_scim_configurations_request_parameters.rb b/lib/auth0/connections/scim_configuration/types/list_scim_configurations_request_parameters.rb index 1c3d2df1..ab089c71 100644 --- a/lib/auth0/connections/scim_configuration/types/list_scim_configurations_request_parameters.rb +++ b/lib/auth0/connections/scim_configuration/types/list_scim_configurations_request_parameters.rb @@ -6,6 +6,7 @@ module SCIMConfiguration module Types class ListSCIMConfigurationsRequestParameters < Internal::Types::Model field :from, -> { String }, optional: true, nullable: false + field :take, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/connections/scim_configuration/types/update_scim_configuration_request_content.rb b/lib/auth0/connections/scim_configuration/types/update_scim_configuration_request_content.rb index 27da3596..9f14c373 100644 --- a/lib/auth0/connections/scim_configuration/types/update_scim_configuration_request_content.rb +++ b/lib/auth0/connections/scim_configuration/types/update_scim_configuration_request_content.rb @@ -6,7 +6,9 @@ module SCIMConfiguration module Types class UpdateSCIMConfigurationRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :user_id_attribute, -> { String }, optional: false, nullable: false + field :mapping, -> { Internal::Types::Array[Auth0::Types::SCIMMappingItem] }, optional: false, nullable: false end end diff --git a/lib/auth0/connections/types/create_connection_request_content.rb b/lib/auth0/connections/types/create_connection_request_content.rb index ded5704c..261713ce 100644 --- a/lib/auth0/connections/types/create_connection_request_content.rb +++ b/lib/auth0/connections/types/create_connection_request_content.rb @@ -5,15 +5,25 @@ module Connections module Types class CreateConnectionRequestContent < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :display_name, -> { String }, optional: true, nullable: false + field :strategy, -> { Auth0::Types::ConnectionIdentityProviderEnum }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionPropertiesOptions }, optional: true, nullable: false + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false + field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false + field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false end end diff --git a/lib/auth0/connections/types/get_connection_request_parameters.rb b/lib/auth0/connections/types/get_connection_request_parameters.rb index 3822e9cc..244cdd18 100644 --- a/lib/auth0/connections/types/get_connection_request_parameters.rb +++ b/lib/auth0/connections/types/get_connection_request_parameters.rb @@ -5,7 +5,9 @@ module Connections module Types class GetConnectionRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :fields, -> { String }, optional: true, nullable: false + field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/connections/types/list_connections_query_parameters.rb b/lib/auth0/connections/types/list_connections_query_parameters.rb index da5ccb58..d4ef0cd8 100644 --- a/lib/auth0/connections/types/list_connections_query_parameters.rb +++ b/lib/auth0/connections/types/list_connections_query_parameters.rb @@ -5,10 +5,15 @@ module Connections module Types class ListConnectionsQueryParameters < Internal::Types::Model field :from, -> { String }, optional: true, nullable: false + field :take, -> { Integer }, optional: true, nullable: false + field :strategy, -> { Auth0::Types::ConnectionStrategyEnum }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :fields, -> { String }, optional: true, nullable: false + field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/connections/types/update_connection_request_content.rb b/lib/auth0/connections/types/update_connection_request_content.rb index 12de8ced..f27646b6 100644 --- a/lib/auth0/connections/types/update_connection_request_content.rb +++ b/lib/auth0/connections/types/update_connection_request_content.rb @@ -5,14 +5,23 @@ module Connections module Types class UpdateConnectionRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :display_name, -> { String }, optional: true, nullable: false + field :options, -> { Auth0::Types::UpdateConnectionOptions }, optional: true, nullable: false + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false + field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false + field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false end end diff --git a/lib/auth0/connections/users/client.rb b/lib/auth0/connections/users/client.rb index 89aada29..3d257c5f 100644 --- a/lib/auth0/connections/users/client.rb +++ b/lib/auth0/connections/users/client.rb @@ -27,10 +27,8 @@ def initialize(client:) # @return [untyped] def delete_by_email(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[email] query_params = {} query_params["email"] = params[:email] if params.key?(:email) - params = params.except(*query_param_names) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], diff --git a/lib/auth0/connections/users/types/delete_connection_users_by_email_query_parameters.rb b/lib/auth0/connections/users/types/delete_connection_users_by_email_query_parameters.rb index 5885cf77..3060c19e 100644 --- a/lib/auth0/connections/users/types/delete_connection_users_by_email_query_parameters.rb +++ b/lib/auth0/connections/users/types/delete_connection_users_by_email_query_parameters.rb @@ -6,6 +6,7 @@ module Users module Types class DeleteConnectionUsersByEmailQueryParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :email, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/custom_domains/client.rb b/lib/auth0/custom_domains/client.rb index 81de09de..a86e44f4 100644 --- a/lib/auth0/custom_domains/client.rb +++ b/lib/auth0/custom_domains/client.rb @@ -10,7 +10,7 @@ def initialize(client:) @client = client end - # Retrieve details on custom domains. + # Retrieve details on [custom domains](https://auth0.com/docs/custom-domains). # # @param request_options [Hash] # @param params [Hash] @@ -27,13 +27,11 @@ def initialize(client:) # @return [Array[Auth0::Types::CustomDomain]] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[q fields include_fields sort] query_params = {} query_params["q"] = params[:q] if params.key?(:q) query_params["fields"] = params[:fields] if params.key?(:fields) query_params["include_fields"] = params[:include_fields] if params.key?(:include_fields) query_params["sort"] = params[:sort] if params.key?(:sort) - params.except(*query_param_names) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], @@ -66,7 +64,6 @@ def list(request_options: {}, **params) # - custom_client_ip_header # - tls_policy # - # # TLS Policies: # # - recommended - for modern usage this includes TLS 1.2 only @@ -106,7 +103,7 @@ def create(request_options: {}, **params) # Retrieve the tenant's default domain. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -114,8 +111,7 @@ def create(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::GetDefaultDomainResponseContent] - def get_default(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def get_default(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", @@ -243,26 +239,32 @@ def delete(request_options: {}, **params) # - custom_client_ip_header # - tls_policy # - #
Updating CUSTOM_CLIENT_IP_HEADER for a custom domain
To update the custom_client_ip_header - # for a domain, the body to - # send should be: - #
{ "custom_client_ip_header": "cf-connecting-ip" }
+ # **Updating CUSTOM_CLIENT_IP_HEADER for a custom domain** # - #
Updating TLS_POLICY for a custom domain
To update the tls_policy for a domain, the body to + # To update the `custom_client_ip_header` for a domain, the body to # send should be: - #
{ "tls_policy": "recommended" }
# + # ```json + # { "custom_client_ip_header": "cf-connecting-ip" } + # ``` + # + # **Updating TLS_POLICY for a custom domain** + # + # To update the `tls_policy` for a domain, the body to send should be: + # + # ```json + # { "tls_policy": "recommended" } + # ``` # # TLS Policies: # # - recommended - for modern usage this includes TLS 1.2 only # - # # Some considerations: # # - The TLS ciphers and protocols available in each TLS policy follow industry recommendations, and may be updated # occasionally. - # - The compatible TLS policy is no longer supported. + # - The `compatible` TLS policy is no longer supported. # # @param request_options [Hash] # @param params [Auth0::CustomDomains::Types::UpdateCustomDomainRequestContent] @@ -277,7 +279,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::CustomDomains::Types::UpdateCustomDomainRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( @@ -337,17 +339,17 @@ def test(request_options: {}, **params) # Run the verification process on a custom domain. # - # Note: Check the status field to see its verification status. Once verification is complete, it may - # take up to 10 minutes before the custom domain can start accepting requests. + # Note: Check the `status` field to see its verification status. Once verification is complete, it may take up to + # 10 minutes before the custom domain can start accepting requests. # - # For self_managed_certs, when the custom domain is verified for the first time, the response will - # also include the cname_api_key which you will need to configure your proxy. This key must be kept - # secret, and is used to validate the proxy requests. + # For `self_managed_certs`, when the custom domain is verified for the first time, the response will also include + # the `cname_api_key` which you will need to configure your proxy. This key must be kept secret, and is used to + # validate the proxy requests. # - # Learn more about verifying custom - # domains that use Auth0 Managed certificates. - # Learn more - # about verifying custom domains that use Self Managed certificates. + # [Learn more](https://auth0.com/docs/custom-domains#step-2-verify-ownership) about verifying custom domains that + # use Auth0 Managed certificates. + # [Learn more](https://auth0.com/docs/custom-domains/self-managed-certificates#step-2-verify-ownership) about + # verifying custom domains that use Self Managed certificates. # # @param request_options [Hash] # @param params [Hash] diff --git a/lib/auth0/custom_domains/types/create_custom_domain_request_content.rb b/lib/auth0/custom_domains/types/create_custom_domain_request_content.rb index 66da3627..f95c0eec 100644 --- a/lib/auth0/custom_domains/types/create_custom_domain_request_content.rb +++ b/lib/auth0/custom_domains/types/create_custom_domain_request_content.rb @@ -5,11 +5,17 @@ module CustomDomains module Types class CreateCustomDomainRequestContent < Internal::Types::Model field :domain, -> { String }, optional: false, nullable: false + field :type, -> { Auth0::Types::CustomDomainProvisioningTypeEnum }, optional: false, nullable: false + field :verification_method, -> { Auth0::Types::CustomDomainVerificationMethodEnum }, optional: true, nullable: false + field :tls_policy, -> { Auth0::Types::CustomDomainTLSPolicyEnum }, optional: true, nullable: false + field :custom_client_ip_header, -> { Auth0::Types::CustomDomainCustomClientIPHeaderEnum }, optional: true, nullable: false + field :domain_metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false + field :relying_party_identifier, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/custom_domains/types/list_custom_domains_request_parameters.rb b/lib/auth0/custom_domains/types/list_custom_domains_request_parameters.rb index 6339189f..9e723f6d 100644 --- a/lib/auth0/custom_domains/types/list_custom_domains_request_parameters.rb +++ b/lib/auth0/custom_domains/types/list_custom_domains_request_parameters.rb @@ -5,8 +5,11 @@ module CustomDomains module Types class ListCustomDomainsRequestParameters < Internal::Types::Model field :q, -> { String }, optional: true, nullable: false + field :fields, -> { String }, optional: true, nullable: false + field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sort, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/custom_domains/types/update_custom_domain_request_content.rb b/lib/auth0/custom_domains/types/update_custom_domain_request_content.rb index 0583d9b2..daa12b55 100644 --- a/lib/auth0/custom_domains/types/update_custom_domain_request_content.rb +++ b/lib/auth0/custom_domains/types/update_custom_domain_request_content.rb @@ -5,9 +5,13 @@ module CustomDomains module Types class UpdateCustomDomainRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :tls_policy, -> { Auth0::Types::CustomDomainTLSPolicyEnum }, optional: true, nullable: false + field :custom_client_ip_header, -> { Auth0::Types::CustomDomainCustomClientIPHeaderEnum }, optional: true, nullable: false + field :domain_metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false + field :relying_party_identifier, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/device_credentials/client.rb b/lib/auth0/device_credentials/client.rb index 6f665fb1..0963f7fd 100644 --- a/lib/auth0/device_credentials/client.rb +++ b/lib/auth0/device_credentials/client.rb @@ -32,7 +32,6 @@ def initialize(client:) # @return [Auth0::Types::ListDeviceCredentialsOffsetPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[page per_page include_totals fields include_fields user_id client_id type] query_params = {} query_params["page"] = params.fetch(:page, 0) query_params["per_page"] = params.fetch(:per_page, 50) @@ -42,13 +41,12 @@ def list(request_options: {}, **params) query_params["user_id"] = params[:user_id] if params.key?(:user_id) query_params["client_id"] = params[:client_id] if params.key?(:client_id) query_params["type"] = params[:type] if params.key?(:type) - params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :device_credentials, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -65,7 +63,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListDeviceCredentialsOffsetPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListDeviceCredentialsOffsetPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/auth0/device_credentials/types/create_public_key_device_credential_request_content.rb b/lib/auth0/device_credentials/types/create_public_key_device_credential_request_content.rb index 65e18c4e..a2a70dd8 100644 --- a/lib/auth0/device_credentials/types/create_public_key_device_credential_request_content.rb +++ b/lib/auth0/device_credentials/types/create_public_key_device_credential_request_content.rb @@ -5,9 +5,13 @@ module DeviceCredentials module Types class CreatePublicKeyDeviceCredentialRequestContent < Internal::Types::Model field :device_name, -> { String }, optional: false, nullable: false + field :type, -> { Auth0::Types::DeviceCredentialPublicKeyTypeEnum }, optional: false, nullable: false + field :value, -> { String }, optional: false, nullable: false + field :device_id, -> { String }, optional: false, nullable: false + field :client_id, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/device_credentials/types/list_device_credentials_request_parameters.rb b/lib/auth0/device_credentials/types/list_device_credentials_request_parameters.rb index 056cafed..466e2c48 100644 --- a/lib/auth0/device_credentials/types/list_device_credentials_request_parameters.rb +++ b/lib/auth0/device_credentials/types/list_device_credentials_request_parameters.rb @@ -5,12 +5,19 @@ module DeviceCredentials module Types class ListDeviceCredentialsRequestParameters < Internal::Types::Model field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :include_totals, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :fields, -> { String }, optional: true, nullable: false + field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :user_id, -> { String }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false + field :type, -> { Auth0::Types::DeviceCredentialTypeEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/email_templates/client.rb b/lib/auth0/email_templates/client.rb index 332046de..076e9c23 100644 --- a/lib/auth0/email_templates/client.rb +++ b/lib/auth0/email_templates/client.rb @@ -96,7 +96,7 @@ def get(request_options: {}, **params) def set(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::EmailTemplates::Types::SetEmailTemplateRequestContent.new(params).to_h - non_body_param_names = ["templateName"] + non_body_param_names = %w[templateName] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( @@ -135,7 +135,7 @@ def set(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::EmailTemplates::Types::UpdateEmailTemplateRequestContent.new(params).to_h - non_body_param_names = ["templateName"] + non_body_param_names = %w[templateName] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/email_templates/types/create_email_template_request_content.rb b/lib/auth0/email_templates/types/create_email_template_request_content.rb index 920b29f1..247207c3 100644 --- a/lib/auth0/email_templates/types/create_email_template_request_content.rb +++ b/lib/auth0/email_templates/types/create_email_template_request_content.rb @@ -5,13 +5,21 @@ module EmailTemplates module Types class CreateEmailTemplateRequestContent < Internal::Types::Model field :template, -> { Auth0::Types::EmailTemplateNameEnum }, optional: false, nullable: false + field :body, -> { String }, optional: true, nullable: false + field :from, -> { String }, optional: true, nullable: false + field :result_url, -> { String }, optional: true, nullable: false, api_name: "resultUrl" + field :subject, -> { String }, optional: true, nullable: false + field :syntax, -> { String }, optional: true, nullable: false + field :url_lifetime_in_seconds, -> { Integer }, optional: true, nullable: false, api_name: "urlLifetimeInSeconds" + field :include_email_in_redirect, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "includeEmailInRedirect" + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/email_templates/types/set_email_template_request_content.rb b/lib/auth0/email_templates/types/set_email_template_request_content.rb index 37f66347..8bc2bc7c 100644 --- a/lib/auth0/email_templates/types/set_email_template_request_content.rb +++ b/lib/auth0/email_templates/types/set_email_template_request_content.rb @@ -5,14 +5,23 @@ module EmailTemplates module Types class SetEmailTemplateRequestContent < Internal::Types::Model field :template_name, -> { Auth0::Types::EmailTemplateNameEnum }, optional: false, nullable: false, api_name: "templateName" + field :template, -> { Auth0::Types::EmailTemplateNameEnum }, optional: false, nullable: false + field :body, -> { String }, optional: true, nullable: false + field :from, -> { String }, optional: true, nullable: false + field :result_url, -> { String }, optional: true, nullable: false, api_name: "resultUrl" + field :subject, -> { String }, optional: true, nullable: false + field :syntax, -> { String }, optional: true, nullable: false + field :url_lifetime_in_seconds, -> { Integer }, optional: true, nullable: false, api_name: "urlLifetimeInSeconds" + field :include_email_in_redirect, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "includeEmailInRedirect" + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/email_templates/types/update_email_template_request_content.rb b/lib/auth0/email_templates/types/update_email_template_request_content.rb index de114150..1cc65960 100644 --- a/lib/auth0/email_templates/types/update_email_template_request_content.rb +++ b/lib/auth0/email_templates/types/update_email_template_request_content.rb @@ -5,14 +5,23 @@ module EmailTemplates module Types class UpdateEmailTemplateRequestContent < Internal::Types::Model field :template_name, -> { Auth0::Types::EmailTemplateNameEnum }, optional: false, nullable: false, api_name: "templateName" + field :template, -> { Auth0::Types::EmailTemplateNameEnum }, optional: true, nullable: false + field :body, -> { String }, optional: true, nullable: false + field :from, -> { String }, optional: true, nullable: false + field :result_url, -> { String }, optional: true, nullable: false, api_name: "resultUrl" + field :subject, -> { String }, optional: true, nullable: false + field :syntax, -> { String }, optional: true, nullable: false + field :url_lifetime_in_seconds, -> { Integer }, optional: true, nullable: false, api_name: "urlLifetimeInSeconds" + field :include_email_in_redirect, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "includeEmailInRedirect" + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/emails/provider/client.rb b/lib/auth0/emails/provider/client.rb index 402c66ea..37f129f2 100644 --- a/lib/auth0/emails/provider/client.rb +++ b/lib/auth0/emails/provider/client.rb @@ -27,11 +27,9 @@ def initialize(client:) # @return [Auth0::Types::GetEmailProviderResponseContent] def get(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[fields include_fields] query_params = {} query_params["fields"] = params[:fields] if params.key?(:fields) query_params["include_fields"] = params[:include_fields] if params.key?(:include_fields) - params.except(*query_param_names) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], @@ -141,7 +139,7 @@ def create(request_options: {}, **params) # Delete the email provider. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -149,8 +147,7 @@ def create(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # # @return [untyped] - def delete(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def delete(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "DELETE", diff --git a/lib/auth0/emails/provider/types/create_email_provider_request_content.rb b/lib/auth0/emails/provider/types/create_email_provider_request_content.rb index 8efc5535..c2982c69 100644 --- a/lib/auth0/emails/provider/types/create_email_provider_request_content.rb +++ b/lib/auth0/emails/provider/types/create_email_provider_request_content.rb @@ -6,9 +6,13 @@ module Provider module Types class CreateEmailProviderRequestContent < Internal::Types::Model field :name, -> { Auth0::Types::EmailProviderNameEnum }, optional: false, nullable: false + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :default_from_address, -> { String }, optional: true, nullable: false + field :credentials, -> { Auth0::Types::EmailProviderCredentialsSchema }, optional: false, nullable: false + field :settings, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/emails/provider/types/get_email_provider_request_parameters.rb b/lib/auth0/emails/provider/types/get_email_provider_request_parameters.rb index 8f3bc641..85e82b1f 100644 --- a/lib/auth0/emails/provider/types/get_email_provider_request_parameters.rb +++ b/lib/auth0/emails/provider/types/get_email_provider_request_parameters.rb @@ -6,6 +6,7 @@ module Provider module Types class GetEmailProviderRequestParameters < Internal::Types::Model field :fields, -> { String }, optional: true, nullable: false + field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/emails/provider/types/update_email_provider_request_content.rb b/lib/auth0/emails/provider/types/update_email_provider_request_content.rb index 6a52c6f0..32460b08 100644 --- a/lib/auth0/emails/provider/types/update_email_provider_request_content.rb +++ b/lib/auth0/emails/provider/types/update_email_provider_request_content.rb @@ -6,9 +6,13 @@ module Provider module Types class UpdateEmailProviderRequestContent < Internal::Types::Model field :name, -> { Auth0::Types::EmailProviderNameEnum }, optional: true, nullable: false + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :default_from_address, -> { String }, optional: true, nullable: false + field :credentials, -> { Auth0::Types::EmailProviderCredentialsSchema }, optional: true, nullable: false + field :settings, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/event_streams/client.rb b/lib/auth0/event_streams/client.rb index bce47886..78c96120 100644 --- a/lib/auth0/event_streams/client.rb +++ b/lib/auth0/event_streams/client.rb @@ -23,11 +23,9 @@ def initialize(client:) # @return [Auth0::Types::ListEventStreamsResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[from take] query_params = {} query_params["from"] = params[:from] if params.key?(:from) query_params["take"] = params.fetch(:take, 50) - params.except(*query_param_names) Auth0::Internal::CursorItemIterator.new( cursor_field: :next_, @@ -49,7 +47,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListEventStreamsResponseContent.load(response.body) + parsed_response = Auth0::Types::ListEventStreamsResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -164,7 +163,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::EventStreams::Types::UpdateEventStreamRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( @@ -201,7 +200,7 @@ def update(request_options: {}, **params) def test(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::EventStreams::Types::CreateEventStreamTestEventRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/event_streams/deliveries/client.rb b/lib/auth0/event_streams/deliveries/client.rb index d59540f7..3cfbfdb2 100644 --- a/lib/auth0/event_streams/deliveries/client.rb +++ b/lib/auth0/event_streams/deliveries/client.rb @@ -29,7 +29,6 @@ def initialize(client:) # @return [Array[Auth0::Types::EventStreamDelivery]] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[statuses event_types date_from date_to from take] query_params = {} query_params["statuses"] = params[:statuses] if params.key?(:statuses) query_params["event_types"] = params[:event_types] if params.key?(:event_types) @@ -37,7 +36,6 @@ def list(request_options: {}, **params) query_params["date_to"] = params[:date_to] if params.key?(:date_to) query_params["from"] = params[:from] if params.key?(:from) query_params["take"] = params.fetch(:take, 50) - params = params.except(*query_param_names) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], diff --git a/lib/auth0/event_streams/deliveries/types/list_event_stream_deliveries_request_parameters.rb b/lib/auth0/event_streams/deliveries/types/list_event_stream_deliveries_request_parameters.rb index a35f6ad5..b082ab82 100644 --- a/lib/auth0/event_streams/deliveries/types/list_event_stream_deliveries_request_parameters.rb +++ b/lib/auth0/event_streams/deliveries/types/list_event_stream_deliveries_request_parameters.rb @@ -6,11 +6,17 @@ module Deliveries module Types class ListEventStreamDeliveriesRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :statuses, -> { String }, optional: true, nullable: false + field :event_types, -> { String }, optional: true, nullable: false + field :date_from, -> { String }, optional: true, nullable: false + field :date_to, -> { String }, optional: true, nullable: false + field :from, -> { String }, optional: true, nullable: false + field :take, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/event_streams/redeliveries/client.rb b/lib/auth0/event_streams/redeliveries/client.rb index 2857021c..7d8dbae3 100644 --- a/lib/auth0/event_streams/redeliveries/client.rb +++ b/lib/auth0/event_streams/redeliveries/client.rb @@ -24,7 +24,7 @@ def initialize(client:) def create(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::EventStreams::Redeliveries::Types::CreateEventStreamRedeliveryRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/event_streams/redeliveries/types/create_event_stream_redelivery_request_content.rb b/lib/auth0/event_streams/redeliveries/types/create_event_stream_redelivery_request_content.rb index 711fd9e4..321a2bfb 100644 --- a/lib/auth0/event_streams/redeliveries/types/create_event_stream_redelivery_request_content.rb +++ b/lib/auth0/event_streams/redeliveries/types/create_event_stream_redelivery_request_content.rb @@ -6,9 +6,13 @@ module Redeliveries module Types class CreateEventStreamRedeliveryRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :date_from, -> { String }, optional: true, nullable: false + field :date_to, -> { String }, optional: true, nullable: false + field :statuses, -> { Internal::Types::Array[Auth0::Types::EventStreamDeliveryStatusEnum] }, optional: true, nullable: false + field :event_types, -> { Internal::Types::Array[Auth0::Types::EventStreamEventTypeEnum] }, optional: true, nullable: false end end diff --git a/lib/auth0/event_streams/types/create_event_stream_test_event_request_content.rb b/lib/auth0/event_streams/types/create_event_stream_test_event_request_content.rb index c2935fde..b2328ec3 100644 --- a/lib/auth0/event_streams/types/create_event_stream_test_event_request_content.rb +++ b/lib/auth0/event_streams/types/create_event_stream_test_event_request_content.rb @@ -5,7 +5,9 @@ module EventStreams module Types class CreateEventStreamTestEventRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :event_type, -> { Auth0::Types::EventStreamTestEventTypeEnum }, optional: false, nullable: false + field :data, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/event_streams/types/event_streams_create_request.rb b/lib/auth0/event_streams/types/event_streams_create_request.rb index f8c5b34d..f0de9e8b 100644 --- a/lib/auth0/event_streams/types/event_streams_create_request.rb +++ b/lib/auth0/event_streams/types/event_streams_create_request.rb @@ -7,7 +7,9 @@ class EventStreamsCreateRequest < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::CreateEventStreamWebHookRequestContent } + member -> { Auth0::Types::CreateEventStreamEventBridgeRequestContent } + member -> { Auth0::Types::CreateEventStreamActionRequestContent } end end diff --git a/lib/auth0/event_streams/types/list_event_streams_request_parameters.rb b/lib/auth0/event_streams/types/list_event_streams_request_parameters.rb index 514817df..f6c37460 100644 --- a/lib/auth0/event_streams/types/list_event_streams_request_parameters.rb +++ b/lib/auth0/event_streams/types/list_event_streams_request_parameters.rb @@ -5,6 +5,7 @@ module EventStreams module Types class ListEventStreamsRequestParameters < Internal::Types::Model field :from, -> { String }, optional: true, nullable: false + field :take, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/event_streams/types/update_event_stream_request_content.rb b/lib/auth0/event_streams/types/update_event_stream_request_content.rb index 6fc723a0..c18c3725 100644 --- a/lib/auth0/event_streams/types/update_event_stream_request_content.rb +++ b/lib/auth0/event_streams/types/update_event_stream_request_content.rb @@ -5,9 +5,13 @@ module EventStreams module Types class UpdateEventStreamRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :subscriptions, -> { Internal::Types::Array[Auth0::Types::EventStreamSubscription] }, optional: true, nullable: false + field :destination, -> { Auth0::Types::EventStreamDestinationPatch }, optional: true, nullable: false + field :status, -> { Auth0::Types::EventStreamStatusEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/events/client.rb b/lib/auth0/events/client.rb new file mode 100644 index 00000000..ddab0403 --- /dev/null +++ b/lib/auth0/events/client.rb @@ -0,0 +1,54 @@ +# frozen_string_literal: true + +module Auth0 + module Events + class Client + # @param client [Auth0::Internal::Http::RawClient] + # + # @return [void] + def initialize(client:) + @client = client + end + + # Subscribe to events via Server-Sent Events (SSE) + # + # @param request_options [Hash] + # @param params [Hash] + # @option request_options [String] :base_url + # @option request_options [Hash{String => Object}] :additional_headers + # @option request_options [Hash{String => Object}] :additional_query_parameters + # @option request_options [Hash{String => Object}] :additional_body_parameters + # @option request_options [Integer] :timeout_in_seconds + # @option params [String, nil] :from + # @option params [String, nil] :from_timestamp + # @option params [Auth0::Types::EventStreamSubscribeEventsEventTypeEnum, nil] :event_type + # + # @return [untyped] + def subscribe(request_options: {}, **params) + params = Auth0::Internal::Types::Utils.normalize_keys(params) + query_params = {} + query_params["from"] = params[:from] if params.key?(:from) + query_params["from_timestamp"] = params[:from_timestamp] if params.key?(:from_timestamp) + query_params["event_type"] = params[:event_type] if params.key?(:event_type) + + request = Auth0::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "GET", + path: "events", + query: query_params, + request_options: request_options + ) + begin + response = @client.send(request) + rescue Net::HTTPRequestTimeout + raise Auth0::Errors::TimeoutError + end + code = response.code.to_i + return if code.between?(200, 299) + + error_class = Auth0::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + end + end +end diff --git a/lib/auth0/events/types/subscribe_events_request_parameters.rb b/lib/auth0/events/types/subscribe_events_request_parameters.rb new file mode 100644 index 00000000..57362a2e --- /dev/null +++ b/lib/auth0/events/types/subscribe_events_request_parameters.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Auth0 + module Events + module Types + class SubscribeEventsRequestParameters < Internal::Types::Model + field :from, -> { String }, optional: true, nullable: false + + field :from_timestamp, -> { String }, optional: true, nullable: false + + field :event_type, -> { Auth0::Types::EventStreamSubscribeEventsEventTypeEnum }, optional: true, nullable: false + end + end + end +end diff --git a/lib/auth0/flows/client.rb b/lib/auth0/flows/client.rb index ae20e1f8..7227c9ea 100644 --- a/lib/auth0/flows/client.rb +++ b/lib/auth0/flows/client.rb @@ -26,20 +26,18 @@ def initialize(client:) # @return [Auth0::Types::ListFlowsOffsetPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[page per_page include_totals hydrate synchronous] query_params = {} query_params["page"] = params.fetch(:page, 0) query_params["per_page"] = params.fetch(:per_page, 50) query_params["include_totals"] = params.fetch(:include_totals, true) query_params["hydrate"] = params[:hydrate] if params.key?(:hydrate) query_params["synchronous"] = params[:synchronous] if params.key?(:synchronous) - params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :flows, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -56,7 +54,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListFlowsOffsetPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListFlowsOffsetPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -109,10 +108,8 @@ def create(request_options: {}, **params) # @return [Auth0::Types::GetFlowResponseContent] def get(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[hydrate] query_params = {} query_params["hydrate"] = params[:hydrate] if params.key?(:hydrate) - params = params.except(*query_param_names) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], @@ -178,7 +175,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Flows::Types::UpdateFlowRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/flows/executions/client.rb b/lib/auth0/flows/executions/client.rb index db4ff5da..6a255e5d 100644 --- a/lib/auth0/flows/executions/client.rb +++ b/lib/auth0/flows/executions/client.rb @@ -25,11 +25,9 @@ def initialize(client:) # @return [Auth0::Types::ListFlowExecutionsPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[from take] query_params = {} query_params["from"] = params[:from] if params.key?(:from) query_params["take"] = params.fetch(:take, 50) - params = params.except(*query_param_names) Auth0::Internal::CursorItemIterator.new( cursor_field: :next_, @@ -51,7 +49,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListFlowExecutionsPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListFlowExecutionsPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -73,10 +72,8 @@ def list(request_options: {}, **params) # @return [Auth0::Types::GetFlowExecutionResponseContent] def get(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[hydrate] query_params = {} query_params["hydrate"] = params[:hydrate] if params.key?(:hydrate) - params = params.except(*query_param_names) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], diff --git a/lib/auth0/flows/executions/types/get_flow_execution_request_parameters.rb b/lib/auth0/flows/executions/types/get_flow_execution_request_parameters.rb index e0617f8d..00946981 100644 --- a/lib/auth0/flows/executions/types/get_flow_execution_request_parameters.rb +++ b/lib/auth0/flows/executions/types/get_flow_execution_request_parameters.rb @@ -6,7 +6,9 @@ module Executions module Types class GetFlowExecutionRequestParameters < Internal::Types::Model field :flow_id, -> { String }, optional: false, nullable: false + field :execution_id, -> { String }, optional: false, nullable: false + field :hydrate, -> { Auth0::Types::GetFlowExecutionRequestParametersHydrateEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/flows/executions/types/list_flow_executions_request_parameters.rb b/lib/auth0/flows/executions/types/list_flow_executions_request_parameters.rb index dbafbe2b..8e7b7778 100644 --- a/lib/auth0/flows/executions/types/list_flow_executions_request_parameters.rb +++ b/lib/auth0/flows/executions/types/list_flow_executions_request_parameters.rb @@ -6,7 +6,9 @@ module Executions module Types class ListFlowExecutionsRequestParameters < Internal::Types::Model field :flow_id, -> { String }, optional: false, nullable: false + field :from, -> { String }, optional: true, nullable: false + field :take, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/flows/types/create_flow_request_content.rb b/lib/auth0/flows/types/create_flow_request_content.rb index b5250a2c..8891af98 100644 --- a/lib/auth0/flows/types/create_flow_request_content.rb +++ b/lib/auth0/flows/types/create_flow_request_content.rb @@ -5,6 +5,7 @@ module Flows module Types class CreateFlowRequestContent < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :actions, -> { Internal::Types::Array[Auth0::Types::FlowAction] }, optional: true, nullable: false end end diff --git a/lib/auth0/flows/types/get_flow_request_parameters.rb b/lib/auth0/flows/types/get_flow_request_parameters.rb index 901b98e0..2858d99c 100644 --- a/lib/auth0/flows/types/get_flow_request_parameters.rb +++ b/lib/auth0/flows/types/get_flow_request_parameters.rb @@ -5,6 +5,7 @@ module Flows module Types class GetFlowRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :hydrate, -> { Auth0::Types::GetFlowRequestParametersHydrateEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/flows/types/list_flows_request_parameters.rb b/lib/auth0/flows/types/list_flows_request_parameters.rb index 38227d55..2b5c7d8a 100644 --- a/lib/auth0/flows/types/list_flows_request_parameters.rb +++ b/lib/auth0/flows/types/list_flows_request_parameters.rb @@ -5,9 +5,13 @@ module Flows module Types class ListFlowsRequestParameters < Internal::Types::Model field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :include_totals, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :hydrate, -> { Auth0::Types::ListFlowsRequestParametersHydrateEnum }, optional: true, nullable: false + field :synchronous, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/flows/types/update_flow_request_content.rb b/lib/auth0/flows/types/update_flow_request_content.rb index 7a2dd812..e4375fec 100644 --- a/lib/auth0/flows/types/update_flow_request_content.rb +++ b/lib/auth0/flows/types/update_flow_request_content.rb @@ -5,7 +5,9 @@ module Flows module Types class UpdateFlowRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :actions, -> { Internal::Types::Array[Auth0::Types::FlowAction] }, optional: true, nullable: false end end diff --git a/lib/auth0/flows/vault/connections/client.rb b/lib/auth0/flows/vault/connections/client.rb index 3b3ef294..40fc95ec 100644 --- a/lib/auth0/flows/vault/connections/client.rb +++ b/lib/auth0/flows/vault/connections/client.rb @@ -26,18 +26,16 @@ def initialize(client:) # @return [Auth0::Types::ListFlowsVaultConnectionsOffsetPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[page per_page include_totals] query_params = {} query_params["page"] = params.fetch(:page, 0) query_params["per_page"] = params.fetch(:per_page, 50) query_params["include_totals"] = params.fetch(:include_totals, true) - params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :connections, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -54,7 +52,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListFlowsVaultConnectionsOffsetPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListFlowsVaultConnectionsOffsetPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -169,7 +168,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Flows::Vault::Connections::Types::UpdateFlowsVaultConnectionRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/flows/vault/connections/types/list_flows_vault_connections_request_parameters.rb b/lib/auth0/flows/vault/connections/types/list_flows_vault_connections_request_parameters.rb index 16d969ae..2d075f4c 100644 --- a/lib/auth0/flows/vault/connections/types/list_flows_vault_connections_request_parameters.rb +++ b/lib/auth0/flows/vault/connections/types/list_flows_vault_connections_request_parameters.rb @@ -7,7 +7,9 @@ module Connections module Types class ListFlowsVaultConnectionsRequestParameters < Internal::Types::Model field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :include_totals, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/flows/vault/connections/types/update_flows_vault_connection_request_content.rb b/lib/auth0/flows/vault/connections/types/update_flows_vault_connection_request_content.rb index afd8fd10..5677927c 100644 --- a/lib/auth0/flows/vault/connections/types/update_flows_vault_connection_request_content.rb +++ b/lib/auth0/flows/vault/connections/types/update_flows_vault_connection_request_content.rb @@ -7,7 +7,9 @@ module Connections module Types class UpdateFlowsVaultConnectionRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :setup, -> { Auth0::Types::UpdateFlowsVaultConnectionSetup }, optional: true, nullable: false end end diff --git a/lib/auth0/forms/client.rb b/lib/auth0/forms/client.rb index 31e77b36..440327c7 100644 --- a/lib/auth0/forms/client.rb +++ b/lib/auth0/forms/client.rb @@ -25,19 +25,17 @@ def initialize(client:) # @return [Auth0::Types::ListFormsOffsetPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[page per_page include_totals hydrate] query_params = {} query_params["page"] = params.fetch(:page, 0) query_params["per_page"] = params.fetch(:per_page, 50) query_params["include_totals"] = params.fetch(:include_totals, true) query_params["hydrate"] = params[:hydrate] if params.key?(:hydrate) - params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :forms, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -54,7 +52,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListFormsOffsetPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListFormsOffsetPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -107,10 +106,8 @@ def create(request_options: {}, **params) # @return [Auth0::Types::GetFormResponseContent] def get(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[hydrate] query_params = {} query_params["hydrate"] = params[:hydrate] if params.key?(:hydrate) - params = params.except(*query_param_names) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], @@ -176,7 +173,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Forms::Types::UpdateFormRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/forms/types/create_form_request_content.rb b/lib/auth0/forms/types/create_form_request_content.rb index 48af722f..4b1e5cbc 100644 --- a/lib/auth0/forms/types/create_form_request_content.rb +++ b/lib/auth0/forms/types/create_form_request_content.rb @@ -5,12 +5,19 @@ module Forms module Types class CreateFormRequestContent < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :messages, -> { Auth0::Types::FormMessages }, optional: true, nullable: false + field :languages, -> { Auth0::Types::FormLanguages }, optional: true, nullable: false + field :translations, -> { Internal::Types::Hash[String, Internal::Types::Hash[String, Object]] }, optional: true, nullable: false + field :nodes, -> { Internal::Types::Array[Auth0::Types::FormNode] }, optional: true, nullable: false + field :start, -> { Auth0::Types::FormStartNode }, optional: true, nullable: false + field :ending, -> { Auth0::Types::FormEndingNode }, optional: true, nullable: false + field :style, -> { Auth0::Types::FormStyle }, optional: true, nullable: false end end diff --git a/lib/auth0/forms/types/get_form_request_parameters.rb b/lib/auth0/forms/types/get_form_request_parameters.rb index ed7a3b29..8f6fa855 100644 --- a/lib/auth0/forms/types/get_form_request_parameters.rb +++ b/lib/auth0/forms/types/get_form_request_parameters.rb @@ -5,6 +5,7 @@ module Forms module Types class GetFormRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :hydrate, -> { Auth0::Types::FormsRequestParametersHydrateEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/forms/types/list_forms_request_parameters.rb b/lib/auth0/forms/types/list_forms_request_parameters.rb index 157e8c53..3e0d4c2a 100644 --- a/lib/auth0/forms/types/list_forms_request_parameters.rb +++ b/lib/auth0/forms/types/list_forms_request_parameters.rb @@ -5,8 +5,11 @@ module Forms module Types class ListFormsRequestParameters < Internal::Types::Model field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :include_totals, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :hydrate, -> { Auth0::Types::FormsRequestParametersHydrateEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/forms/types/update_form_request_content.rb b/lib/auth0/forms/types/update_form_request_content.rb index 7727f71b..3c05e6de 100644 --- a/lib/auth0/forms/types/update_form_request_content.rb +++ b/lib/auth0/forms/types/update_form_request_content.rb @@ -5,13 +5,21 @@ module Forms module Types class UpdateFormRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :messages, -> { Auth0::Types::FormMessages }, optional: true, nullable: false + field :languages, -> { Auth0::Types::FormLanguages }, optional: true, nullable: false + field :translations, -> { Internal::Types::Hash[String, Internal::Types::Hash[String, Object]] }, optional: true, nullable: false + field :nodes, -> { Internal::Types::Array[Auth0::Types::FormNode] }, optional: true, nullable: false + field :start, -> { Auth0::Types::FormStartNode }, optional: true, nullable: false + field :ending, -> { Auth0::Types::FormEndingNode }, optional: true, nullable: false + field :style, -> { Auth0::Types::FormStyle }, optional: true, nullable: false end end diff --git a/lib/auth0/groups/client.rb b/lib/auth0/groups/client.rb index 063e8441..ee95275f 100644 --- a/lib/auth0/groups/client.rb +++ b/lib/auth0/groups/client.rb @@ -22,6 +22,7 @@ def initialize(client:) # @option params [String, nil] :connection_id # @option params [String, nil] :name # @option params [String, nil] :external_id + # @option params [String, nil] :search # @option params [String, nil] :fields # @option params [Boolean, nil] :include_fields # @option params [String, nil] :from @@ -30,16 +31,15 @@ def initialize(client:) # @return [Auth0::Types::ListGroupsPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[connection_id name external_id fields include_fields from take] query_params = {} query_params["connection_id"] = params[:connection_id] if params.key?(:connection_id) query_params["name"] = params[:name] if params.key?(:name) query_params["external_id"] = params[:external_id] if params.key?(:external_id) + query_params["search"] = params[:search] if params.key?(:search) query_params["fields"] = params[:fields] if params.key?(:fields) query_params["include_fields"] = params[:include_fields] if params.key?(:include_fields) query_params["from"] = params[:from] if params.key?(:from) query_params["take"] = params.fetch(:take, 50) - params.except(*query_param_names) Auth0::Internal::CursorItemIterator.new( cursor_field: :next_, @@ -61,7 +61,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListGroupsPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListGroupsPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/auth0/groups/members/client.rb b/lib/auth0/groups/members/client.rb index 62fea957..75f94580 100644 --- a/lib/auth0/groups/members/client.rb +++ b/lib/auth0/groups/members/client.rb @@ -29,13 +29,11 @@ def initialize(client:) # @return [Auth0::Types::GetGroupMembersResponseContent] def get(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[fields include_fields from take] query_params = {} query_params["fields"] = params[:fields] if params.key?(:fields) query_params["include_fields"] = params[:include_fields] if params.key?(:include_fields) query_params["from"] = params[:from] if params.key?(:from) query_params["take"] = params.fetch(:take, 50) - params = params.except(*query_param_names) Auth0::Internal::CursorItemIterator.new( cursor_field: :next_, @@ -57,7 +55,8 @@ def get(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::GetGroupMembersResponseContent.load(response.body) + parsed_response = Auth0::Types::GetGroupMembersResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/auth0/groups/members/types/get_group_members_request_parameters.rb b/lib/auth0/groups/members/types/get_group_members_request_parameters.rb index ec768b2a..ca40e82b 100644 --- a/lib/auth0/groups/members/types/get_group_members_request_parameters.rb +++ b/lib/auth0/groups/members/types/get_group_members_request_parameters.rb @@ -6,9 +6,13 @@ module Members module Types class GetGroupMembersRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :fields, -> { String }, optional: true, nullable: false + field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :from, -> { String }, optional: true, nullable: false + field :take, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/groups/types/list_groups_request_parameters.rb b/lib/auth0/groups/types/list_groups_request_parameters.rb index a53149fd..72a1e476 100644 --- a/lib/auth0/groups/types/list_groups_request_parameters.rb +++ b/lib/auth0/groups/types/list_groups_request_parameters.rb @@ -5,11 +5,19 @@ module Groups module Types class ListGroupsRequestParameters < Internal::Types::Model field :connection_id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :external_id, -> { String }, optional: true, nullable: false + + field :search, -> { String }, optional: true, nullable: false + field :fields, -> { String }, optional: true, nullable: false + field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :from, -> { String }, optional: true, nullable: false + field :take, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/guardian/enrollments/types/create_guardian_enrollment_ticket_request_content.rb b/lib/auth0/guardian/enrollments/types/create_guardian_enrollment_ticket_request_content.rb index 0b94d7a7..1a9183f1 100644 --- a/lib/auth0/guardian/enrollments/types/create_guardian_enrollment_ticket_request_content.rb +++ b/lib/auth0/guardian/enrollments/types/create_guardian_enrollment_ticket_request_content.rb @@ -6,10 +6,15 @@ module Enrollments module Types class CreateGuardianEnrollmentTicketRequestContent < Internal::Types::Model field :user_id, -> { String }, optional: false, nullable: false + field :email, -> { String }, optional: true, nullable: false + field :send_mail, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :email_locale, -> { String }, optional: true, nullable: false + field :factor, -> { Auth0::Types::GuardianEnrollmentFactorEnum }, optional: true, nullable: false + field :allow_multiple_enrollments, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/guardian/factors/client.rb b/lib/auth0/guardian/factors/client.rb index b4203652..cd9726b0 100644 --- a/lib/auth0/guardian/factors/client.rb +++ b/lib/auth0/guardian/factors/client.rb @@ -16,7 +16,7 @@ def initialize(client:) # authentication factors associated with your tenant. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -24,8 +24,7 @@ def initialize(client:) # @option request_options [Integer] :timeout_in_seconds # # @return [Array[Auth0::Types::GuardianFactor]] - def list(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def list(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", @@ -59,7 +58,7 @@ def list(request_options: {}, **params) def set(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Guardian::Factors::Types::SetGuardianFactorRequestContent.new(params).to_h - non_body_param_names = ["name"] + non_body_param_names = %w[name] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/guardian/factors/duo/settings/client.rb b/lib/auth0/guardian/factors/duo/settings/client.rb index d4bf46f7..2aaed9a7 100644 --- a/lib/auth0/guardian/factors/duo/settings/client.rb +++ b/lib/auth0/guardian/factors/duo/settings/client.rb @@ -16,7 +16,7 @@ def initialize(client:) # Retrieves the DUO account and factor configuration. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -24,8 +24,7 @@ def initialize(client:) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::GetGuardianFactorDuoSettingsResponseContent] - def get(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def get(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", diff --git a/lib/auth0/guardian/factors/duo/settings/types/set_guardian_factor_duo_settings_request_content.rb b/lib/auth0/guardian/factors/duo/settings/types/set_guardian_factor_duo_settings_request_content.rb index c66b39d7..4b8db956 100644 --- a/lib/auth0/guardian/factors/duo/settings/types/set_guardian_factor_duo_settings_request_content.rb +++ b/lib/auth0/guardian/factors/duo/settings/types/set_guardian_factor_duo_settings_request_content.rb @@ -8,7 +8,9 @@ module Settings module Types class SetGuardianFactorDuoSettingsRequestContent < Internal::Types::Model field :ikey, -> { String }, optional: true, nullable: false + field :skey, -> { String }, optional: true, nullable: false + field :host, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/guardian/factors/duo/settings/types/update_guardian_factor_duo_settings_request_content.rb b/lib/auth0/guardian/factors/duo/settings/types/update_guardian_factor_duo_settings_request_content.rb index 601e59fc..f5f63245 100644 --- a/lib/auth0/guardian/factors/duo/settings/types/update_guardian_factor_duo_settings_request_content.rb +++ b/lib/auth0/guardian/factors/duo/settings/types/update_guardian_factor_duo_settings_request_content.rb @@ -8,7 +8,9 @@ module Settings module Types class UpdateGuardianFactorDuoSettingsRequestContent < Internal::Types::Model field :ikey, -> { String }, optional: true, nullable: false + field :skey, -> { String }, optional: true, nullable: false + field :host, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/guardian/factors/phone/client.rb b/lib/auth0/guardian/factors/phone/client.rb index 6c469df9..5ff2f8cd 100644 --- a/lib/auth0/guardian/factors/phone/client.rb +++ b/lib/auth0/guardian/factors/phone/client.rb @@ -17,7 +17,7 @@ def initialize(client:) # MFA factors (i.e., sms and voice) that are enabled for your tenant. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -25,8 +25,7 @@ def initialize(client:) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::GetGuardianFactorPhoneMessageTypesResponseContent] - def get_message_types(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def get_message_types(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", @@ -89,7 +88,7 @@ def set_message_types(request_options: {}, **params) # SMS and Voice Notifications for MFA. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -97,8 +96,7 @@ def set_message_types(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::GetGuardianFactorsProviderPhoneTwilioResponseContent] - def get_twilio_provider(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def get_twilio_provider(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", @@ -159,7 +157,7 @@ def set_twilio_provider(request_options: {}, **params) # Retrieve details of the multi-factor authentication phone provider configured for your tenant. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -167,8 +165,7 @@ def set_twilio_provider(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::GetGuardianFactorsProviderPhoneResponseContent] - def get_selected_provider(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def get_selected_provider(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", @@ -225,7 +222,7 @@ def set_provider(request_options: {}, **params) # factors available in your tenant. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -233,8 +230,7 @@ def set_provider(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::GetGuardianFactorPhoneTemplatesResponseContent] - def get_templates(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def get_templates(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", diff --git a/lib/auth0/guardian/factors/phone/types/set_guardian_factor_phone_templates_request_content.rb b/lib/auth0/guardian/factors/phone/types/set_guardian_factor_phone_templates_request_content.rb index 3fbcb8d1..95f07938 100644 --- a/lib/auth0/guardian/factors/phone/types/set_guardian_factor_phone_templates_request_content.rb +++ b/lib/auth0/guardian/factors/phone/types/set_guardian_factor_phone_templates_request_content.rb @@ -7,6 +7,7 @@ module Phone module Types class SetGuardianFactorPhoneTemplatesRequestContent < Internal::Types::Model field :enrollment_message, -> { String }, optional: false, nullable: false + field :verification_message, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/guardian/factors/phone/types/set_guardian_factors_provider_phone_twilio_request_content.rb b/lib/auth0/guardian/factors/phone/types/set_guardian_factors_provider_phone_twilio_request_content.rb index a4ac3c2c..33abebad 100644 --- a/lib/auth0/guardian/factors/phone/types/set_guardian_factors_provider_phone_twilio_request_content.rb +++ b/lib/auth0/guardian/factors/phone/types/set_guardian_factors_provider_phone_twilio_request_content.rb @@ -7,8 +7,11 @@ module Phone module Types class SetGuardianFactorsProviderPhoneTwilioRequestContent < Internal::Types::Model field :from, -> { String }, optional: true, nullable: false + field :messaging_service_sid, -> { String }, optional: true, nullable: false + field :auth_token, -> { String }, optional: true, nullable: false + field :sid, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/guardian/factors/push_notification/client.rb b/lib/auth0/guardian/factors/push_notification/client.rb index 7520e075..52216b55 100644 --- a/lib/auth0/guardian/factors/push_notification/client.rb +++ b/lib/auth0/guardian/factors/push_notification/client.rb @@ -16,7 +16,7 @@ def initialize(client:) # tenant. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -24,8 +24,7 @@ def initialize(client:) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::GetGuardianFactorsProviderApnsResponseContent] - def get_apns_provider(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def get_apns_provider(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", @@ -259,7 +258,7 @@ def update_fcmv1provider(request_options: {}, **params) # Push Notifications for MFA. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -267,8 +266,7 @@ def update_fcmv1provider(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::GetGuardianFactorsProviderSnsResponseContent] - def get_sns_provider(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def get_sns_provider(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", @@ -364,7 +362,7 @@ def update_sns_provider(request_options: {}, **params) # Push Notifications for MFA. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -372,8 +370,7 @@ def update_sns_provider(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::GetGuardianFactorsProviderPushNotificationResponseContent] - def get_selected_provider(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def get_selected_provider(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", diff --git a/lib/auth0/guardian/factors/push_notification/types/set_guardian_factors_provider_push_notification_apns_request_content.rb b/lib/auth0/guardian/factors/push_notification/types/set_guardian_factors_provider_push_notification_apns_request_content.rb index 93ce7a13..a1629a2b 100644 --- a/lib/auth0/guardian/factors/push_notification/types/set_guardian_factors_provider_push_notification_apns_request_content.rb +++ b/lib/auth0/guardian/factors/push_notification/types/set_guardian_factors_provider_push_notification_apns_request_content.rb @@ -7,7 +7,9 @@ module PushNotification module Types class SetGuardianFactorsProviderPushNotificationApnsRequestContent < Internal::Types::Model field :sandbox, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :bundle_id, -> { String }, optional: true, nullable: false + field :p12, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/guardian/factors/push_notification/types/set_guardian_factors_provider_push_notification_sns_request_content.rb b/lib/auth0/guardian/factors/push_notification/types/set_guardian_factors_provider_push_notification_sns_request_content.rb index 8eac497b..a50f6d0c 100644 --- a/lib/auth0/guardian/factors/push_notification/types/set_guardian_factors_provider_push_notification_sns_request_content.rb +++ b/lib/auth0/guardian/factors/push_notification/types/set_guardian_factors_provider_push_notification_sns_request_content.rb @@ -7,9 +7,13 @@ module PushNotification module Types class SetGuardianFactorsProviderPushNotificationSnsRequestContent < Internal::Types::Model field :aws_access_key_id, -> { String }, optional: true, nullable: false + field :aws_secret_access_key, -> { String }, optional: true, nullable: false + field :aws_region, -> { String }, optional: true, nullable: false + field :sns_apns_platform_application_arn, -> { String }, optional: true, nullable: false + field :sns_gcm_platform_application_arn, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/guardian/factors/push_notification/types/update_guardian_factors_provider_push_notification_apns_request_content.rb b/lib/auth0/guardian/factors/push_notification/types/update_guardian_factors_provider_push_notification_apns_request_content.rb index f4470754..fd37400a 100644 --- a/lib/auth0/guardian/factors/push_notification/types/update_guardian_factors_provider_push_notification_apns_request_content.rb +++ b/lib/auth0/guardian/factors/push_notification/types/update_guardian_factors_provider_push_notification_apns_request_content.rb @@ -7,7 +7,9 @@ module PushNotification module Types class UpdateGuardianFactorsProviderPushNotificationApnsRequestContent < Internal::Types::Model field :sandbox, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :bundle_id, -> { String }, optional: true, nullable: false + field :p12, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/guardian/factors/push_notification/types/update_guardian_factors_provider_push_notification_sns_request_content.rb b/lib/auth0/guardian/factors/push_notification/types/update_guardian_factors_provider_push_notification_sns_request_content.rb index 2004a003..23a672d9 100644 --- a/lib/auth0/guardian/factors/push_notification/types/update_guardian_factors_provider_push_notification_sns_request_content.rb +++ b/lib/auth0/guardian/factors/push_notification/types/update_guardian_factors_provider_push_notification_sns_request_content.rb @@ -7,9 +7,13 @@ module PushNotification module Types class UpdateGuardianFactorsProviderPushNotificationSnsRequestContent < Internal::Types::Model field :aws_access_key_id, -> { String }, optional: true, nullable: false + field :aws_secret_access_key, -> { String }, optional: true, nullable: false + field :aws_region, -> { String }, optional: true, nullable: false + field :sns_apns_platform_application_arn, -> { String }, optional: true, nullable: false + field :sns_gcm_platform_application_arn, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/guardian/factors/sms/client.rb b/lib/auth0/guardian/factors/sms/client.rb index 6d64b279..741669ee 100644 --- a/lib/auth0/guardian/factors/sms/client.rb +++ b/lib/auth0/guardian/factors/sms/client.rb @@ -20,7 +20,7 @@ def initialize(client:) # has the same payload as this one. Please use it instead. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -28,8 +28,7 @@ def initialize(client:) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::GetGuardianFactorsProviderSmsTwilioResponseContent] - def get_twilio_provider(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def get_twilio_provider(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", @@ -96,7 +95,7 @@ def set_twilio_provider(request_options: {}, **params) # for your tenant. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -104,8 +103,7 @@ def set_twilio_provider(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::GetGuardianFactorsProviderSmsResponseContent] - def get_selected_provider(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def get_selected_provider(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", @@ -173,7 +171,7 @@ def set_provider(request_options: {}, **params) # tenant. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -181,8 +179,7 @@ def set_provider(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::GetGuardianFactorSmsTemplatesResponseContent] - def get_templates(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def get_templates(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", diff --git a/lib/auth0/guardian/factors/sms/types/set_guardian_factor_sms_templates_request_content.rb b/lib/auth0/guardian/factors/sms/types/set_guardian_factor_sms_templates_request_content.rb index 5eef9e0c..9c7bc730 100644 --- a/lib/auth0/guardian/factors/sms/types/set_guardian_factor_sms_templates_request_content.rb +++ b/lib/auth0/guardian/factors/sms/types/set_guardian_factor_sms_templates_request_content.rb @@ -7,6 +7,7 @@ module Sms module Types class SetGuardianFactorSmsTemplatesRequestContent < Internal::Types::Model field :enrollment_message, -> { String }, optional: false, nullable: false + field :verification_message, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/guardian/factors/sms/types/set_guardian_factors_provider_sms_twilio_request_content.rb b/lib/auth0/guardian/factors/sms/types/set_guardian_factors_provider_sms_twilio_request_content.rb index f55fc3f7..c07b99c6 100644 --- a/lib/auth0/guardian/factors/sms/types/set_guardian_factors_provider_sms_twilio_request_content.rb +++ b/lib/auth0/guardian/factors/sms/types/set_guardian_factors_provider_sms_twilio_request_content.rb @@ -7,8 +7,11 @@ module Sms module Types class SetGuardianFactorsProviderSmsTwilioRequestContent < Internal::Types::Model field :from, -> { String }, optional: true, nullable: false + field :messaging_service_sid, -> { String }, optional: true, nullable: false + field :auth_token, -> { String }, optional: true, nullable: false + field :sid, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/guardian/factors/types/set_guardian_factor_request_content.rb b/lib/auth0/guardian/factors/types/set_guardian_factor_request_content.rb index 32afc66b..abeadeb2 100644 --- a/lib/auth0/guardian/factors/types/set_guardian_factor_request_content.rb +++ b/lib/auth0/guardian/factors/types/set_guardian_factor_request_content.rb @@ -6,6 +6,7 @@ module Factors module Types class SetGuardianFactorRequestContent < Internal::Types::Model field :name, -> { Auth0::Types::GuardianFactorNameEnum }, optional: false, nullable: false + field :enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false end end diff --git a/lib/auth0/guardian/policies/client.rb b/lib/auth0/guardian/policies/client.rb index a3a9c319..55e989f2 100644 --- a/lib/auth0/guardian/policies/client.rb +++ b/lib/auth0/guardian/policies/client.rb @@ -26,7 +26,7 @@ def initialize(client:) # Pricing for more details. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -34,8 +34,7 @@ def initialize(client:) # @option request_options [Integer] :timeout_in_seconds # # @return [Array[Auth0::Types::MfaPolicyEnum]] - def list(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def list(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", diff --git a/lib/auth0/hooks/client.rb b/lib/auth0/hooks/client.rb index ec2aa9f1..bed74dcc 100644 --- a/lib/auth0/hooks/client.rb +++ b/lib/auth0/hooks/client.rb @@ -10,8 +10,8 @@ def initialize(client:) @client = client end - # Retrieve all hooks. Accepts a list of fields to include or exclude in - # the result. + # Retrieve all [hooks](https://auth0.com/docs/hooks). Accepts a list of fields to include or exclude in the + # result. # # @param request_options [Hash] # @param params [Hash] @@ -30,7 +30,6 @@ def initialize(client:) # @return [Auth0::Types::ListHooksOffsetPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[page per_page include_totals enabled fields trigger_id] query_params = {} query_params["page"] = params.fetch(:page, 0) query_params["per_page"] = params.fetch(:per_page, 50) @@ -38,13 +37,12 @@ def list(request_options: {}, **params) query_params["enabled"] = params[:enabled] if params.key?(:enabled) query_params["fields"] = params[:fields] if params.key?(:fields) query_params["triggerId"] = params[:trigger_id] if params.key?(:trigger_id) - params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :hooks, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -61,7 +59,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListHooksOffsetPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListHooksOffsetPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -103,8 +102,7 @@ def create(request_options: {}, **params) end end - # Retrieve a hook by its ID. Accepts a list of fields to include in the - # result. + # Retrieve [a hook](https://auth0.com/docs/hooks) by its ID. Accepts a list of fields to include in the result. # # @param request_options [Hash] # @param params [Hash] @@ -119,10 +117,8 @@ def create(request_options: {}, **params) # @return [Auth0::Types::GetHookResponseContent] def get(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[fields] query_params = {} query_params["fields"] = params[:fields] if params.key?(:fields) - params = params.except(*query_param_names) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], @@ -192,7 +188,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Hooks::Types::UpdateHookRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/hooks/types/create_hook_request_content.rb b/lib/auth0/hooks/types/create_hook_request_content.rb index d077563f..7074123c 100644 --- a/lib/auth0/hooks/types/create_hook_request_content.rb +++ b/lib/auth0/hooks/types/create_hook_request_content.rb @@ -5,9 +5,13 @@ module Hooks module Types class CreateHookRequestContent < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :script, -> { String }, optional: false, nullable: false + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :dependencies, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false + field :trigger_id, -> { Auth0::Types::HookTriggerIDEnum }, optional: false, nullable: false, api_name: "triggerId" end end diff --git a/lib/auth0/hooks/types/get_hook_request_parameters.rb b/lib/auth0/hooks/types/get_hook_request_parameters.rb index 04a76675..0f957fb3 100644 --- a/lib/auth0/hooks/types/get_hook_request_parameters.rb +++ b/lib/auth0/hooks/types/get_hook_request_parameters.rb @@ -5,6 +5,7 @@ module Hooks module Types class GetHookRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :fields, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/hooks/types/list_hooks_request_parameters.rb b/lib/auth0/hooks/types/list_hooks_request_parameters.rb index 3b72e3dc..47697dc1 100644 --- a/lib/auth0/hooks/types/list_hooks_request_parameters.rb +++ b/lib/auth0/hooks/types/list_hooks_request_parameters.rb @@ -5,10 +5,15 @@ module Hooks module Types class ListHooksRequestParameters < Internal::Types::Model field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :include_totals, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :fields, -> { String }, optional: true, nullable: false + field :trigger_id, -> { Auth0::Types::HookTriggerIDEnum }, optional: true, nullable: false, api_name: "triggerId" end end diff --git a/lib/auth0/hooks/types/update_hook_request_content.rb b/lib/auth0/hooks/types/update_hook_request_content.rb index 9601c121..e0c0112d 100644 --- a/lib/auth0/hooks/types/update_hook_request_content.rb +++ b/lib/auth0/hooks/types/update_hook_request_content.rb @@ -5,9 +5,13 @@ module Hooks module Types class UpdateHookRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :script, -> { String }, optional: true, nullable: false + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :dependencies, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false end end diff --git a/lib/auth0/jobs/errors/types/errors_get_response.rb b/lib/auth0/jobs/errors/types/errors_get_response.rb index c568d5b5..9a30a23e 100644 --- a/lib/auth0/jobs/errors/types/errors_get_response.rb +++ b/lib/auth0/jobs/errors/types/errors_get_response.rb @@ -8,6 +8,7 @@ class ErrorsGetResponse < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Internal::Types::Array[Auth0::Types::GetJobErrorResponseContent] } + member -> { Auth0::Types::GetJobGenericErrorResponseContent } end end diff --git a/lib/auth0/jobs/users_exports/types/create_export_users_request_content.rb b/lib/auth0/jobs/users_exports/types/create_export_users_request_content.rb index c5b1d4bd..c0bc335b 100644 --- a/lib/auth0/jobs/users_exports/types/create_export_users_request_content.rb +++ b/lib/auth0/jobs/users_exports/types/create_export_users_request_content.rb @@ -6,8 +6,11 @@ module UsersExports module Types class CreateExportUsersRequestContent < Internal::Types::Model field :connection_id, -> { String }, optional: true, nullable: false + field :format, -> { Auth0::Types::JobFileFormatEnum }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :fields, -> { Internal::Types::Array[Auth0::Types::CreateExportUsersFields] }, optional: true, nullable: false end end diff --git a/lib/auth0/jobs/verification_email/types/create_verification_email_request_content.rb b/lib/auth0/jobs/verification_email/types/create_verification_email_request_content.rb index 71a150e4..8b9fd7f2 100644 --- a/lib/auth0/jobs/verification_email/types/create_verification_email_request_content.rb +++ b/lib/auth0/jobs/verification_email/types/create_verification_email_request_content.rb @@ -6,8 +6,11 @@ module VerificationEmail module Types class CreateVerificationEmailRequestContent < Internal::Types::Model field :user_id, -> { String }, optional: false, nullable: false + field :client_id, -> { String }, optional: true, nullable: false + field :identity, -> { Auth0::Types::Identity }, optional: true, nullable: false + field :organization_id, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/keys/custom_signing/client.rb b/lib/auth0/keys/custom_signing/client.rb index 8ba0ddd0..8b2abbaa 100644 --- a/lib/auth0/keys/custom_signing/client.rb +++ b/lib/auth0/keys/custom_signing/client.rb @@ -14,7 +14,7 @@ def initialize(client:) # Get entire jwks representation of custom signing keys. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -22,8 +22,7 @@ def initialize(client:) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::GetCustomSigningKeysResponseContent] - def get(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def get(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", @@ -81,7 +80,7 @@ def set(request_options: {}, **params) # Delete entire jwks representation of custom signing keys. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -89,8 +88,7 @@ def set(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # # @return [untyped] - def delete(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def delete(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "DELETE", diff --git a/lib/auth0/keys/encryption/client.rb b/lib/auth0/keys/encryption/client.rb index 95bad836..dd233eb1 100644 --- a/lib/auth0/keys/encryption/client.rb +++ b/lib/auth0/keys/encryption/client.rb @@ -27,18 +27,16 @@ def initialize(client:) # @return [Auth0::Types::ListEncryptionKeyOffsetPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[page per_page include_totals] query_params = {} query_params["page"] = params.fetch(:page, 0) query_params["per_page"] = params.fetch(:per_page, 50) query_params["include_totals"] = params.fetch(:include_totals, true) - params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :keys, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -55,7 +53,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListEncryptionKeyOffsetPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListEncryptionKeyOffsetPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -100,7 +99,7 @@ def create(request_options: {}, **params) # Perform rekeying operation on the key hierarchy. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -108,8 +107,7 @@ def create(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # # @return [untyped] - def rekey(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def rekey(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "POST", @@ -177,7 +175,7 @@ def get(request_options: {}, **params) def import(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Keys::Encryption::Types::ImportEncryptionKeyRequestContent.new(params).to_h - non_body_param_names = ["kid"] + non_body_param_names = %w[kid] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/keys/encryption/types/import_encryption_key_request_content.rb b/lib/auth0/keys/encryption/types/import_encryption_key_request_content.rb index 34c6e3c4..62ecaa63 100644 --- a/lib/auth0/keys/encryption/types/import_encryption_key_request_content.rb +++ b/lib/auth0/keys/encryption/types/import_encryption_key_request_content.rb @@ -6,6 +6,7 @@ module Encryption module Types class ImportEncryptionKeyRequestContent < Internal::Types::Model field :kid, -> { String }, optional: false, nullable: false + field :wrapped_key, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/keys/encryption/types/list_encryption_keys_request_parameters.rb b/lib/auth0/keys/encryption/types/list_encryption_keys_request_parameters.rb index f02ab949..b5659570 100644 --- a/lib/auth0/keys/encryption/types/list_encryption_keys_request_parameters.rb +++ b/lib/auth0/keys/encryption/types/list_encryption_keys_request_parameters.rb @@ -6,7 +6,9 @@ module Encryption module Types class ListEncryptionKeysRequestParameters < Internal::Types::Model field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :include_totals, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/keys/signing/client.rb b/lib/auth0/keys/signing/client.rb index 4e034abb..3da55ae6 100644 --- a/lib/auth0/keys/signing/client.rb +++ b/lib/auth0/keys/signing/client.rb @@ -14,7 +14,7 @@ def initialize(client:) # Retrieve details of all the application signing keys associated with your tenant. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -22,8 +22,7 @@ def initialize(client:) # @option request_options [Integer] :timeout_in_seconds # # @return [Array[Auth0::Types::SigningKeys]] - def list(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def list(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", @@ -45,7 +44,7 @@ def list(request_options: {}, **params) # Rotate the application signing key of your tenant. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -53,8 +52,7 @@ def list(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::RotateSigningKeysResponseContent] - def rotate(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def rotate(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "POST", diff --git a/lib/auth0/log_streams/client.rb b/lib/auth0/log_streams/client.rb index 73e61d19..9566b16a 100644 --- a/lib/auth0/log_streams/client.rb +++ b/lib/auth0/log_streams/client.rb @@ -10,75 +10,80 @@ def initialize(client:) @client = client end - # Retrieve details on log streams. - #
Sample Response
[{
-      # 	"id": "string",
-      # 	"name": "string",
-      # 	"type": "eventbridge",
-      # 	"status": "active|paused|suspended",
-      # 	"sink": {
-      # 		"awsAccountId": "string",
-      # 		"awsRegion": "string",
-      # 		"awsPartnerEventSource": "string"
-      # 	}
+      # Retrieve details on [log streams](https://auth0.com/docs/logs/streams).
+      #
+      # **Sample Response**
+      #
+      # ```json
+      # [{
+      #   "id": "string",
+      #   "name": "string",
+      #   "type": "eventbridge",
+      #   "status": "active|paused|suspended",
+      #   "sink": {
+      #     "awsAccountId": "string",
+      #     "awsRegion": "string",
+      #     "awsPartnerEventSource": "string"
+      #   }
       # }, {
-      # 	"id": "string",
-      # 	"name": "string",
-      # 	"type": "http",
-      # 	"status": "active|paused|suspended",
-      # 	"sink": {
-      # 		"httpContentFormat": "JSONLINES|JSONARRAY",
-      # 		"httpContentType": "string",
-      # 		"httpEndpoint": "string",
-      # 		"httpAuthorization": "string"
-      # 	}
+      #   "id": "string",
+      #   "name": "string",
+      #   "type": "http",
+      #   "status": "active|paused|suspended",
+      #   "sink": {
+      #     "httpContentFormat": "JSONLINES|JSONARRAY",
+      #     "httpContentType": "string",
+      #     "httpEndpoint": "string",
+      #     "httpAuthorization": "string"
+      #   }
       # },
       # {
-      # 	"id": "string",
-      # 	"name": "string",
-      # 	"type": "eventgrid",
-      # 	"status": "active|paused|suspended",
-      # 	"sink": {
-      # 		"azureSubscriptionId": "string",
-      # 		"azureResourceGroup": "string",
-      # 		"azureRegion": "string",
-      # 		"azurePartnerTopic": "string"
-      # 	}
+      #   "id": "string",
+      #   "name": "string",
+      #   "type": "eventgrid",
+      #   "status": "active|paused|suspended",
+      #   "sink": {
+      #     "azureSubscriptionId": "string",
+      #     "azureResourceGroup": "string",
+      #     "azureRegion": "string",
+      #     "azurePartnerTopic": "string"
+      #   }
       # },
       # {
-      # 	"id": "string",
-      # 	"name": "string",
-      # 	"type": "splunk",
-      # 	"status": "active|paused|suspended",
-      # 	"sink": {
-      # 		"splunkDomain": "string",
-      # 		"splunkToken": "string",
-      # 		"splunkPort": "string",
-      # 		"splunkSecure": "boolean"
-      # 	}
+      #   "id": "string",
+      #   "name": "string",
+      #   "type": "splunk",
+      #   "status": "active|paused|suspended",
+      #   "sink": {
+      #     "splunkDomain": "string",
+      #     "splunkToken": "string",
+      #     "splunkPort": "string",
+      #     "splunkSecure": "boolean"
+      #   }
       # },
       # {
-      # 	"id": "string",
-      # 	"name": "string",
-      # 	"type": "sumo",
-      # 	"status": "active|paused|suspended",
-      # 	"sink": {
-      # 		"sumoSourceAddress": "string",
-      # 	}
+      #   "id": "string",
+      #   "name": "string",
+      #   "type": "sumo",
+      #   "status": "active|paused|suspended",
+      #   "sink": {
+      #     "sumoSourceAddress": "string"
+      #   }
       # },
       # {
-      # 	"id": "string",
-      # 	"name": "string",
-      # 	"type": "datadog",
-      # 	"status": "active|paused|suspended",
-      # 	"sink": {
-      # 		"datadogRegion": "string",
-      # 		"datadogApiKey": "string"
-      # 	}
-      # }]
+ # "id": "string", + # "name": "string", + # "type": "datadog", + # "status": "active|paused|suspended", + # "sink": { + # "datadogRegion": "string", + # "datadogApiKey": "string" + # } + # }] + # ``` # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -86,8 +91,7 @@ def initialize(client:) # @option request_options [Integer] :timeout_in_seconds # # @return [Array[Auth0::Types::LogStreamResponseSchema]] - def list(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def list(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", @@ -107,139 +111,202 @@ def list(request_options: {}, **params) end # Create a log stream. - #
Log Stream Types
The type of log stream being created determines the properties required - # in the sink payload. - #
HTTP Stream
For an http Stream, the sink properties are listed in the payload - # below - # Request:
{
-      # 	"name": "string",
-      # 	"type": "http",
-      # 	"sink": {
-      # 		"httpEndpoint": "string",
-      # 		"httpContentType": "string",
-      # 		"httpContentFormat": "JSONLINES|JSONARRAY",
-      # 		"httpAuthorization": "string"
-      # 	}
-      # }
- # Response:
{
-      # 	"id": "string",
-      # 	"name": "string",
-      # 	"type": "http",
-      # 	"status": "active",
-      # 	"sink": {
-      # 		"httpEndpoint": "string",
-      # 		"httpContentType": "string",
-      # 		"httpContentFormat": "JSONLINES|JSONARRAY",
-      # 		"httpAuthorization": "string"
-      # 	}
-      # }
- #
Amazon EventBridge Stream
For an eventbridge Stream, the sink properties are - # listed in the payload below - # Request:
{
-      # 	"name": "string",
-      # 	"type": "eventbridge",
-      # 	"sink": {
-      # 		"awsRegion": "string",
-      # 		"awsAccountId": "string"
-      # 	}
-      # }
- # The response will include an additional field awsPartnerEventSource in the sink: - #
{
-      # 	"id": "string",
-      # 	"name": "string",
-      # 	"type": "eventbridge",
-      # 	"status": "active",
-      # 	"sink": {
-      # 		"awsAccountId": "string",
-      # 		"awsRegion": "string",
-      # 		"awsPartnerEventSource": "string"
-      # 	}
-      # }
- #
Azure Event Grid Stream
For an Azure Event Grid Stream, the sink properties - # are listed in the payload below - # Request:
{
-      # 	"name": "string",
-      # 	"type": "eventgrid",
-      # 	"sink": {
-      # 		"azureSubscriptionId": "string",
-      # 		"azureResourceGroup": "string",
-      # 		"azureRegion": "string"
-      # 	}
-      # }
- # Response:
{
-      # 	"id": "string",
-      # 	"name": "string",
-      # 	"type": "http",
-      # 	"status": "active",
-      # 	"sink": {
-      # 		"azureSubscriptionId": "string",
-      # 		"azureResourceGroup": "string",
-      # 		"azureRegion": "string",
-      # 		"azurePartnerTopic": "string"
-      # 	}
-      # }
- #
Datadog Stream
For a Datadog Stream, the sink properties are listed in the - # payload below - # Request:
{
-      # 	"name": "string",
-      # 	"type": "datadog",
-      # 	"sink": {
-      # 		"datadogRegion": "string",
-      # 		"datadogApiKey": "string"
-      # 	}
-      # }
- # Response:
{
-      # 	"id": "string",
-      # 	"name": "string",
-      # 	"type": "datadog",
-      # 	"status": "active",
-      # 	"sink": {
-      # 		"datadogRegion": "string",
-      # 		"datadogApiKey": "string"
-      # 	}
-      # }
- #
Splunk Stream
For a Splunk Stream, the sink properties are listed in the - # payload below - # Request:
{
-      # 	"name": "string",
-      # 	"type": "splunk",
-      # 	"sink": {
-      # 		"splunkDomain": "string",
-      # 		"splunkToken": "string",
-      # 		"splunkPort": "string",
-      # 		"splunkSecure": "boolean"
-      # 	}
-      # }
- # Response:
{
-      # 	"id": "string",
-      # 	"name": "string",
-      # 	"type": "splunk",
-      # 	"status": "active",
-      # 	"sink": {
-      # 		"splunkDomain": "string",
-      # 		"splunkToken": "string",
-      # 		"splunkPort": "string",
-      # 		"splunkSecure": "boolean"
-      # 	}
-      # }
- #
Sumo Logic Stream
For a Sumo Logic Stream, the sink properties are listed in - # the payload below - # Request:
{
-      # 	"name": "string",
-      # 	"type": "sumo",
-      # 	"sink": {
-      # 		"sumoSourceAddress": "string",
-      # 	}
-      # }
- # Response:
{
-      # 	"id": "string",
-      # 	"name": "string",
-      # 	"type": "sumo",
-      # 	"status": "active",
-      # 	"sink": {
-      # 		"sumoSourceAddress": "string",
-      # 	}
-      # }
+ # + # **Log Stream Types** + # + # The `type` of log stream being created determines the properties required in the `sink` payload. + # + # **HTTP Stream** + # + # For an `http` Stream, the `sink` properties are listed in the payload below. + # + # **Request:** + # ```json + # { + # "name": "string", + # "type": "http", + # "sink": { + # "httpEndpoint": "string", + # "httpContentType": "string", + # "httpContentFormat": "JSONLINES|JSONARRAY", + # "httpAuthorization": "string" + # } + # } + # ``` + # + # **Response:** + # ```json + # { + # "id": "string", + # "name": "string", + # "type": "http", + # "status": "active", + # "sink": { + # "httpEndpoint": "string", + # "httpContentType": "string", + # "httpContentFormat": "JSONLINES|JSONARRAY", + # "httpAuthorization": "string" + # } + # } + # ``` + # + # **Amazon EventBridge Stream** + # + # For an `eventbridge` Stream, the `sink` properties are listed in the payload below. + # + # **Request:** + # ```json + # { + # "name": "string", + # "type": "eventbridge", + # "sink": { + # "awsRegion": "string", + # "awsAccountId": "string" + # } + # } + # ``` + # + # The response will include an additional field `awsPartnerEventSource` in the `sink`: + # + # **Response:** + # ```json + # { + # "id": "string", + # "name": "string", + # "type": "eventbridge", + # "status": "active", + # "sink": { + # "awsAccountId": "string", + # "awsRegion": "string", + # "awsPartnerEventSource": "string" + # } + # } + # ``` + # + # **Azure Event Grid Stream** + # + # For an `Azure Event Grid` Stream, the `sink` properties are listed in the payload below. + # + # **Request:** + # ```json + # { + # "name": "string", + # "type": "eventgrid", + # "sink": { + # "azureSubscriptionId": "string", + # "azureResourceGroup": "string", + # "azureRegion": "string" + # } + # } + # ``` + # + # **Response:** + # ```json + # { + # "id": "string", + # "name": "string", + # "type": "http", + # "status": "active", + # "sink": { + # "azureSubscriptionId": "string", + # "azureResourceGroup": "string", + # "azureRegion": "string", + # "azurePartnerTopic": "string" + # } + # } + # ``` + # + # **Datadog Stream** + # + # For a `Datadog` Stream, the `sink` properties are listed in the payload below. + # + # **Request:** + # ```json + # { + # "name": "string", + # "type": "datadog", + # "sink": { + # "datadogRegion": "string", + # "datadogApiKey": "string" + # } + # } + # ``` + # + # **Response:** + # ```json + # { + # "id": "string", + # "name": "string", + # "type": "datadog", + # "status": "active", + # "sink": { + # "datadogRegion": "string", + # "datadogApiKey": "string" + # } + # } + # ``` + # + # **Splunk Stream** + # + # For a `Splunk` Stream, the `sink` properties are listed in the payload below. + # + # **Request:** + # ```json + # { + # "name": "string", + # "type": "splunk", + # "sink": { + # "splunkDomain": "string", + # "splunkToken": "string", + # "splunkPort": "string", + # "splunkSecure": "boolean" + # } + # } + # ``` + # + # **Response:** + # ```json + # { + # "id": "string", + # "name": "string", + # "type": "splunk", + # "status": "active", + # "sink": { + # "splunkDomain": "string", + # "splunkToken": "string", + # "splunkPort": "string", + # "splunkSecure": "boolean" + # } + # } + # ``` + # + # **Sumo Logic Stream** + # + # For a `Sumo Logic` Stream, the `sink` properties are listed in the payload below. + # + # **Request:** + # ```json + # { + # "name": "string", + # "type": "sumo", + # "sink": { + # "sumoSourceAddress": "string" + # } + # } + # ``` + # + # **Response:** + # ```json + # { + # "id": "string", + # "name": "string", + # "type": "sumo", + # "status": "active", + # "sink": { + # "sumoSourceAddress": "string" + # } + # } + # ``` # # @param request_options [Hash] # @param params [Auth0::Types::CreateLogStreamRequestContent] @@ -274,107 +341,157 @@ def create(request_options: {}, **params) end # Retrieve a log stream configuration and status. - #
Sample responses
Amazon EventBridge Log Stream
{
-      # 	"id": "string",
-      # 	"name": "string",
-      # 	"type": "eventbridge",
-      # 	"status": "active|paused|suspended",
-      # 	"sink": {
-      # 		"awsAccountId": "string",
-      # 		"awsRegion": "string",
-      # 		"awsPartnerEventSource": "string"
-      # 	}
-      # }
HTTP Log Stream
{
-      # 	"id": "string",
-      # 	"name": "string",
-      # 	"type": "http",
-      # 	"status": "active|paused|suspended",
-      # 	"sink": {
-      # 		"httpContentFormat": "JSONLINES|JSONARRAY",
-      # 		"httpContentType": "string",
-      # 		"httpEndpoint": "string",
-      # 		"httpAuthorization": "string"
-      # 	}
-      # }
Datadog Log Stream
{
-      # 	"id": "string",
-      # 	"name": "string",
-      # 	"type": "datadog",
-      # 	"status": "active|paused|suspended",
-      # 	"sink": {
-      # 		"datadogRegion": "string",
-      # 		"datadogApiKey": "string"
-      # 	}
-      #
-      # }
Mixpanel
- # - # Request:
{
-      # 	  "name": "string",
-      # 	  "type": "mixpanel",
-      # 	  "sink": {
-      # 		"mixpanelRegion": "string", // "us" | "eu",
-      # 		"mixpanelProjectId": "string",
-      # 		"mixpanelServiceAccountUsername": "string",
-      # 		"mixpanelServiceAccountPassword": "string"
-      # 	  }
-      # 	} 
- # - # - # Response:
{
-      # 		"id": "string",
-      # 		"name": "string",
-      # 		"type": "mixpanel",
-      # 		"status": "active",
-      # 		"sink": {
-      # 		  "mixpanelRegion": "string", // "us" | "eu",
-      # 		  "mixpanelProjectId": "string",
-      # 		  "mixpanelServiceAccountUsername": "string",
-      # 		  "mixpanelServiceAccountPassword": "string" // the following is redacted on return
-      # 		}
-      # 	  } 
- # - #
Segment
- # - # Request:
 {
-      # 	  "name": "string",
-      # 	  "type": "segment",
-      # 	  "sink": {
-      # 		"segmentWriteKey": "string"
-      # 	  }
-      # 	}
- # - # Response:
{
-      # 	  "id": "string",
-      # 	  "name": "string",
-      # 	  "type": "segment",
-      # 	  "status": "active",
-      # 	  "sink": {
-      # 		"segmentWriteKey": "string"
-      # 	  }
-      # 	} 
- # - #
Splunk Log Stream
{
-      # 	"id": "string",
-      # 	"name": "string",
-      # 	"type": "splunk",
-      # 	"status": "active|paused|suspended",
-      # 	"sink": {
-      # 		"splunkDomain": "string",
-      # 		"splunkToken": "string",
-      # 		"splunkPort": "string",
-      # 		"splunkSecure": "boolean"
-      # 	}
-      # }
Sumo Logic Log Stream
{
-      # 	"id": "string",
-      # 	"name": "string",
-      # 	"type": "sumo",
-      # 	"status": "active|paused|suspended",
-      # 	"sink": {
-      # 		"sumoSourceAddress": "string",
-      # 	}
-      # }
Status
The status of a log stream maybe any of the following: - # 1. active - Stream is currently enabled. - # 2. paused - Stream is currently user disabled and will not attempt log delivery. - # 3. suspended - Stream is currently disabled because of errors and will not attempt log delivery. + # + # **Sample responses** + # + # **Amazon EventBridge Log Stream** + # + # ```json + # { + # "id": "string", + # "name": "string", + # "type": "eventbridge", + # "status": "active|paused|suspended", + # "sink": { + # "awsAccountId": "string", + # "awsRegion": "string", + # "awsPartnerEventSource": "string" + # } + # } + # ``` + # + # **HTTP Log Stream** + # + # ```json + # { + # "id": "string", + # "name": "string", + # "type": "http", + # "status": "active|paused|suspended", + # "sink": { + # "httpContentFormat": "JSONLINES|JSONARRAY", + # "httpContentType": "string", + # "httpEndpoint": "string", + # "httpAuthorization": "string" + # } + # } + # ``` + # + # **Datadog Log Stream** + # + # ```json + # { + # "id": "string", + # "name": "string", + # "type": "datadog", + # "status": "active|paused|suspended", + # "sink": { + # "datadogRegion": "string", + # "datadogApiKey": "string" + # } + # } + # ``` + # + # **Mixpanel** + # + # **Request:** + # + # ```json + # { + # "name": "string", + # "type": "mixpanel", + # "sink": { + # "mixpanelRegion": "string", + # "mixpanelProjectId": "string", + # "mixpanelServiceAccountUsername": "string", + # "mixpanelServiceAccountPassword": "string" + # } + # } + # ``` + # + # **Response:** + # + # ```json + # { + # "id": "string", + # "name": "string", + # "type": "mixpanel", + # "status": "active", + # "sink": { + # "mixpanelRegion": "string", + # "mixpanelProjectId": "string", + # "mixpanelServiceAccountUsername": "string", + # "mixpanelServiceAccountPassword": "string" + # } + # } + # ``` + # + # **Segment** + # + # **Request:** + # + # ```json + # { + # "name": "string", + # "type": "segment", + # "sink": { + # "segmentWriteKey": "string" + # } + # } + # ``` + # + # **Response:** + # + # ```json + # { + # "id": "string", + # "name": "string", + # "type": "segment", + # "status": "active", + # "sink": { + # "segmentWriteKey": "string" + # } + # } + # ``` + # + # **Splunk Log Stream** + # + # ```json + # { + # "id": "string", + # "name": "string", + # "type": "splunk", + # "status": "active|paused|suspended", + # "sink": { + # "splunkDomain": "string", + # "splunkToken": "string", + # "splunkPort": "string", + # "splunkSecure": "boolean" + # } + # } + # ``` + # + # **Sumo Logic Log Stream** + # + # ```json + # { + # "id": "string", + # "name": "string", + # "type": "sumo", + # "status": "active|paused|suspended", + # "sink": { + # "sumoSourceAddress": "string" + # } + # } + # ``` + # + # **Status** + # + # The `status` of a log stream maybe any of the following: + # + # 1. `active` - Stream is currently enabled. + # 2. `paused` - Stream is currently user disabled and will not attempt log delivery. + # 3. `suspended` - Stream is currently disabled because of errors and will not attempt log delivery. # # @param request_options [Hash] # @param params [Hash] @@ -441,42 +558,79 @@ def delete(request_options: {}, **params) end # Update a log stream. - #

Examples of how to use the PATCH endpoint.

The following fields may be updated in a PATCH operation: - # Note: For log streams of type eventbridge and - # eventgrid, updating the sink is not permitted. - #
Update the status of a log stream
{
-      # 	"status": "active|paused"
-      # }
- #
Update the name of a log stream
{
-      # 	"name": "string"
-      # }
- #
Update the sink properties of a stream of type http
{
+      #
+      # **Examples of how to use the PATCH endpoint.**
+      #
+      # The following fields may be updated in a PATCH operation:
+      #
+      # - name
+      # - status
+      # - sink
+      #
+      # Note: For log streams of type `eventbridge` and `eventgrid`, updating the `sink` is not permitted.
+      #
+      # **Update the status of a log stream**
+      #
+      # ```json
+      # {
+      #   "status": "active|paused"
+      # }
+      # ```
+      #
+      # **Update the name of a log stream**
+      #
+      # ```json
+      # {
+      #   "name": "string"
+      # }
+      # ```
+      #
+      # **Update the sink properties of a stream of type `http`**
+      #
+      # ```json
+      # {
       #   "sink": {
       #     "httpEndpoint": "string",
       #     "httpContentType": "string",
       #     "httpContentFormat": "JSONARRAY|JSONLINES",
       #     "httpAuthorization": "string"
       #   }
-      # }
- #
Update the sink properties of a stream of type datadog
{
+      # }
+      # ```
+      #
+      # **Update the sink properties of a stream of type `datadog`**
+      #
+      # ```json
+      # {
       #   "sink": {
-      # 		"datadogRegion": "string",
-      # 		"datadogApiKey": "string"
+      #     "datadogRegion": "string",
+      #     "datadogApiKey": "string"
       #   }
-      # }
- #
Update the sink properties of a stream of type splunk
{
+      # }
+      # ```
+      #
+      # **Update the sink properties of a stream of type `splunk`**
+      #
+      # ```json
+      # {
       #   "sink": {
       #     "splunkDomain": "string",
       #     "splunkToken": "string",
       #     "splunkPort": "string",
       #     "splunkSecure": "boolean"
       #   }
-      # }
- #
Update the sink properties of a stream of type sumo
{
+      # }
+      # ```
+      #
+      # **Update the sink properties of a stream of type `sumo`**
+      #
+      # ```json
+      # {
       #   "sink": {
       #     "sumoSourceAddress": "string"
       #   }
-      # }
+ # } + # ``` # # @param request_options [Hash] # @param params [Auth0::LogStreams::Types::UpdateLogStreamRequestContent] @@ -491,7 +645,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::LogStreams::Types::UpdateLogStreamRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/log_streams/types/update_log_stream_request_content.rb b/lib/auth0/log_streams/types/update_log_stream_request_content.rb index 434e7959..5a3206e7 100644 --- a/lib/auth0/log_streams/types/update_log_stream_request_content.rb +++ b/lib/auth0/log_streams/types/update_log_stream_request_content.rb @@ -5,11 +5,17 @@ module LogStreams module Types class UpdateLogStreamRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :status, -> { Auth0::Types::LogStreamStatusEnum }, optional: true, nullable: false + field :is_priority, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isPriority" + field :filters, -> { Internal::Types::Array[Auth0::Types::LogStreamFilter] }, optional: true, nullable: false + field :pii_config, -> { Auth0::Types::LogStreamPiiConfig }, optional: true, nullable: false + field :sink, -> { Auth0::Types::LogStreamSinkPatch }, optional: true, nullable: false end end diff --git a/lib/auth0/logs/client.rb b/lib/auth0/logs/client.rb index e47082d2..9ba503fa 100644 --- a/lib/auth0/logs/client.rb +++ b/lib/auth0/logs/client.rb @@ -75,7 +75,6 @@ def initialize(client:) # @return [Auth0::Types::ListLogOffsetPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[page per_page sort fields include_fields include_totals search] query_params = {} query_params["page"] = params.fetch(:page, 0) query_params["per_page"] = params.fetch(:per_page, 50) @@ -84,13 +83,12 @@ def list(request_options: {}, **params) query_params["include_fields"] = params[:include_fields] if params.key?(:include_fields) query_params["include_totals"] = params.fetch(:include_totals, true) query_params["search"] = params[:search] if params.key?(:search) - params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :logs, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -107,7 +105,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListLogOffsetPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListLogOffsetPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/auth0/logs/types/list_logs_request_parameters.rb b/lib/auth0/logs/types/list_logs_request_parameters.rb index a65ba6a8..08005f59 100644 --- a/lib/auth0/logs/types/list_logs_request_parameters.rb +++ b/lib/auth0/logs/types/list_logs_request_parameters.rb @@ -5,11 +5,17 @@ module Logs module Types class ListLogsRequestParameters < Internal::Types::Model field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :sort, -> { String }, optional: true, nullable: false + field :fields, -> { String }, optional: true, nullable: false + field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :include_totals, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :search, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/network_acls/client.rb b/lib/auth0/network_acls/client.rb index 7254e0cc..fa91f43c 100644 --- a/lib/auth0/network_acls/client.rb +++ b/lib/auth0/network_acls/client.rb @@ -26,18 +26,16 @@ def initialize(client:) # @return [Auth0::Types::ListNetworkACLsOffsetPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[page per_page include_totals] query_params = {} query_params["page"] = params.fetch(:page, 0) query_params["per_page"] = params.fetch(:per_page, 50) query_params["include_totals"] = params.fetch(:include_totals, true) - params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :network_acls, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -54,7 +52,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListNetworkACLsOffsetPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListNetworkACLsOffsetPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -143,7 +142,7 @@ def get(request_options: {}, **params) def set(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::NetworkACLs::Types::SetNetworkACLRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( @@ -214,7 +213,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::NetworkACLs::Types::UpdateNetworkACLRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/network_acls/types/create_network_acl_request_content.rb b/lib/auth0/network_acls/types/create_network_acl_request_content.rb index ebf137c7..9e9fc501 100644 --- a/lib/auth0/network_acls/types/create_network_acl_request_content.rb +++ b/lib/auth0/network_acls/types/create_network_acl_request_content.rb @@ -5,8 +5,11 @@ module NetworkACLs module Types class CreateNetworkACLRequestContent < Internal::Types::Model field :description, -> { String }, optional: false, nullable: false + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :priority, -> { Integer }, optional: true, nullable: false + field :rule, -> { Auth0::Types::NetworkACLRule }, optional: false, nullable: false end end diff --git a/lib/auth0/network_acls/types/list_network_acls_request_parameters.rb b/lib/auth0/network_acls/types/list_network_acls_request_parameters.rb index 76421e85..3ae57692 100644 --- a/lib/auth0/network_acls/types/list_network_acls_request_parameters.rb +++ b/lib/auth0/network_acls/types/list_network_acls_request_parameters.rb @@ -5,7 +5,9 @@ module NetworkACLs module Types class ListNetworkACLsRequestParameters < Internal::Types::Model field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :include_totals, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/network_acls/types/set_network_acl_request_content.rb b/lib/auth0/network_acls/types/set_network_acl_request_content.rb index dea0eeee..ab32a738 100644 --- a/lib/auth0/network_acls/types/set_network_acl_request_content.rb +++ b/lib/auth0/network_acls/types/set_network_acl_request_content.rb @@ -5,9 +5,13 @@ module NetworkACLs module Types class SetNetworkACLRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :description, -> { String }, optional: false, nullable: false + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :priority, -> { Integer }, optional: true, nullable: false + field :rule, -> { Auth0::Types::NetworkACLRule }, optional: false, nullable: false end end diff --git a/lib/auth0/network_acls/types/update_network_acl_request_content.rb b/lib/auth0/network_acls/types/update_network_acl_request_content.rb index 59534269..fa194266 100644 --- a/lib/auth0/network_acls/types/update_network_acl_request_content.rb +++ b/lib/auth0/network_acls/types/update_network_acl_request_content.rb @@ -5,9 +5,13 @@ module NetworkACLs module Types class UpdateNetworkACLRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :description, -> { String }, optional: true, nullable: false + field :active, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :priority, -> { Integer }, optional: true, nullable: false + field :rule, -> { Auth0::Types::NetworkACLRule }, optional: true, nullable: false end end diff --git a/lib/auth0/organizations/client.rb b/lib/auth0/organizations/client.rb index 0ab22efa..a8423232 100644 --- a/lib/auth0/organizations/client.rb +++ b/lib/auth0/organizations/client.rb @@ -48,12 +48,10 @@ def initialize(client:) # @return [Auth0::Types::ListOrganizationsPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[from take sort] query_params = {} query_params["from"] = params[:from] if params.key?(:from) query_params["take"] = params.fetch(:take, 50) query_params["sort"] = params[:sort] if params.key?(:sort) - params.except(*query_param_names) Auth0::Internal::CursorItemIterator.new( cursor_field: :next_, @@ -75,7 +73,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListOrganizationsPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListOrganizationsPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -240,7 +239,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Organizations::Types::UpdateOrganizationRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/organizations/client_grants/client.rb b/lib/auth0/organizations/client_grants/client.rb index 96abfb50..6bd0715e 100644 --- a/lib/auth0/organizations/client_grants/client.rb +++ b/lib/auth0/organizations/client_grants/client.rb @@ -29,7 +29,6 @@ def initialize(client:) # @return [Auth0::Types::ListOrganizationClientGrantsOffsetPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[audience client_id grant_ids page per_page include_totals] query_params = {} query_params["audience"] = params[:audience] if params.key?(:audience) query_params["client_id"] = params[:client_id] if params.key?(:client_id) @@ -37,13 +36,12 @@ def list(request_options: {}, **params) query_params["page"] = params.fetch(:page, 0) query_params["per_page"] = params.fetch(:per_page, 50) query_params["include_totals"] = params.fetch(:include_totals, true) - params = params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :client_grants, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -60,7 +58,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListOrganizationClientGrantsOffsetPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListOrganizationClientGrantsOffsetPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -81,7 +80,7 @@ def list(request_options: {}, **params) def create(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Organizations::ClientGrants::Types::AssociateOrganizationClientGrantRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/organizations/client_grants/types/associate_organization_client_grant_request_content.rb b/lib/auth0/organizations/client_grants/types/associate_organization_client_grant_request_content.rb index 840bfe26..a23f454d 100644 --- a/lib/auth0/organizations/client_grants/types/associate_organization_client_grant_request_content.rb +++ b/lib/auth0/organizations/client_grants/types/associate_organization_client_grant_request_content.rb @@ -6,6 +6,7 @@ module ClientGrants module Types class AssociateOrganizationClientGrantRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :grant_id, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/organizations/client_grants/types/list_organization_client_grants_request_parameters.rb b/lib/auth0/organizations/client_grants/types/list_organization_client_grants_request_parameters.rb index e4aec0ac..c4bfe8d2 100644 --- a/lib/auth0/organizations/client_grants/types/list_organization_client_grants_request_parameters.rb +++ b/lib/auth0/organizations/client_grants/types/list_organization_client_grants_request_parameters.rb @@ -6,11 +6,17 @@ module ClientGrants module Types class ListOrganizationClientGrantsRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :audience, -> { String }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false + field :grant_ids, -> { String }, optional: true, nullable: false + field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :include_totals, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/organizations/connections/client.rb b/lib/auth0/organizations/connections/client.rb index 779cc813..95ba79cf 100644 --- a/lib/auth0/organizations/connections/client.rb +++ b/lib/auth0/organizations/connections/client.rb @@ -27,19 +27,17 @@ def initialize(client:) # @return [Auth0::Types::ListOrganizationAllConnectionsOffsetPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[page per_page include_totals is_enabled] query_params = {} query_params["page"] = params.fetch(:page, 0) query_params["per_page"] = params.fetch(:per_page, 50) query_params["include_totals"] = params.fetch(:include_totals, true) query_params["is_enabled"] = params[:is_enabled] if params.key?(:is_enabled) - params = params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :connections, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -56,7 +54,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListOrganizationAllConnectionsOffsetPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListOrganizationAllConnectionsOffsetPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -77,7 +76,7 @@ def list(request_options: {}, **params) def create(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Organizations::Connections::Types::CreateOrganizationAllConnectionRequestParameters.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/organizations/connections/types/create_organization_all_connection_request_parameters.rb b/lib/auth0/organizations/connections/types/create_organization_all_connection_request_parameters.rb index f3cad991..12772f2b 100644 --- a/lib/auth0/organizations/connections/types/create_organization_all_connection_request_parameters.rb +++ b/lib/auth0/organizations/connections/types/create_organization_all_connection_request_parameters.rb @@ -6,12 +6,19 @@ module Connections module Types class CreateOrganizationAllConnectionRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :organization_connection_name, -> { String }, optional: true, nullable: false + field :assign_membership_on_login, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :is_signup_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :organization_access_level, -> { Auth0::Types::OrganizationAccessLevelEnum }, optional: true, nullable: false + field :is_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :connection_id, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/organizations/connections/types/list_organization_all_connections_request_parameters.rb b/lib/auth0/organizations/connections/types/list_organization_all_connections_request_parameters.rb index d6135bbe..5eaf555a 100644 --- a/lib/auth0/organizations/connections/types/list_organization_all_connections_request_parameters.rb +++ b/lib/auth0/organizations/connections/types/list_organization_all_connections_request_parameters.rb @@ -6,9 +6,13 @@ module Connections module Types class ListOrganizationAllConnectionsRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :include_totals, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :is_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/organizations/connections/types/update_organization_connection_request_parameters.rb b/lib/auth0/organizations/connections/types/update_organization_connection_request_parameters.rb index e32a3938..a17d127e 100644 --- a/lib/auth0/organizations/connections/types/update_organization_connection_request_parameters.rb +++ b/lib/auth0/organizations/connections/types/update_organization_connection_request_parameters.rb @@ -6,12 +6,19 @@ module Connections module Types class UpdateOrganizationConnectionRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :connection_id, -> { String }, optional: false, nullable: false + field :organization_connection_name, -> { String }, optional: true, nullable: false + field :assign_membership_on_login, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :is_signup_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :organization_access_level, -> { Auth0::Types::OrganizationAccessLevelEnumWithNull }, optional: true, nullable: false + field :is_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/organizations/discovery_domains/client.rb b/lib/auth0/organizations/discovery_domains/client.rb index 32e02e97..d764c0db 100644 --- a/lib/auth0/organizations/discovery_domains/client.rb +++ b/lib/auth0/organizations/discovery_domains/client.rb @@ -29,11 +29,9 @@ def initialize(client:) # @return [Auth0::Types::ListOrganizationDiscoveryDomainsResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[from take] query_params = {} query_params["from"] = params[:from] if params.key?(:from) query_params["take"] = params.fetch(:take, 50) - params = params.except(*query_param_names) Auth0::Internal::CursorItemIterator.new( cursor_field: :next_, @@ -55,7 +53,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListOrganizationDiscoveryDomainsResponseContent.load(response.body) + parsed_response = Auth0::Types::ListOrganizationDiscoveryDomainsResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -78,7 +77,7 @@ def list(request_options: {}, **params) def create(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Organizations::DiscoveryDomains::Types::CreateOrganizationDiscoveryDomainRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/organizations/discovery_domains/types/create_organization_discovery_domain_request_content.rb b/lib/auth0/organizations/discovery_domains/types/create_organization_discovery_domain_request_content.rb index 88bd261a..71b772cd 100644 --- a/lib/auth0/organizations/discovery_domains/types/create_organization_discovery_domain_request_content.rb +++ b/lib/auth0/organizations/discovery_domains/types/create_organization_discovery_domain_request_content.rb @@ -6,8 +6,11 @@ module DiscoveryDomains module Types class CreateOrganizationDiscoveryDomainRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :domain, -> { String }, optional: false, nullable: false + field :status, -> { Auth0::Types::OrganizationDiscoveryDomainStatus }, optional: true, nullable: false + field :use_for_organization_discovery, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/organizations/discovery_domains/types/list_organization_discovery_domains_request_parameters.rb b/lib/auth0/organizations/discovery_domains/types/list_organization_discovery_domains_request_parameters.rb index 3d2df283..6199c5e2 100644 --- a/lib/auth0/organizations/discovery_domains/types/list_organization_discovery_domains_request_parameters.rb +++ b/lib/auth0/organizations/discovery_domains/types/list_organization_discovery_domains_request_parameters.rb @@ -6,7 +6,9 @@ module DiscoveryDomains module Types class ListOrganizationDiscoveryDomainsRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :from, -> { String }, optional: true, nullable: false + field :take, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/organizations/discovery_domains/types/update_organization_discovery_domain_request_content.rb b/lib/auth0/organizations/discovery_domains/types/update_organization_discovery_domain_request_content.rb index e993ab93..a3dc830b 100644 --- a/lib/auth0/organizations/discovery_domains/types/update_organization_discovery_domain_request_content.rb +++ b/lib/auth0/organizations/discovery_domains/types/update_organization_discovery_domain_request_content.rb @@ -6,8 +6,11 @@ module DiscoveryDomains module Types class UpdateOrganizationDiscoveryDomainRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :discovery_domain_id, -> { String }, optional: false, nullable: false + field :status, -> { Auth0::Types::OrganizationDiscoveryDomainStatus }, optional: true, nullable: false + field :use_for_organization_discovery, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/organizations/enabled_connections/client.rb b/lib/auth0/organizations/enabled_connections/client.rb index 245ba3f0..3569ad35 100644 --- a/lib/auth0/organizations/enabled_connections/client.rb +++ b/lib/auth0/organizations/enabled_connections/client.rb @@ -30,18 +30,16 @@ def initialize(client:) # @return [Auth0::Types::ListOrganizationConnectionsOffsetPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[page per_page include_totals] query_params = {} query_params["page"] = params.fetch(:page, 0) query_params["per_page"] = params.fetch(:per_page, 50) query_params["include_totals"] = params.fetch(:include_totals, true) - params = params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :enabled_connections, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -58,7 +56,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListOrganizationConnectionsOffsetPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListOrganizationConnectionsOffsetPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -85,7 +84,7 @@ def list(request_options: {}, **params) def add(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Organizations::EnabledConnections::Types::AddOrganizationConnectionRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/organizations/enabled_connections/types/add_organization_connection_request_content.rb b/lib/auth0/organizations/enabled_connections/types/add_organization_connection_request_content.rb index b288d568..81a14a12 100644 --- a/lib/auth0/organizations/enabled_connections/types/add_organization_connection_request_content.rb +++ b/lib/auth0/organizations/enabled_connections/types/add_organization_connection_request_content.rb @@ -6,9 +6,13 @@ module EnabledConnections module Types class AddOrganizationConnectionRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :connection_id, -> { String }, optional: false, nullable: false + field :assign_membership_on_login, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :is_signup_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/organizations/enabled_connections/types/list_organization_connections_request_parameters.rb b/lib/auth0/organizations/enabled_connections/types/list_organization_connections_request_parameters.rb index c1d697af..cdbb50d0 100644 --- a/lib/auth0/organizations/enabled_connections/types/list_organization_connections_request_parameters.rb +++ b/lib/auth0/organizations/enabled_connections/types/list_organization_connections_request_parameters.rb @@ -6,8 +6,11 @@ module EnabledConnections module Types class ListOrganizationConnectionsRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :include_totals, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/organizations/enabled_connections/types/update_organization_connection_request_content.rb b/lib/auth0/organizations/enabled_connections/types/update_organization_connection_request_content.rb index 199332ae..5a79051c 100644 --- a/lib/auth0/organizations/enabled_connections/types/update_organization_connection_request_content.rb +++ b/lib/auth0/organizations/enabled_connections/types/update_organization_connection_request_content.rb @@ -6,9 +6,13 @@ module EnabledConnections module Types class UpdateOrganizationConnectionRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :connection_id, -> { String }, optional: false, nullable: false, api_name: "connectionId" + field :assign_membership_on_login, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :is_signup_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/organizations/invitations/client.rb b/lib/auth0/organizations/invitations/client.rb index 0dcee8da..0b996165 100644 --- a/lib/auth0/organizations/invitations/client.rb +++ b/lib/auth0/organizations/invitations/client.rb @@ -35,7 +35,6 @@ def initialize(client:) # @return [Auth0::Types::ListOrganizationInvitationsOffsetPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[page per_page include_totals fields include_fields sort] query_params = {} query_params["page"] = params.fetch(:page, 0) query_params["per_page"] = params.fetch(:per_page, 50) @@ -43,13 +42,12 @@ def list(request_options: {}, **params) query_params["fields"] = params[:fields] if params.key?(:fields) query_params["include_fields"] = params[:include_fields] if params.key?(:include_fields) query_params["sort"] = params[:sort] if params.key?(:sort) - params = params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :invitations, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -66,7 +64,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListOrganizationInvitationsOffsetPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListOrganizationInvitationsOffsetPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -92,7 +91,7 @@ def list(request_options: {}, **params) def create(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Organizations::Invitations::Types::CreateOrganizationInvitationRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( @@ -131,11 +130,9 @@ def create(request_options: {}, **params) # @return [Auth0::Types::GetOrganizationInvitationResponseContent] def get(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[fields include_fields] query_params = {} query_params["fields"] = params[:fields] if params.key?(:fields) query_params["include_fields"] = params[:include_fields] if params.key?(:include_fields) - params = params.except(*query_param_names) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], diff --git a/lib/auth0/organizations/invitations/types/create_organization_invitation_request_content.rb b/lib/auth0/organizations/invitations/types/create_organization_invitation_request_content.rb index 16ef3b29..e2633a3a 100644 --- a/lib/auth0/organizations/invitations/types/create_organization_invitation_request_content.rb +++ b/lib/auth0/organizations/invitations/types/create_organization_invitation_request_content.rb @@ -6,14 +6,23 @@ module Invitations module Types class CreateOrganizationInvitationRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :inviter, -> { Auth0::Types::OrganizationInvitationInviter }, optional: false, nullable: false + field :invitee, -> { Auth0::Types::OrganizationInvitationInvitee }, optional: false, nullable: false + field :client_id, -> { String }, optional: false, nullable: false + field :connection_id, -> { String }, optional: true, nullable: false + field :app_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :user_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :ttl_sec, -> { Integer }, optional: true, nullable: false + field :roles, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :send_invitation_email, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/organizations/invitations/types/get_organization_invitation_request_parameters.rb b/lib/auth0/organizations/invitations/types/get_organization_invitation_request_parameters.rb index 73eda911..1afef5f1 100644 --- a/lib/auth0/organizations/invitations/types/get_organization_invitation_request_parameters.rb +++ b/lib/auth0/organizations/invitations/types/get_organization_invitation_request_parameters.rb @@ -6,8 +6,11 @@ module Invitations module Types class GetOrganizationInvitationRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :invitation_id, -> { String }, optional: false, nullable: false + field :fields, -> { String }, optional: true, nullable: false + field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/organizations/invitations/types/list_organization_invitations_request_parameters.rb b/lib/auth0/organizations/invitations/types/list_organization_invitations_request_parameters.rb index cfe2eab3..ab56003f 100644 --- a/lib/auth0/organizations/invitations/types/list_organization_invitations_request_parameters.rb +++ b/lib/auth0/organizations/invitations/types/list_organization_invitations_request_parameters.rb @@ -6,11 +6,17 @@ module Invitations module Types class ListOrganizationInvitationsRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :include_totals, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :fields, -> { String }, optional: true, nullable: false + field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sort, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/organizations/members/client.rb b/lib/auth0/organizations/members/client.rb index c79e61b7..9213a220 100644 --- a/lib/auth0/organizations/members/client.rb +++ b/lib/auth0/organizations/members/client.rb @@ -59,13 +59,11 @@ def initialize(client:) # @return [Auth0::Types::ListOrganizationMembersPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[from take fields include_fields] query_params = {} query_params["from"] = params[:from] if params.key?(:from) query_params["take"] = params.fetch(:take, 50) query_params["fields"] = params[:fields] if params.key?(:fields) query_params["include_fields"] = params[:include_fields] if params.key?(:include_fields) - params = params.except(*query_param_names) Auth0::Internal::CursorItemIterator.new( cursor_field: :next_, @@ -87,7 +85,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListOrganizationMembersPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListOrganizationMembersPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -116,7 +115,7 @@ def list(request_options: {}, **params) def create(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Organizations::Members::Types::CreateOrganizationMemberRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( @@ -151,7 +150,7 @@ def create(request_options: {}, **params) def delete(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Organizations::Members::Types::DeleteOrganizationMembersRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/organizations/members/roles/client.rb b/lib/auth0/organizations/members/roles/client.rb index 6b854865..ec26635c 100644 --- a/lib/auth0/organizations/members/roles/client.rb +++ b/lib/auth0/organizations/members/roles/client.rb @@ -34,18 +34,16 @@ def initialize(client:) # @return [Auth0::Types::ListOrganizationMemberRolesOffsetPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[page per_page include_totals] query_params = {} query_params["page"] = params.fetch(:page, 0) query_params["per_page"] = params.fetch(:per_page, 50) query_params["include_totals"] = params.fetch(:include_totals, true) - params = params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :roles, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -62,7 +60,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListOrganizationMemberRolesOffsetPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListOrganizationMemberRolesOffsetPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/auth0/organizations/members/roles/types/assign_organization_member_roles_request_content.rb b/lib/auth0/organizations/members/roles/types/assign_organization_member_roles_request_content.rb index aae9ecc9..ddf5cc04 100644 --- a/lib/auth0/organizations/members/roles/types/assign_organization_member_roles_request_content.rb +++ b/lib/auth0/organizations/members/roles/types/assign_organization_member_roles_request_content.rb @@ -7,7 +7,9 @@ module Roles module Types class AssignOrganizationMemberRolesRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :user_id, -> { String }, optional: false, nullable: false + field :roles, -> { Internal::Types::Array[String] }, optional: false, nullable: false end end diff --git a/lib/auth0/organizations/members/roles/types/delete_organization_member_roles_request_content.rb b/lib/auth0/organizations/members/roles/types/delete_organization_member_roles_request_content.rb index f54dfc59..06a54827 100644 --- a/lib/auth0/organizations/members/roles/types/delete_organization_member_roles_request_content.rb +++ b/lib/auth0/organizations/members/roles/types/delete_organization_member_roles_request_content.rb @@ -7,7 +7,9 @@ module Roles module Types class DeleteOrganizationMemberRolesRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :user_id, -> { String }, optional: false, nullable: false + field :roles, -> { Internal::Types::Array[String] }, optional: false, nullable: false end end diff --git a/lib/auth0/organizations/members/roles/types/list_organization_member_roles_request_parameters.rb b/lib/auth0/organizations/members/roles/types/list_organization_member_roles_request_parameters.rb index bf1bf693..01fcdf43 100644 --- a/lib/auth0/organizations/members/roles/types/list_organization_member_roles_request_parameters.rb +++ b/lib/auth0/organizations/members/roles/types/list_organization_member_roles_request_parameters.rb @@ -7,9 +7,13 @@ module Roles module Types class ListOrganizationMemberRolesRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :user_id, -> { String }, optional: false, nullable: false + field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :include_totals, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/organizations/members/types/create_organization_member_request_content.rb b/lib/auth0/organizations/members/types/create_organization_member_request_content.rb index a478bcc5..15e2bcf7 100644 --- a/lib/auth0/organizations/members/types/create_organization_member_request_content.rb +++ b/lib/auth0/organizations/members/types/create_organization_member_request_content.rb @@ -6,6 +6,7 @@ module Members module Types class CreateOrganizationMemberRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :members, -> { Internal::Types::Array[String] }, optional: false, nullable: false end end diff --git a/lib/auth0/organizations/members/types/delete_organization_members_request_content.rb b/lib/auth0/organizations/members/types/delete_organization_members_request_content.rb index c0b5c0ef..daba811c 100644 --- a/lib/auth0/organizations/members/types/delete_organization_members_request_content.rb +++ b/lib/auth0/organizations/members/types/delete_organization_members_request_content.rb @@ -6,6 +6,7 @@ module Members module Types class DeleteOrganizationMembersRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :members, -> { Internal::Types::Array[String] }, optional: false, nullable: false end end diff --git a/lib/auth0/organizations/members/types/list_organization_members_request_parameters.rb b/lib/auth0/organizations/members/types/list_organization_members_request_parameters.rb index e8a147a1..df97e1d2 100644 --- a/lib/auth0/organizations/members/types/list_organization_members_request_parameters.rb +++ b/lib/auth0/organizations/members/types/list_organization_members_request_parameters.rb @@ -6,9 +6,13 @@ module Members module Types class ListOrganizationMembersRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :from, -> { String }, optional: true, nullable: false + field :take, -> { Integer }, optional: true, nullable: false + field :fields, -> { String }, optional: true, nullable: false + field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/organizations/types/create_organization_request_content.rb b/lib/auth0/organizations/types/create_organization_request_content.rb index 3c9b196c..e1bf105d 100644 --- a/lib/auth0/organizations/types/create_organization_request_content.rb +++ b/lib/auth0/organizations/types/create_organization_request_content.rb @@ -5,10 +5,15 @@ module Organizations module Types class CreateOrganizationRequestContent < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :display_name, -> { String }, optional: true, nullable: false + field :branding, -> { Auth0::Types::OrganizationBranding }, optional: true, nullable: false + field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false + field :enabled_connections, -> { Internal::Types::Array[Auth0::Types::ConnectionForOrganization] }, optional: true, nullable: false + field :token_quota, -> { Auth0::Types::CreateTokenQuota }, optional: true, nullable: false end end diff --git a/lib/auth0/organizations/types/list_organizations_request_parameters.rb b/lib/auth0/organizations/types/list_organizations_request_parameters.rb index 8df53277..8dccfe2f 100644 --- a/lib/auth0/organizations/types/list_organizations_request_parameters.rb +++ b/lib/auth0/organizations/types/list_organizations_request_parameters.rb @@ -5,7 +5,9 @@ module Organizations module Types class ListOrganizationsRequestParameters < Internal::Types::Model field :from, -> { String }, optional: true, nullable: false + field :take, -> { Integer }, optional: true, nullable: false + field :sort, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/organizations/types/update_organization_request_content.rb b/lib/auth0/organizations/types/update_organization_request_content.rb index d063d239..5535eadf 100644 --- a/lib/auth0/organizations/types/update_organization_request_content.rb +++ b/lib/auth0/organizations/types/update_organization_request_content.rb @@ -5,10 +5,15 @@ module Organizations module Types class UpdateOrganizationRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :display_name, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :branding, -> { Auth0::Types::OrganizationBranding }, optional: true, nullable: false + field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false + field :token_quota, -> { Auth0::Types::UpdateTokenQuota }, optional: true, nullable: false end end diff --git a/lib/auth0/prompts/client.rb b/lib/auth0/prompts/client.rb index fb19ad40..ea4837a0 100644 --- a/lib/auth0/prompts/client.rb +++ b/lib/auth0/prompts/client.rb @@ -17,7 +17,7 @@ def initialize(client:) # with Device Biometrics for MFA features. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -25,8 +25,7 @@ def initialize(client:) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::GetSettingsResponseContent] - def get_settings(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def get_settings(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", diff --git a/lib/auth0/prompts/rendering/client.rb b/lib/auth0/prompts/rendering/client.rb index 9ffd74b0..37f05b50 100644 --- a/lib/auth0/prompts/rendering/client.rb +++ b/lib/auth0/prompts/rendering/client.rb @@ -32,7 +32,6 @@ def initialize(client:) # @return [Auth0::Types::ListAculsOffsetPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[fields include_fields page per_page include_totals prompt screen rendering_mode] query_params = {} query_params["fields"] = params[:fields] if params.key?(:fields) query_params["include_fields"] = params[:include_fields] if params.key?(:include_fields) @@ -42,13 +41,12 @@ def list(request_options: {}, **params) query_params["prompt"] = params[:prompt] if params.key?(:prompt) query_params["screen"] = params[:screen] if params.key?(:screen) query_params["rendering_mode"] = params[:rendering_mode] if params.key?(:rendering_mode) - params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :configs, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -65,7 +63,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListAculsOffsetPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListAculsOffsetPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -73,9 +72,9 @@ def list(request_options: {}, **params) end end - # Learn more about configuring - # render settings for advanced customization. + # Learn more about [configuring render + # settings](https://auth0.com/docs/customize/login-pages/advanced-customizations/getting-started/configure-acul-screens) + # for advanced customization. # # @param request_options [Hash] # @param params [Auth0::Prompts::Rendering::Types::BulkUpdateAculRequestContent] @@ -144,9 +143,9 @@ def get(request_options: {}, **params) end end - # Learn more about configuring - # render settings for advanced customization. + # Learn more about [configuring render + # settings](https://auth0.com/docs/customize/login-pages/advanced-customizations/getting-started/configure-acul-screens) + # for advanced customization. # # @param request_options [Hash] # @param params [Auth0::Prompts::Rendering::Types::UpdateAculRequestContent] diff --git a/lib/auth0/prompts/rendering/types/list_aculs_request_parameters.rb b/lib/auth0/prompts/rendering/types/list_aculs_request_parameters.rb index 09a32f04..2be82cfb 100644 --- a/lib/auth0/prompts/rendering/types/list_aculs_request_parameters.rb +++ b/lib/auth0/prompts/rendering/types/list_aculs_request_parameters.rb @@ -6,12 +6,19 @@ module Rendering module Types class ListAculsRequestParameters < Internal::Types::Model field :fields, -> { String }, optional: true, nullable: false + field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :include_totals, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :prompt, -> { String }, optional: true, nullable: false + field :screen, -> { String }, optional: true, nullable: false + field :rendering_mode, -> { Auth0::Types::AculRenderingModeEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/prompts/rendering/types/update_acul_request_content.rb b/lib/auth0/prompts/rendering/types/update_acul_request_content.rb index 5ffb840e..4da90d4d 100644 --- a/lib/auth0/prompts/rendering/types/update_acul_request_content.rb +++ b/lib/auth0/prompts/rendering/types/update_acul_request_content.rb @@ -6,12 +6,19 @@ module Rendering module Types class UpdateAculRequestContent < Internal::Types::Model field :prompt, -> { Auth0::Types::PromptGroupNameEnum }, optional: false, nullable: false + field :screen, -> { Auth0::Types::ScreenGroupNameEnum }, optional: false, nullable: false + field :rendering_mode, -> { Auth0::Types::AculRenderingModeEnum }, optional: true, nullable: false + field :context_configuration, -> { Internal::Types::Array[Auth0::Types::AculContextConfigurationItem] }, optional: true, nullable: false + field :default_head_tags_disabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :use_page_template, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :head_tags, -> { Internal::Types::Array[Auth0::Types::AculHeadTag] }, optional: true, nullable: false + field :filters, -> { Auth0::Types::AculFilters }, optional: true, nullable: false end end diff --git a/lib/auth0/prompts/types/update_settings_request_content.rb b/lib/auth0/prompts/types/update_settings_request_content.rb index 720c7d21..e860335c 100644 --- a/lib/auth0/prompts/types/update_settings_request_content.rb +++ b/lib/auth0/prompts/types/update_settings_request_content.rb @@ -5,7 +5,9 @@ module Prompts module Types class UpdateSettingsRequestContent < Internal::Types::Model field :universal_login_experience, -> { Auth0::Types::UniversalLoginExperienceEnum }, optional: true, nullable: false + field :identifier_first, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :webauthn_platform_first_factor, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/rate_limit_policies/client.rb b/lib/auth0/rate_limit_policies/client.rb new file mode 100644 index 00000000..40c070c1 --- /dev/null +++ b/lib/auth0/rate_limit_policies/client.rb @@ -0,0 +1,197 @@ +# frozen_string_literal: true + +module Auth0 + module RateLimitPolicies + class Client + # @param client [Auth0::Internal::Http::RawClient] + # + # @return [void] + def initialize(client:) + @client = client + end + + # @param request_options [Hash] + # @param params [Hash] + # @option request_options [String] :base_url + # @option request_options [Hash{String => Object}] :additional_headers + # @option request_options [Hash{String => Object}] :additional_query_parameters + # @option request_options [Hash{String => Object}] :additional_body_parameters + # @option request_options [Integer] :timeout_in_seconds + # @option params [Auth0::Types::RateLimitPolicyResourceEnum, nil] :resource + # @option params [Auth0::Types::RateLimitPolicyConsumerEnum, nil] :consumer + # @option params [String, nil] :consumer_selector + # @option params [Integer, nil] :take + # @option params [String, nil] :from + # + # @return [Auth0::Types::ListRateLimitPoliciesPaginatedResponseContent] + def list(request_options: {}, **params) + params = Auth0::Internal::Types::Utils.normalize_keys(params) + query_params = {} + query_params["resource"] = params[:resource] if params.key?(:resource) + query_params["consumer"] = params[:consumer] if params.key?(:consumer) + query_params["consumer_selector"] = params[:consumer_selector] if params.key?(:consumer_selector) + query_params["take"] = params.fetch(:take, 50) + query_params["from"] = params[:from] if params.key?(:from) + + Auth0::Internal::CursorItemIterator.new( + cursor_field: :next_, + item_field: :rate_limit_policies, + initial_cursor: query_params["from"] + ) do |next_cursor| + query_params["from"] = next_cursor + request = Auth0::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "GET", + path: "rate-limit-policies", + query: query_params, + request_options: request_options + ) + begin + response = @client.send(request) + rescue Net::HTTPRequestTimeout + raise Auth0::Errors::TimeoutError + end + code = response.code.to_i + if code.between?(200, 299) + parsed_response = Auth0::Types::ListRateLimitPoliciesPaginatedResponseContent.load(response.body) + [parsed_response, response] + else + error_class = Auth0::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + end + end + + # @param request_options [Hash] + # @param params [Auth0::RateLimitPolicies::Types::CreateRateLimitPolicyRequestContent] + # @option request_options [String] :base_url + # @option request_options [Hash{String => Object}] :additional_headers + # @option request_options [Hash{String => Object}] :additional_query_parameters + # @option request_options [Hash{String => Object}] :additional_body_parameters + # @option request_options [Integer] :timeout_in_seconds + # + # @return [Auth0::Types::CreateRateLimitPolicyResponseContent] + def create(request_options: {}, **params) + params = Auth0::Internal::Types::Utils.normalize_keys(params) + request = Auth0::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "POST", + path: "rate-limit-policies", + body: Auth0::RateLimitPolicies::Types::CreateRateLimitPolicyRequestContent.new(params).to_h, + request_options: request_options + ) + begin + response = @client.send(request) + rescue Net::HTTPRequestTimeout + raise Auth0::Errors::TimeoutError + end + code = response.code.to_i + if code.between?(200, 299) + Auth0::Types::CreateRateLimitPolicyResponseContent.load(response.body) + else + error_class = Auth0::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + end + + # @param request_options [Hash] + # @param params [Hash] + # @option request_options [String] :base_url + # @option request_options [Hash{String => Object}] :additional_headers + # @option request_options [Hash{String => Object}] :additional_query_parameters + # @option request_options [Hash{String => Object}] :additional_body_parameters + # @option request_options [Integer] :timeout_in_seconds + # @option params [String] :id + # + # @return [Auth0::Types::GetRateLimitPolicyResponseContent] + def get(request_options: {}, **params) + params = Auth0::Internal::Types::Utils.normalize_keys(params) + request = Auth0::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "GET", + path: "rate-limit-policies/#{URI.encode_uri_component(params[:id].to_s)}", + request_options: request_options + ) + begin + response = @client.send(request) + rescue Net::HTTPRequestTimeout + raise Auth0::Errors::TimeoutError + end + code = response.code.to_i + if code.between?(200, 299) + Auth0::Types::GetRateLimitPolicyResponseContent.load(response.body) + else + error_class = Auth0::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + end + + # @param request_options [Hash] + # @param params [Hash] + # @option request_options [String] :base_url + # @option request_options [Hash{String => Object}] :additional_headers + # @option request_options [Hash{String => Object}] :additional_query_parameters + # @option request_options [Hash{String => Object}] :additional_body_parameters + # @option request_options [Integer] :timeout_in_seconds + # @option params [String] :id + # + # @return [untyped] + def delete(request_options: {}, **params) + params = Auth0::Internal::Types::Utils.normalize_keys(params) + request = Auth0::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "DELETE", + path: "rate-limit-policies/#{URI.encode_uri_component(params[:id].to_s)}", + request_options: request_options + ) + begin + response = @client.send(request) + rescue Net::HTTPRequestTimeout + raise Auth0::Errors::TimeoutError + end + code = response.code.to_i + return if code.between?(200, 299) + + error_class = Auth0::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + + # @param request_options [Hash] + # @param params [Auth0::RateLimitPolicies::Types::PatchRateLimitPolicyRequestContent] + # @option request_options [String] :base_url + # @option request_options [Hash{String => Object}] :additional_headers + # @option request_options [Hash{String => Object}] :additional_query_parameters + # @option request_options [Hash{String => Object}] :additional_body_parameters + # @option request_options [Integer] :timeout_in_seconds + # @option params [String] :id + # + # @return [Auth0::Types::UpdateRateLimitPolicyResponseContent] + def update(request_options: {}, **params) + params = Auth0::Internal::Types::Utils.normalize_keys(params) + request_data = Auth0::RateLimitPolicies::Types::PatchRateLimitPolicyRequestContent.new(params).to_h + non_body_param_names = %w[id] + body = request_data.except(*non_body_param_names) + + request = Auth0::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "PATCH", + path: "rate-limit-policies/#{URI.encode_uri_component(params[:id].to_s)}", + body: body, + request_options: request_options + ) + begin + response = @client.send(request) + rescue Net::HTTPRequestTimeout + raise Auth0::Errors::TimeoutError + end + code = response.code.to_i + if code.between?(200, 299) + Auth0::Types::UpdateRateLimitPolicyResponseContent.load(response.body) + else + error_class = Auth0::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + end + end + end +end diff --git a/lib/auth0/rate_limit_policies/types/create_rate_limit_policy_request_content.rb b/lib/auth0/rate_limit_policies/types/create_rate_limit_policy_request_content.rb new file mode 100644 index 00000000..8e37fc5d --- /dev/null +++ b/lib/auth0/rate_limit_policies/types/create_rate_limit_policy_request_content.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module Auth0 + module RateLimitPolicies + module Types + class CreateRateLimitPolicyRequestContent < Internal::Types::Model + field :resource, -> { Auth0::Types::RateLimitPolicyResourceEnum }, optional: false, nullable: false + + field :consumer, -> { Auth0::Types::RateLimitPolicyConsumerEnum }, optional: false, nullable: false + + field :consumer_selector, -> { String }, optional: false, nullable: false + + field :configuration, -> { Auth0::Types::RateLimitPolicyConfiguration }, optional: false, nullable: false + end + end + end +end diff --git a/lib/auth0/rate_limit_policies/types/list_rate_limit_policies_request_parameters.rb b/lib/auth0/rate_limit_policies/types/list_rate_limit_policies_request_parameters.rb new file mode 100644 index 00000000..4966166c --- /dev/null +++ b/lib/auth0/rate_limit_policies/types/list_rate_limit_policies_request_parameters.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module Auth0 + module RateLimitPolicies + module Types + class ListRateLimitPoliciesRequestParameters < Internal::Types::Model + field :resource, -> { Auth0::Types::RateLimitPolicyResourceEnum }, optional: true, nullable: false + + field :consumer, -> { Auth0::Types::RateLimitPolicyConsumerEnum }, optional: true, nullable: false + + field :consumer_selector, -> { String }, optional: true, nullable: false + + field :take, -> { Integer }, optional: true, nullable: false + + field :from, -> { String }, optional: true, nullable: false + end + end + end +end diff --git a/lib/auth0/rate_limit_policies/types/patch_rate_limit_policy_request_content.rb b/lib/auth0/rate_limit_policies/types/patch_rate_limit_policy_request_content.rb new file mode 100644 index 00000000..8b0bfc5c --- /dev/null +++ b/lib/auth0/rate_limit_policies/types/patch_rate_limit_policy_request_content.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module RateLimitPolicies + module Types + class PatchRateLimitPolicyRequestContent < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :configuration, -> { Auth0::Types::PatchRateLimitPolicyConfigurationRequestContent }, optional: false, nullable: false + end + end + end +end diff --git a/lib/auth0/refresh_tokens/client.rb b/lib/auth0/refresh_tokens/client.rb index 84d20e89..4e064072 100644 --- a/lib/auth0/refresh_tokens/client.rb +++ b/lib/auth0/refresh_tokens/client.rb @@ -30,7 +30,6 @@ def initialize(client:) # @return [Auth0::Types::GetRefreshTokensPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[user_id client_id from take fields include_fields] query_params = {} query_params["user_id"] = params[:user_id] if params.key?(:user_id) query_params["client_id"] = params[:client_id] if params.key?(:client_id) @@ -38,7 +37,6 @@ def list(request_options: {}, **params) query_params["take"] = params.fetch(:take, 50) query_params["fields"] = params[:fields] if params.key?(:fields) query_params["include_fields"] = params[:include_fields] if params.key?(:include_fields) - params.except(*query_param_names) Auth0::Internal::CursorItemIterator.new( cursor_field: :next_, @@ -60,7 +58,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::GetRefreshTokensPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::GetRefreshTokensPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -68,6 +67,38 @@ def list(request_options: {}, **params) end end + # Revoke refresh tokens in bulk by ID list, user, user+client, or client. + # + # @param request_options [Hash] + # @param params [Auth0::RefreshTokens::Types::RevokeRefreshTokensRequestContent] + # @option request_options [String] :base_url + # @option request_options [Hash{String => Object}] :additional_headers + # @option request_options [Hash{String => Object}] :additional_query_parameters + # @option request_options [Hash{String => Object}] :additional_body_parameters + # @option request_options [Integer] :timeout_in_seconds + # + # @return [untyped] + def revoke(request_options: {}, **params) + params = Auth0::Internal::Types::Utils.normalize_keys(params) + request = Auth0::Internal::JSON::Request.new( + base_url: request_options[:base_url], + method: "POST", + path: "refresh-tokens/revoke", + body: Auth0::RefreshTokens::Types::RevokeRefreshTokensRequestContent.new(params).to_h, + request_options: request_options + ) + begin + response = @client.send(request) + rescue Net::HTTPRequestTimeout + raise Auth0::Errors::TimeoutError + end + code = response.code.to_i + return if code.between?(200, 299) + + error_class = Auth0::Errors::ResponseError.subclass_for_code(code) + raise error_class.new(response.body, code: code) + end + # Retrieve refresh token information. # # @param request_options [Hash] @@ -149,7 +180,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::RefreshTokens::Types::UpdateRefreshTokenRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/refresh_tokens/types/get_refresh_tokens_request_parameters.rb b/lib/auth0/refresh_tokens/types/get_refresh_tokens_request_parameters.rb index ff2b353e..f3c38b88 100644 --- a/lib/auth0/refresh_tokens/types/get_refresh_tokens_request_parameters.rb +++ b/lib/auth0/refresh_tokens/types/get_refresh_tokens_request_parameters.rb @@ -5,10 +5,15 @@ module RefreshTokens module Types class GetRefreshTokensRequestParameters < Internal::Types::Model field :user_id, -> { String }, optional: false, nullable: false + field :client_id, -> { String }, optional: true, nullable: false + field :from, -> { String }, optional: true, nullable: false + field :take, -> { Integer }, optional: true, nullable: false + field :fields, -> { String }, optional: true, nullable: false + field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/refresh_tokens/types/revoke_refresh_tokens_request_content.rb b/lib/auth0/refresh_tokens/types/revoke_refresh_tokens_request_content.rb new file mode 100644 index 00000000..ba3ae8c4 --- /dev/null +++ b/lib/auth0/refresh_tokens/types/revoke_refresh_tokens_request_content.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module Auth0 + module RefreshTokens + module Types + class RevokeRefreshTokensRequestContent < Internal::Types::Model + field :ids, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :user_id, -> { String }, optional: true, nullable: false + + field :client_id, -> { String }, optional: true, nullable: false + + field :audience, -> { String }, optional: true, nullable: false + end + end + end +end diff --git a/lib/auth0/refresh_tokens/types/update_refresh_token_request_content.rb b/lib/auth0/refresh_tokens/types/update_refresh_token_request_content.rb index 0249fe30..3b48c008 100644 --- a/lib/auth0/refresh_tokens/types/update_refresh_token_request_content.rb +++ b/lib/auth0/refresh_tokens/types/update_refresh_token_request_content.rb @@ -5,6 +5,7 @@ module RefreshTokens module Types class UpdateRefreshTokenRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :refresh_token_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/resource_servers/client.rb b/lib/auth0/resource_servers/client.rb index 999a8fba..b42a5e25 100644 --- a/lib/auth0/resource_servers/client.rb +++ b/lib/auth0/resource_servers/client.rb @@ -28,20 +28,18 @@ def initialize(client:) # @return [Auth0::Types::ListResourceServerOffsetPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[identifiers page per_page include_totals include_fields] query_params = {} query_params["identifiers"] = params[:identifiers] if params.key?(:identifiers) query_params["page"] = params.fetch(:page, 0) query_params["per_page"] = params.fetch(:per_page, 50) query_params["include_totals"] = params.fetch(:include_totals, true) query_params["include_fields"] = params[:include_fields] if params.key?(:include_fields) - params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :resource_servers, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -58,7 +56,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListResourceServerOffsetPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListResourceServerOffsetPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -116,10 +115,8 @@ def create(request_options: {}, **params) # @return [Auth0::Types::GetResourceServerResponseContent] def get(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[include_fields] query_params = {} query_params["include_fields"] = params[:include_fields] if params.key?(:include_fields) - params = params.except(*query_param_names) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], @@ -191,7 +188,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::ResourceServers::Types::UpdateResourceServerRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/resource_servers/types/create_resource_server_request_content.rb b/lib/auth0/resource_servers/types/create_resource_server_request_content.rb index 9ebb80f2..b715a4a1 100644 --- a/lib/auth0/resource_servers/types/create_resource_server_request_content.rb +++ b/lib/auth0/resource_servers/types/create_resource_server_request_content.rb @@ -5,21 +5,40 @@ module ResourceServers module Types class CreateResourceServerRequestContent < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :identifier, -> { String }, optional: false, nullable: false + field :scopes, -> { Internal::Types::Array[Auth0::Types::ResourceServerScope] }, optional: true, nullable: false + field :signing_alg, -> { Auth0::Types::SigningAlgorithmEnum }, optional: true, nullable: false + field :signing_secret, -> { String }, optional: true, nullable: false + field :allow_offline_access, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :allow_online_access, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :allow_online_access_with_ephemeral_sessions, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :token_lifetime, -> { Integer }, optional: true, nullable: false + field :token_dialect, -> { Auth0::Types::ResourceServerTokenDialectSchemaEnum }, optional: true, nullable: false + field :skip_consent_for_verifiable_first_party_clients, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :enforce_policies, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :token_encryption, -> { Auth0::Types::ResourceServerTokenEncryption }, optional: true, nullable: false + field :consent_policy, -> { Auth0::Types::ResourceServerConsentPolicyEnum }, optional: true, nullable: false + field :authorization_details, -> { Internal::Types::Array[Object] }, optional: true, nullable: false + field :proof_of_possession, -> { Auth0::Types::ResourceServerProofOfPossession }, optional: true, nullable: false + field :subject_type_authorization, -> { Auth0::Types::ResourceServerSubjectTypeAuthorization }, optional: true, nullable: false + + field :authorization_policy, -> { Auth0::Types::ResourceServerAuthorizationPolicy }, optional: true, nullable: false end end end diff --git a/lib/auth0/resource_servers/types/get_resource_server_request_parameters.rb b/lib/auth0/resource_servers/types/get_resource_server_request_parameters.rb index 6d8c8363..83321d26 100644 --- a/lib/auth0/resource_servers/types/get_resource_server_request_parameters.rb +++ b/lib/auth0/resource_servers/types/get_resource_server_request_parameters.rb @@ -5,6 +5,7 @@ module ResourceServers module Types class GetResourceServerRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/resource_servers/types/list_resource_server_request_parameters.rb b/lib/auth0/resource_servers/types/list_resource_server_request_parameters.rb index 07874af6..40db8b00 100644 --- a/lib/auth0/resource_servers/types/list_resource_server_request_parameters.rb +++ b/lib/auth0/resource_servers/types/list_resource_server_request_parameters.rb @@ -5,9 +5,13 @@ module ResourceServers module Types class ListResourceServerRequestParameters < Internal::Types::Model field :identifiers, -> { String }, optional: true, nullable: false + field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :include_totals, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/resource_servers/types/update_resource_server_request_content.rb b/lib/auth0/resource_servers/types/update_resource_server_request_content.rb index c1170ada..9679c537 100644 --- a/lib/auth0/resource_servers/types/update_resource_server_request_content.rb +++ b/lib/auth0/resource_servers/types/update_resource_server_request_content.rb @@ -5,21 +5,40 @@ module ResourceServers module Types class UpdateResourceServerRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :scopes, -> { Internal::Types::Array[Auth0::Types::ResourceServerScope] }, optional: true, nullable: false + field :signing_alg, -> { Auth0::Types::SigningAlgorithmEnum }, optional: true, nullable: false + field :signing_secret, -> { String }, optional: true, nullable: false + field :skip_consent_for_verifiable_first_party_clients, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :allow_offline_access, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :allow_online_access, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :allow_online_access_with_ephemeral_sessions, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :token_lifetime, -> { Integer }, optional: true, nullable: false + field :token_dialect, -> { Auth0::Types::ResourceServerTokenDialectSchemaEnum }, optional: true, nullable: false + field :enforce_policies, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :token_encryption, -> { Auth0::Types::ResourceServerTokenEncryption }, optional: true, nullable: false + field :consent_policy, -> { Auth0::Types::ResourceServerConsentPolicyEnum }, optional: true, nullable: false + field :authorization_details, -> { Internal::Types::Array[Object] }, optional: true, nullable: false + field :proof_of_possession, -> { Auth0::Types::ResourceServerProofOfPossession }, optional: true, nullable: false + field :subject_type_authorization, -> { Auth0::Types::ResourceServerSubjectTypeAuthorization }, optional: true, nullable: false + + field :authorization_policy, -> { Auth0::Types::ResourceServerAuthorizationPolicy }, optional: true, nullable: false end end end diff --git a/lib/auth0/risk_assessments/settings/client.rb b/lib/auth0/risk_assessments/settings/client.rb index 8722454f..0159c59d 100644 --- a/lib/auth0/risk_assessments/settings/client.rb +++ b/lib/auth0/risk_assessments/settings/client.rb @@ -14,7 +14,7 @@ def initialize(client:) # Gets the tenant settings for risk assessments # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -22,8 +22,7 @@ def initialize(client:) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::GetRiskAssessmentsSettingsResponseContent] - def get(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def get(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", diff --git a/lib/auth0/risk_assessments/settings/new_device/client.rb b/lib/auth0/risk_assessments/settings/new_device/client.rb index 363a232c..fdd4e14f 100644 --- a/lib/auth0/risk_assessments/settings/new_device/client.rb +++ b/lib/auth0/risk_assessments/settings/new_device/client.rb @@ -15,7 +15,7 @@ def initialize(client:) # Gets the risk assessment settings for the new device assessor # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -23,8 +23,7 @@ def initialize(client:) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::GetRiskAssessmentsSettingsNewDeviceResponseContent] - def get(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def get(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", diff --git a/lib/auth0/roles/client.rb b/lib/auth0/roles/client.rb index 2791e40e..35380ab1 100644 --- a/lib/auth0/roles/client.rb +++ b/lib/auth0/roles/client.rb @@ -30,19 +30,17 @@ def initialize(client:) # @return [Auth0::Types::ListRolesOffsetPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[per_page page include_totals name_filter] query_params = {} query_params["per_page"] = params.fetch(:per_page, 50) query_params["page"] = params.fetch(:page, 0) query_params["include_totals"] = params.fetch(:include_totals, true) query_params["name_filter"] = params[:name_filter] if params.key?(:name_filter) - params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :roles, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -59,7 +57,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListRolesOffsetPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListRolesOffsetPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -190,7 +189,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Roles::Types::UpdateRoleRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/roles/permissions/client.rb b/lib/auth0/roles/permissions/client.rb index 000521af..eb3133b6 100644 --- a/lib/auth0/roles/permissions/client.rb +++ b/lib/auth0/roles/permissions/client.rb @@ -28,18 +28,16 @@ def initialize(client:) # @return [Auth0::Types::ListRolePermissionsOffsetPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[per_page page include_totals] query_params = {} query_params["per_page"] = params.fetch(:per_page, 50) query_params["page"] = params.fetch(:page, 0) query_params["include_totals"] = params.fetch(:include_totals, true) - params = params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :permissions, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -56,7 +54,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListRolePermissionsOffsetPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListRolePermissionsOffsetPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -81,7 +80,7 @@ def list(request_options: {}, **params) def add(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Roles::Permissions::Types::AddRolePermissionsRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( @@ -120,7 +119,7 @@ def add(request_options: {}, **params) def delete(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Roles::Permissions::Types::DeleteRolePermissionsRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/roles/permissions/types/add_role_permissions_request_content.rb b/lib/auth0/roles/permissions/types/add_role_permissions_request_content.rb index bad02fe5..99c4843f 100644 --- a/lib/auth0/roles/permissions/types/add_role_permissions_request_content.rb +++ b/lib/auth0/roles/permissions/types/add_role_permissions_request_content.rb @@ -6,6 +6,7 @@ module Permissions module Types class AddRolePermissionsRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :permissions, -> { Internal::Types::Array[Auth0::Types::PermissionRequestPayload] }, optional: false, nullable: false end end diff --git a/lib/auth0/roles/permissions/types/delete_role_permissions_request_content.rb b/lib/auth0/roles/permissions/types/delete_role_permissions_request_content.rb index d7927f08..2de2d38a 100644 --- a/lib/auth0/roles/permissions/types/delete_role_permissions_request_content.rb +++ b/lib/auth0/roles/permissions/types/delete_role_permissions_request_content.rb @@ -6,6 +6,7 @@ module Permissions module Types class DeleteRolePermissionsRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :permissions, -> { Internal::Types::Array[Auth0::Types::PermissionRequestPayload] }, optional: false, nullable: false end end diff --git a/lib/auth0/roles/permissions/types/list_role_permissions_request_parameters.rb b/lib/auth0/roles/permissions/types/list_role_permissions_request_parameters.rb index 06f15766..9cd83154 100644 --- a/lib/auth0/roles/permissions/types/list_role_permissions_request_parameters.rb +++ b/lib/auth0/roles/permissions/types/list_role_permissions_request_parameters.rb @@ -6,8 +6,11 @@ module Permissions module Types class ListRolePermissionsRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :page, -> { Integer }, optional: true, nullable: false + field :include_totals, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/roles/types/create_role_request_content.rb b/lib/auth0/roles/types/create_role_request_content.rb index b47238e5..7e72154c 100644 --- a/lib/auth0/roles/types/create_role_request_content.rb +++ b/lib/auth0/roles/types/create_role_request_content.rb @@ -5,6 +5,7 @@ module Roles module Types class CreateRoleRequestContent < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :description, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/roles/types/list_roles_request_parameters.rb b/lib/auth0/roles/types/list_roles_request_parameters.rb index 44f09cf1..e225b3e7 100644 --- a/lib/auth0/roles/types/list_roles_request_parameters.rb +++ b/lib/auth0/roles/types/list_roles_request_parameters.rb @@ -5,8 +5,11 @@ module Roles module Types class ListRolesRequestParameters < Internal::Types::Model field :per_page, -> { Integer }, optional: true, nullable: false + field :page, -> { Integer }, optional: true, nullable: false + field :include_totals, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :name_filter, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/roles/types/update_role_request_content.rb b/lib/auth0/roles/types/update_role_request_content.rb index bfae78ae..44503ee7 100644 --- a/lib/auth0/roles/types/update_role_request_content.rb +++ b/lib/auth0/roles/types/update_role_request_content.rb @@ -5,7 +5,9 @@ module Roles module Types class UpdateRoleRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/roles/users/client.rb b/lib/auth0/roles/users/client.rb index f20ff276..410c7e24 100644 --- a/lib/auth0/roles/users/client.rb +++ b/lib/auth0/roles/users/client.rb @@ -51,11 +51,9 @@ def initialize(client:) # @return [Auth0::Types::ListRoleUsersPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[from take] query_params = {} query_params["from"] = params[:from] if params.key?(:from) query_params["take"] = params.fetch(:take, 50) - params = params.except(*query_param_names) Auth0::Internal::CursorItemIterator.new( cursor_field: :next_, @@ -77,7 +75,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListRoleUsersPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListRoleUsersPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -103,7 +102,7 @@ def list(request_options: {}, **params) def assign(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Roles::Users::Types::AssignRoleUsersRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/roles/users/types/assign_role_users_request_content.rb b/lib/auth0/roles/users/types/assign_role_users_request_content.rb index afb72be6..a3aa6635 100644 --- a/lib/auth0/roles/users/types/assign_role_users_request_content.rb +++ b/lib/auth0/roles/users/types/assign_role_users_request_content.rb @@ -6,6 +6,7 @@ module Users module Types class AssignRoleUsersRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :users, -> { Internal::Types::Array[String] }, optional: false, nullable: false end end diff --git a/lib/auth0/roles/users/types/list_role_users_request_parameters.rb b/lib/auth0/roles/users/types/list_role_users_request_parameters.rb index fdcf3984..07fbd82d 100644 --- a/lib/auth0/roles/users/types/list_role_users_request_parameters.rb +++ b/lib/auth0/roles/users/types/list_role_users_request_parameters.rb @@ -6,7 +6,9 @@ module Users module Types class ListRoleUsersRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :from, -> { String }, optional: true, nullable: false + field :take, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/rules/client.rb b/lib/auth0/rules/client.rb index 58cae464..00059180 100644 --- a/lib/auth0/rules/client.rb +++ b/lib/auth0/rules/client.rb @@ -10,8 +10,8 @@ def initialize(client:) @client = client end - # Retrieve a filtered list of rules. Accepts a list of fields to - # include or exclude. + # Retrieve a filtered list of [rules](https://auth0.com/docs/rules). Accepts a list of fields to include or + # exclude. # # @param request_options [Hash] # @param params [Hash] @@ -30,7 +30,6 @@ def initialize(client:) # @return [Auth0::Types::ListRulesOffsetPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[page per_page include_totals enabled fields include_fields] query_params = {} query_params["page"] = params.fetch(:page, 0) query_params["per_page"] = params.fetch(:per_page, 50) @@ -38,13 +37,12 @@ def list(request_options: {}, **params) query_params["enabled"] = params[:enabled] if params.key?(:enabled) query_params["fields"] = params[:fields] if params.key?(:fields) query_params["include_fields"] = params[:include_fields] if params.key?(:include_fields) - params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :rules, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -61,7 +59,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListRulesOffsetPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListRulesOffsetPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -69,10 +68,10 @@ def list(request_options: {}, **params) end end - # Create a new rule. + # Create a [new rule](https://auth0.com/docs/rules#create-a-new-rule-using-the-management-api). # - # Note: Changing a rule's stage of execution from the default login_success can change the rule's - # function signature to have user omitted. + # Note: Changing a rule's stage of execution from the default `login_success` can change the rule's function + # signature to have user omitted. # # @param request_options [Hash] # @param params [Auth0::Rules::Types::CreateRuleRequestContent] @@ -106,8 +105,8 @@ def create(request_options: {}, **params) end end - # Retrieve rule details. Accepts a list of fields to include or exclude - # in the result. + # Retrieve [rule](https://auth0.com/docs/rules) details. Accepts a list of fields to include or exclude in the + # result. # # @param request_options [Hash] # @param params [Hash] @@ -123,11 +122,9 @@ def create(request_options: {}, **params) # @return [Auth0::Types::GetRuleResponseContent] def get(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[fields include_fields] query_params = {} query_params["fields"] = params[:fields] if params.key?(:fields) query_params["include_fields"] = params[:include_fields] if params.key?(:include_fields) - params = params.except(*query_param_names) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], @@ -197,7 +194,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Rules::Types::UpdateRuleRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/rules/types/create_rule_request_content.rb b/lib/auth0/rules/types/create_rule_request_content.rb index ea5dd4d3..d8ef52cc 100644 --- a/lib/auth0/rules/types/create_rule_request_content.rb +++ b/lib/auth0/rules/types/create_rule_request_content.rb @@ -5,8 +5,11 @@ module Rules module Types class CreateRuleRequestContent < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :script, -> { String }, optional: false, nullable: false + field :order, -> { Integer }, optional: true, nullable: false + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/rules/types/get_rule_request_parameters.rb b/lib/auth0/rules/types/get_rule_request_parameters.rb index 125d63b2..8d541020 100644 --- a/lib/auth0/rules/types/get_rule_request_parameters.rb +++ b/lib/auth0/rules/types/get_rule_request_parameters.rb @@ -5,7 +5,9 @@ module Rules module Types class GetRuleRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :fields, -> { String }, optional: true, nullable: false + field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/rules/types/list_rules_request_parameters.rb b/lib/auth0/rules/types/list_rules_request_parameters.rb index 2252db51..fbc1adfc 100644 --- a/lib/auth0/rules/types/list_rules_request_parameters.rb +++ b/lib/auth0/rules/types/list_rules_request_parameters.rb @@ -5,10 +5,15 @@ module Rules module Types class ListRulesRequestParameters < Internal::Types::Model field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :include_totals, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :fields, -> { String }, optional: true, nullable: false + field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/rules/types/update_rule_request_content.rb b/lib/auth0/rules/types/update_rule_request_content.rb index 4f819550..a8f3ebfd 100644 --- a/lib/auth0/rules/types/update_rule_request_content.rb +++ b/lib/auth0/rules/types/update_rule_request_content.rb @@ -5,9 +5,13 @@ module Rules module Types class UpdateRuleRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :script, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :order, -> { Integer }, optional: true, nullable: false + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/rules_configs/client.rb b/lib/auth0/rules_configs/client.rb index a8e72005..8ca95696 100644 --- a/lib/auth0/rules_configs/client.rb +++ b/lib/auth0/rules_configs/client.rb @@ -15,7 +15,7 @@ def initialize(client:) # Note: For security, config variable values cannot be retrieved outside rule execution. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -23,8 +23,7 @@ def initialize(client:) # @option request_options [Integer] :timeout_in_seconds # # @return [Array[Auth0::Types::RulesConfig]] - def list(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def list(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", @@ -58,7 +57,7 @@ def list(request_options: {}, **params) def set(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::RulesConfigs::Types::SetRulesConfigRequestContent.new(params).to_h - non_body_param_names = ["key"] + non_body_param_names = %w[key] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/rules_configs/types/set_rules_config_request_content.rb b/lib/auth0/rules_configs/types/set_rules_config_request_content.rb index 9ca2c3ca..ea842544 100644 --- a/lib/auth0/rules_configs/types/set_rules_config_request_content.rb +++ b/lib/auth0/rules_configs/types/set_rules_config_request_content.rb @@ -5,6 +5,7 @@ module RulesConfigs module Types class SetRulesConfigRequestContent < Internal::Types::Model field :key, -> { String }, optional: false, nullable: false + field :value, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/self_service_profiles/client.rb b/lib/auth0/self_service_profiles/client.rb index ab3d3c28..afc363e2 100644 --- a/lib/auth0/self_service_profiles/client.rb +++ b/lib/auth0/self_service_profiles/client.rb @@ -26,18 +26,16 @@ def initialize(client:) # @return [Auth0::Types::ListSelfServiceProfilesPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[page per_page include_totals] query_params = {} query_params["page"] = params.fetch(:page, 0) query_params["per_page"] = params.fetch(:per_page, 50) query_params["include_totals"] = params.fetch(:include_totals, true) - params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :self_service_profiles, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -54,7 +52,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListSelfServiceProfilesPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListSelfServiceProfilesPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -177,7 +176,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::SelfServiceProfiles::Types::UpdateSelfServiceProfileRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/self_service_profiles/custom_text/client.rb b/lib/auth0/self_service_profiles/custom_text/client.rb index a54f68ed..fdade57a 100644 --- a/lib/auth0/self_service_profiles/custom_text/client.rb +++ b/lib/auth0/self_service_profiles/custom_text/client.rb @@ -11,7 +11,8 @@ def initialize(client:) @client = client end - # Retrieves text customizations for a given self-service profile, language and Self Service SSO Flow page. + # Retrieves text customizations for a given self-service profile, language and Self-Service Enterprise + # Configuration flow page. # # @param request_options [Hash] # @param params [Hash] @@ -47,7 +48,8 @@ def list(request_options: {}, **params) end end - # Updates text customizations for a given self-service profile, language and Self Service SSO Flow page. + # Updates text customizations for a given self-service profile, language and Self-Service Enterprise + # Configuration flow page. # # @param request_options [Hash] # @param params [Auth0::Types::SetSelfServiceProfileCustomTextRequestContent] diff --git a/lib/auth0/self_service_profiles/sso_ticket/client.rb b/lib/auth0/self_service_profiles/sso_ticket/client.rb index a69c8101..cace1e50 100644 --- a/lib/auth0/self_service_profiles/sso_ticket/client.rb +++ b/lib/auth0/self_service_profiles/sso_ticket/client.rb @@ -11,7 +11,8 @@ def initialize(client:) @client = client end - # Creates an SSO access ticket to initiate the Self Service SSO Flow using a self-service profile. + # Creates an access ticket to initiate the Self-Service Enterprise Configuration flow using a self-service + # profile. # # @param request_options [Hash] # @param params [Auth0::SelfServiceProfiles::SSOTicket::Types::CreateSelfServiceProfileSSOTicketRequestContent] @@ -26,7 +27,7 @@ def initialize(client:) def create(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::SelfServiceProfiles::SSOTicket::Types::CreateSelfServiceProfileSSOTicketRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( @@ -50,12 +51,12 @@ def create(request_options: {}, **params) end end - # Revokes an SSO access ticket and invalidates associated sessions. The ticket will no longer be accepted to - # initiate a Self-Service SSO session. If any users have already started a session through this ticket, their - # session will be terminated. Clients should expect a `202 Accepted` response upon successful processing, - # indicating that the request has been acknowledged and that the revocation is underway but may not be fully - # completed at the time of response. If the specified ticket does not exist, a `202 Accepted` response is also - # returned, signaling that no further action is required. + # Revokes a Self-Service Enterprise Configuration access ticket and invalidates associated sessions. The ticket + # will no longer be accepted to initiate a Self-Service Enterprise Configuration session. If any users have + # already started a session through this ticket, their session will be terminated. Clients should expect a `202 + # Accepted` response upon successful processing, indicating that the request has been acknowledged and that the + # revocation is underway but may not be fully completed at the time of response. If the specified ticket does + # not exist, a `202 Accepted` response is also returned, signaling that no further action is required. # Clients should treat these `202` responses as an acknowledgment that the request has been accepted and is in # progress, even if the ticket was not found. # diff --git a/lib/auth0/self_service_profiles/sso_ticket/types/create_self_service_profile_sso_ticket_request_content.rb b/lib/auth0/self_service_profiles/sso_ticket/types/create_self_service_profile_sso_ticket_request_content.rb index 354fa831..5eb12747 100644 --- a/lib/auth0/self_service_profiles/sso_ticket/types/create_self_service_profile_sso_ticket_request_content.rb +++ b/lib/auth0/self_service_profiles/sso_ticket/types/create_self_service_profile_sso_ticket_request_content.rb @@ -6,14 +6,23 @@ module SSOTicket module Types class CreateSelfServiceProfileSSOTicketRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :connection_id, -> { String }, optional: true, nullable: false + field :connection_config, -> { Auth0::Types::SelfServiceProfileSSOTicketConnectionConfig }, optional: true, nullable: false + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :enabled_organizations, -> { Internal::Types::Array[Auth0::Types::SelfServiceProfileSSOTicketEnabledOrganization] }, optional: true, nullable: false + field :ttl_sec, -> { Integer }, optional: true, nullable: false + field :domain_aliases_config, -> { Auth0::Types::SelfServiceProfileSSOTicketDomainAliasesConfig }, optional: true, nullable: false + field :provisioning_config, -> { Auth0::Types::SelfServiceProfileSSOTicketProvisioningConfig }, optional: true, nullable: false + field :use_for_organization_discovery, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :enabled_features, -> { Auth0::Types::SelfServiceProfileSSOTicketEnabledFeatures }, optional: true, nullable: false end end diff --git a/lib/auth0/self_service_profiles/types/create_self_service_profile_request_content.rb b/lib/auth0/self_service_profiles/types/create_self_service_profile_request_content.rb index 0be0e2d7..50d72033 100644 --- a/lib/auth0/self_service_profiles/types/create_self_service_profile_request_content.rb +++ b/lib/auth0/self_service_profiles/types/create_self_service_profile_request_content.rb @@ -5,10 +5,15 @@ module SelfServiceProfiles module Types class CreateSelfServiceProfileRequestContent < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :description, -> { String }, optional: true, nullable: false + field :branding, -> { Auth0::Types::SelfServiceProfileBrandingProperties }, optional: true, nullable: false + field :allowed_strategies, -> { Internal::Types::Array[Auth0::Types::SelfServiceProfileAllowedStrategyEnum] }, optional: true, nullable: false + field :user_attributes, -> { Internal::Types::Array[Auth0::Types::SelfServiceProfileUserAttribute] }, optional: true, nullable: false + field :user_attribute_profile_id, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/self_service_profiles/types/list_self_service_profiles_request_parameters.rb b/lib/auth0/self_service_profiles/types/list_self_service_profiles_request_parameters.rb index dabce656..47dc0f5f 100644 --- a/lib/auth0/self_service_profiles/types/list_self_service_profiles_request_parameters.rb +++ b/lib/auth0/self_service_profiles/types/list_self_service_profiles_request_parameters.rb @@ -5,7 +5,9 @@ module SelfServiceProfiles module Types class ListSelfServiceProfilesRequestParameters < Internal::Types::Model field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :include_totals, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/self_service_profiles/types/update_self_service_profile_request_content.rb b/lib/auth0/self_service_profiles/types/update_self_service_profile_request_content.rb index 86b4db88..b0ee8fb4 100644 --- a/lib/auth0/self_service_profiles/types/update_self_service_profile_request_content.rb +++ b/lib/auth0/self_service_profiles/types/update_self_service_profile_request_content.rb @@ -5,11 +5,17 @@ module SelfServiceProfiles module Types class UpdateSelfServiceProfileRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false + field :branding, -> { Auth0::Types::SelfServiceProfileBrandingProperties }, optional: true, nullable: false + field :allowed_strategies, -> { Internal::Types::Array[Auth0::Types::SelfServiceProfileAllowedStrategyEnum] }, optional: true, nullable: false + field :user_attributes, -> { Internal::Types::Array[Auth0::Types::SelfServiceProfileUserAttribute] }, optional: true, nullable: false + field :user_attribute_profile_id, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/sessions/client.rb b/lib/auth0/sessions/client.rb index 7cdf6a15..42cc1ad6 100644 --- a/lib/auth0/sessions/client.rb +++ b/lib/auth0/sessions/client.rb @@ -91,7 +91,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Sessions::Types::UpdateSessionRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/sessions/types/update_session_request_content.rb b/lib/auth0/sessions/types/update_session_request_content.rb index 7af07550..44cb89ec 100644 --- a/lib/auth0/sessions/types/update_session_request_content.rb +++ b/lib/auth0/sessions/types/update_session_request_content.rb @@ -5,6 +5,7 @@ module Sessions module Types class UpdateSessionRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :session_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/stats/client.rb b/lib/auth0/stats/client.rb index 83883991..0adaa97e 100644 --- a/lib/auth0/stats/client.rb +++ b/lib/auth0/stats/client.rb @@ -13,7 +13,7 @@ def initialize(client:) # Retrieve the number of active users that logged in during the last 30 days. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -21,8 +21,7 @@ def initialize(client:) # @option request_options [Integer] :timeout_in_seconds # # @return [Integer] - def get_active_users_count(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def get_active_users_count(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", @@ -59,11 +58,9 @@ def get_active_users_count(request_options: {}, **params) # @return [Array[Auth0::Types::DailyStats]] def get_daily(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[from to] query_params = {} query_params["from"] = params[:from] if params.key?(:from) query_params["to"] = params[:to] if params.key?(:to) - params.except(*query_param_names) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], diff --git a/lib/auth0/stats/types/get_daily_stats_request_parameters.rb b/lib/auth0/stats/types/get_daily_stats_request_parameters.rb index b575301b..747b4218 100644 --- a/lib/auth0/stats/types/get_daily_stats_request_parameters.rb +++ b/lib/auth0/stats/types/get_daily_stats_request_parameters.rb @@ -5,6 +5,7 @@ module Stats module Types class GetDailyStatsRequestParameters < Internal::Types::Model field :from, -> { String }, optional: true, nullable: false + field :to, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/supplemental_signals/client.rb b/lib/auth0/supplemental_signals/client.rb index f824d0ad..2da8030c 100644 --- a/lib/auth0/supplemental_signals/client.rb +++ b/lib/auth0/supplemental_signals/client.rb @@ -13,7 +13,7 @@ def initialize(client:) # Get the supplemental signals configuration for a tenant. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -21,8 +21,7 @@ def initialize(client:) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::GetSupplementalSignalsResponseContent] - def get(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def get(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", diff --git a/lib/auth0/tenants/settings/client.rb b/lib/auth0/tenants/settings/client.rb index 60924237..273de079 100644 --- a/lib/auth0/tenants/settings/client.rb +++ b/lib/auth0/tenants/settings/client.rb @@ -26,11 +26,9 @@ def initialize(client:) # @return [Auth0::Types::GetTenantSettingsResponseContent] def get(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[fields include_fields] query_params = {} query_params["fields"] = params[:fields] if params.key?(:fields) query_params["include_fields"] = params[:include_fields] if params.key?(:include_fields) - params.except(*query_param_names) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], diff --git a/lib/auth0/tenants/settings/types/get_tenant_settings_request_parameters.rb b/lib/auth0/tenants/settings/types/get_tenant_settings_request_parameters.rb index 7ebce2b0..c7bf181a 100644 --- a/lib/auth0/tenants/settings/types/get_tenant_settings_request_parameters.rb +++ b/lib/auth0/tenants/settings/types/get_tenant_settings_request_parameters.rb @@ -6,6 +6,7 @@ module Settings module Types class GetTenantSettingsRequestParameters < Internal::Types::Model field :fields, -> { String }, optional: true, nullable: false + field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/tenants/settings/types/update_tenant_settings_request_content.rb b/lib/auth0/tenants/settings/types/update_tenant_settings_request_content.rb index 069bca62..f3f2bb09 100644 --- a/lib/auth0/tenants/settings/types/update_tenant_settings_request_content.rb +++ b/lib/auth0/tenants/settings/types/update_tenant_settings_request_content.rb @@ -6,40 +6,75 @@ module Settings module Types class UpdateTenantSettingsRequestContent < Internal::Types::Model field :change_password, -> { Auth0::Types::TenantSettingsPasswordPage }, optional: true, nullable: false + field :device_flow, -> { Auth0::Types::TenantSettingsDeviceFlow }, optional: true, nullable: false + field :guardian_mfa_page, -> { Auth0::Types::TenantSettingsGuardianPage }, optional: true, nullable: false + field :default_audience, -> { String }, optional: true, nullable: false + field :default_directory, -> { String }, optional: true, nullable: false + field :error_page, -> { Auth0::Types::TenantSettingsErrorPage }, optional: true, nullable: false + field :default_token_quota, -> { Auth0::Types::DefaultTokenQuota }, optional: true, nullable: false + field :flags, -> { Auth0::Types::TenantSettingsFlags }, optional: true, nullable: false + field :friendly_name, -> { String }, optional: true, nullable: false + field :picture_url, -> { String }, optional: true, nullable: false + field :support_email, -> { String }, optional: true, nullable: false + field :support_url, -> { String }, optional: true, nullable: false + field :allowed_logout_urls, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :session_lifetime, -> { Integer }, optional: true, nullable: false + field :idle_session_lifetime, -> { Integer }, optional: true, nullable: false + field :ephemeral_session_lifetime, -> { Integer }, optional: true, nullable: false + field :idle_ephemeral_session_lifetime, -> { Integer }, optional: true, nullable: false + field :sandbox_version, -> { String }, optional: true, nullable: false + field :legacy_sandbox_version, -> { String }, optional: true, nullable: false + field :default_redirection_uri, -> { String }, optional: true, nullable: false + field :enabled_locales, -> { Internal::Types::Array[Auth0::Types::TenantSettingsSupportedLocalesEnum] }, optional: true, nullable: false + field :session_cookie, -> { Auth0::Types::SessionCookieSchema }, optional: true, nullable: false + field :sessions, -> { Auth0::Types::TenantSettingsSessions }, optional: true, nullable: false + field :oidc_logout, -> { Auth0::Types::TenantOidcLogoutSettings }, optional: true, nullable: false + field :customize_mfa_in_postlogin_action, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :allow_organization_name_in_authentication_api, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :acr_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :mtls, -> { Auth0::Types::TenantSettingsMtls }, optional: true, nullable: false + field :pushed_authorization_requests_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :authorization_response_iss_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :skip_non_verifiable_callback_uri_confirmation_prompt, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :resource_parameter_profile, -> { Auth0::Types::TenantSettingsResourceParameterProfile }, optional: true, nullable: false + field :client_id_metadata_document_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :enable_ai_guide, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :phone_consolidated_experience, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :dynamic_client_registration_security_mode, -> { Auth0::Types::TenantSettingsDynamicClientRegistrationSecurityMode }, optional: true, nullable: false end end diff --git a/lib/auth0/tickets/types/change_password_ticket_request_content.rb b/lib/auth0/tickets/types/change_password_ticket_request_content.rb index 96ce8eb3..52e05d31 100644 --- a/lib/auth0/tickets/types/change_password_ticket_request_content.rb +++ b/lib/auth0/tickets/types/change_password_ticket_request_content.rb @@ -5,14 +5,23 @@ module Tickets module Types class ChangePasswordTicketRequestContent < Internal::Types::Model field :result_url, -> { String }, optional: true, nullable: false + field :user_id, -> { String }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false + field :organization_id, -> { String }, optional: true, nullable: false + field :connection_id, -> { String }, optional: true, nullable: false + field :email, -> { String }, optional: true, nullable: false + field :ttl_sec, -> { Integer }, optional: true, nullable: false + field :mark_email_as_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :include_email_in_redirect, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "includeEmailInRedirect" + field :identity, -> { Auth0::Types::ChangePasswordTicketIdentity }, optional: true, nullable: false end end diff --git a/lib/auth0/tickets/types/verify_email_ticket_request_content.rb b/lib/auth0/tickets/types/verify_email_ticket_request_content.rb index 51f8df80..a8062994 100644 --- a/lib/auth0/tickets/types/verify_email_ticket_request_content.rb +++ b/lib/auth0/tickets/types/verify_email_ticket_request_content.rb @@ -5,11 +5,17 @@ module Tickets module Types class VerifyEmailTicketRequestContent < Internal::Types::Model field :result_url, -> { String }, optional: true, nullable: false + field :user_id, -> { String }, optional: false, nullable: false + field :client_id, -> { String }, optional: true, nullable: false + field :organization_id, -> { String }, optional: true, nullable: false + field :ttl_sec, -> { Integer }, optional: true, nullable: false + field :include_email_in_redirect, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "includeEmailInRedirect" + field :identity, -> { Auth0::Types::Identity }, optional: true, nullable: false end end diff --git a/lib/auth0/token_exchange_profiles/client.rb b/lib/auth0/token_exchange_profiles/client.rb index 91580d5b..b1e02c3f 100644 --- a/lib/auth0/token_exchange_profiles/client.rb +++ b/lib/auth0/token_exchange_profiles/client.rb @@ -41,11 +41,9 @@ def initialize(client:) # @return [Auth0::Types::ListTokenExchangeProfileResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[from take] query_params = {} query_params["from"] = params[:from] if params.key?(:from) query_params["take"] = params.fetch(:take, 50) - params.except(*query_param_names) Auth0::Internal::CursorItemIterator.new( cursor_field: :next_, @@ -67,7 +65,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListTokenExchangeProfileResponseContent.load(response.body) + parsed_response = Auth0::Types::ListTokenExchangeProfileResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -212,7 +211,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::TokenExchangeProfiles::Types::UpdateTokenExchangeProfileRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/token_exchange_profiles/types/create_token_exchange_profile_request_content.rb b/lib/auth0/token_exchange_profiles/types/create_token_exchange_profile_request_content.rb index cc1e8a9f..e1e784cc 100644 --- a/lib/auth0/token_exchange_profiles/types/create_token_exchange_profile_request_content.rb +++ b/lib/auth0/token_exchange_profiles/types/create_token_exchange_profile_request_content.rb @@ -5,8 +5,11 @@ module TokenExchangeProfiles module Types class CreateTokenExchangeProfileRequestContent < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :subject_token_type, -> { String }, optional: false, nullable: false + field :action_id, -> { String }, optional: false, nullable: false + field :type, -> { Auth0::Types::TokenExchangeProfileTypeEnum }, optional: false, nullable: false end end diff --git a/lib/auth0/token_exchange_profiles/types/token_exchange_profiles_list_request.rb b/lib/auth0/token_exchange_profiles/types/token_exchange_profiles_list_request.rb index 207c4f5c..825c2bbb 100644 --- a/lib/auth0/token_exchange_profiles/types/token_exchange_profiles_list_request.rb +++ b/lib/auth0/token_exchange_profiles/types/token_exchange_profiles_list_request.rb @@ -5,6 +5,7 @@ module TokenExchangeProfiles module Types class TokenExchangeProfilesListRequest < Internal::Types::Model field :from, -> { String }, optional: true, nullable: false + field :take, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/token_exchange_profiles/types/update_token_exchange_profile_request_content.rb b/lib/auth0/token_exchange_profiles/types/update_token_exchange_profile_request_content.rb index 8d85b0e2..647966d6 100644 --- a/lib/auth0/token_exchange_profiles/types/update_token_exchange_profile_request_content.rb +++ b/lib/auth0/token_exchange_profiles/types/update_token_exchange_profile_request_content.rb @@ -5,7 +5,9 @@ module TokenExchangeProfiles module Types class UpdateTokenExchangeProfileRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :subject_token_type, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/action.rb b/lib/auth0/types/action.rb index cb51cd47..674f65d1 100644 --- a/lib/auth0/types/action.rb +++ b/lib/auth0/types/action.rb @@ -4,21 +4,37 @@ module Auth0 module Types class Action < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :supported_triggers, -> { Internal::Types::Array[Auth0::Types::ActionTrigger] }, optional: true, nullable: false + field :all_changes_deployed, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false + field :code, -> { String }, optional: true, nullable: false + field :dependencies, -> { Internal::Types::Array[Auth0::Types::ActionVersionDependency] }, optional: true, nullable: false + field :runtime, -> { String }, optional: true, nullable: false + field :secrets, -> { Internal::Types::Array[Auth0::Types::ActionSecretResponse] }, optional: true, nullable: false + field :deployed_version, -> { Auth0::Types::ActionDeployedVersion }, optional: true, nullable: false + field :installed_integration_id, -> { String }, optional: true, nullable: false + field :integration, -> { Auth0::Types::Integration }, optional: true, nullable: false + field :status, -> { Auth0::Types::ActionBuildStatusEnum }, optional: true, nullable: false + field :built_at, -> { String }, optional: true, nullable: false + field :deploy, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :modules, -> { Internal::Types::Array[Auth0::Types::ActionModuleReference] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/action_base.rb b/lib/auth0/types/action_base.rb index f2b5b513..18aa1c98 100644 --- a/lib/auth0/types/action_base.rb +++ b/lib/auth0/types/action_base.rb @@ -5,10 +5,15 @@ module Types # The action to which this version belongs. class ActionBase < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :supported_triggers, -> { Internal::Types::Array[Auth0::Types::ActionTrigger] }, optional: true, nullable: false + field :all_changes_deployed, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/action_binding.rb b/lib/auth0/types/action_binding.rb index 4a6da7e9..cc79db5f 100644 --- a/lib/auth0/types/action_binding.rb +++ b/lib/auth0/types/action_binding.rb @@ -5,10 +5,15 @@ module Types # Binding is the associative entity joining a trigger, and an action together. class ActionBinding < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :trigger_id, -> { Auth0::Types::ActionTriggerTypeEnum }, optional: true, nullable: false + field :display_name, -> { String }, optional: true, nullable: false + field :action, -> { Auth0::Types::Action }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/action_binding_ref.rb b/lib/auth0/types/action_binding_ref.rb index 234144b3..3ea578b7 100644 --- a/lib/auth0/types/action_binding_ref.rb +++ b/lib/auth0/types/action_binding_ref.rb @@ -5,6 +5,7 @@ module Types # A reference to an action. An action can be referred to by ID or by Name. class ActionBindingRef < Internal::Types::Model field :type, -> { Auth0::Types::ActionBindingRefTypeEnum }, optional: true, nullable: false + field :value, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/action_binding_with_ref.rb b/lib/auth0/types/action_binding_with_ref.rb index 795c5eba..f646ae48 100644 --- a/lib/auth0/types/action_binding_with_ref.rb +++ b/lib/auth0/types/action_binding_with_ref.rb @@ -4,7 +4,9 @@ module Auth0 module Types class ActionBindingWithRef < Internal::Types::Model field :ref, -> { Auth0::Types::ActionBindingRef }, optional: false, nullable: false + field :display_name, -> { String }, optional: true, nullable: false + field :secrets, -> { Internal::Types::Array[Auth0::Types::ActionSecretRequest] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/action_deployed_version.rb b/lib/auth0/types/action_deployed_version.rb index 1c66fe09..6329b7f4 100644 --- a/lib/auth0/types/action_deployed_version.rb +++ b/lib/auth0/types/action_deployed_version.rb @@ -5,20 +5,35 @@ module Types # The version of the action that is currently deployed. class ActionDeployedVersion < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :action_id, -> { String }, optional: true, nullable: false + field :code, -> { String }, optional: true, nullable: false + field :dependencies, -> { Internal::Types::Array[Auth0::Types::ActionVersionDependency] }, optional: true, nullable: false + field :deployed, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :runtime, -> { String }, optional: true, nullable: false + field :secrets, -> { Internal::Types::Array[Auth0::Types::ActionSecretResponse] }, optional: true, nullable: false + field :status, -> { Auth0::Types::ActionVersionBuildStatusEnum }, optional: true, nullable: false + field :number, -> { Integer }, optional: true, nullable: false + field :errors, -> { Internal::Types::Array[Auth0::Types::ActionError] }, optional: true, nullable: false + field :action, -> { Auth0::Types::ActionBase }, optional: true, nullable: false + field :built_at, -> { String }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false + field :supported_triggers, -> { Internal::Types::Array[Auth0::Types::ActionTrigger] }, optional: true, nullable: false + field :modules, -> { Internal::Types::Array[Auth0::Types::ActionModuleReference] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/action_error.rb b/lib/auth0/types/action_error.rb index e0e6eda3..cd348efb 100644 --- a/lib/auth0/types/action_error.rb +++ b/lib/auth0/types/action_error.rb @@ -5,7 +5,9 @@ module Types # Error is a generic error with a human readable id which should be easily referenced in support tickets. class ActionError < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :msg, -> { String }, optional: true, nullable: false + field :url, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/action_execution_result.rb b/lib/auth0/types/action_execution_result.rb index b36cb50e..363d6d26 100644 --- a/lib/auth0/types/action_execution_result.rb +++ b/lib/auth0/types/action_execution_result.rb @@ -5,8 +5,11 @@ module Types # Captures the results of a single action being executed. class ActionExecutionResult < Internal::Types::Model field :action_name, -> { String }, optional: true, nullable: false + field :error, -> { Auth0::Types::ActionError }, optional: true, nullable: false + field :started_at, -> { String }, optional: true, nullable: false + field :ended_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/action_module_action.rb b/lib/auth0/types/action_module_action.rb index 5b08a1e5..385180ef 100644 --- a/lib/auth0/types/action_module_action.rb +++ b/lib/auth0/types/action_module_action.rb @@ -4,9 +4,13 @@ module Auth0 module Types class ActionModuleAction < Internal::Types::Model field :action_id, -> { String }, optional: true, nullable: false + field :action_name, -> { String }, optional: true, nullable: false + field :module_version_id, -> { String }, optional: true, nullable: false + field :module_version_number, -> { Integer }, optional: true, nullable: false + field :supported_triggers, -> { Internal::Types::Array[Auth0::Types::ActionTrigger] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/action_module_dependency.rb b/lib/auth0/types/action_module_dependency.rb index b330282b..e55c2b34 100644 --- a/lib/auth0/types/action_module_dependency.rb +++ b/lib/auth0/types/action_module_dependency.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ActionModuleDependency < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :version, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/action_module_dependency_request.rb b/lib/auth0/types/action_module_dependency_request.rb index 545d6720..0a30dae7 100644 --- a/lib/auth0/types/action_module_dependency_request.rb +++ b/lib/auth0/types/action_module_dependency_request.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ActionModuleDependencyRequest < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :version, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/action_module_list_item.rb b/lib/auth0/types/action_module_list_item.rb index 2467411c..62c00e06 100644 --- a/lib/auth0/types/action_module_list_item.rb +++ b/lib/auth0/types/action_module_list_item.rb @@ -4,14 +4,23 @@ module Auth0 module Types class ActionModuleListItem < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :code, -> { String }, optional: true, nullable: false + field :dependencies, -> { Internal::Types::Array[Auth0::Types::ActionModuleDependency] }, optional: true, nullable: false + field :secrets, -> { Internal::Types::Array[Auth0::Types::ActionModuleSecret] }, optional: true, nullable: false + field :actions_using_module_total, -> { Integer }, optional: true, nullable: false + field :all_changes_published, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :latest_version_number, -> { Integer }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/action_module_reference.rb b/lib/auth0/types/action_module_reference.rb index e6bf29c5..dd692fe9 100644 --- a/lib/auth0/types/action_module_reference.rb +++ b/lib/auth0/types/action_module_reference.rb @@ -5,8 +5,11 @@ module Types # Reference to a module and its version used by an action. class ActionModuleReference < Internal::Types::Model field :module_id, -> { String }, optional: true, nullable: false + field :module_name, -> { String }, optional: true, nullable: false + field :module_version_id, -> { String }, optional: true, nullable: false + field :module_version_number, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/action_module_secret.rb b/lib/auth0/types/action_module_secret.rb index 25849549..846c69a2 100644 --- a/lib/auth0/types/action_module_secret.rb +++ b/lib/auth0/types/action_module_secret.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ActionModuleSecret < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/action_module_secret_request.rb b/lib/auth0/types/action_module_secret_request.rb index 9df667ea..bbf387e9 100644 --- a/lib/auth0/types/action_module_secret_request.rb +++ b/lib/auth0/types/action_module_secret_request.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ActionModuleSecretRequest < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :value, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/action_module_version.rb b/lib/auth0/types/action_module_version.rb index 226c0ab9..6a8ceaed 100644 --- a/lib/auth0/types/action_module_version.rb +++ b/lib/auth0/types/action_module_version.rb @@ -4,11 +4,17 @@ module Auth0 module Types class ActionModuleVersion < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :module_id, -> { String }, optional: true, nullable: false + field :version_number, -> { Integer }, optional: true, nullable: false + field :code, -> { String }, optional: true, nullable: false + field :secrets, -> { Internal::Types::Array[Auth0::Types::ActionModuleSecret] }, optional: true, nullable: false + field :dependencies, -> { Internal::Types::Array[Auth0::Types::ActionModuleDependency] }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/action_module_version_reference.rb b/lib/auth0/types/action_module_version_reference.rb index 4b304ba0..e015b7f1 100644 --- a/lib/auth0/types/action_module_version_reference.rb +++ b/lib/auth0/types/action_module_version_reference.rb @@ -5,10 +5,15 @@ module Types # The latest published version as a reference object. Omitted if no versions have been published. class ActionModuleVersionReference < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :version_number, -> { Integer }, optional: true, nullable: false + field :code, -> { String }, optional: true, nullable: false + field :dependencies, -> { Internal::Types::Array[Auth0::Types::ActionModuleDependency] }, optional: true, nullable: false + field :secrets, -> { Internal::Types::Array[Auth0::Types::ActionModuleSecret] }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/action_secret_request.rb b/lib/auth0/types/action_secret_request.rb index 654430c0..44603295 100644 --- a/lib/auth0/types/action_secret_request.rb +++ b/lib/auth0/types/action_secret_request.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ActionSecretRequest < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :value, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/action_secret_response.rb b/lib/auth0/types/action_secret_response.rb index 3daa0890..94493e75 100644 --- a/lib/auth0/types/action_secret_response.rb +++ b/lib/auth0/types/action_secret_response.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ActionSecretResponse < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/action_trigger.rb b/lib/auth0/types/action_trigger.rb index 94fdd373..7bd7cc21 100644 --- a/lib/auth0/types/action_trigger.rb +++ b/lib/auth0/types/action_trigger.rb @@ -4,11 +4,17 @@ module Auth0 module Types class ActionTrigger < Internal::Types::Model field :id, -> { Auth0::Types::ActionTriggerTypeEnum }, optional: false, nullable: false + field :version, -> { String }, optional: true, nullable: false + field :status, -> { String }, optional: true, nullable: false + field :runtimes, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :default_runtime, -> { String }, optional: true, nullable: false + field :compatible_triggers, -> { Internal::Types::Array[Auth0::Types::ActionTriggerCompatibleTrigger] }, optional: true, nullable: false + field :binding_policy, -> { Auth0::Types::ActionBindingTypeEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/types/action_trigger_compatible_trigger.rb b/lib/auth0/types/action_trigger_compatible_trigger.rb index b59ae9bb..63df6709 100644 --- a/lib/auth0/types/action_trigger_compatible_trigger.rb +++ b/lib/auth0/types/action_trigger_compatible_trigger.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ActionTriggerCompatibleTrigger < Internal::Types::Model field :id, -> { Auth0::Types::ActionTriggerTypeEnum }, optional: false, nullable: false + field :version, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/action_version.rb b/lib/auth0/types/action_version.rb index ca9113d7..f3370f19 100644 --- a/lib/auth0/types/action_version.rb +++ b/lib/auth0/types/action_version.rb @@ -4,20 +4,35 @@ module Auth0 module Types class ActionVersion < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :action_id, -> { String }, optional: true, nullable: false + field :code, -> { String }, optional: true, nullable: false + field :dependencies, -> { Internal::Types::Array[Auth0::Types::ActionVersionDependency] }, optional: true, nullable: false + field :deployed, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :runtime, -> { String }, optional: true, nullable: false + field :secrets, -> { Internal::Types::Array[Auth0::Types::ActionSecretResponse] }, optional: true, nullable: false + field :status, -> { Auth0::Types::ActionVersionBuildStatusEnum }, optional: true, nullable: false + field :number, -> { Integer }, optional: true, nullable: false + field :errors, -> { Internal::Types::Array[Auth0::Types::ActionError] }, optional: true, nullable: false + field :action, -> { Auth0::Types::ActionBase }, optional: true, nullable: false + field :built_at, -> { String }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false + field :supported_triggers, -> { Internal::Types::Array[Auth0::Types::ActionTrigger] }, optional: true, nullable: false + field :modules, -> { Internal::Types::Array[Auth0::Types::ActionModuleReference] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/action_version_dependency.rb b/lib/auth0/types/action_version_dependency.rb index 3de62ef6..fb4017c3 100644 --- a/lib/auth0/types/action_version_dependency.rb +++ b/lib/auth0/types/action_version_dependency.rb @@ -6,7 +6,9 @@ module Types # layer_id. class ActionVersionDependency < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :version, -> { String }, optional: true, nullable: false + field :registry_url, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/acul_client_filter.rb b/lib/auth0/types/acul_client_filter.rb index c1bd747d..d4413b91 100644 --- a/lib/auth0/types/acul_client_filter.rb +++ b/lib/auth0/types/acul_client_filter.rb @@ -7,6 +7,7 @@ class AculClientFilter < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::AculClientFilterByID } + member -> { Auth0::Types::AculClientFilterByMetadata } end end diff --git a/lib/auth0/types/acul_configs_item.rb b/lib/auth0/types/acul_configs_item.rb index 23715ef6..48cce396 100644 --- a/lib/auth0/types/acul_configs_item.rb +++ b/lib/auth0/types/acul_configs_item.rb @@ -4,12 +4,19 @@ module Auth0 module Types class AculConfigsItem < Internal::Types::Model field :prompt, -> { Auth0::Types::PromptGroupNameEnum }, optional: false, nullable: false + field :screen, -> { Auth0::Types::ScreenGroupNameEnum }, optional: false, nullable: false + field :rendering_mode, -> { Auth0::Types::AculRenderingModeEnum }, optional: true, nullable: false + field :context_configuration, -> { Internal::Types::Array[Auth0::Types::AculContextConfigurationItem] }, optional: true, nullable: false + field :default_head_tags_disabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :use_page_template, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :head_tags, -> { Internal::Types::Array[Auth0::Types::AculHeadTag] }, optional: true, nullable: false + field :filters, -> { Auth0::Types::AculFilters }, optional: true, nullable: false end end diff --git a/lib/auth0/types/acul_context_configuration_item.rb b/lib/auth0/types/acul_context_configuration_item.rb index 3062bf92..53b32531 100644 --- a/lib/auth0/types/acul_context_configuration_item.rb +++ b/lib/auth0/types/acul_context_configuration_item.rb @@ -6,6 +6,7 @@ class AculContextConfigurationItem < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::AculContextEnum } + member -> { String } end end diff --git a/lib/auth0/types/acul_domain_filter.rb b/lib/auth0/types/acul_domain_filter.rb index 8342f75b..c05addd9 100644 --- a/lib/auth0/types/acul_domain_filter.rb +++ b/lib/auth0/types/acul_domain_filter.rb @@ -7,6 +7,7 @@ class AculDomainFilter < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::AculDomainFilterByID } + member -> { Auth0::Types::AculDomainFilterByMetadata } end end diff --git a/lib/auth0/types/acul_filters.rb b/lib/auth0/types/acul_filters.rb index cb44aac8..a7fa365d 100644 --- a/lib/auth0/types/acul_filters.rb +++ b/lib/auth0/types/acul_filters.rb @@ -5,8 +5,11 @@ module Types # Optional filters to apply rendering rules to specific entities class AculFilters < Internal::Types::Model field :match_type, -> { Auth0::Types::AculMatchTypeEnum }, optional: true, nullable: false + field :clients, -> { Internal::Types::Array[Auth0::Types::AculClientFilter] }, optional: true, nullable: false + field :organizations, -> { Internal::Types::Array[Auth0::Types::AculOrganizationFilter] }, optional: true, nullable: false + field :domains, -> { Internal::Types::Array[Auth0::Types::AculDomainFilter] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/acul_head_tag.rb b/lib/auth0/types/acul_head_tag.rb index 3bf7dc31..b9d3f7c8 100644 --- a/lib/auth0/types/acul_head_tag.rb +++ b/lib/auth0/types/acul_head_tag.rb @@ -4,7 +4,9 @@ module Auth0 module Types class AculHeadTag < Internal::Types::Model field :tag, -> { String }, optional: true, nullable: false + field :attributes, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :content, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/acul_organization_filter.rb b/lib/auth0/types/acul_organization_filter.rb index c22070e6..0a165ce8 100644 --- a/lib/auth0/types/acul_organization_filter.rb +++ b/lib/auth0/types/acul_organization_filter.rb @@ -7,6 +7,7 @@ class AculOrganizationFilter < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::AculOrganizationFilterByID } + member -> { Auth0::Types::AculOrganizationFilterByMetadata } end end diff --git a/lib/auth0/types/add_organization_connection_response_content.rb b/lib/auth0/types/add_organization_connection_response_content.rb index b7b3c555..819baedb 100644 --- a/lib/auth0/types/add_organization_connection_response_content.rb +++ b/lib/auth0/types/add_organization_connection_response_content.rb @@ -4,9 +4,13 @@ module Auth0 module Types class AddOrganizationConnectionResponseContent < Internal::Types::Model field :connection_id, -> { String }, optional: true, nullable: false + field :assign_membership_on_login, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :is_signup_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :connection, -> { Auth0::Types::OrganizationConnectionInformation }, optional: true, nullable: false end end diff --git a/lib/auth0/types/associate_organization_client_grant_response_content.rb b/lib/auth0/types/associate_organization_client_grant_response_content.rb index b4c06194..cbd844e3 100644 --- a/lib/auth0/types/associate_organization_client_grant_response_content.rb +++ b/lib/auth0/types/associate_organization_client_grant_response_content.rb @@ -4,10 +4,15 @@ module Auth0 module Types class AssociateOrganizationClientGrantResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false + field :audience, -> { String }, optional: true, nullable: false + field :scope, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :organization_usage, -> { Auth0::Types::OrganizationUsageEnum }, optional: true, nullable: false + field :allow_any_organization, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/attack_protection_captcha_arkose_response_content.rb b/lib/auth0/types/attack_protection_captcha_arkose_response_content.rb index b5c36c5f..324ad246 100644 --- a/lib/auth0/types/attack_protection_captcha_arkose_response_content.rb +++ b/lib/auth0/types/attack_protection_captcha_arkose_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class AttackProtectionCaptchaArkoseResponseContent < Internal::Types::Model field :site_key, -> { String }, optional: true, nullable: false + field :fail_open, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :client_subdomain, -> { String }, optional: true, nullable: false + field :verify_subdomain, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/attack_protection_captcha_recaptcha_enterprise_response_content.rb b/lib/auth0/types/attack_protection_captcha_recaptcha_enterprise_response_content.rb index 93470d1d..e9bf77ed 100644 --- a/lib/auth0/types/attack_protection_captcha_recaptcha_enterprise_response_content.rb +++ b/lib/auth0/types/attack_protection_captcha_recaptcha_enterprise_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class AttackProtectionCaptchaRecaptchaEnterpriseResponseContent < Internal::Types::Model field :site_key, -> { String }, optional: true, nullable: false + field :project_id, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/attack_protection_update_captcha_arkose.rb b/lib/auth0/types/attack_protection_update_captcha_arkose.rb index 6489fc4f..40337867 100644 --- a/lib/auth0/types/attack_protection_update_captcha_arkose.rb +++ b/lib/auth0/types/attack_protection_update_captcha_arkose.rb @@ -4,9 +4,13 @@ module Auth0 module Types class AttackProtectionUpdateCaptchaArkose < Internal::Types::Model field :site_key, -> { String }, optional: false, nullable: false + field :secret, -> { String }, optional: false, nullable: false + field :client_subdomain, -> { String }, optional: true, nullable: false + field :verify_subdomain, -> { String }, optional: true, nullable: false + field :fail_open, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/attack_protection_update_captcha_friendly_captcha.rb b/lib/auth0/types/attack_protection_update_captcha_friendly_captcha.rb index 7168b642..c25b862b 100644 --- a/lib/auth0/types/attack_protection_update_captcha_friendly_captcha.rb +++ b/lib/auth0/types/attack_protection_update_captcha_friendly_captcha.rb @@ -4,6 +4,7 @@ module Auth0 module Types class AttackProtectionUpdateCaptchaFriendlyCaptcha < Internal::Types::Model field :site_key, -> { String }, optional: false, nullable: false + field :secret, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/attack_protection_update_captcha_hcaptcha.rb b/lib/auth0/types/attack_protection_update_captcha_hcaptcha.rb index e7cb7627..62a0a022 100644 --- a/lib/auth0/types/attack_protection_update_captcha_hcaptcha.rb +++ b/lib/auth0/types/attack_protection_update_captcha_hcaptcha.rb @@ -4,6 +4,7 @@ module Auth0 module Types class AttackProtectionUpdateCaptchaHcaptcha < Internal::Types::Model field :site_key, -> { String }, optional: false, nullable: false + field :secret, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/attack_protection_update_captcha_recaptcha_enterprise.rb b/lib/auth0/types/attack_protection_update_captcha_recaptcha_enterprise.rb index d45bb7a2..7fca80bc 100644 --- a/lib/auth0/types/attack_protection_update_captcha_recaptcha_enterprise.rb +++ b/lib/auth0/types/attack_protection_update_captcha_recaptcha_enterprise.rb @@ -4,7 +4,9 @@ module Auth0 module Types class AttackProtectionUpdateCaptchaRecaptchaEnterprise < Internal::Types::Model field :site_key, -> { String }, optional: false, nullable: false + field :api_key, -> { String }, optional: false, nullable: false + field :project_id, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/attack_protection_update_captcha_recaptcha_v2.rb b/lib/auth0/types/attack_protection_update_captcha_recaptcha_v2.rb index 03b58e97..eb1e782f 100644 --- a/lib/auth0/types/attack_protection_update_captcha_recaptcha_v2.rb +++ b/lib/auth0/types/attack_protection_update_captcha_recaptcha_v2.rb @@ -4,6 +4,7 @@ module Auth0 module Types class AttackProtectionUpdateCaptchaRecaptchaV2 < Internal::Types::Model field :site_key, -> { String }, optional: false, nullable: false + field :secret, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/bad_request_schema.rb b/lib/auth0/types/bad_request_schema.rb new file mode 100644 index 00000000..abeec481 --- /dev/null +++ b/lib/auth0/types/bad_request_schema.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Bad Request + class BadRequestSchema < Internal::Types::Model + field :message, -> { String }, optional: false, nullable: false + + field :status_code, -> { String }, optional: false, nullable: false, api_name: "statusCode" + + field :error, -> { Auth0::Types::BadRequestSchemaError }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/bad_request_schema_error.rb b/lib/auth0/types/bad_request_schema_error.rb new file mode 100644 index 00000000..16faa0eb --- /dev/null +++ b/lib/auth0/types/bad_request_schema_error.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module BadRequestSchemaError + extend Auth0::Internal::Types::Enum + + BAD_REQUEST = "Bad Request" + end + end +end diff --git a/lib/auth0/types/branding_colors.rb b/lib/auth0/types/branding_colors.rb index c36d20b1..8e140bcf 100644 --- a/lib/auth0/types/branding_colors.rb +++ b/lib/auth0/types/branding_colors.rb @@ -5,6 +5,7 @@ module Types # Custom color settings. class BrandingColors < Internal::Types::Model field :primary, -> { String }, optional: true, nullable: false + field :page_background, -> { Auth0::Types::BrandingPageBackground }, optional: true, nullable: false end end diff --git a/lib/auth0/types/branding_identifiers.rb b/lib/auth0/types/branding_identifiers.rb new file mode 100644 index 00000000..78b9ebdf --- /dev/null +++ b/lib/auth0/types/branding_identifiers.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Identifier input display settings. + class BrandingIdentifiers < Internal::Types::Model + field :login_display, -> { Auth0::Types::BrandingLoginDisplayEnum }, optional: true, nullable: false + + field :otp_autocomplete, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :phone_display, -> { Auth0::Types::BrandingPhoneDisplay }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/branding_login_display_enum.rb b/lib/auth0/types/branding_login_display_enum.rb new file mode 100644 index 00000000..97009a8c --- /dev/null +++ b/lib/auth0/types/branding_login_display_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module BrandingLoginDisplayEnum + extend Auth0::Internal::Types::Enum + + UNIFIED = "unified" + SEPARATE = "separate" + end + end +end diff --git a/lib/auth0/types/branding_page_background.rb b/lib/auth0/types/branding_page_background.rb index 187a2e33..d2bedc88 100644 --- a/lib/auth0/types/branding_page_background.rb +++ b/lib/auth0/types/branding_page_background.rb @@ -3,21 +3,21 @@ module Auth0 module Types # Page Background Color or Gradient. - # Property contains either null to unset, a solid color as a string value #FFFFFF, or a - # gradient as an object. + # Property contains either `null` to unset, a solid color as a string value `#FFFFFF`, or a gradient as an object. # - #

+    # ```js
     # {
     #   type: 'linear-gradient',
     #   start: '#FFFFFF',
     #   end: '#000000',
     #   angle_deg: 35
     # }
-    # 
+ # ``` class BrandingPageBackground < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { String } + member -> { Internal::Types::Hash[String, Object] } end end diff --git a/lib/auth0/types/branding_phone_display.rb b/lib/auth0/types/branding_phone_display.rb new file mode 100644 index 00000000..917c434e --- /dev/null +++ b/lib/auth0/types/branding_phone_display.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Phone number display settings. + class BrandingPhoneDisplay < Internal::Types::Model + field :masking, -> { Auth0::Types::BrandingPhoneMaskingEnum }, optional: true, nullable: false + + field :formatting, -> { Auth0::Types::BrandingPhoneFormattingEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/branding_phone_formatting_enum.rb b/lib/auth0/types/branding_phone_formatting_enum.rb new file mode 100644 index 00000000..def76c5f --- /dev/null +++ b/lib/auth0/types/branding_phone_formatting_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module BrandingPhoneFormattingEnum + extend Auth0::Internal::Types::Enum + + REGIONAL = "regional" + INTERNATIONAL = "international" + end + end +end diff --git a/lib/auth0/types/branding_phone_masking_enum.rb b/lib/auth0/types/branding_phone_masking_enum.rb new file mode 100644 index 00000000..4e4a3b52 --- /dev/null +++ b/lib/auth0/types/branding_phone_masking_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module BrandingPhoneMaskingEnum + extend Auth0::Internal::Types::Enum + + SHOW_ALL = "show_all" + HIDE_COUNTRY_CODE = "hide_country_code" + MASK_DIGITS = "mask_digits" + end + end +end diff --git a/lib/auth0/types/branding_theme_borders.rb b/lib/auth0/types/branding_theme_borders.rb index 0eaab8e3..e0b3ffb1 100644 --- a/lib/auth0/types/branding_theme_borders.rb +++ b/lib/auth0/types/branding_theme_borders.rb @@ -4,13 +4,21 @@ module Auth0 module Types class BrandingThemeBorders < Internal::Types::Model field :button_border_radius, -> { Integer }, optional: false, nullable: false + field :button_border_weight, -> { Integer }, optional: false, nullable: false + field :buttons_style, -> { Auth0::Types::BrandingThemeBordersButtonsStyleEnum }, optional: false, nullable: false + field :input_border_radius, -> { Integer }, optional: false, nullable: false + field :input_border_weight, -> { Integer }, optional: false, nullable: false + field :inputs_style, -> { Auth0::Types::BrandingThemeBordersInputsStyleEnum }, optional: false, nullable: false + field :show_widget_shadow, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :widget_border_weight, -> { Integer }, optional: false, nullable: false + field :widget_corner_radius, -> { Integer }, optional: false, nullable: false end end diff --git a/lib/auth0/types/branding_theme_colors.rb b/lib/auth0/types/branding_theme_colors.rb index 1b8f9574..7e3bb760 100644 --- a/lib/auth0/types/branding_theme_colors.rb +++ b/lib/auth0/types/branding_theme_colors.rb @@ -4,24 +4,43 @@ module Auth0 module Types class BrandingThemeColors < Internal::Types::Model field :base_focus_color, -> { String }, optional: true, nullable: false + field :base_hover_color, -> { String }, optional: true, nullable: false + field :body_text, -> { String }, optional: false, nullable: false + field :captcha_widget_theme, -> { Auth0::Types::BrandingThemeColorsCaptchaWidgetThemeEnum }, optional: true, nullable: false + field :error, -> { String }, optional: false, nullable: false + field :header, -> { String }, optional: false, nullable: false + field :icons, -> { String }, optional: false, nullable: false + field :input_background, -> { String }, optional: false, nullable: false + field :input_border, -> { String }, optional: false, nullable: false + field :input_filled_text, -> { String }, optional: false, nullable: false + field :input_labels_placeholders, -> { String }, optional: false, nullable: false + field :links_focused_components, -> { String }, optional: false, nullable: false + field :primary_button, -> { String }, optional: false, nullable: false + field :primary_button_label, -> { String }, optional: false, nullable: false + field :read_only_background, -> { String }, optional: true, nullable: false + field :secondary_button_border, -> { String }, optional: false, nullable: false + field :secondary_button_label, -> { String }, optional: false, nullable: false + field :success, -> { String }, optional: false, nullable: false + field :widget_background, -> { String }, optional: false, nullable: false + field :widget_border, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/branding_theme_font_body_text.rb b/lib/auth0/types/branding_theme_font_body_text.rb index e1a290a9..a097bbe3 100644 --- a/lib/auth0/types/branding_theme_font_body_text.rb +++ b/lib/auth0/types/branding_theme_font_body_text.rb @@ -5,6 +5,7 @@ module Types # Body text class BrandingThemeFontBodyText < Internal::Types::Model field :bold, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :size, -> { Integer }, optional: false, nullable: false end end diff --git a/lib/auth0/types/branding_theme_font_buttons_text.rb b/lib/auth0/types/branding_theme_font_buttons_text.rb index 887c6bf7..ddf3a429 100644 --- a/lib/auth0/types/branding_theme_font_buttons_text.rb +++ b/lib/auth0/types/branding_theme_font_buttons_text.rb @@ -5,6 +5,7 @@ module Types # Buttons text class BrandingThemeFontButtonsText < Internal::Types::Model field :bold, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :size, -> { Integer }, optional: false, nullable: false end end diff --git a/lib/auth0/types/branding_theme_font_input_labels.rb b/lib/auth0/types/branding_theme_font_input_labels.rb index fc058198..f758dc21 100644 --- a/lib/auth0/types/branding_theme_font_input_labels.rb +++ b/lib/auth0/types/branding_theme_font_input_labels.rb @@ -5,6 +5,7 @@ module Types # Input Labels class BrandingThemeFontInputLabels < Internal::Types::Model field :bold, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :size, -> { Integer }, optional: false, nullable: false end end diff --git a/lib/auth0/types/branding_theme_font_links.rb b/lib/auth0/types/branding_theme_font_links.rb index 1fcf192b..d1390282 100644 --- a/lib/auth0/types/branding_theme_font_links.rb +++ b/lib/auth0/types/branding_theme_font_links.rb @@ -5,6 +5,7 @@ module Types # Links class BrandingThemeFontLinks < Internal::Types::Model field :bold, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :size, -> { Integer }, optional: false, nullable: false end end diff --git a/lib/auth0/types/branding_theme_font_subtitle.rb b/lib/auth0/types/branding_theme_font_subtitle.rb index 076aceb3..24bad3e1 100644 --- a/lib/auth0/types/branding_theme_font_subtitle.rb +++ b/lib/auth0/types/branding_theme_font_subtitle.rb @@ -5,6 +5,7 @@ module Types # Subtitle class BrandingThemeFontSubtitle < Internal::Types::Model field :bold, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :size, -> { Integer }, optional: false, nullable: false end end diff --git a/lib/auth0/types/branding_theme_font_title.rb b/lib/auth0/types/branding_theme_font_title.rb index dbbc9289..9984ba93 100644 --- a/lib/auth0/types/branding_theme_font_title.rb +++ b/lib/auth0/types/branding_theme_font_title.rb @@ -5,6 +5,7 @@ module Types # Title class BrandingThemeFontTitle < Internal::Types::Model field :bold, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :size, -> { Integer }, optional: false, nullable: false end end diff --git a/lib/auth0/types/branding_theme_fonts.rb b/lib/auth0/types/branding_theme_fonts.rb index d5fcd43e..d05bf448 100644 --- a/lib/auth0/types/branding_theme_fonts.rb +++ b/lib/auth0/types/branding_theme_fonts.rb @@ -4,13 +4,21 @@ module Auth0 module Types class BrandingThemeFonts < Internal::Types::Model field :body_text, -> { Auth0::Types::BrandingThemeFontBodyText }, optional: false, nullable: false + field :buttons_text, -> { Auth0::Types::BrandingThemeFontButtonsText }, optional: false, nullable: false + field :font_url, -> { String }, optional: false, nullable: false + field :input_labels, -> { Auth0::Types::BrandingThemeFontInputLabels }, optional: false, nullable: false + field :links, -> { Auth0::Types::BrandingThemeFontLinks }, optional: false, nullable: false + field :links_style, -> { Auth0::Types::BrandingThemeFontLinksStyleEnum }, optional: false, nullable: false + field :reference_text_size, -> { Integer }, optional: false, nullable: false + field :subtitle, -> { Auth0::Types::BrandingThemeFontSubtitle }, optional: false, nullable: false + field :title, -> { Auth0::Types::BrandingThemeFontTitle }, optional: false, nullable: false end end diff --git a/lib/auth0/types/branding_theme_page_background.rb b/lib/auth0/types/branding_theme_page_background.rb index a781f806..8347a5c8 100644 --- a/lib/auth0/types/branding_theme_page_background.rb +++ b/lib/auth0/types/branding_theme_page_background.rb @@ -4,7 +4,9 @@ module Auth0 module Types class BrandingThemePageBackground < Internal::Types::Model field :background_color, -> { String }, optional: false, nullable: false + field :background_image_url, -> { String }, optional: false, nullable: false + field :page_layout, -> { Auth0::Types::BrandingThemePageBackgroundPageLayoutEnum }, optional: false, nullable: false end end diff --git a/lib/auth0/types/branding_theme_widget.rb b/lib/auth0/types/branding_theme_widget.rb index 1142fb38..9f9a5c30 100644 --- a/lib/auth0/types/branding_theme_widget.rb +++ b/lib/auth0/types/branding_theme_widget.rb @@ -4,9 +4,13 @@ module Auth0 module Types class BrandingThemeWidget < Internal::Types::Model field :header_text_alignment, -> { Auth0::Types::BrandingThemeWidgetHeaderTextAlignmentEnum }, optional: false, nullable: false + field :logo_height, -> { Integer }, optional: false, nullable: false + field :logo_position, -> { Auth0::Types::BrandingThemeWidgetLogoPositionEnum }, optional: false, nullable: false + field :logo_url, -> { String }, optional: false, nullable: false + field :social_buttons_layout, -> { Auth0::Types::BrandingThemeWidgetSocialButtonsLayoutEnum }, optional: false, nullable: false end end diff --git a/lib/auth0/types/breached_password_detection_stage.rb b/lib/auth0/types/breached_password_detection_stage.rb index e60a20af..8f4df289 100644 --- a/lib/auth0/types/breached_password_detection_stage.rb +++ b/lib/auth0/types/breached_password_detection_stage.rb @@ -4,6 +4,7 @@ module Auth0 module Types class BreachedPasswordDetectionStage < Internal::Types::Model field :pre_user_registration, -> { Auth0::Types::BreachedPasswordDetectionPreUserRegistrationStage }, optional: true, nullable: false, api_name: "pre-user-registration" + field :pre_change_password, -> { Auth0::Types::BreachedPasswordDetectionPreChangePasswordStage }, optional: true, nullable: false, api_name: "pre-change-password" end end diff --git a/lib/auth0/types/certificate_subject_dn_credential.rb b/lib/auth0/types/certificate_subject_dn_credential.rb index 20e0da97..4d6d1d69 100644 --- a/lib/auth0/types/certificate_subject_dn_credential.rb +++ b/lib/auth0/types/certificate_subject_dn_credential.rb @@ -4,8 +4,11 @@ module Auth0 module Types class CertificateSubjectDnCredential < Internal::Types::Model field :credential_type, -> { Auth0::Types::CertificateSubjectDnCredentialTypeEnum }, optional: false, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :subject_dn, -> { String }, optional: true, nullable: false + field :pem, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/change_password_ticket_identity.rb b/lib/auth0/types/change_password_ticket_identity.rb index 5a2feb2e..75a18d84 100644 --- a/lib/auth0/types/change_password_ticket_identity.rb +++ b/lib/auth0/types/change_password_ticket_identity.rb @@ -5,7 +5,9 @@ module Types # The user's identity. If you set this value, you must also send the user_id parameter. class ChangePasswordTicketIdentity < Internal::Types::Model field :user_id, -> { String }, optional: false, nullable: false + field :provider, -> { Auth0::Types::IdentityProviderOnlyAuth0Enum }, optional: false, nullable: false + field :connection_id, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/cimd_mapped_client_fields.rb b/lib/auth0/types/cimd_mapped_client_fields.rb index 69adad86..944a58c5 100644 --- a/lib/auth0/types/cimd_mapped_client_fields.rb +++ b/lib/auth0/types/cimd_mapped_client_fields.rb @@ -5,14 +5,23 @@ module Types # Auth0 client fields mapped from the Client ID Metadata Document class CimdMappedClientFields < Internal::Types::Model field :external_client_id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :app_type, -> { String }, optional: true, nullable: false + field :callbacks, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :logo_uri, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false + field :grant_types, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :token_endpoint_auth_method, -> { String }, optional: true, nullable: false + field :jwks_uri, -> { String }, optional: true, nullable: false + field :client_authentication_methods, -> { Auth0::Types::CimdMappedClientAuthenticationMethods }, optional: true, nullable: false end end diff --git a/lib/auth0/types/cimd_mapped_private_key_jwt_credential.rb b/lib/auth0/types/cimd_mapped_private_key_jwt_credential.rb index 6a8a6ef9..ee32902a 100644 --- a/lib/auth0/types/cimd_mapped_private_key_jwt_credential.rb +++ b/lib/auth0/types/cimd_mapped_private_key_jwt_credential.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CimdMappedPrivateKeyJwtCredential < Internal::Types::Model field :credential_type, -> { String }, optional: false, nullable: false + field :kid, -> { String }, optional: false, nullable: false + field :alg, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/cimd_validation_result.rb b/lib/auth0/types/cimd_validation_result.rb index 2572ca20..6929a21e 100644 --- a/lib/auth0/types/cimd_validation_result.rb +++ b/lib/auth0/types/cimd_validation_result.rb @@ -5,7 +5,9 @@ module Types # Validation result for the Client ID Metadata Document class CimdValidationResult < Internal::Types::Model field :valid, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :violations, -> { Internal::Types::Array[String] }, optional: false, nullable: false + field :warnings, -> { Internal::Types::Array[String] }, optional: false, nullable: false end end diff --git a/lib/auth0/types/client.rb b/lib/auth0/types/client.rb index 7f3cc384..9c826144 100644 --- a/lib/auth0/types/client.rb +++ b/lib/auth0/types/client.rb @@ -4,64 +4,123 @@ module Auth0 module Types class Client < Internal::Types::Model field :client_id, -> { String }, optional: true, nullable: false + field :tenant, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false + field :global, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :client_secret, -> { String }, optional: true, nullable: false + field :app_type, -> { Auth0::Types::ClientAppTypeEnum }, optional: true, nullable: false + field :logo_uri, -> { String }, optional: true, nullable: false + field :is_first_party, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :oidc_conformant, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :callbacks, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :allowed_origins, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :web_origins, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :client_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :allowed_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :allowed_logout_urls, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :session_transfer, -> { Auth0::Types::ClientSessionTransferConfiguration }, optional: true, nullable: false + field :oidc_logout, -> { Auth0::Types::ClientOidcBackchannelLogoutSettings }, optional: true, nullable: false + field :grant_types, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :jwt_configuration, -> { Auth0::Types::ClientJwtConfiguration }, optional: true, nullable: false + field :signing_keys, -> { Internal::Types::Array[Auth0::Types::ClientSigningKey] }, optional: true, nullable: false + field :encryption_key, -> { Auth0::Types::ClientEncryptionKey }, optional: true, nullable: false + field :sso, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sso_disabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :cross_origin_authentication, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :cross_origin_loc, -> { String }, optional: true, nullable: false + field :custom_login_page_on, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :custom_login_page, -> { String }, optional: true, nullable: false + field :custom_login_page_preview, -> { String }, optional: true, nullable: false + field :form_template, -> { String }, optional: true, nullable: false + field :addons, -> { Auth0::Types::ClientAddons }, optional: true, nullable: false + field :token_endpoint_auth_method, -> { Auth0::Types::ClientTokenEndpointAuthMethodEnum }, optional: true, nullable: false + field :is_token_endpoint_ip_header_trusted, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :client_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :mobile, -> { Auth0::Types::ClientMobile }, optional: true, nullable: false + field :initiate_login_uri, -> { String }, optional: true, nullable: false + field :refresh_token, -> { Auth0::Types::ClientRefreshTokenConfiguration }, optional: true, nullable: false + field :default_organization, -> { Auth0::Types::ClientDefaultOrganization }, optional: true, nullable: false + field :organization_usage, -> { Auth0::Types::ClientOrganizationUsageEnum }, optional: true, nullable: false + field :organization_require_behavior, -> { Auth0::Types::ClientOrganizationRequireBehaviorEnum }, optional: true, nullable: false + field :organization_discovery_methods, -> { Internal::Types::Array[Auth0::Types::ClientOrganizationDiscoveryEnum] }, optional: true, nullable: false + field :client_authentication_methods, -> { Auth0::Types::ClientAuthenticationMethod }, optional: true, nullable: false + field :require_pushed_authorization_requests, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :require_proof_of_possession, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :signed_request_object, -> { Auth0::Types::ClientSignedRequestObjectWithCredentialID }, optional: true, nullable: false + field :compliance_level, -> { Auth0::Types::ClientComplianceLevelEnum }, optional: true, nullable: false + field :skip_non_verifiable_callback_uri_confirmation_prompt, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :token_exchange, -> { Auth0::Types::ClientTokenExchangeConfiguration }, optional: true, nullable: false + field :par_request_expiry, -> { Integer }, optional: true, nullable: false + field :token_quota, -> { Auth0::Types::TokenQuota }, optional: true, nullable: false + field :express_configuration, -> { Auth0::Types::ExpressConfiguration }, optional: true, nullable: false + field :my_organization_configuration, -> { Auth0::Types::ClientMyOrganizationResponseConfiguration }, optional: true, nullable: false + field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false + field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false + field :resource_server_identifier, -> { String }, optional: true, nullable: false + field :async_approval_notification_channels, -> { Internal::Types::Array[Auth0::Types::AsyncApprovalNotificationsChannelsEnum] }, optional: true, nullable: false + field :external_metadata_type, -> { Auth0::Types::ClientExternalMetadataTypeEnum }, optional: true, nullable: false + field :external_metadata_created_by, -> { Auth0::Types::ClientExternalMetadataCreatedByEnum }, optional: true, nullable: false + field :external_client_id, -> { String }, optional: true, nullable: false + field :jwks_uri, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/client_addon_aws.rb b/lib/auth0/types/client_addon_aws.rb index 5ffb13b4..9556a651 100644 --- a/lib/auth0/types/client_addon_aws.rb +++ b/lib/auth0/types/client_addon_aws.rb @@ -5,7 +5,9 @@ module Types # AWS addon configuration. class ClientAddonAws < Internal::Types::Model field :principal, -> { String }, optional: true, nullable: false + field :role, -> { String }, optional: true, nullable: false + field :lifetime_in_seconds, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/client_addon_azure_blob.rb b/lib/auth0/types/client_addon_azure_blob.rb index f9ca798a..19b63dff 100644 --- a/lib/auth0/types/client_addon_azure_blob.rb +++ b/lib/auth0/types/client_addon_azure_blob.rb @@ -5,17 +5,29 @@ module Types # Azure Blob Storage addon configuration. class ClientAddonAzureBlob < Internal::Types::Model field :account_name, -> { String }, optional: true, nullable: false, api_name: "accountName" + field :storage_access_key, -> { String }, optional: true, nullable: false, api_name: "storageAccessKey" + field :container_name, -> { String }, optional: true, nullable: false, api_name: "containerName" + field :blob_name, -> { String }, optional: true, nullable: false, api_name: "blobName" + field :expiration, -> { Integer }, optional: true, nullable: false + field :signed_identifier, -> { String }, optional: true, nullable: false, api_name: "signedIdentifier" + field :blob_read, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :blob_write, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :blob_delete, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :container_read, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :container_write, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :container_delete, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :container_list, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/client_addon_azure_sb.rb b/lib/auth0/types/client_addon_azure_sb.rb index dcdaa9bd..a699e286 100644 --- a/lib/auth0/types/client_addon_azure_sb.rb +++ b/lib/auth0/types/client_addon_azure_sb.rb @@ -5,9 +5,13 @@ module Types # Azure Storage Bus addon configuration. class ClientAddonAzureSb < Internal::Types::Model field :namespace, -> { String }, optional: true, nullable: false + field :sas_key_name, -> { String }, optional: true, nullable: false, api_name: "sasKeyName" + field :sas_key, -> { String }, optional: true, nullable: false, api_name: "sasKey" + field :entity_path, -> { String }, optional: true, nullable: false, api_name: "entityPath" + field :expiration, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/client_addon_firebase.rb b/lib/auth0/types/client_addon_firebase.rb index d5738a9e..0ed6a0f3 100644 --- a/lib/auth0/types/client_addon_firebase.rb +++ b/lib/auth0/types/client_addon_firebase.rb @@ -5,9 +5,13 @@ module Types # Google Firebase addon configuration. class ClientAddonFirebase < Internal::Types::Model field :secret, -> { String }, optional: true, nullable: false + field :private_key_id, -> { String }, optional: true, nullable: false + field :private_key, -> { String }, optional: true, nullable: false + field :client_email, -> { String }, optional: true, nullable: false + field :lifetime_in_seconds, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/client_addon_layer.rb b/lib/auth0/types/client_addon_layer.rb index 14deb199..3e19840b 100644 --- a/lib/auth0/types/client_addon_layer.rb +++ b/lib/auth0/types/client_addon_layer.rb @@ -5,9 +5,13 @@ module Types # Layer addon configuration. class ClientAddonLayer < Internal::Types::Model field :provider_id, -> { String }, optional: false, nullable: false, api_name: "providerId" + field :key_id, -> { String }, optional: false, nullable: false, api_name: "keyId" + field :private_key, -> { String }, optional: false, nullable: false, api_name: "privateKey" + field :principal, -> { String }, optional: true, nullable: false + field :expiration, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/client_addon_office365.rb b/lib/auth0/types/client_addon_office365.rb index bb5c0332..cabc5478 100644 --- a/lib/auth0/types/client_addon_office365.rb +++ b/lib/auth0/types/client_addon_office365.rb @@ -5,6 +5,7 @@ module Types # Microsoft Office 365 SSO configuration. class ClientAddonOffice365 < Internal::Types::Model field :domain, -> { String }, optional: true, nullable: false + field :connection, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/client_addon_salesforce_api.rb b/lib/auth0/types/client_addon_salesforce_api.rb index 4467b063..45742ff4 100644 --- a/lib/auth0/types/client_addon_salesforce_api.rb +++ b/lib/auth0/types/client_addon_salesforce_api.rb @@ -5,8 +5,11 @@ module Types # Salesforce API addon configuration. class ClientAddonSalesforceAPI < Internal::Types::Model field :clientid, -> { String }, optional: true, nullable: false + field :principal, -> { String }, optional: true, nullable: false + field :community_name, -> { String }, optional: true, nullable: false, api_name: "communityName" + field :community_url_section, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/client_addon_salesforce_sandbox_api.rb b/lib/auth0/types/client_addon_salesforce_sandbox_api.rb index 5419d89f..5a5f78da 100644 --- a/lib/auth0/types/client_addon_salesforce_sandbox_api.rb +++ b/lib/auth0/types/client_addon_salesforce_sandbox_api.rb @@ -5,8 +5,11 @@ module Types # Salesforce Sandbox addon configuration. class ClientAddonSalesforceSandboxAPI < Internal::Types::Model field :clientid, -> { String }, optional: true, nullable: false + field :principal, -> { String }, optional: true, nullable: false + field :community_name, -> { String }, optional: true, nullable: false, api_name: "communityName" + field :community_url_section, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/client_addon_saml.rb b/lib/auth0/types/client_addon_saml.rb index 3a245bef..6c8fdc8a 100644 --- a/lib/auth0/types/client_addon_saml.rb +++ b/lib/auth0/types/client_addon_saml.rb @@ -5,20 +5,35 @@ module Types # SAML2 addon indicator (no configuration settings needed for SAML2 addon). class ClientAddonSAML < Internal::Types::Model field :mappings, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :audience, -> { String }, optional: true, nullable: false + field :recipient, -> { String }, optional: true, nullable: false + field :create_upn_claim, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "createUpnClaim" + field :map_unknown_claims_as_is, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "mapUnknownClaimsAsIs" + field :passthrough_claims_with_no_mapping, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "passthroughClaimsWithNoMapping" + field :map_identities, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "mapIdentities" + field :signature_algorithm, -> { String }, optional: true, nullable: false, api_name: "signatureAlgorithm" + field :digest_algorithm, -> { String }, optional: true, nullable: false, api_name: "digestAlgorithm" + field :issuer, -> { String }, optional: true, nullable: false + field :destination, -> { String }, optional: true, nullable: false + field :lifetime_in_seconds, -> { Integer }, optional: true, nullable: false, api_name: "lifetimeInSeconds" + field :sign_response, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "signResponse" + field :name_identifier_format, -> { String }, optional: true, nullable: false, api_name: "nameIdentifierFormat" + field :name_identifier_probes, -> { Internal::Types::Array[String] }, optional: true, nullable: false, api_name: "nameIdentifierProbes" + field :authn_context_class_ref, -> { String }, optional: true, nullable: false, api_name: "authnContextClassRef" end end diff --git a/lib/auth0/types/client_addon_sapapi.rb b/lib/auth0/types/client_addon_sapapi.rb index 938d7794..8403eba0 100644 --- a/lib/auth0/types/client_addon_sapapi.rb +++ b/lib/auth0/types/client_addon_sapapi.rb @@ -5,10 +5,15 @@ module Types # SAP API addon configuration. class ClientAddonSapapi < Internal::Types::Model field :clientid, -> { String }, optional: true, nullable: false + field :username_attribute, -> { String }, optional: true, nullable: false, api_name: "usernameAttribute" + field :token_endpoint_url, -> { String }, optional: true, nullable: false, api_name: "tokenEndpointUrl" + field :scope, -> { String }, optional: true, nullable: false + field :service_password, -> { String }, optional: true, nullable: false, api_name: "servicePassword" + field :name_identifier_format, -> { String }, optional: true, nullable: false, api_name: "nameIdentifierFormat" end end diff --git a/lib/auth0/types/client_addon_sentry.rb b/lib/auth0/types/client_addon_sentry.rb index 9068aa49..85866bdc 100644 --- a/lib/auth0/types/client_addon_sentry.rb +++ b/lib/auth0/types/client_addon_sentry.rb @@ -5,6 +5,7 @@ module Types # Sentry SSO configuration. class ClientAddonSentry < Internal::Types::Model field :org_slug, -> { String }, optional: true, nullable: false + field :base_url, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/client_addon_share_point.rb b/lib/auth0/types/client_addon_share_point.rb index a7a71898..bd0d780e 100644 --- a/lib/auth0/types/client_addon_share_point.rb +++ b/lib/auth0/types/client_addon_share_point.rb @@ -5,6 +5,7 @@ module Types # SharePoint SSO configuration. class ClientAddonSharePoint < Internal::Types::Model field :url, -> { String }, optional: true, nullable: false + field :external_url, -> { Auth0::Types::ClientAddonSharePointExternalURL }, optional: true, nullable: false end end diff --git a/lib/auth0/types/client_addon_share_point_external_url.rb b/lib/auth0/types/client_addon_share_point_external_url.rb index d50ba407..3d9259e9 100644 --- a/lib/auth0/types/client_addon_share_point_external_url.rb +++ b/lib/auth0/types/client_addon_share_point_external_url.rb @@ -7,6 +7,7 @@ class ClientAddonSharePointExternalURL < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Internal::Types::Array[String] } + member -> { String } end end diff --git a/lib/auth0/types/client_addon_sso_integration.rb b/lib/auth0/types/client_addon_sso_integration.rb index 33a00876..1abfba7c 100644 --- a/lib/auth0/types/client_addon_sso_integration.rb +++ b/lib/auth0/types/client_addon_sso_integration.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ClientAddonSSOIntegration < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :version, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/client_addons.rb b/lib/auth0/types/client_addons.rb index 374e8386..6030bed8 100644 --- a/lib/auth0/types/client_addons.rb +++ b/lib/auth0/types/client_addons.rb @@ -5,34 +5,63 @@ module Types # Addons enabled for this client and their associated configurations. class ClientAddons < Internal::Types::Model field :aws, -> { Auth0::Types::ClientAddonAws }, optional: true, nullable: false + field :azure_blob, -> { Auth0::Types::ClientAddonAzureBlob }, optional: true, nullable: false + field :azure_sb, -> { Auth0::Types::ClientAddonAzureSb }, optional: true, nullable: false + field :rms, -> { Auth0::Types::ClientAddonRms }, optional: true, nullable: false + field :mscrm, -> { Auth0::Types::ClientAddonMscrm }, optional: true, nullable: false + field :slack, -> { Auth0::Types::ClientAddonSlack }, optional: true, nullable: false + field :sentry, -> { Auth0::Types::ClientAddonSentry }, optional: true, nullable: false + field :box, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :cloudbees, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :concur, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :dropbox, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :echosign, -> { Auth0::Types::ClientAddonEchoSign }, optional: true, nullable: false + field :egnyte, -> { Auth0::Types::ClientAddonEgnyte }, optional: true, nullable: false + field :firebase, -> { Auth0::Types::ClientAddonFirebase }, optional: true, nullable: false + field :newrelic, -> { Auth0::Types::ClientAddonNewRelic }, optional: true, nullable: false + field :office365, -> { Auth0::Types::ClientAddonOffice365 }, optional: true, nullable: false + field :salesforce, -> { Auth0::Types::ClientAddonSalesforce }, optional: true, nullable: false + field :salesforce_api, -> { Auth0::Types::ClientAddonSalesforceAPI }, optional: true, nullable: false + field :salesforce_sandbox_api, -> { Auth0::Types::ClientAddonSalesforceSandboxAPI }, optional: true, nullable: false + field :samlp, -> { Auth0::Types::ClientAddonSAML }, optional: true, nullable: false + field :layer, -> { Auth0::Types::ClientAddonLayer }, optional: true, nullable: false + field :sap_api, -> { Auth0::Types::ClientAddonSapapi }, optional: true, nullable: false + field :sharepoint, -> { Auth0::Types::ClientAddonSharePoint }, optional: true, nullable: false + field :springcm, -> { Auth0::Types::ClientAddonSpringCm }, optional: true, nullable: false + field :wams, -> { Auth0::Types::ClientAddonWams }, optional: true, nullable: false + field :wsfed, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :zendesk, -> { Auth0::Types::ClientAddonZendesk }, optional: true, nullable: false + field :zoom, -> { Auth0::Types::ClientAddonZoom }, optional: true, nullable: false + field :sso_integration, -> { Auth0::Types::ClientAddonSSOIntegration }, optional: true, nullable: false + field :oag, -> { Auth0::Types::ClientAddonOag }, optional: true, nullable: false end end diff --git a/lib/auth0/types/client_authentication_method.rb b/lib/auth0/types/client_authentication_method.rb index 4fd6d705..43db2386 100644 --- a/lib/auth0/types/client_authentication_method.rb +++ b/lib/auth0/types/client_authentication_method.rb @@ -5,7 +5,9 @@ module Types # Defines client authentication methods. class ClientAuthenticationMethod < Internal::Types::Model field :private_key_jwt, -> { Auth0::Types::ClientAuthenticationMethodPrivateKeyJwt }, optional: true, nullable: false + field :tls_client_auth, -> { Auth0::Types::ClientAuthenticationMethodTLSClientAuth }, optional: true, nullable: false + field :self_signed_tls_client_auth, -> { Auth0::Types::ClientAuthenticationMethodSelfSignedTLSClientAuth }, optional: true, nullable: false end end diff --git a/lib/auth0/types/client_create_authentication_method.rb b/lib/auth0/types/client_create_authentication_method.rb index b8f535a3..49563027 100644 --- a/lib/auth0/types/client_create_authentication_method.rb +++ b/lib/auth0/types/client_create_authentication_method.rb @@ -5,7 +5,9 @@ module Types # Defines client authentication methods. class ClientCreateAuthenticationMethod < Internal::Types::Model field :private_key_jwt, -> { Auth0::Types::ClientCreateAuthenticationMethodPrivateKeyJwt }, optional: true, nullable: false + field :tls_client_auth, -> { Auth0::Types::ClientCreateAuthenticationMethodTLSClientAuth }, optional: true, nullable: false + field :self_signed_tls_client_auth, -> { Auth0::Types::CreateClientAuthenticationMethodSelfSignedTLSClientAuth }, optional: true, nullable: false end end diff --git a/lib/auth0/types/client_credential.rb b/lib/auth0/types/client_credential.rb index 4718b15d..94230ee0 100644 --- a/lib/auth0/types/client_credential.rb +++ b/lib/auth0/types/client_credential.rb @@ -4,14 +4,23 @@ module Auth0 module Types class ClientCredential < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :kid, -> { String }, optional: true, nullable: false + field :alg, -> { Auth0::Types::ClientCredentialAlgorithmEnum }, optional: true, nullable: false + field :credential_type, -> { Auth0::Types::ClientCredentialTypeEnum }, optional: true, nullable: false + field :subject_dn, -> { String }, optional: true, nullable: false + field :thumbprint_sha256, -> { String }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false + field :expires_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/client_default_organization.rb b/lib/auth0/types/client_default_organization.rb index e80b1c7c..6ad8cb23 100644 --- a/lib/auth0/types/client_default_organization.rb +++ b/lib/auth0/types/client_default_organization.rb @@ -5,6 +5,7 @@ module Types # Defines the default Organization ID and flows class ClientDefaultOrganization < Internal::Types::Model field :organization_id, -> { String }, optional: false, nullable: false + field :flows, -> { Internal::Types::Array[Auth0::Types::ClientDefaultOrganizationFlowsEnum] }, optional: false, nullable: false end end diff --git a/lib/auth0/types/client_encryption_key.rb b/lib/auth0/types/client_encryption_key.rb index 71869786..af87908d 100644 --- a/lib/auth0/types/client_encryption_key.rb +++ b/lib/auth0/types/client_encryption_key.rb @@ -5,7 +5,9 @@ module Types # Encryption used for WsFed responses with this client. class ClientEncryptionKey < Internal::Types::Model field :pub, -> { String }, optional: true, nullable: false + field :cert, -> { String }, optional: true, nullable: false + field :subject, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/client_grant_response_content.rb b/lib/auth0/types/client_grant_response_content.rb index e6b95b40..a4b5f81f 100644 --- a/lib/auth0/types/client_grant_response_content.rb +++ b/lib/auth0/types/client_grant_response_content.rb @@ -4,15 +4,25 @@ module Auth0 module Types class ClientGrantResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false + field :audience, -> { String }, optional: true, nullable: false + field :scope, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :organization_usage, -> { Auth0::Types::ClientGrantOrganizationUsageEnum }, optional: true, nullable: false + field :allow_any_organization, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :default_for, -> { Auth0::Types::ClientGrantDefaultForEnum }, optional: true, nullable: false + field :is_system, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :subject_type, -> { Auth0::Types::ClientGrantSubjectTypeEnum }, optional: true, nullable: false + field :authorization_details_types, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :allow_all_scopes, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/client_jwt_configuration.rb b/lib/auth0/types/client_jwt_configuration.rb index be152ad6..c78af0c2 100644 --- a/lib/auth0/types/client_jwt_configuration.rb +++ b/lib/auth0/types/client_jwt_configuration.rb @@ -5,8 +5,11 @@ module Types # Configuration related to JWTs for the client. class ClientJwtConfiguration < Internal::Types::Model field :lifetime_in_seconds, -> { Integer }, optional: true, nullable: false + field :secret_encoded, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :scopes, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :alg, -> { Auth0::Types::SigningAlgorithmEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/types/client_mobile.rb b/lib/auth0/types/client_mobile.rb index 9db856ea..f0a709ba 100644 --- a/lib/auth0/types/client_mobile.rb +++ b/lib/auth0/types/client_mobile.rb @@ -5,6 +5,7 @@ module Types # Additional configuration for native mobile apps. class ClientMobile < Internal::Types::Model field :android, -> { Auth0::Types::ClientMobileAndroid }, optional: true, nullable: false + field :ios, -> { Auth0::Types::ClientMobileiOs }, optional: true, nullable: false end end diff --git a/lib/auth0/types/client_mobile_android.rb b/lib/auth0/types/client_mobile_android.rb index b957abe6..b80ecf1a 100644 --- a/lib/auth0/types/client_mobile_android.rb +++ b/lib/auth0/types/client_mobile_android.rb @@ -5,6 +5,7 @@ module Types # Android native app configuration. class ClientMobileAndroid < Internal::Types::Model field :app_package_name, -> { String }, optional: true, nullable: false + field :sha256cert_fingerprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false, api_name: "sha256_cert_fingerprints" end end diff --git a/lib/auth0/types/client_mobilei_os.rb b/lib/auth0/types/client_mobilei_os.rb index a5549957..d0e4fe6f 100644 --- a/lib/auth0/types/client_mobilei_os.rb +++ b/lib/auth0/types/client_mobilei_os.rb @@ -5,6 +5,7 @@ module Types # iOS native app configuration. class ClientMobileiOs < Internal::Types::Model field :team_id, -> { String }, optional: true, nullable: false + field :app_bundle_identifier, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/client_my_organization_patch_configuration.rb b/lib/auth0/types/client_my_organization_patch_configuration.rb index bc6134c4..30180c5e 100644 --- a/lib/auth0/types/client_my_organization_patch_configuration.rb +++ b/lib/auth0/types/client_my_organization_patch_configuration.rb @@ -5,11 +5,12 @@ module Types # Configuration related to the My Organization Configuration for the client. class ClientMyOrganizationPatchConfiguration < Internal::Types::Model field :connection_profile_id, -> { String }, optional: true, nullable: false + field :user_attribute_profile_id, -> { String }, optional: true, nullable: false + field :allowed_strategies, -> { Internal::Types::Array[Auth0::Types::ClientMyOrganizationConfigurationAllowedStrategiesEnum] }, optional: false, nullable: false + field :connection_deletion_behavior, -> { Auth0::Types::ClientMyOrganizationDeletionBehaviorEnum }, optional: false, nullable: false - field :invitation_landing_client_id, -> { String }, optional: true, nullable: false - field :allowed_roles, -> { Internal::Types::Array[String] }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/client_my_organization_post_configuration.rb b/lib/auth0/types/client_my_organization_post_configuration.rb index 093d345c..857489cc 100644 --- a/lib/auth0/types/client_my_organization_post_configuration.rb +++ b/lib/auth0/types/client_my_organization_post_configuration.rb @@ -5,11 +5,12 @@ module Types # Configuration related to the My Organization Configuration for the client. class ClientMyOrganizationPostConfiguration < Internal::Types::Model field :connection_profile_id, -> { String }, optional: true, nullable: false + field :user_attribute_profile_id, -> { String }, optional: true, nullable: false + field :allowed_strategies, -> { Internal::Types::Array[Auth0::Types::ClientMyOrganizationConfigurationAllowedStrategiesEnum] }, optional: false, nullable: false + field :connection_deletion_behavior, -> { Auth0::Types::ClientMyOrganizationDeletionBehaviorEnum }, optional: false, nullable: false - field :invitation_landing_client_id, -> { String }, optional: true, nullable: false - field :allowed_roles, -> { Internal::Types::Array[String] }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/client_my_organization_response_configuration.rb b/lib/auth0/types/client_my_organization_response_configuration.rb index afb62a91..505df55d 100644 --- a/lib/auth0/types/client_my_organization_response_configuration.rb +++ b/lib/auth0/types/client_my_organization_response_configuration.rb @@ -5,11 +5,12 @@ module Types # Configuration related to the My Organization Configuration for the client. class ClientMyOrganizationResponseConfiguration < Internal::Types::Model field :connection_profile_id, -> { String }, optional: true, nullable: false + field :user_attribute_profile_id, -> { String }, optional: true, nullable: false + field :allowed_strategies, -> { Internal::Types::Array[Auth0::Types::ClientMyOrganizationConfigurationAllowedStrategiesEnum] }, optional: false, nullable: false + field :connection_deletion_behavior, -> { Auth0::Types::ClientMyOrganizationDeletionBehaviorEnum }, optional: false, nullable: false - field :invitation_landing_client_id, -> { String }, optional: true, nullable: false - field :allowed_roles, -> { Internal::Types::Array[String] }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/client_oidc_backchannel_logout_initiators.rb b/lib/auth0/types/client_oidc_backchannel_logout_initiators.rb index 488152fe..b14aeced 100644 --- a/lib/auth0/types/client_oidc_backchannel_logout_initiators.rb +++ b/lib/auth0/types/client_oidc_backchannel_logout_initiators.rb @@ -5,6 +5,7 @@ module Types # Configuration for OIDC backchannel logout initiators class ClientOidcBackchannelLogoutInitiators < Internal::Types::Model field :mode, -> { Auth0::Types::ClientOidcBackchannelLogoutInitiatorsModeEnum }, optional: true, nullable: false + field :selected_initiators, -> { Internal::Types::Array[Auth0::Types::ClientOidcBackchannelLogoutInitiatorsEnum] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/client_oidc_backchannel_logout_settings.rb b/lib/auth0/types/client_oidc_backchannel_logout_settings.rb index 3cf12265..233cd50b 100644 --- a/lib/auth0/types/client_oidc_backchannel_logout_settings.rb +++ b/lib/auth0/types/client_oidc_backchannel_logout_settings.rb @@ -5,7 +5,9 @@ module Types # Configuration for OIDC backchannel logout class ClientOidcBackchannelLogoutSettings < Internal::Types::Model field :backchannel_logout_urls, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :backchannel_logout_initiators, -> { Auth0::Types::ClientOidcBackchannelLogoutInitiators }, optional: true, nullable: false + field :backchannel_logout_session_metadata, -> { Auth0::Types::ClientOidcBackchannelLogoutSessionMetadata }, optional: true, nullable: false end end diff --git a/lib/auth0/types/client_refresh_token_configuration.rb b/lib/auth0/types/client_refresh_token_configuration.rb index d060d18d..da752754 100644 --- a/lib/auth0/types/client_refresh_token_configuration.rb +++ b/lib/auth0/types/client_refresh_token_configuration.rb @@ -5,12 +5,19 @@ module Types # Refresh token configuration class ClientRefreshTokenConfiguration < Internal::Types::Model field :rotation_type, -> { Auth0::Types::RefreshTokenRotationTypeEnum }, optional: false, nullable: false + field :expiration_type, -> { Auth0::Types::RefreshTokenExpirationTypeEnum }, optional: false, nullable: false + field :leeway, -> { Integer }, optional: true, nullable: false + field :token_lifetime, -> { Integer }, optional: true, nullable: false + field :infinite_token_lifetime, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :idle_token_lifetime, -> { Integer }, optional: true, nullable: false + field :infinite_idle_token_lifetime, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :policies, -> { Internal::Types::Array[Auth0::Types::ClientRefreshTokenPolicy] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/client_refresh_token_policy.rb b/lib/auth0/types/client_refresh_token_policy.rb index eedba2bb..6385f3e2 100644 --- a/lib/auth0/types/client_refresh_token_policy.rb +++ b/lib/auth0/types/client_refresh_token_policy.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ClientRefreshTokenPolicy < Internal::Types::Model field :audience, -> { String }, optional: false, nullable: false + field :scope, -> { Internal::Types::Array[String] }, optional: false, nullable: false end end diff --git a/lib/auth0/types/client_session_transfer_configuration.rb b/lib/auth0/types/client_session_transfer_configuration.rb index a1eb7e8f..d2b6aa6d 100644 --- a/lib/auth0/types/client_session_transfer_configuration.rb +++ b/lib/auth0/types/client_session_transfer_configuration.rb @@ -5,11 +5,18 @@ module Types # Native to Web SSO Configuration class ClientSessionTransferConfiguration < Internal::Types::Model field :can_create_session_transfer_token, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :enforce_cascade_revocation, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :allowed_authentication_methods, -> { Internal::Types::Array[Auth0::Types::ClientSessionTransferAllowedAuthenticationMethodsEnum] }, optional: true, nullable: false + field :enforce_device_binding, -> { Auth0::Types::ClientSessionTransferDeviceBindingEnum }, optional: true, nullable: false + field :allow_refresh_token, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :enforce_online_refresh_tokens, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :delegation, -> { Auth0::Types::ClientSessionTransferDelegationConfiguration }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/client_session_transfer_delegation_configuration.rb b/lib/auth0/types/client_session_transfer_delegation_configuration.rb new file mode 100644 index 00000000..2f552fa4 --- /dev/null +++ b/lib/auth0/types/client_session_transfer_delegation_configuration.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configuration for delegation (impersonation) access using Session Transfer Tokens + class ClientSessionTransferDelegationConfiguration < Internal::Types::Model + field :allow_delegated_access, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :enforce_device_binding, -> { Auth0::Types::ClientSessionTransferDelegationDeviceBindingEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/client_session_transfer_delegation_device_binding_enum.rb b/lib/auth0/types/client_session_transfer_delegation_device_binding_enum.rb new file mode 100644 index 00000000..d45d8e97 --- /dev/null +++ b/lib/auth0/types/client_session_transfer_delegation_device_binding_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module ClientSessionTransferDelegationDeviceBindingEnum + extend Auth0::Internal::Types::Enum + + IP = "ip" + ASN = "asn" + end + end +end diff --git a/lib/auth0/types/client_signed_request_object_with_credential_id.rb b/lib/auth0/types/client_signed_request_object_with_credential_id.rb index 42d5ff36..405f7d73 100644 --- a/lib/auth0/types/client_signed_request_object_with_credential_id.rb +++ b/lib/auth0/types/client_signed_request_object_with_credential_id.rb @@ -5,6 +5,7 @@ module Types # JWT-secured Authorization Requests (JAR) settings. class ClientSignedRequestObjectWithCredentialID < Internal::Types::Model field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :credentials, -> { Internal::Types::Array[Auth0::Types::CredentialID] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/client_signed_request_object_with_public_key.rb b/lib/auth0/types/client_signed_request_object_with_public_key.rb index eaf158da..6bf84252 100644 --- a/lib/auth0/types/client_signed_request_object_with_public_key.rb +++ b/lib/auth0/types/client_signed_request_object_with_public_key.rb @@ -5,6 +5,7 @@ module Types # JWT-secured Authorization Requests (JAR) settings. class ClientSignedRequestObjectWithPublicKey < Internal::Types::Model field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :credentials, -> { Internal::Types::Array[Auth0::Types::PublicKeyCredential] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/client_signing_key.rb b/lib/auth0/types/client_signing_key.rb index c67a6465..95b7dc73 100644 --- a/lib/auth0/types/client_signing_key.rb +++ b/lib/auth0/types/client_signing_key.rb @@ -4,7 +4,9 @@ module Auth0 module Types class ClientSigningKey < Internal::Types::Model field :pkcs7, -> { String }, optional: true, nullable: false + field :cert, -> { String }, optional: true, nullable: false + field :subject, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connected_account.rb b/lib/auth0/types/connected_account.rb index 993b3123..126e855b 100644 --- a/lib/auth0/types/connected_account.rb +++ b/lib/auth0/types/connected_account.rb @@ -4,13 +4,21 @@ module Auth0 module Types class ConnectedAccount < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :connection, -> { String }, optional: false, nullable: false + field :connection_id, -> { String }, optional: false, nullable: false + field :strategy, -> { String }, optional: false, nullable: false + field :access_type, -> { Auth0::Types::ConnectedAccountAccessTypeEnum }, optional: false, nullable: false + field :scopes, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :expires_at, -> { String }, optional: true, nullable: false + field :organization_id, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_assertion_decryption_algorithm_profile_enum.rb b/lib/auth0/types/connection_assertion_decryption_algorithm_profile_enum.rb new file mode 100644 index 00000000..add18109 --- /dev/null +++ b/lib/auth0/types/connection_assertion_decryption_algorithm_profile_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module ConnectionAssertionDecryptionAlgorithmProfileEnum + extend Auth0::Internal::Types::Enum + + V20261 = "v2026-1" + end + end +end diff --git a/lib/auth0/types/connection_assertion_decryption_settings.rb b/lib/auth0/types/connection_assertion_decryption_settings.rb new file mode 100644 index 00000000..a01105f2 --- /dev/null +++ b/lib/auth0/types/connection_assertion_decryption_settings.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Settings for SAML assertion decryption. + class ConnectionAssertionDecryptionSettings < Internal::Types::Model + field :algorithm_profile, -> { Auth0::Types::ConnectionAssertionDecryptionAlgorithmProfileEnum }, optional: false, nullable: false + + field :algorithm_exceptions, -> { Internal::Types::Array[String] }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/connection_attribute_identifier.rb b/lib/auth0/types/connection_attribute_identifier.rb index e2bdc817..f49003aa 100644 --- a/lib/auth0/types/connection_attribute_identifier.rb +++ b/lib/auth0/types/connection_attribute_identifier.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ConnectionAttributeIdentifier < Internal::Types::Model field :active, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :default_method, -> { Auth0::Types::DefaultMethodEmailIdentifierEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_attribute_map_oidc.rb b/lib/auth0/types/connection_attribute_map_oidc.rb index a7cc89f0..66c0548e 100644 --- a/lib/auth0/types/connection_attribute_map_oidc.rb +++ b/lib/auth0/types/connection_attribute_map_oidc.rb @@ -6,7 +6,9 @@ module Types # which IdP claims populate user fields and how they are transformed. class ConnectionAttributeMapOidc < Internal::Types::Model field :attributes, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :mapping_mode, -> { Auth0::Types::ConnectionMappingModeEnumOidc }, optional: true, nullable: false + field :userinfo_scope, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_attribute_map_okta.rb b/lib/auth0/types/connection_attribute_map_okta.rb index 0f72bbee..085f9b1b 100644 --- a/lib/auth0/types/connection_attribute_map_okta.rb +++ b/lib/auth0/types/connection_attribute_map_okta.rb @@ -5,7 +5,9 @@ module Types # Mapping of claims received from the identity provider (IdP) class ConnectionAttributeMapOkta < Internal::Types::Model field :attributes, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :mapping_mode, -> { Auth0::Types::ConnectionMappingModeEnumOkta }, optional: true, nullable: false + field :userinfo_scope, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_attributes.rb b/lib/auth0/types/connection_attributes.rb index 146eec45..4030ed12 100644 --- a/lib/auth0/types/connection_attributes.rb +++ b/lib/auth0/types/connection_attributes.rb @@ -5,7 +5,9 @@ module Types # Attribute configuration class ConnectionAttributes < Internal::Types::Model field :email, -> { Auth0::Types::EmailAttribute }, optional: true, nullable: false + field :phone_number, -> { Auth0::Types::PhoneAttribute }, optional: true, nullable: false + field :username, -> { Auth0::Types::UsernameAttribute }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_authentication_methods.rb b/lib/auth0/types/connection_authentication_methods.rb index 4793ded2..34d4b5ae 100644 --- a/lib/auth0/types/connection_authentication_methods.rb +++ b/lib/auth0/types/connection_authentication_methods.rb @@ -5,8 +5,11 @@ module Types # Options for enabling authentication methods. class ConnectionAuthenticationMethods < Internal::Types::Model field :password, -> { Auth0::Types::ConnectionPasswordAuthenticationMethod }, optional: true, nullable: false + field :passkey, -> { Auth0::Types::ConnectionPasskeyAuthenticationMethod }, optional: true, nullable: false + field :email_otp, -> { Auth0::Types::ConnectionEmailOtpAuthenticationMethod }, optional: true, nullable: false + field :phone_otp, -> { Auth0::Types::ConnectionPhoneOtpAuthenticationMethod }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_base_url_exact.rb b/lib/auth0/types/connection_base_url_exact.rb index 45e359cd..2962743d 100644 --- a/lib/auth0/types/connection_base_url_exact.rb +++ b/lib/auth0/types/connection_base_url_exact.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionBaseURLExact - # ConnectionBaseURLExact is an alias for ConnectionHttpsUrlWithHttpFallback + # ConnectionBaseURLExact is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_client_id_amazon.rb b/lib/auth0/types/connection_client_id_amazon.rb index 7b715165..d884db65 100644 --- a/lib/auth0/types/connection_client_id_amazon.rb +++ b/lib/auth0/types/connection_client_id_amazon.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionClientIDAmazon - # ConnectionClientIDAmazon is an alias for ConnectionClientID + # ConnectionClientIDAmazon is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_client_id_azure_ad.rb b/lib/auth0/types/connection_client_id_azure_ad.rb index 5a812f7a..fe577992 100644 --- a/lib/auth0/types/connection_client_id_azure_ad.rb +++ b/lib/auth0/types/connection_client_id_azure_ad.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionClientIDAzureAd - # ConnectionClientIDAzureAd is an alias for ConnectionClientID + # ConnectionClientIDAzureAd is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_client_id_exact.rb b/lib/auth0/types/connection_client_id_exact.rb index 8116a554..3893a58e 100644 --- a/lib/auth0/types/connection_client_id_exact.rb +++ b/lib/auth0/types/connection_client_id_exact.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionClientIDExact - # ConnectionClientIDExact is an alias for ConnectionClientID + # ConnectionClientIDExact is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_client_id_facebook.rb b/lib/auth0/types/connection_client_id_facebook.rb index 84a10f2b..f242b1b5 100644 --- a/lib/auth0/types/connection_client_id_facebook.rb +++ b/lib/auth0/types/connection_client_id_facebook.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionClientIDFacebook - # ConnectionClientIDFacebook is an alias for ConnectionClientID + # ConnectionClientIDFacebook is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_client_id_google_apps.rb b/lib/auth0/types/connection_client_id_google_apps.rb index 07f32c3b..4435948a 100644 --- a/lib/auth0/types/connection_client_id_google_apps.rb +++ b/lib/auth0/types/connection_client_id_google_apps.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionClientIDGoogleApps - # ConnectionClientIDGoogleApps is an alias for ConnectionClientID + # ConnectionClientIDGoogleApps is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_client_id_o_auth1.rb b/lib/auth0/types/connection_client_id_o_auth1.rb index 290d61bd..e98a7343 100644 --- a/lib/auth0/types/connection_client_id_o_auth1.rb +++ b/lib/auth0/types/connection_client_id_o_auth1.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionClientIDOAuth1 - # ConnectionClientIDOAuth1 is an alias for ConnectionClientID + # ConnectionClientIDOAuth1 is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_client_id_o_auth2.rb b/lib/auth0/types/connection_client_id_o_auth2.rb index 501e25ac..b3e53fa7 100644 --- a/lib/auth0/types/connection_client_id_o_auth2.rb +++ b/lib/auth0/types/connection_client_id_o_auth2.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionClientIDOAuth2 - # ConnectionClientIDOAuth2 is an alias for ConnectionClientID + # ConnectionClientIDOAuth2 is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_client_id_oidc.rb b/lib/auth0/types/connection_client_id_oidc.rb index fcc7017d..a153498f 100644 --- a/lib/auth0/types/connection_client_id_oidc.rb +++ b/lib/auth0/types/connection_client_id_oidc.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionClientIDOidc - # ConnectionClientIDOidc is an alias for ConnectionClientID + # ConnectionClientIDOidc is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_client_id_paypal.rb b/lib/auth0/types/connection_client_id_paypal.rb index d79b3041..099f06a9 100644 --- a/lib/auth0/types/connection_client_id_paypal.rb +++ b/lib/auth0/types/connection_client_id_paypal.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionClientIDPaypal - # ConnectionClientIDPaypal is an alias for ConnectionClientID + # ConnectionClientIDPaypal is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_client_secret_amazon.rb b/lib/auth0/types/connection_client_secret_amazon.rb index 3d38dc7a..dc8786ba 100644 --- a/lib/auth0/types/connection_client_secret_amazon.rb +++ b/lib/auth0/types/connection_client_secret_amazon.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionClientSecretAmazon - # ConnectionClientSecretAmazon is an alias for ConnectionClientSecret + # ConnectionClientSecretAmazon is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_client_secret_bitbucket.rb b/lib/auth0/types/connection_client_secret_bitbucket.rb index d26a5295..361a3f60 100644 --- a/lib/auth0/types/connection_client_secret_bitbucket.rb +++ b/lib/auth0/types/connection_client_secret_bitbucket.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionClientSecretBitbucket - # ConnectionClientSecretBitbucket is an alias for ConnectionClientSecret + # ConnectionClientSecretBitbucket is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_client_secret_exact.rb b/lib/auth0/types/connection_client_secret_exact.rb index e7de7598..6df378cc 100644 --- a/lib/auth0/types/connection_client_secret_exact.rb +++ b/lib/auth0/types/connection_client_secret_exact.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionClientSecretExact - # ConnectionClientSecretExact is an alias for ConnectionClientSecret + # ConnectionClientSecretExact is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_client_secret_facebook.rb b/lib/auth0/types/connection_client_secret_facebook.rb index ef9faa81..f651381c 100644 --- a/lib/auth0/types/connection_client_secret_facebook.rb +++ b/lib/auth0/types/connection_client_secret_facebook.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionClientSecretFacebook - # ConnectionClientSecretFacebook is an alias for ConnectionClientSecret + # ConnectionClientSecretFacebook is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_client_secret_google_apps.rb b/lib/auth0/types/connection_client_secret_google_apps.rb index eaa45fd0..bcdd9655 100644 --- a/lib/auth0/types/connection_client_secret_google_apps.rb +++ b/lib/auth0/types/connection_client_secret_google_apps.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionClientSecretGoogleApps - # ConnectionClientSecretGoogleApps is an alias for ConnectionClientSecret + # ConnectionClientSecretGoogleApps is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_client_secret_o_auth1.rb b/lib/auth0/types/connection_client_secret_o_auth1.rb index 2a4e3e7b..2ccca344 100644 --- a/lib/auth0/types/connection_client_secret_o_auth1.rb +++ b/lib/auth0/types/connection_client_secret_o_auth1.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionClientSecretOAuth1 - # ConnectionClientSecretOAuth1 is an alias for ConnectionClientSecret + # ConnectionClientSecretOAuth1 is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_client_secret_o_auth2.rb b/lib/auth0/types/connection_client_secret_o_auth2.rb index 19dc5e24..18d5b5c7 100644 --- a/lib/auth0/types/connection_client_secret_o_auth2.rb +++ b/lib/auth0/types/connection_client_secret_o_auth2.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionClientSecretOAuth2 - # ConnectionClientSecretOAuth2 is an alias for ConnectionClientSecret + # ConnectionClientSecretOAuth2 is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_client_secret_oidc.rb b/lib/auth0/types/connection_client_secret_oidc.rb index ed6eeea9..5556762e 100644 --- a/lib/auth0/types/connection_client_secret_oidc.rb +++ b/lib/auth0/types/connection_client_secret_oidc.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionClientSecretOidc - # ConnectionClientSecretOidc is an alias for ConnectionClientSecret + # ConnectionClientSecretOidc is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_client_secret_paypal.rb b/lib/auth0/types/connection_client_secret_paypal.rb index 98c9d9c9..eff7c045 100644 --- a/lib/auth0/types/connection_client_secret_paypal.rb +++ b/lib/auth0/types/connection_client_secret_paypal.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionClientSecretPaypal - # ConnectionClientSecretPaypal is an alias for ConnectionClientSecret + # ConnectionClientSecretPaypal is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_client_secret_windows_live.rb b/lib/auth0/types/connection_client_secret_windows_live.rb index 26a78021..1cd47747 100644 --- a/lib/auth0/types/connection_client_secret_windows_live.rb +++ b/lib/auth0/types/connection_client_secret_windows_live.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionClientSecretWindowsLive - # ConnectionClientSecretWindowsLive is an alias for ConnectionClientSecret + # ConnectionClientSecretWindowsLive is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_common.rb b/lib/auth0/types/connection_common.rb index 5e3024b9..1488d225 100644 --- a/lib/auth0/types/connection_common.rb +++ b/lib/auth0/types/connection_common.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ConnectionCommon < Internal::Types::Model field :display_name, -> { String }, optional: true, nullable: false + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_connected_accounts_purpose.rb b/lib/auth0/types/connection_connected_accounts_purpose.rb index 7662f7d9..3792ad2d 100644 --- a/lib/auth0/types/connection_connected_accounts_purpose.rb +++ b/lib/auth0/types/connection_connected_accounts_purpose.rb @@ -5,6 +5,7 @@ module Types # Configure the purpose of a connection to be used for connected accounts and Token Vault. class ConnectionConnectedAccountsPurpose < Internal::Types::Model field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :cross_app_access, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_connected_accounts_purpose_xaa.rb b/lib/auth0/types/connection_connected_accounts_purpose_xaa.rb index b5cc72bf..108c498f 100644 --- a/lib/auth0/types/connection_connected_accounts_purpose_xaa.rb +++ b/lib/auth0/types/connection_connected_accounts_purpose_xaa.rb @@ -5,6 +5,7 @@ module Types # Configure the purpose of a connection to be used for connected accounts and Token Vault. class ConnectionConnectedAccountsPurposeXaa < Internal::Types::Model field :cross_app_access, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false end end diff --git a/lib/auth0/types/connection_custom_scripts.rb b/lib/auth0/types/connection_custom_scripts.rb index 589b5f3c..acb70991 100644 --- a/lib/auth0/types/connection_custom_scripts.rb +++ b/lib/auth0/types/connection_custom_scripts.rb @@ -5,13 +5,21 @@ module Types # A map of scripts used to integrate with a custom database. class ConnectionCustomScripts < Internal::Types::Model field :login, -> { String }, optional: true, nullable: false + field :get_user, -> { String }, optional: true, nullable: false + field :delete, -> { String }, optional: true, nullable: false + field :change_password, -> { String }, optional: true, nullable: false + field :verify, -> { String }, optional: true, nullable: false + field :create, -> { String }, optional: true, nullable: false + field :change_username, -> { String }, optional: true, nullable: false + field :change_email, -> { String }, optional: true, nullable: false + field :change_phone_number, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_decryption_key_saml.rb b/lib/auth0/types/connection_decryption_key_saml.rb index 14449c3f..79374cff 100644 --- a/lib/auth0/types/connection_decryption_key_saml.rb +++ b/lib/auth0/types/connection_decryption_key_saml.rb @@ -9,6 +9,7 @@ class ConnectionDecryptionKeySAML < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::ConnectionDecryptionKeySAMLCert } + member -> { String } end end diff --git a/lib/auth0/types/connection_decryption_key_saml_cert.rb b/lib/auth0/types/connection_decryption_key_saml_cert.rb index 0930f3be..96023cee 100644 --- a/lib/auth0/types/connection_decryption_key_saml_cert.rb +++ b/lib/auth0/types/connection_decryption_key_saml_cert.rb @@ -5,6 +5,7 @@ module Types # Key pair with 'key' and 'cert' properties. class ConnectionDecryptionKeySAMLCert < Internal::Types::Model field :cert, -> { String }, optional: true, nullable: false + field :key, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_dpop_signing_alg_enum.rb b/lib/auth0/types/connection_dpop_signing_alg_enum.rb index 0c1b0f4d..b820d8f1 100644 --- a/lib/auth0/types/connection_dpop_signing_alg_enum.rb +++ b/lib/auth0/types/connection_dpop_signing_alg_enum.rb @@ -6,6 +6,8 @@ module ConnectionDpopSigningAlgEnum extend Auth0::Internal::Types::Enum ES256 = "ES256" + ES384 = "ES384" + ES512 = "ES512" ED25519 = "Ed25519" end end diff --git a/lib/auth0/types/connection_email_email.rb b/lib/auth0/types/connection_email_email.rb index d56ee74d..a0ff4656 100644 --- a/lib/auth0/types/connection_email_email.rb +++ b/lib/auth0/types/connection_email_email.rb @@ -5,8 +5,11 @@ module Types # Email template configuration class ConnectionEmailEmail < Internal::Types::Model field :body, -> { String }, optional: true, nullable: false + field :from, -> { String }, optional: true, nullable: false + field :subject, -> { String }, optional: true, nullable: false + field :syntax, -> { Auth0::Types::ConnectionEmailEmailSyntax }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_fields_map_saml_value.rb b/lib/auth0/types/connection_fields_map_saml_value.rb index 422a6928..ce60418d 100644 --- a/lib/auth0/types/connection_fields_map_saml_value.rb +++ b/lib/auth0/types/connection_fields_map_saml_value.rb @@ -6,6 +6,7 @@ class ConnectionFieldsMapSAMLValue < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { String } + member -> { Internal::Types::Array[String] } end end diff --git a/lib/auth0/types/connection_for_list.rb b/lib/auth0/types/connection_for_list.rb index 3c4ad0ba..897c9971 100644 --- a/lib/auth0/types/connection_for_list.rb +++ b/lib/auth0/types/connection_for_list.rb @@ -4,15 +4,25 @@ module Auth0 module Types class ConnectionForList < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :display_name, -> { String }, optional: true, nullable: false + field :options, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :id, -> { String }, optional: true, nullable: false + field :strategy, -> { String }, optional: true, nullable: false + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false + field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false + field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_for_organization.rb b/lib/auth0/types/connection_for_organization.rb index 9b823d9f..c98493f6 100644 --- a/lib/auth0/types/connection_for_organization.rb +++ b/lib/auth0/types/connection_for_organization.rb @@ -5,8 +5,11 @@ module Types # Connection to be added to the organization. class ConnectionForOrganization < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :assign_membership_on_login, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :is_signup_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_gateway_authentication.rb b/lib/auth0/types/connection_gateway_authentication.rb index 2a31aff2..eb2865c8 100644 --- a/lib/auth0/types/connection_gateway_authentication.rb +++ b/lib/auth0/types/connection_gateway_authentication.rb @@ -5,9 +5,13 @@ module Types # Token-based authentication settings to be applied when connection is using an sms strategy. class ConnectionGatewayAuthentication < Internal::Types::Model field :method_, -> { String }, optional: false, nullable: false, api_name: "method" + field :subject, -> { String }, optional: true, nullable: false + field :audience, -> { String }, optional: false, nullable: false + field :secret, -> { String }, optional: false, nullable: false + field :secret_base64encoded, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "secret_base64_encoded" end end diff --git a/lib/auth0/types/connection_gateway_authentication_sms.rb b/lib/auth0/types/connection_gateway_authentication_sms.rb index 21f706ea..c7933776 100644 --- a/lib/auth0/types/connection_gateway_authentication_sms.rb +++ b/lib/auth0/types/connection_gateway_authentication_sms.rb @@ -5,9 +5,13 @@ module Types # Optional token-based authentication configuration for the SMS gateway class ConnectionGatewayAuthenticationSms < Internal::Types::Model field :audience, -> { String }, optional: false, nullable: false + field :method_, -> { String }, optional: false, nullable: false, api_name: "method" + field :secret, -> { String }, optional: false, nullable: false + field :secret_base64encoded, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "secret_base64_encoded" + field :subject, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_https_url_with_http_fallback2048.rb b/lib/auth0/types/connection_https_url_with_http_fallback2048.rb index 0970206e..43cec144 100644 --- a/lib/auth0/types/connection_https_url_with_http_fallback2048.rb +++ b/lib/auth0/types/connection_https_url_with_http_fallback2048.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionHttpsUrlWithHttpFallback2048 - # ConnectionHttpsUrlWithHttpFallback2048 is an alias for ConnectionHttpsUrlWithHttpFallback + # ConnectionHttpsUrlWithHttpFallback2048 is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_https_url_with_http_fallback255.rb b/lib/auth0/types/connection_https_url_with_http_fallback255.rb index fd35f519..c3d5c02e 100644 --- a/lib/auth0/types/connection_https_url_with_http_fallback255.rb +++ b/lib/auth0/types/connection_https_url_with_http_fallback255.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionHttpsUrlWithHttpFallback255 - # ConnectionHttpsUrlWithHttpFallback255 is an alias for ConnectionHttpsUrlWithHttpFallback + # ConnectionHttpsUrlWithHttpFallback255 is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_issuer.rb b/lib/auth0/types/connection_issuer.rb index e1146b7a..1053ea1e 100644 --- a/lib/auth0/types/connection_issuer.rb +++ b/lib/auth0/types/connection_issuer.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionIssuer - # ConnectionIssuer is an alias for ConnectionHttpsUrlWithHttpFallback255 + # ConnectionIssuer is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_jwks_uri.rb b/lib/auth0/types/connection_jwks_uri.rb index 9c4a0c15..67147839 100644 --- a/lib/auth0/types/connection_jwks_uri.rb +++ b/lib/auth0/types/connection_jwks_uri.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionJwksURI - # ConnectionJwksURI is an alias for ConnectionHttpsUrlWithHttpFallback255 + # ConnectionJwksURI is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_key.rb b/lib/auth0/types/connection_key.rb index 6c58c4f9..4c75506f 100644 --- a/lib/auth0/types/connection_key.rb +++ b/lib/auth0/types/connection_key.rb @@ -4,16 +4,27 @@ module Auth0 module Types class ConnectionKey < Internal::Types::Model field :kid, -> { String }, optional: false, nullable: false + field :cert, -> { String }, optional: false, nullable: false + field :pkcs, -> { String }, optional: true, nullable: false + field :current, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :next_, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "next" + field :previous, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :current_since, -> { String }, optional: true, nullable: false + field :fingerprint, -> { String }, optional: false, nullable: false + field :thumbprint, -> { String }, optional: false, nullable: false + field :algorithm, -> { String }, optional: true, nullable: false + field :key_use, -> { Auth0::Types::ConnectionKeyUseEnum }, optional: true, nullable: false + field :subject_dn, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_mfa.rb b/lib/auth0/types/connection_mfa.rb index c59861b8..623e53a3 100644 --- a/lib/auth0/types/connection_mfa.rb +++ b/lib/auth0/types/connection_mfa.rb @@ -5,6 +5,7 @@ module Types # Multi-factor authentication configuration class ConnectionMfa < Internal::Types::Model field :active, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :return_enroll_settings, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_op_policy_uri.rb b/lib/auth0/types/connection_op_policy_uri.rb index 1445ec3a..091f3abd 100644 --- a/lib/auth0/types/connection_op_policy_uri.rb +++ b/lib/auth0/types/connection_op_policy_uri.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionOpPolicyURI - # ConnectionOpPolicyURI is an alias for ConnectionHttpsUrlWithHttpFallback255 + # ConnectionOpPolicyURI is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_op_tos_uri.rb b/lib/auth0/types/connection_op_tos_uri.rb index cc40d29c..df7bcf42 100644 --- a/lib/auth0/types/connection_op_tos_uri.rb +++ b/lib/auth0/types/connection_op_tos_uri.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionOpTosURI - # ConnectionOpTosURI is an alias for ConnectionHttpsUrlWithHttpFallback255 + # ConnectionOpTosURI is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_options_ad.rb b/lib/auth0/types/connection_options_ad.rb index c80f4e06..06fbfdda 100644 --- a/lib/auth0/types/connection_options_ad.rb +++ b/lib/auth0/types/connection_options_ad.rb @@ -5,21 +5,37 @@ module Types # Options for the 'ad' connection class ConnectionOptionsAd < Internal::Types::Model field :agent_ip, -> { String }, optional: true, nullable: false, api_name: "agentIP" + field :agent_mode, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "agentMode" + field :agent_version, -> { String }, optional: true, nullable: false, api_name: "agentVersion" + field :brute_force_protection, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :cert_auth, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "certAuth" + field :certs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :disable_cache, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :disable_self_service_change_password, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :icon_url, -> { String }, optional: true, nullable: false + field :ips, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :kerberos, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false + field :sign_in_endpoint, -> { String }, optional: true, nullable: false, api_name: "signInEndpoint" + field :tenant_domain, -> { String }, optional: true, nullable: false + field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_adfs.rb b/lib/auth0/types/connection_options_adfs.rb index 2098fee7..1ffc332f 100644 --- a/lib/auth0/types/connection_options_adfs.rb +++ b/lib/auth0/types/connection_options_adfs.rb @@ -5,17 +5,29 @@ module Types # Options for the 'adfs' connection class ConnectionOptionsAdfs < Internal::Types::Model field :adfs_server, -> { String }, optional: true, nullable: false + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :entity_id, -> { String }, optional: true, nullable: false, api_name: "entityId" + field :fed_metadata_xml, -> { String }, optional: true, nullable: false, api_name: "fedMetadataXml" + field :icon_url, -> { String }, optional: true, nullable: false + field :prev_thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false + field :should_trust_email_verified_connection, -> { Auth0::Types::ConnectionShouldTrustEmailVerifiedConnectionEnum }, optional: true, nullable: false + field :sign_in_endpoint, -> { String }, optional: true, nullable: false, api_name: "signInEndpoint" + field :tenant_domain, -> { String }, optional: true, nullable: false + field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false + field :user_id_attribute, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_amazon.rb b/lib/auth0/types/connection_options_amazon.rb index 9b855e7b..0b6a7712 100644 --- a/lib/auth0/types/connection_options_amazon.rb +++ b/lib/auth0/types/connection_options_amazon.rb @@ -5,12 +5,19 @@ module Types # Options for the 'amazon' connection class ConnectionOptionsAmazon < Internal::Types::Model field :client_id, -> { String }, optional: true, nullable: false + field :client_secret, -> { String }, optional: true, nullable: false + field :freeform_scopes, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :postal_code, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :profile, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :scope, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false + field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_apple.rb b/lib/auth0/types/connection_options_apple.rb index 60fa0358..39f508ff 100644 --- a/lib/auth0/types/connection_options_apple.rb +++ b/lib/auth0/types/connection_options_apple.rb @@ -5,14 +5,23 @@ module Types # Options for the 'apple' connection class ConnectionOptionsApple < Internal::Types::Model field :app_secret, -> { String }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false + field :email, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :freeform_scopes, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :kid, -> { String }, optional: true, nullable: false + field :name, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :scope, -> { String }, optional: true, nullable: false + field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false + field :team_id, -> { String }, optional: true, nullable: false + field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_auth0.rb b/lib/auth0/types/connection_options_auth0.rb index 6e4bb506..8a027193 100644 --- a/lib/auth0/types/connection_options_auth0.rb +++ b/lib/auth0/types/connection_options_auth0.rb @@ -5,26 +5,47 @@ module Types # Options for the 'auth0' connection class ConnectionOptionsAuth0 < Internal::Types::Model field :attributes, -> { Auth0::Types::ConnectionAttributes }, optional: true, nullable: false + field :authentication_methods, -> { Auth0::Types::ConnectionAuthenticationMethods }, optional: true, nullable: false + field :brute_force_protection, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :configuration, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false + field :custom_scripts, -> { Auth0::Types::ConnectionCustomScripts }, optional: true, nullable: false, api_name: "customScripts" + field :disable_self_service_change_password, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :disable_signup, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :enable_script_context, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :enabled_database_customization, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "enabledDatabaseCustomization" + field :import_mode, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mfa, -> { Auth0::Types::ConnectionMfa }, optional: true, nullable: false + field :passkey_options, -> { Auth0::Types::ConnectionPasskeyOptions }, optional: true, nullable: false + field :password_policy, -> { Auth0::Types::ConnectionPasswordPolicyEnum }, optional: true, nullable: false, api_name: "passwordPolicy" + field :password_complexity_options, -> { Auth0::Types::ConnectionPasswordComplexityOptions }, optional: true, nullable: false + field :password_dictionary, -> { Auth0::Types::ConnectionPasswordDictionaryOptions }, optional: true, nullable: false + field :password_history, -> { Auth0::Types::ConnectionPasswordHistoryOptions }, optional: true, nullable: false + field :password_no_personal_info, -> { Auth0::Types::ConnectionPasswordNoPersonalInfoOptions }, optional: true, nullable: false + field :password_options, -> { Auth0::Types::ConnectionPasswordOptions }, optional: true, nullable: false + field :precedence, -> { Internal::Types::Array[Auth0::Types::ConnectionIdentifierPrecedenceEnum] }, optional: true, nullable: false + field :realm_fallback, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :requires_username, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :validation, -> { Auth0::Types::ConnectionValidationOptions }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_auth0oidc.rb b/lib/auth0/types/connection_options_auth0oidc.rb index c5b515ae..82aeedba 100644 --- a/lib/auth0/types/connection_options_auth0oidc.rb +++ b/lib/auth0/types/connection_options_auth0oidc.rb @@ -5,6 +5,7 @@ module Types # Options for the 'auth0-oidc' connection class ConnectionOptionsAuth0Oidc < Internal::Types::Model field :client_id, -> { String }, optional: true, nullable: false + field :client_secret, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_azure_ad.rb b/lib/auth0/types/connection_options_azure_ad.rb index a45500b3..b537dabf 100644 --- a/lib/auth0/types/connection_options_azure_ad.rb +++ b/lib/auth0/types/connection_options_azure_ad.rb @@ -5,71 +5,137 @@ module Types # Options for the 'waad' connection class ConnectionOptionsAzureAd < Internal::Types::Model field :api_enable_users, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :app_domain, -> { String }, optional: true, nullable: false + field :app_id, -> { String }, optional: true, nullable: false + field :basic_profile, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :client_id, -> { String }, optional: false, nullable: false + field :client_secret, -> { String }, optional: true, nullable: false + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :ext_access_token, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_account_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_admin, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_agreed_terms, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_assigned_licenses, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_assigned_plans, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_azure_id, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_city, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_country, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_department, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_dir_sync_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_email, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_expires_in, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_family_name, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_fax, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_given_name, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_group_ids, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_groups, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_is_suspended, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_job_title, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_last_sync, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_mobile, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_name, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_nested_groups, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_nickname, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_oid, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_phone, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_physical_delivery_office_name, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_postal_code, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_preferred_language, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_profile, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_provisioned_plans, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_provisioning_errors, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_proxy_addresses, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_puid, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_refresh_token, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_roles, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_state, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_street, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_telephone_number, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "ext_telephoneNumber" + field :ext_tenantid, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_upn, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_usage_location, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_user_id, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :federated_connections_access_tokens, -> { Auth0::Types::ConnectionFederatedConnectionsAccessTokens }, optional: true, nullable: false + field :granted, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :icon_url, -> { String }, optional: true, nullable: false + field :identity_api, -> { Auth0::Types::ConnectionIdentityAPIEnumAzureAd }, optional: true, nullable: false + field :max_groups_to_retrieve, -> { String }, optional: true, nullable: false + field :scope, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false + field :should_trust_email_verified_connection, -> { Auth0::Types::ConnectionShouldTrustEmailVerifiedConnectionEnum }, optional: true, nullable: false + field :tenant_domain, -> { String }, optional: true, nullable: false + field :tenant_id, -> { String }, optional: true, nullable: false, api_name: "tenantId" + field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false + field :use_wsfed, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :use_common_endpoint, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "useCommonEndpoint" + field :userid_attribute, -> { Auth0::Types::ConnectionUseridAttributeEnumAzureAd }, optional: true, nullable: false + field :waad_protocol, -> { Auth0::Types::ConnectionWaadProtocolEnumAzureAd }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_bitbucket.rb b/lib/auth0/types/connection_options_bitbucket.rb index 22181736..7bc90500 100644 --- a/lib/auth0/types/connection_options_bitbucket.rb +++ b/lib/auth0/types/connection_options_bitbucket.rb @@ -5,10 +5,15 @@ module Types # Options for the 'bitbucket' connection class ConnectionOptionsBitbucket < Internal::Types::Model field :client_id, -> { String }, optional: true, nullable: false + field :client_secret, -> { String }, optional: true, nullable: false + field :freeform_scopes, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :profile, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :scope, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_common_oidc.rb b/lib/auth0/types/connection_options_common_oidc.rb index 130cd629..78b0d924 100644 --- a/lib/auth0/types/connection_options_common_oidc.rb +++ b/lib/auth0/types/connection_options_common_oidc.rb @@ -5,25 +5,47 @@ module Types # common options for OIDC connections class ConnectionOptionsCommonOidc < Internal::Types::Model field :authorization_endpoint, -> { String }, optional: true, nullable: false + field :client_id, -> { String }, optional: false, nullable: false + field :client_secret, -> { String }, optional: true, nullable: false + field :connection_settings, -> { Auth0::Types::ConnectionConnectionSettings }, optional: true, nullable: false + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :dpop_signing_alg, -> { Auth0::Types::ConnectionDpopSigningAlgEnum }, optional: true, nullable: false + field :federated_connections_access_tokens, -> { Auth0::Types::ConnectionFederatedConnectionsAccessTokens }, optional: true, nullable: false + field :icon_url, -> { String }, optional: true, nullable: false + field :id_token_signed_response_algs, -> { Internal::Types::Array[Auth0::Types::ConnectionIDTokenSignedResponseAlgEnum] }, optional: true, nullable: false + field :issuer, -> { String }, optional: true, nullable: false + field :jwks_uri, -> { String }, optional: true, nullable: false + field :oidc_metadata, -> { Auth0::Types::ConnectionOptionsOidcMetadata }, optional: true, nullable: false + field :scope, -> { String }, optional: true, nullable: false + field :send_back_channel_nonce, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false + field :tenant_domain, -> { String }, optional: true, nullable: false + field :token_endpoint, -> { String }, optional: true, nullable: false + field :token_endpoint_auth_method, -> { Auth0::Types::ConnectionTokenEndpointAuthMethodEnum }, optional: true, nullable: false + field :token_endpoint_auth_signing_alg, -> { Auth0::Types::ConnectionTokenEndpointAuthSigningAlgEnum }, optional: true, nullable: false + + field :token_endpoint_jwtca_aud_format, -> { Auth0::Types::ConnectionTokenEndpointJwtcaAudFormatEnumOidc }, optional: true, nullable: false + field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false + field :userinfo_endpoint, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_common_saml.rb b/lib/auth0/types/connection_options_common_saml.rb index 277464bc..c7170f88 100644 --- a/lib/auth0/types/connection_options_common_saml.rb +++ b/lib/auth0/types/connection_options_common_saml.rb @@ -4,20 +4,36 @@ module Auth0 module Types # Common options for SAML-based enterprise connections (shared by samlp and pingfederate). class ConnectionOptionsCommonSAML < Internal::Types::Model + field :assertion_decryption_settings, -> { Auth0::Types::ConnectionAssertionDecryptionSettings }, optional: true, nullable: false + field :cert, -> { String }, optional: true, nullable: false + field :decryption_key, -> { Auth0::Types::ConnectionDecryptionKeySAML }, optional: true, nullable: false, api_name: "decryptionKey" + field :digest_algorithm, -> { Auth0::Types::ConnectionDigestAlgorithmEnumSAML }, optional: true, nullable: false, api_name: "digestAlgorithm" + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :entity_id, -> { String }, optional: true, nullable: false, api_name: "entityId" + field :icon_url, -> { String }, optional: true, nullable: false + field :idpinitiated, -> { Auth0::Types::ConnectionOptionsIdpinitiatedSAML }, optional: true, nullable: false + field :protocol_binding, -> { Auth0::Types::ConnectionProtocolBindingEnumSAML }, optional: true, nullable: false, api_name: "protocolBinding" + field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false + field :sign_in_endpoint, -> { String }, optional: true, nullable: false, api_name: "signInEndpoint" + field :sign_saml_request, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "signSAMLRequest" + field :signature_algorithm, -> { Auth0::Types::ConnectionSignatureAlgorithmEnumSAML }, optional: true, nullable: false, api_name: "signatureAlgorithm" + field :tenant_domain, -> { String }, optional: true, nullable: false + field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_email.rb b/lib/auth0/types/connection_options_email.rb index 845f39ac..39a55970 100644 --- a/lib/auth0/types/connection_options_email.rb +++ b/lib/auth0/types/connection_options_email.rb @@ -5,10 +5,15 @@ module Types # Options for the 'email' connection class ConnectionOptionsEmail < Internal::Types::Model field :auth_params, -> { String }, optional: true, nullable: false, api_name: "authParams" + field :brute_force_protection, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :disable_signup, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :email, -> { Auth0::Types::ConnectionEmailEmail }, optional: false, nullable: false + field :name, -> { String }, optional: false, nullable: false + field :totp, -> { Auth0::Types::ConnectionTotpEmail }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_exact.rb b/lib/auth0/types/connection_options_exact.rb index 62861ebf..6e44943b 100644 --- a/lib/auth0/types/connection_options_exact.rb +++ b/lib/auth0/types/connection_options_exact.rb @@ -5,10 +5,15 @@ module Types # Options for the 'exact' connection class ConnectionOptionsExact < Internal::Types::Model field :base_url, -> { String }, optional: true, nullable: false, api_name: "baseUrl" + field :client_id, -> { String }, optional: true, nullable: false + field :client_secret, -> { String }, optional: true, nullable: false + field :profile, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false + field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_facebook.rb b/lib/auth0/types/connection_options_facebook.rb index e5d1a78c..7efbd557 100644 --- a/lib/auth0/types/connection_options_facebook.rb +++ b/lib/auth0/types/connection_options_facebook.rb @@ -5,51 +5,97 @@ module Types # Options for the 'facebook' connection class ConnectionOptionsFacebook < Internal::Types::Model field :client_id, -> { String }, optional: true, nullable: false + field :client_secret, -> { String }, optional: true, nullable: false + field :freeform_scopes, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false + field :scope, -> { String }, optional: true, nullable: false + field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false + field :ads_management, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ads_read, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :allow_context_profile_field, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :business_management, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :email, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :groups_access_member_info, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :leads_retrieval, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :manage_notifications, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :manage_pages, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :pages_manage_cta, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :pages_manage_instant_articles, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :pages_messaging, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :pages_messaging_phone_number, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :pages_messaging_subscriptions, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :pages_show_list, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :public_profile, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :publish_actions, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :publish_pages, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :publish_to_groups, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :publish_video, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :read_audience_network_insights, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :read_insights, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :read_mailbox, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :read_page_mailboxes, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :read_stream, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :user_age_range, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :user_birthday, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :user_events, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :user_friends, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :user_gender, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :user_groups, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :user_hometown, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :user_likes, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :user_link, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :user_location, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :user_managed_groups, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :user_photos, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :user_posts, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :user_status, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :user_tagged_places, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :user_videos, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_git_hub.rb b/lib/auth0/types/connection_options_git_hub.rb index 9019c0bf..ebf8997b 100644 --- a/lib/auth0/types/connection_options_git_hub.rb +++ b/lib/auth0/types/connection_options_git_hub.rb @@ -5,30 +5,55 @@ module Types # Options for the 'github' connection class ConnectionOptionsGitHub < Internal::Types::Model field :client_id, -> { String }, optional: true, nullable: false + field :client_secret, -> { String }, optional: true, nullable: false + field :freeform_scopes, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :scope, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false + field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false + field :admin_org, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :admin_public_key, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :admin_repo_hook, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :delete_repo, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :email, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :follow, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :gist, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :notifications, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :profile, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :public_repo, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :read_org, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :read_public_key, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :read_repo_hook, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :read_user, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :repo, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :repo_deployment, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :repo_status, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :write_org, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :write_public_key, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :write_repo_hook, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_google_apps.rb b/lib/auth0/types/connection_options_google_apps.rb index c2c8e89d..941a90cf 100644 --- a/lib/auth0/types/connection_options_google_apps.rb +++ b/lib/auth0/types/connection_options_google_apps.rb @@ -5,29 +5,53 @@ module Types # Options for the 'google-apps' connection class ConnectionOptionsGoogleApps < Internal::Types::Model field :admin_access_token, -> { String }, optional: true, nullable: false + field :admin_access_token_expiresin, -> { String }, optional: true, nullable: false + field :admin_refresh_token, -> { String }, optional: true, nullable: false + field :allow_setting_login_scopes, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :api_enable_groups, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :api_enable_users, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :client_id, -> { String }, optional: false, nullable: false + field :client_secret, -> { String }, optional: true, nullable: false + field :domain, -> { String }, optional: true, nullable: false + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :email, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_agreed_terms, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_groups, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_groups_extended, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_is_admin, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_is_suspended, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :federated_connections_access_tokens, -> { Auth0::Types::ConnectionFederatedConnectionsAccessTokens }, optional: true, nullable: false + field :handle_login_from_social, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :icon_url, -> { String }, optional: true, nullable: false + field :map_user_id_to_id, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :profile, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :scope, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false + field :tenant_domain, -> { String }, optional: true, nullable: false + field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_google_o_auth2.rb b/lib/auth0/types/connection_options_google_o_auth2.rb index 8d5205a9..ffe8c320 100644 --- a/lib/auth0/types/connection_options_google_o_auth2.rb +++ b/lib/auth0/types/connection_options_google_o_auth2.rb @@ -5,77 +5,149 @@ module Types # Options for the 'google-oauth2' connection class ConnectionOptionsGoogleOAuth2 < Internal::Types::Model field :allowed_audiences, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false + field :client_secret, -> { String }, optional: true, nullable: false + field :freeform_scopes, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :icon_url, -> { String }, optional: true, nullable: false + field :scope, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false + field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false + field :adsense_management, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :analytics, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :blogger, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :calendar, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :calendar_addons_execute, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :calendar_events, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :calendar_events_readonly, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :calendar_settings_readonly, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :chrome_web_store, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :contacts, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :contacts_new, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :contacts_other_readonly, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :contacts_readonly, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :content_api_for_shopping, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :coordinate, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :coordinate_readonly, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :directory_readonly, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :document_list, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :drive, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :drive_activity, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :drive_activity_readonly, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :drive_appdata, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :drive_apps_readonly, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :drive_file, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :drive_metadata, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :drive_metadata_readonly, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :drive_photos_readonly, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :drive_readonly, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :drive_scripts, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :email, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :gmail, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :gmail_compose, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :gmail_insert, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :gmail_labels, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :gmail_metadata, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :gmail_modify, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :gmail_new, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :gmail_readonly, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :gmail_send, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :gmail_settings_basic, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :gmail_settings_sharing, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :google_affiliate_network, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :google_books, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :google_cloud_storage, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :google_drive, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :google_drive_files, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :google_plus, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :latitude_best, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :latitude_city, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :moderator, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :offline_access, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :orkut, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :picasa_web, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :profile, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sites, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :tasks, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :tasks_readonly, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :url_shortener, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :webmaster_tools, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :youtube, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :youtube_channelmemberships_creator, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :youtube_new, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :youtube_readonly, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :youtube_upload, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :youtubepartner, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_idpinitiated_saml.rb b/lib/auth0/types/connection_options_idpinitiated_saml.rb index d0f5bcf4..fec6c13f 100644 --- a/lib/auth0/types/connection_options_idpinitiated_saml.rb +++ b/lib/auth0/types/connection_options_idpinitiated_saml.rb @@ -7,8 +7,11 @@ module Types # post-back URL (Assertion Consumer Service URL). class ConnectionOptionsIdpinitiatedSAML < Internal::Types::Model field :client_authorizequery, -> { String }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false + field :client_protocol, -> { Auth0::Types::ConnectionOptionsIdpInitiatedClientProtocolEnumSAML }, optional: true, nullable: false + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_line.rb b/lib/auth0/types/connection_options_line.rb index abf78327..58224367 100644 --- a/lib/auth0/types/connection_options_line.rb +++ b/lib/auth0/types/connection_options_line.rb @@ -5,12 +5,19 @@ module Types # Options for the 'line' connection class ConnectionOptionsLine < Internal::Types::Model field :client_id, -> { String }, optional: true, nullable: false + field :client_secret, -> { String }, optional: true, nullable: false + field :freeform_scopes, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :scope, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false + field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false + field :email, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :profile, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_linkedin.rb b/lib/auth0/types/connection_options_linkedin.rb index 7a6181fb..dbe3fb2f 100644 --- a/lib/auth0/types/connection_options_linkedin.rb +++ b/lib/auth0/types/connection_options_linkedin.rb @@ -5,17 +5,29 @@ module Types # Options for the 'linkedin' connection class ConnectionOptionsLinkedin < Internal::Types::Model field :client_id, -> { String }, optional: true, nullable: false + field :client_secret, -> { String }, optional: true, nullable: false + field :freeform_scopes, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :scope, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false + field :strategy_version, -> { Integer }, optional: true, nullable: false + field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false + field :basic_profile, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :email, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :full_profile, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :network, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :openid, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :profile, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_o_auth1.rb b/lib/auth0/types/connection_options_o_auth1.rb index 32701e91..576ce818 100644 --- a/lib/auth0/types/connection_options_o_auth1.rb +++ b/lib/auth0/types/connection_options_o_auth1.rb @@ -5,12 +5,19 @@ module Types # Options for the 'oauth1' connection class ConnectionOptionsOAuth1 < Internal::Types::Model field :access_token_url, -> { String }, optional: true, nullable: false, api_name: "accessTokenURL" + field :client_id, -> { String }, optional: true, nullable: false + field :client_secret, -> { String }, optional: true, nullable: false + field :request_token_url, -> { String }, optional: true, nullable: false, api_name: "requestTokenURL" + field :scripts, -> { Auth0::Types::ConnectionScriptsOAuth1 }, optional: true, nullable: false + field :signature_method, -> { Auth0::Types::ConnectionSignatureMethodOAuth1 }, optional: true, nullable: false, api_name: "signatureMethod" + field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false + field :user_authorization_url, -> { String }, optional: true, nullable: false, api_name: "userAuthorizationURL" end end diff --git a/lib/auth0/types/connection_options_o_auth1common.rb b/lib/auth0/types/connection_options_o_auth1common.rb index 9c2f9359..fbeddc6c 100644 --- a/lib/auth0/types/connection_options_o_auth1common.rb +++ b/lib/auth0/types/connection_options_o_auth1common.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ConnectionOptionsOAuth1Common < Internal::Types::Model field :client_id, -> { String }, optional: true, nullable: false + field :client_secret, -> { String }, optional: true, nullable: false + field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false + field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_o_auth2.rb b/lib/auth0/types/connection_options_o_auth2.rb index c5050f6a..f326f9fa 100644 --- a/lib/auth0/types/connection_options_o_auth2.rb +++ b/lib/auth0/types/connection_options_o_auth2.rb @@ -5,20 +5,35 @@ module Types # Options for the 'oauth2' connection class ConnectionOptionsOAuth2 < Internal::Types::Model field :auth_params, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false, api_name: "authParams" + field :auth_params_map, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false, api_name: "authParamsMap" + field :authorization_url, -> { String }, optional: true, nullable: false, api_name: "authorizationURL" + field :client_id, -> { String }, optional: true, nullable: false + field :client_secret, -> { String }, optional: true, nullable: false + field :custom_headers, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false, api_name: "customHeaders" + field :fields_map, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false, api_name: "fieldsMap" + field :icon_url, -> { String }, optional: true, nullable: false + field :logout_url, -> { String }, optional: true, nullable: false, api_name: "logoutUrl" + field :pkce_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :scope, -> { Auth0::Types::ConnectionScopeOAuth2 }, optional: true, nullable: false + field :scripts, -> { Auth0::Types::ConnectionScriptsOAuth2 }, optional: true, nullable: false + field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false + field :token_url, -> { String }, optional: true, nullable: false, api_name: "tokenURL" + field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false + field :use_oauth_spec_scope, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "useOauthSpecScope" end end diff --git a/lib/auth0/types/connection_options_o_auth2common.rb b/lib/auth0/types/connection_options_o_auth2common.rb index a5fa621a..8655c596 100644 --- a/lib/auth0/types/connection_options_o_auth2common.rb +++ b/lib/auth0/types/connection_options_o_auth2common.rb @@ -4,9 +4,13 @@ module Auth0 module Types class ConnectionOptionsOAuth2Common < Internal::Types::Model field :client_id, -> { String }, optional: true, nullable: false + field :client_secret, -> { String }, optional: true, nullable: false + field :scope, -> { Auth0::Types::ConnectionScopeOAuth2 }, optional: true, nullable: false + field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false + field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_office365.rb b/lib/auth0/types/connection_options_office365.rb index 671a4841..cf7c1a29 100644 --- a/lib/auth0/types/connection_options_office365.rb +++ b/lib/auth0/types/connection_options_office365.rb @@ -5,6 +5,7 @@ module Types # Options for the 'office365' connection class ConnectionOptionsOffice365 < Internal::Types::Model field :client_id, -> { String }, optional: true, nullable: false + field :client_secret, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_oidc.rb b/lib/auth0/types/connection_options_oidc.rb index 879b84a6..08e7cf68 100644 --- a/lib/auth0/types/connection_options_oidc.rb +++ b/lib/auth0/types/connection_options_oidc.rb @@ -5,7 +5,9 @@ module Types # Options for the 'oidc' connection class ConnectionOptionsOidc < Internal::Types::Model field :attribute_map, -> { Auth0::Types::ConnectionAttributeMapOidc }, optional: true, nullable: false + field :discovery_url, -> { String }, optional: true, nullable: false + field :type, -> { Auth0::Types::ConnectionTypeEnumOidc }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_oidc_metadata.rb b/lib/auth0/types/connection_options_oidc_metadata.rb index aa7fb106..98d99e61 100644 --- a/lib/auth0/types/connection_options_oidc_metadata.rb +++ b/lib/auth0/types/connection_options_oidc_metadata.rb @@ -6,41 +6,77 @@ module Types # https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata class ConnectionOptionsOidcMetadata < Internal::Types::Model field :acr_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :authorization_endpoint, -> { String }, optional: false, nullable: false + field :claim_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :claims_locales_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :claims_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :claims_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :display_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :dpop_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :end_session_endpoint, -> { String }, optional: true, nullable: false + field :grant_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :id_token_encryption_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :id_token_encryption_enc_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :id_token_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: false, nullable: false + field :issuer, -> { String }, optional: false, nullable: false + field :jwks_uri, -> { String }, optional: false, nullable: false + field :op_policy_uri, -> { String }, optional: true, nullable: false + field :op_tos_uri, -> { String }, optional: true, nullable: false + field :registration_endpoint, -> { String }, optional: true, nullable: false + field :request_object_encryption_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :request_object_encryption_enc_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :request_object_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :request_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :request_uri_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :require_request_uri_registration, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :response_modes_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :response_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :scopes_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :service_documentation, -> { String }, optional: true, nullable: false + field :subject_types_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :token_endpoint, -> { String }, optional: true, nullable: false + field :token_endpoint_auth_methods_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :token_endpoint_auth_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :ui_locales_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :userinfo_encryption_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :userinfo_encryption_enc_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :userinfo_endpoint, -> { String }, optional: true, nullable: false + field :userinfo_signing_alg_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_okta.rb b/lib/auth0/types/connection_options_okta.rb index 6ed90cf7..c3bf4a77 100644 --- a/lib/auth0/types/connection_options_okta.rb +++ b/lib/auth0/types/connection_options_okta.rb @@ -5,7 +5,9 @@ module Types # Options for the 'okta' connection class ConnectionOptionsOkta < Internal::Types::Model field :attribute_map, -> { Auth0::Types::ConnectionAttributeMapOkta }, optional: true, nullable: false + field :domain, -> { String }, optional: true, nullable: false + field :type, -> { Auth0::Types::ConnectionTypeEnumOkta }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_paypal.rb b/lib/auth0/types/connection_options_paypal.rb index 0d9231b1..ba02ba7c 100644 --- a/lib/auth0/types/connection_options_paypal.rb +++ b/lib/auth0/types/connection_options_paypal.rb @@ -5,13 +5,21 @@ module Types # Options for the 'paypal' and 'paypal-sandbox' connections class ConnectionOptionsPaypal < Internal::Types::Model field :client_id, -> { String }, optional: true, nullable: false + field :client_secret, -> { String }, optional: true, nullable: false + field :freeform_scopes, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :scope, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false + field :address, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :email, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :phone, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :profile, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_ping_federate.rb b/lib/auth0/types/connection_options_ping_federate.rb index 0b96b488..0d2fcfb1 100644 --- a/lib/auth0/types/connection_options_ping_federate.rb +++ b/lib/auth0/types/connection_options_ping_federate.rb @@ -5,6 +5,7 @@ module Types # Options for the 'pingfederate' connection class ConnectionOptionsPingFederate < Internal::Types::Model field :ping_federate_base_url, -> { String }, optional: false, nullable: false, api_name: "pingFederateBaseUrl" + field :signing_cert, -> { String }, optional: true, nullable: false, api_name: "signingCert" end end diff --git a/lib/auth0/types/connection_options_salesforce.rb b/lib/auth0/types/connection_options_salesforce.rb index d75c2683..6b93c7eb 100644 --- a/lib/auth0/types/connection_options_salesforce.rb +++ b/lib/auth0/types/connection_options_salesforce.rb @@ -5,11 +5,17 @@ module Types # Options for the salesforce family of connections (salesforce, salesforce-sandbox, salesforce-community) class ConnectionOptionsSalesforce < Internal::Types::Model field :client_id, -> { String }, optional: true, nullable: false + field :client_secret, -> { String }, optional: true, nullable: false + field :freeform_scopes, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :profile, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :scope, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false + field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_saml.rb b/lib/auth0/types/connection_options_saml.rb index 31d18876..fb014753 100644 --- a/lib/auth0/types/connection_options_saml.rb +++ b/lib/auth0/types/connection_options_saml.rb @@ -5,19 +5,33 @@ module Types # Options for the 'samlp' connection class ConnectionOptionsSAML < Internal::Types::Model field :debug, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :deflate, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :destination_url, -> { String }, optional: true, nullable: false, api_name: "destinationUrl" + field :disable_signout, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "disableSignout" + field :fields_map, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionFieldsMapSAMLValue] }, optional: true, nullable: false, api_name: "fieldsMap" + field :global_token_revocation_jwt_iss, -> { String }, optional: true, nullable: false + field :global_token_revocation_jwt_sub, -> { String }, optional: true, nullable: false + field :metadata_url, -> { String }, optional: true, nullable: false, api_name: "metadataUrl" + field :metadata_xml, -> { String }, optional: true, nullable: false, api_name: "metadataXml" + field :recipient_url, -> { String }, optional: true, nullable: false, api_name: "recipientUrl" + field :request_template, -> { String }, optional: true, nullable: false, api_name: "requestTemplate" + field :signing_cert, -> { String }, optional: true, nullable: false, api_name: "signingCert" + field :signing_key, -> { Auth0::Types::ConnectionSigningKeySAML }, optional: true, nullable: false + field :sign_out_endpoint, -> { String }, optional: true, nullable: false, api_name: "signOutEndpoint" + field :user_id_attribute, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_sms.rb b/lib/auth0/types/connection_options_sms.rb index ff36a90c..026f385c 100644 --- a/lib/auth0/types/connection_options_sms.rb +++ b/lib/auth0/types/connection_options_sms.rb @@ -5,18 +5,31 @@ module Types # Options for the 'sms' connection class ConnectionOptionsSms < Internal::Types::Model field :brute_force_protection, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :disable_signup, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :forward_req_info, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :from, -> { String }, optional: true, nullable: false + field :gateway_authentication, -> { Auth0::Types::ConnectionGatewayAuthenticationSms }, optional: true, nullable: false + field :gateway_url, -> { String }, optional: true, nullable: false + field :messaging_service_sid, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :provider, -> { Auth0::Types::ConnectionProviderEnumSms }, optional: true, nullable: false + field :syntax, -> { Auth0::Types::ConnectionTemplateSyntaxEnumSms }, optional: true, nullable: false + field :template, -> { String }, optional: true, nullable: false + field :totp, -> { Auth0::Types::ConnectionTotpSms }, optional: true, nullable: false + field :twilio_sid, -> { String }, optional: true, nullable: false + field :twilio_token, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_twitter.rb b/lib/auth0/types/connection_options_twitter.rb index beb0e917..47dfcec9 100644 --- a/lib/auth0/types/connection_options_twitter.rb +++ b/lib/auth0/types/connection_options_twitter.rb @@ -5,15 +5,25 @@ module Types # Options for the 'twitter' connection class ConnectionOptionsTwitter < Internal::Types::Model field :client_id, -> { String }, optional: true, nullable: false + field :client_secret, -> { String }, optional: true, nullable: false + field :freeform_scopes, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :protocol, -> { Auth0::Types::ConnectionOptionsProtocolEnumTwitter }, optional: true, nullable: false + field :scope, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false + field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false + field :offline_access, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :profile, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :tweet_read, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :users_read, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_options_windows_live.rb b/lib/auth0/types/connection_options_windows_live.rb index abd42d00..9bfaacdf 100644 --- a/lib/auth0/types/connection_options_windows_live.rb +++ b/lib/auth0/types/connection_options_windows_live.rb @@ -5,69 +5,133 @@ module Types # Options for the 'windowslive' connection class ConnectionOptionsWindowsLive < Internal::Types::Model field :client_id, -> { String }, optional: true, nullable: false + field :client_secret, -> { String }, optional: true, nullable: false + field :freeform_scopes, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :scope, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false + field :strategy_version, -> { Integer }, optional: true, nullable: false + field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false + field :applications, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :applications_create, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :basic, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :birthday, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :calendars, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :calendars_update, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :contacts_birthday, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :contacts_calendars, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :contacts_create, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :contacts_photos, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :contacts_skydrive, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :directory_accessasuser_all, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :directory_read_all, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :directory_readwrite_all, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :emails, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :events_create, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :graph_calendars, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :graph_calendars_update, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :graph_contacts, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :graph_contacts_update, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :graph_device, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :graph_device_command, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :graph_emails, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :graph_emails_update, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :graph_files, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :graph_files_all, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :graph_files_all_update, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :graph_files_update, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :graph_notes, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :graph_notes_create, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :graph_notes_update, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :graph_tasks, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :graph_tasks_update, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :graph_user, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :graph_user_activity, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :graph_user_update, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :group_read_all, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :group_readwrite_all, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mail_readwrite_all, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mail_send, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :messenger, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :offline_access, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :phone_numbers, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :photos, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :postal_addresses, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :rolemanagement_read_all, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :rolemanagement_readwrite_directory, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :share, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :signin, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sites_read_all, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sites_readwrite_all, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :skydrive, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :skydrive_update, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :team_readbasic_all, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :team_readwrite_all, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :user_read_all, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :user_readbasic_all, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :work_profile, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_passkey_options.rb b/lib/auth0/types/connection_passkey_options.rb index c084831f..0f63f38e 100644 --- a/lib/auth0/types/connection_passkey_options.rb +++ b/lib/auth0/types/connection_passkey_options.rb @@ -5,7 +5,9 @@ module Types # Options for the passkey authentication method class ConnectionPasskeyOptions < Internal::Types::Model field :challenge_ui, -> { Auth0::Types::ConnectionPasskeyChallengeUIEnum }, optional: true, nullable: false + field :progressive_enrollment_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :local_enrollment_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_password_authentication_method.rb b/lib/auth0/types/connection_password_authentication_method.rb index b7c1fd6c..5ddffb74 100644 --- a/lib/auth0/types/connection_password_authentication_method.rb +++ b/lib/auth0/types/connection_password_authentication_method.rb @@ -5,7 +5,9 @@ module Types # Password authentication enablement class ConnectionPasswordAuthenticationMethod < Internal::Types::Model field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :api_behavior, -> { Auth0::Types::ConnectionAPIBehaviorEnum }, optional: true, nullable: false + field :signup_behavior, -> { Auth0::Types::ConnectionSignupBehaviorEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_password_dictionary_options.rb b/lib/auth0/types/connection_password_dictionary_options.rb index 7b7ac3f7..2490b542 100644 --- a/lib/auth0/types/connection_password_dictionary_options.rb +++ b/lib/auth0/types/connection_password_dictionary_options.rb @@ -5,6 +5,7 @@ module Types # Options for password dictionary policy class ConnectionPasswordDictionaryOptions < Internal::Types::Model field :enable, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :dictionary, -> { Internal::Types::Array[String] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_password_history_options.rb b/lib/auth0/types/connection_password_history_options.rb index 0eac4508..52acb182 100644 --- a/lib/auth0/types/connection_password_history_options.rb +++ b/lib/auth0/types/connection_password_history_options.rb @@ -5,6 +5,7 @@ module Types # Options for password history policy class ConnectionPasswordHistoryOptions < Internal::Types::Model field :enable, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :size, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_password_options.rb b/lib/auth0/types/connection_password_options.rb index 6b80d2e4..c0948524 100644 --- a/lib/auth0/types/connection_password_options.rb +++ b/lib/auth0/types/connection_password_options.rb @@ -5,8 +5,11 @@ module Types # Password policy options for flexible password policy configuration class ConnectionPasswordOptions < Internal::Types::Model field :complexity, -> { Auth0::Types::ConnectionPasswordOptionsComplexity }, optional: true, nullable: false + field :dictionary, -> { Auth0::Types::ConnectionPasswordOptionsDictionary }, optional: true, nullable: false + field :history, -> { Auth0::Types::ConnectionPasswordOptionsHistory }, optional: true, nullable: false + field :profile_data, -> { Auth0::Types::ConnectionPasswordOptionsProfileData }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_password_options_complexity.rb b/lib/auth0/types/connection_password_options_complexity.rb index 534db105..b20b7e93 100644 --- a/lib/auth0/types/connection_password_options_complexity.rb +++ b/lib/auth0/types/connection_password_options_complexity.rb @@ -5,10 +5,15 @@ module Types # Password complexity requirements configuration class ConnectionPasswordOptionsComplexity < Internal::Types::Model field :min_length, -> { Integer }, optional: true, nullable: false + field :character_types, -> { Internal::Types::Array[Auth0::Types::PasswordCharacterTypeEnum] }, optional: true, nullable: false + field :character_type_rule, -> { Auth0::Types::PasswordCharacterTypeRulePolicyEnum }, optional: true, nullable: false + field :identical_characters, -> { Auth0::Types::PasswordIdenticalCharactersPolicyEnum }, optional: true, nullable: false + field :sequential_characters, -> { Auth0::Types::PasswordSequentialCharactersPolicyEnum }, optional: true, nullable: false + field :max_length_exceeded, -> { Auth0::Types::PasswordMaxLengthExceededPolicyEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_password_options_dictionary.rb b/lib/auth0/types/connection_password_options_dictionary.rb index 2e55d61a..ffaea2f0 100644 --- a/lib/auth0/types/connection_password_options_dictionary.rb +++ b/lib/auth0/types/connection_password_options_dictionary.rb @@ -5,7 +5,9 @@ module Types # Dictionary-based password restriction policy to prevent common passwords class ConnectionPasswordOptionsDictionary < Internal::Types::Model field :active, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :custom, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :default, -> { Auth0::Types::PasswordDefaultDictionariesEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_password_options_history.rb b/lib/auth0/types/connection_password_options_history.rb index ba816112..3ad74e7b 100644 --- a/lib/auth0/types/connection_password_options_history.rb +++ b/lib/auth0/types/connection_password_options_history.rb @@ -5,6 +5,7 @@ module Types # Password history policy configuration to prevent password reuse class ConnectionPasswordOptionsHistory < Internal::Types::Model field :active, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :size, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_password_options_profile_data.rb b/lib/auth0/types/connection_password_options_profile_data.rb index 135568c5..ff1458e5 100644 --- a/lib/auth0/types/connection_password_options_profile_data.rb +++ b/lib/auth0/types/connection_password_options_profile_data.rb @@ -5,6 +5,7 @@ module Types # Personal information restriction policy to prevent use of profile data in passwords class ConnectionPasswordOptionsProfileData < Internal::Types::Model field :active, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :blocked_fields, -> { Internal::Types::Array[String] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_ping_federate_base_url_ping_federate.rb b/lib/auth0/types/connection_ping_federate_base_url_ping_federate.rb index 2a30fe2f..4aef888a 100644 --- a/lib/auth0/types/connection_ping_federate_base_url_ping_federate.rb +++ b/lib/auth0/types/connection_ping_federate_base_url_ping_federate.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionPingFederateBaseURLPingFederate - # ConnectionPingFederateBaseURLPingFederate is an alias for ConnectionHttpsUrlWithHttpFallback + # ConnectionPingFederateBaseURLPingFederate is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_profile.rb b/lib/auth0/types/connection_profile.rb index 6782de39..4e884915 100644 --- a/lib/auth0/types/connection_profile.rb +++ b/lib/auth0/types/connection_profile.rb @@ -4,11 +4,17 @@ module Auth0 module Types class ConnectionProfile < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :organization, -> { Auth0::Types::ConnectionProfileOrganization }, optional: true, nullable: false + field :connection_name_prefix_template, -> { String }, optional: true, nullable: false + field :enabled_features, -> { Internal::Types::Array[Auth0::Types::EnabledFeaturesEnum] }, optional: true, nullable: false + field :connection_config, -> { Auth0::Types::ConnectionProfileConfig }, optional: true, nullable: false + field :strategy_overrides, -> { Auth0::Types::ConnectionProfileStrategyOverrides }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_profile_organization.rb b/lib/auth0/types/connection_profile_organization.rb index 562d2d36..440e5799 100644 --- a/lib/auth0/types/connection_profile_organization.rb +++ b/lib/auth0/types/connection_profile_organization.rb @@ -5,6 +5,7 @@ module Types # The organization of the connection profile. class ConnectionProfileOrganization < Internal::Types::Model field :show_as_button, -> { Auth0::Types::ConnectionProfileOrganizationShowAsButtonEnum }, optional: true, nullable: false + field :assign_membership_on_login, -> { Auth0::Types::ConnectionProfileOrganizationAssignMembershipOnLoginEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_profile_strategy_override.rb b/lib/auth0/types/connection_profile_strategy_override.rb index 665dd6ec..26801408 100644 --- a/lib/auth0/types/connection_profile_strategy_override.rb +++ b/lib/auth0/types/connection_profile_strategy_override.rb @@ -5,6 +5,7 @@ module Types # Connection Profile Strategy Override class ConnectionProfileStrategyOverride < Internal::Types::Model field :enabled_features, -> { Internal::Types::Array[Auth0::Types::EnabledFeaturesEnum] }, optional: true, nullable: false + field :connection_config, -> { Auth0::Types::ConnectionProfileStrategyOverridesConnectionConfig }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_profile_strategy_overrides.rb b/lib/auth0/types/connection_profile_strategy_overrides.rb index 72038e5f..964a61a9 100644 --- a/lib/auth0/types/connection_profile_strategy_overrides.rb +++ b/lib/auth0/types/connection_profile_strategy_overrides.rb @@ -5,12 +5,19 @@ module Types # Strategy-specific overrides for this attribute class ConnectionProfileStrategyOverrides < Internal::Types::Model field :pingfederate, -> { Auth0::Types::ConnectionProfileStrategyOverride }, optional: true, nullable: false + field :ad, -> { Auth0::Types::ConnectionProfileStrategyOverride }, optional: true, nullable: false + field :adfs, -> { Auth0::Types::ConnectionProfileStrategyOverride }, optional: true, nullable: false + field :waad, -> { Auth0::Types::ConnectionProfileStrategyOverride }, optional: true, nullable: false + field :google_apps, -> { Auth0::Types::ConnectionProfileStrategyOverride }, optional: true, nullable: false, api_name: "google-apps" + field :okta, -> { Auth0::Types::ConnectionProfileStrategyOverride }, optional: true, nullable: false + field :oidc, -> { Auth0::Types::ConnectionProfileStrategyOverride }, optional: true, nullable: false + field :samlp, -> { Auth0::Types::ConnectionProfileStrategyOverride }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_profile_template.rb b/lib/auth0/types/connection_profile_template.rb index 995186d5..f9026951 100644 --- a/lib/auth0/types/connection_profile_template.rb +++ b/lib/auth0/types/connection_profile_template.rb @@ -5,10 +5,15 @@ module Types # The structure of the template, which can be used as the payload for creating or updating a Connection Profile. class ConnectionProfileTemplate < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :organization, -> { Auth0::Types::ConnectionProfileOrganization }, optional: true, nullable: false + field :connection_name_prefix_template, -> { String }, optional: true, nullable: false + field :enabled_features, -> { Internal::Types::Array[Auth0::Types::EnabledFeaturesEnum] }, optional: true, nullable: false + field :connection_config, -> { Auth0::Types::ConnectionProfileConfig }, optional: true, nullable: false + field :strategy_overrides, -> { Auth0::Types::ConnectionProfileStrategyOverrides }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_profile_template_item.rb b/lib/auth0/types/connection_profile_template_item.rb index 3edbb880..d9a75789 100644 --- a/lib/auth0/types/connection_profile_template_item.rb +++ b/lib/auth0/types/connection_profile_template_item.rb @@ -4,7 +4,9 @@ module Auth0 module Types class ConnectionProfileTemplateItem < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :display_name, -> { String }, optional: true, nullable: false + field :template, -> { Auth0::Types::ConnectionProfileTemplate }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_properties_options.rb b/lib/auth0/types/connection_properties_options.rb index 1815f258..ad722044 100644 --- a/lib/auth0/types/connection_properties_options.rb +++ b/lib/auth0/types/connection_properties_options.rb @@ -5,36 +5,76 @@ module Types # The connection's options (depend on the connection strategy) class ConnectionPropertiesOptions < Internal::Types::Model field :validation, -> { Auth0::Types::ConnectionValidationOptions }, optional: true, nullable: false + field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :precedence, -> { Internal::Types::Array[Auth0::Types::ConnectionIdentifierPrecedenceEnum] }, optional: true, nullable: false + field :attributes, -> { Auth0::Types::ConnectionAttributes }, optional: true, nullable: false + field :enable_script_context, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :enabled_database_customization, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "enabledDatabaseCustomization" + field :import_mode, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :configuration, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false + field :custom_scripts, -> { Auth0::Types::ConnectionCustomScripts }, optional: true, nullable: false, api_name: "customScripts" + field :authentication_methods, -> { Auth0::Types::ConnectionAuthenticationMethods }, optional: true, nullable: false + field :passkey_options, -> { Auth0::Types::ConnectionPasskeyOptions }, optional: true, nullable: false + field :password_policy, -> { Auth0::Types::ConnectionPasswordPolicyEnum }, optional: true, nullable: false, api_name: "passwordPolicy" + field :password_complexity_options, -> { Auth0::Types::ConnectionPasswordComplexityOptions }, optional: true, nullable: false + field :password_history, -> { Auth0::Types::ConnectionPasswordHistoryOptions }, optional: true, nullable: false + field :password_no_personal_info, -> { Auth0::Types::ConnectionPasswordNoPersonalInfoOptions }, optional: true, nullable: false + field :password_dictionary, -> { Auth0::Types::ConnectionPasswordDictionaryOptions }, optional: true, nullable: false + field :api_enable_users, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :api_enable_groups, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :basic_profile, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_admin, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_is_suspended, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_agreed_terms, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_groups, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_assigned_plans, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_profile, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :disable_self_service_change_password, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false + field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false + field :gateway_authentication, -> { Auth0::Types::ConnectionGatewayAuthentication }, optional: true, nullable: false + field :federated_connections_access_tokens, -> { Auth0::Types::ConnectionFederatedConnectionsAccessTokens }, optional: true, nullable: false + field :password_options, -> { Auth0::Types::ConnectionPasswordOptions }, optional: true, nullable: false + + field :assertion_decryption_settings, -> { Auth0::Types::ConnectionAssertionDecryptionSettings }, optional: true, nullable: false + + field :id_token_signed_response_algs, -> { Internal::Types::Array[Auth0::Types::ConnectionIDTokenSignedResponseAlgEnum] }, optional: true, nullable: false + + field :token_endpoint_auth_method, -> { Auth0::Types::ConnectionTokenEndpointAuthMethodEnum }, optional: true, nullable: false + + field :token_endpoint_auth_signing_alg, -> { Auth0::Types::ConnectionTokenEndpointAuthSigningAlgEnum }, optional: true, nullable: false + + field :token_endpoint_jwtca_aud_format, -> { Auth0::Types::ConnectionTokenEndpointJwtcaAudFormatEnumOidc }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/connection_purposes.rb b/lib/auth0/types/connection_purposes.rb index 5aaa8a5e..73e134c3 100644 --- a/lib/auth0/types/connection_purposes.rb +++ b/lib/auth0/types/connection_purposes.rb @@ -5,6 +5,7 @@ module Types # Purposes for a connection class ConnectionPurposes < Internal::Types::Model field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false + field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_registration_endpoint.rb b/lib/auth0/types/connection_registration_endpoint.rb index 8097f05b..6d5d0710 100644 --- a/lib/auth0/types/connection_registration_endpoint.rb +++ b/lib/auth0/types/connection_registration_endpoint.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionRegistrationEndpoint - # ConnectionRegistrationEndpoint is an alias for ConnectionHttpsUrlWithHttpFallback255 + # ConnectionRegistrationEndpoint is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_response_common.rb b/lib/auth0/types/connection_response_common.rb index a5b8f046..a193d413 100644 --- a/lib/auth0/types/connection_response_common.rb +++ b/lib/auth0/types/connection_response_common.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ConnectionResponseCommon < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_ad.rb b/lib/auth0/types/connection_response_content_ad.rb index d678ee48..0d34596f 100644 --- a/lib/auth0/types/connection_response_content_ad.rb +++ b/lib/auth0/types/connection_response_content_ad.rb @@ -5,7 +5,9 @@ module Types # Response for connections with strategy=ad class ConnectionResponseContentAd < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentAdStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsAd }, optional: true, nullable: false + field :provisioning_ticket_url, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_adfs.rb b/lib/auth0/types/connection_response_content_adfs.rb index bd242836..23a278f0 100644 --- a/lib/auth0/types/connection_response_content_adfs.rb +++ b/lib/auth0/types/connection_response_content_adfs.rb @@ -5,8 +5,11 @@ module Types # Response for connections with strategy=adfs class ConnectionResponseContentAdfs < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentAdfsStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsAdfs }, optional: true, nullable: false + field :provisioning_ticket_url, -> { String }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_amazon.rb b/lib/auth0/types/connection_response_content_amazon.rb index 6624f7d1..f4087572 100644 --- a/lib/auth0/types/connection_response_content_amazon.rb +++ b/lib/auth0/types/connection_response_content_amazon.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=amazon class ConnectionResponseContentAmazon < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentAmazonStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsAmazon }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_apple.rb b/lib/auth0/types/connection_response_content_apple.rb index 249f2943..ef6b2428 100644 --- a/lib/auth0/types/connection_response_content_apple.rb +++ b/lib/auth0/types/connection_response_content_apple.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=apple class ConnectionResponseContentApple < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentAppleStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsApple }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_auth0.rb b/lib/auth0/types/connection_response_content_auth0.rb index 8756207d..676981a0 100644 --- a/lib/auth0/types/connection_response_content_auth0.rb +++ b/lib/auth0/types/connection_response_content_auth0.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=auth0 class ConnectionResponseContentAuth0 < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentAuth0Strategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsAuth0 }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_auth0oidc.rb b/lib/auth0/types/connection_response_content_auth0oidc.rb index e8ac02eb..f9ad7ef9 100644 --- a/lib/auth0/types/connection_response_content_auth0oidc.rb +++ b/lib/auth0/types/connection_response_content_auth0oidc.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=auth0-oidc class ConnectionResponseContentAuth0Oidc < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentAuth0OidcStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsAuth0Oidc }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_azure_ad.rb b/lib/auth0/types/connection_response_content_azure_ad.rb index 77fca586..8abd78c0 100644 --- a/lib/auth0/types/connection_response_content_azure_ad.rb +++ b/lib/auth0/types/connection_response_content_azure_ad.rb @@ -5,8 +5,11 @@ module Types # Response for connections with strategy=waad class ConnectionResponseContentAzureAd < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentAzureAdStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsAzureAd }, optional: true, nullable: false + field :provisioning_ticket_url, -> { String }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_baidu.rb b/lib/auth0/types/connection_response_content_baidu.rb index 9c165503..4afdd5b4 100644 --- a/lib/auth0/types/connection_response_content_baidu.rb +++ b/lib/auth0/types/connection_response_content_baidu.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=baidu class ConnectionResponseContentBaidu < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentBaiduStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsBaidu }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_bitbucket.rb b/lib/auth0/types/connection_response_content_bitbucket.rb index 6170248c..437240a7 100644 --- a/lib/auth0/types/connection_response_content_bitbucket.rb +++ b/lib/auth0/types/connection_response_content_bitbucket.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=bitbucket class ConnectionResponseContentBitbucket < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentBitbucketStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsBitbucket }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_bitly.rb b/lib/auth0/types/connection_response_content_bitly.rb index 786b9ef6..293fa0fb 100644 --- a/lib/auth0/types/connection_response_content_bitly.rb +++ b/lib/auth0/types/connection_response_content_bitly.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=bitly class ConnectionResponseContentBitly < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentBitlyStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsBitly }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_box.rb b/lib/auth0/types/connection_response_content_box.rb index cb2bedcf..75ce2c0c 100644 --- a/lib/auth0/types/connection_response_content_box.rb +++ b/lib/auth0/types/connection_response_content_box.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=box class ConnectionResponseContentBox < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentBoxStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsBox }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_custom.rb b/lib/auth0/types/connection_response_content_custom.rb index fd4d3f8c..34781539 100644 --- a/lib/auth0/types/connection_response_content_custom.rb +++ b/lib/auth0/types/connection_response_content_custom.rb @@ -5,7 +5,9 @@ module Types # Response for connections with strategy=custom class ConnectionResponseContentCustom < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentCustomStrategy }, optional: false, nullable: false + field :options, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :provisioning_ticket_url, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_daccount.rb b/lib/auth0/types/connection_response_content_daccount.rb index 46c9ca23..39cfbadf 100644 --- a/lib/auth0/types/connection_response_content_daccount.rb +++ b/lib/auth0/types/connection_response_content_daccount.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=daccount class ConnectionResponseContentDaccount < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentDaccountStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsDaccount }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_dropbox.rb b/lib/auth0/types/connection_response_content_dropbox.rb index 38c65650..41eed360 100644 --- a/lib/auth0/types/connection_response_content_dropbox.rb +++ b/lib/auth0/types/connection_response_content_dropbox.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=dropbox class ConnectionResponseContentDropbox < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentDropboxStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsDropbox }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_dwolla.rb b/lib/auth0/types/connection_response_content_dwolla.rb index a45c8f0f..6b1a9a57 100644 --- a/lib/auth0/types/connection_response_content_dwolla.rb +++ b/lib/auth0/types/connection_response_content_dwolla.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=dwolla class ConnectionResponseContentDwolla < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentDwollaStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsDwolla }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_email.rb b/lib/auth0/types/connection_response_content_email.rb index 76ab115e..1412488a 100644 --- a/lib/auth0/types/connection_response_content_email.rb +++ b/lib/auth0/types/connection_response_content_email.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=email class ConnectionResponseContentEmail < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentEmailStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsEmail }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_evernote.rb b/lib/auth0/types/connection_response_content_evernote.rb index 17fd11b3..82207096 100644 --- a/lib/auth0/types/connection_response_content_evernote.rb +++ b/lib/auth0/types/connection_response_content_evernote.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=evernote class ConnectionResponseContentEvernote < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentEvernoteStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsEvernote }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_evernote_sandbox.rb b/lib/auth0/types/connection_response_content_evernote_sandbox.rb index a0d82bc0..b7396ade 100644 --- a/lib/auth0/types/connection_response_content_evernote_sandbox.rb +++ b/lib/auth0/types/connection_response_content_evernote_sandbox.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=evernote-sandbox class ConnectionResponseContentEvernoteSandbox < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentEvernoteSandboxStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsEvernote }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_exact.rb b/lib/auth0/types/connection_response_content_exact.rb index ff0e2b01..94199a26 100644 --- a/lib/auth0/types/connection_response_content_exact.rb +++ b/lib/auth0/types/connection_response_content_exact.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=exact class ConnectionResponseContentExact < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentExactStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsExact }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_facebook.rb b/lib/auth0/types/connection_response_content_facebook.rb index c62d0dc1..8dde1ef4 100644 --- a/lib/auth0/types/connection_response_content_facebook.rb +++ b/lib/auth0/types/connection_response_content_facebook.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=facebook class ConnectionResponseContentFacebook < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentFacebookStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsFacebook }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_fitbit.rb b/lib/auth0/types/connection_response_content_fitbit.rb index 44abb5b0..c6238c40 100644 --- a/lib/auth0/types/connection_response_content_fitbit.rb +++ b/lib/auth0/types/connection_response_content_fitbit.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=fitbit class ConnectionResponseContentFitbit < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentFitbitStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsFitbit }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_git_hub.rb b/lib/auth0/types/connection_response_content_git_hub.rb index 868f7c01..c934bf10 100644 --- a/lib/auth0/types/connection_response_content_git_hub.rb +++ b/lib/auth0/types/connection_response_content_git_hub.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=github class ConnectionResponseContentGitHub < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentGitHubStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsGitHub }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_google_apps.rb b/lib/auth0/types/connection_response_content_google_apps.rb index 8b16050d..100449d1 100644 --- a/lib/auth0/types/connection_response_content_google_apps.rb +++ b/lib/auth0/types/connection_response_content_google_apps.rb @@ -5,8 +5,11 @@ module Types # Response for connections with strategy=google-apps class ConnectionResponseContentGoogleApps < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentGoogleAppsStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsGoogleApps }, optional: true, nullable: false + field :provisioning_ticket_url, -> { String }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_google_o_auth2.rb b/lib/auth0/types/connection_response_content_google_o_auth2.rb index a08205b4..48fffede 100644 --- a/lib/auth0/types/connection_response_content_google_o_auth2.rb +++ b/lib/auth0/types/connection_response_content_google_o_auth2.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=google-oauth2 class ConnectionResponseContentGoogleOAuth2 < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentGoogleOAuth2Strategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsGoogleOAuth2 }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_instagram.rb b/lib/auth0/types/connection_response_content_instagram.rb index f9e8ba0c..21cb35a7 100644 --- a/lib/auth0/types/connection_response_content_instagram.rb +++ b/lib/auth0/types/connection_response_content_instagram.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=instagram class ConnectionResponseContentInstagram < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentInstagramStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsInstagram }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_ip.rb b/lib/auth0/types/connection_response_content_ip.rb index fb8af69a..5a69b46b 100644 --- a/lib/auth0/types/connection_response_content_ip.rb +++ b/lib/auth0/types/connection_response_content_ip.rb @@ -5,7 +5,9 @@ module Types # Response for connections with strategy=ip class ConnectionResponseContentIP < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentIPStrategy }, optional: false, nullable: false + field :options, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_line.rb b/lib/auth0/types/connection_response_content_line.rb index 72f47c7a..a2dd9f47 100644 --- a/lib/auth0/types/connection_response_content_line.rb +++ b/lib/auth0/types/connection_response_content_line.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=line class ConnectionResponseContentLine < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentLineStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsLine }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_linkedin.rb b/lib/auth0/types/connection_response_content_linkedin.rb index 04f08bf3..48dc2d64 100644 --- a/lib/auth0/types/connection_response_content_linkedin.rb +++ b/lib/auth0/types/connection_response_content_linkedin.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=linkedin class ConnectionResponseContentLinkedin < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentLinkedinStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsLinkedin }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_o_auth1.rb b/lib/auth0/types/connection_response_content_o_auth1.rb index ae5eea1c..7276d811 100644 --- a/lib/auth0/types/connection_response_content_o_auth1.rb +++ b/lib/auth0/types/connection_response_content_o_auth1.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=oauth1 class ConnectionResponseContentOAuth1 < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentOAuth1Strategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsOAuth1 }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_o_auth2.rb b/lib/auth0/types/connection_response_content_o_auth2.rb index 0443f3d5..723d29bc 100644 --- a/lib/auth0/types/connection_response_content_o_auth2.rb +++ b/lib/auth0/types/connection_response_content_o_auth2.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=oauth2 class ConnectionResponseContentOAuth2 < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentOAuth2Strategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsOAuth2 }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_office365.rb b/lib/auth0/types/connection_response_content_office365.rb index cb57ea79..1101f534 100644 --- a/lib/auth0/types/connection_response_content_office365.rb +++ b/lib/auth0/types/connection_response_content_office365.rb @@ -5,8 +5,11 @@ module Types # Response for connections with strategy=office365 class ConnectionResponseContentOffice365 < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentOffice365Strategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsOffice365 }, optional: true, nullable: false + field :provisioning_ticket_url, -> { String }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_oidc.rb b/lib/auth0/types/connection_response_content_oidc.rb index 1afab1e8..5a27e344 100644 --- a/lib/auth0/types/connection_response_content_oidc.rb +++ b/lib/auth0/types/connection_response_content_oidc.rb @@ -5,9 +5,13 @@ module Types # Response for connections with strategy=oidc class ConnectionResponseContentOidc < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentOidcStrategy }, optional: false, nullable: false + field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false + field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurposeXaa }, optional: true, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsOidc }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_okta.rb b/lib/auth0/types/connection_response_content_okta.rb index c11eda74..681d5aac 100644 --- a/lib/auth0/types/connection_response_content_okta.rb +++ b/lib/auth0/types/connection_response_content_okta.rb @@ -5,7 +5,9 @@ module Types # Response for connections with strategy=okta class ConnectionResponseContentOkta < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentOktaStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsOkta }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_paypal.rb b/lib/auth0/types/connection_response_content_paypal.rb index 6a03232c..b29caecd 100644 --- a/lib/auth0/types/connection_response_content_paypal.rb +++ b/lib/auth0/types/connection_response_content_paypal.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=paypal class ConnectionResponseContentPaypal < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentPaypalStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsPaypal }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_paypal_sandbox.rb b/lib/auth0/types/connection_response_content_paypal_sandbox.rb index 16a52f86..299964d3 100644 --- a/lib/auth0/types/connection_response_content_paypal_sandbox.rb +++ b/lib/auth0/types/connection_response_content_paypal_sandbox.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=paypal-sandbox class ConnectionResponseContentPaypalSandbox < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentPaypalSandboxStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsPaypal }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_ping_federate.rb b/lib/auth0/types/connection_response_content_ping_federate.rb index e36fe2a6..ab423986 100644 --- a/lib/auth0/types/connection_response_content_ping_federate.rb +++ b/lib/auth0/types/connection_response_content_ping_federate.rb @@ -5,8 +5,11 @@ module Types # Response for connections with strategy=pingfederate class ConnectionResponseContentPingFederate < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentPingFederateStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsPingFederate }, optional: true, nullable: false + field :provisioning_ticket_url, -> { String }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_planning_center.rb b/lib/auth0/types/connection_response_content_planning_center.rb index daa723a2..a0707d9d 100644 --- a/lib/auth0/types/connection_response_content_planning_center.rb +++ b/lib/auth0/types/connection_response_content_planning_center.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=planningcenter class ConnectionResponseContentPlanningCenter < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentPlanningCenterStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsPlanningCenter }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_salesforce.rb b/lib/auth0/types/connection_response_content_salesforce.rb index a581918c..b645d9eb 100644 --- a/lib/auth0/types/connection_response_content_salesforce.rb +++ b/lib/auth0/types/connection_response_content_salesforce.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=salesforce class ConnectionResponseContentSalesforce < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentSalesforceStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsSalesforce }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_salesforce_community.rb b/lib/auth0/types/connection_response_content_salesforce_community.rb index b1af8ac5..9039b122 100644 --- a/lib/auth0/types/connection_response_content_salesforce_community.rb +++ b/lib/auth0/types/connection_response_content_salesforce_community.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=salesforce-community class ConnectionResponseContentSalesforceCommunity < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentSalesforceCommunityStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsSalesforceCommunity }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_salesforce_sandbox.rb b/lib/auth0/types/connection_response_content_salesforce_sandbox.rb index dc793b66..2069dd0d 100644 --- a/lib/auth0/types/connection_response_content_salesforce_sandbox.rb +++ b/lib/auth0/types/connection_response_content_salesforce_sandbox.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=salesforce-sandbox class ConnectionResponseContentSalesforceSandbox < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentSalesforceSandboxStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsSalesforce }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_saml.rb b/lib/auth0/types/connection_response_content_saml.rb index 45afc1d8..a104ba0e 100644 --- a/lib/auth0/types/connection_response_content_saml.rb +++ b/lib/auth0/types/connection_response_content_saml.rb @@ -5,8 +5,11 @@ module Types # Response for connections with strategy=samlp class ConnectionResponseContentSAML < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentSAMLStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsSAML }, optional: true, nullable: false + field :provisioning_ticket_url, -> { String }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_sharepoint.rb b/lib/auth0/types/connection_response_content_sharepoint.rb index bb998fc3..c9e20be1 100644 --- a/lib/auth0/types/connection_response_content_sharepoint.rb +++ b/lib/auth0/types/connection_response_content_sharepoint.rb @@ -5,7 +5,9 @@ module Types # Response for connections with strategy=sharepoint class ConnectionResponseContentSharepoint < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentSharepointStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsSharepoint }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_shop.rb b/lib/auth0/types/connection_response_content_shop.rb index 66f8c9e5..b8281e62 100644 --- a/lib/auth0/types/connection_response_content_shop.rb +++ b/lib/auth0/types/connection_response_content_shop.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=shop class ConnectionResponseContentShop < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentShopStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsShop }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_shopify.rb b/lib/auth0/types/connection_response_content_shopify.rb index 6b7046ea..5defcdc3 100644 --- a/lib/auth0/types/connection_response_content_shopify.rb +++ b/lib/auth0/types/connection_response_content_shopify.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=shopify class ConnectionResponseContentShopify < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentShopifyStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsShopify }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_sms.rb b/lib/auth0/types/connection_response_content_sms.rb index b3229bf9..a9c83602 100644 --- a/lib/auth0/types/connection_response_content_sms.rb +++ b/lib/auth0/types/connection_response_content_sms.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=sms class ConnectionResponseContentSms < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentSmsStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsSms }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_soundcloud.rb b/lib/auth0/types/connection_response_content_soundcloud.rb index 5f69468a..2ddde088 100644 --- a/lib/auth0/types/connection_response_content_soundcloud.rb +++ b/lib/auth0/types/connection_response_content_soundcloud.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=soundcloud class ConnectionResponseContentSoundcloud < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentSoundcloudStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsSoundcloud }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_thirty_seven_signals.rb b/lib/auth0/types/connection_response_content_thirty_seven_signals.rb index 1d821ce8..2af15aef 100644 --- a/lib/auth0/types/connection_response_content_thirty_seven_signals.rb +++ b/lib/auth0/types/connection_response_content_thirty_seven_signals.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=thirtysevensignals class ConnectionResponseContentThirtySevenSignals < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentThirtySevenSignalsStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsThirtySevenSignals }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_twitter.rb b/lib/auth0/types/connection_response_content_twitter.rb index 26281864..4f2a191f 100644 --- a/lib/auth0/types/connection_response_content_twitter.rb +++ b/lib/auth0/types/connection_response_content_twitter.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=twitter class ConnectionResponseContentTwitter < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentTwitterStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsTwitter }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_untappd.rb b/lib/auth0/types/connection_response_content_untappd.rb index 9732e7eb..b640784b 100644 --- a/lib/auth0/types/connection_response_content_untappd.rb +++ b/lib/auth0/types/connection_response_content_untappd.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=untappd class ConnectionResponseContentUntappd < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentUntappdStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsUntappd }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_vkontakte.rb b/lib/auth0/types/connection_response_content_vkontakte.rb index 756a204d..a0046f71 100644 --- a/lib/auth0/types/connection_response_content_vkontakte.rb +++ b/lib/auth0/types/connection_response_content_vkontakte.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=vkontakte class ConnectionResponseContentVkontakte < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentVkontakteStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsVkontakte }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_weibo.rb b/lib/auth0/types/connection_response_content_weibo.rb index 6138aec5..cf8e26d4 100644 --- a/lib/auth0/types/connection_response_content_weibo.rb +++ b/lib/auth0/types/connection_response_content_weibo.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=weibo class ConnectionResponseContentWeibo < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentWeiboStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsWeibo }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_windows_live.rb b/lib/auth0/types/connection_response_content_windows_live.rb index 1d13bcb3..b4bf43c4 100644 --- a/lib/auth0/types/connection_response_content_windows_live.rb +++ b/lib/auth0/types/connection_response_content_windows_live.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=windowslive class ConnectionResponseContentWindowsLive < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentWindowsLiveStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsWindowsLive }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_wordpress.rb b/lib/auth0/types/connection_response_content_wordpress.rb index 823e576f..a9574038 100644 --- a/lib/auth0/types/connection_response_content_wordpress.rb +++ b/lib/auth0/types/connection_response_content_wordpress.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=wordpress class ConnectionResponseContentWordpress < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentWordpressStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsWordpress }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_yahoo.rb b/lib/auth0/types/connection_response_content_yahoo.rb index 1e08aca7..39777d74 100644 --- a/lib/auth0/types/connection_response_content_yahoo.rb +++ b/lib/auth0/types/connection_response_content_yahoo.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=yahoo class ConnectionResponseContentYahoo < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentYahooStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsYahoo }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_response_content_yandex.rb b/lib/auth0/types/connection_response_content_yandex.rb index ba2e5f91..0b3a92a6 100644 --- a/lib/auth0/types/connection_response_content_yandex.rb +++ b/lib/auth0/types/connection_response_content_yandex.rb @@ -5,6 +5,7 @@ module Types # Response for connections with strategy=yandex class ConnectionResponseContentYandex < Internal::Types::Model field :strategy, -> { Auth0::Types::ConnectionResponseContentYandexStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsYandex }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_scope_o_auth2.rb b/lib/auth0/types/connection_scope_o_auth2.rb index 693a5f81..2b478145 100644 --- a/lib/auth0/types/connection_scope_o_auth2.rb +++ b/lib/auth0/types/connection_scope_o_auth2.rb @@ -10,6 +10,7 @@ class ConnectionScopeOAuth2 < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { String } + member -> { Internal::Types::Array[String] } end end diff --git a/lib/auth0/types/connection_scripts_o_auth2.rb b/lib/auth0/types/connection_scripts_o_auth2.rb index bd595739..e96ae829 100644 --- a/lib/auth0/types/connection_scripts_o_auth2.rb +++ b/lib/auth0/types/connection_scripts_o_auth2.rb @@ -5,6 +5,7 @@ module Types # Custom scripts to transform user profile data or modify OAuth2 flow behavior class ConnectionScriptsOAuth2 < Internal::Types::Model field :fetch_user_profile, -> { String }, optional: true, nullable: false, api_name: "fetchUserProfile" + field :get_logout_url, -> { String }, optional: true, nullable: false, api_name: "getLogoutUrl" end end diff --git a/lib/auth0/types/connection_service_documentation.rb b/lib/auth0/types/connection_service_documentation.rb index ff650dcd..26eb880a 100644 --- a/lib/auth0/types/connection_service_documentation.rb +++ b/lib/auth0/types/connection_service_documentation.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionServiceDocumentation - # ConnectionServiceDocumentation is an alias for ConnectionHttpsUrlWithHttpFallback255 + # ConnectionServiceDocumentation is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_signing_key_saml.rb b/lib/auth0/types/connection_signing_key_saml.rb index dd741a28..c11af679 100644 --- a/lib/auth0/types/connection_signing_key_saml.rb +++ b/lib/auth0/types/connection_signing_key_saml.rb @@ -5,6 +5,7 @@ module Types # Key pair with 'key' and 'cert' properties for signing SAML messages class ConnectionSigningKeySAML < Internal::Types::Model field :cert, -> { String }, optional: true, nullable: false + field :key, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_tenant_domain_saml.rb b/lib/auth0/types/connection_tenant_domain_saml.rb index 3c5f3ba1..d52a0c50 100644 --- a/lib/auth0/types/connection_tenant_domain_saml.rb +++ b/lib/auth0/types/connection_tenant_domain_saml.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionTenantDomainSAML - # ConnectionTenantDomainSAML is an alias for ConnectionTenantDomain + # ConnectionTenantDomainSAML is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_token_endpoint.rb b/lib/auth0/types/connection_token_endpoint.rb index 260cdb19..7929c499 100644 --- a/lib/auth0/types/connection_token_endpoint.rb +++ b/lib/auth0/types/connection_token_endpoint.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionTokenEndpoint - # ConnectionTokenEndpoint is an alias for ConnectionHttpsUrlWithHttpFallback255 + # ConnectionTokenEndpoint is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_token_endpoint_jwtca_aud_format_enum_oidc.rb b/lib/auth0/types/connection_token_endpoint_jwtca_aud_format_enum_oidc.rb new file mode 100644 index 00000000..f597f6d5 --- /dev/null +++ b/lib/auth0/types/connection_token_endpoint_jwtca_aud_format_enum_oidc.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module ConnectionTokenEndpointJwtcaAudFormatEnumOidc + extend Auth0::Internal::Types::Enum + + ISSUER = "issuer" + TOKEN_ENDPOINT = "token_endpoint" + end + end +end diff --git a/lib/auth0/types/connection_totp_email.rb b/lib/auth0/types/connection_totp_email.rb index 8abeee61..655cfcc4 100644 --- a/lib/auth0/types/connection_totp_email.rb +++ b/lib/auth0/types/connection_totp_email.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ConnectionTotpEmail < Internal::Types::Model field :length, -> { Integer }, optional: true, nullable: false + field :time_step, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_totp_sms.rb b/lib/auth0/types/connection_totp_sms.rb index 38031b4d..9d54b40d 100644 --- a/lib/auth0/types/connection_totp_sms.rb +++ b/lib/auth0/types/connection_totp_sms.rb @@ -5,6 +5,7 @@ module Types # Time-based One-Time Password (TOTP) options class ConnectionTotpSms < Internal::Types::Model field :length, -> { Integer }, optional: true, nullable: false + field :time_step, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/connection_upstream_additional_properties.rb b/lib/auth0/types/connection_upstream_additional_properties.rb index b7abbe5e..b89d5165 100644 --- a/lib/auth0/types/connection_upstream_additional_properties.rb +++ b/lib/auth0/types/connection_upstream_additional_properties.rb @@ -6,6 +6,7 @@ class ConnectionUpstreamAdditionalProperties < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::ConnectionUpstreamAlias } + member -> { Auth0::Types::ConnectionUpstreamValue } end end diff --git a/lib/auth0/types/connection_userinfo_endpoint.rb b/lib/auth0/types/connection_userinfo_endpoint.rb index 5252af75..2dae7d5a 100644 --- a/lib/auth0/types/connection_userinfo_endpoint.rb +++ b/lib/auth0/types/connection_userinfo_endpoint.rb @@ -3,7 +3,7 @@ module Auth0 module Types module ConnectionUserinfoEndpoint - # ConnectionUserinfoEndpoint is an alias for ConnectionHttpsUrlWithHttpFallback255 + # ConnectionUserinfoEndpoint is an alias for String # @option str [String] # diff --git a/lib/auth0/types/connection_username_validation_options.rb b/lib/auth0/types/connection_username_validation_options.rb index 08126ba9..cb5d5e66 100644 --- a/lib/auth0/types/connection_username_validation_options.rb +++ b/lib/auth0/types/connection_username_validation_options.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ConnectionUsernameValidationOptions < Internal::Types::Model field :min, -> { Integer }, optional: false, nullable: false + field :max, -> { Integer }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_action_module_response_content.rb b/lib/auth0/types/create_action_module_response_content.rb index d981e643..9c80f502 100644 --- a/lib/auth0/types/create_action_module_response_content.rb +++ b/lib/auth0/types/create_action_module_response_content.rb @@ -4,15 +4,25 @@ module Auth0 module Types class CreateActionModuleResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :code, -> { String }, optional: true, nullable: false + field :dependencies, -> { Internal::Types::Array[Auth0::Types::ActionModuleDependency] }, optional: true, nullable: false + field :secrets, -> { Internal::Types::Array[Auth0::Types::ActionModuleSecret] }, optional: true, nullable: false + field :actions_using_module_total, -> { Integer }, optional: true, nullable: false + field :all_changes_published, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :latest_version_number, -> { Integer }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false + field :latest_version, -> { Auth0::Types::ActionModuleVersionReference }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_action_module_version_response_content.rb b/lib/auth0/types/create_action_module_version_response_content.rb index 40202cb7..142221ef 100644 --- a/lib/auth0/types/create_action_module_version_response_content.rb +++ b/lib/auth0/types/create_action_module_version_response_content.rb @@ -4,11 +4,17 @@ module Auth0 module Types class CreateActionModuleVersionResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :module_id, -> { String }, optional: true, nullable: false + field :version_number, -> { Integer }, optional: true, nullable: false + field :code, -> { String }, optional: true, nullable: false + field :secrets, -> { Internal::Types::Array[Auth0::Types::ActionModuleSecret] }, optional: true, nullable: false + field :dependencies, -> { Internal::Types::Array[Auth0::Types::ActionModuleDependency] }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_action_response_content.rb b/lib/auth0/types/create_action_response_content.rb index ec781b4c..108b1a55 100644 --- a/lib/auth0/types/create_action_response_content.rb +++ b/lib/auth0/types/create_action_response_content.rb @@ -4,21 +4,37 @@ module Auth0 module Types class CreateActionResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :supported_triggers, -> { Internal::Types::Array[Auth0::Types::ActionTrigger] }, optional: true, nullable: false + field :all_changes_deployed, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false + field :code, -> { String }, optional: true, nullable: false + field :dependencies, -> { Internal::Types::Array[Auth0::Types::ActionVersionDependency] }, optional: true, nullable: false + field :runtime, -> { String }, optional: true, nullable: false + field :secrets, -> { Internal::Types::Array[Auth0::Types::ActionSecretResponse] }, optional: true, nullable: false + field :deployed_version, -> { Auth0::Types::ActionDeployedVersion }, optional: true, nullable: false + field :installed_integration_id, -> { String }, optional: true, nullable: false + field :integration, -> { Auth0::Types::Integration }, optional: true, nullable: false + field :status, -> { Auth0::Types::ActionBuildStatusEnum }, optional: true, nullable: false + field :built_at, -> { String }, optional: true, nullable: false + field :deploy, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :modules, -> { Internal::Types::Array[Auth0::Types::ActionModuleReference] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_branding_phone_provider_response_content.rb b/lib/auth0/types/create_branding_phone_provider_response_content.rb index 2d79a33a..2ae06fc8 100644 --- a/lib/auth0/types/create_branding_phone_provider_response_content.rb +++ b/lib/auth0/types/create_branding_phone_provider_response_content.rb @@ -5,12 +5,19 @@ module Types # Phone provider configuration schema class CreateBrandingPhoneProviderResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :tenant, -> { String }, optional: true, nullable: false + field :name, -> { Auth0::Types::PhoneProviderNameEnum }, optional: false, nullable: false + field :channel, -> { Auth0::Types::PhoneProviderChannelEnum }, optional: true, nullable: false + field :disabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :configuration, -> { Auth0::Types::PhoneProviderConfiguration }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_branding_theme_response_content.rb b/lib/auth0/types/create_branding_theme_response_content.rb index 84518bdb..32e3b356 100644 --- a/lib/auth0/types/create_branding_theme_response_content.rb +++ b/lib/auth0/types/create_branding_theme_response_content.rb @@ -4,11 +4,17 @@ module Auth0 module Types class CreateBrandingThemeResponseContent < Internal::Types::Model field :borders, -> { Auth0::Types::BrandingThemeBorders }, optional: false, nullable: false + field :colors, -> { Auth0::Types::BrandingThemeColors }, optional: false, nullable: false + field :display_name, -> { String }, optional: false, nullable: false, api_name: "displayName" + field :fonts, -> { Auth0::Types::BrandingThemeFonts }, optional: false, nullable: false + field :page_background, -> { Auth0::Types::BrandingThemePageBackground }, optional: false, nullable: false + field :theme_id, -> { String }, optional: false, nullable: false, api_name: "themeId" + field :widget, -> { Auth0::Types::BrandingThemeWidget }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_client_grant_response_content.rb b/lib/auth0/types/create_client_grant_response_content.rb index 99057c71..b2a67ff5 100644 --- a/lib/auth0/types/create_client_grant_response_content.rb +++ b/lib/auth0/types/create_client_grant_response_content.rb @@ -4,15 +4,25 @@ module Auth0 module Types class CreateClientGrantResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false + field :audience, -> { String }, optional: true, nullable: false + field :scope, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :organization_usage, -> { Auth0::Types::ClientGrantOrganizationUsageEnum }, optional: true, nullable: false + field :allow_any_organization, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :default_for, -> { Auth0::Types::ClientGrantDefaultForEnum }, optional: true, nullable: false + field :is_system, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :subject_type, -> { Auth0::Types::ClientGrantSubjectTypeEnum }, optional: true, nullable: false + field :authorization_details_types, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :allow_all_scopes, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_client_response_content.rb b/lib/auth0/types/create_client_response_content.rb index cd18b154..b3570ee6 100644 --- a/lib/auth0/types/create_client_response_content.rb +++ b/lib/auth0/types/create_client_response_content.rb @@ -4,64 +4,123 @@ module Auth0 module Types class CreateClientResponseContent < Internal::Types::Model field :client_id, -> { String }, optional: true, nullable: false + field :tenant, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false + field :global, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :client_secret, -> { String }, optional: true, nullable: false + field :app_type, -> { Auth0::Types::ClientAppTypeEnum }, optional: true, nullable: false + field :logo_uri, -> { String }, optional: true, nullable: false + field :is_first_party, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :oidc_conformant, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :callbacks, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :allowed_origins, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :web_origins, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :client_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :allowed_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :allowed_logout_urls, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :session_transfer, -> { Auth0::Types::ClientSessionTransferConfiguration }, optional: true, nullable: false + field :oidc_logout, -> { Auth0::Types::ClientOidcBackchannelLogoutSettings }, optional: true, nullable: false + field :grant_types, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :jwt_configuration, -> { Auth0::Types::ClientJwtConfiguration }, optional: true, nullable: false + field :signing_keys, -> { Internal::Types::Array[Auth0::Types::ClientSigningKey] }, optional: true, nullable: false + field :encryption_key, -> { Auth0::Types::ClientEncryptionKey }, optional: true, nullable: false + field :sso, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sso_disabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :cross_origin_authentication, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :cross_origin_loc, -> { String }, optional: true, nullable: false + field :custom_login_page_on, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :custom_login_page, -> { String }, optional: true, nullable: false + field :custom_login_page_preview, -> { String }, optional: true, nullable: false + field :form_template, -> { String }, optional: true, nullable: false + field :addons, -> { Auth0::Types::ClientAddons }, optional: true, nullable: false + field :token_endpoint_auth_method, -> { Auth0::Types::ClientTokenEndpointAuthMethodEnum }, optional: true, nullable: false + field :is_token_endpoint_ip_header_trusted, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :client_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :mobile, -> { Auth0::Types::ClientMobile }, optional: true, nullable: false + field :initiate_login_uri, -> { String }, optional: true, nullable: false + field :refresh_token, -> { Auth0::Types::ClientRefreshTokenConfiguration }, optional: true, nullable: false + field :default_organization, -> { Auth0::Types::ClientDefaultOrganization }, optional: true, nullable: false + field :organization_usage, -> { Auth0::Types::ClientOrganizationUsageEnum }, optional: true, nullable: false + field :organization_require_behavior, -> { Auth0::Types::ClientOrganizationRequireBehaviorEnum }, optional: true, nullable: false + field :organization_discovery_methods, -> { Internal::Types::Array[Auth0::Types::ClientOrganizationDiscoveryEnum] }, optional: true, nullable: false + field :client_authentication_methods, -> { Auth0::Types::ClientAuthenticationMethod }, optional: true, nullable: false + field :require_pushed_authorization_requests, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :require_proof_of_possession, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :signed_request_object, -> { Auth0::Types::ClientSignedRequestObjectWithCredentialID }, optional: true, nullable: false + field :compliance_level, -> { Auth0::Types::ClientComplianceLevelEnum }, optional: true, nullable: false + field :skip_non_verifiable_callback_uri_confirmation_prompt, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :token_exchange, -> { Auth0::Types::ClientTokenExchangeConfiguration }, optional: true, nullable: false + field :par_request_expiry, -> { Integer }, optional: true, nullable: false + field :token_quota, -> { Auth0::Types::TokenQuota }, optional: true, nullable: false + field :express_configuration, -> { Auth0::Types::ExpressConfiguration }, optional: true, nullable: false + field :my_organization_configuration, -> { Auth0::Types::ClientMyOrganizationResponseConfiguration }, optional: true, nullable: false + field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false + field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false + field :resource_server_identifier, -> { String }, optional: true, nullable: false + field :async_approval_notification_channels, -> { Internal::Types::Array[Auth0::Types::AsyncApprovalNotificationsChannelsEnum] }, optional: true, nullable: false + field :external_metadata_type, -> { Auth0::Types::ClientExternalMetadataTypeEnum }, optional: true, nullable: false + field :external_metadata_created_by, -> { Auth0::Types::ClientExternalMetadataCreatedByEnum }, optional: true, nullable: false + field :external_client_id, -> { String }, optional: true, nullable: false + field :jwks_uri, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_common.rb b/lib/auth0/types/create_connection_common.rb index ccfda5ad..8af13e47 100644 --- a/lib/auth0/types/create_connection_common.rb +++ b/lib/auth0/types/create_connection_common.rb @@ -4,9 +4,13 @@ module Auth0 module Types class CreateConnectionCommon < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :display_name, -> { String }, optional: true, nullable: false + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_profile_response_content.rb b/lib/auth0/types/create_connection_profile_response_content.rb index 8dc99f6e..330ed5fa 100644 --- a/lib/auth0/types/create_connection_profile_response_content.rb +++ b/lib/auth0/types/create_connection_profile_response_content.rb @@ -4,11 +4,17 @@ module Auth0 module Types class CreateConnectionProfileResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :organization, -> { Auth0::Types::ConnectionProfileOrganization }, optional: true, nullable: false + field :connection_name_prefix_template, -> { String }, optional: true, nullable: false + field :enabled_features, -> { Internal::Types::Array[Auth0::Types::EnabledFeaturesEnum] }, optional: true, nullable: false + field :connection_config, -> { Auth0::Types::ConnectionProfileConfig }, optional: true, nullable: false + field :strategy_overrides, -> { Auth0::Types::ConnectionProfileStrategyOverrides }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_ad.rb b/lib/auth0/types/create_connection_request_content_ad.rb index 40e3a9ed..ddce7672 100644 --- a/lib/auth0/types/create_connection_request_content_ad.rb +++ b/lib/auth0/types/create_connection_request_content_ad.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=ad class CreateConnectionRequestContentAd < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentAdStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsAd }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_adfs.rb b/lib/auth0/types/create_connection_request_content_adfs.rb index c5f61ae8..ced12c19 100644 --- a/lib/auth0/types/create_connection_request_content_adfs.rb +++ b/lib/auth0/types/create_connection_request_content_adfs.rb @@ -5,7 +5,9 @@ module Types # Create a connection with strategy=adfs class CreateConnectionRequestContentAdfs < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentAdfsStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsAdfs }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_amazon.rb b/lib/auth0/types/create_connection_request_content_amazon.rb index dd4f4140..accc1a5f 100644 --- a/lib/auth0/types/create_connection_request_content_amazon.rb +++ b/lib/auth0/types/create_connection_request_content_amazon.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=amazon class CreateConnectionRequestContentAmazon < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentAmazonStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsAmazon }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_apple.rb b/lib/auth0/types/create_connection_request_content_apple.rb index 79c8b8f5..34139f0f 100644 --- a/lib/auth0/types/create_connection_request_content_apple.rb +++ b/lib/auth0/types/create_connection_request_content_apple.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=apple class CreateConnectionRequestContentApple < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentAppleStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsApple }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_auth0.rb b/lib/auth0/types/create_connection_request_content_auth0.rb index 16ab12c5..2906361d 100644 --- a/lib/auth0/types/create_connection_request_content_auth0.rb +++ b/lib/auth0/types/create_connection_request_content_auth0.rb @@ -5,7 +5,9 @@ module Types # Create a connection with strategy=auth0 class CreateConnectionRequestContentAuth0 < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentAuth0Strategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsAuth0 }, optional: true, nullable: false + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_auth0oidc.rb b/lib/auth0/types/create_connection_request_content_auth0oidc.rb index 20aa6621..c1099c74 100644 --- a/lib/auth0/types/create_connection_request_content_auth0oidc.rb +++ b/lib/auth0/types/create_connection_request_content_auth0oidc.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=auth0-oidc class CreateConnectionRequestContentAuth0Oidc < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentAuth0OidcStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsAuth0Oidc }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_azure_ad.rb b/lib/auth0/types/create_connection_request_content_azure_ad.rb index f28134d7..fc44b28e 100644 --- a/lib/auth0/types/create_connection_request_content_azure_ad.rb +++ b/lib/auth0/types/create_connection_request_content_azure_ad.rb @@ -5,7 +5,9 @@ module Types # Create a connection with strategy=waad class CreateConnectionRequestContentAzureAd < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentAzureAdStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsAzureAd }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_baidu.rb b/lib/auth0/types/create_connection_request_content_baidu.rb index cf505dd7..f7aa51cd 100644 --- a/lib/auth0/types/create_connection_request_content_baidu.rb +++ b/lib/auth0/types/create_connection_request_content_baidu.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=baidu class CreateConnectionRequestContentBaidu < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentBaiduStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsBaidu }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_bitbucket.rb b/lib/auth0/types/create_connection_request_content_bitbucket.rb index 64842015..7de14af8 100644 --- a/lib/auth0/types/create_connection_request_content_bitbucket.rb +++ b/lib/auth0/types/create_connection_request_content_bitbucket.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=bitbucket class CreateConnectionRequestContentBitbucket < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentBitbucketStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsBitbucket }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_bitly.rb b/lib/auth0/types/create_connection_request_content_bitly.rb index 94d8b4c8..37ee2012 100644 --- a/lib/auth0/types/create_connection_request_content_bitly.rb +++ b/lib/auth0/types/create_connection_request_content_bitly.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=bitly class CreateConnectionRequestContentBitly < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentBitlyStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsBitly }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_box.rb b/lib/auth0/types/create_connection_request_content_box.rb index 22515900..8d68458a 100644 --- a/lib/auth0/types/create_connection_request_content_box.rb +++ b/lib/auth0/types/create_connection_request_content_box.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=box class CreateConnectionRequestContentBox < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentBoxStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsBox }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_custom.rb b/lib/auth0/types/create_connection_request_content_custom.rb index 39d4e2a9..7aaebdd6 100644 --- a/lib/auth0/types/create_connection_request_content_custom.rb +++ b/lib/auth0/types/create_connection_request_content_custom.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=custom class CreateConnectionRequestContentCustom < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentCustomStrategy }, optional: false, nullable: false + field :options, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_daccount.rb b/lib/auth0/types/create_connection_request_content_daccount.rb index fdb089b4..cba92b1c 100644 --- a/lib/auth0/types/create_connection_request_content_daccount.rb +++ b/lib/auth0/types/create_connection_request_content_daccount.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=daccount class CreateConnectionRequestContentDaccount < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentDaccountStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsDaccount }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_dropbox.rb b/lib/auth0/types/create_connection_request_content_dropbox.rb index 502c7783..8b32bc47 100644 --- a/lib/auth0/types/create_connection_request_content_dropbox.rb +++ b/lib/auth0/types/create_connection_request_content_dropbox.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=dropbox class CreateConnectionRequestContentDropbox < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentDropboxStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsDropbox }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_dwolla.rb b/lib/auth0/types/create_connection_request_content_dwolla.rb index b5b95cc0..be207a3e 100644 --- a/lib/auth0/types/create_connection_request_content_dwolla.rb +++ b/lib/auth0/types/create_connection_request_content_dwolla.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=dwolla class CreateConnectionRequestContentDwolla < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentDwollaStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsDwolla }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_email.rb b/lib/auth0/types/create_connection_request_content_email.rb index f2e8a217..fa299426 100644 --- a/lib/auth0/types/create_connection_request_content_email.rb +++ b/lib/auth0/types/create_connection_request_content_email.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=email class CreateConnectionRequestContentEmail < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentEmailStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsEmail }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_evernote.rb b/lib/auth0/types/create_connection_request_content_evernote.rb index d371e79b..e7f57144 100644 --- a/lib/auth0/types/create_connection_request_content_evernote.rb +++ b/lib/auth0/types/create_connection_request_content_evernote.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=evernote class CreateConnectionRequestContentEvernote < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentEvernoteStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsEvernote }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_evernote_sandbox.rb b/lib/auth0/types/create_connection_request_content_evernote_sandbox.rb index a6249332..2e8aa67b 100644 --- a/lib/auth0/types/create_connection_request_content_evernote_sandbox.rb +++ b/lib/auth0/types/create_connection_request_content_evernote_sandbox.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=evernote-sandbox class CreateConnectionRequestContentEvernoteSandbox < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentEvernoteSandboxStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsEvernote }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_exact.rb b/lib/auth0/types/create_connection_request_content_exact.rb index a448a97c..027a2c17 100644 --- a/lib/auth0/types/create_connection_request_content_exact.rb +++ b/lib/auth0/types/create_connection_request_content_exact.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=exact class CreateConnectionRequestContentExact < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentExactStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsExact }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_facebook.rb b/lib/auth0/types/create_connection_request_content_facebook.rb index 3de3b774..9c74f450 100644 --- a/lib/auth0/types/create_connection_request_content_facebook.rb +++ b/lib/auth0/types/create_connection_request_content_facebook.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=facebook class CreateConnectionRequestContentFacebook < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentFacebookStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsFacebook }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_fitbit.rb b/lib/auth0/types/create_connection_request_content_fitbit.rb index 8a8999f6..5b162710 100644 --- a/lib/auth0/types/create_connection_request_content_fitbit.rb +++ b/lib/auth0/types/create_connection_request_content_fitbit.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=fitbit class CreateConnectionRequestContentFitbit < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentFitbitStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsFitbit }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_git_hub.rb b/lib/auth0/types/create_connection_request_content_git_hub.rb index ed4b2adb..52e79cd2 100644 --- a/lib/auth0/types/create_connection_request_content_git_hub.rb +++ b/lib/auth0/types/create_connection_request_content_git_hub.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=github class CreateConnectionRequestContentGitHub < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentGitHubStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsGitHub }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_google_apps.rb b/lib/auth0/types/create_connection_request_content_google_apps.rb index 65db94da..ca1dfa03 100644 --- a/lib/auth0/types/create_connection_request_content_google_apps.rb +++ b/lib/auth0/types/create_connection_request_content_google_apps.rb @@ -5,7 +5,9 @@ module Types # Create a connection with strategy=google-apps class CreateConnectionRequestContentGoogleApps < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentGoogleAppsStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsGoogleApps }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_google_o_auth2.rb b/lib/auth0/types/create_connection_request_content_google_o_auth2.rb index 6795385c..e7ab21bd 100644 --- a/lib/auth0/types/create_connection_request_content_google_o_auth2.rb +++ b/lib/auth0/types/create_connection_request_content_google_o_auth2.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=google-oauth2 class CreateConnectionRequestContentGoogleOAuth2 < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentGoogleOAuth2Strategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsGoogleOAuth2 }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_instagram.rb b/lib/auth0/types/create_connection_request_content_instagram.rb index e79d3dd6..0cb11668 100644 --- a/lib/auth0/types/create_connection_request_content_instagram.rb +++ b/lib/auth0/types/create_connection_request_content_instagram.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=instagram class CreateConnectionRequestContentInstagram < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentInstagramStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsInstagram }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_ip.rb b/lib/auth0/types/create_connection_request_content_ip.rb index 0e788bd9..a736a4e5 100644 --- a/lib/auth0/types/create_connection_request_content_ip.rb +++ b/lib/auth0/types/create_connection_request_content_ip.rb @@ -5,7 +5,9 @@ module Types # Create a connection with strategy=ip class CreateConnectionRequestContentIP < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentIPStrategy }, optional: false, nullable: false + field :options, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_line.rb b/lib/auth0/types/create_connection_request_content_line.rb index 5e823e44..6f3facac 100644 --- a/lib/auth0/types/create_connection_request_content_line.rb +++ b/lib/auth0/types/create_connection_request_content_line.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=line class CreateConnectionRequestContentLine < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentLineStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsLine }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_linkedin.rb b/lib/auth0/types/create_connection_request_content_linkedin.rb index 4bf12f07..78143fdd 100644 --- a/lib/auth0/types/create_connection_request_content_linkedin.rb +++ b/lib/auth0/types/create_connection_request_content_linkedin.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=linkedin class CreateConnectionRequestContentLinkedin < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentLinkedinStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsLinkedin }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_o_auth1.rb b/lib/auth0/types/create_connection_request_content_o_auth1.rb index c997fe76..78b0cb09 100644 --- a/lib/auth0/types/create_connection_request_content_o_auth1.rb +++ b/lib/auth0/types/create_connection_request_content_o_auth1.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=oauth1 class CreateConnectionRequestContentOAuth1 < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentOAuth1Strategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsOAuth1 }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_o_auth2.rb b/lib/auth0/types/create_connection_request_content_o_auth2.rb index 72517fee..288735dd 100644 --- a/lib/auth0/types/create_connection_request_content_o_auth2.rb +++ b/lib/auth0/types/create_connection_request_content_o_auth2.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=oauth2 class CreateConnectionRequestContentOAuth2 < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentOAuth2Strategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsOAuth2 }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_office365.rb b/lib/auth0/types/create_connection_request_content_office365.rb index b1197991..61034000 100644 --- a/lib/auth0/types/create_connection_request_content_office365.rb +++ b/lib/auth0/types/create_connection_request_content_office365.rb @@ -5,7 +5,9 @@ module Types # Create a connection with strategy=office365 class CreateConnectionRequestContentOffice365 < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentOffice365Strategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsOffice365 }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_oidc.rb b/lib/auth0/types/create_connection_request_content_oidc.rb index f261d804..632d21ce 100644 --- a/lib/auth0/types/create_connection_request_content_oidc.rb +++ b/lib/auth0/types/create_connection_request_content_oidc.rb @@ -5,9 +5,13 @@ module Types # Create a connection with strategy=oidc class CreateConnectionRequestContentOidc < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentOidcStrategy }, optional: false, nullable: false + field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false + field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurposeXaa }, optional: true, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsOidc }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_okta.rb b/lib/auth0/types/create_connection_request_content_okta.rb index 5dc28d73..2245d0a3 100644 --- a/lib/auth0/types/create_connection_request_content_okta.rb +++ b/lib/auth0/types/create_connection_request_content_okta.rb @@ -5,7 +5,9 @@ module Types # Create a connection with strategy=okta class CreateConnectionRequestContentOkta < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentOktaStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsOkta }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_paypal.rb b/lib/auth0/types/create_connection_request_content_paypal.rb index 08601090..e9ca6fbd 100644 --- a/lib/auth0/types/create_connection_request_content_paypal.rb +++ b/lib/auth0/types/create_connection_request_content_paypal.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=paypal class CreateConnectionRequestContentPaypal < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentPaypalStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsPaypal }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_paypal_sandbox.rb b/lib/auth0/types/create_connection_request_content_paypal_sandbox.rb index a1309bf2..747b7170 100644 --- a/lib/auth0/types/create_connection_request_content_paypal_sandbox.rb +++ b/lib/auth0/types/create_connection_request_content_paypal_sandbox.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=paypal-sandbox class CreateConnectionRequestContentPaypalSandbox < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentPaypalSandboxStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsPaypal }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_ping_federate.rb b/lib/auth0/types/create_connection_request_content_ping_federate.rb index 1a2127f4..117a5925 100644 --- a/lib/auth0/types/create_connection_request_content_ping_federate.rb +++ b/lib/auth0/types/create_connection_request_content_ping_federate.rb @@ -5,7 +5,9 @@ module Types # Create a connection with strategy=pingfederate class CreateConnectionRequestContentPingFederate < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentPingFederateStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsPingFederate }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_planning_center.rb b/lib/auth0/types/create_connection_request_content_planning_center.rb index 983b16c9..6ddd7f49 100644 --- a/lib/auth0/types/create_connection_request_content_planning_center.rb +++ b/lib/auth0/types/create_connection_request_content_planning_center.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=planningcenter class CreateConnectionRequestContentPlanningCenter < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentPlanningCenterStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsPlanningCenter }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_salesforce.rb b/lib/auth0/types/create_connection_request_content_salesforce.rb index dcfa8dc3..4878621f 100644 --- a/lib/auth0/types/create_connection_request_content_salesforce.rb +++ b/lib/auth0/types/create_connection_request_content_salesforce.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=salesforce class CreateConnectionRequestContentSalesforce < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentSalesforceStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsSalesforce }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_salesforce_community.rb b/lib/auth0/types/create_connection_request_content_salesforce_community.rb index be05c940..4a426741 100644 --- a/lib/auth0/types/create_connection_request_content_salesforce_community.rb +++ b/lib/auth0/types/create_connection_request_content_salesforce_community.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=salesforce-community class CreateConnectionRequestContentSalesforceCommunity < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentSalesforceCommunityStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsSalesforceCommunity }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_salesforce_sandbox.rb b/lib/auth0/types/create_connection_request_content_salesforce_sandbox.rb index 4a168dc6..fe65504d 100644 --- a/lib/auth0/types/create_connection_request_content_salesforce_sandbox.rb +++ b/lib/auth0/types/create_connection_request_content_salesforce_sandbox.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=salesforce-sandbox class CreateConnectionRequestContentSalesforceSandbox < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentSalesforceSandboxStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsSalesforce }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_saml.rb b/lib/auth0/types/create_connection_request_content_saml.rb index b5e19a24..a7892ec2 100644 --- a/lib/auth0/types/create_connection_request_content_saml.rb +++ b/lib/auth0/types/create_connection_request_content_saml.rb @@ -5,7 +5,9 @@ module Types # Create a connection with strategy=samlp class CreateConnectionRequestContentSAML < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentSAMLStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsSAML }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_sharepoint.rb b/lib/auth0/types/create_connection_request_content_sharepoint.rb index 791baffb..a546be94 100644 --- a/lib/auth0/types/create_connection_request_content_sharepoint.rb +++ b/lib/auth0/types/create_connection_request_content_sharepoint.rb @@ -5,7 +5,9 @@ module Types # Create a connection with strategy=sharepoint class CreateConnectionRequestContentSharepoint < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentSharepointStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsSharepoint }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_shop.rb b/lib/auth0/types/create_connection_request_content_shop.rb index 7b6ac930..29c881f3 100644 --- a/lib/auth0/types/create_connection_request_content_shop.rb +++ b/lib/auth0/types/create_connection_request_content_shop.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=shop class CreateConnectionRequestContentShop < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentShopStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsShop }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_shopify.rb b/lib/auth0/types/create_connection_request_content_shopify.rb index 279c0c86..149fabb5 100644 --- a/lib/auth0/types/create_connection_request_content_shopify.rb +++ b/lib/auth0/types/create_connection_request_content_shopify.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=shopify class CreateConnectionRequestContentShopify < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentShopifyStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsShopify }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_sms.rb b/lib/auth0/types/create_connection_request_content_sms.rb index 43aaf2c8..c7000db7 100644 --- a/lib/auth0/types/create_connection_request_content_sms.rb +++ b/lib/auth0/types/create_connection_request_content_sms.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=sms class CreateConnectionRequestContentSms < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentSmsStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsSms }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_soundcloud.rb b/lib/auth0/types/create_connection_request_content_soundcloud.rb index feed20ac..74e389f0 100644 --- a/lib/auth0/types/create_connection_request_content_soundcloud.rb +++ b/lib/auth0/types/create_connection_request_content_soundcloud.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=soundcloud class CreateConnectionRequestContentSoundcloud < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentSoundcloudStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsSoundcloud }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_thirty_seven_signals.rb b/lib/auth0/types/create_connection_request_content_thirty_seven_signals.rb index f4279e22..8a310826 100644 --- a/lib/auth0/types/create_connection_request_content_thirty_seven_signals.rb +++ b/lib/auth0/types/create_connection_request_content_thirty_seven_signals.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=thirtysevensignals class CreateConnectionRequestContentThirtySevenSignals < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentThirtySevenSignalsStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsThirtySevenSignals }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_twitter.rb b/lib/auth0/types/create_connection_request_content_twitter.rb index b477be1f..7f8c9137 100644 --- a/lib/auth0/types/create_connection_request_content_twitter.rb +++ b/lib/auth0/types/create_connection_request_content_twitter.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=twitter class CreateConnectionRequestContentTwitter < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentTwitterStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsTwitter }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_untappd.rb b/lib/auth0/types/create_connection_request_content_untappd.rb index 833066c1..4d63f7e7 100644 --- a/lib/auth0/types/create_connection_request_content_untappd.rb +++ b/lib/auth0/types/create_connection_request_content_untappd.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=untappd class CreateConnectionRequestContentUntappd < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentUntappdStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsUntappd }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_vkontakte.rb b/lib/auth0/types/create_connection_request_content_vkontakte.rb index 5d3032b7..c871099a 100644 --- a/lib/auth0/types/create_connection_request_content_vkontakte.rb +++ b/lib/auth0/types/create_connection_request_content_vkontakte.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=vkontakte class CreateConnectionRequestContentVkontakte < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentVkontakteStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsVkontakte }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_weibo.rb b/lib/auth0/types/create_connection_request_content_weibo.rb index 943c6196..a656fdb0 100644 --- a/lib/auth0/types/create_connection_request_content_weibo.rb +++ b/lib/auth0/types/create_connection_request_content_weibo.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=weibo class CreateConnectionRequestContentWeibo < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentWeiboStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsWeibo }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_windows_live.rb b/lib/auth0/types/create_connection_request_content_windows_live.rb index 54799a30..1e20b6e8 100644 --- a/lib/auth0/types/create_connection_request_content_windows_live.rb +++ b/lib/auth0/types/create_connection_request_content_windows_live.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=windowslive class CreateConnectionRequestContentWindowsLive < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentWindowsLiveStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsWindowsLive }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_wordpress.rb b/lib/auth0/types/create_connection_request_content_wordpress.rb index a04c51ee..f1ed8209 100644 --- a/lib/auth0/types/create_connection_request_content_wordpress.rb +++ b/lib/auth0/types/create_connection_request_content_wordpress.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=wordpress class CreateConnectionRequestContentWordpress < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentWordpressStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsWordpress }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_yahoo.rb b/lib/auth0/types/create_connection_request_content_yahoo.rb index 34c45730..0a2e6df2 100644 --- a/lib/auth0/types/create_connection_request_content_yahoo.rb +++ b/lib/auth0/types/create_connection_request_content_yahoo.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=yahoo class CreateConnectionRequestContentYahoo < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentYahooStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsYahoo }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_request_content_yandex.rb b/lib/auth0/types/create_connection_request_content_yandex.rb index 05b87035..cfa1d78e 100644 --- a/lib/auth0/types/create_connection_request_content_yandex.rb +++ b/lib/auth0/types/create_connection_request_content_yandex.rb @@ -5,6 +5,7 @@ module Types # Create a connection with strategy=yandex class CreateConnectionRequestContentYandex < Internal::Types::Model field :strategy, -> { Auth0::Types::CreateConnectionRequestContentYandexStrategy }, optional: false, nullable: false + field :options, -> { Auth0::Types::ConnectionOptionsYandex }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_connection_response_content.rb b/lib/auth0/types/create_connection_response_content.rb index 8427365a..98b80ba9 100644 --- a/lib/auth0/types/create_connection_response_content.rb +++ b/lib/auth0/types/create_connection_response_content.rb @@ -4,16 +4,27 @@ module Auth0 module Types class CreateConnectionResponseContent < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :display_name, -> { String }, optional: true, nullable: false + field :options, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :id, -> { String }, optional: true, nullable: false + field :strategy, -> { String }, optional: true, nullable: false + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false + field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false + field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_custom_domain_response_content.rb b/lib/auth0/types/create_custom_domain_response_content.rb index ee890c93..6287f617 100644 --- a/lib/auth0/types/create_custom_domain_response_content.rb +++ b/lib/auth0/types/create_custom_domain_response_content.rb @@ -4,16 +4,27 @@ module Auth0 module Types class CreateCustomDomainResponseContent < Internal::Types::Model field :custom_domain_id, -> { String }, optional: false, nullable: false + field :domain, -> { String }, optional: false, nullable: false + field :primary, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :is_default, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :status, -> { Auth0::Types::CustomDomainStatusFilterEnum }, optional: false, nullable: false + field :type, -> { Auth0::Types::CustomDomainTypeEnum }, optional: false, nullable: false + field :verification, -> { Auth0::Types::DomainVerification }, optional: false, nullable: false + field :custom_client_ip_header, -> { String }, optional: true, nullable: false + field :tls_policy, -> { String }, optional: true, nullable: false + field :domain_metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false + field :certificate, -> { Auth0::Types::DomainCertificate }, optional: true, nullable: false + field :relying_party_identifier, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_directory_provisioning_request_content.rb b/lib/auth0/types/create_directory_provisioning_request_content.rb index 0607b93f..6b7f8e5b 100644 --- a/lib/auth0/types/create_directory_provisioning_request_content.rb +++ b/lib/auth0/types/create_directory_provisioning_request_content.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateDirectoryProvisioningRequestContent < Internal::Types::Model field :mapping, -> { Internal::Types::Array[Auth0::Types::DirectoryProvisioningMappingItem] }, optional: true, nullable: false + field :synchronize_automatically, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :synchronize_groups, -> { Auth0::Types::SynchronizeGroupsEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_directory_provisioning_response_content.rb b/lib/auth0/types/create_directory_provisioning_response_content.rb index 2a6a87c9..9707b24e 100644 --- a/lib/auth0/types/create_directory_provisioning_response_content.rb +++ b/lib/auth0/types/create_directory_provisioning_response_content.rb @@ -4,15 +4,25 @@ module Auth0 module Types class CreateDirectoryProvisioningResponseContent < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :connection_name, -> { String }, optional: false, nullable: false + field :strategy, -> { String }, optional: false, nullable: false + field :mapping, -> { Internal::Types::Array[Auth0::Types::DirectoryProvisioningMappingItem] }, optional: false, nullable: false + field :synchronize_automatically, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :synchronize_groups, -> { Auth0::Types::SynchronizeGroupsEnum }, optional: true, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :updated_at, -> { String }, optional: false, nullable: false + field :last_synchronization_at, -> { String }, optional: true, nullable: false + field :last_synchronization_status, -> { String }, optional: true, nullable: false + field :last_synchronization_error, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_directory_synchronization_response_content.rb b/lib/auth0/types/create_directory_synchronization_response_content.rb index 72aced3c..b74962d7 100644 --- a/lib/auth0/types/create_directory_synchronization_response_content.rb +++ b/lib/auth0/types/create_directory_synchronization_response_content.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateDirectorySynchronizationResponseContent < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :synchronization_id, -> { String }, optional: false, nullable: false + field :status, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_email_provider_response_content.rb b/lib/auth0/types/create_email_provider_response_content.rb index f50987c9..a24f7678 100644 --- a/lib/auth0/types/create_email_provider_response_content.rb +++ b/lib/auth0/types/create_email_provider_response_content.rb @@ -4,9 +4,13 @@ module Auth0 module Types class CreateEmailProviderResponseContent < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :default_from_address, -> { String }, optional: true, nullable: false + field :credentials, -> { Auth0::Types::EmailProviderCredentials }, optional: true, nullable: false + field :settings, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_email_template_response_content.rb b/lib/auth0/types/create_email_template_response_content.rb index 5cc06940..83b91b4d 100644 --- a/lib/auth0/types/create_email_template_response_content.rb +++ b/lib/auth0/types/create_email_template_response_content.rb @@ -4,13 +4,21 @@ module Auth0 module Types class CreateEmailTemplateResponseContent < Internal::Types::Model field :template, -> { Auth0::Types::EmailTemplateNameEnum }, optional: false, nullable: false + field :body, -> { String }, optional: true, nullable: false + field :from, -> { String }, optional: true, nullable: false + field :result_url, -> { String }, optional: true, nullable: false, api_name: "resultUrl" + field :subject, -> { String }, optional: true, nullable: false + field :syntax, -> { String }, optional: true, nullable: false + field :url_lifetime_in_seconds, -> { Integer }, optional: true, nullable: false, api_name: "urlLifetimeInSeconds" + field :include_email_in_redirect, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "includeEmailInRedirect" + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_encryption_key_public_wrapping_response_content.rb b/lib/auth0/types/create_encryption_key_public_wrapping_response_content.rb index 207d3fa3..16d6777e 100644 --- a/lib/auth0/types/create_encryption_key_public_wrapping_response_content.rb +++ b/lib/auth0/types/create_encryption_key_public_wrapping_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class CreateEncryptionKeyPublicWrappingResponseContent < Internal::Types::Model field :public_key, -> { String }, optional: false, nullable: false + field :algorithm, -> { Auth0::Types::EncryptionKeyPublicWrappingAlgorithm }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_encryption_key_response_content.rb b/lib/auth0/types/create_encryption_key_response_content.rb index 01ac2592..0f5e5288 100644 --- a/lib/auth0/types/create_encryption_key_response_content.rb +++ b/lib/auth0/types/create_encryption_key_response_content.rb @@ -5,11 +5,17 @@ module Types # Encryption key class CreateEncryptionKeyResponseContent < Internal::Types::Model field :kid, -> { String }, optional: false, nullable: false + field :type, -> { Auth0::Types::EncryptionKeyType }, optional: false, nullable: false + field :state, -> { Auth0::Types::EncryptionKeyState }, optional: false, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :updated_at, -> { String }, optional: false, nullable: false + field :parent_kid, -> { String }, optional: true, nullable: false + field :public_key, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_event_stream_action_request_content.rb b/lib/auth0/types/create_event_stream_action_request_content.rb index c5fbdef8..8933c9e5 100644 --- a/lib/auth0/types/create_event_stream_action_request_content.rb +++ b/lib/auth0/types/create_event_stream_action_request_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class CreateEventStreamActionRequestContent < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :subscriptions, -> { Internal::Types::Array[Auth0::Types::EventStreamSubscription] }, optional: true, nullable: false + field :destination, -> { Auth0::Types::EventStreamActionDestination }, optional: false, nullable: false + field :status, -> { Auth0::Types::EventStreamStatusEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_event_stream_event_bridge_request_content.rb b/lib/auth0/types/create_event_stream_event_bridge_request_content.rb index 9c6ee1bf..7a5c46c9 100644 --- a/lib/auth0/types/create_event_stream_event_bridge_request_content.rb +++ b/lib/auth0/types/create_event_stream_event_bridge_request_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class CreateEventStreamEventBridgeRequestContent < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :subscriptions, -> { Internal::Types::Array[Auth0::Types::EventStreamSubscription] }, optional: true, nullable: false + field :destination, -> { Auth0::Types::EventStreamEventBridgeDestination }, optional: false, nullable: false + field :status, -> { Auth0::Types::EventStreamStatusEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_event_stream_redelivery_response_content.rb b/lib/auth0/types/create_event_stream_redelivery_response_content.rb index 230fa1f2..9e07e62a 100644 --- a/lib/auth0/types/create_event_stream_redelivery_response_content.rb +++ b/lib/auth0/types/create_event_stream_redelivery_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class CreateEventStreamRedeliveryResponseContent < Internal::Types::Model field :date_from, -> { String }, optional: true, nullable: false + field :date_to, -> { String }, optional: true, nullable: false + field :statuses, -> { Internal::Types::Array[Auth0::Types::EventStreamDeliveryStatusEnum] }, optional: true, nullable: false + field :event_types, -> { Internal::Types::Array[Auth0::Types::EventStreamEventTypeEnum] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_event_stream_response_content.rb b/lib/auth0/types/create_event_stream_response_content.rb index c6a48e1b..8e52da9d 100644 --- a/lib/auth0/types/create_event_stream_response_content.rb +++ b/lib/auth0/types/create_event_stream_response_content.rb @@ -6,7 +6,9 @@ class CreateEventStreamResponseContent < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::EventStreamWebhookResponseContent } + member -> { Auth0::Types::EventStreamEventBridgeResponseContent } + member -> { Auth0::Types::EventStreamActionResponseContent } end end diff --git a/lib/auth0/types/create_event_stream_test_event_response_content.rb b/lib/auth0/types/create_event_stream_test_event_response_content.rb index 0ddb70de..61cadeff 100644 --- a/lib/auth0/types/create_event_stream_test_event_response_content.rb +++ b/lib/auth0/types/create_event_stream_test_event_response_content.rb @@ -5,10 +5,15 @@ module Types # Metadata about a specific attempt to deliver an event class CreateEventStreamTestEventResponseContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :event_stream_id, -> { String }, optional: false, nullable: false + field :status, -> { Auth0::Types::EventStreamDeliveryStatusEnum }, optional: false, nullable: false + field :event_type, -> { Auth0::Types::EventStreamDeliveryEventTypeEnum }, optional: false, nullable: false + field :attempts, -> { Internal::Types::Array[Auth0::Types::EventStreamDeliveryAttempt] }, optional: false, nullable: false + field :event, -> { Auth0::Types::EventStreamCloudEvent }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_event_stream_web_hook_request_content.rb b/lib/auth0/types/create_event_stream_web_hook_request_content.rb index ca479cea..68f77184 100644 --- a/lib/auth0/types/create_event_stream_web_hook_request_content.rb +++ b/lib/auth0/types/create_event_stream_web_hook_request_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class CreateEventStreamWebHookRequestContent < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :subscriptions, -> { Internal::Types::Array[Auth0::Types::EventStreamSubscription] }, optional: true, nullable: false + field :destination, -> { Auth0::Types::EventStreamWebhookDestination }, optional: false, nullable: false + field :status, -> { Auth0::Types::EventStreamStatusEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_export_users_fields.rb b/lib/auth0/types/create_export_users_fields.rb index 91be1c36..9a7b5cec 100644 --- a/lib/auth0/types/create_export_users_fields.rb +++ b/lib/auth0/types/create_export_users_fields.rb @@ -4,6 +4,7 @@ module Auth0 module Types class CreateExportUsersFields < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :export_as, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_export_users_response_content.rb b/lib/auth0/types/create_export_users_response_content.rb index cf1fceed..00527b1e 100644 --- a/lib/auth0/types/create_export_users_response_content.rb +++ b/lib/auth0/types/create_export_users_response_content.rb @@ -4,12 +4,19 @@ module Auth0 module Types class CreateExportUsersResponseContent < Internal::Types::Model field :status, -> { String }, optional: false, nullable: false + field :type, -> { String }, optional: false, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :id, -> { String }, optional: false, nullable: false + field :connection_id, -> { String }, optional: true, nullable: false + field :format, -> { Auth0::Types::JobFileFormatEnum }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :fields, -> { Internal::Types::Array[Auth0::Types::CreateExportUsersFields] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_flow_response_content.rb b/lib/auth0/types/create_flow_response_content.rb index 56edc56a..7c77d7c8 100644 --- a/lib/auth0/types/create_flow_response_content.rb +++ b/lib/auth0/types/create_flow_response_content.rb @@ -4,10 +4,15 @@ module Auth0 module Types class CreateFlowResponseContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: false, nullable: false + field :actions, -> { Internal::Types::Array[Auth0::Types::FlowAction] }, optional: true, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :updated_at, -> { String }, optional: false, nullable: false + field :executed_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_activecampaign.rb b/lib/auth0/types/create_flows_vault_connection_activecampaign.rb index ef44fd61..e15a2185 100644 --- a/lib/auth0/types/create_flows_vault_connection_activecampaign.rb +++ b/lib/auth0/types/create_flows_vault_connection_activecampaign.rb @@ -6,6 +6,7 @@ class CreateFlowsVaultConnectionActivecampaign < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::CreateFlowsVaultConnectionActivecampaignAPIKey } + member -> { Auth0::Types::CreateFlowsVaultConnectionActivecampaignUninitialized } end end diff --git a/lib/auth0/types/create_flows_vault_connection_activecampaign_api_key.rb b/lib/auth0/types/create_flows_vault_connection_activecampaign_api_key.rb index e3c77b66..7e54f4b7 100644 --- a/lib/auth0/types/create_flows_vault_connection_activecampaign_api_key.rb +++ b/lib/auth0/types/create_flows_vault_connection_activecampaign_api_key.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionActivecampaignAPIKey < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDActivecampaignEnum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectioSetupAPIKeyWithBaseURL }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_activecampaign_uninitialized.rb b/lib/auth0/types/create_flows_vault_connection_activecampaign_uninitialized.rb index 0fe4cecb..805861f0 100644 --- a/lib/auth0/types/create_flows_vault_connection_activecampaign_uninitialized.rb +++ b/lib/auth0/types/create_flows_vault_connection_activecampaign_uninitialized.rb @@ -4,6 +4,7 @@ module Auth0 module Types class CreateFlowsVaultConnectionActivecampaignUninitialized < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDActivecampaignEnum }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_airtable.rb b/lib/auth0/types/create_flows_vault_connection_airtable.rb index 8301b723..ddb02e9f 100644 --- a/lib/auth0/types/create_flows_vault_connection_airtable.rb +++ b/lib/auth0/types/create_flows_vault_connection_airtable.rb @@ -6,6 +6,7 @@ class CreateFlowsVaultConnectionAirtable < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::CreateFlowsVaultConnectionAirtableAPIKey } + member -> { Auth0::Types::CreateFlowsVaultConnectionAirtableUninitialized } end end diff --git a/lib/auth0/types/create_flows_vault_connection_airtable_api_key.rb b/lib/auth0/types/create_flows_vault_connection_airtable_api_key.rb index f91a0f3b..04129459 100644 --- a/lib/auth0/types/create_flows_vault_connection_airtable_api_key.rb +++ b/lib/auth0/types/create_flows_vault_connection_airtable_api_key.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionAirtableAPIKey < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDAirtableEnum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectioSetupAPIKey }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_airtable_uninitialized.rb b/lib/auth0/types/create_flows_vault_connection_airtable_uninitialized.rb index 88f1c153..d7fbea1a 100644 --- a/lib/auth0/types/create_flows_vault_connection_airtable_uninitialized.rb +++ b/lib/auth0/types/create_flows_vault_connection_airtable_uninitialized.rb @@ -4,6 +4,7 @@ module Auth0 module Types class CreateFlowsVaultConnectionAirtableUninitialized < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDAirtableEnum }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_auth0.rb b/lib/auth0/types/create_flows_vault_connection_auth0.rb index eebbe433..962850aa 100644 --- a/lib/auth0/types/create_flows_vault_connection_auth0.rb +++ b/lib/auth0/types/create_flows_vault_connection_auth0.rb @@ -6,6 +6,7 @@ class CreateFlowsVaultConnectionAuth0 < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::CreateFlowsVaultConnectionAuth0OauthApp } + member -> { Auth0::Types::CreateFlowsVaultConnectionAuth0Uninitialized } end end diff --git a/lib/auth0/types/create_flows_vault_connection_auth0oauth_app.rb b/lib/auth0/types/create_flows_vault_connection_auth0oauth_app.rb index 9256136f..e055682f 100644 --- a/lib/auth0/types/create_flows_vault_connection_auth0oauth_app.rb +++ b/lib/auth0/types/create_flows_vault_connection_auth0oauth_app.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionAuth0OauthApp < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDAuth0Enum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectioSetupOauthApp }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_auth0uninitialized.rb b/lib/auth0/types/create_flows_vault_connection_auth0uninitialized.rb index 3dc4bab1..ce6a39dd 100644 --- a/lib/auth0/types/create_flows_vault_connection_auth0uninitialized.rb +++ b/lib/auth0/types/create_flows_vault_connection_auth0uninitialized.rb @@ -4,6 +4,7 @@ module Auth0 module Types class CreateFlowsVaultConnectionAuth0Uninitialized < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDAuth0Enum }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_bigquery.rb b/lib/auth0/types/create_flows_vault_connection_bigquery.rb index f20337a2..65041436 100644 --- a/lib/auth0/types/create_flows_vault_connection_bigquery.rb +++ b/lib/auth0/types/create_flows_vault_connection_bigquery.rb @@ -6,6 +6,7 @@ class CreateFlowsVaultConnectionBigquery < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::CreateFlowsVaultConnectionBigqueryJwt } + member -> { Auth0::Types::CreateFlowsVaultConnectionBigqueryUninitialized } end end diff --git a/lib/auth0/types/create_flows_vault_connection_bigquery_jwt.rb b/lib/auth0/types/create_flows_vault_connection_bigquery_jwt.rb index b3f0fa20..4305cba0 100644 --- a/lib/auth0/types/create_flows_vault_connection_bigquery_jwt.rb +++ b/lib/auth0/types/create_flows_vault_connection_bigquery_jwt.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionBigqueryJwt < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDBigqueryEnum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectioSetupBigqueryOauthJwt }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_bigquery_uninitialized.rb b/lib/auth0/types/create_flows_vault_connection_bigquery_uninitialized.rb index 548da5eb..36f05268 100644 --- a/lib/auth0/types/create_flows_vault_connection_bigquery_uninitialized.rb +++ b/lib/auth0/types/create_flows_vault_connection_bigquery_uninitialized.rb @@ -4,6 +4,7 @@ module Auth0 module Types class CreateFlowsVaultConnectionBigqueryUninitialized < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDBigqueryEnum }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_clearbit.rb b/lib/auth0/types/create_flows_vault_connection_clearbit.rb index 669d3275..77b94ac8 100644 --- a/lib/auth0/types/create_flows_vault_connection_clearbit.rb +++ b/lib/auth0/types/create_flows_vault_connection_clearbit.rb @@ -6,6 +6,7 @@ class CreateFlowsVaultConnectionClearbit < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::CreateFlowsVaultConnectionClearbitAPIKey } + member -> { Auth0::Types::CreateFlowsVaultConnectionClearbitUninitialized } end end diff --git a/lib/auth0/types/create_flows_vault_connection_clearbit_api_key.rb b/lib/auth0/types/create_flows_vault_connection_clearbit_api_key.rb index c341e690..ad10a4dc 100644 --- a/lib/auth0/types/create_flows_vault_connection_clearbit_api_key.rb +++ b/lib/auth0/types/create_flows_vault_connection_clearbit_api_key.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionClearbitAPIKey < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDClearbitEnum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectioSetupSecretAPIKey }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_clearbit_uninitialized.rb b/lib/auth0/types/create_flows_vault_connection_clearbit_uninitialized.rb index 15941c47..b0ca6700 100644 --- a/lib/auth0/types/create_flows_vault_connection_clearbit_uninitialized.rb +++ b/lib/auth0/types/create_flows_vault_connection_clearbit_uninitialized.rb @@ -4,6 +4,7 @@ module Auth0 module Types class CreateFlowsVaultConnectionClearbitUninitialized < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDClearbitEnum }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_docusign.rb b/lib/auth0/types/create_flows_vault_connection_docusign.rb index 982bd785..5f4de847 100644 --- a/lib/auth0/types/create_flows_vault_connection_docusign.rb +++ b/lib/auth0/types/create_flows_vault_connection_docusign.rb @@ -6,6 +6,7 @@ class CreateFlowsVaultConnectionDocusign < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::CreateFlowsVaultConnectionDocusignOauthCode } + member -> { Auth0::Types::CreateFlowsVaultConnectionDocusignUninitialized } end end diff --git a/lib/auth0/types/create_flows_vault_connection_docusign_oauth_code.rb b/lib/auth0/types/create_flows_vault_connection_docusign_oauth_code.rb index dd797305..1d5c2059 100644 --- a/lib/auth0/types/create_flows_vault_connection_docusign_oauth_code.rb +++ b/lib/auth0/types/create_flows_vault_connection_docusign_oauth_code.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionDocusignOauthCode < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDDocusignEnum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectioSetupOauthCode }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_docusign_uninitialized.rb b/lib/auth0/types/create_flows_vault_connection_docusign_uninitialized.rb index 69931dcd..479cfff7 100644 --- a/lib/auth0/types/create_flows_vault_connection_docusign_uninitialized.rb +++ b/lib/auth0/types/create_flows_vault_connection_docusign_uninitialized.rb @@ -4,6 +4,7 @@ module Auth0 module Types class CreateFlowsVaultConnectionDocusignUninitialized < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDDocusignEnum }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_google_sheets.rb b/lib/auth0/types/create_flows_vault_connection_google_sheets.rb index 9e3fa0fc..c02d1968 100644 --- a/lib/auth0/types/create_flows_vault_connection_google_sheets.rb +++ b/lib/auth0/types/create_flows_vault_connection_google_sheets.rb @@ -6,6 +6,7 @@ class CreateFlowsVaultConnectionGoogleSheets < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::CreateFlowsVaultConnectionGoogleSheetsOauthCode } + member -> { Auth0::Types::CreateFlowsVaultConnectionGoogleSheetsUninitialized } end end diff --git a/lib/auth0/types/create_flows_vault_connection_google_sheets_oauth_code.rb b/lib/auth0/types/create_flows_vault_connection_google_sheets_oauth_code.rb index 82583f68..32970f10 100644 --- a/lib/auth0/types/create_flows_vault_connection_google_sheets_oauth_code.rb +++ b/lib/auth0/types/create_flows_vault_connection_google_sheets_oauth_code.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionGoogleSheetsOauthCode < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDGoogleSheetsEnum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectioSetupOauthCode }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_google_sheets_uninitialized.rb b/lib/auth0/types/create_flows_vault_connection_google_sheets_uninitialized.rb index 6497317d..74b01044 100644 --- a/lib/auth0/types/create_flows_vault_connection_google_sheets_uninitialized.rb +++ b/lib/auth0/types/create_flows_vault_connection_google_sheets_uninitialized.rb @@ -4,6 +4,7 @@ module Auth0 module Types class CreateFlowsVaultConnectionGoogleSheetsUninitialized < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDGoogleSheetsEnum }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_http.rb b/lib/auth0/types/create_flows_vault_connection_http.rb index 41b185d6..35dbe26f 100644 --- a/lib/auth0/types/create_flows_vault_connection_http.rb +++ b/lib/auth0/types/create_flows_vault_connection_http.rb @@ -6,9 +6,13 @@ class CreateFlowsVaultConnectionHTTP < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::CreateFlowsVaultConnectionHTTPBearer } + member -> { Auth0::Types::CreateFlowsVaultConnectionHTTPBasicAuth } + member -> { Auth0::Types::CreateFlowsVaultConnectionHttpApiKey } + member -> { Auth0::Types::CreateFlowsVaultConnectionHTTPOauthClientCredentials } + member -> { Auth0::Types::CreateFlowsVaultConnectionHTTPUninitialized } end end diff --git a/lib/auth0/types/create_flows_vault_connection_http_api_key.rb b/lib/auth0/types/create_flows_vault_connection_http_api_key.rb index 1962b353..c370adbb 100644 --- a/lib/auth0/types/create_flows_vault_connection_http_api_key.rb +++ b/lib/auth0/types/create_flows_vault_connection_http_api_key.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionHttpApiKey < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIdHttpEnum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectionHttpApiKeySetup }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_http_basic_auth.rb b/lib/auth0/types/create_flows_vault_connection_http_basic_auth.rb index d7797023..06ba771d 100644 --- a/lib/auth0/types/create_flows_vault_connection_http_basic_auth.rb +++ b/lib/auth0/types/create_flows_vault_connection_http_basic_auth.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionHTTPBasicAuth < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIdHttpEnum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectionHTTPBasicAuthSetup }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_http_bearer.rb b/lib/auth0/types/create_flows_vault_connection_http_bearer.rb index bed593c3..ba0c19da 100644 --- a/lib/auth0/types/create_flows_vault_connection_http_bearer.rb +++ b/lib/auth0/types/create_flows_vault_connection_http_bearer.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionHTTPBearer < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIdHttpEnum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectioSetupHTTPBearer }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_http_oauth_client_credentials.rb b/lib/auth0/types/create_flows_vault_connection_http_oauth_client_credentials.rb index cdb8e37b..8d8ed5fe 100644 --- a/lib/auth0/types/create_flows_vault_connection_http_oauth_client_credentials.rb +++ b/lib/auth0/types/create_flows_vault_connection_http_oauth_client_credentials.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionHTTPOauthClientCredentials < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIdHttpEnum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectionHTTPOauthClientCredentialsSetup }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_http_uninitialized.rb b/lib/auth0/types/create_flows_vault_connection_http_uninitialized.rb index 0ebb3c05..47d596ef 100644 --- a/lib/auth0/types/create_flows_vault_connection_http_uninitialized.rb +++ b/lib/auth0/types/create_flows_vault_connection_http_uninitialized.rb @@ -4,6 +4,7 @@ module Auth0 module Types class CreateFlowsVaultConnectionHTTPUninitialized < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIdHttpEnum }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_hubspot.rb b/lib/auth0/types/create_flows_vault_connection_hubspot.rb index 587cb6b1..8916f193 100644 --- a/lib/auth0/types/create_flows_vault_connection_hubspot.rb +++ b/lib/auth0/types/create_flows_vault_connection_hubspot.rb @@ -6,7 +6,9 @@ class CreateFlowsVaultConnectionHubspot < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::CreateFlowsVaultConnectionHubspotAPIKey } + member -> { Auth0::Types::CreateFlowsVaultConnectionHubspotOauthCode } + member -> { Auth0::Types::CreateFlowsVaultConnectionHubspotUninitialized } end end diff --git a/lib/auth0/types/create_flows_vault_connection_hubspot_api_key.rb b/lib/auth0/types/create_flows_vault_connection_hubspot_api_key.rb index ef220b1b..05e8ab9c 100644 --- a/lib/auth0/types/create_flows_vault_connection_hubspot_api_key.rb +++ b/lib/auth0/types/create_flows_vault_connection_hubspot_api_key.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionHubspotAPIKey < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDHubspotEnum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectioSetupAPIKey }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_hubspot_oauth_code.rb b/lib/auth0/types/create_flows_vault_connection_hubspot_oauth_code.rb index e33700de..97078f4a 100644 --- a/lib/auth0/types/create_flows_vault_connection_hubspot_oauth_code.rb +++ b/lib/auth0/types/create_flows_vault_connection_hubspot_oauth_code.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionHubspotOauthCode < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDHubspotEnum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectioSetupOauthCode }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_hubspot_uninitialized.rb b/lib/auth0/types/create_flows_vault_connection_hubspot_uninitialized.rb index 75fe3314..48db546b 100644 --- a/lib/auth0/types/create_flows_vault_connection_hubspot_uninitialized.rb +++ b/lib/auth0/types/create_flows_vault_connection_hubspot_uninitialized.rb @@ -4,6 +4,7 @@ module Auth0 module Types class CreateFlowsVaultConnectionHubspotUninitialized < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDHubspotEnum }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_jwt.rb b/lib/auth0/types/create_flows_vault_connection_jwt.rb index ee9a2c20..8d69f70e 100644 --- a/lib/auth0/types/create_flows_vault_connection_jwt.rb +++ b/lib/auth0/types/create_flows_vault_connection_jwt.rb @@ -6,6 +6,7 @@ class CreateFlowsVaultConnectionJwt < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::CreateFlowsVaultConnectionJwtJwt } + member -> { Auth0::Types::CreateFlowsVaultConnectionJwtUninitialized } end end diff --git a/lib/auth0/types/create_flows_vault_connection_jwt_jwt.rb b/lib/auth0/types/create_flows_vault_connection_jwt_jwt.rb index c0e36cb4..ba1ecab8 100644 --- a/lib/auth0/types/create_flows_vault_connection_jwt_jwt.rb +++ b/lib/auth0/types/create_flows_vault_connection_jwt_jwt.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionJwtJwt < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDJwtEnum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectioSetupJwt }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_jwt_uninitialized.rb b/lib/auth0/types/create_flows_vault_connection_jwt_uninitialized.rb index ee52db8b..f6c148e3 100644 --- a/lib/auth0/types/create_flows_vault_connection_jwt_uninitialized.rb +++ b/lib/auth0/types/create_flows_vault_connection_jwt_uninitialized.rb @@ -4,6 +4,7 @@ module Auth0 module Types class CreateFlowsVaultConnectionJwtUninitialized < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDJwtEnum }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_mailchimp.rb b/lib/auth0/types/create_flows_vault_connection_mailchimp.rb index 36ee4062..f6d96aed 100644 --- a/lib/auth0/types/create_flows_vault_connection_mailchimp.rb +++ b/lib/auth0/types/create_flows_vault_connection_mailchimp.rb @@ -6,7 +6,9 @@ class CreateFlowsVaultConnectionMailchimp < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::CreateFlowsVaultConnectionMailchimpAPIKey } + member -> { Auth0::Types::CreateFlowsVaultConnectionMailchimpOauthCode } + member -> { Auth0::Types::CreateFlowsVaultConnectionMailchimpUninitialized } end end diff --git a/lib/auth0/types/create_flows_vault_connection_mailchimp_api_key.rb b/lib/auth0/types/create_flows_vault_connection_mailchimp_api_key.rb index 4eae9a8d..e30a1850 100644 --- a/lib/auth0/types/create_flows_vault_connection_mailchimp_api_key.rb +++ b/lib/auth0/types/create_flows_vault_connection_mailchimp_api_key.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionMailchimpAPIKey < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDMailchimpEnum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectioSetupSecretAPIKey }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_mailchimp_oauth_code.rb b/lib/auth0/types/create_flows_vault_connection_mailchimp_oauth_code.rb index 6c4143e9..30297673 100644 --- a/lib/auth0/types/create_flows_vault_connection_mailchimp_oauth_code.rb +++ b/lib/auth0/types/create_flows_vault_connection_mailchimp_oauth_code.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionMailchimpOauthCode < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDMailchimpEnum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectioSetupOauthCode }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_mailchimp_uninitialized.rb b/lib/auth0/types/create_flows_vault_connection_mailchimp_uninitialized.rb index c57cbfa5..e1d8a823 100644 --- a/lib/auth0/types/create_flows_vault_connection_mailchimp_uninitialized.rb +++ b/lib/auth0/types/create_flows_vault_connection_mailchimp_uninitialized.rb @@ -4,6 +4,7 @@ module Auth0 module Types class CreateFlowsVaultConnectionMailchimpUninitialized < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDMailchimpEnum }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_mailjet.rb b/lib/auth0/types/create_flows_vault_connection_mailjet.rb index eba65fe0..60851cca 100644 --- a/lib/auth0/types/create_flows_vault_connection_mailjet.rb +++ b/lib/auth0/types/create_flows_vault_connection_mailjet.rb @@ -6,6 +6,7 @@ class CreateFlowsVaultConnectionMailjet < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::CreateFlowsVaultConnectionMailjetAPIKey } + member -> { Auth0::Types::CreateFlowsVaultConnectionMailjetUninitialized } end end diff --git a/lib/auth0/types/create_flows_vault_connection_mailjet_api_key.rb b/lib/auth0/types/create_flows_vault_connection_mailjet_api_key.rb index c34cb483..34ae668a 100644 --- a/lib/auth0/types/create_flows_vault_connection_mailjet_api_key.rb +++ b/lib/auth0/types/create_flows_vault_connection_mailjet_api_key.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionMailjetAPIKey < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDMailjetEnum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectioSetupMailjetAPIKey }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_mailjet_uninitialized.rb b/lib/auth0/types/create_flows_vault_connection_mailjet_uninitialized.rb index a851d63a..95822ecb 100644 --- a/lib/auth0/types/create_flows_vault_connection_mailjet_uninitialized.rb +++ b/lib/auth0/types/create_flows_vault_connection_mailjet_uninitialized.rb @@ -4,6 +4,7 @@ module Auth0 module Types class CreateFlowsVaultConnectionMailjetUninitialized < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDMailjetEnum }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_pipedrive.rb b/lib/auth0/types/create_flows_vault_connection_pipedrive.rb index a0c42559..7ce2095a 100644 --- a/lib/auth0/types/create_flows_vault_connection_pipedrive.rb +++ b/lib/auth0/types/create_flows_vault_connection_pipedrive.rb @@ -6,7 +6,9 @@ class CreateFlowsVaultConnectionPipedrive < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::CreateFlowsVaultConnectionPipedriveToken } + member -> { Auth0::Types::CreateFlowsVaultConnectionPipedriveOauthCode } + member -> { Auth0::Types::CreateFlowsVaultConnectionPipedriveUninitialized } end end diff --git a/lib/auth0/types/create_flows_vault_connection_pipedrive_oauth_code.rb b/lib/auth0/types/create_flows_vault_connection_pipedrive_oauth_code.rb index 1ee14d6e..0d533916 100644 --- a/lib/auth0/types/create_flows_vault_connection_pipedrive_oauth_code.rb +++ b/lib/auth0/types/create_flows_vault_connection_pipedrive_oauth_code.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionPipedriveOauthCode < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDPipedriveEnum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectioSetupOauthCode }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_pipedrive_token.rb b/lib/auth0/types/create_flows_vault_connection_pipedrive_token.rb index 16221e3d..859dc9c5 100644 --- a/lib/auth0/types/create_flows_vault_connection_pipedrive_token.rb +++ b/lib/auth0/types/create_flows_vault_connection_pipedrive_token.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionPipedriveToken < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDPipedriveEnum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectioSetupToken }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_pipedrive_uninitialized.rb b/lib/auth0/types/create_flows_vault_connection_pipedrive_uninitialized.rb index 8e292a91..c57caa4c 100644 --- a/lib/auth0/types/create_flows_vault_connection_pipedrive_uninitialized.rb +++ b/lib/auth0/types/create_flows_vault_connection_pipedrive_uninitialized.rb @@ -4,6 +4,7 @@ module Auth0 module Types class CreateFlowsVaultConnectionPipedriveUninitialized < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDPipedriveEnum }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_request_content.rb b/lib/auth0/types/create_flows_vault_connection_request_content.rb index d3d304e8..5ddde80e 100644 --- a/lib/auth0/types/create_flows_vault_connection_request_content.rb +++ b/lib/auth0/types/create_flows_vault_connection_request_content.rb @@ -6,25 +6,45 @@ class CreateFlowsVaultConnectionRequestContent < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::CreateFlowsVaultConnectionActivecampaign } + member -> { Auth0::Types::CreateFlowsVaultConnectionAirtable } + member -> { Auth0::Types::CreateFlowsVaultConnectionAuth0 } + member -> { Auth0::Types::CreateFlowsVaultConnectionBigquery } + member -> { Auth0::Types::CreateFlowsVaultConnectionClearbit } + member -> { Auth0::Types::CreateFlowsVaultConnectionDocusign } + member -> { Auth0::Types::CreateFlowsVaultConnectionGoogleSheets } + member -> { Auth0::Types::CreateFlowsVaultConnectionHTTP } + member -> { Auth0::Types::CreateFlowsVaultConnectionHubspot } + member -> { Auth0::Types::CreateFlowsVaultConnectionJwt } + member -> { Auth0::Types::CreateFlowsVaultConnectionMailchimp } + member -> { Auth0::Types::CreateFlowsVaultConnectionMailjet } + member -> { Auth0::Types::CreateFlowsVaultConnectionPipedrive } + member -> { Auth0::Types::CreateFlowsVaultConnectionSalesforce } + member -> { Auth0::Types::CreateFlowsVaultConnectionSendgrid } + member -> { Auth0::Types::CreateFlowsVaultConnectionSlack } + member -> { Auth0::Types::CreateFlowsVaultConnectionStripe } + member -> { Auth0::Types::CreateFlowsVaultConnectionTelegram } + member -> { Auth0::Types::CreateFlowsVaultConnectionTwilio } + member -> { Auth0::Types::CreateFlowsVaultConnectionWhatsapp } + member -> { Auth0::Types::CreateFlowsVaultConnectionZapier } end end diff --git a/lib/auth0/types/create_flows_vault_connection_response_content.rb b/lib/auth0/types/create_flows_vault_connection_response_content.rb index f559dc39..1aa06d69 100644 --- a/lib/auth0/types/create_flows_vault_connection_response_content.rb +++ b/lib/auth0/types/create_flows_vault_connection_response_content.rb @@ -4,14 +4,23 @@ module Auth0 module Types class CreateFlowsVaultConnectionResponseContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :app_id, -> { String }, optional: false, nullable: false + field :environment, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: false, nullable: false + field :account_name, -> { String }, optional: true, nullable: false + field :ready, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :updated_at, -> { String }, optional: false, nullable: false + field :refreshed_at, -> { String }, optional: true, nullable: false + field :fingerprint, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_salesforce.rb b/lib/auth0/types/create_flows_vault_connection_salesforce.rb index e57b93dc..d9db7e74 100644 --- a/lib/auth0/types/create_flows_vault_connection_salesforce.rb +++ b/lib/auth0/types/create_flows_vault_connection_salesforce.rb @@ -6,6 +6,7 @@ class CreateFlowsVaultConnectionSalesforce < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::CreateFlowsVaultConnectionSalesforceOauthCode } + member -> { Auth0::Types::CreateFlowsVaultConnectionSalesforceUninitialized } end end diff --git a/lib/auth0/types/create_flows_vault_connection_salesforce_oauth_code.rb b/lib/auth0/types/create_flows_vault_connection_salesforce_oauth_code.rb index f5dc6652..78a32304 100644 --- a/lib/auth0/types/create_flows_vault_connection_salesforce_oauth_code.rb +++ b/lib/auth0/types/create_flows_vault_connection_salesforce_oauth_code.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionSalesforceOauthCode < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDSalesforceEnum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectioSetupOauthCode }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_salesforce_uninitialized.rb b/lib/auth0/types/create_flows_vault_connection_salesforce_uninitialized.rb index 2095bb10..984ce530 100644 --- a/lib/auth0/types/create_flows_vault_connection_salesforce_uninitialized.rb +++ b/lib/auth0/types/create_flows_vault_connection_salesforce_uninitialized.rb @@ -4,6 +4,7 @@ module Auth0 module Types class CreateFlowsVaultConnectionSalesforceUninitialized < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDSalesforceEnum }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_sendgrid.rb b/lib/auth0/types/create_flows_vault_connection_sendgrid.rb index a555ea59..53b43646 100644 --- a/lib/auth0/types/create_flows_vault_connection_sendgrid.rb +++ b/lib/auth0/types/create_flows_vault_connection_sendgrid.rb @@ -6,6 +6,7 @@ class CreateFlowsVaultConnectionSendgrid < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::CreateFlowsVaultConnectionSendgridAPIKey } + member -> { Auth0::Types::CreateFlowsVaultConnectionSendgridUninitialized } end end diff --git a/lib/auth0/types/create_flows_vault_connection_sendgrid_api_key.rb b/lib/auth0/types/create_flows_vault_connection_sendgrid_api_key.rb index 3315249a..94adf498 100644 --- a/lib/auth0/types/create_flows_vault_connection_sendgrid_api_key.rb +++ b/lib/auth0/types/create_flows_vault_connection_sendgrid_api_key.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionSendgridAPIKey < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDSendgridEnum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectioSetupAPIKey }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_sendgrid_uninitialized.rb b/lib/auth0/types/create_flows_vault_connection_sendgrid_uninitialized.rb index 14e6ac4b..59562ee8 100644 --- a/lib/auth0/types/create_flows_vault_connection_sendgrid_uninitialized.rb +++ b/lib/auth0/types/create_flows_vault_connection_sendgrid_uninitialized.rb @@ -4,6 +4,7 @@ module Auth0 module Types class CreateFlowsVaultConnectionSendgridUninitialized < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDSendgridEnum }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_slack.rb b/lib/auth0/types/create_flows_vault_connection_slack.rb index 0bcb3742..67832ab6 100644 --- a/lib/auth0/types/create_flows_vault_connection_slack.rb +++ b/lib/auth0/types/create_flows_vault_connection_slack.rb @@ -6,7 +6,9 @@ class CreateFlowsVaultConnectionSlack < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::CreateFlowsVaultConnectionSlackWebhook } + member -> { Auth0::Types::CreateFlowsVaultConnectionSlackOauthCode } + member -> { Auth0::Types::CreateFlowsVaultConnectionSlackUninitialized } end end diff --git a/lib/auth0/types/create_flows_vault_connection_slack_oauth_code.rb b/lib/auth0/types/create_flows_vault_connection_slack_oauth_code.rb index 9b3ffdce..463c3a46 100644 --- a/lib/auth0/types/create_flows_vault_connection_slack_oauth_code.rb +++ b/lib/auth0/types/create_flows_vault_connection_slack_oauth_code.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionSlackOauthCode < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDSlackEnum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectioSetupOauthCode }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_slack_uninitialized.rb b/lib/auth0/types/create_flows_vault_connection_slack_uninitialized.rb index 400331a9..b14e4c1d 100644 --- a/lib/auth0/types/create_flows_vault_connection_slack_uninitialized.rb +++ b/lib/auth0/types/create_flows_vault_connection_slack_uninitialized.rb @@ -4,6 +4,7 @@ module Auth0 module Types class CreateFlowsVaultConnectionSlackUninitialized < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDSlackEnum }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_slack_webhook.rb b/lib/auth0/types/create_flows_vault_connection_slack_webhook.rb index c1e36a2d..98db8b29 100644 --- a/lib/auth0/types/create_flows_vault_connection_slack_webhook.rb +++ b/lib/auth0/types/create_flows_vault_connection_slack_webhook.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionSlackWebhook < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDSlackEnum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectioSetupWebhook }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_stripe.rb b/lib/auth0/types/create_flows_vault_connection_stripe.rb index 336bb7e6..d1b82954 100644 --- a/lib/auth0/types/create_flows_vault_connection_stripe.rb +++ b/lib/auth0/types/create_flows_vault_connection_stripe.rb @@ -6,7 +6,9 @@ class CreateFlowsVaultConnectionStripe < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::CreateFlowsVaultConnectionStripeKeyPair } + member -> { Auth0::Types::CreateFlowsVaultConnectionStripeOauthCode } + member -> { Auth0::Types::CreateFlowsVaultConnectionStripeUninitialized } end end diff --git a/lib/auth0/types/create_flows_vault_connection_stripe_key_pair.rb b/lib/auth0/types/create_flows_vault_connection_stripe_key_pair.rb index 2c258478..49ae7f7e 100644 --- a/lib/auth0/types/create_flows_vault_connection_stripe_key_pair.rb +++ b/lib/auth0/types/create_flows_vault_connection_stripe_key_pair.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionStripeKeyPair < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDStripeEnum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectioSetupStripeKeyPair }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_stripe_oauth_code.rb b/lib/auth0/types/create_flows_vault_connection_stripe_oauth_code.rb index a4e28965..e91d2ce7 100644 --- a/lib/auth0/types/create_flows_vault_connection_stripe_oauth_code.rb +++ b/lib/auth0/types/create_flows_vault_connection_stripe_oauth_code.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionStripeOauthCode < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDStripeEnum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectioSetupOauthCode }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_stripe_uninitialized.rb b/lib/auth0/types/create_flows_vault_connection_stripe_uninitialized.rb index 510fb6c5..fdbe8090 100644 --- a/lib/auth0/types/create_flows_vault_connection_stripe_uninitialized.rb +++ b/lib/auth0/types/create_flows_vault_connection_stripe_uninitialized.rb @@ -4,6 +4,7 @@ module Auth0 module Types class CreateFlowsVaultConnectionStripeUninitialized < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDStripeEnum }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_telegram.rb b/lib/auth0/types/create_flows_vault_connection_telegram.rb index cf417eff..418799fe 100644 --- a/lib/auth0/types/create_flows_vault_connection_telegram.rb +++ b/lib/auth0/types/create_flows_vault_connection_telegram.rb @@ -6,6 +6,7 @@ class CreateFlowsVaultConnectionTelegram < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::CreateFlowsVaultConnectionTelegramToken } + member -> { Auth0::Types::CreateFlowsVaultConnectionTelegramUninitialized } end end diff --git a/lib/auth0/types/create_flows_vault_connection_telegram_token.rb b/lib/auth0/types/create_flows_vault_connection_telegram_token.rb index b7ad0290..3a909f51 100644 --- a/lib/auth0/types/create_flows_vault_connection_telegram_token.rb +++ b/lib/auth0/types/create_flows_vault_connection_telegram_token.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionTelegramToken < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDTelegramEnum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectioSetupToken }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_telegram_uninitialized.rb b/lib/auth0/types/create_flows_vault_connection_telegram_uninitialized.rb index 8e5c3a45..b7adb44f 100644 --- a/lib/auth0/types/create_flows_vault_connection_telegram_uninitialized.rb +++ b/lib/auth0/types/create_flows_vault_connection_telegram_uninitialized.rb @@ -4,6 +4,7 @@ module Auth0 module Types class CreateFlowsVaultConnectionTelegramUninitialized < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDTelegramEnum }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_twilio.rb b/lib/auth0/types/create_flows_vault_connection_twilio.rb index df2cedf8..540e98b2 100644 --- a/lib/auth0/types/create_flows_vault_connection_twilio.rb +++ b/lib/auth0/types/create_flows_vault_connection_twilio.rb @@ -6,6 +6,7 @@ class CreateFlowsVaultConnectionTwilio < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::CreateFlowsVaultConnectionTwilioAPIKey } + member -> { Auth0::Types::CreateFlowsVaultConnectionTwilioUninitialized } end end diff --git a/lib/auth0/types/create_flows_vault_connection_twilio_api_key.rb b/lib/auth0/types/create_flows_vault_connection_twilio_api_key.rb index e809ac87..b2772c19 100644 --- a/lib/auth0/types/create_flows_vault_connection_twilio_api_key.rb +++ b/lib/auth0/types/create_flows_vault_connection_twilio_api_key.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionTwilioAPIKey < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDTwilioEnum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectioSetupTwilioAPIKey }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_twilio_uninitialized.rb b/lib/auth0/types/create_flows_vault_connection_twilio_uninitialized.rb index 2504dfff..a7b334b7 100644 --- a/lib/auth0/types/create_flows_vault_connection_twilio_uninitialized.rb +++ b/lib/auth0/types/create_flows_vault_connection_twilio_uninitialized.rb @@ -4,6 +4,7 @@ module Auth0 module Types class CreateFlowsVaultConnectionTwilioUninitialized < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDTwilioEnum }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_whatsapp.rb b/lib/auth0/types/create_flows_vault_connection_whatsapp.rb index 35ed87b7..2ecec109 100644 --- a/lib/auth0/types/create_flows_vault_connection_whatsapp.rb +++ b/lib/auth0/types/create_flows_vault_connection_whatsapp.rb @@ -6,6 +6,7 @@ class CreateFlowsVaultConnectionWhatsapp < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::CreateFlowsVaultConnectionWhatsappToken } + member -> { Auth0::Types::CreateFlowsVaultConnectionWhatsappUninitialized } end end diff --git a/lib/auth0/types/create_flows_vault_connection_whatsapp_token.rb b/lib/auth0/types/create_flows_vault_connection_whatsapp_token.rb index c694ce9b..499afcd4 100644 --- a/lib/auth0/types/create_flows_vault_connection_whatsapp_token.rb +++ b/lib/auth0/types/create_flows_vault_connection_whatsapp_token.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionWhatsappToken < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDWhatsappEnum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectioSetupToken }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_whatsapp_uninitialized.rb b/lib/auth0/types/create_flows_vault_connection_whatsapp_uninitialized.rb index 6f5d711d..c06dc6c4 100644 --- a/lib/auth0/types/create_flows_vault_connection_whatsapp_uninitialized.rb +++ b/lib/auth0/types/create_flows_vault_connection_whatsapp_uninitialized.rb @@ -4,6 +4,7 @@ module Auth0 module Types class CreateFlowsVaultConnectionWhatsappUninitialized < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDWhatsappEnum }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_zapier.rb b/lib/auth0/types/create_flows_vault_connection_zapier.rb index 6b04add9..8f0f6b24 100644 --- a/lib/auth0/types/create_flows_vault_connection_zapier.rb +++ b/lib/auth0/types/create_flows_vault_connection_zapier.rb @@ -6,6 +6,7 @@ class CreateFlowsVaultConnectionZapier < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::CreateFlowsVaultConnectionZapierWebhook } + member -> { Auth0::Types::CreateFlowsVaultConnectionZapierUninitialized } end end diff --git a/lib/auth0/types/create_flows_vault_connection_zapier_uninitialized.rb b/lib/auth0/types/create_flows_vault_connection_zapier_uninitialized.rb index 4c3559b3..dd3379a3 100644 --- a/lib/auth0/types/create_flows_vault_connection_zapier_uninitialized.rb +++ b/lib/auth0/types/create_flows_vault_connection_zapier_uninitialized.rb @@ -4,6 +4,7 @@ module Auth0 module Types class CreateFlowsVaultConnectionZapierUninitialized < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDZapierEnum }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_flows_vault_connection_zapier_webhook.rb b/lib/auth0/types/create_flows_vault_connection_zapier_webhook.rb index 4aefcc28..3687837a 100644 --- a/lib/auth0/types/create_flows_vault_connection_zapier_webhook.rb +++ b/lib/auth0/types/create_flows_vault_connection_zapier_webhook.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateFlowsVaultConnectionZapierWebhook < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :app_id, -> { Auth0::Types::FlowsVaultConnectionAppIDZapierEnum }, optional: false, nullable: false + field :setup, -> { Auth0::Types::FlowsVaultConnectioSetupWebhook }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_form_response_content.rb b/lib/auth0/types/create_form_response_content.rb index 6b28b617..1adfca25 100644 --- a/lib/auth0/types/create_form_response_content.rb +++ b/lib/auth0/types/create_form_response_content.rb @@ -4,17 +4,29 @@ module Auth0 module Types class CreateFormResponseContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: false, nullable: false + field :messages, -> { Auth0::Types::FormMessages }, optional: true, nullable: false + field :languages, -> { Auth0::Types::FormLanguages }, optional: true, nullable: false + field :translations, -> { Internal::Types::Hash[String, Internal::Types::Hash[String, Object]] }, optional: true, nullable: false + field :nodes, -> { Internal::Types::Array[Auth0::Types::FormNode] }, optional: true, nullable: false + field :start, -> { Auth0::Types::FormStartNode }, optional: true, nullable: false + field :ending, -> { Auth0::Types::FormEndingNode }, optional: true, nullable: false + field :style, -> { Auth0::Types::FormStyle }, optional: true, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :updated_at, -> { String }, optional: false, nullable: false + field :embedded_at, -> { String }, optional: true, nullable: false + field :submitted_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_guardian_enrollment_ticket_response_content.rb b/lib/auth0/types/create_guardian_enrollment_ticket_response_content.rb index 760179bb..6eb0380d 100644 --- a/lib/auth0/types/create_guardian_enrollment_ticket_response_content.rb +++ b/lib/auth0/types/create_guardian_enrollment_ticket_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class CreateGuardianEnrollmentTicketResponseContent < Internal::Types::Model field :ticket_id, -> { String }, optional: true, nullable: false + field :ticket_url, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_hook_response_content.rb b/lib/auth0/types/create_hook_response_content.rb index 8c2cb805..5a8bfcf1 100644 --- a/lib/auth0/types/create_hook_response_content.rb +++ b/lib/auth0/types/create_hook_response_content.rb @@ -4,10 +4,15 @@ module Auth0 module Types class CreateHookResponseContent < Internal::Types::Model field :trigger_id, -> { String }, optional: true, nullable: false, api_name: "triggerId" + field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :script, -> { String }, optional: true, nullable: false + field :dependencies, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_import_users_response_content.rb b/lib/auth0/types/create_import_users_response_content.rb index 75374f06..38676394 100644 --- a/lib/auth0/types/create_import_users_response_content.rb +++ b/lib/auth0/types/create_import_users_response_content.rb @@ -4,10 +4,15 @@ module Auth0 module Types class CreateImportUsersResponseContent < Internal::Types::Model field :status, -> { String }, optional: false, nullable: false + field :type, -> { String }, optional: false, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false + field :connection_id, -> { String }, optional: false, nullable: false + field :external_id, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_log_stream_datadog_request_body.rb b/lib/auth0/types/create_log_stream_datadog_request_body.rb index 09c392be..9529f717 100644 --- a/lib/auth0/types/create_log_stream_datadog_request_body.rb +++ b/lib/auth0/types/create_log_stream_datadog_request_body.rb @@ -4,11 +4,17 @@ module Auth0 module Types class CreateLogStreamDatadogRequestBody < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :type, -> { Auth0::Types::LogStreamDatadogEnum }, optional: false, nullable: false + field :is_priority, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isPriority" + field :filters, -> { Internal::Types::Array[Auth0::Types::LogStreamFilter] }, optional: true, nullable: false + field :pii_config, -> { Auth0::Types::LogStreamPiiConfig }, optional: true, nullable: false + field :sink, -> { Auth0::Types::LogStreamDatadogSink }, optional: false, nullable: false + field :start_from, -> { String }, optional: true, nullable: false, api_name: "startFrom" end end diff --git a/lib/auth0/types/create_log_stream_event_bridge_request_body.rb b/lib/auth0/types/create_log_stream_event_bridge_request_body.rb index 16138953..6409d55f 100644 --- a/lib/auth0/types/create_log_stream_event_bridge_request_body.rb +++ b/lib/auth0/types/create_log_stream_event_bridge_request_body.rb @@ -4,11 +4,17 @@ module Auth0 module Types class CreateLogStreamEventBridgeRequestBody < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :type, -> { Auth0::Types::LogStreamEventBridgeEnum }, optional: false, nullable: false + field :is_priority, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isPriority" + field :filters, -> { Internal::Types::Array[Auth0::Types::LogStreamFilter] }, optional: true, nullable: false + field :pii_config, -> { Auth0::Types::LogStreamPiiConfig }, optional: true, nullable: false + field :sink, -> { Auth0::Types::LogStreamEventBridgeSink }, optional: false, nullable: false + field :start_from, -> { String }, optional: true, nullable: false, api_name: "startFrom" end end diff --git a/lib/auth0/types/create_log_stream_event_grid_request_body.rb b/lib/auth0/types/create_log_stream_event_grid_request_body.rb index 9c960c8c..2949bc41 100644 --- a/lib/auth0/types/create_log_stream_event_grid_request_body.rb +++ b/lib/auth0/types/create_log_stream_event_grid_request_body.rb @@ -4,11 +4,17 @@ module Auth0 module Types class CreateLogStreamEventGridRequestBody < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :type, -> { Auth0::Types::LogStreamEventGridEnum }, optional: false, nullable: false + field :is_priority, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isPriority" + field :filters, -> { Internal::Types::Array[Auth0::Types::LogStreamFilter] }, optional: true, nullable: false + field :pii_config, -> { Auth0::Types::LogStreamPiiConfig }, optional: true, nullable: false + field :sink, -> { Auth0::Types::LogStreamEventGridSink }, optional: false, nullable: false + field :start_from, -> { String }, optional: true, nullable: false, api_name: "startFrom" end end diff --git a/lib/auth0/types/create_log_stream_http_request_body.rb b/lib/auth0/types/create_log_stream_http_request_body.rb index bfc3d8de..4779fd7d 100644 --- a/lib/auth0/types/create_log_stream_http_request_body.rb +++ b/lib/auth0/types/create_log_stream_http_request_body.rb @@ -4,11 +4,17 @@ module Auth0 module Types class CreateLogStreamHTTPRequestBody < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :type, -> { Auth0::Types::LogStreamHTTPEnum }, optional: false, nullable: false + field :is_priority, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isPriority" + field :filters, -> { Internal::Types::Array[Auth0::Types::LogStreamFilter] }, optional: true, nullable: false + field :pii_config, -> { Auth0::Types::LogStreamPiiConfig }, optional: true, nullable: false + field :sink, -> { Auth0::Types::LogStreamHTTPSink }, optional: false, nullable: false + field :start_from, -> { String }, optional: true, nullable: false, api_name: "startFrom" end end diff --git a/lib/auth0/types/create_log_stream_mixpanel_request_body.rb b/lib/auth0/types/create_log_stream_mixpanel_request_body.rb index 16a4b8ff..9d4a5105 100644 --- a/lib/auth0/types/create_log_stream_mixpanel_request_body.rb +++ b/lib/auth0/types/create_log_stream_mixpanel_request_body.rb @@ -4,11 +4,17 @@ module Auth0 module Types class CreateLogStreamMixpanelRequestBody < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :type, -> { Auth0::Types::LogStreamMixpanelEnum }, optional: false, nullable: false + field :is_priority, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isPriority" + field :filters, -> { Internal::Types::Array[Auth0::Types::LogStreamFilter] }, optional: true, nullable: false + field :pii_config, -> { Auth0::Types::LogStreamPiiConfig }, optional: true, nullable: false + field :sink, -> { Auth0::Types::LogStreamMixpanelSink }, optional: false, nullable: false + field :start_from, -> { String }, optional: true, nullable: false, api_name: "startFrom" end end diff --git a/lib/auth0/types/create_log_stream_request_content.rb b/lib/auth0/types/create_log_stream_request_content.rb index e5a5dd5a..b2dc4195 100644 --- a/lib/auth0/types/create_log_stream_request_content.rb +++ b/lib/auth0/types/create_log_stream_request_content.rb @@ -6,12 +6,19 @@ class CreateLogStreamRequestContent < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::CreateLogStreamHTTPRequestBody } + member -> { Auth0::Types::CreateLogStreamEventBridgeRequestBody } + member -> { Auth0::Types::CreateLogStreamEventGridRequestBody } + member -> { Auth0::Types::CreateLogStreamDatadogRequestBody } + member -> { Auth0::Types::CreateLogStreamSplunkRequestBody } + member -> { Auth0::Types::CreateLogStreamSumoRequestBody } + member -> { Auth0::Types::CreateLogStreamSegmentRequestBody } + member -> { Auth0::Types::CreateLogStreamMixpanelRequestBody } end end diff --git a/lib/auth0/types/create_log_stream_response_content.rb b/lib/auth0/types/create_log_stream_response_content.rb index 2bbbd5a4..73d1cb99 100644 --- a/lib/auth0/types/create_log_stream_response_content.rb +++ b/lib/auth0/types/create_log_stream_response_content.rb @@ -6,12 +6,19 @@ class CreateLogStreamResponseContent < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::LogStreamHTTPResponseSchema } + member -> { Auth0::Types::LogStreamEventBridgeResponseSchema } + member -> { Auth0::Types::LogStreamEventGridResponseSchema } + member -> { Auth0::Types::LogStreamDatadogResponseSchema } + member -> { Auth0::Types::LogStreamSplunkResponseSchema } + member -> { Auth0::Types::LogStreamSumoResponseSchema } + member -> { Auth0::Types::LogStreamSegmentResponseSchema } + member -> { Auth0::Types::LogStreamMixpanelResponseSchema } end end diff --git a/lib/auth0/types/create_log_stream_segment_request_body.rb b/lib/auth0/types/create_log_stream_segment_request_body.rb index 166e2fb2..34b1bc82 100644 --- a/lib/auth0/types/create_log_stream_segment_request_body.rb +++ b/lib/auth0/types/create_log_stream_segment_request_body.rb @@ -4,11 +4,17 @@ module Auth0 module Types class CreateLogStreamSegmentRequestBody < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :type, -> { Auth0::Types::LogStreamSegmentEnum }, optional: false, nullable: false + field :is_priority, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isPriority" + field :filters, -> { Internal::Types::Array[Auth0::Types::LogStreamFilter] }, optional: true, nullable: false + field :pii_config, -> { Auth0::Types::LogStreamPiiConfig }, optional: true, nullable: false + field :sink, -> { Auth0::Types::LogStreamSegmentSinkWriteKey }, optional: false, nullable: false + field :start_from, -> { String }, optional: true, nullable: false, api_name: "startFrom" end end diff --git a/lib/auth0/types/create_log_stream_splunk_request_body.rb b/lib/auth0/types/create_log_stream_splunk_request_body.rb index 94a875de..3e157a22 100644 --- a/lib/auth0/types/create_log_stream_splunk_request_body.rb +++ b/lib/auth0/types/create_log_stream_splunk_request_body.rb @@ -4,11 +4,17 @@ module Auth0 module Types class CreateLogStreamSplunkRequestBody < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :type, -> { Auth0::Types::LogStreamSplunkEnum }, optional: false, nullable: false + field :is_priority, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isPriority" + field :filters, -> { Internal::Types::Array[Auth0::Types::LogStreamFilter] }, optional: true, nullable: false + field :pii_config, -> { Auth0::Types::LogStreamPiiConfig }, optional: true, nullable: false + field :sink, -> { Auth0::Types::LogStreamSplunkSink }, optional: false, nullable: false + field :start_from, -> { String }, optional: true, nullable: false, api_name: "startFrom" end end diff --git a/lib/auth0/types/create_log_stream_sumo_request_body.rb b/lib/auth0/types/create_log_stream_sumo_request_body.rb index 56e1e9ee..8a9f5329 100644 --- a/lib/auth0/types/create_log_stream_sumo_request_body.rb +++ b/lib/auth0/types/create_log_stream_sumo_request_body.rb @@ -4,11 +4,17 @@ module Auth0 module Types class CreateLogStreamSumoRequestBody < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :type, -> { Auth0::Types::LogStreamSumoEnum }, optional: false, nullable: false + field :is_priority, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isPriority" + field :filters, -> { Internal::Types::Array[Auth0::Types::LogStreamFilter] }, optional: true, nullable: false + field :pii_config, -> { Auth0::Types::LogStreamPiiConfig }, optional: true, nullable: false + field :sink, -> { Auth0::Types::LogStreamSumoSink }, optional: false, nullable: false + field :start_from, -> { String }, optional: true, nullable: false, api_name: "startFrom" end end diff --git a/lib/auth0/types/create_organization_all_connection_response_content.rb b/lib/auth0/types/create_organization_all_connection_response_content.rb index 558d9eb7..d856bc54 100644 --- a/lib/auth0/types/create_organization_all_connection_response_content.rb +++ b/lib/auth0/types/create_organization_all_connection_response_content.rb @@ -4,12 +4,19 @@ module Auth0 module Types class CreateOrganizationAllConnectionResponseContent < Internal::Types::Model field :organization_connection_name, -> { String }, optional: true, nullable: false + field :assign_membership_on_login, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :is_signup_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :organization_access_level, -> { Auth0::Types::OrganizationAccessLevelEnum }, optional: true, nullable: false + field :is_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :connection_id, -> { String }, optional: false, nullable: false + field :connection, -> { Auth0::Types::OrganizationConnectionInformation }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_organization_discovery_domain_response_content.rb b/lib/auth0/types/create_organization_discovery_domain_response_content.rb index a7352330..f31f8d62 100644 --- a/lib/auth0/types/create_organization_discovery_domain_response_content.rb +++ b/lib/auth0/types/create_organization_discovery_domain_response_content.rb @@ -4,10 +4,15 @@ module Auth0 module Types class CreateOrganizationDiscoveryDomainResponseContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :domain, -> { String }, optional: false, nullable: false + field :status, -> { Auth0::Types::OrganizationDiscoveryDomainStatus }, optional: false, nullable: false + field :use_for_organization_discovery, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :verification_txt, -> { String }, optional: false, nullable: false + field :verification_host, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_organization_invitation_response_content.rb b/lib/auth0/types/create_organization_invitation_response_content.rb index 70157543..b99406cf 100644 --- a/lib/auth0/types/create_organization_invitation_response_content.rb +++ b/lib/auth0/types/create_organization_invitation_response_content.rb @@ -4,17 +4,29 @@ module Auth0 module Types class CreateOrganizationInvitationResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :organization_id, -> { String }, optional: true, nullable: false + field :inviter, -> { Auth0::Types::OrganizationInvitationInviter }, optional: true, nullable: false + field :invitee, -> { Auth0::Types::OrganizationInvitationInvitee }, optional: true, nullable: false + field :invitation_url, -> { String }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :expires_at, -> { String }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false + field :connection_id, -> { String }, optional: true, nullable: false + field :app_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :user_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :roles, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :ticket_id, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_organization_response_content.rb b/lib/auth0/types/create_organization_response_content.rb index 93b41df5..56b42b8d 100644 --- a/lib/auth0/types/create_organization_response_content.rb +++ b/lib/auth0/types/create_organization_response_content.rb @@ -4,11 +4,17 @@ module Auth0 module Types class CreateOrganizationResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :display_name, -> { String }, optional: true, nullable: false + field :branding, -> { Auth0::Types::OrganizationBranding }, optional: true, nullable: false + field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false + field :token_quota, -> { Auth0::Types::TokenQuota }, optional: true, nullable: false + field :enabled_connections, -> { Internal::Types::Array[Auth0::Types::OrganizationEnabledConnection] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_phone_provider_send_test_response_content.rb b/lib/auth0/types/create_phone_provider_send_test_response_content.rb index af7bbe83..f14a0a89 100644 --- a/lib/auth0/types/create_phone_provider_send_test_response_content.rb +++ b/lib/auth0/types/create_phone_provider_send_test_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class CreatePhoneProviderSendTestResponseContent < Internal::Types::Model field :code, -> { Integer }, optional: true, nullable: false + field :message, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_phone_template_response_content.rb b/lib/auth0/types/create_phone_template_response_content.rb index cd696c89..79edc4a2 100644 --- a/lib/auth0/types/create_phone_template_response_content.rb +++ b/lib/auth0/types/create_phone_template_response_content.rb @@ -4,11 +4,17 @@ module Auth0 module Types class CreatePhoneTemplateResponseContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :channel, -> { String }, optional: true, nullable: false + field :customizable, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :tenant, -> { String }, optional: true, nullable: false + field :content, -> { Auth0::Types::PhoneTemplateContent }, optional: false, nullable: false + field :type, -> { Auth0::Types::PhoneTemplateNotificationTypeEnum }, optional: false, nullable: false + field :disabled, -> { Internal::Types::Boolean }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_rate_limit_policy_response_content.rb b/lib/auth0/types/create_rate_limit_policy_response_content.rb new file mode 100644 index 00000000..d58ce269 --- /dev/null +++ b/lib/auth0/types/create_rate_limit_policy_response_content.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class CreateRateLimitPolicyResponseContent < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :resource, -> { Auth0::Types::RateLimitPolicyResourceEnum }, optional: false, nullable: false + + field :consumer, -> { Auth0::Types::RateLimitPolicyConsumerEnum }, optional: false, nullable: false + + field :consumer_selector, -> { String }, optional: false, nullable: false + + field :configuration, -> { Auth0::Types::RateLimitPolicyConfiguration }, optional: false, nullable: false + + field :created_at, -> { String }, optional: true, nullable: false + + field :updated_at, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/create_resource_server_response_content.rb b/lib/auth0/types/create_resource_server_response_content.rb index a9080841..7a95e373 100644 --- a/lib/auth0/types/create_resource_server_response_content.rb +++ b/lib/auth0/types/create_resource_server_response_content.rb @@ -4,24 +4,47 @@ module Auth0 module Types class CreateResourceServerResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :is_system, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :identifier, -> { String }, optional: true, nullable: false + field :scopes, -> { Internal::Types::Array[Auth0::Types::ResourceServerScope] }, optional: true, nullable: false + field :signing_alg, -> { Auth0::Types::SigningAlgorithmEnum }, optional: true, nullable: false + field :signing_secret, -> { String }, optional: true, nullable: false + field :allow_offline_access, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :allow_online_access, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :allow_online_access_with_ephemeral_sessions, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :skip_consent_for_verifiable_first_party_clients, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :token_lifetime, -> { Integer }, optional: true, nullable: false + field :token_lifetime_for_web, -> { Integer }, optional: true, nullable: false + field :enforce_policies, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :token_dialect, -> { Auth0::Types::ResourceServerTokenDialectResponseEnum }, optional: true, nullable: false + field :token_encryption, -> { Auth0::Types::ResourceServerTokenEncryption }, optional: true, nullable: false + field :consent_policy, -> { Auth0::Types::ResourceServerConsentPolicyEnum }, optional: true, nullable: false + field :authorization_details, -> { Internal::Types::Array[Object] }, optional: true, nullable: false + field :proof_of_possession, -> { Auth0::Types::ResourceServerProofOfPossession }, optional: true, nullable: false + field :subject_type_authorization, -> { Auth0::Types::ResourceServerSubjectTypeAuthorization }, optional: true, nullable: false + + field :authorization_policy, -> { Auth0::Types::ResourceServerAuthorizationPolicy }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_role_response_content.rb b/lib/auth0/types/create_role_response_content.rb index 04eef390..5f8b81dd 100644 --- a/lib/auth0/types/create_role_response_content.rb +++ b/lib/auth0/types/create_role_response_content.rb @@ -4,7 +4,9 @@ module Auth0 module Types class CreateRoleResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_rule_response_content.rb b/lib/auth0/types/create_rule_response_content.rb index a1fc1b74..2cafc6ab 100644 --- a/lib/auth0/types/create_rule_response_content.rb +++ b/lib/auth0/types/create_rule_response_content.rb @@ -4,10 +4,15 @@ module Auth0 module Types class CreateRuleResponseContent < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :id, -> { String }, optional: true, nullable: false + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :script, -> { String }, optional: true, nullable: false + field :order, -> { Integer }, optional: true, nullable: false + field :stage, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_scim_configuration_request_content.rb b/lib/auth0/types/create_scim_configuration_request_content.rb index 2a0f8624..bb22a7e3 100644 --- a/lib/auth0/types/create_scim_configuration_request_content.rb +++ b/lib/auth0/types/create_scim_configuration_request_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class CreateSCIMConfigurationRequestContent < Internal::Types::Model field :user_id_attribute, -> { String }, optional: true, nullable: false + field :mapping, -> { Internal::Types::Array[Auth0::Types::SCIMMappingItem] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_scim_configuration_response_content.rb b/lib/auth0/types/create_scim_configuration_response_content.rb index a109f7b5..6084ef16 100644 --- a/lib/auth0/types/create_scim_configuration_response_content.rb +++ b/lib/auth0/types/create_scim_configuration_response_content.rb @@ -4,12 +4,19 @@ module Auth0 module Types class CreateSCIMConfigurationResponseContent < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :connection_name, -> { String }, optional: false, nullable: false + field :strategy, -> { String }, optional: false, nullable: false + field :tenant_name, -> { String }, optional: false, nullable: false + field :user_id_attribute, -> { String }, optional: false, nullable: false + field :mapping, -> { Internal::Types::Array[Auth0::Types::SCIMMappingItem] }, optional: false, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :updated_on, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/create_scim_token_response_content.rb b/lib/auth0/types/create_scim_token_response_content.rb index ef543ac8..fbf3394a 100644 --- a/lib/auth0/types/create_scim_token_response_content.rb +++ b/lib/auth0/types/create_scim_token_response_content.rb @@ -4,9 +4,13 @@ module Auth0 module Types class CreateSCIMTokenResponseContent < Internal::Types::Model field :token_id, -> { String }, optional: true, nullable: false + field :token, -> { String }, optional: true, nullable: false + field :scopes, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :valid_until, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_self_service_profile_response_content.rb b/lib/auth0/types/create_self_service_profile_response_content.rb index ea4e6be8..7043177c 100644 --- a/lib/auth0/types/create_self_service_profile_response_content.rb +++ b/lib/auth0/types/create_self_service_profile_response_content.rb @@ -4,13 +4,21 @@ module Auth0 module Types class CreateSelfServiceProfileResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false + field :user_attributes, -> { Internal::Types::Array[Auth0::Types::SelfServiceProfileUserAttribute] }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false + field :branding, -> { Auth0::Types::SelfServiceProfileBrandingProperties }, optional: true, nullable: false + field :allowed_strategies, -> { Internal::Types::Array[Auth0::Types::SelfServiceProfileAllowedStrategyEnum] }, optional: true, nullable: false + field :user_attribute_profile_id, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_token_exchange_profile_response_content.rb b/lib/auth0/types/create_token_exchange_profile_response_content.rb index 71d1dfb2..846d0daf 100644 --- a/lib/auth0/types/create_token_exchange_profile_response_content.rb +++ b/lib/auth0/types/create_token_exchange_profile_response_content.rb @@ -4,11 +4,17 @@ module Auth0 module Types class CreateTokenExchangeProfileResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :subject_token_type, -> { String }, optional: true, nullable: false + field :action_id, -> { String }, optional: true, nullable: false + field :type, -> { Auth0::Types::TokenExchangeProfileTypeEnum }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_user_attribute_profile_response_content.rb b/lib/auth0/types/create_user_attribute_profile_response_content.rb index f0deb390..c91f355a 100644 --- a/lib/auth0/types/create_user_attribute_profile_response_content.rb +++ b/lib/auth0/types/create_user_attribute_profile_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class CreateUserAttributeProfileResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :user_id, -> { Auth0::Types::UserAttributeProfileUserID }, optional: true, nullable: false + field :user_attributes, -> { Internal::Types::Hash[String, Auth0::Types::UserAttributeProfileUserAttributeAdditionalProperties] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_user_authentication_method_response_content.rb b/lib/auth0/types/create_user_authentication_method_response_content.rb index 699f2edc..68e83215 100644 --- a/lib/auth0/types/create_user_authentication_method_response_content.rb +++ b/lib/auth0/types/create_user_authentication_method_response_content.rb @@ -5,17 +5,41 @@ module Types # The successfully created authentication method. class CreateUserAuthenticationMethodResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :type, -> { Auth0::Types::CreatedUserAuthenticationMethodTypeEnum }, optional: false, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :totp_secret, -> { String }, optional: true, nullable: false + field :phone_number, -> { String }, optional: true, nullable: false + field :email, -> { String }, optional: true, nullable: false + field :authentication_methods, -> { Internal::Types::Array[Auth0::Types::UserAuthenticationMethodProperties] }, optional: true, nullable: false + field :preferred_authentication_method, -> { Auth0::Types::PreferredAuthenticationMethodEnum }, optional: true, nullable: false + field :key_id, -> { String }, optional: true, nullable: false + field :public_key, -> { String }, optional: true, nullable: false + field :aaguid, -> { String }, optional: true, nullable: false + field :relying_party_identifier, -> { String }, optional: true, nullable: false + + field :credential_device_type, -> { Auth0::Types::CredentialDeviceTypeEnum }, optional: true, nullable: false + + field :credential_backed_up, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :identity_user_id, -> { String }, optional: true, nullable: false + + field :user_agent, -> { String }, optional: true, nullable: false + + field :user_handle, -> { String }, optional: true, nullable: false + + field :transports, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_user_response_content.rb b/lib/auth0/types/create_user_response_content.rb index 43e3c7c0..7d59085c 100644 --- a/lib/auth0/types/create_user_response_content.rb +++ b/lib/auth0/types/create_user_response_content.rb @@ -4,25 +4,49 @@ module Auth0 module Types class CreateUserResponseContent < Internal::Types::Model field :user_id, -> { String }, optional: true, nullable: false + field :email, -> { String }, optional: true, nullable: false + field :email_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :username, -> { String }, optional: true, nullable: false + field :phone_number, -> { String }, optional: true, nullable: false + field :phone_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :created_at, -> { Auth0::Types::UserDateSchema }, optional: true, nullable: false + field :updated_at, -> { Auth0::Types::UserDateSchema }, optional: true, nullable: false + field :identities, -> { Internal::Types::Array[Auth0::Types::UserIdentitySchema] }, optional: true, nullable: false + field :app_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :user_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :picture, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :nickname, -> { String }, optional: true, nullable: false + field :multifactor, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :multifactor_last_modified, -> { Auth0::Types::UserDateSchema }, optional: true, nullable: false + field :last_ip, -> { String }, optional: true, nullable: false + field :last_login, -> { Auth0::Types::UserDateSchema }, optional: true, nullable: false + + field :last_password_reset, -> { Auth0::Types::UserDateSchema }, optional: true, nullable: false + field :logins_count, -> { Integer }, optional: true, nullable: false + field :blocked, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :given_name, -> { String }, optional: true, nullable: false + field :family_name, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_verifiable_credential_template_response_content.rb b/lib/auth0/types/create_verifiable_credential_template_response_content.rb index 4704c22a..9c593d90 100644 --- a/lib/auth0/types/create_verifiable_credential_template_response_content.rb +++ b/lib/auth0/types/create_verifiable_credential_template_response_content.rb @@ -4,13 +4,21 @@ module Auth0 module Types class CreateVerifiableCredentialTemplateResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :type, -> { String }, optional: true, nullable: false + field :dialect, -> { String }, optional: true, nullable: false + field :presentation, -> { Auth0::Types::MdlPresentationRequest }, optional: true, nullable: false + field :custom_certificate_authority, -> { String }, optional: true, nullable: false + field :well_known_trusted_issuers, -> { String }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/create_verification_email_response_content.rb b/lib/auth0/types/create_verification_email_response_content.rb index 67114a85..c2d149f9 100644 --- a/lib/auth0/types/create_verification_email_response_content.rb +++ b/lib/auth0/types/create_verification_email_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class CreateVerificationEmailResponseContent < Internal::Types::Model field :status, -> { String }, optional: false, nullable: false + field :type, -> { String }, optional: false, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :id, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/credential_device_type_enum.rb b/lib/auth0/types/credential_device_type_enum.rb new file mode 100644 index 00000000..4c51473b --- /dev/null +++ b/lib/auth0/types/credential_device_type_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module CredentialDeviceTypeEnum + extend Auth0::Internal::Types::Enum + + SINGLE_DEVICE = "single_device" + MULTI_DEVICE = "multi_device" + end + end +end diff --git a/lib/auth0/types/custom_domain.rb b/lib/auth0/types/custom_domain.rb index 0a6e7c8a..d79efb18 100644 --- a/lib/auth0/types/custom_domain.rb +++ b/lib/auth0/types/custom_domain.rb @@ -4,17 +4,29 @@ module Auth0 module Types class CustomDomain < Internal::Types::Model field :custom_domain_id, -> { String }, optional: false, nullable: false + field :domain, -> { String }, optional: false, nullable: false + field :primary, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :is_default, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :status, -> { Auth0::Types::CustomDomainStatusFilterEnum }, optional: false, nullable: false + field :type, -> { Auth0::Types::CustomDomainTypeEnum }, optional: false, nullable: false + field :origin_domain_name, -> { String }, optional: true, nullable: false + field :verification, -> { Auth0::Types::DomainVerification }, optional: true, nullable: false + field :custom_client_ip_header, -> { String }, optional: true, nullable: false + field :tls_policy, -> { String }, optional: true, nullable: false + field :domain_metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false + field :certificate, -> { Auth0::Types::DomainCertificate }, optional: true, nullable: false + field :relying_party_identifier, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/custom_signing_key_jwk.rb b/lib/auth0/types/custom_signing_key_jwk.rb index 1eab103d..a8136b4c 100644 --- a/lib/auth0/types/custom_signing_key_jwk.rb +++ b/lib/auth0/types/custom_signing_key_jwk.rb @@ -5,18 +5,31 @@ module Types # JWK representing a custom public signing key. class CustomSigningKeyJwk < Internal::Types::Model field :kty, -> { Auth0::Types::CustomSigningKeyTypeEnum }, optional: false, nullable: false + field :kid, -> { String }, optional: true, nullable: false + field :use, -> { Auth0::Types::CustomSigningKeyUseEnum }, optional: true, nullable: false + field :key_ops, -> { Internal::Types::Array[Auth0::Types::CustomSigningKeyOperationEnum] }, optional: true, nullable: false + field :alg, -> { Auth0::Types::CustomSigningKeyAlgorithmEnum }, optional: true, nullable: false + field :n, -> { String }, optional: true, nullable: false + field :e, -> { String }, optional: true, nullable: false + field :crv, -> { Auth0::Types::CustomSigningKeyCurveEnum }, optional: true, nullable: false + field :x, -> { String }, optional: true, nullable: false + field :y, -> { String }, optional: true, nullable: false + field :x5u, -> { String }, optional: true, nullable: false + field :x5c, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :x5t, -> { String }, optional: true, nullable: false + field :x5t_s256, -> { String }, optional: true, nullable: false, api_name: "x5t#S256" end end diff --git a/lib/auth0/types/daily_stats.rb b/lib/auth0/types/daily_stats.rb index f27d7e44..b55ff9db 100644 --- a/lib/auth0/types/daily_stats.rb +++ b/lib/auth0/types/daily_stats.rb @@ -4,10 +4,15 @@ module Auth0 module Types class DailyStats < Internal::Types::Model field :date, -> { String }, optional: true, nullable: false + field :logins, -> { Integer }, optional: true, nullable: false + field :signups, -> { Integer }, optional: true, nullable: false + field :leaked_passwords, -> { Integer }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/default_token_quota.rb b/lib/auth0/types/default_token_quota.rb index 1a3ceab6..d823d82c 100644 --- a/lib/auth0/types/default_token_quota.rb +++ b/lib/auth0/types/default_token_quota.rb @@ -6,6 +6,7 @@ module Types # clients and organizations unless overridden in individual client or organization settings. class DefaultTokenQuota < Internal::Types::Model field :clients, -> { Auth0::Types::TokenQuotaConfiguration }, optional: true, nullable: false + field :organizations, -> { Auth0::Types::TokenQuotaConfiguration }, optional: true, nullable: false end end diff --git a/lib/auth0/types/delete_user_identity_response_content_item.rb b/lib/auth0/types/delete_user_identity_response_content_item.rb index 2cdea150..d69d14b5 100644 --- a/lib/auth0/types/delete_user_identity_response_content_item.rb +++ b/lib/auth0/types/delete_user_identity_response_content_item.rb @@ -4,12 +4,19 @@ module Auth0 module Types class DeleteUserIdentityResponseContentItem < Internal::Types::Model field :connection, -> { String }, optional: false, nullable: false + field :user_id, -> { String }, optional: false, nullable: false + field :provider, -> { String }, optional: false, nullable: false + field :is_social, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isSocial" + field :access_token, -> { String }, optional: true, nullable: false + field :access_token_secret, -> { String }, optional: true, nullable: false + field :refresh_token, -> { String }, optional: true, nullable: false + field :profile_data, -> { Auth0::Types::UserProfileData }, optional: true, nullable: false, api_name: "profileData" end end diff --git a/lib/auth0/types/deploy_action_response_content.rb b/lib/auth0/types/deploy_action_response_content.rb index 17bf6540..22215275 100644 --- a/lib/auth0/types/deploy_action_response_content.rb +++ b/lib/auth0/types/deploy_action_response_content.rb @@ -4,20 +4,35 @@ module Auth0 module Types class DeployActionResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :action_id, -> { String }, optional: true, nullable: false + field :code, -> { String }, optional: true, nullable: false + field :dependencies, -> { Internal::Types::Array[Auth0::Types::ActionVersionDependency] }, optional: true, nullable: false + field :deployed, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :runtime, -> { String }, optional: true, nullable: false + field :secrets, -> { Internal::Types::Array[Auth0::Types::ActionSecretResponse] }, optional: true, nullable: false + field :status, -> { Auth0::Types::ActionVersionBuildStatusEnum }, optional: true, nullable: false + field :number, -> { Integer }, optional: true, nullable: false + field :errors, -> { Internal::Types::Array[Auth0::Types::ActionError] }, optional: true, nullable: false + field :action, -> { Auth0::Types::ActionBase }, optional: true, nullable: false + field :built_at, -> { String }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false + field :supported_triggers, -> { Internal::Types::Array[Auth0::Types::ActionTrigger] }, optional: true, nullable: false + field :modules, -> { Internal::Types::Array[Auth0::Types::ActionModuleReference] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/deploy_action_version_response_content.rb b/lib/auth0/types/deploy_action_version_response_content.rb index 175611df..16329430 100644 --- a/lib/auth0/types/deploy_action_version_response_content.rb +++ b/lib/auth0/types/deploy_action_version_response_content.rb @@ -4,20 +4,35 @@ module Auth0 module Types class DeployActionVersionResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :action_id, -> { String }, optional: true, nullable: false + field :code, -> { String }, optional: true, nullable: false + field :dependencies, -> { Internal::Types::Array[Auth0::Types::ActionVersionDependency] }, optional: true, nullable: false + field :deployed, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :runtime, -> { String }, optional: true, nullable: false + field :secrets, -> { Internal::Types::Array[Auth0::Types::ActionSecretResponse] }, optional: true, nullable: false + field :status, -> { Auth0::Types::ActionVersionBuildStatusEnum }, optional: true, nullable: false + field :number, -> { Integer }, optional: true, nullable: false + field :errors, -> { Internal::Types::Array[Auth0::Types::ActionError] }, optional: true, nullable: false + field :action, -> { Auth0::Types::ActionBase }, optional: true, nullable: false + field :built_at, -> { String }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false + field :supported_triggers, -> { Internal::Types::Array[Auth0::Types::ActionTrigger] }, optional: true, nullable: false + field :modules, -> { Internal::Types::Array[Auth0::Types::ActionModuleReference] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/device_credential.rb b/lib/auth0/types/device_credential.rb index 20680738..5a051fef 100644 --- a/lib/auth0/types/device_credential.rb +++ b/lib/auth0/types/device_credential.rb @@ -4,10 +4,15 @@ module Auth0 module Types class DeviceCredential < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :device_name, -> { String }, optional: true, nullable: false + field :device_id, -> { String }, optional: true, nullable: false + field :type, -> { Auth0::Types::DeviceCredentialTypeEnum }, optional: true, nullable: false + field :user_id, -> { String }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/directory_provisioning.rb b/lib/auth0/types/directory_provisioning.rb index 0f175ef1..1e72b359 100644 --- a/lib/auth0/types/directory_provisioning.rb +++ b/lib/auth0/types/directory_provisioning.rb @@ -4,15 +4,25 @@ module Auth0 module Types class DirectoryProvisioning < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :connection_name, -> { String }, optional: false, nullable: false + field :strategy, -> { String }, optional: false, nullable: false + field :mapping, -> { Internal::Types::Array[Auth0::Types::DirectoryProvisioningMappingItem] }, optional: false, nullable: false + field :synchronize_automatically, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :synchronize_groups, -> { Auth0::Types::SynchronizeGroupsEnum }, optional: true, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :updated_at, -> { String }, optional: false, nullable: false + field :last_synchronization_at, -> { String }, optional: true, nullable: false + field :last_synchronization_status, -> { String }, optional: true, nullable: false + field :last_synchronization_error, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/directory_provisioning_mapping_item.rb b/lib/auth0/types/directory_provisioning_mapping_item.rb index b35c67a1..bf7bf596 100644 --- a/lib/auth0/types/directory_provisioning_mapping_item.rb +++ b/lib/auth0/types/directory_provisioning_mapping_item.rb @@ -4,6 +4,7 @@ module Auth0 module Types class DirectoryProvisioningMappingItem < Internal::Types::Model field :auth0, -> { String }, optional: false, nullable: false + field :idp, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/domain_certificate.rb b/lib/auth0/types/domain_certificate.rb index e91a6afe..b76e47d1 100644 --- a/lib/auth0/types/domain_certificate.rb +++ b/lib/auth0/types/domain_certificate.rb @@ -5,8 +5,11 @@ module Types # Certificate information. This object is relevant only for Custom Domains with Auth0-Managed Certificates. class DomainCertificate < Internal::Types::Model field :status, -> { Auth0::Types::DomainCertificateStatusEnum }, optional: true, nullable: false + field :error_msg, -> { String }, optional: true, nullable: false + field :certificate_authority, -> { Auth0::Types::DomainCertificateAuthorityEnum }, optional: true, nullable: false + field :renews_before, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/domain_verification.rb b/lib/auth0/types/domain_verification.rb index 52ce2eae..fe7fce09 100644 --- a/lib/auth0/types/domain_verification.rb +++ b/lib/auth0/types/domain_verification.rb @@ -5,8 +5,11 @@ module Types # Domain verification settings. class DomainVerification < Internal::Types::Model field :methods, -> { Internal::Types::Array[Auth0::Types::DomainVerificationMethod] }, optional: true, nullable: false + field :status, -> { Auth0::Types::DomainVerificationStatusEnum }, optional: true, nullable: false + field :error_msg, -> { String }, optional: true, nullable: false + field :last_verified_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/domain_verification_method.rb b/lib/auth0/types/domain_verification_method.rb index 74817e75..8d7f17e8 100644 --- a/lib/auth0/types/domain_verification_method.rb +++ b/lib/auth0/types/domain_verification_method.rb @@ -4,7 +4,9 @@ module Auth0 module Types class DomainVerificationMethod < Internal::Types::Model field :name, -> { Auth0::Types::DomainVerificationMethodNameEnum }, optional: false, nullable: false + field :record, -> { String }, optional: false, nullable: false + field :domain, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/email_attribute.rb b/lib/auth0/types/email_attribute.rb index fe74d5e9..cfcc2b8f 100644 --- a/lib/auth0/types/email_attribute.rb +++ b/lib/auth0/types/email_attribute.rb @@ -5,9 +5,13 @@ module Types # Configuration for the email attribute for users. class EmailAttribute < Internal::Types::Model field :identifier, -> { Auth0::Types::ConnectionAttributeIdentifier }, optional: true, nullable: false + field :unique, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :profile_required, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :verification_method, -> { Auth0::Types::VerificationMethodEnum }, optional: true, nullable: false + field :signup, -> { Auth0::Types::SignupVerified }, optional: true, nullable: false end end diff --git a/lib/auth0/types/email_provider_credentials.rb b/lib/auth0/types/email_provider_credentials.rb index 4037b44f..6c0b97dc 100644 --- a/lib/auth0/types/email_provider_credentials.rb +++ b/lib/auth0/types/email_provider_credentials.rb @@ -5,9 +5,13 @@ module Types # Credentials required to use the provider. class EmailProviderCredentials < Internal::Types::Model field :api_user, -> { String }, optional: true, nullable: false + field :region, -> { String }, optional: true, nullable: false + field :smtp_host, -> { String }, optional: true, nullable: false + field :smtp_port, -> { Integer }, optional: true, nullable: false + field :smtp_user, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/email_provider_credentials_schema.rb b/lib/auth0/types/email_provider_credentials_schema.rb index a1b8390d..0b12e291 100644 --- a/lib/auth0/types/email_provider_credentials_schema.rb +++ b/lib/auth0/types/email_provider_credentials_schema.rb @@ -7,12 +7,19 @@ class EmailProviderCredentialsSchema < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::EmailProviderCredentialsSchemaZero } + member -> { Auth0::Types::EmailProviderCredentialsSchemaAccessKeyID } + member -> { Auth0::Types::EmailProviderCredentialsSchemaSMTPHost } + member -> { Auth0::Types::EmailProviderCredentialsSchemaThree } + member -> { Auth0::Types::EmailProviderCredentialsSchemaAPIKey } + member -> { Auth0::Types::EmailProviderCredentialsSchemaConnectionString } + member -> { Auth0::Types::EmailProviderCredentialsSchemaClientID } + member -> { Auth0::Types::ExtensibilityEmailProviderCredentials } end end diff --git a/lib/auth0/types/email_provider_credentials_schema_access_key_id.rb b/lib/auth0/types/email_provider_credentials_schema_access_key_id.rb index 08d8a80a..0707f3a2 100644 --- a/lib/auth0/types/email_provider_credentials_schema_access_key_id.rb +++ b/lib/auth0/types/email_provider_credentials_schema_access_key_id.rb @@ -4,7 +4,9 @@ module Auth0 module Types class EmailProviderCredentialsSchemaAccessKeyID < Internal::Types::Model field :access_key_id, -> { String }, optional: true, nullable: false, api_name: "accessKeyId" + field :secret_access_key, -> { String }, optional: true, nullable: false, api_name: "secretAccessKey" + field :region, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/email_provider_credentials_schema_api_key.rb b/lib/auth0/types/email_provider_credentials_schema_api_key.rb index fc5e54ad..d3bd8587 100644 --- a/lib/auth0/types/email_provider_credentials_schema_api_key.rb +++ b/lib/auth0/types/email_provider_credentials_schema_api_key.rb @@ -4,7 +4,9 @@ module Auth0 module Types class EmailProviderCredentialsSchemaAPIKey < Internal::Types::Model field :api_key, -> { String }, optional: true, nullable: false + field :domain, -> { String }, optional: true, nullable: false + field :region, -> { Auth0::Types::EmailMailgunRegionEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/types/email_provider_credentials_schema_client_id.rb b/lib/auth0/types/email_provider_credentials_schema_client_id.rb index d953a41b..e4a35f42 100644 --- a/lib/auth0/types/email_provider_credentials_schema_client_id.rb +++ b/lib/auth0/types/email_provider_credentials_schema_client_id.rb @@ -4,7 +4,9 @@ module Auth0 module Types class EmailProviderCredentialsSchemaClientID < Internal::Types::Model field :tenant_id, -> { String }, optional: true, nullable: false, api_name: "tenantId" + field :client_id, -> { String }, optional: true, nullable: false, api_name: "clientId" + field :client_secret, -> { String }, optional: true, nullable: false, api_name: "clientSecret" end end diff --git a/lib/auth0/types/email_provider_credentials_schema_smtp_host.rb b/lib/auth0/types/email_provider_credentials_schema_smtp_host.rb index 2c345dae..b519000b 100644 --- a/lib/auth0/types/email_provider_credentials_schema_smtp_host.rb +++ b/lib/auth0/types/email_provider_credentials_schema_smtp_host.rb @@ -4,8 +4,11 @@ module Auth0 module Types class EmailProviderCredentialsSchemaSMTPHost < Internal::Types::Model field :smtp_host, -> { String }, optional: true, nullable: false + field :smtp_port, -> { Integer }, optional: true, nullable: false + field :smtp_user, -> { String }, optional: true, nullable: false + field :smtp_pass, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/email_provider_credentials_schema_three.rb b/lib/auth0/types/email_provider_credentials_schema_three.rb index 17316d6e..f4cfc144 100644 --- a/lib/auth0/types/email_provider_credentials_schema_three.rb +++ b/lib/auth0/types/email_provider_credentials_schema_three.rb @@ -4,6 +4,7 @@ module Auth0 module Types class EmailProviderCredentialsSchemaThree < Internal::Types::Model field :api_key, -> { String }, optional: true, nullable: false + field :region, -> { Auth0::Types::EmailSparkPostRegionEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/types/email_provider_name_enum.rb b/lib/auth0/types/email_provider_name_enum.rb index 3fc6553a..eb8cafa7 100644 --- a/lib/auth0/types/email_provider_name_enum.rb +++ b/lib/auth0/types/email_provider_name_enum.rb @@ -8,6 +8,7 @@ module EmailProviderNameEnum MAILGUN = "mailgun" MANDRILL = "mandrill" SENDGRID = "sendgrid" + RESEND = "resend" SES = "ses" SPARKPOST = "sparkpost" SMTP = "smtp" diff --git a/lib/auth0/types/encryption_key.rb b/lib/auth0/types/encryption_key.rb index c7dac0c5..3356004d 100644 --- a/lib/auth0/types/encryption_key.rb +++ b/lib/auth0/types/encryption_key.rb @@ -5,11 +5,17 @@ module Types # Encryption key class EncryptionKey < Internal::Types::Model field :kid, -> { String }, optional: false, nullable: false + field :type, -> { Auth0::Types::EncryptionKeyType }, optional: false, nullable: false + field :state, -> { Auth0::Types::EncryptionKeyState }, optional: false, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :updated_at, -> { String }, optional: false, nullable: false + field :parent_kid, -> { String }, optional: true, nullable: false + field :public_key, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/event_stream_action_destination.rb b/lib/auth0/types/event_stream_action_destination.rb index ebb6dd26..0306d83f 100644 --- a/lib/auth0/types/event_stream_action_destination.rb +++ b/lib/auth0/types/event_stream_action_destination.rb @@ -4,6 +4,7 @@ module Auth0 module Types class EventStreamActionDestination < Internal::Types::Model field :type, -> { Auth0::Types::EventStreamActionDestinationTypeEnum }, optional: false, nullable: false + field :configuration, -> { Auth0::Types::EventStreamActionConfiguration }, optional: false, nullable: false end end diff --git a/lib/auth0/types/event_stream_action_response_content.rb b/lib/auth0/types/event_stream_action_response_content.rb index e1c81d09..6089a621 100644 --- a/lib/auth0/types/event_stream_action_response_content.rb +++ b/lib/auth0/types/event_stream_action_response_content.rb @@ -4,11 +4,17 @@ module Auth0 module Types class EventStreamActionResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :subscriptions, -> { Internal::Types::Array[Auth0::Types::EventStreamSubscription] }, optional: true, nullable: false + field :destination, -> { Auth0::Types::EventStreamActionDestination }, optional: true, nullable: false + field :status, -> { Auth0::Types::EventStreamStatusEnum }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/event_stream_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event.rb index 588025e9..b80a7610 100644 --- a/lib/auth0/types/event_stream_cloud_event.rb +++ b/lib/auth0/types/event_stream_cloud_event.rb @@ -5,10 +5,15 @@ module Types # Event content. This will only be set if delivery failed. class EventStreamCloudEvent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :source, -> { String }, optional: true, nullable: false + field :specversion, -> { String }, optional: true, nullable: false + field :type, -> { String }, optional: true, nullable: false + field :time, -> { String }, optional: true, nullable: false + field :data, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/event_stream_cloud_event_a0purpose_enum.rb b/lib/auth0/types/event_stream_cloud_event_a0purpose_enum.rb new file mode 100644 index 00000000..c77d838a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_a0purpose_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventA0PurposeEnum + extend Auth0::Internal::Types::Enum + + TEST = "test" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_context.rb b/lib/auth0/types/event_stream_cloud_event_context.rb new file mode 100644 index 00000000..77023a60 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_context.rb @@ -0,0 +1,20 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Information about the context in which the event was produced. This may include things like + # HTTP request details, client information, connection information, etc. + # + # Note: This field may not be present on all events, depending on the event type and the + # context in which it was generated. + class EventStreamCloudEventContext < Internal::Types::Model + field :client, -> { Auth0::Types::EventStreamCloudEventContextClient }, optional: true, nullable: false + + field :connection, -> { Auth0::Types::EventStreamCloudEventContextConnection }, optional: true, nullable: false + + field :request, -> { Auth0::Types::EventStreamCloudEventContextRequest }, optional: true, nullable: false + + field :tenant, -> { Auth0::Types::EventStreamCloudEventContextTenant }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_context_client.rb b/lib/auth0/types/event_stream_cloud_event_context_client.rb new file mode 100644 index 00000000..82b81eed --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_context_client.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The OAuth Client requesting or presenting an access token. + class EventStreamCloudEventContextClient < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :metadata, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_context_client_metadata.rb b/lib/auth0/types/event_stream_cloud_event_context_client_metadata.rb new file mode 100644 index 00000000..6dc4a5db --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_context_client_metadata.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventContextClientMetadata + # EventStreamCloudEventContextClientMetadata is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_context_connection.rb b/lib/auth0/types/event_stream_cloud_event_context_connection.rb new file mode 100644 index 00000000..eb4ebcac --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_context_connection.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The Auth0 Connection used for the authentication transaction that generated the event. + class EventStreamCloudEventContextConnection < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :strategy, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_context_request.rb b/lib/auth0/types/event_stream_cloud_event_context_request.rb new file mode 100644 index 00000000..051044c0 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_context_request.rb @@ -0,0 +1,20 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # An HTTP request. + class EventStreamCloudEventContextRequest < Internal::Types::Model + field :geo, -> { Auth0::Types::EventStreamCloudEventContextRequestGeo }, optional: false, nullable: false + + field :hostname, -> { String }, optional: false, nullable: false + + field :custom_domain, -> { String }, optional: true, nullable: false + + field :ip, -> { String }, optional: false, nullable: false + + field :method_, -> { String }, optional: false, nullable: false, api_name: "method" + + field :user_agent, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_context_request_geo.rb b/lib/auth0/types/event_stream_cloud_event_context_request_geo.rb new file mode 100644 index 00000000..f8ebf50e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_context_request_geo.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Geographic information about the request origin. + class EventStreamCloudEventContextRequestGeo < Internal::Types::Model + field :continent_code, -> { String }, optional: true, nullable: false + + field :country_code, -> { String }, optional: true, nullable: false + + field :country_name, -> { String }, optional: true, nullable: false + + field :latitude, -> { Integer }, optional: true, nullable: false + + field :longitude, -> { Integer }, optional: true, nullable: false + + field :subdivision_code, -> { String }, optional: true, nullable: false + + field :subdivision_name, -> { String }, optional: true, nullable: false + + field :city_name, -> { String }, optional: true, nullable: false + + field :time_zone, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_context_tenant.rb b/lib/auth0/types/event_stream_cloud_event_context_tenant.rb new file mode 100644 index 00000000..fc1ae82e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_context_tenant.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Reference to a tenant in event context + class EventStreamCloudEventContextTenant < Internal::Types::Model + field :tenant_id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_error_code_enum.rb b/lib/auth0/types/event_stream_cloud_event_error_code_enum.rb new file mode 100644 index 00000000..9344e682 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_error_code_enum.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventErrorCodeEnum + extend Auth0::Internal::Types::Enum + + INVALID_CURSOR = "invalid_cursor" + CURSOR_EXPIRED = "cursor_expired" + TIMEOUT = "timeout" + PAYLOAD_TOO_LARGE = "payload_too_large" + PROCESSING_ERROR = "processing_error" + CONNECTION_TIMEOUT = "connection_timeout" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_error_detail.rb b/lib/auth0/types/event_stream_cloud_event_error_detail.rb new file mode 100644 index 00000000..c9ce348b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_error_detail.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Error details. + class EventStreamCloudEventErrorDetail < Internal::Types::Model + field :code, -> { Auth0::Types::EventStreamCloudEventErrorCodeEnum }, optional: false, nullable: false + + field :message, -> { String }, optional: false, nullable: false + + field :offset, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_error_message.rb b/lib/auth0/types/event_stream_cloud_event_error_message.rb new file mode 100644 index 00000000..aac83fde --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_error_message.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # An error message delivered via the SSE stream. The stream closes after this message. + class EventStreamCloudEventErrorMessage < Internal::Types::Model + field :error, -> { Auth0::Types::EventStreamCloudEventErrorDetail }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_error_message_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_error_message_type_enum.rb new file mode 100644 index 00000000..ba6811e1 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_error_message_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventErrorMessageTypeEnum + extend Auth0::Internal::Types::Enum + + ERROR = "error" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_created.rb b/lib/auth0/types/event_stream_cloud_event_group_created.rb new file mode 100644 index 00000000..a64ca141 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_created.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # SSE message for group.created. + class EventStreamCloudEventGroupCreated < Internal::Types::Model + field :offset, -> { String }, optional: false, nullable: false + + field :event, -> { Auth0::Types::EventStreamCloudEventGroupCreatedCloudEvent }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_created_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_group_created_cloud_event.rb new file mode 100644 index 00000000..03004158 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_created_cloud_event.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Represents an event that occurs when a group is created. + class EventStreamCloudEventGroupCreatedCloudEvent < Internal::Types::Model + field :specversion, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventGroupCreatedCloudEventTypeEnum }, optional: false, nullable: false + + field :source, -> { String }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :time, -> { String }, optional: false, nullable: false + + field :data, -> { Auth0::Types::EventStreamCloudEventGroupCreatedData }, optional: false, nullable: false + + field :a0tenant, -> { String }, optional: false, nullable: false + + field :a0stream, -> { String }, optional: false, nullable: false + + field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_created_cloud_event_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_created_cloud_event_type_enum.rb new file mode 100644 index 00000000..2f2fca3d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_created_cloud_event_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupCreatedCloudEventTypeEnum + extend Auth0::Internal::Types::Enum + + GROUP_CREATED = "group.created" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_created_data.rb b/lib/auth0/types/event_stream_cloud_event_group_created_data.rb new file mode 100644 index 00000000..25f9156e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_created_data.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event payload. + class EventStreamCloudEventGroupCreatedData < Internal::Types::Model + field :object, -> { Auth0::Types::EventStreamCloudEventGroupCreatedObject }, optional: false, nullable: false + + field :context, -> { Auth0::Types::EventStreamCloudEventContext }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_created_object.rb b/lib/auth0/types/event_stream_cloud_event_group_created_object.rb new file mode 100644 index 00000000..cfd98a55 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_created_object.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event content. + class EventStreamCloudEventGroupCreatedObject < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { Auth0::Types::EventStreamCloudEventGroupCreatedObject0 } + + member -> { Auth0::Types::EventStreamCloudEventGroupCreatedObject1 } + + member -> { Auth0::Types::EventStreamCloudEventGroupCreatedObject2 } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_created_object0.rb b/lib/auth0/types/event_stream_cloud_event_group_created_object0.rb new file mode 100644 index 00000000..01d9c6c1 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_created_object0.rb @@ -0,0 +1,20 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Represents a connection group entity. + class EventStreamCloudEventGroupCreatedObject0 < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :external_id, -> { String }, optional: true, nullable: false + + field :created_at, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventGroupCreatedObject0TypeEnum }, optional: false, nullable: false + + field :connection_id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_created_object0type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_created_object0type_enum.rb new file mode 100644 index 00000000..a383e604 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_created_object0type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupCreatedObject0TypeEnum + extend Auth0::Internal::Types::Enum + + CONNECTION = "connection" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_created_object1.rb b/lib/auth0/types/event_stream_cloud_event_group_created_object1.rb new file mode 100644 index 00000000..42164e89 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_created_object1.rb @@ -0,0 +1,20 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Represents an organization group entity. + class EventStreamCloudEventGroupCreatedObject1 < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :external_id, -> { String }, optional: true, nullable: false + + field :created_at, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventGroupCreatedObject1TypeEnum }, optional: false, nullable: false + + field :organization_id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_created_object1type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_created_object1type_enum.rb new file mode 100644 index 00000000..de4b5621 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_created_object1type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupCreatedObject1TypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION = "organization" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_created_object2.rb b/lib/auth0/types/event_stream_cloud_event_group_created_object2.rb new file mode 100644 index 00000000..292357d4 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_created_object2.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Represents a tenant group entity. + class EventStreamCloudEventGroupCreatedObject2 < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :external_id, -> { String }, optional: true, nullable: false + + field :created_at, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventGroupCreatedObject2TypeEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_created_object2type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_created_object2type_enum.rb new file mode 100644 index 00000000..3ade0eb4 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_created_object2type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupCreatedObject2TypeEnum + extend Auth0::Internal::Types::Enum + + TENANT = "tenant" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_created_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_created_type_enum.rb new file mode 100644 index 00000000..53c19093 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_created_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupCreatedTypeEnum + extend Auth0::Internal::Types::Enum + + GROUP_CREATED = "group.created" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_deleted.rb b/lib/auth0/types/event_stream_cloud_event_group_deleted.rb new file mode 100644 index 00000000..17040a08 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_deleted.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # SSE message for group.deleted. + class EventStreamCloudEventGroupDeleted < Internal::Types::Model + field :offset, -> { String }, optional: false, nullable: false + + field :event, -> { Auth0::Types::EventStreamCloudEventGroupDeletedCloudEvent }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_deleted_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_group_deleted_cloud_event.rb new file mode 100644 index 00000000..727e3b84 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_deleted_cloud_event.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Represents an event that occurs when a group is deleted. + class EventStreamCloudEventGroupDeletedCloudEvent < Internal::Types::Model + field :specversion, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventGroupDeletedCloudEventTypeEnum }, optional: false, nullable: false + + field :source, -> { String }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :time, -> { String }, optional: false, nullable: false + + field :data, -> { Auth0::Types::EventStreamCloudEventGroupDeletedData }, optional: false, nullable: false + + field :a0tenant, -> { String }, optional: false, nullable: false + + field :a0stream, -> { String }, optional: false, nullable: false + + field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_deleted_cloud_event_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_deleted_cloud_event_type_enum.rb new file mode 100644 index 00000000..de8e15c5 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_deleted_cloud_event_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupDeletedCloudEventTypeEnum + extend Auth0::Internal::Types::Enum + + GROUP_DELETED = "group.deleted" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_deleted_data.rb b/lib/auth0/types/event_stream_cloud_event_group_deleted_data.rb new file mode 100644 index 00000000..6fbd9ea8 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_deleted_data.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event payload. + class EventStreamCloudEventGroupDeletedData < Internal::Types::Model + field :object, -> { Auth0::Types::EventStreamCloudEventGroupDeletedObject }, optional: false, nullable: false + + field :context, -> { Auth0::Types::EventStreamCloudEventContext }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_deleted_object.rb b/lib/auth0/types/event_stream_cloud_event_group_deleted_object.rb new file mode 100644 index 00000000..461ba9a9 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_deleted_object.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event content. + class EventStreamCloudEventGroupDeletedObject < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { Auth0::Types::EventStreamCloudEventGroupDeletedObject0 } + + member -> { Auth0::Types::EventStreamCloudEventGroupDeletedObject1 } + + member -> { Auth0::Types::EventStreamCloudEventGroupDeletedObject2 } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_deleted_object0.rb b/lib/auth0/types/event_stream_cloud_event_group_deleted_object0.rb new file mode 100644 index 00000000..5812685b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_deleted_object0.rb @@ -0,0 +1,22 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Connection group with updated_at timestamp + class EventStreamCloudEventGroupDeletedObject0 < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :external_id, -> { String }, optional: true, nullable: false + + field :created_at, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventGroupDeletedObject0TypeEnum }, optional: false, nullable: false + + field :connection_id, -> { String }, optional: false, nullable: false + + field :updated_at, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_deleted_object0type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_deleted_object0type_enum.rb new file mode 100644 index 00000000..25e2fa76 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_deleted_object0type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupDeletedObject0TypeEnum + extend Auth0::Internal::Types::Enum + + CONNECTION = "connection" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_deleted_object1.rb b/lib/auth0/types/event_stream_cloud_event_group_deleted_object1.rb new file mode 100644 index 00000000..ad6fbda8 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_deleted_object1.rb @@ -0,0 +1,22 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Organization group with updated_at timestamp + class EventStreamCloudEventGroupDeletedObject1 < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :external_id, -> { String }, optional: true, nullable: false + + field :created_at, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventGroupDeletedObject1TypeEnum }, optional: false, nullable: false + + field :organization_id, -> { String }, optional: false, nullable: false + + field :updated_at, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_deleted_object1type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_deleted_object1type_enum.rb new file mode 100644 index 00000000..53d5d7b5 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_deleted_object1type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupDeletedObject1TypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION = "organization" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_deleted_object2.rb b/lib/auth0/types/event_stream_cloud_event_group_deleted_object2.rb new file mode 100644 index 00000000..922aa3d7 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_deleted_object2.rb @@ -0,0 +1,20 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Tenant group with updated_at timestamp + class EventStreamCloudEventGroupDeletedObject2 < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :external_id, -> { String }, optional: true, nullable: false + + field :created_at, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventGroupDeletedObject2TypeEnum }, optional: false, nullable: false + + field :updated_at, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_deleted_object2type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_deleted_object2type_enum.rb new file mode 100644 index 00000000..c5985e00 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_deleted_object2type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupDeletedObject2TypeEnum + extend Auth0::Internal::Types::Enum + + TENANT = "tenant" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_deleted_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_deleted_type_enum.rb new file mode 100644 index 00000000..76a8ec64 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_deleted_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupDeletedTypeEnum + extend Auth0::Internal::Types::Enum + + GROUP_DELETED = "group.deleted" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_added.rb b/lib/auth0/types/event_stream_cloud_event_group_member_added.rb new file mode 100644 index 00000000..ba9527ad --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # SSE message for group.member.added. + class EventStreamCloudEventGroupMemberAdded < Internal::Types::Model + field :offset, -> { String }, optional: false, nullable: false + + field :event, -> { Auth0::Types::EventStreamCloudEventGroupMemberAddedCloudEvent }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_added_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_group_member_added_cloud_event.rb new file mode 100644 index 00000000..a02ccb12 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_cloud_event.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Represents an event that occurs when a member is added to a group. + class EventStreamCloudEventGroupMemberAddedCloudEvent < Internal::Types::Model + field :specversion, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventGroupMemberAddedCloudEventTypeEnum }, optional: false, nullable: false + + field :source, -> { String }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :time, -> { String }, optional: false, nullable: false + + field :data, -> { Auth0::Types::EventStreamCloudEventGroupMemberAddedData }, optional: false, nullable: false + + field :a0tenant, -> { String }, optional: false, nullable: false + + field :a0stream, -> { String }, optional: false, nullable: false + + field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_added_cloud_event_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_member_added_cloud_event_type_enum.rb new file mode 100644 index 00000000..885823c2 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_cloud_event_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupMemberAddedCloudEventTypeEnum + extend Auth0::Internal::Types::Enum + + GROUP_MEMBER_ADDED = "group.member.added" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_added_data.rb b/lib/auth0/types/event_stream_cloud_event_group_member_added_data.rb new file mode 100644 index 00000000..18f15101 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_data.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event payload. + class EventStreamCloudEventGroupMemberAddedData < Internal::Types::Model + field :object, -> { Auth0::Types::EventStreamCloudEventGroupMemberAddedObject }, optional: false, nullable: false + + field :context, -> { Auth0::Types::EventStreamCloudEventContext }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_added_object.rb b/lib/auth0/types/event_stream_cloud_event_group_member_added_object.rb new file mode 100644 index 00000000..6961a2c0 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_object.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event content. + class EventStreamCloudEventGroupMemberAddedObject < Internal::Types::Model + field :group, -> { Auth0::Types::EventStreamCloudEventGroupMemberAddedObjectGroup }, optional: false, nullable: false + + field :member, -> { Auth0::Types::EventStreamCloudEventGroupMemberAddedObjectMember }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_added_object_group.rb b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_group.rb new file mode 100644 index 00000000..21cb3bcc --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_group.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The group the member belongs to. + class EventStreamCloudEventGroupMemberAddedObjectGroup < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { Auth0::Types::EventStreamCloudEventGroupMemberAddedObjectGroup0 } + + member -> { Auth0::Types::EventStreamCloudEventGroupMemberAddedObjectGroup1 } + + member -> { Auth0::Types::EventStreamCloudEventGroupMemberAddedObjectGroup2 } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_added_object_group0.rb b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_group0.rb new file mode 100644 index 00000000..ad2e2aad --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_group0.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Reference to a connection group + class EventStreamCloudEventGroupMemberAddedObjectGroup0 < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :external_id, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventGroupMemberAddedObjectGroup0TypeEnum }, optional: false, nullable: false + + field :connection_id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_added_object_group0type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_group0type_enum.rb new file mode 100644 index 00000000..2805f7bc --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_group0type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupMemberAddedObjectGroup0TypeEnum + extend Auth0::Internal::Types::Enum + + CONNECTION = "connection" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_added_object_group1.rb b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_group1.rb new file mode 100644 index 00000000..eedc0d00 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_group1.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Reference to an organization group + class EventStreamCloudEventGroupMemberAddedObjectGroup1 < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :external_id, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventGroupMemberAddedObjectGroup1TypeEnum }, optional: false, nullable: false + + field :organization_id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_added_object_group1type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_group1type_enum.rb new file mode 100644 index 00000000..56c58796 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_group1type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupMemberAddedObjectGroup1TypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION = "organization" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_added_object_group2.rb b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_group2.rb new file mode 100644 index 00000000..752672ce --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_group2.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Reference to a tenant group + class EventStreamCloudEventGroupMemberAddedObjectGroup2 < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :external_id, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventGroupMemberAddedObjectGroup2TypeEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_added_object_group2type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_group2type_enum.rb new file mode 100644 index 00000000..695e55fa --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_group2type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupMemberAddedObjectGroup2TypeEnum + extend Auth0::Internal::Types::Enum + + TENANT = "tenant" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_added_object_member.rb b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_member.rb new file mode 100644 index 00000000..a025fbc7 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_member.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The member that is a part of the group. + class EventStreamCloudEventGroupMemberAddedObjectMember < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { Auth0::Types::EventStreamCloudEventGroupMemberAddedObjectMember0 } + + member -> { Auth0::Types::EventStreamCloudEventGroupMemberAddedObjectMember1 } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_added_object_member0.rb b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_member0.rb new file mode 100644 index 00000000..167fa528 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_member0.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # A group member of member_type user + class EventStreamCloudEventGroupMemberAddedObjectMember0 < Internal::Types::Model + field :member_type, -> { Auth0::Types::EventStreamCloudEventGroupMemberAddedObjectMember0MemberTypeEnum }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_added_object_member0member_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_member0member_type_enum.rb new file mode 100644 index 00000000..7b2a0acd --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_member0member_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupMemberAddedObjectMember0MemberTypeEnum + extend Auth0::Internal::Types::Enum + + USER = "user" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_added_object_member1.rb b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_member1.rb new file mode 100644 index 00000000..d6e95305 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_member1.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # A group member of member_type group + class EventStreamCloudEventGroupMemberAddedObjectMember1 < Internal::Types::Model + field :member_type, -> { Auth0::Types::EventStreamCloudEventGroupMemberAddedObjectMember1MemberTypeEnum }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :type, -> { String }, optional: false, nullable: false + + field :connection_id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_added_object_member1member_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_member1member_type_enum.rb new file mode 100644 index 00000000..2b8dd074 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_member1member_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupMemberAddedObjectMember1MemberTypeEnum + extend Auth0::Internal::Types::Enum + + CONNECTION = "connection" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_added_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_member_added_type_enum.rb new file mode 100644 index 00000000..4b1afd7c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupMemberAddedTypeEnum + extend Auth0::Internal::Types::Enum + + GROUP_MEMBER_ADDED = "group.member.added" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_deleted.rb b/lib/auth0/types/event_stream_cloud_event_group_member_deleted.rb new file mode 100644 index 00000000..011e2860 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # SSE message for group.member.deleted. + class EventStreamCloudEventGroupMemberDeleted < Internal::Types::Model + field :offset, -> { String }, optional: false, nullable: false + + field :event, -> { Auth0::Types::EventStreamCloudEventGroupMemberDeletedCloudEvent }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_deleted_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_cloud_event.rb new file mode 100644 index 00000000..b1949212 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_cloud_event.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Represents an event that occurs when a member is removed from a group. + class EventStreamCloudEventGroupMemberDeletedCloudEvent < Internal::Types::Model + field :specversion, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventGroupMemberDeletedCloudEventTypeEnum }, optional: false, nullable: false + + field :source, -> { String }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :time, -> { String }, optional: false, nullable: false + + field :data, -> { Auth0::Types::EventStreamCloudEventGroupMemberDeletedData }, optional: false, nullable: false + + field :a0tenant, -> { String }, optional: false, nullable: false + + field :a0stream, -> { String }, optional: false, nullable: false + + field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_deleted_cloud_event_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_cloud_event_type_enum.rb new file mode 100644 index 00000000..50cbc56b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_cloud_event_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupMemberDeletedCloudEventTypeEnum + extend Auth0::Internal::Types::Enum + + GROUP_MEMBER_DELETED = "group.member.deleted" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_deleted_data.rb b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_data.rb new file mode 100644 index 00000000..0a3a1247 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_data.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event payload. + class EventStreamCloudEventGroupMemberDeletedData < Internal::Types::Model + field :object, -> { Auth0::Types::EventStreamCloudEventGroupMemberDeletedObject }, optional: false, nullable: false + + field :context, -> { Auth0::Types::EventStreamCloudEventContext }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object.rb b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object.rb new file mode 100644 index 00000000..982d2eef --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event content. + class EventStreamCloudEventGroupMemberDeletedObject < Internal::Types::Model + field :group, -> { Auth0::Types::EventStreamCloudEventGroupMemberDeletedObjectGroup }, optional: false, nullable: false + + field :member, -> { Auth0::Types::EventStreamCloudEventGroupMemberDeletedObjectMember }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group.rb b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group.rb new file mode 100644 index 00000000..b4ccf806 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The group the member belongs to. + class EventStreamCloudEventGroupMemberDeletedObjectGroup < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { Auth0::Types::EventStreamCloudEventGroupMemberDeletedObjectGroup0 } + + member -> { Auth0::Types::EventStreamCloudEventGroupMemberDeletedObjectGroup1 } + + member -> { Auth0::Types::EventStreamCloudEventGroupMemberDeletedObjectGroup2 } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group0.rb b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group0.rb new file mode 100644 index 00000000..7ec0b0ae --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group0.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Reference to a connection group + class EventStreamCloudEventGroupMemberDeletedObjectGroup0 < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :external_id, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventGroupMemberDeletedObjectGroup0TypeEnum }, optional: false, nullable: false + + field :connection_id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group0type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group0type_enum.rb new file mode 100644 index 00000000..8be16551 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group0type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupMemberDeletedObjectGroup0TypeEnum + extend Auth0::Internal::Types::Enum + + CONNECTION = "connection" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group1.rb b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group1.rb new file mode 100644 index 00000000..cc57a32c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group1.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Reference to an organization group + class EventStreamCloudEventGroupMemberDeletedObjectGroup1 < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :external_id, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventGroupMemberDeletedObjectGroup1TypeEnum }, optional: false, nullable: false + + field :organization_id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group1type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group1type_enum.rb new file mode 100644 index 00000000..294eda17 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group1type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupMemberDeletedObjectGroup1TypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION = "organization" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group2.rb b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group2.rb new file mode 100644 index 00000000..e278b10f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group2.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Reference to a tenant group + class EventStreamCloudEventGroupMemberDeletedObjectGroup2 < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :external_id, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventGroupMemberDeletedObjectGroup2TypeEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group2type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group2type_enum.rb new file mode 100644 index 00000000..3be2e42c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group2type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupMemberDeletedObjectGroup2TypeEnum + extend Auth0::Internal::Types::Enum + + TENANT = "tenant" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_member.rb b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_member.rb new file mode 100644 index 00000000..4fb1a980 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_member.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The member that is a part of the group. + class EventStreamCloudEventGroupMemberDeletedObjectMember < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { Auth0::Types::EventStreamCloudEventGroupMemberDeletedObjectMember0 } + + member -> { Auth0::Types::EventStreamCloudEventGroupMemberDeletedObjectMember1 } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_member0.rb b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_member0.rb new file mode 100644 index 00000000..4fe70c48 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_member0.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # A group member of member_type user + class EventStreamCloudEventGroupMemberDeletedObjectMember0 < Internal::Types::Model + field :member_type, -> { Auth0::Types::EventStreamCloudEventGroupMemberDeletedObjectMember0MemberTypeEnum }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_member0member_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_member0member_type_enum.rb new file mode 100644 index 00000000..32bb5c39 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_member0member_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupMemberDeletedObjectMember0MemberTypeEnum + extend Auth0::Internal::Types::Enum + + USER = "user" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_member1.rb b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_member1.rb new file mode 100644 index 00000000..98aee793 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_member1.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # A group member of member_type group + class EventStreamCloudEventGroupMemberDeletedObjectMember1 < Internal::Types::Model + field :member_type, -> { Auth0::Types::EventStreamCloudEventGroupMemberDeletedObjectMember1MemberTypeEnum }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :type, -> { String }, optional: false, nullable: false + + field :connection_id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_member1member_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_member1member_type_enum.rb new file mode 100644 index 00000000..8b814d21 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_member1member_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupMemberDeletedObjectMember1MemberTypeEnum + extend Auth0::Internal::Types::Enum + + CONNECTION = "connection" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_member_deleted_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_type_enum.rb new file mode 100644 index 00000000..7361ff46 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupMemberDeletedTypeEnum + extend Auth0::Internal::Types::Enum + + GROUP_MEMBER_DELETED = "group.member.deleted" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_assigned.rb b/lib/auth0/types/event_stream_cloud_event_group_role_assigned.rb new file mode 100644 index 00000000..18483214 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_assigned.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # SSE message for group.role.assigned. + class EventStreamCloudEventGroupRoleAssigned < Internal::Types::Model + field :offset, -> { String }, optional: false, nullable: false + + field :event, -> { Auth0::Types::EventStreamCloudEventGroupRoleAssignedCloudEvent }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_assigned_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_cloud_event.rb new file mode 100644 index 00000000..18eff1d2 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_cloud_event.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Represents an event that occurs when a role is assigned to a group. + class EventStreamCloudEventGroupRoleAssignedCloudEvent < Internal::Types::Model + field :specversion, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventGroupRoleAssignedCloudEventTypeEnum }, optional: false, nullable: false + + field :source, -> { String }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :time, -> { String }, optional: false, nullable: false + + field :data, -> { Auth0::Types::EventStreamCloudEventGroupRoleAssignedData }, optional: false, nullable: false + + field :a0tenant, -> { String }, optional: false, nullable: false + + field :a0stream, -> { String }, optional: false, nullable: false + + field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_assigned_cloud_event_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_cloud_event_type_enum.rb new file mode 100644 index 00000000..19d468cc --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_cloud_event_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupRoleAssignedCloudEventTypeEnum + extend Auth0::Internal::Types::Enum + + GROUP_ROLE_ASSIGNED = "group.role.assigned" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_assigned_data.rb b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_data.rb new file mode 100644 index 00000000..c807a768 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_data.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event payload. + class EventStreamCloudEventGroupRoleAssignedData < Internal::Types::Model + field :object, -> { Auth0::Types::EventStreamCloudEventGroupRoleAssignedObject }, optional: false, nullable: false + + field :context, -> { Auth0::Types::EventStreamCloudEventContext }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object.rb b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object.rb new file mode 100644 index 00000000..0030ae76 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event content. + class EventStreamCloudEventGroupRoleAssignedObject < Internal::Types::Model + field :group, -> { Auth0::Types::EventStreamCloudEventGroupRoleAssignedObjectGroup }, optional: false, nullable: false + + field :role, -> { Auth0::Types::EventStreamCloudEventGroupRoleAssignedObjectRole }, optional: false, nullable: false + + field :created_at, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group.rb b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group.rb new file mode 100644 index 00000000..32cd0e75 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The group the role is assigned to. + class EventStreamCloudEventGroupRoleAssignedObjectGroup < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { Auth0::Types::EventStreamCloudEventGroupRoleAssignedObjectGroup0 } + + member -> { Auth0::Types::EventStreamCloudEventGroupRoleAssignedObjectGroup1 } + + member -> { Auth0::Types::EventStreamCloudEventGroupRoleAssignedObjectGroup2 } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group0.rb b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group0.rb new file mode 100644 index 00000000..e297e10f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group0.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Reference to a connection group + class EventStreamCloudEventGroupRoleAssignedObjectGroup0 < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :external_id, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventGroupRoleAssignedObjectGroup0TypeEnum }, optional: false, nullable: false + + field :connection_id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group0type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group0type_enum.rb new file mode 100644 index 00000000..878ee4f4 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group0type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupRoleAssignedObjectGroup0TypeEnum + extend Auth0::Internal::Types::Enum + + CONNECTION = "connection" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group1.rb b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group1.rb new file mode 100644 index 00000000..94b0e166 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group1.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Reference to an organization group + class EventStreamCloudEventGroupRoleAssignedObjectGroup1 < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :external_id, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventGroupRoleAssignedObjectGroup1TypeEnum }, optional: false, nullable: false + + field :organization_id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group1type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group1type_enum.rb new file mode 100644 index 00000000..0c881ebc --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group1type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupRoleAssignedObjectGroup1TypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION = "organization" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group2.rb b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group2.rb new file mode 100644 index 00000000..3742b5ea --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group2.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Reference to a tenant group + class EventStreamCloudEventGroupRoleAssignedObjectGroup2 < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :external_id, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventGroupRoleAssignedObjectGroup2TypeEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group2type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group2type_enum.rb new file mode 100644 index 00000000..a550e0e4 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group2type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupRoleAssignedObjectGroup2TypeEnum + extend Auth0::Internal::Types::Enum + + TENANT = "tenant" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_role.rb b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_role.rb new file mode 100644 index 00000000..dc6bb4c0 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_role.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The role assigned to the group. + class EventStreamCloudEventGroupRoleAssignedObjectRole < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_assigned_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_type_enum.rb new file mode 100644 index 00000000..f19c82f3 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupRoleAssignedTypeEnum + extend Auth0::Internal::Types::Enum + + GROUP_ROLE_ASSIGNED = "group.role.assigned" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_deleted.rb b/lib/auth0/types/event_stream_cloud_event_group_role_deleted.rb new file mode 100644 index 00000000..293ffb53 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_deleted.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # SSE message for group.role.deleted. + class EventStreamCloudEventGroupRoleDeleted < Internal::Types::Model + field :offset, -> { String }, optional: false, nullable: false + + field :event, -> { Auth0::Types::EventStreamCloudEventGroupRoleDeletedCloudEvent }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_deleted_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_cloud_event.rb new file mode 100644 index 00000000..f6fcfcea --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_cloud_event.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Represents an event that occurs when a role is removed from a group. + class EventStreamCloudEventGroupRoleDeletedCloudEvent < Internal::Types::Model + field :specversion, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventGroupRoleDeletedCloudEventTypeEnum }, optional: false, nullable: false + + field :source, -> { String }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :time, -> { String }, optional: false, nullable: false + + field :data, -> { Auth0::Types::EventStreamCloudEventGroupRoleDeletedData }, optional: false, nullable: false + + field :a0tenant, -> { String }, optional: false, nullable: false + + field :a0stream, -> { String }, optional: false, nullable: false + + field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_deleted_cloud_event_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_cloud_event_type_enum.rb new file mode 100644 index 00000000..67b9c48f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_cloud_event_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupRoleDeletedCloudEventTypeEnum + extend Auth0::Internal::Types::Enum + + GROUP_ROLE_DELETED = "group.role.deleted" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_deleted_data.rb b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_data.rb new file mode 100644 index 00000000..0889601b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_data.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event payload. + class EventStreamCloudEventGroupRoleDeletedData < Internal::Types::Model + field :object, -> { Auth0::Types::EventStreamCloudEventGroupRoleDeletedObject }, optional: false, nullable: false + + field :context, -> { Auth0::Types::EventStreamCloudEventContext }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object.rb b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object.rb new file mode 100644 index 00000000..231a5a60 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event content. + class EventStreamCloudEventGroupRoleDeletedObject < Internal::Types::Model + field :group, -> { Auth0::Types::EventStreamCloudEventGroupRoleDeletedObjectGroup }, optional: false, nullable: false + + field :role, -> { Auth0::Types::EventStreamCloudEventGroupRoleDeletedObjectRole }, optional: false, nullable: false + + field :deleted_at, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group.rb b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group.rb new file mode 100644 index 00000000..50db1967 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The group the role is removed from. + class EventStreamCloudEventGroupRoleDeletedObjectGroup < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { Auth0::Types::EventStreamCloudEventGroupRoleDeletedObjectGroup0 } + + member -> { Auth0::Types::EventStreamCloudEventGroupRoleDeletedObjectGroup1 } + + member -> { Auth0::Types::EventStreamCloudEventGroupRoleDeletedObjectGroup2 } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group0.rb b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group0.rb new file mode 100644 index 00000000..035d754b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group0.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Reference to a connection group + class EventStreamCloudEventGroupRoleDeletedObjectGroup0 < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :external_id, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventGroupRoleDeletedObjectGroup0TypeEnum }, optional: false, nullable: false + + field :connection_id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group0type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group0type_enum.rb new file mode 100644 index 00000000..3c0ee202 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group0type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupRoleDeletedObjectGroup0TypeEnum + extend Auth0::Internal::Types::Enum + + CONNECTION = "connection" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group1.rb b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group1.rb new file mode 100644 index 00000000..f3cabc8b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group1.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Reference to an organization group + class EventStreamCloudEventGroupRoleDeletedObjectGroup1 < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :external_id, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventGroupRoleDeletedObjectGroup1TypeEnum }, optional: false, nullable: false + + field :organization_id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group1type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group1type_enum.rb new file mode 100644 index 00000000..c472f697 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group1type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupRoleDeletedObjectGroup1TypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION = "organization" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group2.rb b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group2.rb new file mode 100644 index 00000000..235ef2e7 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group2.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Reference to a tenant group + class EventStreamCloudEventGroupRoleDeletedObjectGroup2 < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :external_id, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventGroupRoleDeletedObjectGroup2TypeEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group2type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group2type_enum.rb new file mode 100644 index 00000000..1ff4af0a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group2type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupRoleDeletedObjectGroup2TypeEnum + extend Auth0::Internal::Types::Enum + + TENANT = "tenant" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_role.rb b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_role.rb new file mode 100644 index 00000000..e6a55d88 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_role.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The role removed from the group. + class EventStreamCloudEventGroupRoleDeletedObjectRole < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_role_deleted_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_type_enum.rb new file mode 100644 index 00000000..689027f2 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupRoleDeletedTypeEnum + extend Auth0::Internal::Types::Enum + + GROUP_ROLE_DELETED = "group.role.deleted" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_updated.rb b/lib/auth0/types/event_stream_cloud_event_group_updated.rb new file mode 100644 index 00000000..8dc3c379 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_updated.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # SSE message for group.updated. + class EventStreamCloudEventGroupUpdated < Internal::Types::Model + field :offset, -> { String }, optional: false, nullable: false + + field :event, -> { Auth0::Types::EventStreamCloudEventGroupUpdatedCloudEvent }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_updated_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_group_updated_cloud_event.rb new file mode 100644 index 00000000..332df3c4 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_updated_cloud_event.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Represents an event that occurs when a group is updated. + class EventStreamCloudEventGroupUpdatedCloudEvent < Internal::Types::Model + field :specversion, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventGroupUpdatedCloudEventTypeEnum }, optional: false, nullable: false + + field :source, -> { String }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :time, -> { String }, optional: false, nullable: false + + field :data, -> { Auth0::Types::EventStreamCloudEventGroupUpdatedData }, optional: false, nullable: false + + field :a0tenant, -> { String }, optional: false, nullable: false + + field :a0stream, -> { String }, optional: false, nullable: false + + field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_updated_cloud_event_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_updated_cloud_event_type_enum.rb new file mode 100644 index 00000000..b6bb9c29 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_updated_cloud_event_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupUpdatedCloudEventTypeEnum + extend Auth0::Internal::Types::Enum + + GROUP_UPDATED = "group.updated" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_updated_data.rb b/lib/auth0/types/event_stream_cloud_event_group_updated_data.rb new file mode 100644 index 00000000..4240a531 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_updated_data.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event payload. + class EventStreamCloudEventGroupUpdatedData < Internal::Types::Model + field :object, -> { Auth0::Types::EventStreamCloudEventGroupUpdatedObject }, optional: false, nullable: false + + field :context, -> { Auth0::Types::EventStreamCloudEventContext }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_updated_object.rb b/lib/auth0/types/event_stream_cloud_event_group_updated_object.rb new file mode 100644 index 00000000..c39ac5f3 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_updated_object.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event content. + class EventStreamCloudEventGroupUpdatedObject < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { Auth0::Types::EventStreamCloudEventGroupUpdatedObject0 } + + member -> { Auth0::Types::EventStreamCloudEventGroupUpdatedObject1 } + + member -> { Auth0::Types::EventStreamCloudEventGroupUpdatedObject2 } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_updated_object0.rb b/lib/auth0/types/event_stream_cloud_event_group_updated_object0.rb new file mode 100644 index 00000000..1e02d032 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_updated_object0.rb @@ -0,0 +1,22 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Connection group with updated_at timestamp + class EventStreamCloudEventGroupUpdatedObject0 < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :external_id, -> { String }, optional: true, nullable: false + + field :created_at, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventGroupUpdatedObject0TypeEnum }, optional: false, nullable: false + + field :connection_id, -> { String }, optional: false, nullable: false + + field :updated_at, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_updated_object0type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_updated_object0type_enum.rb new file mode 100644 index 00000000..11bf96ca --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_updated_object0type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupUpdatedObject0TypeEnum + extend Auth0::Internal::Types::Enum + + CONNECTION = "connection" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_updated_object1.rb b/lib/auth0/types/event_stream_cloud_event_group_updated_object1.rb new file mode 100644 index 00000000..a0853b33 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_updated_object1.rb @@ -0,0 +1,22 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Organization group with updated_at timestamp + class EventStreamCloudEventGroupUpdatedObject1 < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :external_id, -> { String }, optional: true, nullable: false + + field :created_at, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventGroupUpdatedObject1TypeEnum }, optional: false, nullable: false + + field :organization_id, -> { String }, optional: false, nullable: false + + field :updated_at, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_updated_object1type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_updated_object1type_enum.rb new file mode 100644 index 00000000..7c79b9d5 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_updated_object1type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupUpdatedObject1TypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION = "organization" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_updated_object2.rb b/lib/auth0/types/event_stream_cloud_event_group_updated_object2.rb new file mode 100644 index 00000000..13211d5e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_updated_object2.rb @@ -0,0 +1,20 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Tenant group with updated_at timestamp + class EventStreamCloudEventGroupUpdatedObject2 < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + + field :external_id, -> { String }, optional: true, nullable: false + + field :created_at, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventGroupUpdatedObject2TypeEnum }, optional: false, nullable: false + + field :updated_at, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_updated_object2type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_updated_object2type_enum.rb new file mode 100644 index 00000000..3dada532 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_updated_object2type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupUpdatedObject2TypeEnum + extend Auth0::Internal::Types::Enum + + TENANT = "tenant" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_group_updated_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_group_updated_type_enum.rb new file mode 100644 index 00000000..5d6c7c68 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_updated_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventGroupUpdatedTypeEnum + extend Auth0::Internal::Types::Enum + + GROUP_UPDATED = "group.updated" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_offset_only_message.rb b/lib/auth0/types/event_stream_cloud_event_offset_only_message.rb new file mode 100644 index 00000000..eaaa712a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_offset_only_message.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # An offset-only heartbeat message. Advances the cursor without delivering an event. + class EventStreamCloudEventOffsetOnlyMessage < Internal::Types::Model + field :offset, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_offset_only_message_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_offset_only_message_type_enum.rb new file mode 100644 index 00000000..4b2c7b1d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_offset_only_message_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOffsetOnlyMessageTypeEnum + extend Auth0::Internal::Types::Enum + + OFFSET_ONLY = "offset-only" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_added.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_added.rb new file mode 100644 index 00000000..a214f93a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_added.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # SSE message for organization.connection.added. + class EventStreamCloudEventOrgConnectionAdded < Internal::Types::Model + field :offset, -> { String }, optional: false, nullable: false + + field :event, -> { Auth0::Types::EventStreamCloudEventOrgConnectionAddedCloudEvent }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_added_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_added_cloud_event.rb new file mode 100644 index 00000000..d64dca35 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_added_cloud_event.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Represents an event that occurs when a connection is added to an organization. + class EventStreamCloudEventOrgConnectionAddedCloudEvent < Internal::Types::Model + field :specversion, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventOrgConnectionAddedCloudEventTypeEnum }, optional: false, nullable: false + + field :source, -> { String }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :time, -> { String }, optional: false, nullable: false + + field :data, -> { Auth0::Types::EventStreamCloudEventOrgConnectionAddedData }, optional: false, nullable: false + + field :a0tenant, -> { String }, optional: false, nullable: false + + field :a0stream, -> { String }, optional: false, nullable: false + + field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_added_cloud_event_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_added_cloud_event_type_enum.rb new file mode 100644 index 00000000..e173cedc --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_added_cloud_event_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgConnectionAddedCloudEventTypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION_CONNECTION_ADDED = "organization.connection.added" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_added_data.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_added_data.rb new file mode 100644 index 00000000..b9da226f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_added_data.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event payload. + class EventStreamCloudEventOrgConnectionAddedData < Internal::Types::Model + field :object, -> { Auth0::Types::EventStreamCloudEventOrgConnectionAddedObject }, optional: false, nullable: false + + field :context, -> { Auth0::Types::EventStreamCloudEventContext }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_added_object.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_added_object.rb new file mode 100644 index 00000000..cec349a5 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_added_object.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event content. + class EventStreamCloudEventOrgConnectionAddedObject < Internal::Types::Model + field :organization, -> { Auth0::Types::EventStreamCloudEventOrgConnectionAddedObjectOrganization }, optional: false, nullable: false + + field :connection, -> { Auth0::Types::EventStreamCloudEventOrgConnectionAddedObjectConnection }, optional: false, nullable: false + + field :assign_membership_on_login, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :is_signup_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_added_object_connection.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_added_object_connection.rb new file mode 100644 index 00000000..eee8fd4a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_added_object_connection.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class EventStreamCloudEventOrgConnectionAddedObjectConnection < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_added_object_organization.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_added_object_organization.rb new file mode 100644 index 00000000..2b935204 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_added_object_organization.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Information about an Auth0 Organization. + class EventStreamCloudEventOrgConnectionAddedObjectOrganization < Internal::Types::Model + field :name, -> { String }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_added_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_added_type_enum.rb new file mode 100644 index 00000000..7dd70cdc --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_added_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgConnectionAddedTypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION_CONNECTION_ADDED = "organization.connection.added" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_removed.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_removed.rb new file mode 100644 index 00000000..d201f3bc --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_removed.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # SSE message for organization.connection.removed. + class EventStreamCloudEventOrgConnectionRemoved < Internal::Types::Model + field :offset, -> { String }, optional: false, nullable: false + + field :event, -> { Auth0::Types::EventStreamCloudEventOrgConnectionRemovedCloudEvent }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_removed_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_removed_cloud_event.rb new file mode 100644 index 00000000..3e03558e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_removed_cloud_event.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Represents an event that occurs when a connection is removed from an organization. + class EventStreamCloudEventOrgConnectionRemovedCloudEvent < Internal::Types::Model + field :specversion, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventOrgConnectionRemovedCloudEventTypeEnum }, optional: false, nullable: false + + field :source, -> { String }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :time, -> { String }, optional: false, nullable: false + + field :data, -> { Auth0::Types::EventStreamCloudEventOrgConnectionRemovedData }, optional: false, nullable: false + + field :a0tenant, -> { String }, optional: false, nullable: false + + field :a0stream, -> { String }, optional: false, nullable: false + + field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_removed_cloud_event_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_removed_cloud_event_type_enum.rb new file mode 100644 index 00000000..afeff26d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_removed_cloud_event_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgConnectionRemovedCloudEventTypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION_CONNECTION_REMOVED = "organization.connection.removed" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_removed_data.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_removed_data.rb new file mode 100644 index 00000000..f935dc13 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_removed_data.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event payload. + class EventStreamCloudEventOrgConnectionRemovedData < Internal::Types::Model + field :object, -> { Auth0::Types::EventStreamCloudEventOrgConnectionRemovedObject }, optional: false, nullable: false + + field :context, -> { Auth0::Types::EventStreamCloudEventContext }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_removed_object.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_removed_object.rb new file mode 100644 index 00000000..9793bba5 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_removed_object.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event content. + class EventStreamCloudEventOrgConnectionRemovedObject < Internal::Types::Model + field :organization, -> { Auth0::Types::EventStreamCloudEventOrgConnectionRemovedObjectOrganization }, optional: false, nullable: false + + field :connection, -> { Auth0::Types::EventStreamCloudEventOrgConnectionRemovedObjectConnection }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_removed_object_connection.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_removed_object_connection.rb new file mode 100644 index 00000000..89db6a64 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_removed_object_connection.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class EventStreamCloudEventOrgConnectionRemovedObjectConnection < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_removed_object_organization.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_removed_object_organization.rb new file mode 100644 index 00000000..d8307cd6 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_removed_object_organization.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Information about an Auth0 Organization. + class EventStreamCloudEventOrgConnectionRemovedObjectOrganization < Internal::Types::Model + field :name, -> { String }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_removed_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_removed_type_enum.rb new file mode 100644 index 00000000..38958f06 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_removed_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgConnectionRemovedTypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION_CONNECTION_REMOVED = "organization.connection.removed" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_updated.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_updated.rb new file mode 100644 index 00000000..ec07f4b3 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_updated.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # SSE message for organization.connection.updated. + class EventStreamCloudEventOrgConnectionUpdated < Internal::Types::Model + field :offset, -> { String }, optional: false, nullable: false + + field :event, -> { Auth0::Types::EventStreamCloudEventOrgConnectionUpdatedCloudEvent }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_updated_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_cloud_event.rb new file mode 100644 index 00000000..3b8f3d9b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_cloud_event.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Represents an event that occurs when a organization connection is updated. + class EventStreamCloudEventOrgConnectionUpdatedCloudEvent < Internal::Types::Model + field :specversion, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventOrgConnectionUpdatedCloudEventTypeEnum }, optional: false, nullable: false + + field :source, -> { String }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :time, -> { String }, optional: false, nullable: false + + field :data, -> { Auth0::Types::EventStreamCloudEventOrgConnectionUpdatedData }, optional: false, nullable: false + + field :a0tenant, -> { String }, optional: false, nullable: false + + field :a0stream, -> { String }, optional: false, nullable: false + + field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_updated_cloud_event_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_cloud_event_type_enum.rb new file mode 100644 index 00000000..f91d751d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_cloud_event_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgConnectionUpdatedCloudEventTypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION_CONNECTION_UPDATED = "organization.connection.updated" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_updated_data.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_data.rb new file mode 100644 index 00000000..0fabcebb --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_data.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event payload. + class EventStreamCloudEventOrgConnectionUpdatedData < Internal::Types::Model + field :object, -> { Auth0::Types::EventStreamCloudEventOrgConnectionUpdatedObject }, optional: false, nullable: false + + field :context, -> { Auth0::Types::EventStreamCloudEventContext }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object.rb new file mode 100644 index 00000000..c4fc327c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event content. + class EventStreamCloudEventOrgConnectionUpdatedObject < Internal::Types::Model + field :organization, -> { Auth0::Types::EventStreamCloudEventOrgConnectionUpdatedObjectOrganization }, optional: false, nullable: false + + field :connection, -> { Auth0::Types::EventStreamCloudEventOrgConnectionUpdatedObjectConnection }, optional: false, nullable: false + + field :assign_membership_on_login, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :is_signup_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object_connection.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object_connection.rb new file mode 100644 index 00000000..609f69dc --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object_connection.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class EventStreamCloudEventOrgConnectionUpdatedObjectConnection < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object_organization.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object_organization.rb new file mode 100644 index 00000000..bfc28b68 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object_organization.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Information about an Auth0 Organization. + class EventStreamCloudEventOrgConnectionUpdatedObjectOrganization < Internal::Types::Model + field :name, -> { String }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_connection_updated_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_type_enum.rb new file mode 100644 index 00000000..86d7d9af --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgConnectionUpdatedTypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION_CONNECTION_UPDATED = "organization.connection.updated" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_created.rb b/lib/auth0/types/event_stream_cloud_event_org_created.rb new file mode 100644 index 00000000..8aefa12c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_created.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # SSE message for organization.created. + class EventStreamCloudEventOrgCreated < Internal::Types::Model + field :offset, -> { String }, optional: false, nullable: false + + field :event, -> { Auth0::Types::EventStreamCloudEventOrgCreatedCloudEvent }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_created_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_created_cloud_event.rb new file mode 100644 index 00000000..cb41f373 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_created_cloud_event.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Represents an event that occurs when an organization is created. + class EventStreamCloudEventOrgCreatedCloudEvent < Internal::Types::Model + field :specversion, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventOrgCreatedCloudEventTypeEnum }, optional: false, nullable: false + + field :source, -> { String }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :time, -> { String }, optional: false, nullable: false + + field :data, -> { Auth0::Types::EventStreamCloudEventOrgCreatedData }, optional: false, nullable: false + + field :a0tenant, -> { String }, optional: false, nullable: false + + field :a0stream, -> { String }, optional: false, nullable: false + + field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_created_cloud_event_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_created_cloud_event_type_enum.rb new file mode 100644 index 00000000..1a16f1dc --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_created_cloud_event_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgCreatedCloudEventTypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION_CREATED = "organization.created" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_created_data.rb b/lib/auth0/types/event_stream_cloud_event_org_created_data.rb new file mode 100644 index 00000000..8342801c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_created_data.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event payload. + class EventStreamCloudEventOrgCreatedData < Internal::Types::Model + field :object, -> { Auth0::Types::EventStreamCloudEventOrgCreatedObject }, optional: false, nullable: false + + field :context, -> { Auth0::Types::EventStreamCloudEventContext }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_created_object.rb b/lib/auth0/types/event_stream_cloud_event_org_created_object.rb new file mode 100644 index 00000000..4fe5ce45 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_created_object.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event content. + class EventStreamCloudEventOrgCreatedObject < Internal::Types::Model + field :name, -> { String }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :display_name, -> { String }, optional: true, nullable: false + + field :metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :branding, -> { Auth0::Types::EventStreamCloudEventOrgCreatedObjectBranding }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_created_object_branding.rb b/lib/auth0/types/event_stream_cloud_event_org_created_object_branding.rb new file mode 100644 index 00000000..1454fee8 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_created_object_branding.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The branding associated with the organization. + class EventStreamCloudEventOrgCreatedObjectBranding < Internal::Types::Model + field :logo_url, -> { String }, optional: true, nullable: false + + field :colors, -> { Auth0::Types::EventStreamCloudEventOrgCreatedObjectBrandingColors }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_created_object_branding_colors.rb b/lib/auth0/types/event_stream_cloud_event_org_created_object_branding_colors.rb new file mode 100644 index 00000000..5ffcf12b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_created_object_branding_colors.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Color scheme used to customize the login pages. + class EventStreamCloudEventOrgCreatedObjectBrandingColors < Internal::Types::Model + field :primary, -> { String }, optional: true, nullable: false + + field :page_background, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_created_object_metadata.rb b/lib/auth0/types/event_stream_cloud_event_org_created_object_metadata.rb new file mode 100644 index 00000000..fee612af --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_created_object_metadata.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgCreatedObjectMetadata + # EventStreamCloudEventOrgCreatedObjectMetadata is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_created_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_created_type_enum.rb new file mode 100644 index 00000000..68d63170 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_created_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgCreatedTypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION_CREATED = "organization.created" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_deleted.rb b/lib/auth0/types/event_stream_cloud_event_org_deleted.rb new file mode 100644 index 00000000..1fae23e7 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_deleted.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # SSE message for organization.deleted. + class EventStreamCloudEventOrgDeleted < Internal::Types::Model + field :offset, -> { String }, optional: false, nullable: false + + field :event, -> { Auth0::Types::EventStreamCloudEventOrgDeletedCloudEvent }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_deleted_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_deleted_cloud_event.rb new file mode 100644 index 00000000..52a10053 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_deleted_cloud_event.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Represents an event that occurs when an organization is deleted. + class EventStreamCloudEventOrgDeletedCloudEvent < Internal::Types::Model + field :specversion, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventOrgDeletedCloudEventTypeEnum }, optional: false, nullable: false + + field :source, -> { String }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :time, -> { String }, optional: false, nullable: false + + field :data, -> { Auth0::Types::EventStreamCloudEventOrgDeletedData }, optional: false, nullable: false + + field :a0tenant, -> { String }, optional: false, nullable: false + + field :a0stream, -> { String }, optional: false, nullable: false + + field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_deleted_cloud_event_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_deleted_cloud_event_type_enum.rb new file mode 100644 index 00000000..3fcca288 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_deleted_cloud_event_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgDeletedCloudEventTypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION_DELETED = "organization.deleted" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_deleted_data.rb b/lib/auth0/types/event_stream_cloud_event_org_deleted_data.rb new file mode 100644 index 00000000..17077480 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_deleted_data.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event payload. + class EventStreamCloudEventOrgDeletedData < Internal::Types::Model + field :object, -> { Auth0::Types::EventStreamCloudEventOrgDeletedObject }, optional: false, nullable: false + + field :context, -> { Auth0::Types::EventStreamCloudEventContext }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_deleted_object.rb b/lib/auth0/types/event_stream_cloud_event_org_deleted_object.rb new file mode 100644 index 00000000..efdf7cf5 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_deleted_object.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event content. + class EventStreamCloudEventOrgDeletedObject < Internal::Types::Model + field :name, -> { String }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :display_name, -> { String }, optional: true, nullable: false + + field :metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_deleted_object_metadata.rb b/lib/auth0/types/event_stream_cloud_event_org_deleted_object_metadata.rb new file mode 100644 index 00000000..2e756358 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_deleted_object_metadata.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgDeletedObjectMetadata + # EventStreamCloudEventOrgDeletedObjectMetadata is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_deleted_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_deleted_type_enum.rb new file mode 100644 index 00000000..fb52266b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_deleted_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgDeletedTypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION_DELETED = "organization.deleted" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned.rb new file mode 100644 index 00000000..3169ee7c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # SSE message for organization.group.role.assigned. + class EventStreamCloudEventOrgGroupRoleAssigned < Internal::Types::Model + field :offset, -> { String }, optional: false, nullable: false + + field :event, -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleAssignedCloudEvent }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_cloud_event.rb new file mode 100644 index 00000000..ba948144 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_cloud_event.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Represents an event that occurs when a role is assigned to an organization group. + class EventStreamCloudEventOrgGroupRoleAssignedCloudEvent < Internal::Types::Model + field :specversion, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleAssignedCloudEventTypeEnum }, optional: false, nullable: false + + field :source, -> { String }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :time, -> { String }, optional: false, nullable: false + + field :data, -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleAssignedData }, optional: false, nullable: false + + field :a0tenant, -> { String }, optional: false, nullable: false + + field :a0stream, -> { String }, optional: false, nullable: false + + field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_cloud_event_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_cloud_event_type_enum.rb new file mode 100644 index 00000000..6ef719e3 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_cloud_event_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgGroupRoleAssignedCloudEventTypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION_GROUP_ROLE_ASSIGNED = "organization.group.role.assigned" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_data.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_data.rb new file mode 100644 index 00000000..befbb178 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_data.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event payload. + class EventStreamCloudEventOrgGroupRoleAssignedData < Internal::Types::Model + field :object, -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleAssignedObject }, optional: false, nullable: false + + field :context, -> { Auth0::Types::EventStreamCloudEventContext }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object.rb new file mode 100644 index 00000000..8e893288 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event content. + class EventStreamCloudEventOrgGroupRoleAssignedObject < Internal::Types::Model + field :organization, -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleAssignedObjectOrganization }, optional: false, nullable: false + + field :role, -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleAssignedObjectRole }, optional: false, nullable: false + + field :group, -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleAssignedObjectGroup }, optional: false, nullable: false + + field :created_at, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group.rb new file mode 100644 index 00000000..95a01b7f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The group the role is assigned to. + class EventStreamCloudEventOrgGroupRoleAssignedObjectGroup < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleAssignedObjectGroup0 } + + member -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleAssignedObjectGroup1 } + + member -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleAssignedObjectGroup2 } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group0.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group0.rb new file mode 100644 index 00000000..4236a5e3 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group0.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Reference to a connection group + class EventStreamCloudEventOrgGroupRoleAssignedObjectGroup0 < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :external_id, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleAssignedObjectGroup0TypeEnum }, optional: false, nullable: false + + field :connection_id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group0type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group0type_enum.rb new file mode 100644 index 00000000..c9191ddd --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group0type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgGroupRoleAssignedObjectGroup0TypeEnum + extend Auth0::Internal::Types::Enum + + CONNECTION = "connection" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group1.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group1.rb new file mode 100644 index 00000000..d97ca609 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group1.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Reference to an organization group + class EventStreamCloudEventOrgGroupRoleAssignedObjectGroup1 < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :external_id, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleAssignedObjectGroup1TypeEnum }, optional: false, nullable: false + + field :organization_id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group1type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group1type_enum.rb new file mode 100644 index 00000000..0c6d1b81 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group1type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgGroupRoleAssignedObjectGroup1TypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION = "organization" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group2.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group2.rb new file mode 100644 index 00000000..6c7d9ff7 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group2.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Reference to a tenant group + class EventStreamCloudEventOrgGroupRoleAssignedObjectGroup2 < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :external_id, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleAssignedObjectGroup2TypeEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group2type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group2type_enum.rb new file mode 100644 index 00000000..f879ea94 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group2type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgGroupRoleAssignedObjectGroup2TypeEnum + extend Auth0::Internal::Types::Enum + + TENANT = "tenant" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_organization.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_organization.rb new file mode 100644 index 00000000..eea3643c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_organization.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The organization the group role is assigned in. + class EventStreamCloudEventOrgGroupRoleAssignedObjectOrganization < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_role.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_role.rb new file mode 100644 index 00000000..9c4e2dce --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_role.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The role assigned to the group in the organization. + class EventStreamCloudEventOrgGroupRoleAssignedObjectRole < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_type_enum.rb new file mode 100644 index 00000000..b01b3d6a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgGroupRoleAssignedTypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION_GROUP_ROLE_ASSIGNED = "organization.group.role.assigned" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted.rb new file mode 100644 index 00000000..2b3cfb8e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # SSE message for organization.group.role.deleted. + class EventStreamCloudEventOrgGroupRoleDeleted < Internal::Types::Model + field :offset, -> { String }, optional: false, nullable: false + + field :event, -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleDeletedCloudEvent }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_cloud_event.rb new file mode 100644 index 00000000..80c18cfb --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_cloud_event.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Represents an event that occurs when a role is removed from an organization group. + class EventStreamCloudEventOrgGroupRoleDeletedCloudEvent < Internal::Types::Model + field :specversion, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleDeletedCloudEventTypeEnum }, optional: false, nullable: false + + field :source, -> { String }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :time, -> { String }, optional: false, nullable: false + + field :data, -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleDeletedData }, optional: false, nullable: false + + field :a0tenant, -> { String }, optional: false, nullable: false + + field :a0stream, -> { String }, optional: false, nullable: false + + field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_cloud_event_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_cloud_event_type_enum.rb new file mode 100644 index 00000000..9d53e9fb --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_cloud_event_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgGroupRoleDeletedCloudEventTypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION_GROUP_ROLE_DELETED = "organization.group.role.deleted" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_data.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_data.rb new file mode 100644 index 00000000..a1c2590f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_data.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event payload. + class EventStreamCloudEventOrgGroupRoleDeletedData < Internal::Types::Model + field :object, -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleDeletedObject }, optional: false, nullable: false + + field :context, -> { Auth0::Types::EventStreamCloudEventContext }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object.rb new file mode 100644 index 00000000..c06c1b69 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event content. + class EventStreamCloudEventOrgGroupRoleDeletedObject < Internal::Types::Model + field :organization, -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleDeletedObjectOrganization }, optional: false, nullable: false + + field :role, -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleDeletedObjectRole }, optional: false, nullable: false + + field :group, -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleDeletedObjectGroup }, optional: false, nullable: false + + field :deleted_at, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group.rb new file mode 100644 index 00000000..9475e898 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The group the role is removed from. + class EventStreamCloudEventOrgGroupRoleDeletedObjectGroup < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleDeletedObjectGroup0 } + + member -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleDeletedObjectGroup1 } + + member -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleDeletedObjectGroup2 } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group0.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group0.rb new file mode 100644 index 00000000..131706f3 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group0.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Reference to a connection group + class EventStreamCloudEventOrgGroupRoleDeletedObjectGroup0 < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :external_id, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleDeletedObjectGroup0TypeEnum }, optional: false, nullable: false + + field :connection_id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group0type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group0type_enum.rb new file mode 100644 index 00000000..2e5ca8bf --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group0type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgGroupRoleDeletedObjectGroup0TypeEnum + extend Auth0::Internal::Types::Enum + + CONNECTION = "connection" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group1.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group1.rb new file mode 100644 index 00000000..22ffddd3 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group1.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Reference to an organization group + class EventStreamCloudEventOrgGroupRoleDeletedObjectGroup1 < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :external_id, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleDeletedObjectGroup1TypeEnum }, optional: false, nullable: false + + field :organization_id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group1type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group1type_enum.rb new file mode 100644 index 00000000..e38cfa76 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group1type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgGroupRoleDeletedObjectGroup1TypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION = "organization" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group2.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group2.rb new file mode 100644 index 00000000..5f1c9df2 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group2.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Reference to a tenant group + class EventStreamCloudEventOrgGroupRoleDeletedObjectGroup2 < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :external_id, -> { String }, optional: true, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleDeletedObjectGroup2TypeEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group2type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group2type_enum.rb new file mode 100644 index 00000000..06686e54 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group2type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgGroupRoleDeletedObjectGroup2TypeEnum + extend Auth0::Internal::Types::Enum + + TENANT = "tenant" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_organization.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_organization.rb new file mode 100644 index 00000000..b9ea79e4 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_organization.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The organization the group role is removed from. + class EventStreamCloudEventOrgGroupRoleDeletedObjectOrganization < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_role.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_role.rb new file mode 100644 index 00000000..b524dcb2 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_role.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The role removed from the group. + class EventStreamCloudEventOrgGroupRoleDeletedObjectRole < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_type_enum.rb new file mode 100644 index 00000000..9c5c61b3 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgGroupRoleDeletedTypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION_GROUP_ROLE_DELETED = "organization.group.role.deleted" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_added.rb b/lib/auth0/types/event_stream_cloud_event_org_member_added.rb new file mode 100644 index 00000000..b6e571ce --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_added.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # SSE message for organization.member.added. + class EventStreamCloudEventOrgMemberAdded < Internal::Types::Model + field :offset, -> { String }, optional: false, nullable: false + + field :event, -> { Auth0::Types::EventStreamCloudEventOrgMemberAddedCloudEvent }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_added_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_member_added_cloud_event.rb new file mode 100644 index 00000000..8654ca74 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_added_cloud_event.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Represents an event that occurs when a member is added to an organization. + class EventStreamCloudEventOrgMemberAddedCloudEvent < Internal::Types::Model + field :specversion, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventOrgMemberAddedCloudEventTypeEnum }, optional: false, nullable: false + + field :source, -> { String }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :time, -> { String }, optional: false, nullable: false + + field :data, -> { Auth0::Types::EventStreamCloudEventOrgMemberAddedData }, optional: false, nullable: false + + field :a0tenant, -> { String }, optional: false, nullable: false + + field :a0stream, -> { String }, optional: false, nullable: false + + field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_added_cloud_event_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_member_added_cloud_event_type_enum.rb new file mode 100644 index 00000000..2147d495 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_added_cloud_event_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgMemberAddedCloudEventTypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION_MEMBER_ADDED = "organization.member.added" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_added_data.rb b/lib/auth0/types/event_stream_cloud_event_org_member_added_data.rb new file mode 100644 index 00000000..6e1663e1 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_added_data.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event payload. + class EventStreamCloudEventOrgMemberAddedData < Internal::Types::Model + field :object, -> { Auth0::Types::EventStreamCloudEventOrgMemberAddedObject }, optional: false, nullable: false + + field :context, -> { Auth0::Types::EventStreamCloudEventContext }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_added_object.rb b/lib/auth0/types/event_stream_cloud_event_org_member_added_object.rb new file mode 100644 index 00000000..50db4c69 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_added_object.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event content. + class EventStreamCloudEventOrgMemberAddedObject < Internal::Types::Model + field :organization, -> { Auth0::Types::EventStreamCloudEventOrgMemberAddedObjectOrganization }, optional: false, nullable: false + + field :user, -> { Auth0::Types::EventStreamCloudEventOrgMemberAddedObjectUser }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_added_object_organization.rb b/lib/auth0/types/event_stream_cloud_event_org_member_added_object_organization.rb new file mode 100644 index 00000000..5de4b86c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_added_object_organization.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The organization the member belongs to. + class EventStreamCloudEventOrgMemberAddedObjectOrganization < Internal::Types::Model + field :name, -> { String }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_added_object_user.rb b/lib/auth0/types/event_stream_cloud_event_org_member_added_object_user.rb new file mode 100644 index 00000000..0baf1207 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_added_object_user.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The user that is a member of the organization. + class EventStreamCloudEventOrgMemberAddedObjectUser < Internal::Types::Model + field :user_id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_added_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_member_added_type_enum.rb new file mode 100644 index 00000000..8836b72a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_added_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgMemberAddedTypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION_MEMBER_ADDED = "organization.member.added" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_deleted.rb b/lib/auth0/types/event_stream_cloud_event_org_member_deleted.rb new file mode 100644 index 00000000..75cb2cd7 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_deleted.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # SSE message for organization.member.deleted. + class EventStreamCloudEventOrgMemberDeleted < Internal::Types::Model + field :offset, -> { String }, optional: false, nullable: false + + field :event, -> { Auth0::Types::EventStreamCloudEventOrgMemberDeletedCloudEvent }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_deleted_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_member_deleted_cloud_event.rb new file mode 100644 index 00000000..dc6b3b82 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_deleted_cloud_event.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Represents an event that occurs when a member is removed from an organization. + class EventStreamCloudEventOrgMemberDeletedCloudEvent < Internal::Types::Model + field :specversion, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventOrgMemberDeletedCloudEventTypeEnum }, optional: false, nullable: false + + field :source, -> { String }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :time, -> { String }, optional: false, nullable: false + + field :data, -> { Auth0::Types::EventStreamCloudEventOrgMemberDeletedData }, optional: false, nullable: false + + field :a0tenant, -> { String }, optional: false, nullable: false + + field :a0stream, -> { String }, optional: false, nullable: false + + field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_deleted_cloud_event_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_member_deleted_cloud_event_type_enum.rb new file mode 100644 index 00000000..aff17035 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_deleted_cloud_event_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgMemberDeletedCloudEventTypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION_MEMBER_DELETED = "organization.member.deleted" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_deleted_data.rb b/lib/auth0/types/event_stream_cloud_event_org_member_deleted_data.rb new file mode 100644 index 00000000..41f19c9d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_deleted_data.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event payload. + class EventStreamCloudEventOrgMemberDeletedData < Internal::Types::Model + field :object, -> { Auth0::Types::EventStreamCloudEventOrgMemberDeletedObject }, optional: false, nullable: false + + field :context, -> { Auth0::Types::EventStreamCloudEventContext }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_deleted_object.rb b/lib/auth0/types/event_stream_cloud_event_org_member_deleted_object.rb new file mode 100644 index 00000000..64e00747 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_deleted_object.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event content. + class EventStreamCloudEventOrgMemberDeletedObject < Internal::Types::Model + field :organization, -> { Auth0::Types::EventStreamCloudEventOrgMemberDeletedObjectOrganization }, optional: false, nullable: false + + field :user, -> { Auth0::Types::EventStreamCloudEventOrgMemberDeletedObjectUser }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_deleted_object_organization.rb b/lib/auth0/types/event_stream_cloud_event_org_member_deleted_object_organization.rb new file mode 100644 index 00000000..d10b24c5 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_deleted_object_organization.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The organization the member belongs to. + class EventStreamCloudEventOrgMemberDeletedObjectOrganization < Internal::Types::Model + field :name, -> { String }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_deleted_object_user.rb b/lib/auth0/types/event_stream_cloud_event_org_member_deleted_object_user.rb new file mode 100644 index 00000000..2c16f062 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_deleted_object_user.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The user that is a member of the organization. + class EventStreamCloudEventOrgMemberDeletedObjectUser < Internal::Types::Model + field :user_id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_deleted_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_member_deleted_type_enum.rb new file mode 100644 index 00000000..e235b5bb --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_deleted_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgMemberDeletedTypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION_MEMBER_DELETED = "organization.member.deleted" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned.rb b/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned.rb new file mode 100644 index 00000000..78810e24 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # SSE message for organization.member.role.assigned. + class EventStreamCloudEventOrgMemberRoleAssigned < Internal::Types::Model + field :offset, -> { String }, optional: false, nullable: false + + field :event, -> { Auth0::Types::EventStreamCloudEventOrgMemberRoleAssignedCloudEvent }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_cloud_event.rb new file mode 100644 index 00000000..10daed64 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_cloud_event.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Represents an event that occurs when a member is added to an organization. + class EventStreamCloudEventOrgMemberRoleAssignedCloudEvent < Internal::Types::Model + field :specversion, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventOrgMemberRoleAssignedCloudEventTypeEnum }, optional: false, nullable: false + + field :source, -> { String }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :time, -> { String }, optional: false, nullable: false + + field :data, -> { Auth0::Types::EventStreamCloudEventOrgMemberRoleAssignedData }, optional: false, nullable: false + + field :a0tenant, -> { String }, optional: false, nullable: false + + field :a0stream, -> { String }, optional: false, nullable: false + + field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_cloud_event_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_cloud_event_type_enum.rb new file mode 100644 index 00000000..bccebf74 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_cloud_event_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgMemberRoleAssignedCloudEventTypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION_MEMBER_ROLE_ASSIGNED = "organization.member.role.assigned" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_data.rb b/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_data.rb new file mode 100644 index 00000000..57d7774e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_data.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event payload. + class EventStreamCloudEventOrgMemberRoleAssignedData < Internal::Types::Model + field :object, -> { Auth0::Types::EventStreamCloudEventOrgMemberRoleAssignedObject }, optional: false, nullable: false + + field :context, -> { Auth0::Types::EventStreamCloudEventContext }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_object.rb b/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_object.rb new file mode 100644 index 00000000..e1f19763 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_object.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event content. + class EventStreamCloudEventOrgMemberRoleAssignedObject < Internal::Types::Model + field :organization, -> { Auth0::Types::EventStreamCloudEventOrgMemberRoleAssignedObjectOrganization }, optional: false, nullable: false + + field :user, -> { Auth0::Types::EventStreamCloudEventOrgMemberRoleAssignedObjectUser }, optional: false, nullable: false + + field :role, -> { Auth0::Types::EventStreamCloudEventOrgMemberRoleAssignedObjectRole }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_object_organization.rb b/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_object_organization.rb new file mode 100644 index 00000000..4a0fa457 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_object_organization.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The organization the member belongs to. + class EventStreamCloudEventOrgMemberRoleAssignedObjectOrganization < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_object_role.rb b/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_object_role.rb new file mode 100644 index 00000000..3d6ed3b8 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_object_role.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The role assigned to the user in the organization. + class EventStreamCloudEventOrgMemberRoleAssignedObjectRole < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_object_user.rb b/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_object_user.rb new file mode 100644 index 00000000..63d6c214 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_object_user.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The user that is a member of the organization. + class EventStreamCloudEventOrgMemberRoleAssignedObjectUser < Internal::Types::Model + field :user_id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_type_enum.rb new file mode 100644 index 00000000..ac229212 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgMemberRoleAssignedTypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION_MEMBER_ROLE_ASSIGNED = "organization.member.role.assigned" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted.rb b/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted.rb new file mode 100644 index 00000000..4119196d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # SSE message for organization.member.role.deleted. + class EventStreamCloudEventOrgMemberRoleDeleted < Internal::Types::Model + field :offset, -> { String }, optional: false, nullable: false + + field :event, -> { Auth0::Types::EventStreamCloudEventOrgMemberRoleDeletedCloudEvent }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_cloud_event.rb new file mode 100644 index 00000000..61a2e649 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_cloud_event.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Represents an event that occurs when a member is removed from an organization. + class EventStreamCloudEventOrgMemberRoleDeletedCloudEvent < Internal::Types::Model + field :specversion, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventOrgMemberRoleDeletedCloudEventTypeEnum }, optional: false, nullable: false + + field :source, -> { String }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :time, -> { String }, optional: false, nullable: false + + field :data, -> { Auth0::Types::EventStreamCloudEventOrgMemberRoleDeletedData }, optional: false, nullable: false + + field :a0tenant, -> { String }, optional: false, nullable: false + + field :a0stream, -> { String }, optional: false, nullable: false + + field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_cloud_event_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_cloud_event_type_enum.rb new file mode 100644 index 00000000..92729a60 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_cloud_event_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgMemberRoleDeletedCloudEventTypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION_MEMBER_ROLE_DELETED = "organization.member.role.deleted" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_data.rb b/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_data.rb new file mode 100644 index 00000000..5cacf20b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_data.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event payload. + class EventStreamCloudEventOrgMemberRoleDeletedData < Internal::Types::Model + field :object, -> { Auth0::Types::EventStreamCloudEventOrgMemberRoleDeletedObject }, optional: false, nullable: false + + field :context, -> { Auth0::Types::EventStreamCloudEventContext }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_object.rb b/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_object.rb new file mode 100644 index 00000000..ca76aa28 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_object.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event content. + class EventStreamCloudEventOrgMemberRoleDeletedObject < Internal::Types::Model + field :organization, -> { Auth0::Types::EventStreamCloudEventOrgMemberRoleDeletedObjectOrganization }, optional: false, nullable: false + + field :user, -> { Auth0::Types::EventStreamCloudEventOrgMemberRoleDeletedObjectUser }, optional: false, nullable: false + + field :role, -> { Auth0::Types::EventStreamCloudEventOrgMemberRoleDeletedObjectRole }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_object_organization.rb b/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_object_organization.rb new file mode 100644 index 00000000..183a1fb2 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_object_organization.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The organization the member belongs to. + class EventStreamCloudEventOrgMemberRoleDeletedObjectOrganization < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_object_role.rb b/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_object_role.rb new file mode 100644 index 00000000..375da443 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_object_role.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The role assigned to the user in the organization. + class EventStreamCloudEventOrgMemberRoleDeletedObjectRole < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :name, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_object_user.rb b/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_object_user.rb new file mode 100644 index 00000000..7d4e35dc --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_object_user.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The user that is a member of the organization. + class EventStreamCloudEventOrgMemberRoleDeletedObjectUser < Internal::Types::Model + field :user_id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_type_enum.rb new file mode 100644 index 00000000..8641caf1 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgMemberRoleDeletedTypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION_MEMBER_ROLE_DELETED = "organization.member.role.deleted" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_updated.rb b/lib/auth0/types/event_stream_cloud_event_org_updated.rb new file mode 100644 index 00000000..11f43fc0 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_updated.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # SSE message for organization.updated. + class EventStreamCloudEventOrgUpdated < Internal::Types::Model + field :offset, -> { String }, optional: false, nullable: false + + field :event, -> { Auth0::Types::EventStreamCloudEventOrgUpdatedCloudEvent }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_updated_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_org_updated_cloud_event.rb new file mode 100644 index 00000000..6f086d33 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_updated_cloud_event.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Represents an event that occurs when an organization is updated. + class EventStreamCloudEventOrgUpdatedCloudEvent < Internal::Types::Model + field :specversion, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventOrgUpdatedCloudEventTypeEnum }, optional: false, nullable: false + + field :source, -> { String }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :time, -> { String }, optional: false, nullable: false + + field :data, -> { Auth0::Types::EventStreamCloudEventOrgUpdatedData }, optional: false, nullable: false + + field :a0tenant, -> { String }, optional: false, nullable: false + + field :a0stream, -> { String }, optional: false, nullable: false + + field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_updated_cloud_event_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_updated_cloud_event_type_enum.rb new file mode 100644 index 00000000..465bb071 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_updated_cloud_event_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgUpdatedCloudEventTypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION_UPDATED = "organization.updated" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_updated_data.rb b/lib/auth0/types/event_stream_cloud_event_org_updated_data.rb new file mode 100644 index 00000000..26cbc5aa --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_updated_data.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event payload. + class EventStreamCloudEventOrgUpdatedData < Internal::Types::Model + field :object, -> { Auth0::Types::EventStreamCloudEventOrgUpdatedObject }, optional: false, nullable: false + + field :context, -> { Auth0::Types::EventStreamCloudEventContext }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_updated_object.rb b/lib/auth0/types/event_stream_cloud_event_org_updated_object.rb new file mode 100644 index 00000000..94d53e39 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_updated_object.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event content. + class EventStreamCloudEventOrgUpdatedObject < Internal::Types::Model + field :name, -> { String }, optional: true, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :display_name, -> { String }, optional: true, nullable: false + + field :metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :branding, -> { Auth0::Types::EventStreamCloudEventOrgUpdatedObjectBranding }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_updated_object_branding.rb b/lib/auth0/types/event_stream_cloud_event_org_updated_object_branding.rb new file mode 100644 index 00000000..5ec594b1 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_updated_object_branding.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The branding associated with the organization. + class EventStreamCloudEventOrgUpdatedObjectBranding < Internal::Types::Model + field :logo_url, -> { String }, optional: true, nullable: false + + field :colors, -> { Auth0::Types::EventStreamCloudEventOrgUpdatedObjectBrandingColors }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_updated_object_branding_colors.rb b/lib/auth0/types/event_stream_cloud_event_org_updated_object_branding_colors.rb new file mode 100644 index 00000000..d54e6a56 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_updated_object_branding_colors.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Color scheme used to customize the login pages. + class EventStreamCloudEventOrgUpdatedObjectBrandingColors < Internal::Types::Model + field :primary, -> { String }, optional: true, nullable: false + + field :page_background, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_updated_object_metadata.rb b/lib/auth0/types/event_stream_cloud_event_org_updated_object_metadata.rb new file mode 100644 index 00000000..5bc8678b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_updated_object_metadata.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgUpdatedObjectMetadata + # EventStreamCloudEventOrgUpdatedObjectMetadata is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_org_updated_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_org_updated_type_enum.rb new file mode 100644 index 00000000..fbba8a46 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_updated_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventOrgUpdatedTypeEnum + extend Auth0::Internal::Types::Enum + + ORGANIZATION_UPDATED = "organization.updated" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created.rb b/lib/auth0/types/event_stream_cloud_event_user_created.rb new file mode 100644 index 00000000..a2432af2 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # SSE message for user.created. + class EventStreamCloudEventUserCreated < Internal::Types::Model + field :offset, -> { String }, optional: false, nullable: false + + field :event, -> { Auth0::Types::EventStreamCloudEventUserCreatedCloudEvent }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_user_created_cloud_event.rb new file mode 100644 index 00000000..c8f31af5 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_cloud_event.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Represents an event that occurs when a user is created. + class EventStreamCloudEventUserCreatedCloudEvent < Internal::Types::Model + field :specversion, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventUserCreatedCloudEventTypeEnum }, optional: false, nullable: false + + field :source, -> { String }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :time, -> { String }, optional: false, nullable: false + + field :data, -> { Auth0::Types::EventStreamCloudEventUserCreatedData }, optional: false, nullable: false + + field :a0tenant, -> { String }, optional: false, nullable: false + + field :a0stream, -> { String }, optional: false, nullable: false + + field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_cloud_event_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_created_cloud_event_type_enum.rb new file mode 100644 index 00000000..64f0c794 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_cloud_event_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserCreatedCloudEventTypeEnum + extend Auth0::Internal::Types::Enum + + USER_CREATED = "user.created" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_data.rb b/lib/auth0/types/event_stream_cloud_event_user_created_data.rb new file mode 100644 index 00000000..8888ac31 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_data.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event payload. + class EventStreamCloudEventUserCreatedData < Internal::Types::Model + field :object, -> { Auth0::Types::EventStreamCloudEventUserCreatedObject }, optional: false, nullable: false + + field :context, -> { Auth0::Types::EventStreamCloudEventContext }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object.rb new file mode 100644 index 00000000..e897010d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object.rb @@ -0,0 +1,50 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event content. + class EventStreamCloudEventUserCreatedObject < Internal::Types::Model + field :user_id, -> { String }, optional: false, nullable: false + + field :email, -> { String }, optional: true, nullable: false + + field :email_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :username, -> { String }, optional: true, nullable: false + + field :phone_number, -> { String }, optional: true, nullable: false + + field :phone_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :created_at, -> { String }, optional: false, nullable: false + + field :updated_at, -> { String }, optional: false, nullable: false + + field :identities, -> { Internal::Types::Array[Auth0::Types::EventStreamCloudEventUserCreatedObjectIdentitiesItem] }, optional: false, nullable: false + + field :app_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :user_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :picture, -> { String }, optional: true, nullable: false + + field :name, -> { String }, optional: true, nullable: false + + field :nickname, -> { String }, optional: true, nullable: false + + field :multifactor, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :last_ip, -> { String }, optional: true, nullable: false + + field :last_login, -> { String }, optional: true, nullable: false + + field :logins_count, -> { Integer }, optional: true, nullable: false + + field :blocked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :given_name, -> { String }, optional: true, nullable: false + + field :family_name, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object_app_metadata.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object_app_metadata.rb new file mode 100644 index 00000000..8dd190bd --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_app_metadata.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserCreatedObjectAppMetadata + # EventStreamCloudEventUserCreatedObjectAppMetadata is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item.rb new file mode 100644 index 00000000..37166894 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item.rb @@ -0,0 +1,20 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Identity object when accounts are linked. + class EventStreamCloudEventUserCreatedObjectIdentitiesItem < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { Auth0::Types::EventStreamCloudEventUserCreatedObjectIdentitiesItemCustom } + + member -> { Auth0::Types::EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase } + + member -> { Auth0::Types::EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise } + + member -> { Auth0::Types::EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless } + + member -> { Auth0::Types::EventStreamCloudEventUserCreatedObjectIdentitiesItemSocial } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_custom.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_custom.rb new file mode 100644 index 00000000..79279584 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_custom.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The identity object for custom identity providers. + class EventStreamCloudEventUserCreatedObjectIdentitiesItemCustom < Internal::Types::Model + field :connection, -> { String }, optional: false, nullable: false + + field :user_id, -> { Auth0::Types::EventStreamCloudEventUserCreatedObjectIdentitiesItemCustomUserID }, optional: false, nullable: false + + field :profile_data, -> { Auth0::Types::EventStreamCloudEventUserCreatedObjectIdentitiesItemCustomProfileData }, optional: true, nullable: false, api_name: "profileData" + + field :provider, -> { Auth0::Types::EventStreamCloudEventUserCreatedObjectIdentitiesItemCustomProviderEnum }, optional: false, nullable: false + + field :is_social, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isSocial" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_custom_is_social_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_custom_is_social_enum.rb new file mode 100644 index 00000000..867c68d5 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_custom_is_social_enum.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserCreatedObjectIdentitiesItemCustomIsSocialEnum + # EventStreamCloudEventUserCreatedObjectIdentitiesItemCustomIsSocialEnum is an alias for Boolean + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_custom_profile_data.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_custom_profile_data.rb new file mode 100644 index 00000000..413d6d27 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_custom_profile_data.rb @@ -0,0 +1,24 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Profile data for the user. + class EventStreamCloudEventUserCreatedObjectIdentitiesItemCustomProfileData < Internal::Types::Model + field :email, -> { String }, optional: true, nullable: false + + field :email_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :name, -> { String }, optional: true, nullable: false + + field :username, -> { String }, optional: true, nullable: false + + field :given_name, -> { String }, optional: true, nullable: false + + field :family_name, -> { String }, optional: true, nullable: false + + field :phone_number, -> { String }, optional: true, nullable: false + + field :phone_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_custom_provider_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_custom_provider_enum.rb new file mode 100644 index 00000000..779057ef --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_custom_provider_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserCreatedObjectIdentitiesItemCustomProviderEnum + extend Auth0::Internal::Types::Enum + + CUSTOM = "custom" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_custom_user_id.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_custom_user_id.rb new file mode 100644 index 00000000..ca1cf21d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_custom_user_id.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The IDP-specific identifer for the user. + class EventStreamCloudEventUserCreatedObjectIdentitiesItemCustomUserID < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { String } + + member -> { Integer } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_database.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_database.rb new file mode 100644 index 00000000..15d4dc6a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_database.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The identity object for database identity providers. + class EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabase < Internal::Types::Model + field :connection, -> { String }, optional: false, nullable: false + + field :user_id, -> { Auth0::Types::EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabaseUserID }, optional: false, nullable: false + + field :profile_data, -> { Auth0::Types::EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabaseProfileData }, optional: true, nullable: false, api_name: "profileData" + + field :provider, -> { Auth0::Types::EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabaseProviderEnum }, optional: false, nullable: false + + field :is_social, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isSocial" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_database_is_social_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_database_is_social_enum.rb new file mode 100644 index 00000000..3b87046f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_database_is_social_enum.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabaseIsSocialEnum + # EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabaseIsSocialEnum is an alias for Boolean + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_database_profile_data.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_database_profile_data.rb new file mode 100644 index 00000000..71b53222 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_database_profile_data.rb @@ -0,0 +1,24 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Profile data for the user. + class EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabaseProfileData < Internal::Types::Model + field :email, -> { String }, optional: true, nullable: false + + field :email_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :name, -> { String }, optional: true, nullable: false + + field :username, -> { String }, optional: true, nullable: false + + field :given_name, -> { String }, optional: true, nullable: false + + field :family_name, -> { String }, optional: true, nullable: false + + field :phone_number, -> { String }, optional: true, nullable: false + + field :phone_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_database_provider_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_database_provider_enum.rb new file mode 100644 index 00000000..50f73838 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_database_provider_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabaseProviderEnum + extend Auth0::Internal::Types::Enum + + AUTH0 = "auth0" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_database_user_id.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_database_user_id.rb new file mode 100644 index 00000000..82ddeedf --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_database_user_id.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The IDP-specific identifer for the user. + class EventStreamCloudEventUserCreatedObjectIdentitiesItemDatabaseUserID < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { String } + + member -> { Integer } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_enterprise.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_enterprise.rb new file mode 100644 index 00000000..cc7b9f94 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_enterprise.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The identity object for enterprise identity providers. + class EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterprise < Internal::Types::Model + field :connection, -> { String }, optional: false, nullable: false + + field :user_id, -> { Auth0::Types::EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterpriseUserID }, optional: false, nullable: false + + field :profile_data, -> { Auth0::Types::EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterpriseProfileData }, optional: true, nullable: false, api_name: "profileData" + + field :provider, -> { Auth0::Types::EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterpriseProviderEnum }, optional: false, nullable: false + + field :is_social, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isSocial" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_enterprise_is_social_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_enterprise_is_social_enum.rb new file mode 100644 index 00000000..4e9e996a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_enterprise_is_social_enum.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterpriseIsSocialEnum + # EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterpriseIsSocialEnum is an alias for Boolean + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_enterprise_profile_data.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_enterprise_profile_data.rb new file mode 100644 index 00000000..05fc3543 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_enterprise_profile_data.rb @@ -0,0 +1,24 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Profile data for the user. + class EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterpriseProfileData < Internal::Types::Model + field :email, -> { String }, optional: true, nullable: false + + field :email_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :name, -> { String }, optional: true, nullable: false + + field :username, -> { String }, optional: true, nullable: false + + field :given_name, -> { String }, optional: true, nullable: false + + field :family_name, -> { String }, optional: true, nullable: false + + field :phone_number, -> { String }, optional: true, nullable: false + + field :phone_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_enterprise_provider_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_enterprise_provider_enum.rb new file mode 100644 index 00000000..3d6f55a5 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_enterprise_provider_enum.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterpriseProviderEnum + extend Auth0::Internal::Types::Enum + + AD = "ad" + ADFS = "adfs" + GOOGLE_APPS = "google-apps" + IP = "ip" + OFFICE365 = "office365" + OIDC = "oidc" + OKTA = "okta" + PINGFEDERATE = "pingfederate" + SAMLP = "samlp" + SHAREPOINT = "sharepoint" + WAAD = "waad" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_enterprise_user_id.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_enterprise_user_id.rb new file mode 100644 index 00000000..1c08a19f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_enterprise_user_id.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The IDP-specific identifer for the user. + class EventStreamCloudEventUserCreatedObjectIdentitiesItemEnterpriseUserID < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { String } + + member -> { Integer } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_passwordless.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_passwordless.rb new file mode 100644 index 00000000..9b575c52 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_passwordless.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The identity object for passwordless identity providers. + class EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordless < Internal::Types::Model + field :connection, -> { String }, optional: false, nullable: false + + field :user_id, -> { Auth0::Types::EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordlessUserID }, optional: false, nullable: false + + field :profile_data, -> { Auth0::Types::EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordlessProfileData }, optional: true, nullable: false, api_name: "profileData" + + field :provider, -> { Auth0::Types::EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordlessProviderEnum }, optional: false, nullable: false + + field :is_social, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isSocial" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_passwordless_is_social_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_passwordless_is_social_enum.rb new file mode 100644 index 00000000..583e8df0 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_passwordless_is_social_enum.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordlessIsSocialEnum + # EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordlessIsSocialEnum is an alias for Boolean + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_passwordless_profile_data.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_passwordless_profile_data.rb new file mode 100644 index 00000000..7229e2ef --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_passwordless_profile_data.rb @@ -0,0 +1,24 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Profile data for the user. + class EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordlessProfileData < Internal::Types::Model + field :email, -> { String }, optional: true, nullable: false + + field :email_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :name, -> { String }, optional: true, nullable: false + + field :username, -> { String }, optional: true, nullable: false + + field :given_name, -> { String }, optional: true, nullable: false + + field :family_name, -> { String }, optional: true, nullable: false + + field :phone_number, -> { String }, optional: true, nullable: false + + field :phone_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_passwordless_provider_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_passwordless_provider_enum.rb new file mode 100644 index 00000000..8a66a30f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_passwordless_provider_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordlessProviderEnum + extend Auth0::Internal::Types::Enum + + EMAIL = "email" + SMS = "sms" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_passwordless_user_id.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_passwordless_user_id.rb new file mode 100644 index 00000000..d4af67eb --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_passwordless_user_id.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The IDP-specific identifer for the user. + class EventStreamCloudEventUserCreatedObjectIdentitiesItemPasswordlessUserID < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { String } + + member -> { Integer } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_social.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_social.rb new file mode 100644 index 00000000..074caea8 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_social.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The identity object for social identity providers. + class EventStreamCloudEventUserCreatedObjectIdentitiesItemSocial < Internal::Types::Model + field :connection, -> { String }, optional: false, nullable: false + + field :user_id, -> { Auth0::Types::EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialUserID }, optional: false, nullable: false + + field :profile_data, -> { Auth0::Types::EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialProfileData }, optional: true, nullable: false, api_name: "profileData" + + field :provider, -> { Auth0::Types::EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialProviderEnum }, optional: false, nullable: false + + field :is_social, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isSocial" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_social_is_social_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_social_is_social_enum.rb new file mode 100644 index 00000000..ae0ebf8d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_social_is_social_enum.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialIsSocialEnum + # EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialIsSocialEnum is an alias for Boolean + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_social_profile_data.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_social_profile_data.rb new file mode 100644 index 00000000..5e42d466 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_social_profile_data.rb @@ -0,0 +1,24 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Profile data for the user. + class EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialProfileData < Internal::Types::Model + field :email, -> { String }, optional: true, nullable: false + + field :email_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :name, -> { String }, optional: true, nullable: false + + field :username, -> { String }, optional: true, nullable: false + + field :given_name, -> { String }, optional: true, nullable: false + + field :family_name, -> { String }, optional: true, nullable: false + + field :phone_number, -> { String }, optional: true, nullable: false + + field :phone_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_social_provider_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_social_provider_enum.rb new file mode 100644 index 00000000..f519743e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_social_provider_enum.rb @@ -0,0 +1,49 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialProviderEnum + extend Auth0::Internal::Types::Enum + + AMAZON = "amazon" + APPLE = "apple" + DROPBOX = "dropbox" + BITBUCKET = "bitbucket" + AUTH0OIDC = "auth0-oidc" + BAIDU = "baidu" + BITLY = "bitly" + BOX = "box" + DACCOUNT = "daccount" + DWOLLA = "dwolla" + EVERNOTE_SANDBOX = "evernote-sandbox" + EVERNOTE = "evernote" + EXACT = "exact" + FACEBOOK = "facebook" + FITBIT = "fitbit" + GITHUB = "github" + GOOGLE_OAUTH2 = "google-oauth2" + INSTAGRAM = "instagram" + LINE = "line" + LINKEDIN = "linkedin" + OAUTH1 = "oauth1" + OAUTH2 = "oauth2" + PAYPAL = "paypal" + PAYPAL_SANDBOX = "paypal-sandbox" + PLANNINGCENTER = "planningcenter" + SALESFORCE_COMMUNITY = "salesforce-community" + SALESFORCE_SANDBOX = "salesforce-sandbox" + SALESFORCE = "salesforce" + SHOPIFY = "shopify" + SOUNDCLOUD = "soundcloud" + THIRTYSEVENSIGNALS = "thirtysevensignals" + TWITTER = "twitter" + UNTAPPED = "untapped" + VKONTAKTE = "vkontakte" + WEIBO = "weibo" + WINDOWSLIVE = "windowslive" + WORDPRESS = "wordpress" + YAHOO = "yahoo" + YANDEX = "yandex" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_social_user_id.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_social_user_id.rb new file mode 100644 index 00000000..b42987b3 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_social_user_id.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The IDP-specific identifer for the user. + class EventStreamCloudEventUserCreatedObjectIdentitiesItemSocialUserID < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { String } + + member -> { Integer } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_object_user_metadata.rb b/lib/auth0/types/event_stream_cloud_event_user_created_object_user_metadata.rb new file mode 100644 index 00000000..de6f1ce4 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_user_metadata.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserCreatedObjectUserMetadata + # EventStreamCloudEventUserCreatedObjectUserMetadata is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_created_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_created_type_enum.rb new file mode 100644 index 00000000..f54506e4 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserCreatedTypeEnum + extend Auth0::Internal::Types::Enum + + USER_CREATED = "user.created" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted.rb new file mode 100644 index 00000000..adc7a33f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # SSE message for user.deleted. + class EventStreamCloudEventUserDeleted < Internal::Types::Model + field :offset, -> { String }, optional: false, nullable: false + + field :event, -> { Auth0::Types::EventStreamCloudEventUserDeletedCloudEvent }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_cloud_event.rb new file mode 100644 index 00000000..13d534c5 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_cloud_event.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Represents an event that occurs when a user is deleted. + class EventStreamCloudEventUserDeletedCloudEvent < Internal::Types::Model + field :specversion, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventUserDeletedCloudEventTypeEnum }, optional: false, nullable: false + + field :source, -> { String }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :time, -> { String }, optional: false, nullable: false + + field :data, -> { Auth0::Types::EventStreamCloudEventUserDeletedData }, optional: false, nullable: false + + field :a0tenant, -> { String }, optional: false, nullable: false + + field :a0stream, -> { String }, optional: false, nullable: false + + field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_cloud_event_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_cloud_event_type_enum.rb new file mode 100644 index 00000000..8cdd5995 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_cloud_event_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserDeletedCloudEventTypeEnum + extend Auth0::Internal::Types::Enum + + USER_DELETED = "user.deleted" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_data.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_data.rb new file mode 100644 index 00000000..083e097b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_data.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event payload. + class EventStreamCloudEventUserDeletedData < Internal::Types::Model + field :object, -> { Auth0::Types::EventStreamCloudEventUserDeletedObject }, optional: false, nullable: false + + field :context, -> { Auth0::Types::EventStreamCloudEventContext }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object.rb new file mode 100644 index 00000000..63f39149 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object.rb @@ -0,0 +1,52 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event content. + class EventStreamCloudEventUserDeletedObject < Internal::Types::Model + field :user_id, -> { String }, optional: false, nullable: false + + field :email, -> { String }, optional: true, nullable: false + + field :email_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :username, -> { String }, optional: true, nullable: false + + field :phone_number, -> { String }, optional: true, nullable: false + + field :phone_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :created_at, -> { String }, optional: false, nullable: false + + field :updated_at, -> { String }, optional: false, nullable: false + + field :identities, -> { Internal::Types::Array[Auth0::Types::EventStreamCloudEventUserDeletedObjectIdentitiesItem] }, optional: false, nullable: false + + field :app_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :user_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :picture, -> { String }, optional: true, nullable: false + + field :name, -> { String }, optional: true, nullable: false + + field :nickname, -> { String }, optional: true, nullable: false + + field :multifactor, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :last_ip, -> { String }, optional: true, nullable: false + + field :last_login, -> { String }, optional: true, nullable: false + + field :logins_count, -> { Integer }, optional: true, nullable: false + + field :blocked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :given_name, -> { String }, optional: true, nullable: false + + field :family_name, -> { String }, optional: true, nullable: false + + field :deleted_at, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object_app_metadata.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_app_metadata.rb new file mode 100644 index 00000000..ca293a92 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_app_metadata.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserDeletedObjectAppMetadata + # EventStreamCloudEventUserDeletedObjectAppMetadata is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item.rb new file mode 100644 index 00000000..3809592e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item.rb @@ -0,0 +1,20 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Identity object when accounts are linked. + class EventStreamCloudEventUserDeletedObjectIdentitiesItem < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { Auth0::Types::EventStreamCloudEventUserDeletedObjectIdentitiesItemCustom } + + member -> { Auth0::Types::EventStreamCloudEventUserDeletedObjectIdentitiesItemDatabase } + + member -> { Auth0::Types::EventStreamCloudEventUserDeletedObjectIdentitiesItemEnterprise } + + member -> { Auth0::Types::EventStreamCloudEventUserDeletedObjectIdentitiesItemPasswordless } + + member -> { Auth0::Types::EventStreamCloudEventUserDeletedObjectIdentitiesItemSocial } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_custom.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_custom.rb new file mode 100644 index 00000000..c8d35fca --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_custom.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The identity object for custom identity providers. + class EventStreamCloudEventUserDeletedObjectIdentitiesItemCustom < Internal::Types::Model + field :connection, -> { String }, optional: false, nullable: false + + field :user_id, -> { Auth0::Types::EventStreamCloudEventUserDeletedObjectIdentitiesItemCustomUserID }, optional: false, nullable: false + + field :profile_data, -> { Auth0::Types::EventStreamCloudEventUserDeletedObjectIdentitiesItemCustomProfileData }, optional: true, nullable: false, api_name: "profileData" + + field :provider, -> { Auth0::Types::EventStreamCloudEventUserDeletedObjectIdentitiesItemCustomProviderEnum }, optional: false, nullable: false + + field :is_social, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isSocial" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_custom_is_social_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_custom_is_social_enum.rb new file mode 100644 index 00000000..441490d8 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_custom_is_social_enum.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserDeletedObjectIdentitiesItemCustomIsSocialEnum + # EventStreamCloudEventUserDeletedObjectIdentitiesItemCustomIsSocialEnum is an alias for Boolean + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_custom_profile_data.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_custom_profile_data.rb new file mode 100644 index 00000000..fa62674a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_custom_profile_data.rb @@ -0,0 +1,24 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Profile data for the user. + class EventStreamCloudEventUserDeletedObjectIdentitiesItemCustomProfileData < Internal::Types::Model + field :email, -> { String }, optional: true, nullable: false + + field :email_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :name, -> { String }, optional: true, nullable: false + + field :username, -> { String }, optional: true, nullable: false + + field :given_name, -> { String }, optional: true, nullable: false + + field :family_name, -> { String }, optional: true, nullable: false + + field :phone_number, -> { String }, optional: true, nullable: false + + field :phone_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_custom_provider_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_custom_provider_enum.rb new file mode 100644 index 00000000..3698ee49 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_custom_provider_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserDeletedObjectIdentitiesItemCustomProviderEnum + extend Auth0::Internal::Types::Enum + + CUSTOM = "custom" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_custom_user_id.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_custom_user_id.rb new file mode 100644 index 00000000..f528fa56 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_custom_user_id.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The IDP-specific identifer for the user. + class EventStreamCloudEventUserDeletedObjectIdentitiesItemCustomUserID < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { String } + + member -> { Integer } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_database.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_database.rb new file mode 100644 index 00000000..2c841ffd --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_database.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The identity object for database identity providers. + class EventStreamCloudEventUserDeletedObjectIdentitiesItemDatabase < Internal::Types::Model + field :connection, -> { String }, optional: false, nullable: false + + field :user_id, -> { Auth0::Types::EventStreamCloudEventUserDeletedObjectIdentitiesItemDatabaseUserID }, optional: false, nullable: false + + field :profile_data, -> { Auth0::Types::EventStreamCloudEventUserDeletedObjectIdentitiesItemDatabaseProfileData }, optional: true, nullable: false, api_name: "profileData" + + field :provider, -> { Auth0::Types::EventStreamCloudEventUserDeletedObjectIdentitiesItemDatabaseProviderEnum }, optional: false, nullable: false + + field :is_social, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isSocial" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_database_is_social_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_database_is_social_enum.rb new file mode 100644 index 00000000..bb04fff4 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_database_is_social_enum.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserDeletedObjectIdentitiesItemDatabaseIsSocialEnum + # EventStreamCloudEventUserDeletedObjectIdentitiesItemDatabaseIsSocialEnum is an alias for Boolean + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_database_profile_data.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_database_profile_data.rb new file mode 100644 index 00000000..d20fe1ea --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_database_profile_data.rb @@ -0,0 +1,24 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Profile data for the user. + class EventStreamCloudEventUserDeletedObjectIdentitiesItemDatabaseProfileData < Internal::Types::Model + field :email, -> { String }, optional: true, nullable: false + + field :email_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :name, -> { String }, optional: true, nullable: false + + field :username, -> { String }, optional: true, nullable: false + + field :given_name, -> { String }, optional: true, nullable: false + + field :family_name, -> { String }, optional: true, nullable: false + + field :phone_number, -> { String }, optional: true, nullable: false + + field :phone_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_database_provider_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_database_provider_enum.rb new file mode 100644 index 00000000..0b933682 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_database_provider_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserDeletedObjectIdentitiesItemDatabaseProviderEnum + extend Auth0::Internal::Types::Enum + + AUTH0 = "auth0" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_database_user_id.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_database_user_id.rb new file mode 100644 index 00000000..6bd1f7f4 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_database_user_id.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The IDP-specific identifer for the user. + class EventStreamCloudEventUserDeletedObjectIdentitiesItemDatabaseUserID < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { String } + + member -> { Integer } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_enterprise.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_enterprise.rb new file mode 100644 index 00000000..bd916231 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_enterprise.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The identity object for enterprise identity providers. + class EventStreamCloudEventUserDeletedObjectIdentitiesItemEnterprise < Internal::Types::Model + field :connection, -> { String }, optional: false, nullable: false + + field :user_id, -> { Auth0::Types::EventStreamCloudEventUserDeletedObjectIdentitiesItemEnterpriseUserID }, optional: false, nullable: false + + field :profile_data, -> { Auth0::Types::EventStreamCloudEventUserDeletedObjectIdentitiesItemEnterpriseProfileData }, optional: true, nullable: false, api_name: "profileData" + + field :provider, -> { Auth0::Types::EventStreamCloudEventUserDeletedObjectIdentitiesItemEnterpriseProviderEnum }, optional: false, nullable: false + + field :is_social, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isSocial" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_enterprise_is_social_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_enterprise_is_social_enum.rb new file mode 100644 index 00000000..f02be6da --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_enterprise_is_social_enum.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserDeletedObjectIdentitiesItemEnterpriseIsSocialEnum + # EventStreamCloudEventUserDeletedObjectIdentitiesItemEnterpriseIsSocialEnum is an alias for Boolean + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_enterprise_profile_data.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_enterprise_profile_data.rb new file mode 100644 index 00000000..cc628430 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_enterprise_profile_data.rb @@ -0,0 +1,24 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Profile data for the user. + class EventStreamCloudEventUserDeletedObjectIdentitiesItemEnterpriseProfileData < Internal::Types::Model + field :email, -> { String }, optional: true, nullable: false + + field :email_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :name, -> { String }, optional: true, nullable: false + + field :username, -> { String }, optional: true, nullable: false + + field :given_name, -> { String }, optional: true, nullable: false + + field :family_name, -> { String }, optional: true, nullable: false + + field :phone_number, -> { String }, optional: true, nullable: false + + field :phone_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_enterprise_provider_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_enterprise_provider_enum.rb new file mode 100644 index 00000000..d99b787c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_enterprise_provider_enum.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserDeletedObjectIdentitiesItemEnterpriseProviderEnum + extend Auth0::Internal::Types::Enum + + AD = "ad" + ADFS = "adfs" + GOOGLE_APPS = "google-apps" + IP = "ip" + OFFICE365 = "office365" + OIDC = "oidc" + OKTA = "okta" + PINGFEDERATE = "pingfederate" + SAMLP = "samlp" + SHAREPOINT = "sharepoint" + WAAD = "waad" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_enterprise_user_id.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_enterprise_user_id.rb new file mode 100644 index 00000000..5c09cea9 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_enterprise_user_id.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The IDP-specific identifer for the user. + class EventStreamCloudEventUserDeletedObjectIdentitiesItemEnterpriseUserID < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { String } + + member -> { Integer } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_passwordless.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_passwordless.rb new file mode 100644 index 00000000..8afdf084 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_passwordless.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The identity object for passwordless identity providers. + class EventStreamCloudEventUserDeletedObjectIdentitiesItemPasswordless < Internal::Types::Model + field :connection, -> { String }, optional: false, nullable: false + + field :user_id, -> { Auth0::Types::EventStreamCloudEventUserDeletedObjectIdentitiesItemPasswordlessUserID }, optional: false, nullable: false + + field :profile_data, -> { Auth0::Types::EventStreamCloudEventUserDeletedObjectIdentitiesItemPasswordlessProfileData }, optional: true, nullable: false, api_name: "profileData" + + field :provider, -> { Auth0::Types::EventStreamCloudEventUserDeletedObjectIdentitiesItemPasswordlessProviderEnum }, optional: false, nullable: false + + field :is_social, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isSocial" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_passwordless_is_social_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_passwordless_is_social_enum.rb new file mode 100644 index 00000000..14a152d0 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_passwordless_is_social_enum.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserDeletedObjectIdentitiesItemPasswordlessIsSocialEnum + # EventStreamCloudEventUserDeletedObjectIdentitiesItemPasswordlessIsSocialEnum is an alias for Boolean + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_passwordless_profile_data.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_passwordless_profile_data.rb new file mode 100644 index 00000000..b6bfe853 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_passwordless_profile_data.rb @@ -0,0 +1,24 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Profile data for the user. + class EventStreamCloudEventUserDeletedObjectIdentitiesItemPasswordlessProfileData < Internal::Types::Model + field :email, -> { String }, optional: true, nullable: false + + field :email_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :name, -> { String }, optional: true, nullable: false + + field :username, -> { String }, optional: true, nullable: false + + field :given_name, -> { String }, optional: true, nullable: false + + field :family_name, -> { String }, optional: true, nullable: false + + field :phone_number, -> { String }, optional: true, nullable: false + + field :phone_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_passwordless_provider_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_passwordless_provider_enum.rb new file mode 100644 index 00000000..c0a87b9c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_passwordless_provider_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserDeletedObjectIdentitiesItemPasswordlessProviderEnum + extend Auth0::Internal::Types::Enum + + EMAIL = "email" + SMS = "sms" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_passwordless_user_id.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_passwordless_user_id.rb new file mode 100644 index 00000000..68bd7f52 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_passwordless_user_id.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The IDP-specific identifer for the user. + class EventStreamCloudEventUserDeletedObjectIdentitiesItemPasswordlessUserID < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { String } + + member -> { Integer } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_social.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_social.rb new file mode 100644 index 00000000..60e38ff7 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_social.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The identity object for social identity providers. + class EventStreamCloudEventUserDeletedObjectIdentitiesItemSocial < Internal::Types::Model + field :connection, -> { String }, optional: false, nullable: false + + field :user_id, -> { Auth0::Types::EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialUserID }, optional: false, nullable: false + + field :profile_data, -> { Auth0::Types::EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialProfileData }, optional: true, nullable: false, api_name: "profileData" + + field :provider, -> { Auth0::Types::EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialProviderEnum }, optional: false, nullable: false + + field :is_social, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isSocial" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_social_is_social_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_social_is_social_enum.rb new file mode 100644 index 00000000..ddff982f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_social_is_social_enum.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialIsSocialEnum + # EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialIsSocialEnum is an alias for Boolean + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_social_profile_data.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_social_profile_data.rb new file mode 100644 index 00000000..be0b25b6 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_social_profile_data.rb @@ -0,0 +1,24 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Profile data for the user. + class EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialProfileData < Internal::Types::Model + field :email, -> { String }, optional: true, nullable: false + + field :email_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :name, -> { String }, optional: true, nullable: false + + field :username, -> { String }, optional: true, nullable: false + + field :given_name, -> { String }, optional: true, nullable: false + + field :family_name, -> { String }, optional: true, nullable: false + + field :phone_number, -> { String }, optional: true, nullable: false + + field :phone_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_social_provider_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_social_provider_enum.rb new file mode 100644 index 00000000..8889a711 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_social_provider_enum.rb @@ -0,0 +1,49 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialProviderEnum + extend Auth0::Internal::Types::Enum + + AMAZON = "amazon" + APPLE = "apple" + DROPBOX = "dropbox" + BITBUCKET = "bitbucket" + AUTH0OIDC = "auth0-oidc" + BAIDU = "baidu" + BITLY = "bitly" + BOX = "box" + DACCOUNT = "daccount" + DWOLLA = "dwolla" + EVERNOTE_SANDBOX = "evernote-sandbox" + EVERNOTE = "evernote" + EXACT = "exact" + FACEBOOK = "facebook" + FITBIT = "fitbit" + GITHUB = "github" + GOOGLE_OAUTH2 = "google-oauth2" + INSTAGRAM = "instagram" + LINE = "line" + LINKEDIN = "linkedin" + OAUTH1 = "oauth1" + OAUTH2 = "oauth2" + PAYPAL = "paypal" + PAYPAL_SANDBOX = "paypal-sandbox" + PLANNINGCENTER = "planningcenter" + SALESFORCE_COMMUNITY = "salesforce-community" + SALESFORCE_SANDBOX = "salesforce-sandbox" + SALESFORCE = "salesforce" + SHOPIFY = "shopify" + SOUNDCLOUD = "soundcloud" + THIRTYSEVENSIGNALS = "thirtysevensignals" + TWITTER = "twitter" + UNTAPPED = "untapped" + VKONTAKTE = "vkontakte" + WEIBO = "weibo" + WINDOWSLIVE = "windowslive" + WORDPRESS = "wordpress" + YAHOO = "yahoo" + YANDEX = "yandex" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_social_user_id.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_social_user_id.rb new file mode 100644 index 00000000..ffabd5a0 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_social_user_id.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The IDP-specific identifer for the user. + class EventStreamCloudEventUserDeletedObjectIdentitiesItemSocialUserID < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { String } + + member -> { Integer } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_object_user_metadata.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_user_metadata.rb new file mode 100644 index 00000000..3d6660b0 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_user_metadata.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserDeletedObjectUserMetadata + # EventStreamCloudEventUserDeletedObjectUserMetadata is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_deleted_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_deleted_type_enum.rb new file mode 100644 index 00000000..e7ba1741 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserDeletedTypeEnum + extend Auth0::Internal::Types::Enum + + USER_DELETED = "user.deleted" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated.rb b/lib/auth0/types/event_stream_cloud_event_user_updated.rb new file mode 100644 index 00000000..9290d4ee --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # SSE message for user.updated. + class EventStreamCloudEventUserUpdated < Internal::Types::Model + field :offset, -> { String }, optional: false, nullable: false + + field :event, -> { Auth0::Types::EventStreamCloudEventUserUpdatedCloudEvent }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_cloud_event.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_cloud_event.rb new file mode 100644 index 00000000..8f703fb8 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_cloud_event.rb @@ -0,0 +1,26 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Represents an event that occurs when a user is updated. + class EventStreamCloudEventUserUpdatedCloudEvent < Internal::Types::Model + field :specversion, -> { String }, optional: false, nullable: false + + field :type, -> { Auth0::Types::EventStreamCloudEventUserUpdatedCloudEventTypeEnum }, optional: false, nullable: false + + field :source, -> { String }, optional: false, nullable: false + + field :id, -> { String }, optional: false, nullable: false + + field :time, -> { String }, optional: false, nullable: false + + field :data, -> { Auth0::Types::EventStreamCloudEventUserUpdatedData }, optional: false, nullable: false + + field :a0tenant, -> { String }, optional: false, nullable: false + + field :a0stream, -> { String }, optional: false, nullable: false + + field :a0purpose, -> { Auth0::Types::EventStreamCloudEventA0PurposeEnum }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_cloud_event_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_cloud_event_type_enum.rb new file mode 100644 index 00000000..3d4b3532 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_cloud_event_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserUpdatedCloudEventTypeEnum + extend Auth0::Internal::Types::Enum + + USER_UPDATED = "user.updated" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_data.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_data.rb new file mode 100644 index 00000000..1211783e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_data.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event payload. + class EventStreamCloudEventUserUpdatedData < Internal::Types::Model + field :object, -> { Auth0::Types::EventStreamCloudEventUserUpdatedObject }, optional: false, nullable: false + + field :context, -> { Auth0::Types::EventStreamCloudEventContext }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object.rb new file mode 100644 index 00000000..e568295a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object.rb @@ -0,0 +1,50 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The event content. + class EventStreamCloudEventUserUpdatedObject < Internal::Types::Model + field :user_id, -> { String }, optional: false, nullable: false + + field :email, -> { String }, optional: true, nullable: false + + field :email_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :username, -> { String }, optional: true, nullable: false + + field :phone_number, -> { String }, optional: true, nullable: false + + field :phone_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :created_at, -> { String }, optional: false, nullable: false + + field :updated_at, -> { String }, optional: false, nullable: false + + field :identities, -> { Internal::Types::Array[Auth0::Types::EventStreamCloudEventUserUpdatedObjectIdentitiesItem] }, optional: false, nullable: false + + field :app_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :user_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + + field :picture, -> { String }, optional: true, nullable: false + + field :name, -> { String }, optional: true, nullable: false + + field :nickname, -> { String }, optional: true, nullable: false + + field :multifactor, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :last_ip, -> { String }, optional: true, nullable: false + + field :last_login, -> { String }, optional: true, nullable: false + + field :logins_count, -> { Integer }, optional: true, nullable: false + + field :blocked, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :given_name, -> { String }, optional: true, nullable: false + + field :family_name, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object_app_metadata.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object_app_metadata.rb new file mode 100644 index 00000000..669ca77d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_app_metadata.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserUpdatedObjectAppMetadata + # EventStreamCloudEventUserUpdatedObjectAppMetadata is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item.rb new file mode 100644 index 00000000..a1f02151 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item.rb @@ -0,0 +1,20 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Identity object when accounts are linked. + class EventStreamCloudEventUserUpdatedObjectIdentitiesItem < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { Auth0::Types::EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom } + + member -> { Auth0::Types::EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase } + + member -> { Auth0::Types::EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise } + + member -> { Auth0::Types::EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless } + + member -> { Auth0::Types::EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_custom.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_custom.rb new file mode 100644 index 00000000..1ba84f61 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_custom.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The identity object for custom identity providers. + class EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustom < Internal::Types::Model + field :connection, -> { String }, optional: false, nullable: false + + field :user_id, -> { Auth0::Types::EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustomUserID }, optional: false, nullable: false + + field :profile_data, -> { Auth0::Types::EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustomProfileData }, optional: true, nullable: false, api_name: "profileData" + + field :provider, -> { Auth0::Types::EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustomProviderEnum }, optional: false, nullable: false + + field :is_social, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isSocial" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_custom_is_social_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_custom_is_social_enum.rb new file mode 100644 index 00000000..f9e05d56 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_custom_is_social_enum.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustomIsSocialEnum + # EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustomIsSocialEnum is an alias for Boolean + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_custom_profile_data.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_custom_profile_data.rb new file mode 100644 index 00000000..89571bc3 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_custom_profile_data.rb @@ -0,0 +1,24 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Profile data for the user. + class EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustomProfileData < Internal::Types::Model + field :email, -> { String }, optional: true, nullable: false + + field :email_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :name, -> { String }, optional: true, nullable: false + + field :username, -> { String }, optional: true, nullable: false + + field :given_name, -> { String }, optional: true, nullable: false + + field :family_name, -> { String }, optional: true, nullable: false + + field :phone_number, -> { String }, optional: true, nullable: false + + field :phone_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_custom_provider_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_custom_provider_enum.rb new file mode 100644 index 00000000..f6dd59b5 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_custom_provider_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustomProviderEnum + extend Auth0::Internal::Types::Enum + + CUSTOM = "custom" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_custom_user_id.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_custom_user_id.rb new file mode 100644 index 00000000..abb2f190 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_custom_user_id.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The IDP-specific identifer for the user. + class EventStreamCloudEventUserUpdatedObjectIdentitiesItemCustomUserID < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { String } + + member -> { Integer } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_database.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_database.rb new file mode 100644 index 00000000..33e7fb3c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_database.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The identity object for database identity providers. + class EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabase < Internal::Types::Model + field :connection, -> { String }, optional: false, nullable: false + + field :user_id, -> { Auth0::Types::EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabaseUserID }, optional: false, nullable: false + + field :profile_data, -> { Auth0::Types::EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabaseProfileData }, optional: true, nullable: false, api_name: "profileData" + + field :provider, -> { Auth0::Types::EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabaseProviderEnum }, optional: false, nullable: false + + field :is_social, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isSocial" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_database_is_social_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_database_is_social_enum.rb new file mode 100644 index 00000000..ecc0bd79 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_database_is_social_enum.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabaseIsSocialEnum + # EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabaseIsSocialEnum is an alias for Boolean + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_database_profile_data.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_database_profile_data.rb new file mode 100644 index 00000000..606071fa --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_database_profile_data.rb @@ -0,0 +1,24 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Profile data for the user. + class EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabaseProfileData < Internal::Types::Model + field :email, -> { String }, optional: true, nullable: false + + field :email_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :name, -> { String }, optional: true, nullable: false + + field :username, -> { String }, optional: true, nullable: false + + field :given_name, -> { String }, optional: true, nullable: false + + field :family_name, -> { String }, optional: true, nullable: false + + field :phone_number, -> { String }, optional: true, nullable: false + + field :phone_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_database_provider_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_database_provider_enum.rb new file mode 100644 index 00000000..29178367 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_database_provider_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabaseProviderEnum + extend Auth0::Internal::Types::Enum + + AUTH0 = "auth0" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_database_user_id.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_database_user_id.rb new file mode 100644 index 00000000..14c1e778 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_database_user_id.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The IDP-specific identifer for the user. + class EventStreamCloudEventUserUpdatedObjectIdentitiesItemDatabaseUserID < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { String } + + member -> { Integer } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_enterprise.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_enterprise.rb new file mode 100644 index 00000000..20e736eb --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_enterprise.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The identity object for enterprise identity providers. + class EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterprise < Internal::Types::Model + field :connection, -> { String }, optional: false, nullable: false + + field :user_id, -> { Auth0::Types::EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterpriseUserID }, optional: false, nullable: false + + field :profile_data, -> { Auth0::Types::EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterpriseProfileData }, optional: true, nullable: false, api_name: "profileData" + + field :provider, -> { Auth0::Types::EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterpriseProviderEnum }, optional: false, nullable: false + + field :is_social, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isSocial" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_enterprise_is_social_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_enterprise_is_social_enum.rb new file mode 100644 index 00000000..49e7aa2d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_enterprise_is_social_enum.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterpriseIsSocialEnum + # EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterpriseIsSocialEnum is an alias for Boolean + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_enterprise_profile_data.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_enterprise_profile_data.rb new file mode 100644 index 00000000..5bfccd92 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_enterprise_profile_data.rb @@ -0,0 +1,24 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Profile data for the user. + class EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterpriseProfileData < Internal::Types::Model + field :email, -> { String }, optional: true, nullable: false + + field :email_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :name, -> { String }, optional: true, nullable: false + + field :username, -> { String }, optional: true, nullable: false + + field :given_name, -> { String }, optional: true, nullable: false + + field :family_name, -> { String }, optional: true, nullable: false + + field :phone_number, -> { String }, optional: true, nullable: false + + field :phone_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_enterprise_provider_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_enterprise_provider_enum.rb new file mode 100644 index 00000000..36703b0f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_enterprise_provider_enum.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterpriseProviderEnum + extend Auth0::Internal::Types::Enum + + AD = "ad" + ADFS = "adfs" + GOOGLE_APPS = "google-apps" + IP = "ip" + OFFICE365 = "office365" + OIDC = "oidc" + OKTA = "okta" + PINGFEDERATE = "pingfederate" + SAMLP = "samlp" + SHAREPOINT = "sharepoint" + WAAD = "waad" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_enterprise_user_id.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_enterprise_user_id.rb new file mode 100644 index 00000000..ee760c08 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_enterprise_user_id.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The IDP-specific identifer for the user. + class EventStreamCloudEventUserUpdatedObjectIdentitiesItemEnterpriseUserID < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { String } + + member -> { Integer } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_passwordless.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_passwordless.rb new file mode 100644 index 00000000..8e07173b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_passwordless.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The identity object for passwordless identity providers. + class EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordless < Internal::Types::Model + field :connection, -> { String }, optional: false, nullable: false + + field :user_id, -> { Auth0::Types::EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordlessUserID }, optional: false, nullable: false + + field :profile_data, -> { Auth0::Types::EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordlessProfileData }, optional: true, nullable: false, api_name: "profileData" + + field :provider, -> { Auth0::Types::EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordlessProviderEnum }, optional: false, nullable: false + + field :is_social, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isSocial" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_passwordless_is_social_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_passwordless_is_social_enum.rb new file mode 100644 index 00000000..97c6334e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_passwordless_is_social_enum.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordlessIsSocialEnum + # EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordlessIsSocialEnum is an alias for Boolean + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_passwordless_profile_data.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_passwordless_profile_data.rb new file mode 100644 index 00000000..4b03a467 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_passwordless_profile_data.rb @@ -0,0 +1,24 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Profile data for the user. + class EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordlessProfileData < Internal::Types::Model + field :email, -> { String }, optional: true, nullable: false + + field :email_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :name, -> { String }, optional: true, nullable: false + + field :username, -> { String }, optional: true, nullable: false + + field :given_name, -> { String }, optional: true, nullable: false + + field :family_name, -> { String }, optional: true, nullable: false + + field :phone_number, -> { String }, optional: true, nullable: false + + field :phone_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_passwordless_provider_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_passwordless_provider_enum.rb new file mode 100644 index 00000000..b54b9d69 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_passwordless_provider_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordlessProviderEnum + extend Auth0::Internal::Types::Enum + + EMAIL = "email" + SMS = "sms" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_passwordless_user_id.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_passwordless_user_id.rb new file mode 100644 index 00000000..e6766cce --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_passwordless_user_id.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The IDP-specific identifer for the user. + class EventStreamCloudEventUserUpdatedObjectIdentitiesItemPasswordlessUserID < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { String } + + member -> { Integer } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_social.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_social.rb new file mode 100644 index 00000000..6b768dbf --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_social.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The identity object for social identity providers. + class EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocial < Internal::Types::Model + field :connection, -> { String }, optional: false, nullable: false + + field :user_id, -> { Auth0::Types::EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialUserID }, optional: false, nullable: false + + field :profile_data, -> { Auth0::Types::EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialProfileData }, optional: true, nullable: false, api_name: "profileData" + + field :provider, -> { Auth0::Types::EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialProviderEnum }, optional: false, nullable: false + + field :is_social, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isSocial" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_social_is_social_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_social_is_social_enum.rb new file mode 100644 index 00000000..07814e34 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_social_is_social_enum.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialIsSocialEnum + # EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialIsSocialEnum is an alias for Boolean + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_social_profile_data.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_social_profile_data.rb new file mode 100644 index 00000000..73301f98 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_social_profile_data.rb @@ -0,0 +1,24 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Profile data for the user. + class EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialProfileData < Internal::Types::Model + field :email, -> { String }, optional: true, nullable: false + + field :email_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :name, -> { String }, optional: true, nullable: false + + field :username, -> { String }, optional: true, nullable: false + + field :given_name, -> { String }, optional: true, nullable: false + + field :family_name, -> { String }, optional: true, nullable: false + + field :phone_number, -> { String }, optional: true, nullable: false + + field :phone_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_social_provider_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_social_provider_enum.rb new file mode 100644 index 00000000..a6caa672 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_social_provider_enum.rb @@ -0,0 +1,49 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialProviderEnum + extend Auth0::Internal::Types::Enum + + AMAZON = "amazon" + APPLE = "apple" + DROPBOX = "dropbox" + BITBUCKET = "bitbucket" + AUTH0OIDC = "auth0-oidc" + BAIDU = "baidu" + BITLY = "bitly" + BOX = "box" + DACCOUNT = "daccount" + DWOLLA = "dwolla" + EVERNOTE_SANDBOX = "evernote-sandbox" + EVERNOTE = "evernote" + EXACT = "exact" + FACEBOOK = "facebook" + FITBIT = "fitbit" + GITHUB = "github" + GOOGLE_OAUTH2 = "google-oauth2" + INSTAGRAM = "instagram" + LINE = "line" + LINKEDIN = "linkedin" + OAUTH1 = "oauth1" + OAUTH2 = "oauth2" + PAYPAL = "paypal" + PAYPAL_SANDBOX = "paypal-sandbox" + PLANNINGCENTER = "planningcenter" + SALESFORCE_COMMUNITY = "salesforce-community" + SALESFORCE_SANDBOX = "salesforce-sandbox" + SALESFORCE = "salesforce" + SHOPIFY = "shopify" + SOUNDCLOUD = "soundcloud" + THIRTYSEVENSIGNALS = "thirtysevensignals" + TWITTER = "twitter" + UNTAPPED = "untapped" + VKONTAKTE = "vkontakte" + WEIBO = "weibo" + WINDOWSLIVE = "windowslive" + WORDPRESS = "wordpress" + YAHOO = "yahoo" + YANDEX = "yandex" + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_social_user_id.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_social_user_id.rb new file mode 100644 index 00000000..5274abcb --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_social_user_id.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The IDP-specific identifer for the user. + class EventStreamCloudEventUserUpdatedObjectIdentitiesItemSocialUserID < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { String } + + member -> { Integer } + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_object_user_metadata.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_object_user_metadata.rb new file mode 100644 index 00000000..b7959e0d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_user_metadata.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserUpdatedObjectUserMetadata + # EventStreamCloudEventUserUpdatedObjectUserMetadata is an alias for Hash + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_cloud_event_user_updated_type_enum.rb b/lib/auth0/types/event_stream_cloud_event_user_updated_type_enum.rb new file mode 100644 index 00000000..7007882d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_type_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamCloudEventUserUpdatedTypeEnum + extend Auth0::Internal::Types::Enum + + USER_UPDATED = "user.updated" + end + end +end diff --git a/lib/auth0/types/event_stream_delivery.rb b/lib/auth0/types/event_stream_delivery.rb index c1a64fd6..38de02eb 100644 --- a/lib/auth0/types/event_stream_delivery.rb +++ b/lib/auth0/types/event_stream_delivery.rb @@ -5,10 +5,15 @@ module Types # Metadata about a specific attempt to deliver an event class EventStreamDelivery < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :event_stream_id, -> { String }, optional: false, nullable: false + field :status, -> { Auth0::Types::EventStreamDeliveryStatusEnum }, optional: false, nullable: false + field :event_type, -> { Auth0::Types::EventStreamDeliveryEventTypeEnum }, optional: false, nullable: false + field :attempts, -> { Internal::Types::Array[Auth0::Types::EventStreamDeliveryAttempt] }, optional: false, nullable: false + field :event, -> { Auth0::Types::EventStreamCloudEvent }, optional: true, nullable: false end end diff --git a/lib/auth0/types/event_stream_delivery_attempt.rb b/lib/auth0/types/event_stream_delivery_attempt.rb index 1b133a9b..029fe9df 100644 --- a/lib/auth0/types/event_stream_delivery_attempt.rb +++ b/lib/auth0/types/event_stream_delivery_attempt.rb @@ -4,7 +4,9 @@ module Auth0 module Types class EventStreamDeliveryAttempt < Internal::Types::Model field :status, -> { Auth0::Types::EventStreamDeliveryStatusEnum }, optional: false, nullable: false + field :timestamp, -> { String }, optional: false, nullable: false + field :error_message, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/event_stream_destination_patch.rb b/lib/auth0/types/event_stream_destination_patch.rb index 094b6d52..30f8b002 100644 --- a/lib/auth0/types/event_stream_destination_patch.rb +++ b/lib/auth0/types/event_stream_destination_patch.rb @@ -6,6 +6,7 @@ class EventStreamDestinationPatch < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::EventStreamWebhookDestination } + member -> { Auth0::Types::EventStreamActionDestination } end end diff --git a/lib/auth0/types/event_stream_event_bridge_configuration.rb b/lib/auth0/types/event_stream_event_bridge_configuration.rb index 5480abda..5830b5dc 100644 --- a/lib/auth0/types/event_stream_event_bridge_configuration.rb +++ b/lib/auth0/types/event_stream_event_bridge_configuration.rb @@ -5,7 +5,9 @@ module Types # Configuration specific to an eventbridge destination. class EventStreamEventBridgeConfiguration < Internal::Types::Model field :aws_account_id, -> { String }, optional: false, nullable: false + field :aws_region, -> { Auth0::Types::EventStreamEventBridgeAwsRegionEnum }, optional: false, nullable: false + field :aws_partner_event_source, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/event_stream_event_bridge_destination.rb b/lib/auth0/types/event_stream_event_bridge_destination.rb index 9d06c038..0862b0a9 100644 --- a/lib/auth0/types/event_stream_event_bridge_destination.rb +++ b/lib/auth0/types/event_stream_event_bridge_destination.rb @@ -4,6 +4,7 @@ module Auth0 module Types class EventStreamEventBridgeDestination < Internal::Types::Model field :type, -> { Auth0::Types::EventStreamEventBridgeDestinationTypeEnum }, optional: false, nullable: false + field :configuration, -> { Auth0::Types::EventStreamEventBridgeConfiguration }, optional: false, nullable: false end end diff --git a/lib/auth0/types/event_stream_event_bridge_response_content.rb b/lib/auth0/types/event_stream_event_bridge_response_content.rb index 4104d7e8..c5968342 100644 --- a/lib/auth0/types/event_stream_event_bridge_response_content.rb +++ b/lib/auth0/types/event_stream_event_bridge_response_content.rb @@ -4,11 +4,17 @@ module Auth0 module Types class EventStreamEventBridgeResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :subscriptions, -> { Internal::Types::Array[Auth0::Types::EventStreamSubscription] }, optional: true, nullable: false + field :destination, -> { Auth0::Types::EventStreamEventBridgeDestination }, optional: true, nullable: false + field :status, -> { Auth0::Types::EventStreamStatusEnum }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/event_stream_response_content.rb b/lib/auth0/types/event_stream_response_content.rb index 4fc170cc..ed28ec52 100644 --- a/lib/auth0/types/event_stream_response_content.rb +++ b/lib/auth0/types/event_stream_response_content.rb @@ -6,7 +6,9 @@ class EventStreamResponseContent < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::EventStreamWebhookResponseContent } + member -> { Auth0::Types::EventStreamEventBridgeResponseContent } + member -> { Auth0::Types::EventStreamActionResponseContent } end end diff --git a/lib/auth0/types/event_stream_subscribe_events_event_type_enum.rb b/lib/auth0/types/event_stream_subscribe_events_event_type_enum.rb new file mode 100644 index 00000000..2b55e488 --- /dev/null +++ b/lib/auth0/types/event_stream_subscribe_events_event_type_enum.rb @@ -0,0 +1,32 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamSubscribeEventsEventTypeEnum + extend Auth0::Internal::Types::Enum + + GROUP_CREATED = "group.created" + GROUP_DELETED = "group.deleted" + GROUP_MEMBER_ADDED = "group.member.added" + GROUP_MEMBER_DELETED = "group.member.deleted" + GROUP_ROLE_ASSIGNED = "group.role.assigned" + GROUP_ROLE_DELETED = "group.role.deleted" + GROUP_UPDATED = "group.updated" + ORGANIZATION_CONNECTION_ADDED = "organization.connection.added" + ORGANIZATION_CONNECTION_REMOVED = "organization.connection.removed" + ORGANIZATION_CONNECTION_UPDATED = "organization.connection.updated" + ORGANIZATION_CREATED = "organization.created" + ORGANIZATION_DELETED = "organization.deleted" + ORGANIZATION_GROUP_ROLE_ASSIGNED = "organization.group.role.assigned" + ORGANIZATION_GROUP_ROLE_DELETED = "organization.group.role.deleted" + ORGANIZATION_MEMBER_ADDED = "organization.member.added" + ORGANIZATION_MEMBER_DELETED = "organization.member.deleted" + ORGANIZATION_MEMBER_ROLE_ASSIGNED = "organization.member.role.assigned" + ORGANIZATION_MEMBER_ROLE_DELETED = "organization.member.role.deleted" + ORGANIZATION_UPDATED = "organization.updated" + USER_CREATED = "user.created" + USER_DELETED = "user.deleted" + USER_UPDATED = "user.updated" + end + end +end diff --git a/lib/auth0/types/event_stream_subscribe_events_event_type_param.rb b/lib/auth0/types/event_stream_subscribe_events_event_type_param.rb new file mode 100644 index 00000000..bf2ace91 --- /dev/null +++ b/lib/auth0/types/event_stream_subscribe_events_event_type_param.rb @@ -0,0 +1,23 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module EventStreamSubscribeEventsEventTypeParam + # EventStreamSubscribeEventsEventTypeParam is an alias for Array + + # @option str [String] + # + # @return [untyped] + def self.load(str) + ::JSON.parse(str) + end + + # @option value [untyped] + # + # @return [String] + def self.dump(value) + ::JSON.generate(value) + end + end + end +end diff --git a/lib/auth0/types/event_stream_subscribe_events_response_content.rb b/lib/auth0/types/event_stream_subscribe_events_response_content.rb new file mode 100644 index 00000000..9ae4d2e9 --- /dev/null +++ b/lib/auth0/types/event_stream_subscribe_events_response_content.rb @@ -0,0 +1,62 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The JSON payload delivered in each SSE data line. The type field is injected from the SSE event field by the SDK. + # Discriminated by type: an event type name for events, "error" for errors, and "offset-only" for cursor-only + # heartbeats. + class EventStreamSubscribeEventsResponseContent < Internal::Types::Model + extend Auth0::Internal::Types::Union + + discriminant :type + + member -> { Auth0::Types::EventStreamCloudEventGroupCreated }, key: "GROUP_CREATED" + + member -> { Auth0::Types::EventStreamCloudEventGroupDeleted }, key: "GROUP_DELETED" + + member -> { Auth0::Types::EventStreamCloudEventGroupMemberAdded }, key: "GROUP_MEMBER_ADDED" + + member -> { Auth0::Types::EventStreamCloudEventGroupMemberDeleted }, key: "GROUP_MEMBER_DELETED" + + member -> { Auth0::Types::EventStreamCloudEventGroupRoleAssigned }, key: "GROUP_ROLE_ASSIGNED" + + member -> { Auth0::Types::EventStreamCloudEventGroupRoleDeleted }, key: "GROUP_ROLE_DELETED" + + member -> { Auth0::Types::EventStreamCloudEventGroupUpdated }, key: "GROUP_UPDATED" + + member -> { Auth0::Types::EventStreamCloudEventOrgConnectionAdded }, key: "ORGANIZATION_CONNECTION_ADDED" + + member -> { Auth0::Types::EventStreamCloudEventOrgConnectionRemoved }, key: "ORGANIZATION_CONNECTION_REMOVED" + + member -> { Auth0::Types::EventStreamCloudEventOrgConnectionUpdated }, key: "ORGANIZATION_CONNECTION_UPDATED" + + member -> { Auth0::Types::EventStreamCloudEventOrgCreated }, key: "ORGANIZATION_CREATED" + + member -> { Auth0::Types::EventStreamCloudEventOrgDeleted }, key: "ORGANIZATION_DELETED" + + member -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleAssigned }, key: "ORGANIZATION_GROUP_ROLE_ASSIGNED" + + member -> { Auth0::Types::EventStreamCloudEventOrgGroupRoleDeleted }, key: "ORGANIZATION_GROUP_ROLE_DELETED" + + member -> { Auth0::Types::EventStreamCloudEventOrgMemberAdded }, key: "ORGANIZATION_MEMBER_ADDED" + + member -> { Auth0::Types::EventStreamCloudEventOrgMemberDeleted }, key: "ORGANIZATION_MEMBER_DELETED" + + member -> { Auth0::Types::EventStreamCloudEventOrgMemberRoleAssigned }, key: "ORGANIZATION_MEMBER_ROLE_ASSIGNED" + + member -> { Auth0::Types::EventStreamCloudEventOrgMemberRoleDeleted }, key: "ORGANIZATION_MEMBER_ROLE_DELETED" + + member -> { Auth0::Types::EventStreamCloudEventOrgUpdated }, key: "ORGANIZATION_UPDATED" + + member -> { Auth0::Types::EventStreamCloudEventUserCreated }, key: "USER_CREATED" + + member -> { Auth0::Types::EventStreamCloudEventUserDeleted }, key: "USER_DELETED" + + member -> { Auth0::Types::EventStreamCloudEventUserUpdated }, key: "USER_UPDATED" + + member -> { Auth0::Types::EventStreamCloudEventErrorMessage }, key: "ERROR" + + member -> { Auth0::Types::EventStreamCloudEventOffsetOnlyMessage }, key: "OFFSET_ONLY" + end + end +end diff --git a/lib/auth0/types/event_stream_webhook_authorization_response.rb b/lib/auth0/types/event_stream_webhook_authorization_response.rb index 42f3d17b..79b48541 100644 --- a/lib/auth0/types/event_stream_webhook_authorization_response.rb +++ b/lib/auth0/types/event_stream_webhook_authorization_response.rb @@ -6,7 +6,9 @@ class EventStreamWebhookAuthorizationResponse < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::EventStreamWebhookBasicAuth } + member -> { Auth0::Types::EventStreamWebhookBearerAuth } + member -> { Auth0::Types::EventStreamWebhookCustomHeaderAuth } end end diff --git a/lib/auth0/types/event_stream_webhook_basic_auth.rb b/lib/auth0/types/event_stream_webhook_basic_auth.rb index 498c81f3..06a22c14 100644 --- a/lib/auth0/types/event_stream_webhook_basic_auth.rb +++ b/lib/auth0/types/event_stream_webhook_basic_auth.rb @@ -5,6 +5,7 @@ module Types # Basic Authorization for HTTP requests (e.g., 'Basic credentials'). class EventStreamWebhookBasicAuth < Internal::Types::Model field :method_, -> { Auth0::Types::EventStreamWebhookBasicAuthMethodEnum }, optional: false, nullable: false, api_name: "method" + field :username, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/event_stream_webhook_configuration.rb b/lib/auth0/types/event_stream_webhook_configuration.rb index 6c0837ee..6b767f82 100644 --- a/lib/auth0/types/event_stream_webhook_configuration.rb +++ b/lib/auth0/types/event_stream_webhook_configuration.rb @@ -5,6 +5,7 @@ module Types # Configuration specific to a webhook destination. class EventStreamWebhookConfiguration < Internal::Types::Model field :webhook_endpoint, -> { String }, optional: false, nullable: false + field :webhook_authorization, -> { Auth0::Types::EventStreamWebhookAuthorizationResponse }, optional: false, nullable: false end end diff --git a/lib/auth0/types/event_stream_webhook_custom_header_auth.rb b/lib/auth0/types/event_stream_webhook_custom_header_auth.rb index 23b4656c..14106499 100644 --- a/lib/auth0/types/event_stream_webhook_custom_header_auth.rb +++ b/lib/auth0/types/event_stream_webhook_custom_header_auth.rb @@ -5,6 +5,7 @@ module Types # Custom header authorization for HTTP requests. class EventStreamWebhookCustomHeaderAuth < Internal::Types::Model field :method_, -> { Auth0::Types::EventStreamWebhookCustomHeaderAuthMethodEnum }, optional: false, nullable: false, api_name: "method" + field :header_key, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/event_stream_webhook_destination.rb b/lib/auth0/types/event_stream_webhook_destination.rb index 841bdd5b..15d620dd 100644 --- a/lib/auth0/types/event_stream_webhook_destination.rb +++ b/lib/auth0/types/event_stream_webhook_destination.rb @@ -4,6 +4,7 @@ module Auth0 module Types class EventStreamWebhookDestination < Internal::Types::Model field :type, -> { Auth0::Types::EventStreamWebhookDestinationTypeEnum }, optional: false, nullable: false + field :configuration, -> { Auth0::Types::EventStreamWebhookConfiguration }, optional: false, nullable: false end end diff --git a/lib/auth0/types/event_stream_webhook_response_content.rb b/lib/auth0/types/event_stream_webhook_response_content.rb index cb93032e..ed03d1e1 100644 --- a/lib/auth0/types/event_stream_webhook_response_content.rb +++ b/lib/auth0/types/event_stream_webhook_response_content.rb @@ -4,11 +4,17 @@ module Auth0 module Types class EventStreamWebhookResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :subscriptions, -> { Internal::Types::Array[Auth0::Types::EventStreamSubscription] }, optional: true, nullable: false + field :destination, -> { Auth0::Types::EventStreamWebhookDestination }, optional: true, nullable: false + field :status, -> { Auth0::Types::EventStreamStatusEnum }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/express_configuration.rb b/lib/auth0/types/express_configuration.rb index 07be229d..69845fc4 100644 --- a/lib/auth0/types/express_configuration.rb +++ b/lib/auth0/types/express_configuration.rb @@ -5,13 +5,21 @@ module Types # Application specific configuration for use with the OIN Express Configuration feature. class ExpressConfiguration < Internal::Types::Model field :initiate_login_uri_template, -> { String }, optional: false, nullable: false + field :user_attribute_profile_id, -> { String }, optional: false, nullable: false + field :connection_profile_id, -> { String }, optional: false, nullable: false + field :enable_client, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :enable_organization, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :linked_clients, -> { Internal::Types::Array[Auth0::Types::LinkedClientConfiguration] }, optional: true, nullable: false + field :okta_oin_client_id, -> { String }, optional: false, nullable: false + field :admin_login_domain, -> { String }, optional: false, nullable: false + field :oin_submission_id, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/express_configuration_or_null.rb b/lib/auth0/types/express_configuration_or_null.rb index cb492b58..a63fa5d3 100644 --- a/lib/auth0/types/express_configuration_or_null.rb +++ b/lib/auth0/types/express_configuration_or_null.rb @@ -5,13 +5,21 @@ module Types # Application specific configuration for use with the OIN Express Configuration feature. class ExpressConfigurationOrNull < Internal::Types::Model field :initiate_login_uri_template, -> { String }, optional: false, nullable: false + field :user_attribute_profile_id, -> { String }, optional: false, nullable: false + field :connection_profile_id, -> { String }, optional: false, nullable: false + field :enable_client, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :enable_organization, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :linked_clients, -> { Internal::Types::Array[Auth0::Types::LinkedClientConfiguration] }, optional: true, nullable: false + field :okta_oin_client_id, -> { String }, optional: false, nullable: false + field :admin_login_domain, -> { String }, optional: false, nullable: false + field :oin_submission_id, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/fed_cm_login.rb b/lib/auth0/types/fed_cm_login.rb new file mode 100644 index 00000000..80eeced1 --- /dev/null +++ b/lib/auth0/types/fed_cm_login.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Configure FedCM login settings for New Universal Login + class FedCmLogin < Internal::Types::Model + field :google, -> { Auth0::Types::FedCmLoginGoogle }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/fed_cm_login_google.rb b/lib/auth0/types/fed_cm_login_google.rb new file mode 100644 index 00000000..5ccda970 --- /dev/null +++ b/lib/auth0/types/fed_cm_login_google.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Google FedCM configuration for this client + class FedCmLoginGoogle < Internal::Types::Model + field :is_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/federated_connection_token_set.rb b/lib/auth0/types/federated_connection_token_set.rb index d92b0148..b589942e 100644 --- a/lib/auth0/types/federated_connection_token_set.rb +++ b/lib/auth0/types/federated_connection_token_set.rb @@ -4,10 +4,15 @@ module Auth0 module Types class FederatedConnectionTokenSet < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :connection, -> { String }, optional: true, nullable: false + field :scope, -> { String }, optional: true, nullable: false + field :expires_at, -> { String }, optional: true, nullable: false + field :issued_at, -> { String }, optional: true, nullable: false + field :last_used_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action.rb b/lib/auth0/types/flow_action.rb index daabab3e..d266dbea 100644 --- a/lib/auth0/types/flow_action.rb +++ b/lib/auth0/types/flow_action.rb @@ -6,29 +6,53 @@ class FlowAction < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::FlowActionActivecampaign } + member -> { Auth0::Types::FlowActionAirtable } + member -> { Auth0::Types::FlowActionAuth0 } + member -> { Auth0::Types::FlowActionBigqueryInsertRows } + member -> { Auth0::Types::FlowActionClearbit } + member -> { Auth0::Types::FlowActionEmailVerifyEmail } + member -> { Auth0::Types::FlowActionFlow } + member -> { Auth0::Types::FlowActionGoogleSheetsAddRow } + member -> { Auth0::Types::FlowActionHTTPSendRequest } + member -> { Auth0::Types::FlowActionHubspot } + member -> { Auth0::Types::FlowActionJSON } + member -> { Auth0::Types::FlowActionJwt } + member -> { Auth0::Types::FlowActionMailchimpUpsertMember } + member -> { Auth0::Types::FlowActionMailjetSendEmail } + member -> { Auth0::Types::FlowActionOtp } + member -> { Auth0::Types::FlowActionPipedrive } + member -> { Auth0::Types::FlowActionSalesforce } + member -> { Auth0::Types::FlowActionSendgridSendEmail } + member -> { Auth0::Types::FlowActionSlackPostMessage } + member -> { Auth0::Types::FlowActionStripe } + member -> { Auth0::Types::FlowActionTelegramSendMessage } + member -> { Auth0::Types::FlowActionTwilio } + member -> { Auth0::Types::FlowActionWhatsappSendMessage } + member -> { Auth0::Types::FlowActionXML } + member -> { Auth0::Types::FlowActionZapierTriggerWebhook } end end diff --git a/lib/auth0/types/flow_action_activecampaign.rb b/lib/auth0/types/flow_action_activecampaign.rb index 785632bd..dcf2b278 100644 --- a/lib/auth0/types/flow_action_activecampaign.rb +++ b/lib/auth0/types/flow_action_activecampaign.rb @@ -6,6 +6,7 @@ class FlowActionActivecampaign < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::FlowActionActivecampaignListContacts } + member -> { Auth0::Types::FlowActionActivecampaignUpsertContact } end end diff --git a/lib/auth0/types/flow_action_activecampaign_list_contacts.rb b/lib/auth0/types/flow_action_activecampaign_list_contacts.rb index e985eda9..c8445504 100644 --- a/lib/auth0/types/flow_action_activecampaign_list_contacts.rb +++ b/lib/auth0/types/flow_action_activecampaign_list_contacts.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionActivecampaignListContacts < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionActivecampaignListContactsType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionActivecampaignListContactsAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionActivecampaignListContactsParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_activecampaign_list_contacts_params.rb b/lib/auth0/types/flow_action_activecampaign_list_contacts_params.rb index 874b9cb4..05f06405 100644 --- a/lib/auth0/types/flow_action_activecampaign_list_contacts_params.rb +++ b/lib/auth0/types/flow_action_activecampaign_list_contacts_params.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FlowActionActivecampaignListContactsParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :email, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_activecampaign_upsert_contact.rb b/lib/auth0/types/flow_action_activecampaign_upsert_contact.rb index 96107a25..69364cbb 100644 --- a/lib/auth0/types/flow_action_activecampaign_upsert_contact.rb +++ b/lib/auth0/types/flow_action_activecampaign_upsert_contact.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionActivecampaignUpsertContact < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionActivecampaignUpsertContactType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionActivecampaignUpsertContactAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionActivecampaignUpsertContactParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_activecampaign_upsert_contact_params.rb b/lib/auth0/types/flow_action_activecampaign_upsert_contact_params.rb index f8002389..f033efe4 100644 --- a/lib/auth0/types/flow_action_activecampaign_upsert_contact_params.rb +++ b/lib/auth0/types/flow_action_activecampaign_upsert_contact_params.rb @@ -4,10 +4,15 @@ module Auth0 module Types class FlowActionActivecampaignUpsertContactParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :email, -> { String }, optional: false, nullable: false + field :first_name, -> { String }, optional: true, nullable: false + field :last_name, -> { String }, optional: true, nullable: false + field :phone, -> { String }, optional: true, nullable: false + field :custom_fields, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_airtable.rb b/lib/auth0/types/flow_action_airtable.rb index bb527112..4fc67058 100644 --- a/lib/auth0/types/flow_action_airtable.rb +++ b/lib/auth0/types/flow_action_airtable.rb @@ -6,7 +6,9 @@ class FlowActionAirtable < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::FlowActionAirtableCreateRecord } + member -> { Auth0::Types::FlowActionAirtableListRecords } + member -> { Auth0::Types::FlowActionAirtableUpdateRecord } end end diff --git a/lib/auth0/types/flow_action_airtable_create_record.rb b/lib/auth0/types/flow_action_airtable_create_record.rb index 96a6d23c..d1a54557 100644 --- a/lib/auth0/types/flow_action_airtable_create_record.rb +++ b/lib/auth0/types/flow_action_airtable_create_record.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionAirtableCreateRecord < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionAirtableCreateRecordType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionAirtableCreateRecordAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionAirtableCreateRecordParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_airtable_create_record_params.rb b/lib/auth0/types/flow_action_airtable_create_record_params.rb index d5fdbde1..948ba5c1 100644 --- a/lib/auth0/types/flow_action_airtable_create_record_params.rb +++ b/lib/auth0/types/flow_action_airtable_create_record_params.rb @@ -4,8 +4,11 @@ module Auth0 module Types class FlowActionAirtableCreateRecordParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :base_id, -> { String }, optional: false, nullable: false + field :table_name, -> { String }, optional: false, nullable: false + field :fields, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_airtable_list_records.rb b/lib/auth0/types/flow_action_airtable_list_records.rb index 425a1f9a..e1f85444 100644 --- a/lib/auth0/types/flow_action_airtable_list_records.rb +++ b/lib/auth0/types/flow_action_airtable_list_records.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionAirtableListRecords < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionAirtableListRecordsType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionAirtableListRecordsAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionAirtableListRecordsParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_airtable_list_records_params.rb b/lib/auth0/types/flow_action_airtable_list_records_params.rb index 1b2c9d35..6eb2ef24 100644 --- a/lib/auth0/types/flow_action_airtable_list_records_params.rb +++ b/lib/auth0/types/flow_action_airtable_list_records_params.rb @@ -4,9 +4,13 @@ module Auth0 module Types class FlowActionAirtableListRecordsParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :base_id, -> { String }, optional: false, nullable: false + field :table_name, -> { String }, optional: false, nullable: false + field :query, -> { String }, optional: true, nullable: false + field :view, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_airtable_update_record.rb b/lib/auth0/types/flow_action_airtable_update_record.rb index e1692b43..519a2ae9 100644 --- a/lib/auth0/types/flow_action_airtable_update_record.rb +++ b/lib/auth0/types/flow_action_airtable_update_record.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionAirtableUpdateRecord < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionAirtableUpdateRecordType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionAirtableUpdateRecordAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionAirtableUpdateRecordParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_airtable_update_record_params.rb b/lib/auth0/types/flow_action_airtable_update_record_params.rb index c4cb78fa..817a69e5 100644 --- a/lib/auth0/types/flow_action_airtable_update_record_params.rb +++ b/lib/auth0/types/flow_action_airtable_update_record_params.rb @@ -4,9 +4,13 @@ module Auth0 module Types class FlowActionAirtableUpdateRecordParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :base_id, -> { String }, optional: false, nullable: false + field :table_name, -> { String }, optional: false, nullable: false + field :record_id, -> { String }, optional: false, nullable: false + field :fields, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_auth0.rb b/lib/auth0/types/flow_action_auth0.rb index af23437d..98b46372 100644 --- a/lib/auth0/types/flow_action_auth0.rb +++ b/lib/auth0/types/flow_action_auth0.rb @@ -6,11 +6,17 @@ class FlowActionAuth0 < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::FlowActionAuth0CreateUser } + member -> { Auth0::Types::FlowActionAuth0GetUser } + member -> { Auth0::Types::FlowActionAuth0UpdateUser } + member -> { Auth0::Types::FlowActionAuth0SendRequest } + member -> { Auth0::Types::FlowActionAuth0SendEmail } + member -> { Auth0::Types::FlowActionAuth0SendSms } + member -> { Auth0::Types::FlowActionAuth0MakeCall } end end diff --git a/lib/auth0/types/flow_action_auth0create_user.rb b/lib/auth0/types/flow_action_auth0create_user.rb index 87b0466b..42566990 100644 --- a/lib/auth0/types/flow_action_auth0create_user.rb +++ b/lib/auth0/types/flow_action_auth0create_user.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionAuth0CreateUser < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionAuth0CreateUserType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionAuth0CreateUserAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionAuth0CreateUserParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_auth0create_user_params.rb b/lib/auth0/types/flow_action_auth0create_user_params.rb index 689ac63e..ca7c3d03 100644 --- a/lib/auth0/types/flow_action_auth0create_user_params.rb +++ b/lib/auth0/types/flow_action_auth0create_user_params.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FlowActionAuth0CreateUserParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :payload, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_auth0get_user.rb b/lib/auth0/types/flow_action_auth0get_user.rb index 113d72cf..b321760f 100644 --- a/lib/auth0/types/flow_action_auth0get_user.rb +++ b/lib/auth0/types/flow_action_auth0get_user.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionAuth0GetUser < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionAuth0GetUserType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionAuth0GetUserAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionAuth0GetUserParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_auth0get_user_params.rb b/lib/auth0/types/flow_action_auth0get_user_params.rb index a6ba55f7..40863848 100644 --- a/lib/auth0/types/flow_action_auth0get_user_params.rb +++ b/lib/auth0/types/flow_action_auth0get_user_params.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FlowActionAuth0GetUserParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :user_id, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_auth0make_call.rb b/lib/auth0/types/flow_action_auth0make_call.rb index db473cd5..3fa17272 100644 --- a/lib/auth0/types/flow_action_auth0make_call.rb +++ b/lib/auth0/types/flow_action_auth0make_call.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionAuth0MakeCall < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionAuth0MakeCallType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionAuth0MakeCallAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionAuth0MakeCallParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_auth0make_call_params.rb b/lib/auth0/types/flow_action_auth0make_call_params.rb index adbd3fe1..2cf64da6 100644 --- a/lib/auth0/types/flow_action_auth0make_call_params.rb +++ b/lib/auth0/types/flow_action_auth0make_call_params.rb @@ -4,8 +4,11 @@ module Auth0 module Types class FlowActionAuth0MakeCallParams < Internal::Types::Model field :from, -> { String }, optional: true, nullable: false + field :to, -> { String }, optional: false, nullable: false + field :message, -> { String }, optional: false, nullable: false + field :custom_vars, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_auth0send_email.rb b/lib/auth0/types/flow_action_auth0send_email.rb index 9ae08de9..1ec043ac 100644 --- a/lib/auth0/types/flow_action_auth0send_email.rb +++ b/lib/auth0/types/flow_action_auth0send_email.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionAuth0SendEmail < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionAuth0SendEmailType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionAuth0SendEmailAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionAuth0SendEmailParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_auth0send_email_params.rb b/lib/auth0/types/flow_action_auth0send_email_params.rb index 97e32fb2..b800d067 100644 --- a/lib/auth0/types/flow_action_auth0send_email_params.rb +++ b/lib/auth0/types/flow_action_auth0send_email_params.rb @@ -4,9 +4,13 @@ module Auth0 module Types class FlowActionAuth0SendEmailParams < Internal::Types::Model field :from, -> { Auth0::Types::FlowActionAuth0SendEmailParamsFrom }, optional: true, nullable: false + field :to, -> { String }, optional: false, nullable: false + field :subject, -> { String }, optional: false, nullable: false + field :body, -> { String }, optional: false, nullable: false + field :custom_vars, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_auth0send_email_params_from.rb b/lib/auth0/types/flow_action_auth0send_email_params_from.rb index 7e5e641e..bebe6e9f 100644 --- a/lib/auth0/types/flow_action_auth0send_email_params_from.rb +++ b/lib/auth0/types/flow_action_auth0send_email_params_from.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FlowActionAuth0SendEmailParamsFrom < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :email, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_auth0send_request.rb b/lib/auth0/types/flow_action_auth0send_request.rb index 954d7d08..6ea593bb 100644 --- a/lib/auth0/types/flow_action_auth0send_request.rb +++ b/lib/auth0/types/flow_action_auth0send_request.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionAuth0SendRequest < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionAuth0SendRequestType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionAuth0SendRequestAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionAuth0SendRequestParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_auth0send_request_params.rb b/lib/auth0/types/flow_action_auth0send_request_params.rb index 1876438d..98d66aa9 100644 --- a/lib/auth0/types/flow_action_auth0send_request_params.rb +++ b/lib/auth0/types/flow_action_auth0send_request_params.rb @@ -4,10 +4,15 @@ module Auth0 module Types class FlowActionAuth0SendRequestParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :pathname, -> { String }, optional: false, nullable: false + field :method_, -> { Auth0::Types::FlowActionAuth0SendRequestParamsMethod }, optional: true, nullable: false, api_name: "method" + field :headers, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :params, -> { Internal::Types::Hash[String, Auth0::Types::FlowActionAuth0SendRequestParamsQueryParamsValue] }, optional: true, nullable: false + field :payload, -> { Auth0::Types::FlowActionAuth0SendRequestParamsPayload }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_auth0send_request_params_payload.rb b/lib/auth0/types/flow_action_auth0send_request_params_payload.rb index d60244cd..07515d5f 100644 --- a/lib/auth0/types/flow_action_auth0send_request_params_payload.rb +++ b/lib/auth0/types/flow_action_auth0send_request_params_payload.rb @@ -6,7 +6,9 @@ class FlowActionAuth0SendRequestParamsPayload < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { String } + member -> { Internal::Types::Array[Object] } + member -> { Internal::Types::Hash[String, Object] } end end diff --git a/lib/auth0/types/flow_action_auth0send_request_params_query_params_value.rb b/lib/auth0/types/flow_action_auth0send_request_params_query_params_value.rb index f66a577e..cbad28d2 100644 --- a/lib/auth0/types/flow_action_auth0send_request_params_query_params_value.rb +++ b/lib/auth0/types/flow_action_auth0send_request_params_query_params_value.rb @@ -6,6 +6,7 @@ class FlowActionAuth0SendRequestParamsQueryParamsValue < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Integer } + member -> { String } end end diff --git a/lib/auth0/types/flow_action_auth0send_sms.rb b/lib/auth0/types/flow_action_auth0send_sms.rb index a7c8b44d..86158db5 100644 --- a/lib/auth0/types/flow_action_auth0send_sms.rb +++ b/lib/auth0/types/flow_action_auth0send_sms.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionAuth0SendSms < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionAuth0SendSmsType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionAuth0SendSmsAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionAuth0SendSmsParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_auth0send_sms_params.rb b/lib/auth0/types/flow_action_auth0send_sms_params.rb index 7b8da3c4..c9a3d722 100644 --- a/lib/auth0/types/flow_action_auth0send_sms_params.rb +++ b/lib/auth0/types/flow_action_auth0send_sms_params.rb @@ -4,8 +4,11 @@ module Auth0 module Types class FlowActionAuth0SendSmsParams < Internal::Types::Model field :from, -> { String }, optional: true, nullable: false + field :to, -> { String }, optional: false, nullable: false + field :message, -> { String }, optional: false, nullable: false + field :custom_vars, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_auth0update_user.rb b/lib/auth0/types/flow_action_auth0update_user.rb index 0bcf3f73..9d4b9cc9 100644 --- a/lib/auth0/types/flow_action_auth0update_user.rb +++ b/lib/auth0/types/flow_action_auth0update_user.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionAuth0UpdateUser < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionAuth0UpdateUserType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionAuth0UpdateUserAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionAuth0UpdateUserParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_auth0update_user_params.rb b/lib/auth0/types/flow_action_auth0update_user_params.rb index e21a5ea9..927e5b9f 100644 --- a/lib/auth0/types/flow_action_auth0update_user_params.rb +++ b/lib/auth0/types/flow_action_auth0update_user_params.rb @@ -4,7 +4,9 @@ module Auth0 module Types class FlowActionAuth0UpdateUserParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :user_id, -> { String }, optional: false, nullable: false + field :changes, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_bigquery_insert_rows.rb b/lib/auth0/types/flow_action_bigquery_insert_rows.rb index 54cead01..e2b83ded 100644 --- a/lib/auth0/types/flow_action_bigquery_insert_rows.rb +++ b/lib/auth0/types/flow_action_bigquery_insert_rows.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionBigqueryInsertRows < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionBigqueryInsertRowsType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionBigqueryInsertRowsAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionBigqueryInsertRowsParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_bigquery_insert_rows_params.rb b/lib/auth0/types/flow_action_bigquery_insert_rows_params.rb index f0411e7d..0b6e6444 100644 --- a/lib/auth0/types/flow_action_bigquery_insert_rows_params.rb +++ b/lib/auth0/types/flow_action_bigquery_insert_rows_params.rb @@ -4,8 +4,11 @@ module Auth0 module Types class FlowActionBigqueryInsertRowsParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :dataset_id, -> { String }, optional: false, nullable: false + field :table_id, -> { String }, optional: false, nullable: false + field :data, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_clearbit.rb b/lib/auth0/types/flow_action_clearbit.rb index 76b7dcb3..834baa4a 100644 --- a/lib/auth0/types/flow_action_clearbit.rb +++ b/lib/auth0/types/flow_action_clearbit.rb @@ -6,6 +6,7 @@ class FlowActionClearbit < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::FlowActionClearbitFindPerson } + member -> { Auth0::Types::FlowActionClearbitFindCompany } end end diff --git a/lib/auth0/types/flow_action_clearbit_find_company.rb b/lib/auth0/types/flow_action_clearbit_find_company.rb index 7e13e515..323c7dcd 100644 --- a/lib/auth0/types/flow_action_clearbit_find_company.rb +++ b/lib/auth0/types/flow_action_clearbit_find_company.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionClearbitFindCompany < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionClearbitFindCompanyType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionClearbitFindCompanyAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionClearbitFindCompanyParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_clearbit_find_company_params.rb b/lib/auth0/types/flow_action_clearbit_find_company_params.rb index 141cb7f3..bde82f7c 100644 --- a/lib/auth0/types/flow_action_clearbit_find_company_params.rb +++ b/lib/auth0/types/flow_action_clearbit_find_company_params.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FlowActionClearbitFindCompanyParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :domain, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_clearbit_find_person.rb b/lib/auth0/types/flow_action_clearbit_find_person.rb index b10a68c1..feb7d718 100644 --- a/lib/auth0/types/flow_action_clearbit_find_person.rb +++ b/lib/auth0/types/flow_action_clearbit_find_person.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionClearbitFindPerson < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionClearbitFindPersonType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionClearbitFindPersonAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionClearbitFindPersonParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_clearbit_find_person_params.rb b/lib/auth0/types/flow_action_clearbit_find_person_params.rb index ac7a4086..34dba965 100644 --- a/lib/auth0/types/flow_action_clearbit_find_person_params.rb +++ b/lib/auth0/types/flow_action_clearbit_find_person_params.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FlowActionClearbitFindPersonParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :email, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_email_verify_email.rb b/lib/auth0/types/flow_action_email_verify_email.rb index 71e7335d..9e3b0137 100644 --- a/lib/auth0/types/flow_action_email_verify_email.rb +++ b/lib/auth0/types/flow_action_email_verify_email.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionEmailVerifyEmail < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionEmailVerifyEmailType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionEmailVerifyEmailAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionEmailVerifyEmailParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_email_verify_email_params.rb b/lib/auth0/types/flow_action_email_verify_email_params.rb index 028d0e30..87d658ed 100644 --- a/lib/auth0/types/flow_action_email_verify_email_params.rb +++ b/lib/auth0/types/flow_action_email_verify_email_params.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FlowActionEmailVerifyEmailParams < Internal::Types::Model field :email, -> { String }, optional: false, nullable: false + field :rules, -> { Auth0::Types::FlowActionEmailVerifyEmailParamsRules }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_email_verify_email_params_rules.rb b/lib/auth0/types/flow_action_email_verify_email_params_rules.rb index 2b36bad2..3ae98744 100644 --- a/lib/auth0/types/flow_action_email_verify_email_params_rules.rb +++ b/lib/auth0/types/flow_action_email_verify_email_params_rules.rb @@ -4,10 +4,15 @@ module Auth0 module Types class FlowActionEmailVerifyEmailParamsRules < Internal::Types::Model field :require_mx_record, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :block_aliases, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :block_free_emails, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :block_disposable_emails, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :blocklist, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :allowlist, -> { Internal::Types::Array[String] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_flow.rb b/lib/auth0/types/flow_action_flow.rb index a0c54d0d..c148ac6b 100644 --- a/lib/auth0/types/flow_action_flow.rb +++ b/lib/auth0/types/flow_action_flow.rb @@ -6,11 +6,17 @@ class FlowActionFlow < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::FlowActionFlowBooleanCondition } + member -> { Auth0::Types::FlowActionFlowDelayFlow } + member -> { Auth0::Types::FlowActionFlowDoNothing } + member -> { Auth0::Types::FlowActionFlowErrorMessage } + member -> { Auth0::Types::FlowActionFlowMapValue } + member -> { Auth0::Types::FlowActionFlowReturnJSON } + member -> { Auth0::Types::FlowActionFlowStoreVars } end end diff --git a/lib/auth0/types/flow_action_flow_boolean_condition.rb b/lib/auth0/types/flow_action_flow_boolean_condition.rb index 32c4f526..08a1e674 100644 --- a/lib/auth0/types/flow_action_flow_boolean_condition.rb +++ b/lib/auth0/types/flow_action_flow_boolean_condition.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionFlowBooleanCondition < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionFlowBooleanConditionType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionFlowBooleanConditionAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionFlowBooleanConditionParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_flow_boolean_condition_params.rb b/lib/auth0/types/flow_action_flow_boolean_condition_params.rb index a0b17fb6..14a45c7c 100644 --- a/lib/auth0/types/flow_action_flow_boolean_condition_params.rb +++ b/lib/auth0/types/flow_action_flow_boolean_condition_params.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FlowActionFlowBooleanConditionParams < Internal::Types::Model field :then_, -> { Internal::Types::Array[Auth0::Types::FlowAction] }, optional: true, nullable: false, api_name: "then" + field :else_, -> { Internal::Types::Array[Auth0::Types::FlowAction] }, optional: true, nullable: false, api_name: "else" end end diff --git a/lib/auth0/types/flow_action_flow_delay_flow.rb b/lib/auth0/types/flow_action_flow_delay_flow.rb index e48a1d35..21b1f5a1 100644 --- a/lib/auth0/types/flow_action_flow_delay_flow.rb +++ b/lib/auth0/types/flow_action_flow_delay_flow.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionFlowDelayFlow < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionFlowDelayFlowType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionFlowDelayFlowAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionFlowDelayFlowParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_flow_delay_flow_params.rb b/lib/auth0/types/flow_action_flow_delay_flow_params.rb index d920e954..746d8e73 100644 --- a/lib/auth0/types/flow_action_flow_delay_flow_params.rb +++ b/lib/auth0/types/flow_action_flow_delay_flow_params.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FlowActionFlowDelayFlowParams < Internal::Types::Model field :number, -> { Auth0::Types::FlowActionFlowDelayFlowParamsNumber }, optional: false, nullable: false + field :units, -> { Auth0::Types::FlowActionFlowDelayFlowParamsUnits }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_flow_delay_flow_params_number.rb b/lib/auth0/types/flow_action_flow_delay_flow_params_number.rb index d07121e3..334a5d79 100644 --- a/lib/auth0/types/flow_action_flow_delay_flow_params_number.rb +++ b/lib/auth0/types/flow_action_flow_delay_flow_params_number.rb @@ -6,6 +6,7 @@ class FlowActionFlowDelayFlowParamsNumber < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Integer } + member -> { String } end end diff --git a/lib/auth0/types/flow_action_flow_do_nothing.rb b/lib/auth0/types/flow_action_flow_do_nothing.rb index 342ee82e..30c5f85f 100644 --- a/lib/auth0/types/flow_action_flow_do_nothing.rb +++ b/lib/auth0/types/flow_action_flow_do_nothing.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionFlowDoNothing < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionFlowDoNothingType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionFlowDoNothingAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionFlowDoNothingParams }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_flow_error_message.rb b/lib/auth0/types/flow_action_flow_error_message.rb index 41b2db5d..0e65da3b 100644 --- a/lib/auth0/types/flow_action_flow_error_message.rb +++ b/lib/auth0/types/flow_action_flow_error_message.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionFlowErrorMessage < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionFlowErrorMessageType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionFlowErrorMessageAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionFlowErrorMessageParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_flow_map_value.rb b/lib/auth0/types/flow_action_flow_map_value.rb index 11075105..d0c2997c 100644 --- a/lib/auth0/types/flow_action_flow_map_value.rb +++ b/lib/auth0/types/flow_action_flow_map_value.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionFlowMapValue < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionFlowMapValueType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionFlowMapValueAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionFlowMapValueParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_flow_map_value_params.rb b/lib/auth0/types/flow_action_flow_map_value_params.rb index 431fc3f7..f76cab3d 100644 --- a/lib/auth0/types/flow_action_flow_map_value_params.rb +++ b/lib/auth0/types/flow_action_flow_map_value_params.rb @@ -4,7 +4,9 @@ module Auth0 module Types class FlowActionFlowMapValueParams < Internal::Types::Model field :input, -> { Auth0::Types::FlowActionFlowMapValueParamsInput }, optional: false, nullable: false + field :cases, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :fallback, -> { Auth0::Types::FlowActionFlowMapValueParamsFallback }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_flow_map_value_params_fallback.rb b/lib/auth0/types/flow_action_flow_map_value_params_fallback.rb index 44ed7a04..ecd94497 100644 --- a/lib/auth0/types/flow_action_flow_map_value_params_fallback.rb +++ b/lib/auth0/types/flow_action_flow_map_value_params_fallback.rb @@ -6,8 +6,11 @@ class FlowActionFlowMapValueParamsFallback < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { String } + member -> { Integer } + member -> { Internal::Types::Hash[String, Object] } + member -> { Internal::Types::Array[Object] } end end diff --git a/lib/auth0/types/flow_action_flow_map_value_params_input.rb b/lib/auth0/types/flow_action_flow_map_value_params_input.rb index 8bccfd44..9fe061d2 100644 --- a/lib/auth0/types/flow_action_flow_map_value_params_input.rb +++ b/lib/auth0/types/flow_action_flow_map_value_params_input.rb @@ -6,6 +6,7 @@ class FlowActionFlowMapValueParamsInput < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { String } + member -> { Integer } end end diff --git a/lib/auth0/types/flow_action_flow_return_json.rb b/lib/auth0/types/flow_action_flow_return_json.rb index 024bda07..01f7dcbc 100644 --- a/lib/auth0/types/flow_action_flow_return_json.rb +++ b/lib/auth0/types/flow_action_flow_return_json.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionFlowReturnJSON < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionFlowReturnJSONType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionFlowReturnJSONAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionFlowReturnJSONParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_flow_return_json_params_payload.rb b/lib/auth0/types/flow_action_flow_return_json_params_payload.rb index 2e41124b..5f9614d2 100644 --- a/lib/auth0/types/flow_action_flow_return_json_params_payload.rb +++ b/lib/auth0/types/flow_action_flow_return_json_params_payload.rb @@ -6,6 +6,7 @@ class FlowActionFlowReturnJSONParamsPayload < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Internal::Types::Hash[String, Object] } + member -> { String } end end diff --git a/lib/auth0/types/flow_action_flow_store_vars.rb b/lib/auth0/types/flow_action_flow_store_vars.rb index 09825637..8f4243aa 100644 --- a/lib/auth0/types/flow_action_flow_store_vars.rb +++ b/lib/auth0/types/flow_action_flow_store_vars.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionFlowStoreVars < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionFlowStoreVarsType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionFlowStoreVarsAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionFlowStoreVarsParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_google_sheets_add_row.rb b/lib/auth0/types/flow_action_google_sheets_add_row.rb index b856a316..b84b3767 100644 --- a/lib/auth0/types/flow_action_google_sheets_add_row.rb +++ b/lib/auth0/types/flow_action_google_sheets_add_row.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionGoogleSheetsAddRow < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionGoogleSheetsAddRowType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionGoogleSheetsAddRowAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionGoogleSheetsAddRowParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_google_sheets_add_row_params.rb b/lib/auth0/types/flow_action_google_sheets_add_row_params.rb index ee101aed..e4c6f48c 100644 --- a/lib/auth0/types/flow_action_google_sheets_add_row_params.rb +++ b/lib/auth0/types/flow_action_google_sheets_add_row_params.rb @@ -4,8 +4,11 @@ module Auth0 module Types class FlowActionGoogleSheetsAddRowParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :spreadsheet_id, -> { String }, optional: false, nullable: false + field :sheet_id, -> { Auth0::Types::FlowActionGoogleSheetsAddRowParamsSheetID }, optional: true, nullable: false + field :values, -> { Internal::Types::Array[String] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_google_sheets_add_row_params_sheet_id.rb b/lib/auth0/types/flow_action_google_sheets_add_row_params_sheet_id.rb index 3d257e63..f72ac0b1 100644 --- a/lib/auth0/types/flow_action_google_sheets_add_row_params_sheet_id.rb +++ b/lib/auth0/types/flow_action_google_sheets_add_row_params_sheet_id.rb @@ -6,6 +6,7 @@ class FlowActionGoogleSheetsAddRowParamsSheetID < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Integer } + member -> { String } end end diff --git a/lib/auth0/types/flow_action_http_send_request.rb b/lib/auth0/types/flow_action_http_send_request.rb index 8dff93e2..84ecf060 100644 --- a/lib/auth0/types/flow_action_http_send_request.rb +++ b/lib/auth0/types/flow_action_http_send_request.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionHTTPSendRequest < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionHTTPSendRequestType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionHTTPSendRequestAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionHTTPSendRequestParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_http_send_request_params.rb b/lib/auth0/types/flow_action_http_send_request_params.rb index 60ba72ec..ac48fb6d 100644 --- a/lib/auth0/types/flow_action_http_send_request_params.rb +++ b/lib/auth0/types/flow_action_http_send_request_params.rb @@ -4,12 +4,19 @@ module Auth0 module Types class FlowActionHTTPSendRequestParams < Internal::Types::Model field :connection_id, -> { String }, optional: true, nullable: false + field :url, -> { String }, optional: false, nullable: false + field :method_, -> { Auth0::Types::FlowActionHTTPSendRequestParamsMethod }, optional: true, nullable: false, api_name: "method" + field :headers, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :basic, -> { Auth0::Types::FlowActionHTTPSendRequestParamsBasicAuth }, optional: true, nullable: false + field :params, -> { Internal::Types::Hash[String, Auth0::Types::FlowActionHTTPSendRequestParamsQueryParamsValue] }, optional: true, nullable: false + field :payload, -> { Auth0::Types::FlowActionHTTPSendRequestParamsPayload }, optional: true, nullable: false + field :content_type, -> { Auth0::Types::FlowActionHTTPSendRequestParamsContentType }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_http_send_request_params_basic_auth.rb b/lib/auth0/types/flow_action_http_send_request_params_basic_auth.rb index 736ac3b1..e2be84cd 100644 --- a/lib/auth0/types/flow_action_http_send_request_params_basic_auth.rb +++ b/lib/auth0/types/flow_action_http_send_request_params_basic_auth.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FlowActionHTTPSendRequestParamsBasicAuth < Internal::Types::Model field :username, -> { String }, optional: true, nullable: false + field :password, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_http_send_request_params_payload.rb b/lib/auth0/types/flow_action_http_send_request_params_payload.rb index fe055e45..2f79403f 100644 --- a/lib/auth0/types/flow_action_http_send_request_params_payload.rb +++ b/lib/auth0/types/flow_action_http_send_request_params_payload.rb @@ -6,7 +6,9 @@ class FlowActionHTTPSendRequestParamsPayload < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { String } + member -> { Internal::Types::Array[Object] } + member -> { Internal::Types::Hash[String, Object] } end end diff --git a/lib/auth0/types/flow_action_http_send_request_params_query_params_value.rb b/lib/auth0/types/flow_action_http_send_request_params_query_params_value.rb index 81316532..5c3fecb5 100644 --- a/lib/auth0/types/flow_action_http_send_request_params_query_params_value.rb +++ b/lib/auth0/types/flow_action_http_send_request_params_query_params_value.rb @@ -6,6 +6,7 @@ class FlowActionHTTPSendRequestParamsQueryParamsValue < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Integer } + member -> { String } end end diff --git a/lib/auth0/types/flow_action_hubspot.rb b/lib/auth0/types/flow_action_hubspot.rb index 934c546c..212d939b 100644 --- a/lib/auth0/types/flow_action_hubspot.rb +++ b/lib/auth0/types/flow_action_hubspot.rb @@ -6,7 +6,9 @@ class FlowActionHubspot < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::FlowActionHubspotEnrollContact } + member -> { Auth0::Types::FlowActionHubspotGetContact } + member -> { Auth0::Types::FlowActionHubspotUpsertContact } end end diff --git a/lib/auth0/types/flow_action_hubspot_enroll_contact.rb b/lib/auth0/types/flow_action_hubspot_enroll_contact.rb index c19df1e2..54acc7ef 100644 --- a/lib/auth0/types/flow_action_hubspot_enroll_contact.rb +++ b/lib/auth0/types/flow_action_hubspot_enroll_contact.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionHubspotEnrollContact < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionHubspotEnrollContactType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionHubspotEnrollContactAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionHubspotEnrollContactParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_hubspot_enroll_contact_params.rb b/lib/auth0/types/flow_action_hubspot_enroll_contact_params.rb index 13ad393b..8ebfdf95 100644 --- a/lib/auth0/types/flow_action_hubspot_enroll_contact_params.rb +++ b/lib/auth0/types/flow_action_hubspot_enroll_contact_params.rb @@ -4,7 +4,9 @@ module Auth0 module Types class FlowActionHubspotEnrollContactParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :email, -> { String }, optional: false, nullable: false + field :workflow_id, -> { Auth0::Types::FlowActionHubspotEnrollContactParamsWorkflowID }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_hubspot_enroll_contact_params_workflow_id.rb b/lib/auth0/types/flow_action_hubspot_enroll_contact_params_workflow_id.rb index a1b76d5a..6693c9eb 100644 --- a/lib/auth0/types/flow_action_hubspot_enroll_contact_params_workflow_id.rb +++ b/lib/auth0/types/flow_action_hubspot_enroll_contact_params_workflow_id.rb @@ -6,6 +6,7 @@ class FlowActionHubspotEnrollContactParamsWorkflowID < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { String } + member -> { Integer } end end diff --git a/lib/auth0/types/flow_action_hubspot_get_contact.rb b/lib/auth0/types/flow_action_hubspot_get_contact.rb index f9282fd9..2d29fc01 100644 --- a/lib/auth0/types/flow_action_hubspot_get_contact.rb +++ b/lib/auth0/types/flow_action_hubspot_get_contact.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionHubspotGetContact < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionHubspotGetContactType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionHubspotGetContactAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionHubspotGetContactParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_hubspot_get_contact_params.rb b/lib/auth0/types/flow_action_hubspot_get_contact_params.rb index 261f32f1..515f2497 100644 --- a/lib/auth0/types/flow_action_hubspot_get_contact_params.rb +++ b/lib/auth0/types/flow_action_hubspot_get_contact_params.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FlowActionHubspotGetContactParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :email, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_hubspot_upsert_contact.rb b/lib/auth0/types/flow_action_hubspot_upsert_contact.rb index d0815b0d..f05004ab 100644 --- a/lib/auth0/types/flow_action_hubspot_upsert_contact.rb +++ b/lib/auth0/types/flow_action_hubspot_upsert_contact.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionHubspotUpsertContact < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionHubspotUpsertContactType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionHubspotUpsertContactAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionHubspotUpsertContactParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_hubspot_upsert_contact_params.rb b/lib/auth0/types/flow_action_hubspot_upsert_contact_params.rb index 91fd82dc..928a97e0 100644 --- a/lib/auth0/types/flow_action_hubspot_upsert_contact_params.rb +++ b/lib/auth0/types/flow_action_hubspot_upsert_contact_params.rb @@ -4,7 +4,9 @@ module Auth0 module Types class FlowActionHubspotUpsertContactParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :email, -> { String }, optional: false, nullable: false + field :properties, -> { Internal::Types::Array[Auth0::Types::FlowActionHubspotUpsertContactParamsProperty] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_json.rb b/lib/auth0/types/flow_action_json.rb index bb7c491a..c13e682e 100644 --- a/lib/auth0/types/flow_action_json.rb +++ b/lib/auth0/types/flow_action_json.rb @@ -6,7 +6,9 @@ class FlowActionJSON < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::FlowActionJSONCreateJSON } + member -> { Auth0::Types::FlowActionJSONParseJSON } + member -> { Auth0::Types::FlowActionJSONSerializeJSON } end end diff --git a/lib/auth0/types/flow_action_json_create_json.rb b/lib/auth0/types/flow_action_json_create_json.rb index 41d1bb97..61f56602 100644 --- a/lib/auth0/types/flow_action_json_create_json.rb +++ b/lib/auth0/types/flow_action_json_create_json.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionJSONCreateJSON < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionJSONCreateJSONType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionJSONCreateJSONAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionJSONCreateJSONParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_json_parse_json.rb b/lib/auth0/types/flow_action_json_parse_json.rb index b49ed53e..4c1781cf 100644 --- a/lib/auth0/types/flow_action_json_parse_json.rb +++ b/lib/auth0/types/flow_action_json_parse_json.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionJSONParseJSON < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionJSONParseJSONType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionJSONParseJSONAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionJSONParseJSONParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_json_serialize_json.rb b/lib/auth0/types/flow_action_json_serialize_json.rb index 38a3fff7..210ea3d2 100644 --- a/lib/auth0/types/flow_action_json_serialize_json.rb +++ b/lib/auth0/types/flow_action_json_serialize_json.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionJSONSerializeJSON < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionJSONSerializeJSONType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionJSONSerializeJSONAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionJSONSerializeJSONParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_json_serialize_json_params_object.rb b/lib/auth0/types/flow_action_json_serialize_json_params_object.rb index 38201773..d8e6a416 100644 --- a/lib/auth0/types/flow_action_json_serialize_json_params_object.rb +++ b/lib/auth0/types/flow_action_json_serialize_json_params_object.rb @@ -6,6 +6,7 @@ class FlowActionJSONSerializeJSONParamsObject < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { String } + member -> { Internal::Types::Hash[String, Object] } end end diff --git a/lib/auth0/types/flow_action_jwt.rb b/lib/auth0/types/flow_action_jwt.rb index ffe1efd3..8abfc954 100644 --- a/lib/auth0/types/flow_action_jwt.rb +++ b/lib/auth0/types/flow_action_jwt.rb @@ -6,7 +6,9 @@ class FlowActionJwt < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::FlowActionJwtDecodeJwt } + member -> { Auth0::Types::FlowActionJwtSignJwt } + member -> { Auth0::Types::FlowActionJwtVerifyJwt } end end diff --git a/lib/auth0/types/flow_action_jwt_decode_jwt.rb b/lib/auth0/types/flow_action_jwt_decode_jwt.rb index 25e5b73f..6c9b5f12 100644 --- a/lib/auth0/types/flow_action_jwt_decode_jwt.rb +++ b/lib/auth0/types/flow_action_jwt_decode_jwt.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionJwtDecodeJwt < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionJwtDecodeJwtType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionJwtDecodeJwtAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionJwtDecodeJwtParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_jwt_sign_jwt.rb b/lib/auth0/types/flow_action_jwt_sign_jwt.rb index 00bf815f..f1210321 100644 --- a/lib/auth0/types/flow_action_jwt_sign_jwt.rb +++ b/lib/auth0/types/flow_action_jwt_sign_jwt.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionJwtSignJwt < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionJwtSignJwtType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionJwtSignJwtAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionJwtSignJwtParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_jwt_sign_jwt_params.rb b/lib/auth0/types/flow_action_jwt_sign_jwt_params.rb index 7757d897..f0840d7d 100644 --- a/lib/auth0/types/flow_action_jwt_sign_jwt_params.rb +++ b/lib/auth0/types/flow_action_jwt_sign_jwt_params.rb @@ -4,10 +4,15 @@ module Auth0 module Types class FlowActionJwtSignJwtParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :payload, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :subject, -> { String }, optional: true, nullable: false + field :issuer, -> { String }, optional: true, nullable: false + field :audience, -> { String }, optional: true, nullable: false + field :expires_in, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_jwt_verify_jwt.rb b/lib/auth0/types/flow_action_jwt_verify_jwt.rb index f32c20f0..f226f0d6 100644 --- a/lib/auth0/types/flow_action_jwt_verify_jwt.rb +++ b/lib/auth0/types/flow_action_jwt_verify_jwt.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionJwtVerifyJwt < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionJwtVerifyJwtType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionJwtVerifyJwtAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionJwtVerifyJwtParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_jwt_verify_jwt_params.rb b/lib/auth0/types/flow_action_jwt_verify_jwt_params.rb index 3963b043..abf86d2e 100644 --- a/lib/auth0/types/flow_action_jwt_verify_jwt_params.rb +++ b/lib/auth0/types/flow_action_jwt_verify_jwt_params.rb @@ -4,8 +4,11 @@ module Auth0 module Types class FlowActionJwtVerifyJwtParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :token, -> { String }, optional: false, nullable: false + field :audience, -> { String }, optional: true, nullable: false + field :issuer, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_mailchimp_upsert_member.rb b/lib/auth0/types/flow_action_mailchimp_upsert_member.rb index 9df30e84..102c9138 100644 --- a/lib/auth0/types/flow_action_mailchimp_upsert_member.rb +++ b/lib/auth0/types/flow_action_mailchimp_upsert_member.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionMailchimpUpsertMember < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionMailchimpUpsertMemberType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionMailchimpUpsertMemberAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionMailchimpUpsertMemberParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_mailchimp_upsert_member_params.rb b/lib/auth0/types/flow_action_mailchimp_upsert_member_params.rb index fed6c5ee..960d1edd 100644 --- a/lib/auth0/types/flow_action_mailchimp_upsert_member_params.rb +++ b/lib/auth0/types/flow_action_mailchimp_upsert_member_params.rb @@ -4,7 +4,9 @@ module Auth0 module Types class FlowActionMailchimpUpsertMemberParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :list_id, -> { String }, optional: false, nullable: false + field :member, -> { Auth0::Types::FlowActionMailchimpUpsertMemberParamsMember }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_mailchimp_upsert_member_params_member.rb b/lib/auth0/types/flow_action_mailchimp_upsert_member_params_member.rb index 4e89a556..c57a333a 100644 --- a/lib/auth0/types/flow_action_mailchimp_upsert_member_params_member.rb +++ b/lib/auth0/types/flow_action_mailchimp_upsert_member_params_member.rb @@ -4,7 +4,9 @@ module Auth0 module Types class FlowActionMailchimpUpsertMemberParamsMember < Internal::Types::Model field :email_address, -> { String }, optional: false, nullable: false + field :status_if_new, -> { String }, optional: false, nullable: false + field :merge_fields, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_mailjet_send_email.rb b/lib/auth0/types/flow_action_mailjet_send_email.rb index b34a5185..35683fe5 100644 --- a/lib/auth0/types/flow_action_mailjet_send_email.rb +++ b/lib/auth0/types/flow_action_mailjet_send_email.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionMailjetSendEmail < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionMailjetSendEmailType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionMailjetSendEmailAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionMailjetSendEmailParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_mailjet_send_email_params.rb b/lib/auth0/types/flow_action_mailjet_send_email_params.rb index f81290a4..66e0653f 100644 --- a/lib/auth0/types/flow_action_mailjet_send_email_params.rb +++ b/lib/auth0/types/flow_action_mailjet_send_email_params.rb @@ -6,6 +6,7 @@ class FlowActionMailjetSendEmailParams < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::FlowActionMailjetSendEmailParamsContent } + member -> { Auth0::Types::FlowActionMailjetSendEmailParamsTemplateID } end end diff --git a/lib/auth0/types/flow_action_mailjet_send_email_params_template_id.rb b/lib/auth0/types/flow_action_mailjet_send_email_params_template_id.rb index 60330fa3..186df016 100644 --- a/lib/auth0/types/flow_action_mailjet_send_email_params_template_id.rb +++ b/lib/auth0/types/flow_action_mailjet_send_email_params_template_id.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FlowActionMailjetSendEmailParamsTemplateID < Internal::Types::Model field :template_id, -> { Integer }, optional: false, nullable: false + field :variables, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_otp.rb b/lib/auth0/types/flow_action_otp.rb index 0f5cb283..71c51a6e 100644 --- a/lib/auth0/types/flow_action_otp.rb +++ b/lib/auth0/types/flow_action_otp.rb @@ -6,6 +6,7 @@ class FlowActionOtp < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::FlowActionOtpGenerateCode } + member -> { Auth0::Types::FlowActionOtpVerifyCode } end end diff --git a/lib/auth0/types/flow_action_otp_generate_code.rb b/lib/auth0/types/flow_action_otp_generate_code.rb index df4ccdcb..d9ba5e65 100644 --- a/lib/auth0/types/flow_action_otp_generate_code.rb +++ b/lib/auth0/types/flow_action_otp_generate_code.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionOtpGenerateCode < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionOtpGenerateCodeType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionOtpGenerateCodeAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionOtpGenerateCodeParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_otp_generate_code_params.rb b/lib/auth0/types/flow_action_otp_generate_code_params.rb index 0af94bec..36e0a5ab 100644 --- a/lib/auth0/types/flow_action_otp_generate_code_params.rb +++ b/lib/auth0/types/flow_action_otp_generate_code_params.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FlowActionOtpGenerateCodeParams < Internal::Types::Model field :reference, -> { String }, optional: false, nullable: false + field :length, -> { Integer }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_otp_verify_code.rb b/lib/auth0/types/flow_action_otp_verify_code.rb index 1ebe4ff5..09eb352d 100644 --- a/lib/auth0/types/flow_action_otp_verify_code.rb +++ b/lib/auth0/types/flow_action_otp_verify_code.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionOtpVerifyCode < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionOtpVerifyCodeType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionOtpVerifyCodeAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionOtpVerifyCodeParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_otp_verify_code_params.rb b/lib/auth0/types/flow_action_otp_verify_code_params.rb index db759d7d..ca044239 100644 --- a/lib/auth0/types/flow_action_otp_verify_code_params.rb +++ b/lib/auth0/types/flow_action_otp_verify_code_params.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FlowActionOtpVerifyCodeParams < Internal::Types::Model field :reference, -> { String }, optional: false, nullable: false + field :code, -> { Auth0::Types::FlowActionOtpVerifyCodeParamsCode }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_otp_verify_code_params_code.rb b/lib/auth0/types/flow_action_otp_verify_code_params_code.rb index f00d44db..a50ac0a0 100644 --- a/lib/auth0/types/flow_action_otp_verify_code_params_code.rb +++ b/lib/auth0/types/flow_action_otp_verify_code_params_code.rb @@ -6,6 +6,7 @@ class FlowActionOtpVerifyCodeParamsCode < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Integer } + member -> { String } end end diff --git a/lib/auth0/types/flow_action_pipedrive.rb b/lib/auth0/types/flow_action_pipedrive.rb index c7171414..b36ebea6 100644 --- a/lib/auth0/types/flow_action_pipedrive.rb +++ b/lib/auth0/types/flow_action_pipedrive.rb @@ -6,7 +6,9 @@ class FlowActionPipedrive < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::FlowActionPipedriveAddDeal } + member -> { Auth0::Types::FlowActionPipedriveAddOrganization } + member -> { Auth0::Types::FlowActionPipedriveAddPerson } end end diff --git a/lib/auth0/types/flow_action_pipedrive_add_deal.rb b/lib/auth0/types/flow_action_pipedrive_add_deal.rb index 89d340ef..8a2e285c 100644 --- a/lib/auth0/types/flow_action_pipedrive_add_deal.rb +++ b/lib/auth0/types/flow_action_pipedrive_add_deal.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionPipedriveAddDeal < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionPipedriveAddDealType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionPipedriveAddDealAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionPipedriveAddDealParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_pipedrive_add_deal_params.rb b/lib/auth0/types/flow_action_pipedrive_add_deal_params.rb index f0624989..a0d83354 100644 --- a/lib/auth0/types/flow_action_pipedrive_add_deal_params.rb +++ b/lib/auth0/types/flow_action_pipedrive_add_deal_params.rb @@ -4,12 +4,19 @@ module Auth0 module Types class FlowActionPipedriveAddDealParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :title, -> { String }, optional: false, nullable: false + field :value, -> { String }, optional: true, nullable: false + field :user_id, -> { Auth0::Types::FlowActionPipedriveAddDealParamsUserID }, optional: true, nullable: false + field :person_id, -> { Auth0::Types::FlowActionPipedriveAddDealParamsPersonID }, optional: true, nullable: false + field :organization_id, -> { Auth0::Types::FlowActionPipedriveAddDealParamsOrganizationID }, optional: true, nullable: false + field :stage_id, -> { Auth0::Types::FlowActionPipedriveAddDealParamsStageID }, optional: true, nullable: false + field :fields, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_pipedrive_add_deal_params_organization_id.rb b/lib/auth0/types/flow_action_pipedrive_add_deal_params_organization_id.rb index 8711ea49..31a51ef2 100644 --- a/lib/auth0/types/flow_action_pipedrive_add_deal_params_organization_id.rb +++ b/lib/auth0/types/flow_action_pipedrive_add_deal_params_organization_id.rb @@ -6,6 +6,7 @@ class FlowActionPipedriveAddDealParamsOrganizationID < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { String } + member -> { Integer } end end diff --git a/lib/auth0/types/flow_action_pipedrive_add_deal_params_person_id.rb b/lib/auth0/types/flow_action_pipedrive_add_deal_params_person_id.rb index a73e7dc1..b8388e2d 100644 --- a/lib/auth0/types/flow_action_pipedrive_add_deal_params_person_id.rb +++ b/lib/auth0/types/flow_action_pipedrive_add_deal_params_person_id.rb @@ -6,6 +6,7 @@ class FlowActionPipedriveAddDealParamsPersonID < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { String } + member -> { Integer } end end diff --git a/lib/auth0/types/flow_action_pipedrive_add_deal_params_stage_id.rb b/lib/auth0/types/flow_action_pipedrive_add_deal_params_stage_id.rb index e80d9339..b3f8b6f6 100644 --- a/lib/auth0/types/flow_action_pipedrive_add_deal_params_stage_id.rb +++ b/lib/auth0/types/flow_action_pipedrive_add_deal_params_stage_id.rb @@ -6,6 +6,7 @@ class FlowActionPipedriveAddDealParamsStageID < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { String } + member -> { Integer } end end diff --git a/lib/auth0/types/flow_action_pipedrive_add_deal_params_user_id.rb b/lib/auth0/types/flow_action_pipedrive_add_deal_params_user_id.rb index 26949689..212021ee 100644 --- a/lib/auth0/types/flow_action_pipedrive_add_deal_params_user_id.rb +++ b/lib/auth0/types/flow_action_pipedrive_add_deal_params_user_id.rb @@ -6,6 +6,7 @@ class FlowActionPipedriveAddDealParamsUserID < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { String } + member -> { Integer } end end diff --git a/lib/auth0/types/flow_action_pipedrive_add_organization.rb b/lib/auth0/types/flow_action_pipedrive_add_organization.rb index 42733293..703ab389 100644 --- a/lib/auth0/types/flow_action_pipedrive_add_organization.rb +++ b/lib/auth0/types/flow_action_pipedrive_add_organization.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionPipedriveAddOrganization < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionPipedriveAddOrganizationType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionPipedriveAddOrganizationAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionPipedriveAddOrganizationParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_pipedrive_add_organization_params.rb b/lib/auth0/types/flow_action_pipedrive_add_organization_params.rb index 03bdfca3..4d8f9ec9 100644 --- a/lib/auth0/types/flow_action_pipedrive_add_organization_params.rb +++ b/lib/auth0/types/flow_action_pipedrive_add_organization_params.rb @@ -4,8 +4,11 @@ module Auth0 module Types class FlowActionPipedriveAddOrganizationParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: false, nullable: false + field :owner_id, -> { Auth0::Types::FlowActionPipedriveAddOrganizationParamsOwnerID }, optional: true, nullable: false + field :fields, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_pipedrive_add_organization_params_owner_id.rb b/lib/auth0/types/flow_action_pipedrive_add_organization_params_owner_id.rb index 8f7bf1d7..bf3c40ff 100644 --- a/lib/auth0/types/flow_action_pipedrive_add_organization_params_owner_id.rb +++ b/lib/auth0/types/flow_action_pipedrive_add_organization_params_owner_id.rb @@ -6,6 +6,7 @@ class FlowActionPipedriveAddOrganizationParamsOwnerID < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { String } + member -> { Integer } end end diff --git a/lib/auth0/types/flow_action_pipedrive_add_person.rb b/lib/auth0/types/flow_action_pipedrive_add_person.rb index 0da92431..abbf28b9 100644 --- a/lib/auth0/types/flow_action_pipedrive_add_person.rb +++ b/lib/auth0/types/flow_action_pipedrive_add_person.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionPipedriveAddPerson < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionPipedriveAddPersonType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionPipedriveAddPersonAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionPipedriveAddPersonParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_pipedrive_add_person_params.rb b/lib/auth0/types/flow_action_pipedrive_add_person_params.rb index 91cb170b..3a22b09a 100644 --- a/lib/auth0/types/flow_action_pipedrive_add_person_params.rb +++ b/lib/auth0/types/flow_action_pipedrive_add_person_params.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionPipedriveAddPersonParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: false, nullable: false + field :email, -> { String }, optional: true, nullable: false + field :phone, -> { String }, optional: true, nullable: false + field :owner_id, -> { Auth0::Types::FlowActionPipedriveAddPersonParamsOwnerID }, optional: true, nullable: false + field :organization_id, -> { Auth0::Types::FlowActionPipedriveAddPersonParamsOrganizationID }, optional: true, nullable: false + field :fields, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_pipedrive_add_person_params_organization_id.rb b/lib/auth0/types/flow_action_pipedrive_add_person_params_organization_id.rb index 1928a3eb..7f988ddf 100644 --- a/lib/auth0/types/flow_action_pipedrive_add_person_params_organization_id.rb +++ b/lib/auth0/types/flow_action_pipedrive_add_person_params_organization_id.rb @@ -6,6 +6,7 @@ class FlowActionPipedriveAddPersonParamsOrganizationID < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { String } + member -> { Integer } end end diff --git a/lib/auth0/types/flow_action_pipedrive_add_person_params_owner_id.rb b/lib/auth0/types/flow_action_pipedrive_add_person_params_owner_id.rb index e3b9fec3..17f561df 100644 --- a/lib/auth0/types/flow_action_pipedrive_add_person_params_owner_id.rb +++ b/lib/auth0/types/flow_action_pipedrive_add_person_params_owner_id.rb @@ -6,6 +6,7 @@ class FlowActionPipedriveAddPersonParamsOwnerID < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { String } + member -> { Integer } end end diff --git a/lib/auth0/types/flow_action_salesforce.rb b/lib/auth0/types/flow_action_salesforce.rb index 0523d09c..fec5544e 100644 --- a/lib/auth0/types/flow_action_salesforce.rb +++ b/lib/auth0/types/flow_action_salesforce.rb @@ -6,8 +6,11 @@ class FlowActionSalesforce < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::FlowActionSalesforceCreateLead } + member -> { Auth0::Types::FlowActionSalesforceGetLead } + member -> { Auth0::Types::FlowActionSalesforceSearchLeads } + member -> { Auth0::Types::FlowActionSalesforceUpdateLead } end end diff --git a/lib/auth0/types/flow_action_salesforce_create_lead.rb b/lib/auth0/types/flow_action_salesforce_create_lead.rb index 439fd646..a5e68b20 100644 --- a/lib/auth0/types/flow_action_salesforce_create_lead.rb +++ b/lib/auth0/types/flow_action_salesforce_create_lead.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionSalesforceCreateLead < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionSalesforceCreateLeadType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionSalesforceCreateLeadAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionSalesforceCreateLeadParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_salesforce_create_lead_params.rb b/lib/auth0/types/flow_action_salesforce_create_lead_params.rb index dbd937fa..9cdaae24 100644 --- a/lib/auth0/types/flow_action_salesforce_create_lead_params.rb +++ b/lib/auth0/types/flow_action_salesforce_create_lead_params.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionSalesforceCreateLeadParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :first_name, -> { String }, optional: true, nullable: false + field :last_name, -> { String }, optional: false, nullable: false + field :company, -> { String }, optional: false, nullable: false + field :email, -> { String }, optional: true, nullable: false + field :phone, -> { String }, optional: true, nullable: false + field :payload, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_salesforce_get_lead.rb b/lib/auth0/types/flow_action_salesforce_get_lead.rb index 9d5da569..b4601576 100644 --- a/lib/auth0/types/flow_action_salesforce_get_lead.rb +++ b/lib/auth0/types/flow_action_salesforce_get_lead.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionSalesforceGetLead < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionSalesforceGetLeadType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionSalesforceGetLeadAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionSalesforceGetLeadParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_salesforce_get_lead_params.rb b/lib/auth0/types/flow_action_salesforce_get_lead_params.rb index 6b8a5d10..c2a760e1 100644 --- a/lib/auth0/types/flow_action_salesforce_get_lead_params.rb +++ b/lib/auth0/types/flow_action_salesforce_get_lead_params.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FlowActionSalesforceGetLeadParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :lead_id, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_salesforce_search_leads.rb b/lib/auth0/types/flow_action_salesforce_search_leads.rb index 5ff61e31..1d1d1ecc 100644 --- a/lib/auth0/types/flow_action_salesforce_search_leads.rb +++ b/lib/auth0/types/flow_action_salesforce_search_leads.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionSalesforceSearchLeads < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionSalesforceSearchLeadsType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionSalesforceSearchLeadsAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionSalesforceSearchLeadsParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_salesforce_search_leads_params.rb b/lib/auth0/types/flow_action_salesforce_search_leads_params.rb index 89237a7d..5fd7c13e 100644 --- a/lib/auth0/types/flow_action_salesforce_search_leads_params.rb +++ b/lib/auth0/types/flow_action_salesforce_search_leads_params.rb @@ -4,8 +4,11 @@ module Auth0 module Types class FlowActionSalesforceSearchLeadsParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :search_field, -> { Auth0::Types::FlowActionSalesforceSearchLeadsParamsSearchField }, optional: false, nullable: false + field :search_value, -> { String }, optional: false, nullable: false + field :lead_fields, -> { Internal::Types::Array[String] }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_salesforce_update_lead.rb b/lib/auth0/types/flow_action_salesforce_update_lead.rb index aaba8c1f..9f1311b9 100644 --- a/lib/auth0/types/flow_action_salesforce_update_lead.rb +++ b/lib/auth0/types/flow_action_salesforce_update_lead.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionSalesforceUpdateLead < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionSalesforceUpdateLeadType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionSalesforceUpdateLeadAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionSalesforceUpdateLeadParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_salesforce_update_lead_params.rb b/lib/auth0/types/flow_action_salesforce_update_lead_params.rb index 5ceb8e0d..09be1ec0 100644 --- a/lib/auth0/types/flow_action_salesforce_update_lead_params.rb +++ b/lib/auth0/types/flow_action_salesforce_update_lead_params.rb @@ -4,7 +4,9 @@ module Auth0 module Types class FlowActionSalesforceUpdateLeadParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :lead_id, -> { String }, optional: false, nullable: false + field :payload, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_sendgrid_send_email.rb b/lib/auth0/types/flow_action_sendgrid_send_email.rb index d5663e1c..9e5df12a 100644 --- a/lib/auth0/types/flow_action_sendgrid_send_email.rb +++ b/lib/auth0/types/flow_action_sendgrid_send_email.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionSendgridSendEmail < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionSendgridSendEmailType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionSendgridSendEmailAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionSendgridSendEmailParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_sendgrid_send_email_params.rb b/lib/auth0/types/flow_action_sendgrid_send_email_params.rb index 52a300d6..438d485b 100644 --- a/lib/auth0/types/flow_action_sendgrid_send_email_params.rb +++ b/lib/auth0/types/flow_action_sendgrid_send_email_params.rb @@ -4,7 +4,9 @@ module Auth0 module Types class FlowActionSendgridSendEmailParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :from, -> { Auth0::Types::FlowActionSendgridSendEmailParamsPerson }, optional: false, nullable: false + field :personalizations, -> { Internal::Types::Array[Object] }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_sendgrid_send_email_params_person.rb b/lib/auth0/types/flow_action_sendgrid_send_email_params_person.rb index 9d19f0d5..3692490e 100644 --- a/lib/auth0/types/flow_action_sendgrid_send_email_params_person.rb +++ b/lib/auth0/types/flow_action_sendgrid_send_email_params_person.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FlowActionSendgridSendEmailParamsPerson < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :email, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_slack_post_message.rb b/lib/auth0/types/flow_action_slack_post_message.rb index d3369c8e..ac3efd73 100644 --- a/lib/auth0/types/flow_action_slack_post_message.rb +++ b/lib/auth0/types/flow_action_slack_post_message.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionSlackPostMessage < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionSlackPostMessageType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionSlackPostMessageAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionSlackPostMessageParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_slack_post_message_params.rb b/lib/auth0/types/flow_action_slack_post_message_params.rb index 45160934..613ea059 100644 --- a/lib/auth0/types/flow_action_slack_post_message_params.rb +++ b/lib/auth0/types/flow_action_slack_post_message_params.rb @@ -4,7 +4,9 @@ module Auth0 module Types class FlowActionSlackPostMessageParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :text, -> { String }, optional: true, nullable: false + field :attachments, -> { Internal::Types::Array[Auth0::Types::FlowActionSlackPostMessageParamsAttachment] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_slack_post_message_params_attachment.rb b/lib/auth0/types/flow_action_slack_post_message_params_attachment.rb index 3641003b..cbe2bd60 100644 --- a/lib/auth0/types/flow_action_slack_post_message_params_attachment.rb +++ b/lib/auth0/types/flow_action_slack_post_message_params_attachment.rb @@ -4,8 +4,11 @@ module Auth0 module Types class FlowActionSlackPostMessageParamsAttachment < Internal::Types::Model field :color, -> { Auth0::Types::FlowActionSlackPostMessageParamsAttachmentColor }, optional: true, nullable: false + field :pretext, -> { String }, optional: true, nullable: false + field :text, -> { String }, optional: true, nullable: false + field :fields, -> { Internal::Types::Array[Auth0::Types::FlowActionSlackPostMessageParamsAttachmentField] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_slack_post_message_params_attachment_field.rb b/lib/auth0/types/flow_action_slack_post_message_params_attachment_field.rb index 61700450..81283abf 100644 --- a/lib/auth0/types/flow_action_slack_post_message_params_attachment_field.rb +++ b/lib/auth0/types/flow_action_slack_post_message_params_attachment_field.rb @@ -4,7 +4,9 @@ module Auth0 module Types class FlowActionSlackPostMessageParamsAttachmentField < Internal::Types::Model field :title, -> { String }, optional: false, nullable: false + field :value, -> { String }, optional: true, nullable: false + field :short, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_stripe.rb b/lib/auth0/types/flow_action_stripe.rb index 4ae0dc52..5b6e722f 100644 --- a/lib/auth0/types/flow_action_stripe.rb +++ b/lib/auth0/types/flow_action_stripe.rb @@ -6,11 +6,17 @@ class FlowActionStripe < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::FlowActionStripeAddTaxID } + member -> { Auth0::Types::FlowActionStripeCreateCustomer } + member -> { Auth0::Types::FlowActionStripeCreatePortalSession } + member -> { Auth0::Types::FlowActionStripeDeleteTaxID } + member -> { Auth0::Types::FlowActionStripeFindCustomers } + member -> { Auth0::Types::FlowActionStripeGetCustomer } + member -> { Auth0::Types::FlowActionStripeUpdateCustomer } end end diff --git a/lib/auth0/types/flow_action_stripe_add_tax_id.rb b/lib/auth0/types/flow_action_stripe_add_tax_id.rb index 7d101679..aef8f7b9 100644 --- a/lib/auth0/types/flow_action_stripe_add_tax_id.rb +++ b/lib/auth0/types/flow_action_stripe_add_tax_id.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionStripeAddTaxID < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionStripeAddTaxIDType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionStripeAddTaxIDAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionStripeAddTaxIDParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_stripe_add_tax_id_params.rb b/lib/auth0/types/flow_action_stripe_add_tax_id_params.rb index 3d60fc29..2689c815 100644 --- a/lib/auth0/types/flow_action_stripe_add_tax_id_params.rb +++ b/lib/auth0/types/flow_action_stripe_add_tax_id_params.rb @@ -4,8 +4,11 @@ module Auth0 module Types class FlowActionStripeAddTaxIDParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :customer_id, -> { String }, optional: false, nullable: false + field :type, -> { String }, optional: false, nullable: false + field :value, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_stripe_address.rb b/lib/auth0/types/flow_action_stripe_address.rb index ea3dd704..b9245da1 100644 --- a/lib/auth0/types/flow_action_stripe_address.rb +++ b/lib/auth0/types/flow_action_stripe_address.rb @@ -4,10 +4,15 @@ module Auth0 module Types class FlowActionStripeAddress < Internal::Types::Model field :line1, -> { String }, optional: true, nullable: false + field :line2, -> { String }, optional: true, nullable: false + field :postal_code, -> { String }, optional: true, nullable: false, api_name: "postalCode" + field :city, -> { String }, optional: true, nullable: false + field :state, -> { String }, optional: true, nullable: false + field :country, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_stripe_create_customer.rb b/lib/auth0/types/flow_action_stripe_create_customer.rb index 6f59fd6d..69e3dd63 100644 --- a/lib/auth0/types/flow_action_stripe_create_customer.rb +++ b/lib/auth0/types/flow_action_stripe_create_customer.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionStripeCreateCustomer < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionStripeCreateCustomerType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionStripeCreateCustomerAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionStripeCreateCustomerParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_stripe_create_customer_params.rb b/lib/auth0/types/flow_action_stripe_create_customer_params.rb index a410c77c..474552e4 100644 --- a/lib/auth0/types/flow_action_stripe_create_customer_params.rb +++ b/lib/auth0/types/flow_action_stripe_create_customer_params.rb @@ -4,13 +4,21 @@ module Auth0 module Types class FlowActionStripeCreateCustomerParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :tax_id, -> { Auth0::Types::FlowActionStripeTaxID }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false + field :email, -> { String }, optional: true, nullable: false + field :phone, -> { String }, optional: true, nullable: false + field :tax_exempt, -> { String }, optional: true, nullable: false + field :address, -> { Auth0::Types::FlowActionStripeAddress }, optional: true, nullable: false + field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_stripe_create_portal_session.rb b/lib/auth0/types/flow_action_stripe_create_portal_session.rb index e49833ef..b1db1ff6 100644 --- a/lib/auth0/types/flow_action_stripe_create_portal_session.rb +++ b/lib/auth0/types/flow_action_stripe_create_portal_session.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionStripeCreatePortalSession < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionStripeCreatePortalSessionType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionStripeCreatePortalSessionAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionStripeCreatePortalSessionParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_stripe_create_portal_session_params.rb b/lib/auth0/types/flow_action_stripe_create_portal_session_params.rb index f2b94f24..00c6c838 100644 --- a/lib/auth0/types/flow_action_stripe_create_portal_session_params.rb +++ b/lib/auth0/types/flow_action_stripe_create_portal_session_params.rb @@ -4,7 +4,9 @@ module Auth0 module Types class FlowActionStripeCreatePortalSessionParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :customer_id, -> { String }, optional: false, nullable: false + field :return_url, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_stripe_delete_tax_id.rb b/lib/auth0/types/flow_action_stripe_delete_tax_id.rb index a749b4a0..7a12ae80 100644 --- a/lib/auth0/types/flow_action_stripe_delete_tax_id.rb +++ b/lib/auth0/types/flow_action_stripe_delete_tax_id.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionStripeDeleteTaxID < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionStripeDeleteTaxIDType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionStripeDeleteTaxIDAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionStripeDeleteTaxIDParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_stripe_delete_tax_id_params.rb b/lib/auth0/types/flow_action_stripe_delete_tax_id_params.rb index bbee72f8..5cbcd04e 100644 --- a/lib/auth0/types/flow_action_stripe_delete_tax_id_params.rb +++ b/lib/auth0/types/flow_action_stripe_delete_tax_id_params.rb @@ -4,7 +4,9 @@ module Auth0 module Types class FlowActionStripeDeleteTaxIDParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :customer_id, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_stripe_find_customers.rb b/lib/auth0/types/flow_action_stripe_find_customers.rb index 7f6cd5ed..63c3d3b1 100644 --- a/lib/auth0/types/flow_action_stripe_find_customers.rb +++ b/lib/auth0/types/flow_action_stripe_find_customers.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionStripeFindCustomers < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionStripeFindCustomersType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionStripeFindCustomersAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionStripeFindCustomersParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_stripe_find_customers_params.rb b/lib/auth0/types/flow_action_stripe_find_customers_params.rb index c0f0f85a..9ccc69e4 100644 --- a/lib/auth0/types/flow_action_stripe_find_customers_params.rb +++ b/lib/auth0/types/flow_action_stripe_find_customers_params.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FlowActionStripeFindCustomersParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :email, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_stripe_get_customer.rb b/lib/auth0/types/flow_action_stripe_get_customer.rb index 58c092c3..e3229879 100644 --- a/lib/auth0/types/flow_action_stripe_get_customer.rb +++ b/lib/auth0/types/flow_action_stripe_get_customer.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionStripeGetCustomer < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionStripeGetCustomerType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionStripeGetCustomerAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionStripeGetCustomerParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_stripe_get_customer_params.rb b/lib/auth0/types/flow_action_stripe_get_customer_params.rb index d212782d..2eefb49c 100644 --- a/lib/auth0/types/flow_action_stripe_get_customer_params.rb +++ b/lib/auth0/types/flow_action_stripe_get_customer_params.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FlowActionStripeGetCustomerParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_stripe_tax_id.rb b/lib/auth0/types/flow_action_stripe_tax_id.rb index a64bfdb4..e1203d3e 100644 --- a/lib/auth0/types/flow_action_stripe_tax_id.rb +++ b/lib/auth0/types/flow_action_stripe_tax_id.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FlowActionStripeTaxID < Internal::Types::Model field :type, -> { String }, optional: false, nullable: false + field :value, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_stripe_update_customer.rb b/lib/auth0/types/flow_action_stripe_update_customer.rb index 43717254..bc9da28a 100644 --- a/lib/auth0/types/flow_action_stripe_update_customer.rb +++ b/lib/auth0/types/flow_action_stripe_update_customer.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionStripeUpdateCustomer < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionStripeUpdateCustomerType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionStripeUpdateCustomerAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionStripeUpdateCustomerParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_stripe_update_customer_params.rb b/lib/auth0/types/flow_action_stripe_update_customer_params.rb index b60fee25..30a249ea 100644 --- a/lib/auth0/types/flow_action_stripe_update_customer_params.rb +++ b/lib/auth0/types/flow_action_stripe_update_customer_params.rb @@ -4,13 +4,21 @@ module Auth0 module Types class FlowActionStripeUpdateCustomerParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false + field :email, -> { String }, optional: true, nullable: false + field :phone, -> { String }, optional: true, nullable: false + field :tax_exempt, -> { String }, optional: true, nullable: false + field :address, -> { Auth0::Types::FlowActionStripeAddress }, optional: true, nullable: false + field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_action_telegram_send_message.rb b/lib/auth0/types/flow_action_telegram_send_message.rb index aee4d1c4..800c09da 100644 --- a/lib/auth0/types/flow_action_telegram_send_message.rb +++ b/lib/auth0/types/flow_action_telegram_send_message.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionTelegramSendMessage < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionTelegramSendMessageType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionTelegramSendMessageAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionTelegramSendMessageParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_telegram_send_message_params.rb b/lib/auth0/types/flow_action_telegram_send_message_params.rb index 7c4a54b8..57cc1998 100644 --- a/lib/auth0/types/flow_action_telegram_send_message_params.rb +++ b/lib/auth0/types/flow_action_telegram_send_message_params.rb @@ -4,7 +4,9 @@ module Auth0 module Types class FlowActionTelegramSendMessageParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :chat_id, -> { String }, optional: false, nullable: false + field :text, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_twilio.rb b/lib/auth0/types/flow_action_twilio.rb index c192eeda..68850b63 100644 --- a/lib/auth0/types/flow_action_twilio.rb +++ b/lib/auth0/types/flow_action_twilio.rb @@ -6,6 +6,7 @@ class FlowActionTwilio < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::FlowActionTwilioMakeCall } + member -> { Auth0::Types::FlowActionTwilioSendSms } end end diff --git a/lib/auth0/types/flow_action_twilio_make_call.rb b/lib/auth0/types/flow_action_twilio_make_call.rb index a9f42ec0..3bb789a8 100644 --- a/lib/auth0/types/flow_action_twilio_make_call.rb +++ b/lib/auth0/types/flow_action_twilio_make_call.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionTwilioMakeCall < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionTwilioMakeCallType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionTwilioMakeCallAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionTwilioMakeCallParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_twilio_make_call_params.rb b/lib/auth0/types/flow_action_twilio_make_call_params.rb index dbc10658..6ece9287 100644 --- a/lib/auth0/types/flow_action_twilio_make_call_params.rb +++ b/lib/auth0/types/flow_action_twilio_make_call_params.rb @@ -4,8 +4,11 @@ module Auth0 module Types class FlowActionTwilioMakeCallParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :from, -> { String }, optional: false, nullable: false + field :to, -> { String }, optional: false, nullable: false + field :payload, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_twilio_send_sms.rb b/lib/auth0/types/flow_action_twilio_send_sms.rb index 9fa31b65..c08174b3 100644 --- a/lib/auth0/types/flow_action_twilio_send_sms.rb +++ b/lib/auth0/types/flow_action_twilio_send_sms.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionTwilioSendSms < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionTwilioSendSmsType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionTwilioSendSmsAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionTwilioSendSmsParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_twilio_send_sms_params.rb b/lib/auth0/types/flow_action_twilio_send_sms_params.rb index e5e4a841..744ea449 100644 --- a/lib/auth0/types/flow_action_twilio_send_sms_params.rb +++ b/lib/auth0/types/flow_action_twilio_send_sms_params.rb @@ -4,8 +4,11 @@ module Auth0 module Types class FlowActionTwilioSendSmsParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :from, -> { String }, optional: false, nullable: false + field :to, -> { String }, optional: false, nullable: false + field :message, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_whatsapp_send_message.rb b/lib/auth0/types/flow_action_whatsapp_send_message.rb index e297383e..5c1fc2ec 100644 --- a/lib/auth0/types/flow_action_whatsapp_send_message.rb +++ b/lib/auth0/types/flow_action_whatsapp_send_message.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionWhatsappSendMessage < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionWhatsappSendMessageType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionWhatsappSendMessageAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionWhatsappSendMessageParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_whatsapp_send_message_params.rb b/lib/auth0/types/flow_action_whatsapp_send_message_params.rb index 1222ed29..80afad41 100644 --- a/lib/auth0/types/flow_action_whatsapp_send_message_params.rb +++ b/lib/auth0/types/flow_action_whatsapp_send_message_params.rb @@ -4,9 +4,13 @@ module Auth0 module Types class FlowActionWhatsappSendMessageParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :sender_id, -> { String }, optional: false, nullable: false + field :recipient_number, -> { String }, optional: false, nullable: false + field :type, -> { Auth0::Types::FlowActionWhatsappSendMessageParamsType }, optional: false, nullable: false + field :payload, -> { Auth0::Types::FlowActionWhatsappSendMessageParamsPayload }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_whatsapp_send_message_params_payload.rb b/lib/auth0/types/flow_action_whatsapp_send_message_params_payload.rb index d17d328b..da24323d 100644 --- a/lib/auth0/types/flow_action_whatsapp_send_message_params_payload.rb +++ b/lib/auth0/types/flow_action_whatsapp_send_message_params_payload.rb @@ -6,6 +6,7 @@ class FlowActionWhatsappSendMessageParamsPayload < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Internal::Types::Hash[String, Object] } + member -> { String } end end diff --git a/lib/auth0/types/flow_action_xml.rb b/lib/auth0/types/flow_action_xml.rb index 4b50cc7a..b0e5198b 100644 --- a/lib/auth0/types/flow_action_xml.rb +++ b/lib/auth0/types/flow_action_xml.rb @@ -6,6 +6,7 @@ class FlowActionXML < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::FlowActionXMLParseXML } + member -> { Auth0::Types::FlowActionXMLSerializeXML } end end diff --git a/lib/auth0/types/flow_action_xml_parse_xml.rb b/lib/auth0/types/flow_action_xml_parse_xml.rb index 1b738e84..9f47369b 100644 --- a/lib/auth0/types/flow_action_xml_parse_xml.rb +++ b/lib/auth0/types/flow_action_xml_parse_xml.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionXMLParseXML < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionXMLParseXMLType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionXMLParseXMLAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionXMLParseXMLParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_xml_serialize_xml.rb b/lib/auth0/types/flow_action_xml_serialize_xml.rb index cd704c45..26301db9 100644 --- a/lib/auth0/types/flow_action_xml_serialize_xml.rb +++ b/lib/auth0/types/flow_action_xml_serialize_xml.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionXMLSerializeXML < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionXMLSerializeXMLType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionXMLSerializeXMLAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionXMLSerializeXMLParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_xml_serialize_xml_params_object.rb b/lib/auth0/types/flow_action_xml_serialize_xml_params_object.rb index aabe1979..f633a01c 100644 --- a/lib/auth0/types/flow_action_xml_serialize_xml_params_object.rb +++ b/lib/auth0/types/flow_action_xml_serialize_xml_params_object.rb @@ -6,6 +6,7 @@ class FlowActionXMLSerializeXMLParamsObject < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { String } + member -> { Internal::Types::Hash[String, Object] } end end diff --git a/lib/auth0/types/flow_action_zapier_trigger_webhook.rb b/lib/auth0/types/flow_action_zapier_trigger_webhook.rb index 8b6694d4..13d648ad 100644 --- a/lib/auth0/types/flow_action_zapier_trigger_webhook.rb +++ b/lib/auth0/types/flow_action_zapier_trigger_webhook.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowActionZapierTriggerWebhook < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :type, -> { Auth0::Types::FlowActionZapierTriggerWebhookType }, optional: false, nullable: false + field :action, -> { Auth0::Types::FlowActionZapierTriggerWebhookAction }, optional: false, nullable: false + field :allow_failure, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mask_output, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :params, -> { Auth0::Types::FlowActionZapierTriggerWebhookParams }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flow_action_zapier_trigger_webhook_params.rb b/lib/auth0/types/flow_action_zapier_trigger_webhook_params.rb index 1c9267ae..6bc6fce6 100644 --- a/lib/auth0/types/flow_action_zapier_trigger_webhook_params.rb +++ b/lib/auth0/types/flow_action_zapier_trigger_webhook_params.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FlowActionZapierTriggerWebhookParams < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :method_, -> { Auth0::Types::FlowActionZapierTriggerWebhookParamsMethod }, optional: true, nullable: false, api_name: "method" end end diff --git a/lib/auth0/types/flow_execution_summary.rb b/lib/auth0/types/flow_execution_summary.rb index 426f1935..009571f6 100644 --- a/lib/auth0/types/flow_execution_summary.rb +++ b/lib/auth0/types/flow_execution_summary.rb @@ -4,12 +4,19 @@ module Auth0 module Types class FlowExecutionSummary < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :trace_id, -> { String }, optional: false, nullable: false + field :journey_id, -> { String }, optional: true, nullable: false + field :status, -> { String }, optional: false, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :updated_at, -> { String }, optional: false, nullable: false + field :started_at, -> { String }, optional: true, nullable: false + field :ended_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flow_summary.rb b/lib/auth0/types/flow_summary.rb index 0c9f9b69..21e51dcf 100644 --- a/lib/auth0/types/flow_summary.rb +++ b/lib/auth0/types/flow_summary.rb @@ -4,9 +4,13 @@ module Auth0 module Types class FlowSummary < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: false, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :updated_at, -> { String }, optional: false, nullable: false + field :executed_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flows_vault_connectio_setup_api_key.rb b/lib/auth0/types/flows_vault_connectio_setup_api_key.rb index 8eed731b..d98985d2 100644 --- a/lib/auth0/types/flows_vault_connectio_setup_api_key.rb +++ b/lib/auth0/types/flows_vault_connectio_setup_api_key.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FlowsVaultConnectioSetupAPIKey < Internal::Types::Model field :type, -> { Auth0::Types::FlowsVaultConnectioSetupTypeAPIKeyEnum }, optional: false, nullable: false + field :api_key, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flows_vault_connectio_setup_api_key_with_base_url.rb b/lib/auth0/types/flows_vault_connectio_setup_api_key_with_base_url.rb index e17df26a..f7771889 100644 --- a/lib/auth0/types/flows_vault_connectio_setup_api_key_with_base_url.rb +++ b/lib/auth0/types/flows_vault_connectio_setup_api_key_with_base_url.rb @@ -4,7 +4,9 @@ module Auth0 module Types class FlowsVaultConnectioSetupAPIKeyWithBaseURL < Internal::Types::Model field :type, -> { Auth0::Types::FlowsVaultConnectioSetupTypeAPIKeyEnum }, optional: false, nullable: false + field :api_key, -> { String }, optional: false, nullable: false + field :base_url, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flows_vault_connectio_setup_bigquery_oauth_jwt.rb b/lib/auth0/types/flows_vault_connectio_setup_bigquery_oauth_jwt.rb index d5714654..f912d757 100644 --- a/lib/auth0/types/flows_vault_connectio_setup_bigquery_oauth_jwt.rb +++ b/lib/auth0/types/flows_vault_connectio_setup_bigquery_oauth_jwt.rb @@ -4,8 +4,11 @@ module Auth0 module Types class FlowsVaultConnectioSetupBigqueryOauthJwt < Internal::Types::Model field :type, -> { Auth0::Types::FlowsVaultConnectioSetupTypeOauthJwtEnum }, optional: true, nullable: false + field :project_id, -> { String }, optional: true, nullable: false + field :private_key, -> { String }, optional: true, nullable: false + field :client_email, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flows_vault_connectio_setup_http_bearer.rb b/lib/auth0/types/flows_vault_connectio_setup_http_bearer.rb index cca82fd1..59275687 100644 --- a/lib/auth0/types/flows_vault_connectio_setup_http_bearer.rb +++ b/lib/auth0/types/flows_vault_connectio_setup_http_bearer.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FlowsVaultConnectioSetupHTTPBearer < Internal::Types::Model field :type, -> { Auth0::Types::FlowsVaultConnectioSetupTypeBearerEnum }, optional: false, nullable: false + field :token, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flows_vault_connectio_setup_jwt.rb b/lib/auth0/types/flows_vault_connectio_setup_jwt.rb index 456c0a40..df846ed9 100644 --- a/lib/auth0/types/flows_vault_connectio_setup_jwt.rb +++ b/lib/auth0/types/flows_vault_connectio_setup_jwt.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FlowsVaultConnectioSetupJwt < Internal::Types::Model field :type, -> { Auth0::Types::FlowsVaultConnectioSetupTypeJwtEnum }, optional: false, nullable: false + field :algorithm, -> { Auth0::Types::FlowsVaultConnectioSetupJwtAlgorithmEnum }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flows_vault_connectio_setup_mailjet_api_key.rb b/lib/auth0/types/flows_vault_connectio_setup_mailjet_api_key.rb index 04440737..2d4a35f6 100644 --- a/lib/auth0/types/flows_vault_connectio_setup_mailjet_api_key.rb +++ b/lib/auth0/types/flows_vault_connectio_setup_mailjet_api_key.rb @@ -4,7 +4,9 @@ module Auth0 module Types class FlowsVaultConnectioSetupMailjetAPIKey < Internal::Types::Model field :type, -> { Auth0::Types::FlowsVaultConnectioSetupTypeAPIKeyEnum }, optional: false, nullable: false + field :api_key, -> { String }, optional: false, nullable: false + field :secret_key, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flows_vault_connectio_setup_oauth_app.rb b/lib/auth0/types/flows_vault_connectio_setup_oauth_app.rb index a415757f..57580891 100644 --- a/lib/auth0/types/flows_vault_connectio_setup_oauth_app.rb +++ b/lib/auth0/types/flows_vault_connectio_setup_oauth_app.rb @@ -4,9 +4,13 @@ module Auth0 module Types class FlowsVaultConnectioSetupOauthApp < Internal::Types::Model field :type, -> { Auth0::Types::FlowsVaultConnectioSetupTypeOauthAppEnum }, optional: false, nullable: false + field :client_id, -> { String }, optional: false, nullable: false + field :client_secret, -> { String }, optional: false, nullable: false + field :domain, -> { String }, optional: false, nullable: false + field :audience, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flows_vault_connectio_setup_oauth_code.rb b/lib/auth0/types/flows_vault_connectio_setup_oauth_code.rb index c7498643..64d44a7a 100644 --- a/lib/auth0/types/flows_vault_connectio_setup_oauth_code.rb +++ b/lib/auth0/types/flows_vault_connectio_setup_oauth_code.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FlowsVaultConnectioSetupOauthCode < Internal::Types::Model field :type, -> { Auth0::Types::FlowsVaultConnectioSetupTypeOauthCodeEnum }, optional: true, nullable: false + field :code, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flows_vault_connectio_setup_secret_api_key.rb b/lib/auth0/types/flows_vault_connectio_setup_secret_api_key.rb index 016650fd..709a38a9 100644 --- a/lib/auth0/types/flows_vault_connectio_setup_secret_api_key.rb +++ b/lib/auth0/types/flows_vault_connectio_setup_secret_api_key.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FlowsVaultConnectioSetupSecretAPIKey < Internal::Types::Model field :type, -> { Auth0::Types::FlowsVaultConnectioSetupTypeAPIKeyEnum }, optional: false, nullable: false + field :secret_key, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flows_vault_connectio_setup_stripe_key_pair.rb b/lib/auth0/types/flows_vault_connectio_setup_stripe_key_pair.rb index fd04f687..ec20b087 100644 --- a/lib/auth0/types/flows_vault_connectio_setup_stripe_key_pair.rb +++ b/lib/auth0/types/flows_vault_connectio_setup_stripe_key_pair.rb @@ -4,7 +4,9 @@ module Auth0 module Types class FlowsVaultConnectioSetupStripeKeyPair < Internal::Types::Model field :type, -> { Auth0::Types::FlowsVaultConnectioSetupTypeKeyPairEnum }, optional: false, nullable: false + field :private_key, -> { String }, optional: false, nullable: false + field :public_key, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flows_vault_connectio_setup_token.rb b/lib/auth0/types/flows_vault_connectio_setup_token.rb index 480bfd92..a0577928 100644 --- a/lib/auth0/types/flows_vault_connectio_setup_token.rb +++ b/lib/auth0/types/flows_vault_connectio_setup_token.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FlowsVaultConnectioSetupToken < Internal::Types::Model field :type, -> { Auth0::Types::FlowsVaultConnectioSetupTypeTokenEnum }, optional: false, nullable: false + field :token, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flows_vault_connectio_setup_twilio_api_key.rb b/lib/auth0/types/flows_vault_connectio_setup_twilio_api_key.rb index 653ef969..26ea5fc0 100644 --- a/lib/auth0/types/flows_vault_connectio_setup_twilio_api_key.rb +++ b/lib/auth0/types/flows_vault_connectio_setup_twilio_api_key.rb @@ -4,7 +4,9 @@ module Auth0 module Types class FlowsVaultConnectioSetupTwilioAPIKey < Internal::Types::Model field :type, -> { Auth0::Types::FlowsVaultConnectioSetupTypeAPIKeyEnum }, optional: false, nullable: false + field :account_id, -> { String }, optional: false, nullable: false + field :api_key, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flows_vault_connectio_setup_webhook.rb b/lib/auth0/types/flows_vault_connectio_setup_webhook.rb index 8d1ae82e..f44bac2e 100644 --- a/lib/auth0/types/flows_vault_connectio_setup_webhook.rb +++ b/lib/auth0/types/flows_vault_connectio_setup_webhook.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FlowsVaultConnectioSetupWebhook < Internal::Types::Model field :type, -> { Auth0::Types::FlowsVaultConnectioSetupTypeWebhookEnum }, optional: false, nullable: false + field :url, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/flows_vault_connection_http_api_key_setup.rb b/lib/auth0/types/flows_vault_connection_http_api_key_setup.rb index 1e0e61aa..ef91a428 100644 --- a/lib/auth0/types/flows_vault_connection_http_api_key_setup.rb +++ b/lib/auth0/types/flows_vault_connection_http_api_key_setup.rb @@ -4,8 +4,11 @@ module Auth0 module Types class FlowsVaultConnectionHttpApiKeySetup < Internal::Types::Model field :type, -> { Auth0::Types::FlowsVaultConnectionSetupTypeAPIKeyEnum }, optional: false, nullable: false + field :name, -> { String }, optional: false, nullable: false + field :value, -> { String }, optional: false, nullable: false + field :in_, -> { Auth0::Types::FlowsVaultConnectionHttpApiKeySetupInEnum }, optional: false, nullable: false, api_name: "in" end end diff --git a/lib/auth0/types/flows_vault_connection_http_basic_auth_setup.rb b/lib/auth0/types/flows_vault_connection_http_basic_auth_setup.rb index c979dbc6..ba3c4d3c 100644 --- a/lib/auth0/types/flows_vault_connection_http_basic_auth_setup.rb +++ b/lib/auth0/types/flows_vault_connection_http_basic_auth_setup.rb @@ -4,7 +4,9 @@ module Auth0 module Types class FlowsVaultConnectionHTTPBasicAuthSetup < Internal::Types::Model field :type, -> { Auth0::Types::FlowsVaultConnectionSetupTypeBasicAuthEnum }, optional: false, nullable: false + field :username, -> { String }, optional: false, nullable: false + field :password, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flows_vault_connection_http_oauth_client_credentials_setup.rb b/lib/auth0/types/flows_vault_connection_http_oauth_client_credentials_setup.rb index ae2a0d77..eb999ac2 100644 --- a/lib/auth0/types/flows_vault_connection_http_oauth_client_credentials_setup.rb +++ b/lib/auth0/types/flows_vault_connection_http_oauth_client_credentials_setup.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FlowsVaultConnectionHTTPOauthClientCredentialsSetup < Internal::Types::Model field :type, -> { Auth0::Types::FlowsVaultConnectionSetupTypeOauthClientCredentialsEnum }, optional: false, nullable: false + field :client_id, -> { String }, optional: false, nullable: false + field :client_secret, -> { String }, optional: false, nullable: false + field :token_endpoint, -> { String }, optional: false, nullable: false + field :audience, -> { String }, optional: true, nullable: false + field :resource, -> { String }, optional: true, nullable: false + field :scope, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/flows_vault_connection_summary.rb b/lib/auth0/types/flows_vault_connection_summary.rb index f15ab3df..d755cc5f 100644 --- a/lib/auth0/types/flows_vault_connection_summary.rb +++ b/lib/auth0/types/flows_vault_connection_summary.rb @@ -4,13 +4,21 @@ module Auth0 module Types class FlowsVaultConnectionSummary < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :app_id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: false, nullable: false + field :account_name, -> { String }, optional: true, nullable: false + field :ready, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :updated_at, -> { String }, optional: false, nullable: false + field :refreshed_at, -> { String }, optional: true, nullable: false + field :fingerprint, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/forbidden_schema.rb b/lib/auth0/types/forbidden_schema.rb new file mode 100644 index 00000000..ea8b0ed1 --- /dev/null +++ b/lib/auth0/types/forbidden_schema.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Forbidden + class ForbiddenSchema < Internal::Types::Model + field :message, -> { String }, optional: false, nullable: false + + field :status_code, -> { String }, optional: false, nullable: false, api_name: "statusCode" + + field :error, -> { Auth0::Types::ForbiddenSchemaError }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/forbidden_schema_error.rb b/lib/auth0/types/forbidden_schema_error.rb new file mode 100644 index 00000000..aae4d1b3 --- /dev/null +++ b/lib/auth0/types/forbidden_schema_error.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module ForbiddenSchemaError + extend Auth0::Internal::Types::Enum + + FORBIDDEN = "Forbidden" + end + end +end diff --git a/lib/auth0/types/form_block.rb b/lib/auth0/types/form_block.rb index 160d5f25..ff368ffc 100644 --- a/lib/auth0/types/form_block.rb +++ b/lib/auth0/types/form_block.rb @@ -6,12 +6,19 @@ class FormBlock < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::FormBlockDivider } + member -> { Auth0::Types::FormBlockHTML } + member -> { Auth0::Types::FormBlockImage } + member -> { Auth0::Types::FormBlockJumpButton } + member -> { Auth0::Types::FormBlockResendButton } + member -> { Auth0::Types::FormBlockNextButton } + member -> { Auth0::Types::FormBlockPreviousButton } + member -> { Auth0::Types::FormBlockRichText } end end diff --git a/lib/auth0/types/form_block_divider.rb b/lib/auth0/types/form_block_divider.rb index 6e139ca3..7df3fa8d 100644 --- a/lib/auth0/types/form_block_divider.rb +++ b/lib/auth0/types/form_block_divider.rb @@ -4,8 +4,11 @@ module Auth0 module Types class FormBlockDivider < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :category, -> { Auth0::Types::FormComponentCategoryBlockConst }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormBlockTypeDividerConst }, optional: false, nullable: false + field :config, -> { Auth0::Types::FormBlockDividerConfig }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_block_html.rb b/lib/auth0/types/form_block_html.rb index 3b3f3340..a064081f 100644 --- a/lib/auth0/types/form_block_html.rb +++ b/lib/auth0/types/form_block_html.rb @@ -4,8 +4,11 @@ module Auth0 module Types class FormBlockHTML < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :category, -> { Auth0::Types::FormComponentCategoryBlockConst }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormBlockTypeHTMLConst }, optional: false, nullable: false + field :config, -> { Auth0::Types::FormBlockHTMLConfig }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_block_image.rb b/lib/auth0/types/form_block_image.rb index ff179fa5..425233c7 100644 --- a/lib/auth0/types/form_block_image.rb +++ b/lib/auth0/types/form_block_image.rb @@ -4,8 +4,11 @@ module Auth0 module Types class FormBlockImage < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :category, -> { Auth0::Types::FormComponentCategoryBlockConst }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormBlockTypeImageConst }, optional: false, nullable: false + field :config, -> { Auth0::Types::FormBlockImageConfig }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_block_image_config.rb b/lib/auth0/types/form_block_image_config.rb index 51b8c0fb..4d252448 100644 --- a/lib/auth0/types/form_block_image_config.rb +++ b/lib/auth0/types/form_block_image_config.rb @@ -4,7 +4,9 @@ module Auth0 module Types class FormBlockImageConfig < Internal::Types::Model field :src, -> { String }, optional: false, nullable: false + field :position, -> { Auth0::Types::FormBlockImageConfigPositionEnum }, optional: true, nullable: false + field :height, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_block_jump_button.rb b/lib/auth0/types/form_block_jump_button.rb index 28f1b800..786938ca 100644 --- a/lib/auth0/types/form_block_jump_button.rb +++ b/lib/auth0/types/form_block_jump_button.rb @@ -4,8 +4,11 @@ module Auth0 module Types class FormBlockJumpButton < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :category, -> { Auth0::Types::FormComponentCategoryBlockConst }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormBlockTypeJumpButtonConst }, optional: false, nullable: false + field :config, -> { Auth0::Types::FormBlockJumpButtonConfig }, optional: false, nullable: false end end diff --git a/lib/auth0/types/form_block_jump_button_config.rb b/lib/auth0/types/form_block_jump_button_config.rb index fdb56517..4035ee6f 100644 --- a/lib/auth0/types/form_block_jump_button_config.rb +++ b/lib/auth0/types/form_block_jump_button_config.rb @@ -4,7 +4,9 @@ module Auth0 module Types class FormBlockJumpButtonConfig < Internal::Types::Model field :text, -> { String }, optional: false, nullable: false + field :next_node, -> { Auth0::Types::FormNodePointer }, optional: false, nullable: false + field :style, -> { Auth0::Types::FormBlockJumpButtonConfigStyle }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_block_next_button.rb b/lib/auth0/types/form_block_next_button.rb index 6d3ef065..8cad1cd1 100644 --- a/lib/auth0/types/form_block_next_button.rb +++ b/lib/auth0/types/form_block_next_button.rb @@ -4,8 +4,11 @@ module Auth0 module Types class FormBlockNextButton < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :category, -> { Auth0::Types::FormComponentCategoryBlockConst }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormBlockTypeNextButtonConst }, optional: false, nullable: false + field :config, -> { Auth0::Types::FormBlockNextButtonConfig }, optional: false, nullable: false end end diff --git a/lib/auth0/types/form_block_previous_button.rb b/lib/auth0/types/form_block_previous_button.rb index 633ca347..e167754d 100644 --- a/lib/auth0/types/form_block_previous_button.rb +++ b/lib/auth0/types/form_block_previous_button.rb @@ -4,8 +4,11 @@ module Auth0 module Types class FormBlockPreviousButton < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :category, -> { Auth0::Types::FormComponentCategoryBlockConst }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormBlockTypePreviousButtonConst }, optional: false, nullable: false + field :config, -> { Auth0::Types::FormBlockPreviousButtonConfig }, optional: false, nullable: false end end diff --git a/lib/auth0/types/form_block_resend_button.rb b/lib/auth0/types/form_block_resend_button.rb index b9289494..2f5f168d 100644 --- a/lib/auth0/types/form_block_resend_button.rb +++ b/lib/auth0/types/form_block_resend_button.rb @@ -4,8 +4,11 @@ module Auth0 module Types class FormBlockResendButton < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :category, -> { Auth0::Types::FormComponentCategoryBlockConst }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormBlockTypeResendButtonConst }, optional: false, nullable: false + field :config, -> { Auth0::Types::FormBlockResendButtonConfig }, optional: false, nullable: false end end diff --git a/lib/auth0/types/form_block_resend_button_config.rb b/lib/auth0/types/form_block_resend_button_config.rb index ed64a64e..85c3cc6c 100644 --- a/lib/auth0/types/form_block_resend_button_config.rb +++ b/lib/auth0/types/form_block_resend_button_config.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FormBlockResendButtonConfig < Internal::Types::Model field :active_text, -> { String }, optional: false, nullable: false + field :button_text, -> { String }, optional: false, nullable: false + field :waiting_text, -> { String }, optional: false, nullable: false + field :text_alignment, -> { Auth0::Types::FormBlockResendButtonConfigTextAlignmentEnum }, optional: true, nullable: false + field :flow_id, -> { String }, optional: false, nullable: false + field :max_attempts, -> { Integer }, optional: true, nullable: false + field :waiting_time, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_block_rich_text.rb b/lib/auth0/types/form_block_rich_text.rb index 777c220a..184ead8c 100644 --- a/lib/auth0/types/form_block_rich_text.rb +++ b/lib/auth0/types/form_block_rich_text.rb @@ -4,8 +4,11 @@ module Auth0 module Types class FormBlockRichText < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :category, -> { Auth0::Types::FormComponentCategoryBlockConst }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormBlockTypeRichTextConst }, optional: false, nullable: false + field :config, -> { Auth0::Types::FormBlockRichTextConfig }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_component.rb b/lib/auth0/types/form_component.rb index 3c072d56..985d2139 100644 --- a/lib/auth0/types/form_component.rb +++ b/lib/auth0/types/form_component.rb @@ -6,7 +6,9 @@ class FormComponent < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::FormBlock } + member -> { Auth0::Types::FormWidget } + member -> { Auth0::Types::FormField } end end diff --git a/lib/auth0/types/form_ending_node.rb b/lib/auth0/types/form_ending_node.rb index 4a0c3261..b4b7778b 100644 --- a/lib/auth0/types/form_ending_node.rb +++ b/lib/auth0/types/form_ending_node.rb @@ -4,8 +4,11 @@ module Auth0 module Types class FormEndingNode < Internal::Types::Model field :redirection, -> { Auth0::Types::FormEndingNodeRedirection }, optional: true, nullable: false + field :after_submit, -> { Auth0::Types::FormEndingNodeAfterSubmit }, optional: true, nullable: false + field :coordinates, -> { Auth0::Types::FormNodeCoordinates }, optional: true, nullable: false + field :resume_flow, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_ending_node_redirection.rb b/lib/auth0/types/form_ending_node_redirection.rb index 784872d6..65756775 100644 --- a/lib/auth0/types/form_ending_node_redirection.rb +++ b/lib/auth0/types/form_ending_node_redirection.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FormEndingNodeRedirection < Internal::Types::Model field :delay, -> { Integer }, optional: true, nullable: false + field :target, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/form_field.rb b/lib/auth0/types/form_field.rb index 79faeb19..7aa3c31d 100644 --- a/lib/auth0/types/form_field.rb +++ b/lib/auth0/types/form_field.rb @@ -6,20 +6,35 @@ class FormField < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::FormFieldBoolean } + member -> { Auth0::Types::FormFieldCards } + member -> { Auth0::Types::FormFieldChoice } + member -> { Auth0::Types::FormFieldCustom } + member -> { Auth0::Types::FormFieldDate } + member -> { Auth0::Types::FormFieldDropdown } + member -> { Auth0::Types::FormFieldEmail } + member -> { Auth0::Types::FormFieldFile } + member -> { Auth0::Types::FormFieldLegal } + member -> { Auth0::Types::FormFieldNumber } + member -> { Auth0::Types::FormFieldPassword } + member -> { Auth0::Types::FormFieldPayment } + member -> { Auth0::Types::FormFieldSocial } + member -> { Auth0::Types::FormFieldTel } + member -> { Auth0::Types::FormFieldText } + member -> { Auth0::Types::FormFieldURL } end end diff --git a/lib/auth0/types/form_field_boolean.rb b/lib/auth0/types/form_field_boolean.rb index 07530e99..2bc047c1 100644 --- a/lib/auth0/types/form_field_boolean.rb +++ b/lib/auth0/types/form_field_boolean.rb @@ -4,12 +4,19 @@ module Auth0 module Types class FormFieldBoolean < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :category, -> { Auth0::Types::FormComponentCategoryFieldConst }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormFieldTypeBooleanConst }, optional: false, nullable: false + field :config, -> { Auth0::Types::FormFieldBooleanConfig }, optional: false, nullable: false + field :label, -> { String }, optional: true, nullable: false + field :hint, -> { String }, optional: true, nullable: false + field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sensitive, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_boolean_config.rb b/lib/auth0/types/form_field_boolean_config.rb index ed354a90..7947589f 100644 --- a/lib/auth0/types/form_field_boolean_config.rb +++ b/lib/auth0/types/form_field_boolean_config.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FormFieldBooleanConfig < Internal::Types::Model field :default_value, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :options, -> { Auth0::Types::FormFieldBooleanConfigOptions }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_boolean_config_options.rb b/lib/auth0/types/form_field_boolean_config_options.rb index b8ac529c..70072181 100644 --- a/lib/auth0/types/form_field_boolean_config_options.rb +++ b/lib/auth0/types/form_field_boolean_config_options.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FormFieldBooleanConfigOptions < Internal::Types::Model field :true_, -> { String }, optional: true, nullable: false, api_name: "true" + field :false_, -> { String }, optional: true, nullable: false, api_name: "false" end end diff --git a/lib/auth0/types/form_field_cards.rb b/lib/auth0/types/form_field_cards.rb index e6a9c3aa..542134ad 100644 --- a/lib/auth0/types/form_field_cards.rb +++ b/lib/auth0/types/form_field_cards.rb @@ -4,12 +4,19 @@ module Auth0 module Types class FormFieldCards < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :category, -> { Auth0::Types::FormComponentCategoryFieldConst }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormFieldTypeCardsConst }, optional: false, nullable: false + field :config, -> { Auth0::Types::FormFieldCardsConfig }, optional: true, nullable: false + field :label, -> { String }, optional: true, nullable: false + field :hint, -> { String }, optional: true, nullable: false + field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sensitive, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_cards_config.rb b/lib/auth0/types/form_field_cards_config.rb index c158ede2..9eccc6d4 100644 --- a/lib/auth0/types/form_field_cards_config.rb +++ b/lib/auth0/types/form_field_cards_config.rb @@ -4,7 +4,9 @@ module Auth0 module Types class FormFieldCardsConfig < Internal::Types::Model field :hide_labels, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :multiple, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :options, -> { Internal::Types::Array[Auth0::Types::FormFieldCardsConfigOption] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_cards_config_option.rb b/lib/auth0/types/form_field_cards_config_option.rb index 04bac7d0..13105302 100644 --- a/lib/auth0/types/form_field_cards_config_option.rb +++ b/lib/auth0/types/form_field_cards_config_option.rb @@ -4,7 +4,9 @@ module Auth0 module Types class FormFieldCardsConfigOption < Internal::Types::Model field :value, -> { String }, optional: false, nullable: false + field :label, -> { String }, optional: false, nullable: false + field :image_url, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/form_field_choice.rb b/lib/auth0/types/form_field_choice.rb index c94e2171..bba6a86f 100644 --- a/lib/auth0/types/form_field_choice.rb +++ b/lib/auth0/types/form_field_choice.rb @@ -4,12 +4,19 @@ module Auth0 module Types class FormFieldChoice < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :category, -> { Auth0::Types::FormComponentCategoryFieldConst }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormFieldTypeChoiceConst }, optional: false, nullable: false + field :config, -> { Auth0::Types::FormFieldChoiceConfig }, optional: true, nullable: false + field :label, -> { String }, optional: true, nullable: false + field :hint, -> { String }, optional: true, nullable: false + field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sensitive, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_choice_config.rb b/lib/auth0/types/form_field_choice_config.rb index 35076f17..c58b6d60 100644 --- a/lib/auth0/types/form_field_choice_config.rb +++ b/lib/auth0/types/form_field_choice_config.rb @@ -4,7 +4,9 @@ module Auth0 module Types class FormFieldChoiceConfig < Internal::Types::Model field :multiple, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :options, -> { Internal::Types::Array[Auth0::Types::FormFieldChoiceConfigOption] }, optional: true, nullable: false + field :allow_other, -> { Auth0::Types::FormFieldChoiceConfigAllowOther }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_choice_config_allow_other.rb b/lib/auth0/types/form_field_choice_config_allow_other.rb index 1a14d8c3..fcace782 100644 --- a/lib/auth0/types/form_field_choice_config_allow_other.rb +++ b/lib/auth0/types/form_field_choice_config_allow_other.rb @@ -4,7 +4,9 @@ module Auth0 module Types class FormFieldChoiceConfigAllowOther < Internal::Types::Model field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :label, -> { String }, optional: true, nullable: false + field :placeholder, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_choice_config_option.rb b/lib/auth0/types/form_field_choice_config_option.rb index 8266e41b..76700a86 100644 --- a/lib/auth0/types/form_field_choice_config_option.rb +++ b/lib/auth0/types/form_field_choice_config_option.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FormFieldChoiceConfigOption < Internal::Types::Model field :value, -> { String }, optional: false, nullable: false + field :label, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/form_field_custom.rb b/lib/auth0/types/form_field_custom.rb index ac3a9583..86ac72c3 100644 --- a/lib/auth0/types/form_field_custom.rb +++ b/lib/auth0/types/form_field_custom.rb @@ -4,12 +4,19 @@ module Auth0 module Types class FormFieldCustom < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :category, -> { Auth0::Types::FormComponentCategoryFieldConst }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormFieldTypeCustomConst }, optional: false, nullable: false + field :config, -> { Auth0::Types::FormFieldCustomConfig }, optional: false, nullable: false + field :label, -> { String }, optional: true, nullable: false + field :hint, -> { String }, optional: true, nullable: false + field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sensitive, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_custom_config.rb b/lib/auth0/types/form_field_custom_config.rb index 7deee3fd..9fc49a16 100644 --- a/lib/auth0/types/form_field_custom_config.rb +++ b/lib/auth0/types/form_field_custom_config.rb @@ -4,8 +4,11 @@ module Auth0 module Types class FormFieldCustomConfig < Internal::Types::Model field :schema, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false + field :code, -> { String }, optional: false, nullable: false + field :css, -> { String }, optional: true, nullable: false + field :params, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_date.rb b/lib/auth0/types/form_field_date.rb index d79b4f95..0991c07b 100644 --- a/lib/auth0/types/form_field_date.rb +++ b/lib/auth0/types/form_field_date.rb @@ -4,12 +4,19 @@ module Auth0 module Types class FormFieldDate < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :category, -> { Auth0::Types::FormComponentCategoryFieldConst }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormFieldTypeDateConst }, optional: false, nullable: false + field :config, -> { Auth0::Types::FormFieldDateConfig }, optional: false, nullable: false + field :label, -> { String }, optional: true, nullable: false + field :hint, -> { String }, optional: true, nullable: false + field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sensitive, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_date_config.rb b/lib/auth0/types/form_field_date_config.rb index 614403e3..6f48aa55 100644 --- a/lib/auth0/types/form_field_date_config.rb +++ b/lib/auth0/types/form_field_date_config.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FormFieldDateConfig < Internal::Types::Model field :format, -> { Auth0::Types::FormFieldDateConfigFormatEnum }, optional: true, nullable: false + field :default_value, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_dropdown.rb b/lib/auth0/types/form_field_dropdown.rb index 3c7738fc..ec600dd7 100644 --- a/lib/auth0/types/form_field_dropdown.rb +++ b/lib/auth0/types/form_field_dropdown.rb @@ -4,12 +4,19 @@ module Auth0 module Types class FormFieldDropdown < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :category, -> { Auth0::Types::FormComponentCategoryFieldConst }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormFieldTypeDropdownConst }, optional: false, nullable: false + field :config, -> { Auth0::Types::FormFieldDropdownConfig }, optional: true, nullable: false + field :label, -> { String }, optional: true, nullable: false + field :hint, -> { String }, optional: true, nullable: false + field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sensitive, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_dropdown_config.rb b/lib/auth0/types/form_field_dropdown_config.rb index 1ea54eeb..fba246f3 100644 --- a/lib/auth0/types/form_field_dropdown_config.rb +++ b/lib/auth0/types/form_field_dropdown_config.rb @@ -4,7 +4,9 @@ module Auth0 module Types class FormFieldDropdownConfig < Internal::Types::Model field :multiple, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :options, -> { Internal::Types::Array[Auth0::Types::FormFieldDropdownConfigOption] }, optional: true, nullable: false + field :placeholder, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_dropdown_config_option.rb b/lib/auth0/types/form_field_dropdown_config_option.rb index 4c8081f8..3d582aab 100644 --- a/lib/auth0/types/form_field_dropdown_config_option.rb +++ b/lib/auth0/types/form_field_dropdown_config_option.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FormFieldDropdownConfigOption < Internal::Types::Model field :value, -> { String }, optional: false, nullable: false + field :label, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/form_field_email.rb b/lib/auth0/types/form_field_email.rb index 5aa58094..98cecbd6 100644 --- a/lib/auth0/types/form_field_email.rb +++ b/lib/auth0/types/form_field_email.rb @@ -4,12 +4,19 @@ module Auth0 module Types class FormFieldEmail < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :category, -> { Auth0::Types::FormComponentCategoryFieldConst }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormFieldTypeEmailConst }, optional: false, nullable: false + field :config, -> { Auth0::Types::FormFieldEmailConfig }, optional: true, nullable: false + field :label, -> { String }, optional: true, nullable: false + field :hint, -> { String }, optional: true, nullable: false + field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sensitive, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_email_config.rb b/lib/auth0/types/form_field_email_config.rb index 041bbef9..9c11e16c 100644 --- a/lib/auth0/types/form_field_email_config.rb +++ b/lib/auth0/types/form_field_email_config.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FormFieldEmailConfig < Internal::Types::Model field :default_value, -> { String }, optional: true, nullable: false + field :placeholder, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_file.rb b/lib/auth0/types/form_field_file.rb index 2264e10e..8063e917 100644 --- a/lib/auth0/types/form_field_file.rb +++ b/lib/auth0/types/form_field_file.rb @@ -4,12 +4,19 @@ module Auth0 module Types class FormFieldFile < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :category, -> { Auth0::Types::FormComponentCategoryFieldConst }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormFieldTypeFileConst }, optional: false, nullable: false + field :config, -> { Auth0::Types::FormFieldFileConfig }, optional: true, nullable: false + field :label, -> { String }, optional: true, nullable: false + field :hint, -> { String }, optional: true, nullable: false + field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sensitive, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_file_config.rb b/lib/auth0/types/form_field_file_config.rb index 5411f8b6..1e2508ac 100644 --- a/lib/auth0/types/form_field_file_config.rb +++ b/lib/auth0/types/form_field_file_config.rb @@ -4,10 +4,15 @@ module Auth0 module Types class FormFieldFileConfig < Internal::Types::Model field :multiple, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :storage, -> { Auth0::Types::FormFieldFileConfigStorage }, optional: true, nullable: false + field :categories, -> { Internal::Types::Array[Auth0::Types::FormFieldFileConfigCategoryEnum] }, optional: true, nullable: false + field :extensions, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :max_size, -> { Integer }, optional: true, nullable: false, api_name: "maxSize" + field :max_files, -> { Integer }, optional: true, nullable: false, api_name: "maxFiles" end end diff --git a/lib/auth0/types/form_field_legal.rb b/lib/auth0/types/form_field_legal.rb index 02dc6191..25c6f67a 100644 --- a/lib/auth0/types/form_field_legal.rb +++ b/lib/auth0/types/form_field_legal.rb @@ -4,12 +4,19 @@ module Auth0 module Types class FormFieldLegal < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :category, -> { Auth0::Types::FormComponentCategoryFieldConst }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormFieldTypeLegalConst }, optional: false, nullable: false + field :config, -> { Auth0::Types::FormFieldLegalConfig }, optional: true, nullable: false + field :label, -> { String }, optional: true, nullable: false + field :hint, -> { String }, optional: true, nullable: false + field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sensitive, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_number.rb b/lib/auth0/types/form_field_number.rb index a3e60fbe..7bab5c29 100644 --- a/lib/auth0/types/form_field_number.rb +++ b/lib/auth0/types/form_field_number.rb @@ -4,12 +4,19 @@ module Auth0 module Types class FormFieldNumber < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :category, -> { Auth0::Types::FormComponentCategoryFieldConst }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormFieldTypeNumberConst }, optional: false, nullable: false + field :config, -> { Auth0::Types::FormFieldNumberConfig }, optional: true, nullable: false + field :label, -> { String }, optional: true, nullable: false + field :hint, -> { String }, optional: true, nullable: false + field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sensitive, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_number_config.rb b/lib/auth0/types/form_field_number_config.rb index 65d8d929..ebf1816c 100644 --- a/lib/auth0/types/form_field_number_config.rb +++ b/lib/auth0/types/form_field_number_config.rb @@ -4,8 +4,11 @@ module Auth0 module Types class FormFieldNumberConfig < Internal::Types::Model field :default_value, -> { Integer }, optional: true, nullable: false + field :placeholder, -> { String }, optional: true, nullable: false + field :min_value, -> { Integer }, optional: true, nullable: false + field :max_value, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_password.rb b/lib/auth0/types/form_field_password.rb index cde72d65..facbd4cb 100644 --- a/lib/auth0/types/form_field_password.rb +++ b/lib/auth0/types/form_field_password.rb @@ -4,12 +4,19 @@ module Auth0 module Types class FormFieldPassword < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :category, -> { Auth0::Types::FormComponentCategoryFieldConst }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormFieldTypePasswordConst }, optional: false, nullable: false + field :config, -> { Auth0::Types::FormFieldPasswordConfig }, optional: false, nullable: false + field :label, -> { String }, optional: true, nullable: false + field :hint, -> { String }, optional: true, nullable: false + field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sensitive, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_password_config.rb b/lib/auth0/types/form_field_password_config.rb index 722e19b4..9c694169 100644 --- a/lib/auth0/types/form_field_password_config.rb +++ b/lib/auth0/types/form_field_password_config.rb @@ -4,11 +4,17 @@ module Auth0 module Types class FormFieldPasswordConfig < Internal::Types::Model field :hash_, -> { Auth0::Types::FormFieldPasswordConfigHashEnum }, optional: true, nullable: false, api_name: "hash" + field :placeholder, -> { String }, optional: true, nullable: false + field :min_length, -> { Integer }, optional: true, nullable: false + field :max_length, -> { Integer }, optional: true, nullable: false + field :complexity, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :nist, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :strength_meter, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_payment.rb b/lib/auth0/types/form_field_payment.rb index 3c016622..6e45a980 100644 --- a/lib/auth0/types/form_field_payment.rb +++ b/lib/auth0/types/form_field_payment.rb @@ -4,12 +4,19 @@ module Auth0 module Types class FormFieldPayment < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :category, -> { Auth0::Types::FormComponentCategoryFieldConst }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormFieldTypePaymentConst }, optional: false, nullable: false + field :config, -> { Auth0::Types::FormFieldPaymentConfig }, optional: false, nullable: false + field :label, -> { String }, optional: true, nullable: false + field :hint, -> { String }, optional: true, nullable: false + field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sensitive, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_payment_config.rb b/lib/auth0/types/form_field_payment_config.rb index 61c9e6a0..95e50b17 100644 --- a/lib/auth0/types/form_field_payment_config.rb +++ b/lib/auth0/types/form_field_payment_config.rb @@ -4,9 +4,13 @@ module Auth0 module Types class FormFieldPaymentConfig < Internal::Types::Model field :provider, -> { Auth0::Types::FormFieldPaymentConfigProviderEnum }, optional: true, nullable: false + field :charge, -> { Auth0::Types::FormFieldPaymentConfigCharge }, optional: false, nullable: false + field :credentials, -> { Auth0::Types::FormFieldPaymentConfigCredentials }, optional: false, nullable: false + field :customer, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :fields, -> { Auth0::Types::FormFieldPaymentConfigFields }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_payment_config_charge.rb b/lib/auth0/types/form_field_payment_config_charge.rb index e088c07b..2f524749 100644 --- a/lib/auth0/types/form_field_payment_config_charge.rb +++ b/lib/auth0/types/form_field_payment_config_charge.rb @@ -6,6 +6,7 @@ class FormFieldPaymentConfigCharge < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::FormFieldPaymentConfigChargeOneOff } + member -> { Auth0::Types::FormFieldPaymentConfigChargeSubscription } end end diff --git a/lib/auth0/types/form_field_payment_config_charge_one_off.rb b/lib/auth0/types/form_field_payment_config_charge_one_off.rb index 753cb3aa..a6df5c20 100644 --- a/lib/auth0/types/form_field_payment_config_charge_one_off.rb +++ b/lib/auth0/types/form_field_payment_config_charge_one_off.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FormFieldPaymentConfigChargeOneOff < Internal::Types::Model field :type, -> { Auth0::Types::FormFieldPaymentConfigChargeTypeOneOffConst }, optional: false, nullable: false + field :one_off, -> { Auth0::Types::FormFieldPaymentConfigChargeOneOffOneOff }, optional: false, nullable: false end end diff --git a/lib/auth0/types/form_field_payment_config_charge_one_off_one_off.rb b/lib/auth0/types/form_field_payment_config_charge_one_off_one_off.rb index 23c11e32..32738535 100644 --- a/lib/auth0/types/form_field_payment_config_charge_one_off_one_off.rb +++ b/lib/auth0/types/form_field_payment_config_charge_one_off_one_off.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FormFieldPaymentConfigChargeOneOffOneOff < Internal::Types::Model field :amount, -> { Auth0::Types::FormFieldPaymentConfigChargeOneOffOneOffAmount }, optional: false, nullable: false + field :currency, -> { Auth0::Types::FormFieldPaymentConfigChargeOneOffCurrencyEnum }, optional: false, nullable: false end end diff --git a/lib/auth0/types/form_field_payment_config_charge_one_off_one_off_amount.rb b/lib/auth0/types/form_field_payment_config_charge_one_off_one_off_amount.rb index ecdf88e9..2b4f3d6e 100644 --- a/lib/auth0/types/form_field_payment_config_charge_one_off_one_off_amount.rb +++ b/lib/auth0/types/form_field_payment_config_charge_one_off_one_off_amount.rb @@ -6,6 +6,7 @@ class FormFieldPaymentConfigChargeOneOffOneOffAmount < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { String } + member -> { Integer } end end diff --git a/lib/auth0/types/form_field_payment_config_charge_subscription.rb b/lib/auth0/types/form_field_payment_config_charge_subscription.rb index 71724f01..f6ff3cdd 100644 --- a/lib/auth0/types/form_field_payment_config_charge_subscription.rb +++ b/lib/auth0/types/form_field_payment_config_charge_subscription.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FormFieldPaymentConfigChargeSubscription < Internal::Types::Model field :type, -> { Auth0::Types::FormFieldPaymentConfigChargeTypeSubscriptionConst }, optional: false, nullable: false + field :subscription, -> { Internal::Types::Hash[String, Object] }, optional: false, nullable: false end end diff --git a/lib/auth0/types/form_field_payment_config_credentials.rb b/lib/auth0/types/form_field_payment_config_credentials.rb index cc76f757..2b1e53c0 100644 --- a/lib/auth0/types/form_field_payment_config_credentials.rb +++ b/lib/auth0/types/form_field_payment_config_credentials.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FormFieldPaymentConfigCredentials < Internal::Types::Model field :public_key, -> { String }, optional: false, nullable: false + field :private_key, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/form_field_payment_config_field_properties.rb b/lib/auth0/types/form_field_payment_config_field_properties.rb index 8fca1948..7afc045f 100644 --- a/lib/auth0/types/form_field_payment_config_field_properties.rb +++ b/lib/auth0/types/form_field_payment_config_field_properties.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FormFieldPaymentConfigFieldProperties < Internal::Types::Model field :label, -> { String }, optional: true, nullable: false + field :placeholder, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_payment_config_fields.rb b/lib/auth0/types/form_field_payment_config_fields.rb index e9d771c0..96e4b18d 100644 --- a/lib/auth0/types/form_field_payment_config_fields.rb +++ b/lib/auth0/types/form_field_payment_config_fields.rb @@ -4,8 +4,11 @@ module Auth0 module Types class FormFieldPaymentConfigFields < Internal::Types::Model field :card_number, -> { Auth0::Types::FormFieldPaymentConfigFieldProperties }, optional: true, nullable: false + field :expiration_date, -> { Auth0::Types::FormFieldPaymentConfigFieldProperties }, optional: true, nullable: false + field :security_code, -> { Auth0::Types::FormFieldPaymentConfigFieldProperties }, optional: true, nullable: false + field :trustmarks, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_social.rb b/lib/auth0/types/form_field_social.rb index 8ef65719..c5dba49b 100644 --- a/lib/auth0/types/form_field_social.rb +++ b/lib/auth0/types/form_field_social.rb @@ -4,12 +4,19 @@ module Auth0 module Types class FormFieldSocial < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :category, -> { Auth0::Types::FormComponentCategoryFieldConst }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormFieldTypeSocialConst }, optional: false, nullable: false + field :config, -> { Auth0::Types::FormFieldSocialConfig }, optional: true, nullable: false + field :label, -> { String }, optional: true, nullable: false + field :hint, -> { String }, optional: true, nullable: false + field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sensitive, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_tel.rb b/lib/auth0/types/form_field_tel.rb index cb4ccdf0..8d880bae 100644 --- a/lib/auth0/types/form_field_tel.rb +++ b/lib/auth0/types/form_field_tel.rb @@ -4,12 +4,19 @@ module Auth0 module Types class FormFieldTel < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :category, -> { Auth0::Types::FormComponentCategoryFieldConst }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormFieldTypeTelConst }, optional: false, nullable: false + field :config, -> { Auth0::Types::FormFieldTelConfig }, optional: true, nullable: false + field :label, -> { String }, optional: true, nullable: false + field :hint, -> { String }, optional: true, nullable: false + field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sensitive, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_tel_config.rb b/lib/auth0/types/form_field_tel_config.rb index 0978918c..3c1f973c 100644 --- a/lib/auth0/types/form_field_tel_config.rb +++ b/lib/auth0/types/form_field_tel_config.rb @@ -4,10 +4,15 @@ module Auth0 module Types class FormFieldTelConfig < Internal::Types::Model field :default_value, -> { String }, optional: true, nullable: false + field :placeholder, -> { String }, optional: true, nullable: false + field :min_length, -> { Integer }, optional: true, nullable: false + field :max_length, -> { Integer }, optional: true, nullable: false + field :country_picker, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :strings, -> { Auth0::Types::FormFieldTelConfigStrings }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_text.rb b/lib/auth0/types/form_field_text.rb index 0c45600e..d1900d2d 100644 --- a/lib/auth0/types/form_field_text.rb +++ b/lib/auth0/types/form_field_text.rb @@ -4,12 +4,19 @@ module Auth0 module Types class FormFieldText < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :category, -> { Auth0::Types::FormComponentCategoryFieldConst }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormFieldTypeTextConst }, optional: false, nullable: false + field :config, -> { Auth0::Types::FormFieldTextConfig }, optional: true, nullable: false + field :label, -> { String }, optional: true, nullable: false + field :hint, -> { String }, optional: true, nullable: false + field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sensitive, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_text_config.rb b/lib/auth0/types/form_field_text_config.rb index 72958c36..d0a23233 100644 --- a/lib/auth0/types/form_field_text_config.rb +++ b/lib/auth0/types/form_field_text_config.rb @@ -4,9 +4,13 @@ module Auth0 module Types class FormFieldTextConfig < Internal::Types::Model field :multiline, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :default_value, -> { String }, optional: true, nullable: false + field :placeholder, -> { String }, optional: true, nullable: false + field :min_length, -> { Integer }, optional: true, nullable: false + field :max_length, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_url.rb b/lib/auth0/types/form_field_url.rb index 4441748e..dbf3639f 100644 --- a/lib/auth0/types/form_field_url.rb +++ b/lib/auth0/types/form_field_url.rb @@ -4,12 +4,19 @@ module Auth0 module Types class FormFieldURL < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :category, -> { Auth0::Types::FormComponentCategoryFieldConst }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormFieldTypeURLConst }, optional: false, nullable: false + field :config, -> { Auth0::Types::FormFieldURLConfig }, optional: true, nullable: false + field :label, -> { String }, optional: true, nullable: false + field :hint, -> { String }, optional: true, nullable: false + field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sensitive, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_field_url_config.rb b/lib/auth0/types/form_field_url_config.rb index 5a675626..4a1db088 100644 --- a/lib/auth0/types/form_field_url_config.rb +++ b/lib/auth0/types/form_field_url_config.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FormFieldURLConfig < Internal::Types::Model field :default_value, -> { String }, optional: true, nullable: false + field :placeholder, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_flow.rb b/lib/auth0/types/form_flow.rb index f17821d4..dd08fdfa 100644 --- a/lib/auth0/types/form_flow.rb +++ b/lib/auth0/types/form_flow.rb @@ -4,9 +4,13 @@ module Auth0 module Types class FormFlow < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormNodeTypeFlowConst }, optional: false, nullable: false + field :coordinates, -> { Auth0::Types::FormNodeCoordinates }, optional: true, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :config, -> { Auth0::Types::FormFlowConfig }, optional: false, nullable: false end end diff --git a/lib/auth0/types/form_flow_config.rb b/lib/auth0/types/form_flow_config.rb index ec4582aa..a4ca6d53 100644 --- a/lib/auth0/types/form_flow_config.rb +++ b/lib/auth0/types/form_flow_config.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FormFlowConfig < Internal::Types::Model field :flow_id, -> { String }, optional: false, nullable: false + field :next_node, -> { Auth0::Types::FormNodePointer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_hidden_field.rb b/lib/auth0/types/form_hidden_field.rb index 59ec7d9e..789ccafd 100644 --- a/lib/auth0/types/form_hidden_field.rb +++ b/lib/auth0/types/form_hidden_field.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FormHiddenField < Internal::Types::Model field :key, -> { String }, optional: false, nullable: false + field :value, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_languages.rb b/lib/auth0/types/form_languages.rb index 83212fa1..4418c87c 100644 --- a/lib/auth0/types/form_languages.rb +++ b/lib/auth0/types/form_languages.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FormLanguages < Internal::Types::Model field :primary, -> { String }, optional: true, nullable: false + field :default, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_messages.rb b/lib/auth0/types/form_messages.rb index 44278c6e..5566db13 100644 --- a/lib/auth0/types/form_messages.rb +++ b/lib/auth0/types/form_messages.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FormMessages < Internal::Types::Model field :errors, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false + field :custom, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_node.rb b/lib/auth0/types/form_node.rb index 6724c1bc..b07896f8 100644 --- a/lib/auth0/types/form_node.rb +++ b/lib/auth0/types/form_node.rb @@ -6,7 +6,9 @@ class FormNode < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::FormFlow } + member -> { Auth0::Types::FormRouter } + member -> { Auth0::Types::FormStep } end end diff --git a/lib/auth0/types/form_node_coordinates.rb b/lib/auth0/types/form_node_coordinates.rb index 7a36b515..bd146b45 100644 --- a/lib/auth0/types/form_node_coordinates.rb +++ b/lib/auth0/types/form_node_coordinates.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FormNodeCoordinates < Internal::Types::Model field :x, -> { Integer }, optional: false, nullable: false + field :y, -> { Integer }, optional: false, nullable: false end end diff --git a/lib/auth0/types/form_node_pointer.rb b/lib/auth0/types/form_node_pointer.rb index 1e514cd8..8374c1ee 100644 --- a/lib/auth0/types/form_node_pointer.rb +++ b/lib/auth0/types/form_node_pointer.rb @@ -6,6 +6,7 @@ class FormNodePointer < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { String } + member -> { Auth0::Types::FormEndingNodeID } end end diff --git a/lib/auth0/types/form_router.rb b/lib/auth0/types/form_router.rb index a9c8e12f..c353f5b4 100644 --- a/lib/auth0/types/form_router.rb +++ b/lib/auth0/types/form_router.rb @@ -4,9 +4,13 @@ module Auth0 module Types class FormRouter < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormNodeTypeRouterConst }, optional: false, nullable: false + field :coordinates, -> { Auth0::Types::FormNodeCoordinates }, optional: true, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :config, -> { Auth0::Types::FormRouterConfig }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_router_config.rb b/lib/auth0/types/form_router_config.rb index d3bd8f2c..bd9222e4 100644 --- a/lib/auth0/types/form_router_config.rb +++ b/lib/auth0/types/form_router_config.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FormRouterConfig < Internal::Types::Model field :rules, -> { Internal::Types::Array[Auth0::Types::FormRouterRule] }, optional: true, nullable: false + field :fallback, -> { Auth0::Types::FormNodePointer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_router_rule.rb b/lib/auth0/types/form_router_rule.rb index bc49f0ee..b86d317f 100644 --- a/lib/auth0/types/form_router_rule.rb +++ b/lib/auth0/types/form_router_rule.rb @@ -4,7 +4,9 @@ module Auth0 module Types class FormRouterRule < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :next_node, -> { Auth0::Types::FormNodePointer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_start_node.rb b/lib/auth0/types/form_start_node.rb index 1aa44c1c..755390a0 100644 --- a/lib/auth0/types/form_start_node.rb +++ b/lib/auth0/types/form_start_node.rb @@ -4,7 +4,9 @@ module Auth0 module Types class FormStartNode < Internal::Types::Model field :hidden_fields, -> { Internal::Types::Array[Auth0::Types::FormHiddenField] }, optional: true, nullable: false + field :next_node, -> { Auth0::Types::FormNodePointer }, optional: true, nullable: false + field :coordinates, -> { Auth0::Types::FormNodeCoordinates }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_step.rb b/lib/auth0/types/form_step.rb index a84cea85..73e9c041 100644 --- a/lib/auth0/types/form_step.rb +++ b/lib/auth0/types/form_step.rb @@ -4,9 +4,13 @@ module Auth0 module Types class FormStep < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormNodeTypeStepConst }, optional: false, nullable: false + field :coordinates, -> { Auth0::Types::FormNodeCoordinates }, optional: true, nullable: false + field :alias_, -> { String }, optional: true, nullable: false, api_name: "alias" + field :config, -> { Auth0::Types::FormStepConfig }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_step_config.rb b/lib/auth0/types/form_step_config.rb index 4f32b23b..e013611b 100644 --- a/lib/auth0/types/form_step_config.rb +++ b/lib/auth0/types/form_step_config.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FormStepConfig < Internal::Types::Model field :components, -> { Internal::Types::Array[Auth0::Types::FormComponent] }, optional: true, nullable: false + field :next_node, -> { Auth0::Types::FormNodePointer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_summary.rb b/lib/auth0/types/form_summary.rb index fc8603c9..67d0a5bb 100644 --- a/lib/auth0/types/form_summary.rb +++ b/lib/auth0/types/form_summary.rb @@ -4,10 +4,15 @@ module Auth0 module Types class FormSummary < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: false, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :updated_at, -> { String }, optional: false, nullable: false + field :embedded_at, -> { String }, optional: true, nullable: false + field :submitted_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_widget.rb b/lib/auth0/types/form_widget.rb index 400347df..b53cdadc 100644 --- a/lib/auth0/types/form_widget.rb +++ b/lib/auth0/types/form_widget.rb @@ -6,7 +6,9 @@ class FormWidget < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::FormWidgetAuth0VerifiableCredentials } + member -> { Auth0::Types::FormWidgetGMapsAddress } + member -> { Auth0::Types::FormWidgetRecaptcha } end end diff --git a/lib/auth0/types/form_widget_auth0verifiable_credentials.rb b/lib/auth0/types/form_widget_auth0verifiable_credentials.rb index d56cb585..800992e3 100644 --- a/lib/auth0/types/form_widget_auth0verifiable_credentials.rb +++ b/lib/auth0/types/form_widget_auth0verifiable_credentials.rb @@ -4,12 +4,19 @@ module Auth0 module Types class FormWidgetAuth0VerifiableCredentials < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :category, -> { Auth0::Types::FormComponentCategoryWidgetConst }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormWidgetTypeAuth0VerifiableCredentialsConst }, optional: false, nullable: false + field :config, -> { Auth0::Types::FormWidgetAuth0VerifiableCredentialsConfig }, optional: false, nullable: false + field :label, -> { String }, optional: true, nullable: false + field :hint, -> { String }, optional: true, nullable: false + field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sensitive, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_widget_auth0verifiable_credentials_config.rb b/lib/auth0/types/form_widget_auth0verifiable_credentials_config.rb index 1e173232..15794fb2 100644 --- a/lib/auth0/types/form_widget_auth0verifiable_credentials_config.rb +++ b/lib/auth0/types/form_widget_auth0verifiable_credentials_config.rb @@ -4,10 +4,15 @@ module Auth0 module Types class FormWidgetAuth0VerifiableCredentialsConfig < Internal::Types::Model field :url, -> { String }, optional: false, nullable: false + field :size, -> { Integer }, optional: true, nullable: false + field :alternate_text, -> { String }, optional: false, nullable: false + field :access_token, -> { String }, optional: false, nullable: false + field :verification_id, -> { String }, optional: false, nullable: false + field :max_wait, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_widget_g_maps_address.rb b/lib/auth0/types/form_widget_g_maps_address.rb index 97682f40..d4e161a8 100644 --- a/lib/auth0/types/form_widget_g_maps_address.rb +++ b/lib/auth0/types/form_widget_g_maps_address.rb @@ -4,12 +4,19 @@ module Auth0 module Types class FormWidgetGMapsAddress < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :category, -> { Auth0::Types::FormComponentCategoryWidgetConst }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormWidgetTypeGMapsAddressConst }, optional: false, nullable: false + field :config, -> { Auth0::Types::FormWidgetGMapsAddressConfig }, optional: false, nullable: false + field :label, -> { String }, optional: true, nullable: false + field :hint, -> { String }, optional: true, nullable: false + field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sensitive, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_widget_recaptcha.rb b/lib/auth0/types/form_widget_recaptcha.rb index 7193c785..edba0ab4 100644 --- a/lib/auth0/types/form_widget_recaptcha.rb +++ b/lib/auth0/types/form_widget_recaptcha.rb @@ -4,12 +4,19 @@ module Auth0 module Types class FormWidgetRecaptcha < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :category, -> { Auth0::Types::FormComponentCategoryWidgetConst }, optional: false, nullable: false + field :type, -> { Auth0::Types::FormWidgetTypeRecaptchaConst }, optional: false, nullable: false + field :config, -> { Auth0::Types::FormWidgetRecaptchaConfig }, optional: false, nullable: false + field :label, -> { String }, optional: true, nullable: false + field :hint, -> { String }, optional: true, nullable: false + field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sensitive, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/form_widget_recaptcha_config.rb b/lib/auth0/types/form_widget_recaptcha_config.rb index 29259bcb..5410fb21 100644 --- a/lib/auth0/types/form_widget_recaptcha_config.rb +++ b/lib/auth0/types/form_widget_recaptcha_config.rb @@ -4,6 +4,7 @@ module Auth0 module Types class FormWidgetRecaptchaConfig < Internal::Types::Model field :site_key, -> { String }, optional: false, nullable: false + field :secret_key, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/get_action_execution_response_content.rb b/lib/auth0/types/get_action_execution_response_content.rb index 463bd397..bb12439b 100644 --- a/lib/auth0/types/get_action_execution_response_content.rb +++ b/lib/auth0/types/get_action_execution_response_content.rb @@ -5,10 +5,15 @@ module Types # The result of a specific execution of a trigger. class GetActionExecutionResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :trigger_id, -> { Auth0::Types::ActionTriggerTypeEnum }, optional: true, nullable: false + field :status, -> { Auth0::Types::ActionExecutionStatusEnum }, optional: true, nullable: false + field :results, -> { Internal::Types::Array[Auth0::Types::ActionExecutionResult] }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_action_module_actions_response_content.rb b/lib/auth0/types/get_action_module_actions_response_content.rb index f2410dec..d4571c27 100644 --- a/lib/auth0/types/get_action_module_actions_response_content.rb +++ b/lib/auth0/types/get_action_module_actions_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class GetActionModuleActionsResponseContent < Internal::Types::Model field :actions, -> { Internal::Types::Array[Auth0::Types::ActionModuleAction] }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false + field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_action_module_response_content.rb b/lib/auth0/types/get_action_module_response_content.rb index 31c04153..01381f55 100644 --- a/lib/auth0/types/get_action_module_response_content.rb +++ b/lib/auth0/types/get_action_module_response_content.rb @@ -4,15 +4,25 @@ module Auth0 module Types class GetActionModuleResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :code, -> { String }, optional: true, nullable: false + field :dependencies, -> { Internal::Types::Array[Auth0::Types::ActionModuleDependency] }, optional: true, nullable: false + field :secrets, -> { Internal::Types::Array[Auth0::Types::ActionModuleSecret] }, optional: true, nullable: false + field :actions_using_module_total, -> { Integer }, optional: true, nullable: false + field :all_changes_published, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :latest_version_number, -> { Integer }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false + field :latest_version, -> { Auth0::Types::ActionModuleVersionReference }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_action_module_version_response_content.rb b/lib/auth0/types/get_action_module_version_response_content.rb index 6eb158ab..065c076d 100644 --- a/lib/auth0/types/get_action_module_version_response_content.rb +++ b/lib/auth0/types/get_action_module_version_response_content.rb @@ -4,11 +4,17 @@ module Auth0 module Types class GetActionModuleVersionResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :module_id, -> { String }, optional: true, nullable: false + field :version_number, -> { Integer }, optional: true, nullable: false + field :code, -> { String }, optional: true, nullable: false + field :secrets, -> { Internal::Types::Array[Auth0::Types::ActionModuleSecret] }, optional: true, nullable: false + field :dependencies, -> { Internal::Types::Array[Auth0::Types::ActionModuleDependency] }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_action_module_versions_response_content.rb b/lib/auth0/types/get_action_module_versions_response_content.rb index e0e5552b..878f303c 100644 --- a/lib/auth0/types/get_action_module_versions_response_content.rb +++ b/lib/auth0/types/get_action_module_versions_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class GetActionModuleVersionsResponseContent < Internal::Types::Model field :versions, -> { Internal::Types::Array[Auth0::Types::ActionModuleVersion] }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false + field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_action_modules_response_content.rb b/lib/auth0/types/get_action_modules_response_content.rb index 09989417..9f9ae68b 100644 --- a/lib/auth0/types/get_action_modules_response_content.rb +++ b/lib/auth0/types/get_action_modules_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class GetActionModulesResponseContent < Internal::Types::Model field :modules, -> { Internal::Types::Array[Auth0::Types::ActionModuleListItem] }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false + field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_action_response_content.rb b/lib/auth0/types/get_action_response_content.rb index ffc04426..bbe6a70f 100644 --- a/lib/auth0/types/get_action_response_content.rb +++ b/lib/auth0/types/get_action_response_content.rb @@ -4,21 +4,37 @@ module Auth0 module Types class GetActionResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :supported_triggers, -> { Internal::Types::Array[Auth0::Types::ActionTrigger] }, optional: true, nullable: false + field :all_changes_deployed, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false + field :code, -> { String }, optional: true, nullable: false + field :dependencies, -> { Internal::Types::Array[Auth0::Types::ActionVersionDependency] }, optional: true, nullable: false + field :runtime, -> { String }, optional: true, nullable: false + field :secrets, -> { Internal::Types::Array[Auth0::Types::ActionSecretResponse] }, optional: true, nullable: false + field :deployed_version, -> { Auth0::Types::ActionDeployedVersion }, optional: true, nullable: false + field :installed_integration_id, -> { String }, optional: true, nullable: false + field :integration, -> { Auth0::Types::Integration }, optional: true, nullable: false + field :status, -> { Auth0::Types::ActionBuildStatusEnum }, optional: true, nullable: false + field :built_at, -> { String }, optional: true, nullable: false + field :deploy, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :modules, -> { Internal::Types::Array[Auth0::Types::ActionModuleReference] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_action_version_response_content.rb b/lib/auth0/types/get_action_version_response_content.rb index f0def4ab..2141a0c0 100644 --- a/lib/auth0/types/get_action_version_response_content.rb +++ b/lib/auth0/types/get_action_version_response_content.rb @@ -4,20 +4,35 @@ module Auth0 module Types class GetActionVersionResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :action_id, -> { String }, optional: true, nullable: false + field :code, -> { String }, optional: true, nullable: false + field :dependencies, -> { Internal::Types::Array[Auth0::Types::ActionVersionDependency] }, optional: true, nullable: false + field :deployed, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :runtime, -> { String }, optional: true, nullable: false + field :secrets, -> { Internal::Types::Array[Auth0::Types::ActionSecretResponse] }, optional: true, nullable: false + field :status, -> { Auth0::Types::ActionVersionBuildStatusEnum }, optional: true, nullable: false + field :number, -> { Integer }, optional: true, nullable: false + field :errors, -> { Internal::Types::Array[Auth0::Types::ActionError] }, optional: true, nullable: false + field :action, -> { Auth0::Types::ActionBase }, optional: true, nullable: false + field :built_at, -> { String }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false + field :supported_triggers, -> { Internal::Types::Array[Auth0::Types::ActionTrigger] }, optional: true, nullable: false + field :modules, -> { Internal::Types::Array[Auth0::Types::ActionModuleReference] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_acul_response_content.rb b/lib/auth0/types/get_acul_response_content.rb index 4acc1c6e..90795572 100644 --- a/lib/auth0/types/get_acul_response_content.rb +++ b/lib/auth0/types/get_acul_response_content.rb @@ -4,13 +4,21 @@ module Auth0 module Types class GetAculResponseContent < Internal::Types::Model field :tenant, -> { String }, optional: true, nullable: false + field :prompt, -> { String }, optional: true, nullable: false + field :screen, -> { String }, optional: true, nullable: false + field :rendering_mode, -> { Auth0::Types::AculRenderingModeEnum }, optional: true, nullable: false + field :context_configuration, -> { Internal::Types::Array[Auth0::Types::AculContextConfigurationItem] }, optional: true, nullable: false + field :default_head_tags_disabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :use_page_template, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :head_tags, -> { Internal::Types::Array[Auth0::Types::AculHeadTag] }, optional: true, nullable: false + field :filters, -> { Auth0::Types::AculFilters }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_attack_protection_captcha_response_content.rb b/lib/auth0/types/get_attack_protection_captcha_response_content.rb index 83d047aa..e104b574 100644 --- a/lib/auth0/types/get_attack_protection_captcha_response_content.rb +++ b/lib/auth0/types/get_attack_protection_captcha_response_content.rb @@ -4,12 +4,19 @@ module Auth0 module Types class GetAttackProtectionCaptchaResponseContent < Internal::Types::Model field :active_provider_id, -> { String }, optional: true, nullable: false + field :arkose, -> { Auth0::Types::AttackProtectionCaptchaArkoseResponseContent }, optional: true, nullable: false + field :auth_challenge, -> { Auth0::Types::AttackProtectionCaptchaAuthChallengeResponseContent }, optional: true, nullable: false + field :hcaptcha, -> { Auth0::Types::AttackProtectionCaptchaHcaptchaResponseContent }, optional: true, nullable: false + field :friendly_captcha, -> { Auth0::Types::AttackProtectionCaptchaFriendlyCaptchaResponseContent }, optional: true, nullable: false + field :recaptcha_enterprise, -> { Auth0::Types::AttackProtectionCaptchaRecaptchaEnterpriseResponseContent }, optional: true, nullable: false + field :recaptcha_v2, -> { Auth0::Types::AttackProtectionCaptchaRecaptchaV2ResponseContent }, optional: true, nullable: false + field :simple_captcha, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_bot_detection_settings_response_content.rb b/lib/auth0/types/get_bot_detection_settings_response_content.rb index 38827283..c7a5c003 100644 --- a/lib/auth0/types/get_bot_detection_settings_response_content.rb +++ b/lib/auth0/types/get_bot_detection_settings_response_content.rb @@ -4,10 +4,15 @@ module Auth0 module Types class GetBotDetectionSettingsResponseContent < Internal::Types::Model field :bot_detection_level, -> { Auth0::Types::BotDetectionLevelEnum }, optional: false, nullable: false + field :challenge_password_policy, -> { Auth0::Types::BotDetectionChallengePolicyPasswordFlowEnum }, optional: false, nullable: false + field :challenge_passwordless_policy, -> { Auth0::Types::BotDetectionChallengePolicyPasswordlessFlowEnum }, optional: false, nullable: false + field :challenge_password_reset_policy, -> { Auth0::Types::BotDetectionChallengePolicyPasswordResetFlowEnum }, optional: false, nullable: false + field :allowlist, -> { Internal::Types::Array[String] }, optional: false, nullable: false + field :monitoring_mode_enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false end end diff --git a/lib/auth0/types/get_branding_default_theme_response_content.rb b/lib/auth0/types/get_branding_default_theme_response_content.rb index 07417193..b3d16d3f 100644 --- a/lib/auth0/types/get_branding_default_theme_response_content.rb +++ b/lib/auth0/types/get_branding_default_theme_response_content.rb @@ -4,11 +4,17 @@ module Auth0 module Types class GetBrandingDefaultThemeResponseContent < Internal::Types::Model field :borders, -> { Auth0::Types::BrandingThemeBorders }, optional: false, nullable: false + field :colors, -> { Auth0::Types::BrandingThemeColors }, optional: false, nullable: false + field :display_name, -> { String }, optional: false, nullable: false, api_name: "displayName" + field :fonts, -> { Auth0::Types::BrandingThemeFonts }, optional: false, nullable: false + field :page_background, -> { Auth0::Types::BrandingThemePageBackground }, optional: false, nullable: false + field :theme_id, -> { String }, optional: false, nullable: false, api_name: "themeId" + field :widget, -> { Auth0::Types::BrandingThemeWidget }, optional: false, nullable: false end end diff --git a/lib/auth0/types/get_branding_phone_provider_response_content.rb b/lib/auth0/types/get_branding_phone_provider_response_content.rb index b43393e8..7fcc78fc 100644 --- a/lib/auth0/types/get_branding_phone_provider_response_content.rb +++ b/lib/auth0/types/get_branding_phone_provider_response_content.rb @@ -5,12 +5,19 @@ module Types # Phone provider configuration schema class GetBrandingPhoneProviderResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :tenant, -> { String }, optional: true, nullable: false + field :name, -> { Auth0::Types::PhoneProviderNameEnum }, optional: false, nullable: false + field :channel, -> { Auth0::Types::PhoneProviderChannelEnum }, optional: true, nullable: false + field :disabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :configuration, -> { Auth0::Types::PhoneProviderConfiguration }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_branding_response_content.rb b/lib/auth0/types/get_branding_response_content.rb index 3cb13321..ceb6e897 100644 --- a/lib/auth0/types/get_branding_response_content.rb +++ b/lib/auth0/types/get_branding_response_content.rb @@ -4,8 +4,13 @@ module Auth0 module Types class GetBrandingResponseContent < Internal::Types::Model field :colors, -> { Auth0::Types::BrandingColors }, optional: true, nullable: false + field :favicon_url, -> { String }, optional: true, nullable: false + field :logo_url, -> { String }, optional: true, nullable: false + + field :identifiers, -> { Auth0::Types::BrandingIdentifiers }, optional: true, nullable: false + field :font, -> { Auth0::Types::BrandingFont }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_branding_theme_response_content.rb b/lib/auth0/types/get_branding_theme_response_content.rb index aba1d9d5..8d0b2d85 100644 --- a/lib/auth0/types/get_branding_theme_response_content.rb +++ b/lib/auth0/types/get_branding_theme_response_content.rb @@ -4,11 +4,17 @@ module Auth0 module Types class GetBrandingThemeResponseContent < Internal::Types::Model field :borders, -> { Auth0::Types::BrandingThemeBorders }, optional: false, nullable: false + field :colors, -> { Auth0::Types::BrandingThemeColors }, optional: false, nullable: false + field :display_name, -> { String }, optional: false, nullable: false, api_name: "displayName" + field :fonts, -> { Auth0::Types::BrandingThemeFonts }, optional: false, nullable: false + field :page_background, -> { Auth0::Types::BrandingThemePageBackground }, optional: false, nullable: false + field :theme_id, -> { String }, optional: false, nullable: false, api_name: "themeId" + field :widget, -> { Auth0::Types::BrandingThemeWidget }, optional: false, nullable: false end end diff --git a/lib/auth0/types/get_breached_password_detection_settings_response_content.rb b/lib/auth0/types/get_breached_password_detection_settings_response_content.rb index 0fdcf01c..2db26ab5 100644 --- a/lib/auth0/types/get_breached_password_detection_settings_response_content.rb +++ b/lib/auth0/types/get_breached_password_detection_settings_response_content.rb @@ -4,9 +4,13 @@ module Auth0 module Types class GetBreachedPasswordDetectionSettingsResponseContent < Internal::Types::Model field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :shields, -> { Internal::Types::Array[Auth0::Types::BreachedPasswordDetectionShieldsEnum] }, optional: true, nullable: false + field :admin_notification_frequency, -> { Internal::Types::Array[Auth0::Types::BreachedPasswordDetectionAdminNotificationFrequencyEnum] }, optional: true, nullable: false + field :method_, -> { Auth0::Types::BreachedPasswordDetectionMethodEnum }, optional: true, nullable: false, api_name: "method" + field :stage, -> { Auth0::Types::BreachedPasswordDetectionStage }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_brute_force_settings_response_content.rb b/lib/auth0/types/get_brute_force_settings_response_content.rb index 7930ea50..4f6d0a04 100644 --- a/lib/auth0/types/get_brute_force_settings_response_content.rb +++ b/lib/auth0/types/get_brute_force_settings_response_content.rb @@ -4,9 +4,13 @@ module Auth0 module Types class GetBruteForceSettingsResponseContent < Internal::Types::Model field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :shields, -> { Internal::Types::Array[Auth0::Types::BruteForceProtectionShieldsEnum] }, optional: true, nullable: false + field :allowlist, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :mode, -> { Auth0::Types::BruteForceProtectionModeEnum }, optional: true, nullable: false + field :max_attempts, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_client_credential_response_content.rb b/lib/auth0/types/get_client_credential_response_content.rb index 04aa694d..1a7fa9e3 100644 --- a/lib/auth0/types/get_client_credential_response_content.rb +++ b/lib/auth0/types/get_client_credential_response_content.rb @@ -4,14 +4,23 @@ module Auth0 module Types class GetClientCredentialResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :kid, -> { String }, optional: true, nullable: false + field :alg, -> { Auth0::Types::ClientCredentialAlgorithmEnum }, optional: true, nullable: false + field :credential_type, -> { Auth0::Types::ClientCredentialTypeEnum }, optional: true, nullable: false + field :subject_dn, -> { String }, optional: true, nullable: false + field :thumbprint_sha256, -> { String }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false + field :expires_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_client_grant_response_content.rb b/lib/auth0/types/get_client_grant_response_content.rb index 6fdabe36..1204d2d7 100644 --- a/lib/auth0/types/get_client_grant_response_content.rb +++ b/lib/auth0/types/get_client_grant_response_content.rb @@ -4,15 +4,25 @@ module Auth0 module Types class GetClientGrantResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false + field :audience, -> { String }, optional: true, nullable: false + field :scope, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :organization_usage, -> { Auth0::Types::ClientGrantOrganizationUsageEnum }, optional: true, nullable: false + field :allow_any_organization, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :default_for, -> { Auth0::Types::ClientGrantDefaultForEnum }, optional: true, nullable: false + field :is_system, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :subject_type, -> { Auth0::Types::ClientGrantSubjectTypeEnum }, optional: true, nullable: false + field :authorization_details_types, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :allow_all_scopes, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_client_response_content.rb b/lib/auth0/types/get_client_response_content.rb index 7bb315a4..425a83a6 100644 --- a/lib/auth0/types/get_client_response_content.rb +++ b/lib/auth0/types/get_client_response_content.rb @@ -4,64 +4,123 @@ module Auth0 module Types class GetClientResponseContent < Internal::Types::Model field :client_id, -> { String }, optional: true, nullable: false + field :tenant, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false + field :global, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :client_secret, -> { String }, optional: true, nullable: false + field :app_type, -> { Auth0::Types::ClientAppTypeEnum }, optional: true, nullable: false + field :logo_uri, -> { String }, optional: true, nullable: false + field :is_first_party, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :oidc_conformant, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :callbacks, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :allowed_origins, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :web_origins, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :client_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :allowed_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :allowed_logout_urls, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :session_transfer, -> { Auth0::Types::ClientSessionTransferConfiguration }, optional: true, nullable: false + field :oidc_logout, -> { Auth0::Types::ClientOidcBackchannelLogoutSettings }, optional: true, nullable: false + field :grant_types, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :jwt_configuration, -> { Auth0::Types::ClientJwtConfiguration }, optional: true, nullable: false + field :signing_keys, -> { Internal::Types::Array[Auth0::Types::ClientSigningKey] }, optional: true, nullable: false + field :encryption_key, -> { Auth0::Types::ClientEncryptionKey }, optional: true, nullable: false + field :sso, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sso_disabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :cross_origin_authentication, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :cross_origin_loc, -> { String }, optional: true, nullable: false + field :custom_login_page_on, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :custom_login_page, -> { String }, optional: true, nullable: false + field :custom_login_page_preview, -> { String }, optional: true, nullable: false + field :form_template, -> { String }, optional: true, nullable: false + field :addons, -> { Auth0::Types::ClientAddons }, optional: true, nullable: false + field :token_endpoint_auth_method, -> { Auth0::Types::ClientTokenEndpointAuthMethodEnum }, optional: true, nullable: false + field :is_token_endpoint_ip_header_trusted, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :client_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :mobile, -> { Auth0::Types::ClientMobile }, optional: true, nullable: false + field :initiate_login_uri, -> { String }, optional: true, nullable: false + field :refresh_token, -> { Auth0::Types::ClientRefreshTokenConfiguration }, optional: true, nullable: false + field :default_organization, -> { Auth0::Types::ClientDefaultOrganization }, optional: true, nullable: false + field :organization_usage, -> { Auth0::Types::ClientOrganizationUsageEnum }, optional: true, nullable: false + field :organization_require_behavior, -> { Auth0::Types::ClientOrganizationRequireBehaviorEnum }, optional: true, nullable: false + field :organization_discovery_methods, -> { Internal::Types::Array[Auth0::Types::ClientOrganizationDiscoveryEnum] }, optional: true, nullable: false + field :client_authentication_methods, -> { Auth0::Types::ClientAuthenticationMethod }, optional: true, nullable: false + field :require_pushed_authorization_requests, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :require_proof_of_possession, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :signed_request_object, -> { Auth0::Types::ClientSignedRequestObjectWithCredentialID }, optional: true, nullable: false + field :compliance_level, -> { Auth0::Types::ClientComplianceLevelEnum }, optional: true, nullable: false + field :skip_non_verifiable_callback_uri_confirmation_prompt, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :token_exchange, -> { Auth0::Types::ClientTokenExchangeConfiguration }, optional: true, nullable: false + field :par_request_expiry, -> { Integer }, optional: true, nullable: false + field :token_quota, -> { Auth0::Types::TokenQuota }, optional: true, nullable: false + field :express_configuration, -> { Auth0::Types::ExpressConfiguration }, optional: true, nullable: false + field :my_organization_configuration, -> { Auth0::Types::ClientMyOrganizationResponseConfiguration }, optional: true, nullable: false + field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false + field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false + field :resource_server_identifier, -> { String }, optional: true, nullable: false + field :async_approval_notification_channels, -> { Internal::Types::Array[Auth0::Types::AsyncApprovalNotificationsChannelsEnum] }, optional: true, nullable: false + field :external_metadata_type, -> { Auth0::Types::ClientExternalMetadataTypeEnum }, optional: true, nullable: false + field :external_metadata_created_by, -> { Auth0::Types::ClientExternalMetadataCreatedByEnum }, optional: true, nullable: false + field :external_client_id, -> { String }, optional: true, nullable: false + field :jwks_uri, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_connection_enabled_clients_response_content.rb b/lib/auth0/types/get_connection_enabled_clients_response_content.rb index f1a44e30..8bc22afd 100644 --- a/lib/auth0/types/get_connection_enabled_clients_response_content.rb +++ b/lib/auth0/types/get_connection_enabled_clients_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class GetConnectionEnabledClientsResponseContent < Internal::Types::Model field :clients, -> { Internal::Types::Array[Auth0::Types::ConnectionEnabledClient] }, optional: false, nullable: false + field :next_, -> { String }, optional: true, nullable: false, api_name: "next" end end diff --git a/lib/auth0/types/get_connection_profile_response_content.rb b/lib/auth0/types/get_connection_profile_response_content.rb index de0942f9..6f51f0e5 100644 --- a/lib/auth0/types/get_connection_profile_response_content.rb +++ b/lib/auth0/types/get_connection_profile_response_content.rb @@ -4,11 +4,17 @@ module Auth0 module Types class GetConnectionProfileResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :organization, -> { Auth0::Types::ConnectionProfileOrganization }, optional: true, nullable: false + field :connection_name_prefix_template, -> { String }, optional: true, nullable: false + field :enabled_features, -> { Internal::Types::Array[Auth0::Types::EnabledFeaturesEnum] }, optional: true, nullable: false + field :connection_config, -> { Auth0::Types::ConnectionProfileConfig }, optional: true, nullable: false + field :strategy_overrides, -> { Auth0::Types::ConnectionProfileStrategyOverrides }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_connection_profile_template_response_content.rb b/lib/auth0/types/get_connection_profile_template_response_content.rb index 22f38e68..e41f400c 100644 --- a/lib/auth0/types/get_connection_profile_template_response_content.rb +++ b/lib/auth0/types/get_connection_profile_template_response_content.rb @@ -4,7 +4,9 @@ module Auth0 module Types class GetConnectionProfileTemplateResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :display_name, -> { String }, optional: true, nullable: false + field :template, -> { Auth0::Types::ConnectionProfileTemplate }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_connection_response_content.rb b/lib/auth0/types/get_connection_response_content.rb index 137b37fc..9f0299ed 100644 --- a/lib/auth0/types/get_connection_response_content.rb +++ b/lib/auth0/types/get_connection_response_content.rb @@ -4,16 +4,27 @@ module Auth0 module Types class GetConnectionResponseContent < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :display_name, -> { String }, optional: true, nullable: false + field :options, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :id, -> { String }, optional: true, nullable: false + field :strategy, -> { String }, optional: true, nullable: false + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false + field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false + field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_custom_domain_response_content.rb b/lib/auth0/types/get_custom_domain_response_content.rb index 2f98ec54..cc454a5f 100644 --- a/lib/auth0/types/get_custom_domain_response_content.rb +++ b/lib/auth0/types/get_custom_domain_response_content.rb @@ -4,17 +4,29 @@ module Auth0 module Types class GetCustomDomainResponseContent < Internal::Types::Model field :custom_domain_id, -> { String }, optional: false, nullable: false + field :domain, -> { String }, optional: false, nullable: false + field :primary, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :is_default, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :status, -> { Auth0::Types::CustomDomainStatusFilterEnum }, optional: false, nullable: false + field :type, -> { Auth0::Types::CustomDomainTypeEnum }, optional: false, nullable: false + field :origin_domain_name, -> { String }, optional: true, nullable: false + field :verification, -> { Auth0::Types::DomainVerification }, optional: true, nullable: false + field :custom_client_ip_header, -> { String }, optional: true, nullable: false + field :tls_policy, -> { String }, optional: true, nullable: false + field :domain_metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false + field :certificate, -> { Auth0::Types::DomainCertificate }, optional: true, nullable: false + field :relying_party_identifier, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_default_custom_domain_response_content.rb b/lib/auth0/types/get_default_custom_domain_response_content.rb index 85f01a89..6c492a26 100644 --- a/lib/auth0/types/get_default_custom_domain_response_content.rb +++ b/lib/auth0/types/get_default_custom_domain_response_content.rb @@ -4,17 +4,29 @@ module Auth0 module Types class GetDefaultCustomDomainResponseContent < Internal::Types::Model field :custom_domain_id, -> { String }, optional: false, nullable: false + field :domain, -> { String }, optional: false, nullable: false + field :primary, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :is_default, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :status, -> { Auth0::Types::CustomDomainStatusFilterEnum }, optional: false, nullable: false + field :type, -> { Auth0::Types::CustomDomainTypeEnum }, optional: false, nullable: false + field :origin_domain_name, -> { String }, optional: true, nullable: false + field :verification, -> { Auth0::Types::DomainVerification }, optional: true, nullable: false + field :custom_client_ip_header, -> { String }, optional: true, nullable: false + field :tls_policy, -> { String }, optional: true, nullable: false + field :domain_metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false + field :certificate, -> { Auth0::Types::DomainCertificate }, optional: true, nullable: false + field :relying_party_identifier, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_default_domain_response_content.rb b/lib/auth0/types/get_default_domain_response_content.rb index 13c67757..bf061850 100644 --- a/lib/auth0/types/get_default_domain_response_content.rb +++ b/lib/auth0/types/get_default_domain_response_content.rb @@ -6,6 +6,7 @@ class GetDefaultDomainResponseContent < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::GetDefaultCustomDomainResponseContent } + member -> { Auth0::Types::GetDefaultCanonicalDomainResponseContent } end end diff --git a/lib/auth0/types/get_directory_provisioning_response_content.rb b/lib/auth0/types/get_directory_provisioning_response_content.rb index 3da86d35..7fc1a076 100644 --- a/lib/auth0/types/get_directory_provisioning_response_content.rb +++ b/lib/auth0/types/get_directory_provisioning_response_content.rb @@ -4,15 +4,25 @@ module Auth0 module Types class GetDirectoryProvisioningResponseContent < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :connection_name, -> { String }, optional: false, nullable: false + field :strategy, -> { String }, optional: false, nullable: false + field :mapping, -> { Internal::Types::Array[Auth0::Types::DirectoryProvisioningMappingItem] }, optional: false, nullable: false + field :synchronize_automatically, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :synchronize_groups, -> { Auth0::Types::SynchronizeGroupsEnum }, optional: true, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :updated_at, -> { String }, optional: false, nullable: false + field :last_synchronization_at, -> { String }, optional: true, nullable: false + field :last_synchronization_status, -> { String }, optional: true, nullable: false + field :last_synchronization_error, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_email_provider_response_content.rb b/lib/auth0/types/get_email_provider_response_content.rb index b079558c..77f38e20 100644 --- a/lib/auth0/types/get_email_provider_response_content.rb +++ b/lib/auth0/types/get_email_provider_response_content.rb @@ -4,9 +4,13 @@ module Auth0 module Types class GetEmailProviderResponseContent < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :default_from_address, -> { String }, optional: true, nullable: false + field :credentials, -> { Auth0::Types::EmailProviderCredentials }, optional: true, nullable: false + field :settings, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_email_template_response_content.rb b/lib/auth0/types/get_email_template_response_content.rb index 6cdff041..5680a9ef 100644 --- a/lib/auth0/types/get_email_template_response_content.rb +++ b/lib/auth0/types/get_email_template_response_content.rb @@ -4,13 +4,21 @@ module Auth0 module Types class GetEmailTemplateResponseContent < Internal::Types::Model field :template, -> { Auth0::Types::EmailTemplateNameEnum }, optional: true, nullable: false + field :body, -> { String }, optional: true, nullable: false + field :from, -> { String }, optional: true, nullable: false + field :result_url, -> { String }, optional: true, nullable: false, api_name: "resultUrl" + field :subject, -> { String }, optional: true, nullable: false + field :syntax, -> { String }, optional: true, nullable: false + field :url_lifetime_in_seconds, -> { Integer }, optional: true, nullable: false, api_name: "urlLifetimeInSeconds" + field :include_email_in_redirect, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "includeEmailInRedirect" + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_encryption_key_response_content.rb b/lib/auth0/types/get_encryption_key_response_content.rb index 426b832b..94bf0e2f 100644 --- a/lib/auth0/types/get_encryption_key_response_content.rb +++ b/lib/auth0/types/get_encryption_key_response_content.rb @@ -5,11 +5,17 @@ module Types # Encryption key class GetEncryptionKeyResponseContent < Internal::Types::Model field :kid, -> { String }, optional: false, nullable: false + field :type, -> { Auth0::Types::EncryptionKeyType }, optional: false, nullable: false + field :state, -> { Auth0::Types::EncryptionKeyState }, optional: false, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :updated_at, -> { String }, optional: false, nullable: false + field :parent_kid, -> { String }, optional: true, nullable: false + field :public_key, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_event_stream_delivery_history_response_content.rb b/lib/auth0/types/get_event_stream_delivery_history_response_content.rb index b5496b77..1ee1d6a7 100644 --- a/lib/auth0/types/get_event_stream_delivery_history_response_content.rb +++ b/lib/auth0/types/get_event_stream_delivery_history_response_content.rb @@ -5,10 +5,15 @@ module Types # Metadata about a specific attempt to deliver an event class GetEventStreamDeliveryHistoryResponseContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :event_stream_id, -> { String }, optional: false, nullable: false + field :status, -> { Auth0::Types::EventStreamDeliveryStatusEnum }, optional: false, nullable: false + field :event_type, -> { Auth0::Types::EventStreamDeliveryEventTypeEnum }, optional: false, nullable: false + field :attempts, -> { Internal::Types::Array[Auth0::Types::EventStreamDeliveryAttempt] }, optional: false, nullable: false + field :event, -> { Auth0::Types::EventStreamCloudEvent }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_event_stream_response_content.rb b/lib/auth0/types/get_event_stream_response_content.rb index 6d819750..95185605 100644 --- a/lib/auth0/types/get_event_stream_response_content.rb +++ b/lib/auth0/types/get_event_stream_response_content.rb @@ -6,7 +6,9 @@ class GetEventStreamResponseContent < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::EventStreamWebhookResponseContent } + member -> { Auth0::Types::EventStreamEventBridgeResponseContent } + member -> { Auth0::Types::EventStreamActionResponseContent } end end diff --git a/lib/auth0/types/get_flow_execution_response_content.rb b/lib/auth0/types/get_flow_execution_response_content.rb index 607b56c6..63de8873 100644 --- a/lib/auth0/types/get_flow_execution_response_content.rb +++ b/lib/auth0/types/get_flow_execution_response_content.rb @@ -4,13 +4,21 @@ module Auth0 module Types class GetFlowExecutionResponseContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :trace_id, -> { String }, optional: false, nullable: false + field :journey_id, -> { String }, optional: true, nullable: false + field :status, -> { String }, optional: false, nullable: false + field :debug, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :updated_at, -> { String }, optional: false, nullable: false + field :started_at, -> { String }, optional: true, nullable: false + field :ended_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_flow_response_content.rb b/lib/auth0/types/get_flow_response_content.rb index 7b8e5e9a..8e1f9870 100644 --- a/lib/auth0/types/get_flow_response_content.rb +++ b/lib/auth0/types/get_flow_response_content.rb @@ -4,10 +4,15 @@ module Auth0 module Types class GetFlowResponseContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: false, nullable: false + field :actions, -> { Internal::Types::Array[Auth0::Types::FlowAction] }, optional: true, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :updated_at, -> { String }, optional: false, nullable: false + field :executed_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_flows_vault_connection_response_content.rb b/lib/auth0/types/get_flows_vault_connection_response_content.rb index 1967f022..d21caa89 100644 --- a/lib/auth0/types/get_flows_vault_connection_response_content.rb +++ b/lib/auth0/types/get_flows_vault_connection_response_content.rb @@ -4,14 +4,23 @@ module Auth0 module Types class GetFlowsVaultConnectionResponseContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :app_id, -> { String }, optional: false, nullable: false + field :environment, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: false, nullable: false + field :account_name, -> { String }, optional: true, nullable: false + field :ready, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :updated_at, -> { String }, optional: false, nullable: false + field :refreshed_at, -> { String }, optional: true, nullable: false + field :fingerprint, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/get_form_response_content.rb b/lib/auth0/types/get_form_response_content.rb index 07089524..fab69b5a 100644 --- a/lib/auth0/types/get_form_response_content.rb +++ b/lib/auth0/types/get_form_response_content.rb @@ -4,17 +4,29 @@ module Auth0 module Types class GetFormResponseContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: false, nullable: false + field :messages, -> { Auth0::Types::FormMessages }, optional: true, nullable: false + field :languages, -> { Auth0::Types::FormLanguages }, optional: true, nullable: false + field :translations, -> { Internal::Types::Hash[String, Internal::Types::Hash[String, Object]] }, optional: true, nullable: false + field :nodes, -> { Internal::Types::Array[Auth0::Types::FormNode] }, optional: true, nullable: false + field :start, -> { Auth0::Types::FormStartNode }, optional: true, nullable: false + field :ending, -> { Auth0::Types::FormEndingNode }, optional: true, nullable: false + field :style, -> { Auth0::Types::FormStyle }, optional: true, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :updated_at, -> { String }, optional: false, nullable: false + field :embedded_at, -> { String }, optional: true, nullable: false + field :submitted_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_group_members_response_content.rb b/lib/auth0/types/get_group_members_response_content.rb index 4cc8027e..62f39427 100644 --- a/lib/auth0/types/get_group_members_response_content.rb +++ b/lib/auth0/types/get_group_members_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class GetGroupMembersResponseContent < Internal::Types::Model field :members, -> { Internal::Types::Array[Auth0::Types::GroupMember] }, optional: false, nullable: false + field :next_, -> { String }, optional: true, nullable: false, api_name: "next" end end diff --git a/lib/auth0/types/get_group_response_content.rb b/lib/auth0/types/get_group_response_content.rb index cbd12839..b0ff1f7a 100644 --- a/lib/auth0/types/get_group_response_content.rb +++ b/lib/auth0/types/get_group_response_content.rb @@ -5,11 +5,17 @@ module Types # Represents the metadata of a group. Member lists are retrieved via a separate endpoint. class GetGroupResponseContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: false, nullable: false + field :external_id, -> { String }, optional: true, nullable: false + field :connection_id, -> { String }, optional: true, nullable: false + field :tenant_name, -> { String }, optional: false, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :updated_at, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/get_guardian_enrollment_response_content.rb b/lib/auth0/types/get_guardian_enrollment_response_content.rb index c278b64d..cdc67626 100644 --- a/lib/auth0/types/get_guardian_enrollment_response_content.rb +++ b/lib/auth0/types/get_guardian_enrollment_response_content.rb @@ -4,11 +4,17 @@ module Auth0 module Types class GetGuardianEnrollmentResponseContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :status, -> { Auth0::Types::GuardianEnrollmentStatus }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :identifier, -> { String }, optional: true, nullable: false + field :phone_number, -> { String }, optional: true, nullable: false + field :enrolled_at, -> { String }, optional: true, nullable: false + field :last_auth, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_guardian_factor_duo_settings_response_content.rb b/lib/auth0/types/get_guardian_factor_duo_settings_response_content.rb index e529576f..560bfaca 100644 --- a/lib/auth0/types/get_guardian_factor_duo_settings_response_content.rb +++ b/lib/auth0/types/get_guardian_factor_duo_settings_response_content.rb @@ -4,7 +4,9 @@ module Auth0 module Types class GetGuardianFactorDuoSettingsResponseContent < Internal::Types::Model field :ikey, -> { String }, optional: true, nullable: false + field :skey, -> { String }, optional: true, nullable: false + field :host, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_guardian_factor_phone_templates_response_content.rb b/lib/auth0/types/get_guardian_factor_phone_templates_response_content.rb index 45a13587..666639b8 100644 --- a/lib/auth0/types/get_guardian_factor_phone_templates_response_content.rb +++ b/lib/auth0/types/get_guardian_factor_phone_templates_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class GetGuardianFactorPhoneTemplatesResponseContent < Internal::Types::Model field :enrollment_message, -> { String }, optional: false, nullable: false + field :verification_message, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/get_guardian_factor_sms_templates_response_content.rb b/lib/auth0/types/get_guardian_factor_sms_templates_response_content.rb index c96db648..e1ae619b 100644 --- a/lib/auth0/types/get_guardian_factor_sms_templates_response_content.rb +++ b/lib/auth0/types/get_guardian_factor_sms_templates_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class GetGuardianFactorSmsTemplatesResponseContent < Internal::Types::Model field :enrollment_message, -> { String }, optional: false, nullable: false + field :verification_message, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/get_guardian_factors_provider_apns_response_content.rb b/lib/auth0/types/get_guardian_factors_provider_apns_response_content.rb index f8096669..caa3673e 100644 --- a/lib/auth0/types/get_guardian_factors_provider_apns_response_content.rb +++ b/lib/auth0/types/get_guardian_factors_provider_apns_response_content.rb @@ -4,7 +4,9 @@ module Auth0 module Types class GetGuardianFactorsProviderApnsResponseContent < Internal::Types::Model field :bundle_id, -> { String }, optional: true, nullable: false + field :sandbox, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_guardian_factors_provider_phone_twilio_response_content.rb b/lib/auth0/types/get_guardian_factors_provider_phone_twilio_response_content.rb index 716f0b39..85861b8f 100644 --- a/lib/auth0/types/get_guardian_factors_provider_phone_twilio_response_content.rb +++ b/lib/auth0/types/get_guardian_factors_provider_phone_twilio_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class GetGuardianFactorsProviderPhoneTwilioResponseContent < Internal::Types::Model field :from, -> { String }, optional: true, nullable: false + field :messaging_service_sid, -> { String }, optional: true, nullable: false + field :auth_token, -> { String }, optional: true, nullable: false + field :sid, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_guardian_factors_provider_sms_twilio_response_content.rb b/lib/auth0/types/get_guardian_factors_provider_sms_twilio_response_content.rb index 568ca6ec..063e9301 100644 --- a/lib/auth0/types/get_guardian_factors_provider_sms_twilio_response_content.rb +++ b/lib/auth0/types/get_guardian_factors_provider_sms_twilio_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class GetGuardianFactorsProviderSmsTwilioResponseContent < Internal::Types::Model field :from, -> { String }, optional: true, nullable: false + field :messaging_service_sid, -> { String }, optional: true, nullable: false + field :auth_token, -> { String }, optional: true, nullable: false + field :sid, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_guardian_factors_provider_sns_response_content.rb b/lib/auth0/types/get_guardian_factors_provider_sns_response_content.rb index 16b4d569..20469c37 100644 --- a/lib/auth0/types/get_guardian_factors_provider_sns_response_content.rb +++ b/lib/auth0/types/get_guardian_factors_provider_sns_response_content.rb @@ -4,9 +4,13 @@ module Auth0 module Types class GetGuardianFactorsProviderSnsResponseContent < Internal::Types::Model field :aws_access_key_id, -> { String }, optional: true, nullable: false + field :aws_secret_access_key, -> { String }, optional: true, nullable: false + field :aws_region, -> { String }, optional: true, nullable: false + field :sns_apns_platform_application_arn, -> { String }, optional: true, nullable: false + field :sns_gcm_platform_application_arn, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_hook_response_content.rb b/lib/auth0/types/get_hook_response_content.rb index d0b559ee..5fe58d0d 100644 --- a/lib/auth0/types/get_hook_response_content.rb +++ b/lib/auth0/types/get_hook_response_content.rb @@ -4,10 +4,15 @@ module Auth0 module Types class GetHookResponseContent < Internal::Types::Model field :trigger_id, -> { String }, optional: true, nullable: false, api_name: "triggerId" + field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :script, -> { String }, optional: true, nullable: false + field :dependencies, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_job_error_response_content.rb b/lib/auth0/types/get_job_error_response_content.rb index b7b73a9a..f16fd92c 100644 --- a/lib/auth0/types/get_job_error_response_content.rb +++ b/lib/auth0/types/get_job_error_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class GetJobErrorResponseContent < Internal::Types::Model field :user, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :errors, -> { Internal::Types::Array[Auth0::Types::GetJobImportUserError] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_job_generic_error_response_content.rb b/lib/auth0/types/get_job_generic_error_response_content.rb index bcb1c942..c9d78f43 100644 --- a/lib/auth0/types/get_job_generic_error_response_content.rb +++ b/lib/auth0/types/get_job_generic_error_response_content.rb @@ -4,10 +4,15 @@ module Auth0 module Types class GetJobGenericErrorResponseContent < Internal::Types::Model field :status, -> { String }, optional: false, nullable: false + field :type, -> { String }, optional: false, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :id, -> { String }, optional: false, nullable: false + field :connection_id, -> { String }, optional: true, nullable: false + field :status_details, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_job_import_user_error.rb b/lib/auth0/types/get_job_import_user_error.rb index c3073f41..ec7f9e10 100644 --- a/lib/auth0/types/get_job_import_user_error.rb +++ b/lib/auth0/types/get_job_import_user_error.rb @@ -4,7 +4,9 @@ module Auth0 module Types class GetJobImportUserError < Internal::Types::Model field :code, -> { String }, optional: true, nullable: false + field :message, -> { String }, optional: true, nullable: false + field :path, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_job_response_content.rb b/lib/auth0/types/get_job_response_content.rb index 72a5675a..c82dda19 100644 --- a/lib/auth0/types/get_job_response_content.rb +++ b/lib/auth0/types/get_job_response_content.rb @@ -4,15 +4,25 @@ module Auth0 module Types class GetJobResponseContent < Internal::Types::Model field :status, -> { String }, optional: false, nullable: false + field :type, -> { String }, optional: false, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :id, -> { String }, optional: false, nullable: false + field :connection_id, -> { String }, optional: true, nullable: false + field :location, -> { String }, optional: true, nullable: false + field :percentage_done, -> { Integer }, optional: true, nullable: false + field :time_left_seconds, -> { Integer }, optional: true, nullable: false + field :format, -> { Auth0::Types::JobFileFormatEnum }, optional: true, nullable: false + field :status_details, -> { String }, optional: true, nullable: false + field :summary, -> { Auth0::Types::GetJobSummary }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_job_summary.rb b/lib/auth0/types/get_job_summary.rb index 9a46ffd6..8aff08a6 100644 --- a/lib/auth0/types/get_job_summary.rb +++ b/lib/auth0/types/get_job_summary.rb @@ -5,8 +5,11 @@ module Types # Job execution summary. class GetJobSummary < Internal::Types::Model field :failed, -> { Integer }, optional: true, nullable: false + field :updated, -> { Integer }, optional: true, nullable: false + field :inserted, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_log_response_content.rb b/lib/auth0/types/get_log_response_content.rb index 98cae958..7c86c3dc 100644 --- a/lib/auth0/types/get_log_response_content.rb +++ b/lib/auth0/types/get_log_response_content.rb @@ -4,25 +4,45 @@ module Auth0 module Types class GetLogResponseContent < Internal::Types::Model field :date, -> { Auth0::Types::LogDate }, optional: true, nullable: false + field :type, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false + field :connection, -> { String }, optional: true, nullable: false + field :connection_id, -> { String }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false + field :client_name, -> { String }, optional: true, nullable: false + field :ip, -> { String }, optional: true, nullable: false + field :hostname, -> { String }, optional: true, nullable: false + field :user_id, -> { String }, optional: true, nullable: false + field :user_name, -> { String }, optional: true, nullable: false + field :audience, -> { String }, optional: true, nullable: false + field :scope, -> { String }, optional: true, nullable: false + field :strategy, -> { String }, optional: true, nullable: false + field :strategy_type, -> { String }, optional: true, nullable: false + field :log_id, -> { String }, optional: true, nullable: false + field :is_mobile, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isMobile" + field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :user_agent, -> { String }, optional: true, nullable: false + field :security_context, -> { Auth0::Types::LogSecurityContext }, optional: true, nullable: false + field :location_info, -> { Auth0::Types::LogLocationInfo }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_log_stream_response_content.rb b/lib/auth0/types/get_log_stream_response_content.rb index 96ed13b9..5a68d2b3 100644 --- a/lib/auth0/types/get_log_stream_response_content.rb +++ b/lib/auth0/types/get_log_stream_response_content.rb @@ -6,12 +6,19 @@ class GetLogStreamResponseContent < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::LogStreamHTTPResponseSchema } + member -> { Auth0::Types::LogStreamEventBridgeResponseSchema } + member -> { Auth0::Types::LogStreamEventGridResponseSchema } + member -> { Auth0::Types::LogStreamDatadogResponseSchema } + member -> { Auth0::Types::LogStreamSplunkResponseSchema } + member -> { Auth0::Types::LogStreamSumoResponseSchema } + member -> { Auth0::Types::LogStreamSegmentResponseSchema } + member -> { Auth0::Types::LogStreamMixpanelResponseSchema } end end diff --git a/lib/auth0/types/get_network_acls_response_content.rb b/lib/auth0/types/get_network_acls_response_content.rb index 79cde054..b1f0c93c 100644 --- a/lib/auth0/types/get_network_acls_response_content.rb +++ b/lib/auth0/types/get_network_acls_response_content.rb @@ -4,11 +4,17 @@ module Auth0 module Types class GetNetworkACLsResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false + field :active, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :priority, -> { Integer }, optional: true, nullable: false + field :rule, -> { Auth0::Types::NetworkACLRule }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_organization_all_connection_response_content.rb b/lib/auth0/types/get_organization_all_connection_response_content.rb index 2dd0761f..48d90511 100644 --- a/lib/auth0/types/get_organization_all_connection_response_content.rb +++ b/lib/auth0/types/get_organization_all_connection_response_content.rb @@ -4,12 +4,19 @@ module Auth0 module Types class GetOrganizationAllConnectionResponseContent < Internal::Types::Model field :organization_connection_name, -> { String }, optional: true, nullable: false + field :assign_membership_on_login, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :is_signup_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :organization_access_level, -> { Auth0::Types::OrganizationAccessLevelEnum }, optional: true, nullable: false + field :is_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :connection_id, -> { String }, optional: false, nullable: false + field :connection, -> { Auth0::Types::OrganizationConnectionInformation }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_organization_by_name_response_content.rb b/lib/auth0/types/get_organization_by_name_response_content.rb index 6868e37e..cf022bb1 100644 --- a/lib/auth0/types/get_organization_by_name_response_content.rb +++ b/lib/auth0/types/get_organization_by_name_response_content.rb @@ -4,10 +4,15 @@ module Auth0 module Types class GetOrganizationByNameResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :display_name, -> { String }, optional: true, nullable: false + field :branding, -> { Auth0::Types::OrganizationBranding }, optional: true, nullable: false + field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false + field :token_quota, -> { Auth0::Types::TokenQuota }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_organization_connection_response_content.rb b/lib/auth0/types/get_organization_connection_response_content.rb index e5529dbb..d90da77e 100644 --- a/lib/auth0/types/get_organization_connection_response_content.rb +++ b/lib/auth0/types/get_organization_connection_response_content.rb @@ -4,9 +4,13 @@ module Auth0 module Types class GetOrganizationConnectionResponseContent < Internal::Types::Model field :connection_id, -> { String }, optional: true, nullable: false + field :assign_membership_on_login, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :is_signup_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :connection, -> { Auth0::Types::OrganizationConnectionInformation }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_organization_discovery_domain_by_name_response_content.rb b/lib/auth0/types/get_organization_discovery_domain_by_name_response_content.rb index 393a42c4..a69dd9c8 100644 --- a/lib/auth0/types/get_organization_discovery_domain_by_name_response_content.rb +++ b/lib/auth0/types/get_organization_discovery_domain_by_name_response_content.rb @@ -4,10 +4,15 @@ module Auth0 module Types class GetOrganizationDiscoveryDomainByNameResponseContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :domain, -> { String }, optional: false, nullable: false + field :status, -> { Auth0::Types::OrganizationDiscoveryDomainStatus }, optional: false, nullable: false + field :use_for_organization_discovery, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :verification_txt, -> { String }, optional: false, nullable: false + field :verification_host, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/get_organization_discovery_domain_response_content.rb b/lib/auth0/types/get_organization_discovery_domain_response_content.rb index daae0adc..a1ef8baf 100644 --- a/lib/auth0/types/get_organization_discovery_domain_response_content.rb +++ b/lib/auth0/types/get_organization_discovery_domain_response_content.rb @@ -4,10 +4,15 @@ module Auth0 module Types class GetOrganizationDiscoveryDomainResponseContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :domain, -> { String }, optional: false, nullable: false + field :status, -> { Auth0::Types::OrganizationDiscoveryDomainStatus }, optional: false, nullable: false + field :use_for_organization_discovery, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :verification_txt, -> { String }, optional: false, nullable: false + field :verification_host, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/get_organization_invitation_response_content.rb b/lib/auth0/types/get_organization_invitation_response_content.rb index 37b705e1..76bbc647 100644 --- a/lib/auth0/types/get_organization_invitation_response_content.rb +++ b/lib/auth0/types/get_organization_invitation_response_content.rb @@ -4,17 +4,29 @@ module Auth0 module Types class GetOrganizationInvitationResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :organization_id, -> { String }, optional: true, nullable: false + field :inviter, -> { Auth0::Types::OrganizationInvitationInviter }, optional: true, nullable: false + field :invitee, -> { Auth0::Types::OrganizationInvitationInvitee }, optional: true, nullable: false + field :invitation_url, -> { String }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :expires_at, -> { String }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false + field :connection_id, -> { String }, optional: true, nullable: false + field :app_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :user_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :roles, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :ticket_id, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_organization_response_content.rb b/lib/auth0/types/get_organization_response_content.rb index c7fdbfbc..7050f5d9 100644 --- a/lib/auth0/types/get_organization_response_content.rb +++ b/lib/auth0/types/get_organization_response_content.rb @@ -4,10 +4,15 @@ module Auth0 module Types class GetOrganizationResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :display_name, -> { String }, optional: true, nullable: false + field :branding, -> { Auth0::Types::OrganizationBranding }, optional: true, nullable: false + field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false + field :token_quota, -> { Auth0::Types::TokenQuota }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_phone_template_response_content.rb b/lib/auth0/types/get_phone_template_response_content.rb index a8cb1809..cc9b6d35 100644 --- a/lib/auth0/types/get_phone_template_response_content.rb +++ b/lib/auth0/types/get_phone_template_response_content.rb @@ -4,11 +4,17 @@ module Auth0 module Types class GetPhoneTemplateResponseContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :channel, -> { String }, optional: true, nullable: false + field :customizable, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :tenant, -> { String }, optional: true, nullable: false + field :content, -> { Auth0::Types::PhoneTemplateContent }, optional: false, nullable: false + field :type, -> { Auth0::Types::PhoneTemplateNotificationTypeEnum }, optional: false, nullable: false + field :disabled, -> { Internal::Types::Boolean }, optional: false, nullable: false end end diff --git a/lib/auth0/types/get_rate_limit_policy_response_content.rb b/lib/auth0/types/get_rate_limit_policy_response_content.rb new file mode 100644 index 00000000..560e42d8 --- /dev/null +++ b/lib/auth0/types/get_rate_limit_policy_response_content.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class GetRateLimitPolicyResponseContent < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :resource, -> { Auth0::Types::RateLimitPolicyResourceEnum }, optional: false, nullable: false + + field :consumer, -> { Auth0::Types::RateLimitPolicyConsumerEnum }, optional: false, nullable: false + + field :consumer_selector, -> { String }, optional: false, nullable: false + + field :configuration, -> { Auth0::Types::RateLimitPolicyConfiguration }, optional: false, nullable: false + + field :created_at, -> { String }, optional: true, nullable: false + + field :updated_at, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/get_refresh_token_response_content.rb b/lib/auth0/types/get_refresh_token_response_content.rb index d025b16e..03d8f288 100644 --- a/lib/auth0/types/get_refresh_token_response_content.rb +++ b/lib/auth0/types/get_refresh_token_response_content.rb @@ -4,16 +4,27 @@ module Auth0 module Types class GetRefreshTokenResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :user_id, -> { String }, optional: true, nullable: false + field :created_at, -> { Auth0::Types::RefreshTokenDate }, optional: true, nullable: false + field :idle_expires_at, -> { Auth0::Types::RefreshTokenDate }, optional: true, nullable: false + field :expires_at, -> { Auth0::Types::RefreshTokenDate }, optional: true, nullable: false + field :device, -> { Auth0::Types::RefreshTokenDevice }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false + field :session_id, -> { String }, optional: true, nullable: false + field :rotating, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :resource_servers, -> { Internal::Types::Array[Auth0::Types::RefreshTokenResourceServer] }, optional: true, nullable: false + field :refresh_token_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :last_exchanged_at, -> { Auth0::Types::RefreshTokenDate }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_refresh_tokens_paginated_response_content.rb b/lib/auth0/types/get_refresh_tokens_paginated_response_content.rb index 571e86d8..649a6244 100644 --- a/lib/auth0/types/get_refresh_tokens_paginated_response_content.rb +++ b/lib/auth0/types/get_refresh_tokens_paginated_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class GetRefreshTokensPaginatedResponseContent < Internal::Types::Model field :refresh_tokens, -> { Internal::Types::Array[Auth0::Types::RefreshTokenResponseContent] }, optional: true, nullable: false + field :next_, -> { String }, optional: true, nullable: false, api_name: "next" end end diff --git a/lib/auth0/types/get_resource_server_response_content.rb b/lib/auth0/types/get_resource_server_response_content.rb index 162dfff0..019e2c13 100644 --- a/lib/auth0/types/get_resource_server_response_content.rb +++ b/lib/auth0/types/get_resource_server_response_content.rb @@ -4,24 +4,47 @@ module Auth0 module Types class GetResourceServerResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :is_system, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :identifier, -> { String }, optional: true, nullable: false + field :scopes, -> { Internal::Types::Array[Auth0::Types::ResourceServerScope] }, optional: true, nullable: false + field :signing_alg, -> { Auth0::Types::SigningAlgorithmEnum }, optional: true, nullable: false + field :signing_secret, -> { String }, optional: true, nullable: false + field :allow_offline_access, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :allow_online_access, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :allow_online_access_with_ephemeral_sessions, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :skip_consent_for_verifiable_first_party_clients, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :token_lifetime, -> { Integer }, optional: true, nullable: false + field :token_lifetime_for_web, -> { Integer }, optional: true, nullable: false + field :enforce_policies, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :token_dialect, -> { Auth0::Types::ResourceServerTokenDialectResponseEnum }, optional: true, nullable: false + field :token_encryption, -> { Auth0::Types::ResourceServerTokenEncryption }, optional: true, nullable: false + field :consent_policy, -> { Auth0::Types::ResourceServerConsentPolicyEnum }, optional: true, nullable: false + field :authorization_details, -> { Internal::Types::Array[Object] }, optional: true, nullable: false + field :proof_of_possession, -> { Auth0::Types::ResourceServerProofOfPossession }, optional: true, nullable: false + field :subject_type_authorization, -> { Auth0::Types::ResourceServerSubjectTypeAuthorization }, optional: true, nullable: false + + field :authorization_policy, -> { Auth0::Types::ResourceServerAuthorizationPolicy }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_role_response_content.rb b/lib/auth0/types/get_role_response_content.rb index e269d9b2..041d5b89 100644 --- a/lib/auth0/types/get_role_response_content.rb +++ b/lib/auth0/types/get_role_response_content.rb @@ -4,7 +4,9 @@ module Auth0 module Types class GetRoleResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_rule_response_content.rb b/lib/auth0/types/get_rule_response_content.rb index 4fcd12c2..0c3d83e2 100644 --- a/lib/auth0/types/get_rule_response_content.rb +++ b/lib/auth0/types/get_rule_response_content.rb @@ -4,10 +4,15 @@ module Auth0 module Types class GetRuleResponseContent < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :id, -> { String }, optional: true, nullable: false + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :script, -> { String }, optional: true, nullable: false + field :order, -> { Integer }, optional: true, nullable: false + field :stage, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_scim_configuration_response_content.rb b/lib/auth0/types/get_scim_configuration_response_content.rb index 20328358..981a73bb 100644 --- a/lib/auth0/types/get_scim_configuration_response_content.rb +++ b/lib/auth0/types/get_scim_configuration_response_content.rb @@ -4,12 +4,19 @@ module Auth0 module Types class GetSCIMConfigurationResponseContent < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :connection_name, -> { String }, optional: false, nullable: false + field :strategy, -> { String }, optional: false, nullable: false + field :tenant_name, -> { String }, optional: false, nullable: false + field :user_id_attribute, -> { String }, optional: false, nullable: false + field :mapping, -> { Internal::Types::Array[Auth0::Types::SCIMMappingItem] }, optional: false, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :updated_on, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/get_self_service_profile_response_content.rb b/lib/auth0/types/get_self_service_profile_response_content.rb index 6b07d410..52efe0a6 100644 --- a/lib/auth0/types/get_self_service_profile_response_content.rb +++ b/lib/auth0/types/get_self_service_profile_response_content.rb @@ -4,13 +4,21 @@ module Auth0 module Types class GetSelfServiceProfileResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false + field :user_attributes, -> { Internal::Types::Array[Auth0::Types::SelfServiceProfileUserAttribute] }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false + field :branding, -> { Auth0::Types::SelfServiceProfileBrandingProperties }, optional: true, nullable: false + field :allowed_strategies, -> { Internal::Types::Array[Auth0::Types::SelfServiceProfileAllowedStrategyEnum] }, optional: true, nullable: false + field :user_attribute_profile_id, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_session_response_content.rb b/lib/auth0/types/get_session_response_content.rb index d3d4088d..88f3ad96 100644 --- a/lib/auth0/types/get_session_response_content.rb +++ b/lib/auth0/types/get_session_response_content.rb @@ -4,17 +4,29 @@ module Auth0 module Types class GetSessionResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :user_id, -> { String }, optional: true, nullable: false + field :created_at, -> { Auth0::Types::SessionDate }, optional: true, nullable: false + field :updated_at, -> { Auth0::Types::SessionDate }, optional: true, nullable: false + field :authenticated_at, -> { Auth0::Types::SessionDate }, optional: true, nullable: false + field :idle_expires_at, -> { Auth0::Types::SessionDate }, optional: true, nullable: false + field :expires_at, -> { Auth0::Types::SessionDate }, optional: true, nullable: false + field :last_interacted_at, -> { Auth0::Types::SessionDate }, optional: true, nullable: false + field :device, -> { Auth0::Types::SessionDeviceMetadata }, optional: true, nullable: false + field :clients, -> { Internal::Types::Array[Auth0::Types::SessionClientMetadata] }, optional: true, nullable: false + field :authentication, -> { Auth0::Types::SessionAuthenticationSignals }, optional: true, nullable: false + field :cookie, -> { Auth0::Types::SessionCookieMetadata }, optional: true, nullable: false + field :session_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_settings_response_content.rb b/lib/auth0/types/get_settings_response_content.rb index 24f74cb3..5ac29c22 100644 --- a/lib/auth0/types/get_settings_response_content.rb +++ b/lib/auth0/types/get_settings_response_content.rb @@ -4,7 +4,9 @@ module Auth0 module Types class GetSettingsResponseContent < Internal::Types::Model field :universal_login_experience, -> { Auth0::Types::UniversalLoginExperienceEnum }, optional: true, nullable: false + field :identifier_first, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :webauthn_platform_first_factor, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_signing_keys_response_content.rb b/lib/auth0/types/get_signing_keys_response_content.rb index ca79c8e9..857ab1ce 100644 --- a/lib/auth0/types/get_signing_keys_response_content.rb +++ b/lib/auth0/types/get_signing_keys_response_content.rb @@ -4,16 +4,27 @@ module Auth0 module Types class GetSigningKeysResponseContent < Internal::Types::Model field :kid, -> { String }, optional: false, nullable: false + field :cert, -> { String }, optional: false, nullable: false + field :pkcs7, -> { String }, optional: true, nullable: false + field :current, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :next_, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "next" + field :previous, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :current_since, -> { Auth0::Types::SigningKeysDate }, optional: true, nullable: false + field :current_until, -> { Auth0::Types::SigningKeysDate }, optional: true, nullable: false + field :fingerprint, -> { String }, optional: false, nullable: false + field :thumbprint, -> { String }, optional: false, nullable: false + field :revoked, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :revoked_at, -> { Auth0::Types::SigningKeysDate }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_suspicious_ip_throttling_settings_response_content.rb b/lib/auth0/types/get_suspicious_ip_throttling_settings_response_content.rb index 6aac25aa..70d9f6cb 100644 --- a/lib/auth0/types/get_suspicious_ip_throttling_settings_response_content.rb +++ b/lib/auth0/types/get_suspicious_ip_throttling_settings_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class GetSuspiciousIPThrottlingSettingsResponseContent < Internal::Types::Model field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :shields, -> { Internal::Types::Array[Auth0::Types::SuspiciousIPThrottlingShieldsEnum] }, optional: true, nullable: false + field :allowlist, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :stage, -> { Auth0::Types::SuspiciousIPThrottlingStage }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_tenant_settings_response_content.rb b/lib/auth0/types/get_tenant_settings_response_content.rb index ba21afbb..af213fcc 100644 --- a/lib/auth0/types/get_tenant_settings_response_content.rb +++ b/lib/auth0/types/get_tenant_settings_response_content.rb @@ -4,41 +4,77 @@ module Auth0 module Types class GetTenantSettingsResponseContent < Internal::Types::Model field :change_password, -> { Auth0::Types::TenantSettingsPasswordPage }, optional: true, nullable: false + field :guardian_mfa_page, -> { Auth0::Types::TenantSettingsGuardianPage }, optional: true, nullable: false + field :default_audience, -> { String }, optional: true, nullable: false + field :default_directory, -> { String }, optional: true, nullable: false + field :error_page, -> { Auth0::Types::TenantSettingsErrorPage }, optional: true, nullable: false + field :device_flow, -> { Auth0::Types::TenantSettingsDeviceFlow }, optional: true, nullable: false + field :default_token_quota, -> { Auth0::Types::DefaultTokenQuota }, optional: true, nullable: false + field :flags, -> { Auth0::Types::TenantSettingsFlags }, optional: true, nullable: false + field :friendly_name, -> { String }, optional: true, nullable: false + field :picture_url, -> { String }, optional: true, nullable: false + field :support_email, -> { String }, optional: true, nullable: false + field :support_url, -> { String }, optional: true, nullable: false + field :allowed_logout_urls, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :session_lifetime, -> { Integer }, optional: true, nullable: false + field :idle_session_lifetime, -> { Integer }, optional: true, nullable: false + field :ephemeral_session_lifetime, -> { Integer }, optional: true, nullable: false + field :idle_ephemeral_session_lifetime, -> { Integer }, optional: true, nullable: false + field :sandbox_version, -> { String }, optional: true, nullable: false + field :legacy_sandbox_version, -> { String }, optional: true, nullable: false + field :sandbox_versions_available, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :default_redirection_uri, -> { String }, optional: true, nullable: false + field :enabled_locales, -> { Internal::Types::Array[Auth0::Types::SupportedLocales] }, optional: true, nullable: false + field :session_cookie, -> { Auth0::Types::SessionCookieSchema }, optional: true, nullable: false + field :sessions, -> { Auth0::Types::TenantSettingsSessions }, optional: true, nullable: false + field :oidc_logout, -> { Auth0::Types::TenantOidcLogoutSettings }, optional: true, nullable: false + field :allow_organization_name_in_authentication_api, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :customize_mfa_in_postlogin_action, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :acr_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :mtls, -> { Auth0::Types::TenantSettingsMtls }, optional: true, nullable: false + field :pushed_authorization_requests_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :authorization_response_iss_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :skip_non_verifiable_callback_uri_confirmation_prompt, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :resource_parameter_profile, -> { Auth0::Types::TenantSettingsResourceParameterProfile }, optional: true, nullable: false + field :client_id_metadata_document_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :phone_consolidated_experience, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :enable_ai_guide, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :dynamic_client_registration_security_mode, -> { Auth0::Types::TenantSettingsDynamicClientRegistrationSecurityMode }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_token_exchange_profile_response_content.rb b/lib/auth0/types/get_token_exchange_profile_response_content.rb index 86106bed..242d732c 100644 --- a/lib/auth0/types/get_token_exchange_profile_response_content.rb +++ b/lib/auth0/types/get_token_exchange_profile_response_content.rb @@ -4,11 +4,17 @@ module Auth0 module Types class GetTokenExchangeProfileResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :subject_token_type, -> { String }, optional: true, nullable: false + field :action_id, -> { String }, optional: true, nullable: false + field :type, -> { Auth0::Types::TokenExchangeProfileTypeEnum }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_universal_login_template_response_content.rb b/lib/auth0/types/get_universal_login_template_response_content.rb index 17a85162..913ec825 100644 --- a/lib/auth0/types/get_universal_login_template_response_content.rb +++ b/lib/auth0/types/get_universal_login_template_response_content.rb @@ -6,6 +6,7 @@ class GetUniversalLoginTemplateResponseContent < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::GetUniversalLoginTemplate } + member -> { String } end end diff --git a/lib/auth0/types/get_user_attribute_profile_response_content.rb b/lib/auth0/types/get_user_attribute_profile_response_content.rb index 131b21f9..dd78043a 100644 --- a/lib/auth0/types/get_user_attribute_profile_response_content.rb +++ b/lib/auth0/types/get_user_attribute_profile_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class GetUserAttributeProfileResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :user_id, -> { Auth0::Types::UserAttributeProfileUserID }, optional: true, nullable: false + field :user_attributes, -> { Internal::Types::Hash[String, Auth0::Types::UserAttributeProfileUserAttributeAdditionalProperties] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_user_attribute_profile_template_response_content.rb b/lib/auth0/types/get_user_attribute_profile_template_response_content.rb index 72423a07..160dbe61 100644 --- a/lib/auth0/types/get_user_attribute_profile_template_response_content.rb +++ b/lib/auth0/types/get_user_attribute_profile_template_response_content.rb @@ -4,7 +4,9 @@ module Auth0 module Types class GetUserAttributeProfileTemplateResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :display_name, -> { String }, optional: true, nullable: false + field :template, -> { Auth0::Types::UserAttributeProfileTemplate }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_user_authentication_method_response_content.rb b/lib/auth0/types/get_user_authentication_method_response_content.rb index 97a7051c..097928e0 100644 --- a/lib/auth0/types/get_user_authentication_method_response_content.rb +++ b/lib/auth0/types/get_user_authentication_method_response_content.rb @@ -4,24 +4,47 @@ module Auth0 module Types class GetUserAuthenticationMethodResponseContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :type, -> { Auth0::Types::AuthenticationMethodTypeEnum }, optional: false, nullable: false + field :confirmed, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :authentication_methods, -> { Internal::Types::Array[Auth0::Types::UserAuthenticationMethodProperties] }, optional: true, nullable: false + field :preferred_authentication_method, -> { Auth0::Types::PreferredAuthenticationMethodEnum }, optional: true, nullable: false + field :link_id, -> { String }, optional: true, nullable: false + field :phone_number, -> { String }, optional: true, nullable: false + field :email, -> { String }, optional: true, nullable: false + field :key_id, -> { String }, optional: true, nullable: false + field :public_key, -> { String }, optional: true, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :enrolled_at, -> { String }, optional: true, nullable: false + field :last_auth_at, -> { String }, optional: true, nullable: false + field :credential_device_type, -> { String }, optional: true, nullable: false + field :credential_backed_up, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :identity_user_id, -> { String }, optional: true, nullable: false + field :user_agent, -> { String }, optional: true, nullable: false + + field :user_handle, -> { String }, optional: true, nullable: false + + field :transports, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :aaguid, -> { String }, optional: true, nullable: false + field :relying_party_identifier, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_user_groups_paginated_response_content.rb b/lib/auth0/types/get_user_groups_paginated_response_content.rb index a182c997..2582512c 100644 --- a/lib/auth0/types/get_user_groups_paginated_response_content.rb +++ b/lib/auth0/types/get_user_groups_paginated_response_content.rb @@ -4,9 +4,13 @@ module Auth0 module Types class GetUserGroupsPaginatedResponseContent < Internal::Types::Model field :groups, -> { Internal::Types::Array[Auth0::Types::UserGroupsResponseSchema] }, optional: false, nullable: false + field :next_, -> { String }, optional: true, nullable: false, api_name: "next" + field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_user_response_content.rb b/lib/auth0/types/get_user_response_content.rb index 1d364693..19c48e25 100644 --- a/lib/auth0/types/get_user_response_content.rb +++ b/lib/auth0/types/get_user_response_content.rb @@ -4,25 +4,49 @@ module Auth0 module Types class GetUserResponseContent < Internal::Types::Model field :user_id, -> { String }, optional: true, nullable: false + field :email, -> { String }, optional: true, nullable: false + field :email_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :username, -> { String }, optional: true, nullable: false + field :phone_number, -> { String }, optional: true, nullable: false + field :phone_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :created_at, -> { Auth0::Types::UserDateSchema }, optional: true, nullable: false + field :updated_at, -> { Auth0::Types::UserDateSchema }, optional: true, nullable: false + field :identities, -> { Internal::Types::Array[Auth0::Types::UserIdentitySchema] }, optional: true, nullable: false + field :app_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :user_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :picture, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :nickname, -> { String }, optional: true, nullable: false + field :multifactor, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :multifactor_last_modified, -> { Auth0::Types::UserDateSchema }, optional: true, nullable: false + field :last_ip, -> { String }, optional: true, nullable: false + field :last_login, -> { Auth0::Types::UserDateSchema }, optional: true, nullable: false + + field :last_password_reset, -> { Auth0::Types::UserDateSchema }, optional: true, nullable: false + field :logins_count, -> { Integer }, optional: true, nullable: false + field :blocked, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :given_name, -> { String }, optional: true, nullable: false + field :family_name, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/get_verifiable_credential_template_response_content.rb b/lib/auth0/types/get_verifiable_credential_template_response_content.rb index 638b0c52..13ecdad9 100644 --- a/lib/auth0/types/get_verifiable_credential_template_response_content.rb +++ b/lib/auth0/types/get_verifiable_credential_template_response_content.rb @@ -4,13 +4,21 @@ module Auth0 module Types class GetVerifiableCredentialTemplateResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :type, -> { String }, optional: true, nullable: false + field :dialect, -> { String }, optional: true, nullable: false + field :presentation, -> { Auth0::Types::MdlPresentationRequest }, optional: true, nullable: false + field :custom_certificate_authority, -> { String }, optional: true, nullable: false + field :well_known_trusted_issuers, -> { String }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/group.rb b/lib/auth0/types/group.rb index 3932f118..832337ce 100644 --- a/lib/auth0/types/group.rb +++ b/lib/auth0/types/group.rb @@ -5,11 +5,17 @@ module Types # Represents the metadata of a group. Member lists are retrieved via a separate endpoint. class Group < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :external_id, -> { String }, optional: true, nullable: false + field :connection_id, -> { String }, optional: true, nullable: false + field :tenant_name, -> { String }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/group_member.rb b/lib/auth0/types/group_member.rb index 23b99720..1b47a6c2 100644 --- a/lib/auth0/types/group_member.rb +++ b/lib/auth0/types/group_member.rb @@ -5,9 +5,13 @@ module Types # Represents the metadata of a group membership. class GroupMember < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :member_type, -> { Auth0::Types::GroupMemberTypeEnum }, optional: true, nullable: false + field :type, -> { Auth0::Types::GroupTypeEnum }, optional: true, nullable: false + field :connection_id, -> { String }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/guardian_factor.rb b/lib/auth0/types/guardian_factor.rb index a821acc1..d7831b18 100644 --- a/lib/auth0/types/guardian_factor.rb +++ b/lib/auth0/types/guardian_factor.rb @@ -4,7 +4,9 @@ module Auth0 module Types class GuardianFactor < Internal::Types::Model field :enabled, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :trial_expired, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :name, -> { Auth0::Types::GuardianFactorNameEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/types/hook.rb b/lib/auth0/types/hook.rb index 5d657fda..e2186dd6 100644 --- a/lib/auth0/types/hook.rb +++ b/lib/auth0/types/hook.rb @@ -4,10 +4,15 @@ module Auth0 module Types class Hook < Internal::Types::Model field :trigger_id, -> { String }, optional: true, nullable: false, api_name: "triggerId" + field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :script, -> { String }, optional: true, nullable: false + field :dependencies, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/http_custom_header.rb b/lib/auth0/types/http_custom_header.rb index 37f6d81b..f71e06a2 100644 --- a/lib/auth0/types/http_custom_header.rb +++ b/lib/auth0/types/http_custom_header.rb @@ -4,6 +4,7 @@ module Auth0 module Types class HTTPCustomHeader < Internal::Types::Model field :header, -> { String }, optional: true, nullable: false + field :value, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/identity.rb b/lib/auth0/types/identity.rb index ee03b3ac..3302f823 100644 --- a/lib/auth0/types/identity.rb +++ b/lib/auth0/types/identity.rb @@ -6,7 +6,9 @@ module Types # verify secondary identities. class Identity < Internal::Types::Model field :user_id, -> { String }, optional: false, nullable: false + field :provider, -> { Auth0::Types::IdentityProviderEnum }, optional: false, nullable: false + field :connection_id, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/import_encryption_key_response_content.rb b/lib/auth0/types/import_encryption_key_response_content.rb index 2f542a69..9e6695aa 100644 --- a/lib/auth0/types/import_encryption_key_response_content.rb +++ b/lib/auth0/types/import_encryption_key_response_content.rb @@ -5,11 +5,17 @@ module Types # Encryption key class ImportEncryptionKeyResponseContent < Internal::Types::Model field :kid, -> { String }, optional: false, nullable: false + field :type, -> { Auth0::Types::EncryptionKeyType }, optional: false, nullable: false + field :state, -> { Auth0::Types::EncryptionKeyState }, optional: false, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :updated_at, -> { String }, optional: false, nullable: false + field :parent_kid, -> { String }, optional: true, nullable: false + field :public_key, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/integration.rb b/lib/auth0/types/integration.rb index f0c30a70..c72c2e78 100644 --- a/lib/auth0/types/integration.rb +++ b/lib/auth0/types/integration.rb @@ -6,19 +6,33 @@ module Types # publish. A partner may create one or many of these integrations. class Integration < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :catalog_id, -> { String }, optional: true, nullable: false + field :url_slug, -> { String }, optional: true, nullable: false + field :partner_id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false + field :short_description, -> { String }, optional: true, nullable: false + field :logo, -> { String }, optional: true, nullable: false + field :feature_type, -> { Auth0::Types::IntegrationFeatureTypeEnum }, optional: true, nullable: false + field :terms_of_use_url, -> { String }, optional: true, nullable: false + field :privacy_policy_url, -> { String }, optional: true, nullable: false + field :public_support_link, -> { String }, optional: true, nullable: false + field :current_release, -> { Auth0::Types::IntegrationRelease }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/integration_release.rb b/lib/auth0/types/integration_release.rb index fd8ab840..1f6a0575 100644 --- a/lib/auth0/types/integration_release.rb +++ b/lib/auth0/types/integration_release.rb @@ -4,9 +4,13 @@ module Auth0 module Types class IntegrationRelease < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :trigger, -> { Auth0::Types::ActionTrigger }, optional: true, nullable: false + field :semver, -> { Auth0::Types::IntegrationSemVer }, optional: true, nullable: false + field :required_secrets, -> { Internal::Types::Array[Auth0::Types::IntegrationRequiredParam] }, optional: true, nullable: false + field :required_configuration, -> { Internal::Types::Array[Auth0::Types::IntegrationRequiredParam] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/integration_required_param.rb b/lib/auth0/types/integration_required_param.rb index d002d1da..ccc4c9cf 100644 --- a/lib/auth0/types/integration_required_param.rb +++ b/lib/auth0/types/integration_required_param.rb @@ -10,13 +10,21 @@ module Types # actions. class IntegrationRequiredParam < Internal::Types::Model field :type, -> { Auth0::Types::IntegrationRequiredParamTypeEnum }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :required, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :optional, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :label, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false + field :default_value, -> { String }, optional: true, nullable: false + field :placeholder, -> { String }, optional: true, nullable: false + field :options, -> { Internal::Types::Array[Auth0::Types::IntegrationRequiredParamOption] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/integration_required_param_option.rb b/lib/auth0/types/integration_required_param_option.rb index d70858e7..27bfe7f9 100644 --- a/lib/auth0/types/integration_required_param_option.rb +++ b/lib/auth0/types/integration_required_param_option.rb @@ -4,6 +4,7 @@ module Auth0 module Types class IntegrationRequiredParamOption < Internal::Types::Model field :value, -> { String }, optional: true, nullable: false + field :label, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/integration_sem_ver.rb b/lib/auth0/types/integration_sem_ver.rb index c02ae14b..045bbd44 100644 --- a/lib/auth0/types/integration_sem_ver.rb +++ b/lib/auth0/types/integration_sem_ver.rb @@ -5,6 +5,7 @@ module Types # Semver denotes the major.minor version of an integration release class IntegrationSemVer < Internal::Types::Model field :major, -> { Integer }, optional: true, nullable: false + field :minor, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_action_bindings_paginated_response_content.rb b/lib/auth0/types/list_action_bindings_paginated_response_content.rb index 3fb1ac80..fd2c1b20 100644 --- a/lib/auth0/types/list_action_bindings_paginated_response_content.rb +++ b/lib/auth0/types/list_action_bindings_paginated_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ListActionBindingsPaginatedResponseContent < Internal::Types::Model field :total, -> { Integer }, optional: true, nullable: false + field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :bindings, -> { Internal::Types::Array[Auth0::Types::ActionBinding] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_action_versions_paginated_response_content.rb b/lib/auth0/types/list_action_versions_paginated_response_content.rb index 1c37978b..49630f8f 100644 --- a/lib/auth0/types/list_action_versions_paginated_response_content.rb +++ b/lib/auth0/types/list_action_versions_paginated_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ListActionVersionsPaginatedResponseContent < Internal::Types::Model field :total, -> { Integer }, optional: true, nullable: false + field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :versions, -> { Internal::Types::Array[Auth0::Types::ActionVersion] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_actions_paginated_response_content.rb b/lib/auth0/types/list_actions_paginated_response_content.rb index 0498829c..b60db5dc 100644 --- a/lib/auth0/types/list_actions_paginated_response_content.rb +++ b/lib/auth0/types/list_actions_paginated_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ListActionsPaginatedResponseContent < Internal::Types::Model field :total, -> { Integer }, optional: true, nullable: false + field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :actions, -> { Internal::Types::Array[Auth0::Types::Action] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_aculs_offset_paginated_response_content.rb b/lib/auth0/types/list_aculs_offset_paginated_response_content.rb index 63296d23..6c7a93e9 100644 --- a/lib/auth0/types/list_aculs_offset_paginated_response_content.rb +++ b/lib/auth0/types/list_aculs_offset_paginated_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ListAculsOffsetPaginatedResponseContent < Internal::Types::Model field :configs, -> { Internal::Types::Array[Auth0::Types::ListAculsResponseContentItem] }, optional: true, nullable: false + field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_aculs_response_content_item.rb b/lib/auth0/types/list_aculs_response_content_item.rb index 1f577e67..af8ad6eb 100644 --- a/lib/auth0/types/list_aculs_response_content_item.rb +++ b/lib/auth0/types/list_aculs_response_content_item.rb @@ -4,13 +4,21 @@ module Auth0 module Types class ListAculsResponseContentItem < Internal::Types::Model field :tenant, -> { String }, optional: true, nullable: false + field :prompt, -> { String }, optional: true, nullable: false + field :screen, -> { String }, optional: true, nullable: false + field :rendering_mode, -> { Auth0::Types::AculRenderingModeEnum }, optional: true, nullable: false + field :context_configuration, -> { Internal::Types::Array[Auth0::Types::AculContextConfigurationItem] }, optional: true, nullable: false + field :default_head_tags_disabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :use_page_template, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :head_tags, -> { Internal::Types::Array[Auth0::Types::AculHeadTag] }, optional: true, nullable: false + field :filters, -> { Auth0::Types::AculFilters }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_client_connections_response_content.rb b/lib/auth0/types/list_client_connections_response_content.rb index 39f2b3bf..38f739d1 100644 --- a/lib/auth0/types/list_client_connections_response_content.rb +++ b/lib/auth0/types/list_client_connections_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ListClientConnectionsResponseContent < Internal::Types::Model field :connections, -> { Internal::Types::Array[Auth0::Types::ConnectionForList] }, optional: false, nullable: false + field :next_, -> { String }, optional: true, nullable: false, api_name: "next" end end diff --git a/lib/auth0/types/list_client_grant_organizations_paginated_response_content.rb b/lib/auth0/types/list_client_grant_organizations_paginated_response_content.rb index 6ba39bf6..6fc6d4d4 100644 --- a/lib/auth0/types/list_client_grant_organizations_paginated_response_content.rb +++ b/lib/auth0/types/list_client_grant_organizations_paginated_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ListClientGrantOrganizationsPaginatedResponseContent < Internal::Types::Model field :next_, -> { String }, optional: true, nullable: false, api_name: "next" + field :organizations, -> { Internal::Types::Array[Auth0::Types::Organization] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_client_grant_paginated_response_content.rb b/lib/auth0/types/list_client_grant_paginated_response_content.rb index aad37361..74521558 100644 --- a/lib/auth0/types/list_client_grant_paginated_response_content.rb +++ b/lib/auth0/types/list_client_grant_paginated_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ListClientGrantPaginatedResponseContent < Internal::Types::Model field :next_, -> { String }, optional: true, nullable: false, api_name: "next" + field :client_grants, -> { Internal::Types::Array[Auth0::Types::ClientGrantResponseContent] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_clients_offset_paginated_response_content.rb b/lib/auth0/types/list_clients_offset_paginated_response_content.rb index d3dec17d..1cbb5584 100644 --- a/lib/auth0/types/list_clients_offset_paginated_response_content.rb +++ b/lib/auth0/types/list_clients_offset_paginated_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ListClientsOffsetPaginatedResponseContent < Internal::Types::Model field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false + field :clients, -> { Internal::Types::Array[Auth0::Types::Client] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_connection_profiles_paginated_response_content.rb b/lib/auth0/types/list_connection_profiles_paginated_response_content.rb index 3dfc237f..ccd8197d 100644 --- a/lib/auth0/types/list_connection_profiles_paginated_response_content.rb +++ b/lib/auth0/types/list_connection_profiles_paginated_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ListConnectionProfilesPaginatedResponseContent < Internal::Types::Model field :next_, -> { String }, optional: true, nullable: false, api_name: "next" + field :connection_profiles, -> { Internal::Types::Array[Auth0::Types::ConnectionProfile] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_connections_checkpoint_paginated_response_content.rb b/lib/auth0/types/list_connections_checkpoint_paginated_response_content.rb index 56b3cedf..c5089f05 100644 --- a/lib/auth0/types/list_connections_checkpoint_paginated_response_content.rb +++ b/lib/auth0/types/list_connections_checkpoint_paginated_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ListConnectionsCheckpointPaginatedResponseContent < Internal::Types::Model field :next_, -> { String }, optional: true, nullable: false, api_name: "next" + field :connections, -> { Internal::Types::Array[Auth0::Types::ConnectionForList] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_device_credentials_offset_paginated_response_content.rb b/lib/auth0/types/list_device_credentials_offset_paginated_response_content.rb index 315981fb..0b652e4f 100644 --- a/lib/auth0/types/list_device_credentials_offset_paginated_response_content.rb +++ b/lib/auth0/types/list_device_credentials_offset_paginated_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ListDeviceCredentialsOffsetPaginatedResponseContent < Internal::Types::Model field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false + field :device_credentials, -> { Internal::Types::Array[Auth0::Types::DeviceCredential] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_directory_provisionings_response_content.rb b/lib/auth0/types/list_directory_provisionings_response_content.rb index cfa41bad..7b0c2cd7 100644 --- a/lib/auth0/types/list_directory_provisionings_response_content.rb +++ b/lib/auth0/types/list_directory_provisionings_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ListDirectoryProvisioningsResponseContent < Internal::Types::Model field :directory_provisionings, -> { Internal::Types::Array[Auth0::Types::DirectoryProvisioning] }, optional: false, nullable: false + field :next_, -> { String }, optional: true, nullable: false, api_name: "next" end end diff --git a/lib/auth0/types/list_encryption_key_offset_paginated_response_content.rb b/lib/auth0/types/list_encryption_key_offset_paginated_response_content.rb index 463c9ef3..85c5f5e1 100644 --- a/lib/auth0/types/list_encryption_key_offset_paginated_response_content.rb +++ b/lib/auth0/types/list_encryption_key_offset_paginated_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ListEncryptionKeyOffsetPaginatedResponseContent < Internal::Types::Model field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false + field :keys, -> { Internal::Types::Array[Auth0::Types::EncryptionKey] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_event_streams_response_content.rb b/lib/auth0/types/list_event_streams_response_content.rb index 5515b7cb..d2b161d6 100644 --- a/lib/auth0/types/list_event_streams_response_content.rb +++ b/lib/auth0/types/list_event_streams_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ListEventStreamsResponseContent < Internal::Types::Model field :event_streams, -> { Internal::Types::Array[Auth0::Types::EventStreamResponseContent] }, optional: true, nullable: false, api_name: "eventStreams" + field :next_, -> { String }, optional: true, nullable: false, api_name: "next" end end diff --git a/lib/auth0/types/list_flow_executions_paginated_response_content.rb b/lib/auth0/types/list_flow_executions_paginated_response_content.rb index 7830b18f..bc54c91f 100644 --- a/lib/auth0/types/list_flow_executions_paginated_response_content.rb +++ b/lib/auth0/types/list_flow_executions_paginated_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ListFlowExecutionsPaginatedResponseContent < Internal::Types::Model field :next_, -> { String }, optional: true, nullable: false, api_name: "next" + field :executions, -> { Internal::Types::Array[Auth0::Types::FlowExecutionSummary] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_flows_offset_paginated_response_content.rb b/lib/auth0/types/list_flows_offset_paginated_response_content.rb index 10eda79a..2f35f9e7 100644 --- a/lib/auth0/types/list_flows_offset_paginated_response_content.rb +++ b/lib/auth0/types/list_flows_offset_paginated_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ListFlowsOffsetPaginatedResponseContent < Internal::Types::Model field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false + field :flows, -> { Internal::Types::Array[Auth0::Types::FlowSummary] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_flows_vault_connections_offset_paginated_response_content.rb b/lib/auth0/types/list_flows_vault_connections_offset_paginated_response_content.rb index bc72e594..1e7a5f80 100644 --- a/lib/auth0/types/list_flows_vault_connections_offset_paginated_response_content.rb +++ b/lib/auth0/types/list_flows_vault_connections_offset_paginated_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ListFlowsVaultConnectionsOffsetPaginatedResponseContent < Internal::Types::Model field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false + field :connections, -> { Internal::Types::Array[Auth0::Types::FlowsVaultConnectionSummary] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_forms_offset_paginated_response_content.rb b/lib/auth0/types/list_forms_offset_paginated_response_content.rb index 4dd7c324..e1678cce 100644 --- a/lib/auth0/types/list_forms_offset_paginated_response_content.rb +++ b/lib/auth0/types/list_forms_offset_paginated_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ListFormsOffsetPaginatedResponseContent < Internal::Types::Model field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false + field :forms, -> { Internal::Types::Array[Auth0::Types::FormSummary] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_groups_paginated_response_content.rb b/lib/auth0/types/list_groups_paginated_response_content.rb index b3f051d9..bc4f481d 100644 --- a/lib/auth0/types/list_groups_paginated_response_content.rb +++ b/lib/auth0/types/list_groups_paginated_response_content.rb @@ -4,9 +4,13 @@ module Auth0 module Types class ListGroupsPaginatedResponseContent < Internal::Types::Model field :groups, -> { Internal::Types::Array[Auth0::Types::Group] }, optional: false, nullable: false + field :next_, -> { String }, optional: true, nullable: false, api_name: "next" + field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_hooks_offset_paginated_response_content.rb b/lib/auth0/types/list_hooks_offset_paginated_response_content.rb index 67876e27..1fe233bb 100644 --- a/lib/auth0/types/list_hooks_offset_paginated_response_content.rb +++ b/lib/auth0/types/list_hooks_offset_paginated_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ListHooksOffsetPaginatedResponseContent < Internal::Types::Model field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false + field :hooks, -> { Internal::Types::Array[Auth0::Types::Hook] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_log_offset_paginated_response_content.rb b/lib/auth0/types/list_log_offset_paginated_response_content.rb index ddbcd728..02f6a244 100644 --- a/lib/auth0/types/list_log_offset_paginated_response_content.rb +++ b/lib/auth0/types/list_log_offset_paginated_response_content.rb @@ -4,9 +4,13 @@ module Auth0 module Types class ListLogOffsetPaginatedResponseContent < Internal::Types::Model field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :length, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false + field :logs, -> { Internal::Types::Array[Auth0::Types::Log] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_network_acls_offset_paginated_response_content.rb b/lib/auth0/types/list_network_acls_offset_paginated_response_content.rb index 930fe679..1fa82ff0 100644 --- a/lib/auth0/types/list_network_acls_offset_paginated_response_content.rb +++ b/lib/auth0/types/list_network_acls_offset_paginated_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ListNetworkACLsOffsetPaginatedResponseContent < Internal::Types::Model field :network_acls, -> { Internal::Types::Array[Auth0::Types::NetworkACLsResponseContent] }, optional: true, nullable: false + field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_organization_all_connections_offset_paginated_response_content.rb b/lib/auth0/types/list_organization_all_connections_offset_paginated_response_content.rb index 47fc5707..4ca557d5 100644 --- a/lib/auth0/types/list_organization_all_connections_offset_paginated_response_content.rb +++ b/lib/auth0/types/list_organization_all_connections_offset_paginated_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ListOrganizationAllConnectionsOffsetPaginatedResponseContent < Internal::Types::Model field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false + field :connections, -> { Internal::Types::Array[Auth0::Types::OrganizationAllConnectionPost] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_organization_client_grants_offset_paginated_response_content.rb b/lib/auth0/types/list_organization_client_grants_offset_paginated_response_content.rb index 16393196..ba35ebe6 100644 --- a/lib/auth0/types/list_organization_client_grants_offset_paginated_response_content.rb +++ b/lib/auth0/types/list_organization_client_grants_offset_paginated_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ListOrganizationClientGrantsOffsetPaginatedResponseContent < Internal::Types::Model field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false + field :client_grants, -> { Internal::Types::Array[Auth0::Types::OrganizationClientGrant] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_organization_connections_offset_paginated_response_content.rb b/lib/auth0/types/list_organization_connections_offset_paginated_response_content.rb index 5aab3fbb..2915fa80 100644 --- a/lib/auth0/types/list_organization_connections_offset_paginated_response_content.rb +++ b/lib/auth0/types/list_organization_connections_offset_paginated_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ListOrganizationConnectionsOffsetPaginatedResponseContent < Internal::Types::Model field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false + field :enabled_connections, -> { Internal::Types::Array[Auth0::Types::OrganizationConnection] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_organization_discovery_domains_response_content.rb b/lib/auth0/types/list_organization_discovery_domains_response_content.rb index c25c323b..df284ac8 100644 --- a/lib/auth0/types/list_organization_discovery_domains_response_content.rb +++ b/lib/auth0/types/list_organization_discovery_domains_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ListOrganizationDiscoveryDomainsResponseContent < Internal::Types::Model field :next_, -> { String }, optional: true, nullable: false, api_name: "next" + field :domains, -> { Internal::Types::Array[Auth0::Types::OrganizationDiscoveryDomain] }, optional: false, nullable: false end end diff --git a/lib/auth0/types/list_organization_invitations_offset_paginated_response_content.rb b/lib/auth0/types/list_organization_invitations_offset_paginated_response_content.rb index 10d0e512..9cde750b 100644 --- a/lib/auth0/types/list_organization_invitations_offset_paginated_response_content.rb +++ b/lib/auth0/types/list_organization_invitations_offset_paginated_response_content.rb @@ -4,7 +4,9 @@ module Auth0 module Types class ListOrganizationInvitationsOffsetPaginatedResponseContent < Internal::Types::Model field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :invitations, -> { Internal::Types::Array[Auth0::Types::OrganizationInvitation] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_organization_member_roles_offset_paginated_response_content.rb b/lib/auth0/types/list_organization_member_roles_offset_paginated_response_content.rb index 0929a9c6..7c51df16 100644 --- a/lib/auth0/types/list_organization_member_roles_offset_paginated_response_content.rb +++ b/lib/auth0/types/list_organization_member_roles_offset_paginated_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ListOrganizationMemberRolesOffsetPaginatedResponseContent < Internal::Types::Model field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false + field :roles, -> { Internal::Types::Array[Auth0::Types::Role] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_organization_members_paginated_response_content.rb b/lib/auth0/types/list_organization_members_paginated_response_content.rb index 1cb00c47..313f70f0 100644 --- a/lib/auth0/types/list_organization_members_paginated_response_content.rb +++ b/lib/auth0/types/list_organization_members_paginated_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ListOrganizationMembersPaginatedResponseContent < Internal::Types::Model field :next_, -> { String }, optional: true, nullable: false, api_name: "next" + field :members, -> { Internal::Types::Array[Auth0::Types::OrganizationMember] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_organizations_paginated_response_content.rb b/lib/auth0/types/list_organizations_paginated_response_content.rb index 204aaa40..d2055b0d 100644 --- a/lib/auth0/types/list_organizations_paginated_response_content.rb +++ b/lib/auth0/types/list_organizations_paginated_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ListOrganizationsPaginatedResponseContent < Internal::Types::Model field :next_, -> { String }, optional: true, nullable: false, api_name: "next" + field :organizations, -> { Internal::Types::Array[Auth0::Types::Organization] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_rate_limit_policies_paginated_response_content.rb b/lib/auth0/types/list_rate_limit_policies_paginated_response_content.rb new file mode 100644 index 00000000..db5eb08b --- /dev/null +++ b/lib/auth0/types/list_rate_limit_policies_paginated_response_content.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class ListRateLimitPoliciesPaginatedResponseContent < Internal::Types::Model + field :rate_limit_policies, -> { Internal::Types::Array[Auth0::Types::RateLimitPolicy] }, optional: true, nullable: false + + field :next_, -> { String }, optional: true, nullable: false, api_name: "next" + end + end +end diff --git a/lib/auth0/types/list_refresh_tokens_paginated_response_content.rb b/lib/auth0/types/list_refresh_tokens_paginated_response_content.rb index a21ddfb8..a1074bf9 100644 --- a/lib/auth0/types/list_refresh_tokens_paginated_response_content.rb +++ b/lib/auth0/types/list_refresh_tokens_paginated_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ListRefreshTokensPaginatedResponseContent < Internal::Types::Model field :tokens, -> { Internal::Types::Array[Auth0::Types::RefreshTokenResponseContent] }, optional: true, nullable: false + field :next_, -> { String }, optional: true, nullable: false, api_name: "next" end end diff --git a/lib/auth0/types/list_resource_server_offset_paginated_response_content.rb b/lib/auth0/types/list_resource_server_offset_paginated_response_content.rb index d9d75b5a..5bdd6252 100644 --- a/lib/auth0/types/list_resource_server_offset_paginated_response_content.rb +++ b/lib/auth0/types/list_resource_server_offset_paginated_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ListResourceServerOffsetPaginatedResponseContent < Internal::Types::Model field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false + field :resource_servers, -> { Internal::Types::Array[Auth0::Types::ResourceServer] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_role_permissions_offset_paginated_response_content.rb b/lib/auth0/types/list_role_permissions_offset_paginated_response_content.rb index ec716aea..e1eecd15 100644 --- a/lib/auth0/types/list_role_permissions_offset_paginated_response_content.rb +++ b/lib/auth0/types/list_role_permissions_offset_paginated_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ListRolePermissionsOffsetPaginatedResponseContent < Internal::Types::Model field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false + field :permissions, -> { Internal::Types::Array[Auth0::Types::PermissionsResponsePayload] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_role_users_paginated_response_content.rb b/lib/auth0/types/list_role_users_paginated_response_content.rb index d2c8037d..2575ac87 100644 --- a/lib/auth0/types/list_role_users_paginated_response_content.rb +++ b/lib/auth0/types/list_role_users_paginated_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ListRoleUsersPaginatedResponseContent < Internal::Types::Model field :next_, -> { String }, optional: true, nullable: false, api_name: "next" + field :users, -> { Internal::Types::Array[Auth0::Types::RoleUser] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_roles_offset_paginated_response_content.rb b/lib/auth0/types/list_roles_offset_paginated_response_content.rb index a95ae5c9..da54f4b8 100644 --- a/lib/auth0/types/list_roles_offset_paginated_response_content.rb +++ b/lib/auth0/types/list_roles_offset_paginated_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ListRolesOffsetPaginatedResponseContent < Internal::Types::Model field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false + field :roles, -> { Internal::Types::Array[Auth0::Types::Role] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_rules_offset_paginated_response_content.rb b/lib/auth0/types/list_rules_offset_paginated_response_content.rb index 5e19d74c..4be693cb 100644 --- a/lib/auth0/types/list_rules_offset_paginated_response_content.rb +++ b/lib/auth0/types/list_rules_offset_paginated_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ListRulesOffsetPaginatedResponseContent < Internal::Types::Model field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false + field :rules, -> { Internal::Types::Array[Auth0::Types::Rule] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_scim_configurations_response_content.rb b/lib/auth0/types/list_scim_configurations_response_content.rb index 42f706eb..2d3828ec 100644 --- a/lib/auth0/types/list_scim_configurations_response_content.rb +++ b/lib/auth0/types/list_scim_configurations_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ListSCIMConfigurationsResponseContent < Internal::Types::Model field :scim_configurations, -> { Internal::Types::Array[Auth0::Types::SCIMConfiguration] }, optional: false, nullable: false + field :next_, -> { String }, optional: true, nullable: false, api_name: "next" end end diff --git a/lib/auth0/types/list_self_service_profiles_paginated_response_content.rb b/lib/auth0/types/list_self_service_profiles_paginated_response_content.rb index 8ef8874d..9f04fcb8 100644 --- a/lib/auth0/types/list_self_service_profiles_paginated_response_content.rb +++ b/lib/auth0/types/list_self_service_profiles_paginated_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ListSelfServiceProfilesPaginatedResponseContent < Internal::Types::Model field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false + field :self_service_profiles, -> { Internal::Types::Array[Auth0::Types::SelfServiceProfile] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_synchronized_groups_response_content.rb b/lib/auth0/types/list_synchronized_groups_response_content.rb index 0e5544c4..89ff9eca 100644 --- a/lib/auth0/types/list_synchronized_groups_response_content.rb +++ b/lib/auth0/types/list_synchronized_groups_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ListSynchronizedGroupsResponseContent < Internal::Types::Model field :groups, -> { Internal::Types::Array[Auth0::Types::SynchronizedGroupPayload] }, optional: false, nullable: false + field :next_, -> { String }, optional: true, nullable: false, api_name: "next" end end diff --git a/lib/auth0/types/list_token_exchange_profile_response_content.rb b/lib/auth0/types/list_token_exchange_profile_response_content.rb index b619fdcd..4690dacb 100644 --- a/lib/auth0/types/list_token_exchange_profile_response_content.rb +++ b/lib/auth0/types/list_token_exchange_profile_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ListTokenExchangeProfileResponseContent < Internal::Types::Model field :next_, -> { String }, optional: true, nullable: false, api_name: "next" + field :token_exchange_profiles, -> { Internal::Types::Array[Auth0::Types::TokenExchangeProfileResponseContent] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_user_attribute_profiles_paginated_response_content.rb b/lib/auth0/types/list_user_attribute_profiles_paginated_response_content.rb index 2af341c6..c8e63533 100644 --- a/lib/auth0/types/list_user_attribute_profiles_paginated_response_content.rb +++ b/lib/auth0/types/list_user_attribute_profiles_paginated_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ListUserAttributeProfilesPaginatedResponseContent < Internal::Types::Model field :next_, -> { String }, optional: true, nullable: false, api_name: "next" + field :user_attribute_profiles, -> { Internal::Types::Array[Auth0::Types::UserAttributeProfile] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_user_authentication_methods_offset_paginated_response_content.rb b/lib/auth0/types/list_user_authentication_methods_offset_paginated_response_content.rb index 98e32ab6..7cc7bafe 100644 --- a/lib/auth0/types/list_user_authentication_methods_offset_paginated_response_content.rb +++ b/lib/auth0/types/list_user_authentication_methods_offset_paginated_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ListUserAuthenticationMethodsOffsetPaginatedResponseContent < Internal::Types::Model field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false + field :authenticators, -> { Internal::Types::Array[Auth0::Types::UserAuthenticationMethod] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_user_connected_accounts_response_content.rb b/lib/auth0/types/list_user_connected_accounts_response_content.rb index 89f697df..9a7a6abc 100644 --- a/lib/auth0/types/list_user_connected_accounts_response_content.rb +++ b/lib/auth0/types/list_user_connected_accounts_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ListUserConnectedAccountsResponseContent < Internal::Types::Model field :connected_accounts, -> { Internal::Types::Array[Auth0::Types::ConnectedAccount] }, optional: false, nullable: false + field :next_, -> { String }, optional: true, nullable: false, api_name: "next" end end diff --git a/lib/auth0/types/list_user_grants_offset_paginated_response_content.rb b/lib/auth0/types/list_user_grants_offset_paginated_response_content.rb index a6795b0e..ccd2aab3 100644 --- a/lib/auth0/types/list_user_grants_offset_paginated_response_content.rb +++ b/lib/auth0/types/list_user_grants_offset_paginated_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ListUserGrantsOffsetPaginatedResponseContent < Internal::Types::Model field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false + field :grants, -> { Internal::Types::Array[Auth0::Types::UserGrant] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_user_organizations_offset_paginated_response_content.rb b/lib/auth0/types/list_user_organizations_offset_paginated_response_content.rb index e3b832a2..f0a09ef3 100644 --- a/lib/auth0/types/list_user_organizations_offset_paginated_response_content.rb +++ b/lib/auth0/types/list_user_organizations_offset_paginated_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ListUserOrganizationsOffsetPaginatedResponseContent < Internal::Types::Model field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false + field :organizations, -> { Internal::Types::Array[Auth0::Types::Organization] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_user_permissions_offset_paginated_response_content.rb b/lib/auth0/types/list_user_permissions_offset_paginated_response_content.rb index 988d3a53..7e9a0042 100644 --- a/lib/auth0/types/list_user_permissions_offset_paginated_response_content.rb +++ b/lib/auth0/types/list_user_permissions_offset_paginated_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ListUserPermissionsOffsetPaginatedResponseContent < Internal::Types::Model field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false + field :permissions, -> { Internal::Types::Array[Auth0::Types::UserPermissionSchema] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_user_roles_offset_paginated_response_content.rb b/lib/auth0/types/list_user_roles_offset_paginated_response_content.rb index e7d5d356..6dac5cc3 100644 --- a/lib/auth0/types/list_user_roles_offset_paginated_response_content.rb +++ b/lib/auth0/types/list_user_roles_offset_paginated_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ListUserRolesOffsetPaginatedResponseContent < Internal::Types::Model field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false + field :roles, -> { Internal::Types::Array[Auth0::Types::Role] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_user_sessions_paginated_response_content.rb b/lib/auth0/types/list_user_sessions_paginated_response_content.rb index eb57a61a..606531c6 100644 --- a/lib/auth0/types/list_user_sessions_paginated_response_content.rb +++ b/lib/auth0/types/list_user_sessions_paginated_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ListUserSessionsPaginatedResponseContent < Internal::Types::Model field :sessions, -> { Internal::Types::Array[Auth0::Types::SessionResponseContent] }, optional: true, nullable: false + field :next_, -> { String }, optional: true, nullable: false, api_name: "next" end end diff --git a/lib/auth0/types/list_users_offset_paginated_response_content.rb b/lib/auth0/types/list_users_offset_paginated_response_content.rb index b0c0619e..3214d9a4 100644 --- a/lib/auth0/types/list_users_offset_paginated_response_content.rb +++ b/lib/auth0/types/list_users_offset_paginated_response_content.rb @@ -4,9 +4,13 @@ module Auth0 module Types class ListUsersOffsetPaginatedResponseContent < Internal::Types::Model field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :length, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false + field :users, -> { Internal::Types::Array[Auth0::Types::UserResponseSchema] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/list_verifiable_credential_templates_paginated_response_content.rb b/lib/auth0/types/list_verifiable_credential_templates_paginated_response_content.rb index 7b33c07d..3ac5fd66 100644 --- a/lib/auth0/types/list_verifiable_credential_templates_paginated_response_content.rb +++ b/lib/auth0/types/list_verifiable_credential_templates_paginated_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ListVerifiableCredentialTemplatesPaginatedResponseContent < Internal::Types::Model field :next_, -> { String }, optional: true, nullable: false, api_name: "next" + field :templates, -> { Internal::Types::Array[Auth0::Types::VerifiableCredentialTemplateResponse] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/log.rb b/lib/auth0/types/log.rb index 4c403a84..a70f882e 100644 --- a/lib/auth0/types/log.rb +++ b/lib/auth0/types/log.rb @@ -4,25 +4,45 @@ module Auth0 module Types class Log < Internal::Types::Model field :date, -> { Auth0::Types::LogDate }, optional: true, nullable: false + field :type, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false + field :connection, -> { String }, optional: true, nullable: false + field :connection_id, -> { String }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false + field :client_name, -> { String }, optional: true, nullable: false + field :ip, -> { String }, optional: true, nullable: false + field :hostname, -> { String }, optional: true, nullable: false + field :user_id, -> { String }, optional: true, nullable: false + field :user_name, -> { String }, optional: true, nullable: false + field :audience, -> { String }, optional: true, nullable: false + field :scope, -> { String }, optional: true, nullable: false + field :strategy, -> { String }, optional: true, nullable: false + field :strategy_type, -> { String }, optional: true, nullable: false + field :log_id, -> { String }, optional: true, nullable: false + field :is_mobile, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isMobile" + field :details, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :user_agent, -> { String }, optional: true, nullable: false + field :security_context, -> { Auth0::Types::LogSecurityContext }, optional: true, nullable: false + field :location_info, -> { Auth0::Types::LogLocationInfo }, optional: true, nullable: false end end diff --git a/lib/auth0/types/log_date.rb b/lib/auth0/types/log_date.rb index 46fdc952..6ca7c8b9 100644 --- a/lib/auth0/types/log_date.rb +++ b/lib/auth0/types/log_date.rb @@ -6,6 +6,7 @@ class LogDate < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { String } + member -> { Internal::Types::Hash[String, Object] } end end diff --git a/lib/auth0/types/log_location_info.rb b/lib/auth0/types/log_location_info.rb index eb0d4323..c9efae62 100644 --- a/lib/auth0/types/log_location_info.rb +++ b/lib/auth0/types/log_location_info.rb @@ -5,12 +5,19 @@ module Types # Information about the location that triggered this event based on the `ip`. class LogLocationInfo < Internal::Types::Model field :country_code, -> { String }, optional: true, nullable: false + field :country_code3, -> { String }, optional: true, nullable: false + field :country_name, -> { String }, optional: true, nullable: false + field :city_name, -> { String }, optional: true, nullable: false + field :latitude, -> { Integer }, optional: true, nullable: false + field :longitude, -> { Integer }, optional: true, nullable: false + field :time_zone, -> { String }, optional: true, nullable: false + field :continent_code, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/log_security_context.rb b/lib/auth0/types/log_security_context.rb index f6a68058..b6651abf 100644 --- a/lib/auth0/types/log_security_context.rb +++ b/lib/auth0/types/log_security_context.rb @@ -5,6 +5,7 @@ module Types # Information about security-related signals. class LogSecurityContext < Internal::Types::Model field :ja3, -> { String }, optional: true, nullable: false + field :ja4, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/log_stream_datadog_response_schema.rb b/lib/auth0/types/log_stream_datadog_response_schema.rb index da706426..8022a5e9 100644 --- a/lib/auth0/types/log_stream_datadog_response_schema.rb +++ b/lib/auth0/types/log_stream_datadog_response_schema.rb @@ -4,12 +4,19 @@ module Auth0 module Types class LogStreamDatadogResponseSchema < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :status, -> { Auth0::Types::LogStreamStatusEnum }, optional: true, nullable: false + field :type, -> { Auth0::Types::LogStreamDatadogEnum }, optional: true, nullable: false + field :is_priority, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isPriority" + field :filters, -> { Internal::Types::Array[Auth0::Types::LogStreamFilter] }, optional: true, nullable: false + field :pii_config, -> { Auth0::Types::LogStreamPiiConfig }, optional: true, nullable: false + field :sink, -> { Auth0::Types::LogStreamDatadogSink }, optional: true, nullable: false end end diff --git a/lib/auth0/types/log_stream_datadog_sink.rb b/lib/auth0/types/log_stream_datadog_sink.rb index 723b37a4..7765f24d 100644 --- a/lib/auth0/types/log_stream_datadog_sink.rb +++ b/lib/auth0/types/log_stream_datadog_sink.rb @@ -4,6 +4,7 @@ module Auth0 module Types class LogStreamDatadogSink < Internal::Types::Model field :datadog_api_key, -> { String }, optional: false, nullable: false, api_name: "datadogApiKey" + field :datadog_region, -> { Auth0::Types::LogStreamDatadogRegionEnum }, optional: false, nullable: false, api_name: "datadogRegion" end end diff --git a/lib/auth0/types/log_stream_event_bridge_response_schema.rb b/lib/auth0/types/log_stream_event_bridge_response_schema.rb index 7c67e0a6..e77da079 100644 --- a/lib/auth0/types/log_stream_event_bridge_response_schema.rb +++ b/lib/auth0/types/log_stream_event_bridge_response_schema.rb @@ -4,12 +4,19 @@ module Auth0 module Types class LogStreamEventBridgeResponseSchema < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :status, -> { Auth0::Types::LogStreamStatusEnum }, optional: true, nullable: false + field :type, -> { Auth0::Types::LogStreamEventBridgeEnum }, optional: true, nullable: false + field :is_priority, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isPriority" + field :filters, -> { Internal::Types::Array[Auth0::Types::LogStreamFilter] }, optional: true, nullable: false + field :pii_config, -> { Auth0::Types::LogStreamPiiConfig }, optional: true, nullable: false + field :sink, -> { Auth0::Types::LogStreamEventBridgeSink }, optional: true, nullable: false end end diff --git a/lib/auth0/types/log_stream_event_bridge_sink.rb b/lib/auth0/types/log_stream_event_bridge_sink.rb index f5cc14dd..568b771f 100644 --- a/lib/auth0/types/log_stream_event_bridge_sink.rb +++ b/lib/auth0/types/log_stream_event_bridge_sink.rb @@ -4,7 +4,9 @@ module Auth0 module Types class LogStreamEventBridgeSink < Internal::Types::Model field :aws_account_id, -> { String }, optional: false, nullable: false, api_name: "awsAccountId" + field :aws_region, -> { Auth0::Types::LogStreamEventBridgeSinkRegionEnum }, optional: false, nullable: false, api_name: "awsRegion" + field :aws_partner_event_source, -> { String }, optional: true, nullable: false, api_name: "awsPartnerEventSource" end end diff --git a/lib/auth0/types/log_stream_event_grid_response_schema.rb b/lib/auth0/types/log_stream_event_grid_response_schema.rb index a3359674..a6351593 100644 --- a/lib/auth0/types/log_stream_event_grid_response_schema.rb +++ b/lib/auth0/types/log_stream_event_grid_response_schema.rb @@ -4,12 +4,19 @@ module Auth0 module Types class LogStreamEventGridResponseSchema < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :status, -> { Auth0::Types::LogStreamStatusEnum }, optional: true, nullable: false + field :type, -> { Auth0::Types::LogStreamEventGridEnum }, optional: true, nullable: false + field :is_priority, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isPriority" + field :filters, -> { Internal::Types::Array[Auth0::Types::LogStreamFilter] }, optional: true, nullable: false + field :pii_config, -> { Auth0::Types::LogStreamPiiConfig }, optional: true, nullable: false + field :sink, -> { Auth0::Types::LogStreamEventGridSink }, optional: true, nullable: false end end diff --git a/lib/auth0/types/log_stream_event_grid_sink.rb b/lib/auth0/types/log_stream_event_grid_sink.rb index 6c225dd7..cf3e58b4 100644 --- a/lib/auth0/types/log_stream_event_grid_sink.rb +++ b/lib/auth0/types/log_stream_event_grid_sink.rb @@ -4,8 +4,11 @@ module Auth0 module Types class LogStreamEventGridSink < Internal::Types::Model field :azure_subscription_id, -> { String }, optional: false, nullable: false, api_name: "azureSubscriptionId" + field :azure_region, -> { Auth0::Types::LogStreamEventGridRegionEnum }, optional: false, nullable: false, api_name: "azureRegion" + field :azure_resource_group, -> { String }, optional: false, nullable: false, api_name: "azureResourceGroup" + field :azure_partner_topic, -> { String }, optional: true, nullable: false, api_name: "azurePartnerTopic" end end diff --git a/lib/auth0/types/log_stream_filter.rb b/lib/auth0/types/log_stream_filter.rb index e128acd6..648a9ea4 100644 --- a/lib/auth0/types/log_stream_filter.rb +++ b/lib/auth0/types/log_stream_filter.rb @@ -4,6 +4,7 @@ module Auth0 module Types class LogStreamFilter < Internal::Types::Model field :type, -> { Auth0::Types::LogStreamFilterTypeEnum }, optional: true, nullable: false + field :name, -> { Auth0::Types::LogStreamFilterGroupNameEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/types/log_stream_http_response_schema.rb b/lib/auth0/types/log_stream_http_response_schema.rb index 7fdaa6af..0b96733f 100644 --- a/lib/auth0/types/log_stream_http_response_schema.rb +++ b/lib/auth0/types/log_stream_http_response_schema.rb @@ -4,12 +4,19 @@ module Auth0 module Types class LogStreamHTTPResponseSchema < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :status, -> { Auth0::Types::LogStreamStatusEnum }, optional: true, nullable: false + field :type, -> { Auth0::Types::LogStreamHTTPEnum }, optional: true, nullable: false + field :is_priority, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isPriority" + field :filters, -> { Internal::Types::Array[Auth0::Types::LogStreamFilter] }, optional: true, nullable: false + field :pii_config, -> { Auth0::Types::LogStreamPiiConfig }, optional: true, nullable: false + field :sink, -> { Auth0::Types::LogStreamHTTPSink }, optional: true, nullable: false end end diff --git a/lib/auth0/types/log_stream_http_sink.rb b/lib/auth0/types/log_stream_http_sink.rb index 21de51aa..018b5cd6 100644 --- a/lib/auth0/types/log_stream_http_sink.rb +++ b/lib/auth0/types/log_stream_http_sink.rb @@ -4,9 +4,13 @@ module Auth0 module Types class LogStreamHTTPSink < Internal::Types::Model field :http_authorization, -> { String }, optional: true, nullable: false, api_name: "httpAuthorization" + field :http_content_format, -> { Auth0::Types::LogStreamHTTPContentFormatEnum }, optional: true, nullable: false, api_name: "httpContentFormat" + field :http_content_type, -> { String }, optional: true, nullable: false, api_name: "httpContentType" + field :http_endpoint, -> { String }, optional: false, nullable: false, api_name: "httpEndpoint" + field :http_custom_headers, -> { Internal::Types::Array[Auth0::Types::HTTPCustomHeader] }, optional: true, nullable: false, api_name: "httpCustomHeaders" end end diff --git a/lib/auth0/types/log_stream_mixpanel_response_schema.rb b/lib/auth0/types/log_stream_mixpanel_response_schema.rb index 48abc965..b538e6c8 100644 --- a/lib/auth0/types/log_stream_mixpanel_response_schema.rb +++ b/lib/auth0/types/log_stream_mixpanel_response_schema.rb @@ -4,12 +4,19 @@ module Auth0 module Types class LogStreamMixpanelResponseSchema < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :status, -> { Auth0::Types::LogStreamStatusEnum }, optional: true, nullable: false + field :type, -> { Auth0::Types::LogStreamMixpanelEnum }, optional: true, nullable: false + field :is_priority, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isPriority" + field :filters, -> { Internal::Types::Array[Auth0::Types::LogStreamFilter] }, optional: true, nullable: false + field :pii_config, -> { Auth0::Types::LogStreamPiiConfig }, optional: true, nullable: false + field :sink, -> { Auth0::Types::LogStreamMixpanelSink }, optional: true, nullable: false end end diff --git a/lib/auth0/types/log_stream_mixpanel_sink.rb b/lib/auth0/types/log_stream_mixpanel_sink.rb index 46958213..d408c137 100644 --- a/lib/auth0/types/log_stream_mixpanel_sink.rb +++ b/lib/auth0/types/log_stream_mixpanel_sink.rb @@ -4,8 +4,11 @@ module Auth0 module Types class LogStreamMixpanelSink < Internal::Types::Model field :mixpanel_region, -> { Auth0::Types::LogStreamMixpanelRegionEnum }, optional: false, nullable: false, api_name: "mixpanelRegion" + field :mixpanel_project_id, -> { String }, optional: false, nullable: false, api_name: "mixpanelProjectId" + field :mixpanel_service_account_username, -> { String }, optional: false, nullable: false, api_name: "mixpanelServiceAccountUsername" + field :mixpanel_service_account_password, -> { String }, optional: false, nullable: false, api_name: "mixpanelServiceAccountPassword" end end diff --git a/lib/auth0/types/log_stream_mixpanel_sink_patch.rb b/lib/auth0/types/log_stream_mixpanel_sink_patch.rb index 8dad76b5..b41252c2 100644 --- a/lib/auth0/types/log_stream_mixpanel_sink_patch.rb +++ b/lib/auth0/types/log_stream_mixpanel_sink_patch.rb @@ -4,8 +4,11 @@ module Auth0 module Types class LogStreamMixpanelSinkPatch < Internal::Types::Model field :mixpanel_region, -> { Auth0::Types::LogStreamMixpanelRegionEnum }, optional: false, nullable: false, api_name: "mixpanelRegion" + field :mixpanel_project_id, -> { String }, optional: false, nullable: false, api_name: "mixpanelProjectId" + field :mixpanel_service_account_username, -> { String }, optional: false, nullable: false, api_name: "mixpanelServiceAccountUsername" + field :mixpanel_service_account_password, -> { String }, optional: true, nullable: false, api_name: "mixpanelServiceAccountPassword" end end diff --git a/lib/auth0/types/log_stream_pii_config.rb b/lib/auth0/types/log_stream_pii_config.rb index 82dee2e6..673e469a 100644 --- a/lib/auth0/types/log_stream_pii_config.rb +++ b/lib/auth0/types/log_stream_pii_config.rb @@ -4,7 +4,9 @@ module Auth0 module Types class LogStreamPiiConfig < Internal::Types::Model field :log_fields, -> { Internal::Types::Array[Auth0::Types::LogStreamPiiLogFieldsEnum] }, optional: false, nullable: false + field :method_, -> { Auth0::Types::LogStreamPiiMethodEnum }, optional: true, nullable: false, api_name: "method" + field :algorithm, -> { Auth0::Types::LogStreamPiiAlgorithmEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/types/log_stream_response_schema.rb b/lib/auth0/types/log_stream_response_schema.rb index 443b793a..a35686e5 100644 --- a/lib/auth0/types/log_stream_response_schema.rb +++ b/lib/auth0/types/log_stream_response_schema.rb @@ -6,12 +6,19 @@ class LogStreamResponseSchema < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::LogStreamHTTPResponseSchema } + member -> { Auth0::Types::LogStreamEventBridgeResponseSchema } + member -> { Auth0::Types::LogStreamEventGridResponseSchema } + member -> { Auth0::Types::LogStreamDatadogResponseSchema } + member -> { Auth0::Types::LogStreamSplunkResponseSchema } + member -> { Auth0::Types::LogStreamSumoResponseSchema } + member -> { Auth0::Types::LogStreamSegmentResponseSchema } + member -> { Auth0::Types::LogStreamMixpanelResponseSchema } end end diff --git a/lib/auth0/types/log_stream_segment_response_schema.rb b/lib/auth0/types/log_stream_segment_response_schema.rb index e79ca7c3..89fbf9f9 100644 --- a/lib/auth0/types/log_stream_segment_response_schema.rb +++ b/lib/auth0/types/log_stream_segment_response_schema.rb @@ -4,12 +4,19 @@ module Auth0 module Types class LogStreamSegmentResponseSchema < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :status, -> { Auth0::Types::LogStreamStatusEnum }, optional: true, nullable: false + field :type, -> { Auth0::Types::LogStreamSegmentEnum }, optional: true, nullable: false + field :is_priority, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isPriority" + field :filters, -> { Internal::Types::Array[Auth0::Types::LogStreamFilter] }, optional: true, nullable: false + field :pii_config, -> { Auth0::Types::LogStreamPiiConfig }, optional: true, nullable: false + field :sink, -> { Auth0::Types::LogStreamSegmentSinkWriteKey }, optional: true, nullable: false end end diff --git a/lib/auth0/types/log_stream_sink_patch.rb b/lib/auth0/types/log_stream_sink_patch.rb index c88cd7c1..bf84c938 100644 --- a/lib/auth0/types/log_stream_sink_patch.rb +++ b/lib/auth0/types/log_stream_sink_patch.rb @@ -6,10 +6,15 @@ class LogStreamSinkPatch < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::LogStreamHTTPSink } + member -> { Auth0::Types::LogStreamDatadogSink } + member -> { Auth0::Types::LogStreamSplunkSink } + member -> { Auth0::Types::LogStreamSumoSink } + member -> { Auth0::Types::LogStreamSegmentSink } + member -> { Auth0::Types::LogStreamMixpanelSinkPatch } end end diff --git a/lib/auth0/types/log_stream_splunk_response_schema.rb b/lib/auth0/types/log_stream_splunk_response_schema.rb index 775acbd8..5266708c 100644 --- a/lib/auth0/types/log_stream_splunk_response_schema.rb +++ b/lib/auth0/types/log_stream_splunk_response_schema.rb @@ -4,12 +4,19 @@ module Auth0 module Types class LogStreamSplunkResponseSchema < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :status, -> { Auth0::Types::LogStreamStatusEnum }, optional: true, nullable: false + field :type, -> { Auth0::Types::LogStreamSplunkEnum }, optional: true, nullable: false + field :is_priority, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isPriority" + field :filters, -> { Internal::Types::Array[Auth0::Types::LogStreamFilter] }, optional: true, nullable: false + field :pii_config, -> { Auth0::Types::LogStreamPiiConfig }, optional: true, nullable: false + field :sink, -> { Auth0::Types::LogStreamSplunkSink }, optional: true, nullable: false end end diff --git a/lib/auth0/types/log_stream_splunk_sink.rb b/lib/auth0/types/log_stream_splunk_sink.rb index 6626b790..035d52c8 100644 --- a/lib/auth0/types/log_stream_splunk_sink.rb +++ b/lib/auth0/types/log_stream_splunk_sink.rb @@ -4,8 +4,11 @@ module Auth0 module Types class LogStreamSplunkSink < Internal::Types::Model field :splunk_domain, -> { String }, optional: false, nullable: false, api_name: "splunkDomain" + field :splunk_port, -> { String }, optional: false, nullable: false, api_name: "splunkPort" + field :splunk_token, -> { String }, optional: false, nullable: false, api_name: "splunkToken" + field :splunk_secure, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "splunkSecure" end end diff --git a/lib/auth0/types/log_stream_sumo_response_schema.rb b/lib/auth0/types/log_stream_sumo_response_schema.rb index 2568950d..1f801dc3 100644 --- a/lib/auth0/types/log_stream_sumo_response_schema.rb +++ b/lib/auth0/types/log_stream_sumo_response_schema.rb @@ -4,12 +4,19 @@ module Auth0 module Types class LogStreamSumoResponseSchema < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :status, -> { Auth0::Types::LogStreamStatusEnum }, optional: true, nullable: false + field :type, -> { Auth0::Types::LogStreamSumoEnum }, optional: true, nullable: false + field :is_priority, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isPriority" + field :filters, -> { Internal::Types::Array[Auth0::Types::LogStreamFilter] }, optional: true, nullable: false + field :pii_config, -> { Auth0::Types::LogStreamPiiConfig }, optional: true, nullable: false + field :sink, -> { Auth0::Types::LogStreamSumoSink }, optional: true, nullable: false end end diff --git a/lib/auth0/types/mdl_presentation_properties.rb b/lib/auth0/types/mdl_presentation_properties.rb index 37cb2f04..7ed540f2 100644 --- a/lib/auth0/types/mdl_presentation_properties.rb +++ b/lib/auth0/types/mdl_presentation_properties.rb @@ -4,25 +4,45 @@ module Auth0 module Types class MdlPresentationProperties < Internal::Types::Model field :family_name, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :given_name, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :birth_date, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :issue_date, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :expiry_date, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :issuing_country, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :issuing_authority, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :portrait, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :driving_privileges, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :resident_address, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :portrait_capture_date, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :age_in_years, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :age_birth_year, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :issuing_jurisdiction, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :nationality, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :resident_city, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :resident_state, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :resident_postal_code, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :resident_country, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :family_name_national_character, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :given_name_national_character, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/native_social_login.rb b/lib/auth0/types/native_social_login.rb index 1640439f..66426298 100644 --- a/lib/auth0/types/native_social_login.rb +++ b/lib/auth0/types/native_social_login.rb @@ -5,7 +5,9 @@ module Types # Configure native social settings class NativeSocialLogin < Internal::Types::Model field :apple, -> { Auth0::Types::NativeSocialLoginApple }, optional: true, nullable: false + field :facebook, -> { Auth0::Types::NativeSocialLoginFacebook }, optional: true, nullable: false + field :google, -> { Auth0::Types::NativeSocialLoginGoogle }, optional: true, nullable: false end end diff --git a/lib/auth0/types/network_acl_action.rb b/lib/auth0/types/network_acl_action.rb index 52b31151..298dd0a4 100644 --- a/lib/auth0/types/network_acl_action.rb +++ b/lib/auth0/types/network_acl_action.rb @@ -4,9 +4,13 @@ module Auth0 module Types class NetworkACLAction < Internal::Types::Model field :block, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :allow, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :log, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :redirect, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :redirect_uri, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/network_acl_match.rb b/lib/auth0/types/network_acl_match.rb index 1640c478..3ef91207 100644 --- a/lib/auth0/types/network_acl_match.rb +++ b/lib/auth0/types/network_acl_match.rb @@ -4,15 +4,25 @@ module Auth0 module Types class NetworkACLMatch < Internal::Types::Model field :asns, -> { Internal::Types::Array[Integer] }, optional: true, nullable: false + field :geo_country_codes, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :geo_subdivision_codes, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :ipv4cidrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false, api_name: "ipv4_cidrs" + field :ipv6cidrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false, api_name: "ipv6_cidrs" + field :ja3fingerprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false, api_name: "ja3_fingerprints" + field :ja4fingerprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false, api_name: "ja4_fingerprints" + field :user_agents, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :hostnames, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :connecting_ipv4cidrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false, api_name: "connecting_ipv4_cidrs" + field :connecting_ipv6cidrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false, api_name: "connecting_ipv6_cidrs" end end diff --git a/lib/auth0/types/network_acl_rule.rb b/lib/auth0/types/network_acl_rule.rb index 7f0dc801..c521d6f7 100644 --- a/lib/auth0/types/network_acl_rule.rb +++ b/lib/auth0/types/network_acl_rule.rb @@ -4,8 +4,11 @@ module Auth0 module Types class NetworkACLRule < Internal::Types::Model field :action, -> { Auth0::Types::NetworkACLAction }, optional: false, nullable: false + field :match, -> { Auth0::Types::NetworkACLMatch }, optional: true, nullable: false + field :not_match, -> { Auth0::Types::NetworkACLMatch }, optional: true, nullable: false + field :scope, -> { Auth0::Types::NetworkACLRuleScopeEnum }, optional: false, nullable: false end end diff --git a/lib/auth0/types/network_acls_response_content.rb b/lib/auth0/types/network_acls_response_content.rb index 7dbccf3b..9e8edeb9 100644 --- a/lib/auth0/types/network_acls_response_content.rb +++ b/lib/auth0/types/network_acls_response_content.rb @@ -4,11 +4,17 @@ module Auth0 module Types class NetworkACLsResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false + field :active, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :priority, -> { Integer }, optional: true, nullable: false + field :rule, -> { Auth0::Types::NetworkACLRule }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/oauth_scope.rb b/lib/auth0/types/oauth_scope.rb index 41c83879..74fbcfe1 100644 --- a/lib/auth0/types/oauth_scope.rb +++ b/lib/auth0/types/oauth_scope.rb @@ -84,6 +84,7 @@ module OauthScope READ_EVENT_STREAMS = "read:event_streams" UPDATE_EVENT_STREAMS = "update:event_streams" DELETE_EVENT_STREAMS = "delete:event_streams" + READ_EVENTS = "read:events" READ_FEDERATED_CONNECTIONS_TOKENS = "read:federated_connections_tokens" DELETE_FEDERATED_CONNECTIONS_TOKENS = "delete:federated_connections_tokens" CREATE_FLOWS = "create:flows" @@ -161,6 +162,10 @@ module OauthScope DELETE_PHONE_TEMPLATES = "delete:phone_templates" READ_PROMPTS = "read:prompts" UPDATE_PROMPTS = "update:prompts" + CREATE_RATE_LIMIT_POLICIES = "create:rate_limit_policies" + READ_RATE_LIMIT_POLICIES = "read:rate_limit_policies" + UPDATE_RATE_LIMIT_POLICIES = "update:rate_limit_policies" + DELETE_RATE_LIMIT_POLICIES = "delete:rate_limit_policies" READ_REFRESH_TOKENS = "read:refresh_tokens" UPDATE_REFRESH_TOKENS = "update:refresh_tokens" DELETE_REFRESH_TOKENS = "delete:refresh_tokens" diff --git a/lib/auth0/types/organization.rb b/lib/auth0/types/organization.rb index 04ac0c21..b7bf784e 100644 --- a/lib/auth0/types/organization.rb +++ b/lib/auth0/types/organization.rb @@ -4,10 +4,15 @@ module Auth0 module Types class Organization < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :display_name, -> { String }, optional: true, nullable: false + field :branding, -> { Auth0::Types::OrganizationBranding }, optional: true, nullable: false + field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false + field :token_quota, -> { Auth0::Types::TokenQuota }, optional: true, nullable: false end end diff --git a/lib/auth0/types/organization_all_connection_post.rb b/lib/auth0/types/organization_all_connection_post.rb index 5baea65f..f5aad589 100644 --- a/lib/auth0/types/organization_all_connection_post.rb +++ b/lib/auth0/types/organization_all_connection_post.rb @@ -4,12 +4,19 @@ module Auth0 module Types class OrganizationAllConnectionPost < Internal::Types::Model field :organization_connection_name, -> { String }, optional: true, nullable: false + field :assign_membership_on_login, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :is_signup_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :organization_access_level, -> { Auth0::Types::OrganizationAccessLevelEnum }, optional: true, nullable: false + field :is_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :connection_id, -> { String }, optional: false, nullable: false + field :connection, -> { Auth0::Types::OrganizationConnectionInformation }, optional: true, nullable: false end end diff --git a/lib/auth0/types/organization_branding.rb b/lib/auth0/types/organization_branding.rb index bc2ccfd3..40484ba0 100644 --- a/lib/auth0/types/organization_branding.rb +++ b/lib/auth0/types/organization_branding.rb @@ -5,6 +5,7 @@ module Types # Theme defines how to style the login pages. class OrganizationBranding < Internal::Types::Model field :logo_url, -> { String }, optional: true, nullable: false + field :colors, -> { Auth0::Types::OrganizationBrandingColors }, optional: true, nullable: false end end diff --git a/lib/auth0/types/organization_branding_colors.rb b/lib/auth0/types/organization_branding_colors.rb index 999e1793..75f97d53 100644 --- a/lib/auth0/types/organization_branding_colors.rb +++ b/lib/auth0/types/organization_branding_colors.rb @@ -5,6 +5,7 @@ module Types # Color scheme used to customize the login pages. class OrganizationBrandingColors < Internal::Types::Model field :primary, -> { String }, optional: false, nullable: false + field :page_background, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/organization_client_grant.rb b/lib/auth0/types/organization_client_grant.rb index 2ee09f21..2d49e956 100644 --- a/lib/auth0/types/organization_client_grant.rb +++ b/lib/auth0/types/organization_client_grant.rb @@ -4,10 +4,15 @@ module Auth0 module Types class OrganizationClientGrant < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false + field :audience, -> { String }, optional: true, nullable: false + field :scope, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :organization_usage, -> { Auth0::Types::OrganizationUsageEnum }, optional: true, nullable: false + field :allow_any_organization, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/organization_connection.rb b/lib/auth0/types/organization_connection.rb index 84104adb..1091034f 100644 --- a/lib/auth0/types/organization_connection.rb +++ b/lib/auth0/types/organization_connection.rb @@ -4,9 +4,13 @@ module Auth0 module Types class OrganizationConnection < Internal::Types::Model field :connection_id, -> { String }, optional: true, nullable: false + field :assign_membership_on_login, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :is_signup_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :connection, -> { Auth0::Types::OrganizationConnectionInformation }, optional: true, nullable: false end end diff --git a/lib/auth0/types/organization_connection_information.rb b/lib/auth0/types/organization_connection_information.rb index e3570e23..29d3173d 100644 --- a/lib/auth0/types/organization_connection_information.rb +++ b/lib/auth0/types/organization_connection_information.rb @@ -4,6 +4,7 @@ module Auth0 module Types class OrganizationConnectionInformation < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :strategy, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/organization_discovery_domain.rb b/lib/auth0/types/organization_discovery_domain.rb index 2a228523..ffe1b740 100644 --- a/lib/auth0/types/organization_discovery_domain.rb +++ b/lib/auth0/types/organization_discovery_domain.rb @@ -4,10 +4,15 @@ module Auth0 module Types class OrganizationDiscoveryDomain < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :domain, -> { String }, optional: false, nullable: false + field :status, -> { Auth0::Types::OrganizationDiscoveryDomainStatus }, optional: false, nullable: false + field :use_for_organization_discovery, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :verification_txt, -> { String }, optional: false, nullable: false + field :verification_host, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/organization_enabled_connection.rb b/lib/auth0/types/organization_enabled_connection.rb index 7f504b85..3079344f 100644 --- a/lib/auth0/types/organization_enabled_connection.rb +++ b/lib/auth0/types/organization_enabled_connection.rb @@ -4,9 +4,13 @@ module Auth0 module Types class OrganizationEnabledConnection < Internal::Types::Model field :connection_id, -> { String }, optional: true, nullable: false + field :assign_membership_on_login, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :is_signup_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :connection, -> { Auth0::Types::OrganizationConnectionInformation }, optional: true, nullable: false end end diff --git a/lib/auth0/types/organization_invitation.rb b/lib/auth0/types/organization_invitation.rb index d7a7c620..6efb3e01 100644 --- a/lib/auth0/types/organization_invitation.rb +++ b/lib/auth0/types/organization_invitation.rb @@ -4,17 +4,29 @@ module Auth0 module Types class OrganizationInvitation < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :organization_id, -> { String }, optional: true, nullable: false + field :inviter, -> { Auth0::Types::OrganizationInvitationInviter }, optional: true, nullable: false + field :invitee, -> { Auth0::Types::OrganizationInvitationInvitee }, optional: true, nullable: false + field :invitation_url, -> { String }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :expires_at, -> { String }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false + field :connection_id, -> { String }, optional: true, nullable: false + field :app_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :user_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :roles, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :ticket_id, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/organization_member.rb b/lib/auth0/types/organization_member.rb index 6de78a6d..31859c90 100644 --- a/lib/auth0/types/organization_member.rb +++ b/lib/auth0/types/organization_member.rb @@ -4,9 +4,13 @@ module Auth0 module Types class OrganizationMember < Internal::Types::Model field :user_id, -> { String }, optional: true, nullable: false + field :picture, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :email, -> { String }, optional: true, nullable: false + field :roles, -> { Internal::Types::Array[Auth0::Types::OrganizationMemberRole] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/organization_member_role.rb b/lib/auth0/types/organization_member_role.rb index 0ef38c25..3822ea68 100644 --- a/lib/auth0/types/organization_member_role.rb +++ b/lib/auth0/types/organization_member_role.rb @@ -4,6 +4,7 @@ module Auth0 module Types class OrganizationMemberRole < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/partial_phone_template_content.rb b/lib/auth0/types/partial_phone_template_content.rb index 1ad5e916..550d98ae 100644 --- a/lib/auth0/types/partial_phone_template_content.rb +++ b/lib/auth0/types/partial_phone_template_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class PartialPhoneTemplateContent < Internal::Types::Model field :from, -> { String }, optional: true, nullable: false + field :body, -> { Auth0::Types::PhoneTemplateBody }, optional: true, nullable: false end end diff --git a/lib/auth0/types/patch_client_credential_response_content.rb b/lib/auth0/types/patch_client_credential_response_content.rb index cb7e9fc9..cf1b48e9 100644 --- a/lib/auth0/types/patch_client_credential_response_content.rb +++ b/lib/auth0/types/patch_client_credential_response_content.rb @@ -4,14 +4,23 @@ module Auth0 module Types class PatchClientCredentialResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :kid, -> { String }, optional: true, nullable: false + field :alg, -> { Auth0::Types::ClientCredentialAlgorithmEnum }, optional: true, nullable: false + field :credential_type, -> { Auth0::Types::ClientCredentialTypeEnum }, optional: true, nullable: false + field :subject_dn, -> { String }, optional: true, nullable: false + field :thumbprint_sha256, -> { String }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false + field :expires_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/patch_rate_limit_policy_configuration_request_content.rb b/lib/auth0/types/patch_rate_limit_policy_configuration_request_content.rb new file mode 100644 index 00000000..ef10552c --- /dev/null +++ b/lib/auth0/types/patch_rate_limit_policy_configuration_request_content.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class PatchRateLimitPolicyConfigurationRequestContent < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { Auth0::Types::PatchRateLimitPolicyConfigurationRequestContentZero } + + member -> { Auth0::Types::PatchRateLimitPolicyConfigurationRequestContentOne } + + member -> { Auth0::Types::PatchRateLimitPolicyConfigurationRequestContentAction } + end + end +end diff --git a/lib/auth0/types/patch_rate_limit_policy_configuration_request_content_action.rb b/lib/auth0/types/patch_rate_limit_policy_configuration_request_content_action.rb new file mode 100644 index 00000000..057af86e --- /dev/null +++ b/lib/auth0/types/patch_rate_limit_policy_configuration_request_content_action.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class PatchRateLimitPolicyConfigurationRequestContentAction < Internal::Types::Model + field :action, -> { Auth0::Types::PatchRateLimitPolicyConfigurationRequestContentActionAction }, optional: false, nullable: false + + field :limit, -> { Integer }, optional: false, nullable: false + + field :redirect_uri, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/patch_rate_limit_policy_configuration_request_content_action_action.rb b/lib/auth0/types/patch_rate_limit_policy_configuration_request_content_action_action.rb new file mode 100644 index 00000000..f14a4be2 --- /dev/null +++ b/lib/auth0/types/patch_rate_limit_policy_configuration_request_content_action_action.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module PatchRateLimitPolicyConfigurationRequestContentActionAction + extend Auth0::Internal::Types::Enum + + REDIRECT = "redirect" + end + end +end diff --git a/lib/auth0/types/patch_rate_limit_policy_configuration_request_content_one.rb b/lib/auth0/types/patch_rate_limit_policy_configuration_request_content_one.rb new file mode 100644 index 00000000..df2c09e6 --- /dev/null +++ b/lib/auth0/types/patch_rate_limit_policy_configuration_request_content_one.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class PatchRateLimitPolicyConfigurationRequestContentOne < Internal::Types::Model + field :action, -> { Auth0::Types::PatchRateLimitPolicyConfigurationRequestContentOneAction }, optional: false, nullable: false + + field :limit, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/patch_rate_limit_policy_configuration_request_content_one_action.rb b/lib/auth0/types/patch_rate_limit_policy_configuration_request_content_one_action.rb new file mode 100644 index 00000000..26c953c7 --- /dev/null +++ b/lib/auth0/types/patch_rate_limit_policy_configuration_request_content_one_action.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module PatchRateLimitPolicyConfigurationRequestContentOneAction + extend Auth0::Internal::Types::Enum + + BLOCK = "block" + LOG = "log" + end + end +end diff --git a/lib/auth0/types/patch_rate_limit_policy_configuration_request_content_zero.rb b/lib/auth0/types/patch_rate_limit_policy_configuration_request_content_zero.rb new file mode 100644 index 00000000..6831bc69 --- /dev/null +++ b/lib/auth0/types/patch_rate_limit_policy_configuration_request_content_zero.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class PatchRateLimitPolicyConfigurationRequestContentZero < Internal::Types::Model + field :action, -> { Auth0::Types::PatchRateLimitPolicyConfigurationRequestContentZeroAction }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/patch_rate_limit_policy_configuration_request_content_zero_action.rb b/lib/auth0/types/patch_rate_limit_policy_configuration_request_content_zero_action.rb new file mode 100644 index 00000000..6a533276 --- /dev/null +++ b/lib/auth0/types/patch_rate_limit_policy_configuration_request_content_zero_action.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module PatchRateLimitPolicyConfigurationRequestContentZeroAction + extend Auth0::Internal::Types::Enum + + ALLOW = "allow" + end + end +end diff --git a/lib/auth0/types/permission_request_payload.rb b/lib/auth0/types/permission_request_payload.rb index f08fe58e..f67624bb 100644 --- a/lib/auth0/types/permission_request_payload.rb +++ b/lib/auth0/types/permission_request_payload.rb @@ -4,6 +4,7 @@ module Auth0 module Types class PermissionRequestPayload < Internal::Types::Model field :resource_server_identifier, -> { String }, optional: false, nullable: false + field :permission_name, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/permissions_response_payload.rb b/lib/auth0/types/permissions_response_payload.rb index 29f80eeb..5dd476ed 100644 --- a/lib/auth0/types/permissions_response_payload.rb +++ b/lib/auth0/types/permissions_response_payload.rb @@ -4,8 +4,11 @@ module Auth0 module Types class PermissionsResponsePayload < Internal::Types::Model field :resource_server_identifier, -> { String }, optional: true, nullable: false + field :permission_name, -> { String }, optional: true, nullable: false + field :resource_server_name, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/phone_attribute.rb b/lib/auth0/types/phone_attribute.rb index 21faae6e..53b8e587 100644 --- a/lib/auth0/types/phone_attribute.rb +++ b/lib/auth0/types/phone_attribute.rb @@ -5,7 +5,9 @@ module Types # Configuration for the phone number attribute for users. class PhoneAttribute < Internal::Types::Model field :identifier, -> { Auth0::Types::ConnectionAttributeIdentifier }, optional: true, nullable: false + field :profile_required, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :signup, -> { Auth0::Types::SignupVerified }, optional: true, nullable: false end end diff --git a/lib/auth0/types/phone_provider_configuration.rb b/lib/auth0/types/phone_provider_configuration.rb index b0fb010a..1cdea331 100644 --- a/lib/auth0/types/phone_provider_configuration.rb +++ b/lib/auth0/types/phone_provider_configuration.rb @@ -6,6 +6,7 @@ class PhoneProviderConfiguration < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::TwilioProviderConfiguration } + member -> { Auth0::Types::CustomProviderConfiguration } end end diff --git a/lib/auth0/types/phone_provider_credentials.rb b/lib/auth0/types/phone_provider_credentials.rb index 6fa23593..430550c2 100644 --- a/lib/auth0/types/phone_provider_credentials.rb +++ b/lib/auth0/types/phone_provider_credentials.rb @@ -7,6 +7,7 @@ class PhoneProviderCredentials < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::TwilioProviderCredentials } + member -> { Auth0::Types::CustomProviderCredentials } end end diff --git a/lib/auth0/types/phone_provider_schema_masked.rb b/lib/auth0/types/phone_provider_schema_masked.rb index 1b608496..c330b801 100644 --- a/lib/auth0/types/phone_provider_schema_masked.rb +++ b/lib/auth0/types/phone_provider_schema_masked.rb @@ -5,12 +5,19 @@ module Types # Phone provider configuration schema class PhoneProviderSchemaMasked < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :tenant, -> { String }, optional: true, nullable: false + field :name, -> { Auth0::Types::PhoneProviderNameEnum }, optional: false, nullable: false + field :channel, -> { Auth0::Types::PhoneProviderChannelEnum }, optional: true, nullable: false + field :disabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :configuration, -> { Auth0::Types::PhoneProviderConfiguration }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/phone_template.rb b/lib/auth0/types/phone_template.rb index 9efdf87a..50de595f 100644 --- a/lib/auth0/types/phone_template.rb +++ b/lib/auth0/types/phone_template.rb @@ -4,11 +4,17 @@ module Auth0 module Types class PhoneTemplate < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :channel, -> { String }, optional: true, nullable: false + field :customizable, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :tenant, -> { String }, optional: true, nullable: false + field :content, -> { Auth0::Types::PhoneTemplateContent }, optional: false, nullable: false + field :type, -> { Auth0::Types::PhoneTemplateNotificationTypeEnum }, optional: false, nullable: false + field :disabled, -> { Internal::Types::Boolean }, optional: false, nullable: false end end diff --git a/lib/auth0/types/phone_template_body.rb b/lib/auth0/types/phone_template_body.rb index bfa0f5c9..82cbfd38 100644 --- a/lib/auth0/types/phone_template_body.rb +++ b/lib/auth0/types/phone_template_body.rb @@ -4,6 +4,7 @@ module Auth0 module Types class PhoneTemplateBody < Internal::Types::Model field :text, -> { String }, optional: true, nullable: false + field :voice, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/phone_template_content.rb b/lib/auth0/types/phone_template_content.rb index 287a5d57..4fbaeaa3 100644 --- a/lib/auth0/types/phone_template_content.rb +++ b/lib/auth0/types/phone_template_content.rb @@ -4,7 +4,9 @@ module Auth0 module Types class PhoneTemplateContent < Internal::Types::Model field :syntax, -> { String }, optional: true, nullable: false + field :from, -> { String }, optional: true, nullable: false + field :body, -> { Auth0::Types::PhoneTemplateBody }, optional: true, nullable: false end end diff --git a/lib/auth0/types/post_client_credential_response_content.rb b/lib/auth0/types/post_client_credential_response_content.rb index f1ad5d3c..6ca6ae20 100644 --- a/lib/auth0/types/post_client_credential_response_content.rb +++ b/lib/auth0/types/post_client_credential_response_content.rb @@ -4,14 +4,23 @@ module Auth0 module Types class PostClientCredentialResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :kid, -> { String }, optional: true, nullable: false + field :alg, -> { Auth0::Types::ClientCredentialAlgorithmEnum }, optional: true, nullable: false + field :credential_type, -> { Auth0::Types::ClientCredentialTypeEnum }, optional: true, nullable: false + field :subject_dn, -> { String }, optional: true, nullable: false + field :thumbprint_sha256, -> { String }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false + field :expires_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/post_connections_keys_response_content_item.rb b/lib/auth0/types/post_connections_keys_response_content_item.rb index aba77eb9..fa39590b 100644 --- a/lib/auth0/types/post_connections_keys_response_content_item.rb +++ b/lib/auth0/types/post_connections_keys_response_content_item.rb @@ -4,15 +4,25 @@ module Auth0 module Types class PostConnectionsKeysResponseContentItem < Internal::Types::Model field :kid, -> { String }, optional: false, nullable: false + field :cert, -> { String }, optional: false, nullable: false + field :pkcs, -> { String }, optional: true, nullable: false + field :current, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :next_, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "next" + field :current_since, -> { String }, optional: true, nullable: false + field :fingerprint, -> { String }, optional: false, nullable: false + field :thumbprint, -> { String }, optional: false, nullable: false + field :algorithm, -> { String }, optional: true, nullable: false + field :key_use, -> { Auth0::Types::ConnectionKeyUseEnum }, optional: true, nullable: false + field :subject_dn, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/preview_cimd_metadata_response_content.rb b/lib/auth0/types/preview_cimd_metadata_response_content.rb index 7e910be9..c13b424c 100644 --- a/lib/auth0/types/preview_cimd_metadata_response_content.rb +++ b/lib/auth0/types/preview_cimd_metadata_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class PreviewCimdMetadataResponseContent < Internal::Types::Model field :client_id, -> { String }, optional: true, nullable: false + field :errors, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :validation, -> { Auth0::Types::CimdValidationResult }, optional: true, nullable: false + field :mapped_fields, -> { Auth0::Types::CimdMappedClientFields }, optional: true, nullable: false end end diff --git a/lib/auth0/types/public_key_credential.rb b/lib/auth0/types/public_key_credential.rb index 0e8bfac5..947e754f 100644 --- a/lib/auth0/types/public_key_credential.rb +++ b/lib/auth0/types/public_key_credential.rb @@ -4,11 +4,17 @@ module Auth0 module Types class PublicKeyCredential < Internal::Types::Model field :credential_type, -> { Auth0::Types::PublicKeyCredentialTypeEnum }, optional: false, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :pem, -> { String }, optional: false, nullable: false + field :alg, -> { Auth0::Types::PublicKeyCredentialAlgorithmEnum }, optional: true, nullable: false + field :parse_expiry_from_cert, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :expires_at, -> { String }, optional: true, nullable: false + field :kid, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/rate_limit_policy.rb b/lib/auth0/types/rate_limit_policy.rb new file mode 100644 index 00000000..1ef3ff46 --- /dev/null +++ b/lib/auth0/types/rate_limit_policy.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class RateLimitPolicy < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :resource, -> { Auth0::Types::RateLimitPolicyResourceEnum }, optional: false, nullable: false + + field :consumer, -> { Auth0::Types::RateLimitPolicyConsumerEnum }, optional: false, nullable: false + + field :consumer_selector, -> { String }, optional: false, nullable: false + + field :configuration, -> { Auth0::Types::RateLimitPolicyConfiguration }, optional: false, nullable: false + + field :created_at, -> { String }, optional: true, nullable: false + + field :updated_at, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/rate_limit_policy_configuration.rb b/lib/auth0/types/rate_limit_policy_configuration.rb new file mode 100644 index 00000000..b6d7eb92 --- /dev/null +++ b/lib/auth0/types/rate_limit_policy_configuration.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # The configuration of the rate limit policy. + class RateLimitPolicyConfiguration < Internal::Types::Model + extend Auth0::Internal::Types::Union + + member -> { Auth0::Types::RateLimitPolicyConfigurationZero } + + member -> { Auth0::Types::RateLimitPolicyConfigurationOne } + + member -> { Auth0::Types::RateLimitPolicyConfigurationAction } + end + end +end diff --git a/lib/auth0/types/rate_limit_policy_configuration_action.rb b/lib/auth0/types/rate_limit_policy_configuration_action.rb new file mode 100644 index 00000000..4e19fa36 --- /dev/null +++ b/lib/auth0/types/rate_limit_policy_configuration_action.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class RateLimitPolicyConfigurationAction < Internal::Types::Model + field :action, -> { Auth0::Types::RateLimitPolicyConfigurationActionAction }, optional: false, nullable: false + + field :limit, -> { Integer }, optional: false, nullable: false + + field :redirect_uri, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/rate_limit_policy_configuration_action_action.rb b/lib/auth0/types/rate_limit_policy_configuration_action_action.rb new file mode 100644 index 00000000..6eb8ebd8 --- /dev/null +++ b/lib/auth0/types/rate_limit_policy_configuration_action_action.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module RateLimitPolicyConfigurationActionAction + extend Auth0::Internal::Types::Enum + + REDIRECT = "redirect" + end + end +end diff --git a/lib/auth0/types/rate_limit_policy_configuration_one.rb b/lib/auth0/types/rate_limit_policy_configuration_one.rb new file mode 100644 index 00000000..450b0ce7 --- /dev/null +++ b/lib/auth0/types/rate_limit_policy_configuration_one.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class RateLimitPolicyConfigurationOne < Internal::Types::Model + field :action, -> { Auth0::Types::RateLimitPolicyConfigurationOneAction }, optional: false, nullable: false + + field :limit, -> { Integer }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/rate_limit_policy_configuration_one_action.rb b/lib/auth0/types/rate_limit_policy_configuration_one_action.rb new file mode 100644 index 00000000..e04a4f53 --- /dev/null +++ b/lib/auth0/types/rate_limit_policy_configuration_one_action.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module RateLimitPolicyConfigurationOneAction + extend Auth0::Internal::Types::Enum + + BLOCK = "block" + LOG = "log" + end + end +end diff --git a/lib/auth0/types/rate_limit_policy_configuration_zero.rb b/lib/auth0/types/rate_limit_policy_configuration_zero.rb new file mode 100644 index 00000000..d7cde0df --- /dev/null +++ b/lib/auth0/types/rate_limit_policy_configuration_zero.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class RateLimitPolicyConfigurationZero < Internal::Types::Model + field :action, -> { Auth0::Types::RateLimitPolicyConfigurationZeroAction }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/rate_limit_policy_configuration_zero_action.rb b/lib/auth0/types/rate_limit_policy_configuration_zero_action.rb new file mode 100644 index 00000000..2bb906b2 --- /dev/null +++ b/lib/auth0/types/rate_limit_policy_configuration_zero_action.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module RateLimitPolicyConfigurationZeroAction + extend Auth0::Internal::Types::Enum + + ALLOW = "allow" + end + end +end diff --git a/lib/auth0/types/rate_limit_policy_consumer_enum.rb b/lib/auth0/types/rate_limit_policy_consumer_enum.rb new file mode 100644 index 00000000..d5965d8f --- /dev/null +++ b/lib/auth0/types/rate_limit_policy_consumer_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module RateLimitPolicyConsumerEnum + extend Auth0::Internal::Types::Enum + + CLIENT = "client" + end + end +end diff --git a/lib/auth0/types/rate_limit_policy_resource_enum.rb b/lib/auth0/types/rate_limit_policy_resource_enum.rb new file mode 100644 index 00000000..3d9a5346 --- /dev/null +++ b/lib/auth0/types/rate_limit_policy_resource_enum.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module RateLimitPolicyResourceEnum + extend Auth0::Internal::Types::Enum + + OAUTH_AUTHENTICATION_API = "oauth_authentication_api" + end + end +end diff --git a/lib/auth0/types/refresh_token_date.rb b/lib/auth0/types/refresh_token_date.rb index 38723902..20f7e06d 100644 --- a/lib/auth0/types/refresh_token_date.rb +++ b/lib/auth0/types/refresh_token_date.rb @@ -6,6 +6,7 @@ class RefreshTokenDate < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { String } + member -> { Internal::Types::Hash[String, Object] } end end diff --git a/lib/auth0/types/refresh_token_device.rb b/lib/auth0/types/refresh_token_device.rb index 4d4550ed..ba7b8ba2 100644 --- a/lib/auth0/types/refresh_token_device.rb +++ b/lib/auth0/types/refresh_token_device.rb @@ -5,10 +5,15 @@ module Types # Device used while issuing/exchanging the refresh token class RefreshTokenDevice < Internal::Types::Model field :initial_ip, -> { String }, optional: true, nullable: false + field :initial_asn, -> { String }, optional: true, nullable: false + field :initial_user_agent, -> { String }, optional: true, nullable: false + field :last_ip, -> { String }, optional: true, nullable: false + field :last_asn, -> { String }, optional: true, nullable: false + field :last_user_agent, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/refresh_token_resource_server.rb b/lib/auth0/types/refresh_token_resource_server.rb index e722abfd..7a286aab 100644 --- a/lib/auth0/types/refresh_token_resource_server.rb +++ b/lib/auth0/types/refresh_token_resource_server.rb @@ -4,6 +4,7 @@ module Auth0 module Types class RefreshTokenResourceServer < Internal::Types::Model field :audience, -> { String }, optional: true, nullable: false + field :scopes, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/refresh_token_response_content.rb b/lib/auth0/types/refresh_token_response_content.rb index 930c4b2b..2034d111 100644 --- a/lib/auth0/types/refresh_token_response_content.rb +++ b/lib/auth0/types/refresh_token_response_content.rb @@ -4,16 +4,27 @@ module Auth0 module Types class RefreshTokenResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :user_id, -> { String }, optional: true, nullable: false + field :created_at, -> { Auth0::Types::RefreshTokenDate }, optional: true, nullable: false + field :idle_expires_at, -> { Auth0::Types::RefreshTokenDate }, optional: true, nullable: false + field :expires_at, -> { Auth0::Types::RefreshTokenDate }, optional: true, nullable: false + field :device, -> { Auth0::Types::RefreshTokenDevice }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false + field :session_id, -> { String }, optional: true, nullable: false + field :rotating, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :resource_servers, -> { Internal::Types::Array[Auth0::Types::RefreshTokenResourceServer] }, optional: true, nullable: false + field :refresh_token_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :last_exchanged_at, -> { Auth0::Types::RefreshTokenDate }, optional: true, nullable: false end end diff --git a/lib/auth0/types/register_cimd_client_response_content.rb b/lib/auth0/types/register_cimd_client_response_content.rb index 918f4ea9..ae12070c 100644 --- a/lib/auth0/types/register_cimd_client_response_content.rb +++ b/lib/auth0/types/register_cimd_client_response_content.rb @@ -5,7 +5,9 @@ module Types # Response after successfully registering or updating a CIMD client class RegisterCimdClientResponseContent < Internal::Types::Model field :client_id, -> { String }, optional: false, nullable: false + field :mapped_fields, -> { Auth0::Types::CimdMappedClientFields }, optional: false, nullable: false + field :validation, -> { Auth0::Types::CimdValidationResult }, optional: false, nullable: false end end diff --git a/lib/auth0/types/reset_phone_template_response_content.rb b/lib/auth0/types/reset_phone_template_response_content.rb index 57c9f30f..1ace89df 100644 --- a/lib/auth0/types/reset_phone_template_response_content.rb +++ b/lib/auth0/types/reset_phone_template_response_content.rb @@ -4,11 +4,17 @@ module Auth0 module Types class ResetPhoneTemplateResponseContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :channel, -> { String }, optional: true, nullable: false + field :customizable, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :tenant, -> { String }, optional: true, nullable: false + field :content, -> { Auth0::Types::PhoneTemplateContent }, optional: false, nullable: false + field :type, -> { Auth0::Types::PhoneTemplateNotificationTypeEnum }, optional: false, nullable: false + field :disabled, -> { Internal::Types::Boolean }, optional: false, nullable: false end end diff --git a/lib/auth0/types/resource_server.rb b/lib/auth0/types/resource_server.rb index 9a4378ee..5e5b1825 100644 --- a/lib/auth0/types/resource_server.rb +++ b/lib/auth0/types/resource_server.rb @@ -4,24 +4,47 @@ module Auth0 module Types class ResourceServer < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :is_system, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :identifier, -> { String }, optional: true, nullable: false + field :scopes, -> { Internal::Types::Array[Auth0::Types::ResourceServerScope] }, optional: true, nullable: false + field :signing_alg, -> { Auth0::Types::SigningAlgorithmEnum }, optional: true, nullable: false + field :signing_secret, -> { String }, optional: true, nullable: false + field :allow_offline_access, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :allow_online_access, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :allow_online_access_with_ephemeral_sessions, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :skip_consent_for_verifiable_first_party_clients, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :token_lifetime, -> { Integer }, optional: true, nullable: false + field :token_lifetime_for_web, -> { Integer }, optional: true, nullable: false + field :enforce_policies, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :token_dialect, -> { Auth0::Types::ResourceServerTokenDialectResponseEnum }, optional: true, nullable: false + field :token_encryption, -> { Auth0::Types::ResourceServerTokenEncryption }, optional: true, nullable: false + field :consent_policy, -> { Auth0::Types::ResourceServerConsentPolicyEnum }, optional: true, nullable: false + field :authorization_details, -> { Internal::Types::Array[Object] }, optional: true, nullable: false + field :proof_of_possession, -> { Auth0::Types::ResourceServerProofOfPossession }, optional: true, nullable: false + field :subject_type_authorization, -> { Auth0::Types::ResourceServerSubjectTypeAuthorization }, optional: true, nullable: false + + field :authorization_policy, -> { Auth0::Types::ResourceServerAuthorizationPolicy }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/resource_server_authorization_policy.rb b/lib/auth0/types/resource_server_authorization_policy.rb new file mode 100644 index 00000000..facdedb9 --- /dev/null +++ b/lib/auth0/types/resource_server_authorization_policy.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Authorization policy for the resource server. + class ResourceServerAuthorizationPolicy < Internal::Types::Model + field :policy_id, -> { String }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/resource_server_proof_of_possession.rb b/lib/auth0/types/resource_server_proof_of_possession.rb index 2ccbe997..339b27f0 100644 --- a/lib/auth0/types/resource_server_proof_of_possession.rb +++ b/lib/auth0/types/resource_server_proof_of_possession.rb @@ -5,7 +5,9 @@ module Types # Proof-of-Possession configuration for access tokens class ResourceServerProofOfPossession < Internal::Types::Model field :mechanism, -> { Auth0::Types::ResourceServerProofOfPossessionMechanismEnum }, optional: false, nullable: false + field :required, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :required_for, -> { Auth0::Types::ResourceServerProofOfPossessionRequiredForEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/types/resource_server_scope.rb b/lib/auth0/types/resource_server_scope.rb index 53333a60..4f233bbd 100644 --- a/lib/auth0/types/resource_server_scope.rb +++ b/lib/auth0/types/resource_server_scope.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ResourceServerScope < Internal::Types::Model field :value, -> { String }, optional: false, nullable: false + field :description, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/resource_server_subject_type_authorization.rb b/lib/auth0/types/resource_server_subject_type_authorization.rb index 5f53327f..9d2210c3 100644 --- a/lib/auth0/types/resource_server_subject_type_authorization.rb +++ b/lib/auth0/types/resource_server_subject_type_authorization.rb @@ -5,6 +5,7 @@ module Types # Defines application access permission for a resource server class ResourceServerSubjectTypeAuthorization < Internal::Types::Model field :user, -> { Auth0::Types::ResourceServerSubjectTypeAuthorizationUser }, optional: true, nullable: false + field :client, -> { Auth0::Types::ResourceServerSubjectTypeAuthorizationClient }, optional: true, nullable: false end end diff --git a/lib/auth0/types/resource_server_token_encryption.rb b/lib/auth0/types/resource_server_token_encryption.rb index 495306e7..79ad5c19 100644 --- a/lib/auth0/types/resource_server_token_encryption.rb +++ b/lib/auth0/types/resource_server_token_encryption.rb @@ -4,6 +4,7 @@ module Auth0 module Types class ResourceServerTokenEncryption < Internal::Types::Model field :format, -> { Auth0::Types::ResourceServerTokenEncryptionFormatEnum }, optional: false, nullable: false + field :encryption_key, -> { Auth0::Types::ResourceServerTokenEncryptionKey }, optional: false, nullable: false end end diff --git a/lib/auth0/types/resource_server_token_encryption_key.rb b/lib/auth0/types/resource_server_token_encryption_key.rb index dce04f09..f2fd994d 100644 --- a/lib/auth0/types/resource_server_token_encryption_key.rb +++ b/lib/auth0/types/resource_server_token_encryption_key.rb @@ -4,8 +4,11 @@ module Auth0 module Types class ResourceServerTokenEncryptionKey < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :alg, -> { Auth0::Types::ResourceServerTokenEncryptionAlgorithmEnum }, optional: false, nullable: false + field :kid, -> { String }, optional: true, nullable: false + field :pem, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/revoked_signing_keys_response_content.rb b/lib/auth0/types/revoked_signing_keys_response_content.rb index a4a92813..8c7f3bd8 100644 --- a/lib/auth0/types/revoked_signing_keys_response_content.rb +++ b/lib/auth0/types/revoked_signing_keys_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class RevokedSigningKeysResponseContent < Internal::Types::Model field :cert, -> { String }, optional: false, nullable: false + field :kid, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/role.rb b/lib/auth0/types/role.rb index 3c376d73..552bcbb0 100644 --- a/lib/auth0/types/role.rb +++ b/lib/auth0/types/role.rb @@ -4,7 +4,9 @@ module Auth0 module Types class Role < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/role_user.rb b/lib/auth0/types/role_user.rb index 8aacd87e..ce16ab2b 100644 --- a/lib/auth0/types/role_user.rb +++ b/lib/auth0/types/role_user.rb @@ -4,8 +4,11 @@ module Auth0 module Types class RoleUser < Internal::Types::Model field :user_id, -> { String }, optional: true, nullable: false + field :picture, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :email, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/rollback_action_module_response_content.rb b/lib/auth0/types/rollback_action_module_response_content.rb index 67693d76..94b42673 100644 --- a/lib/auth0/types/rollback_action_module_response_content.rb +++ b/lib/auth0/types/rollback_action_module_response_content.rb @@ -4,15 +4,25 @@ module Auth0 module Types class RollbackActionModuleResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :code, -> { String }, optional: true, nullable: false + field :dependencies, -> { Internal::Types::Array[Auth0::Types::ActionModuleDependency] }, optional: true, nullable: false + field :secrets, -> { Internal::Types::Array[Auth0::Types::ActionModuleSecret] }, optional: true, nullable: false + field :actions_using_module_total, -> { Integer }, optional: true, nullable: false + field :all_changes_published, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :latest_version_number, -> { Integer }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false + field :latest_version, -> { Auth0::Types::ActionModuleVersionReference }, optional: true, nullable: false end end diff --git a/lib/auth0/types/rotate_client_secret_response_content.rb b/lib/auth0/types/rotate_client_secret_response_content.rb index ca9eed43..5f539e8d 100644 --- a/lib/auth0/types/rotate_client_secret_response_content.rb +++ b/lib/auth0/types/rotate_client_secret_response_content.rb @@ -4,64 +4,123 @@ module Auth0 module Types class RotateClientSecretResponseContent < Internal::Types::Model field :client_id, -> { String }, optional: true, nullable: false + field :tenant, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false + field :global, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :client_secret, -> { String }, optional: true, nullable: false + field :app_type, -> { Auth0::Types::ClientAppTypeEnum }, optional: true, nullable: false + field :logo_uri, -> { String }, optional: true, nullable: false + field :is_first_party, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :oidc_conformant, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :callbacks, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :allowed_origins, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :web_origins, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :client_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :allowed_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :allowed_logout_urls, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :session_transfer, -> { Auth0::Types::ClientSessionTransferConfiguration }, optional: true, nullable: false + field :oidc_logout, -> { Auth0::Types::ClientOidcBackchannelLogoutSettings }, optional: true, nullable: false + field :grant_types, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :jwt_configuration, -> { Auth0::Types::ClientJwtConfiguration }, optional: true, nullable: false + field :signing_keys, -> { Internal::Types::Array[Auth0::Types::ClientSigningKey] }, optional: true, nullable: false + field :encryption_key, -> { Auth0::Types::ClientEncryptionKey }, optional: true, nullable: false + field :sso, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sso_disabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :cross_origin_authentication, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :cross_origin_loc, -> { String }, optional: true, nullable: false + field :custom_login_page_on, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :custom_login_page, -> { String }, optional: true, nullable: false + field :custom_login_page_preview, -> { String }, optional: true, nullable: false + field :form_template, -> { String }, optional: true, nullable: false + field :addons, -> { Auth0::Types::ClientAddons }, optional: true, nullable: false + field :token_endpoint_auth_method, -> { Auth0::Types::ClientTokenEndpointAuthMethodEnum }, optional: true, nullable: false + field :is_token_endpoint_ip_header_trusted, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :client_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :mobile, -> { Auth0::Types::ClientMobile }, optional: true, nullable: false + field :initiate_login_uri, -> { String }, optional: true, nullable: false + field :refresh_token, -> { Auth0::Types::ClientRefreshTokenConfiguration }, optional: true, nullable: false + field :default_organization, -> { Auth0::Types::ClientDefaultOrganization }, optional: true, nullable: false + field :organization_usage, -> { Auth0::Types::ClientOrganizationUsageEnum }, optional: true, nullable: false + field :organization_require_behavior, -> { Auth0::Types::ClientOrganizationRequireBehaviorEnum }, optional: true, nullable: false + field :organization_discovery_methods, -> { Internal::Types::Array[Auth0::Types::ClientOrganizationDiscoveryEnum] }, optional: true, nullable: false + field :client_authentication_methods, -> { Auth0::Types::ClientAuthenticationMethod }, optional: true, nullable: false + field :require_pushed_authorization_requests, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :require_proof_of_possession, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :signed_request_object, -> { Auth0::Types::ClientSignedRequestObjectWithCredentialID }, optional: true, nullable: false + field :compliance_level, -> { Auth0::Types::ClientComplianceLevelEnum }, optional: true, nullable: false + field :skip_non_verifiable_callback_uri_confirmation_prompt, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :token_exchange, -> { Auth0::Types::ClientTokenExchangeConfiguration }, optional: true, nullable: false + field :par_request_expiry, -> { Integer }, optional: true, nullable: false + field :token_quota, -> { Auth0::Types::TokenQuota }, optional: true, nullable: false + field :express_configuration, -> { Auth0::Types::ExpressConfiguration }, optional: true, nullable: false + field :my_organization_configuration, -> { Auth0::Types::ClientMyOrganizationResponseConfiguration }, optional: true, nullable: false + field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false + field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false + field :resource_server_identifier, -> { String }, optional: true, nullable: false + field :async_approval_notification_channels, -> { Internal::Types::Array[Auth0::Types::AsyncApprovalNotificationsChannelsEnum] }, optional: true, nullable: false + field :external_metadata_type, -> { Auth0::Types::ClientExternalMetadataTypeEnum }, optional: true, nullable: false + field :external_metadata_created_by, -> { Auth0::Types::ClientExternalMetadataCreatedByEnum }, optional: true, nullable: false + field :external_client_id, -> { String }, optional: true, nullable: false + field :jwks_uri, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/rotate_connections_keys_response_content.rb b/lib/auth0/types/rotate_connections_keys_response_content.rb index d53b6c56..e5f283a9 100644 --- a/lib/auth0/types/rotate_connections_keys_response_content.rb +++ b/lib/auth0/types/rotate_connections_keys_response_content.rb @@ -4,13 +4,21 @@ module Auth0 module Types class RotateConnectionsKeysResponseContent < Internal::Types::Model field :kid, -> { String }, optional: false, nullable: false + field :cert, -> { String }, optional: false, nullable: false + field :pkcs, -> { String }, optional: true, nullable: false + field :next_, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "next" + field :fingerprint, -> { String }, optional: false, nullable: false + field :thumbprint, -> { String }, optional: false, nullable: false + field :algorithm, -> { String }, optional: true, nullable: false + field :key_use, -> { Auth0::Types::ConnectionKeyUseEnum }, optional: true, nullable: false + field :subject_dn, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/rotate_signing_keys_response_content.rb b/lib/auth0/types/rotate_signing_keys_response_content.rb index afda9566..283d7916 100644 --- a/lib/auth0/types/rotate_signing_keys_response_content.rb +++ b/lib/auth0/types/rotate_signing_keys_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class RotateSigningKeysResponseContent < Internal::Types::Model field :cert, -> { String }, optional: false, nullable: false + field :kid, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/rule.rb b/lib/auth0/types/rule.rb index 15c76b37..e7d56d63 100644 --- a/lib/auth0/types/rule.rb +++ b/lib/auth0/types/rule.rb @@ -4,10 +4,15 @@ module Auth0 module Types class Rule < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :id, -> { String }, optional: true, nullable: false + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :script, -> { String }, optional: true, nullable: false + field :order, -> { Integer }, optional: true, nullable: false + field :stage, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/scim_configuration.rb b/lib/auth0/types/scim_configuration.rb index c66c6509..22eee260 100644 --- a/lib/auth0/types/scim_configuration.rb +++ b/lib/auth0/types/scim_configuration.rb @@ -4,12 +4,19 @@ module Auth0 module Types class SCIMConfiguration < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :connection_name, -> { String }, optional: false, nullable: false + field :strategy, -> { String }, optional: false, nullable: false + field :tenant_name, -> { String }, optional: false, nullable: false + field :user_id_attribute, -> { String }, optional: false, nullable: false + field :mapping, -> { Internal::Types::Array[Auth0::Types::SCIMMappingItem] }, optional: false, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :updated_on, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/scim_mapping_item.rb b/lib/auth0/types/scim_mapping_item.rb index 7e419574..60bae2db 100644 --- a/lib/auth0/types/scim_mapping_item.rb +++ b/lib/auth0/types/scim_mapping_item.rb @@ -4,6 +4,7 @@ module Auth0 module Types class SCIMMappingItem < Internal::Types::Model field :auth0, -> { String }, optional: true, nullable: false + field :scim, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/scim_token_item.rb b/lib/auth0/types/scim_token_item.rb index cbb53a53..c50b9c64 100644 --- a/lib/auth0/types/scim_token_item.rb +++ b/lib/auth0/types/scim_token_item.rb @@ -4,9 +4,13 @@ module Auth0 module Types class SCIMTokenItem < Internal::Types::Model field :token_id, -> { String }, optional: true, nullable: false + field :scopes, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :valid_until, -> { String }, optional: true, nullable: false + field :last_used_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/self_service_profile.rb b/lib/auth0/types/self_service_profile.rb index 117c7cf5..08cfa6c0 100644 --- a/lib/auth0/types/self_service_profile.rb +++ b/lib/auth0/types/self_service_profile.rb @@ -4,13 +4,21 @@ module Auth0 module Types class SelfServiceProfile < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false + field :user_attributes, -> { Internal::Types::Array[Auth0::Types::SelfServiceProfileUserAttribute] }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false + field :branding, -> { Auth0::Types::SelfServiceProfileBrandingProperties }, optional: true, nullable: false + field :allowed_strategies, -> { Internal::Types::Array[Auth0::Types::SelfServiceProfileAllowedStrategyEnum] }, optional: true, nullable: false + field :user_attribute_profile_id, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/self_service_profile_branding_properties.rb b/lib/auth0/types/self_service_profile_branding_properties.rb index e6f744a1..0d8f9ea9 100644 --- a/lib/auth0/types/self_service_profile_branding_properties.rb +++ b/lib/auth0/types/self_service_profile_branding_properties.rb @@ -4,6 +4,7 @@ module Auth0 module Types class SelfServiceProfileBrandingProperties < Internal::Types::Model field :logo_url, -> { String }, optional: true, nullable: false + field :colors, -> { Auth0::Types::SelfServiceProfileBrandingColors }, optional: true, nullable: false end end diff --git a/lib/auth0/types/self_service_profile_sso_ticket_connection_config.rb b/lib/auth0/types/self_service_profile_sso_ticket_connection_config.rb index 620d169c..5e5f3ab5 100644 --- a/lib/auth0/types/self_service_profile_sso_ticket_connection_config.rb +++ b/lib/auth0/types/self_service_profile_sso_ticket_connection_config.rb @@ -2,13 +2,19 @@ module Auth0 module Types - # If provided, this will create a new connection for the SSO flow with the given configuration + # If provided, this will create a new connection for the Self-Service Enterprise Configuration flow with the given + # configuration class SelfServiceProfileSSOTicketConnectionConfig < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :display_name, -> { String }, optional: true, nullable: false + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false + field :options, -> { Auth0::Types::SelfServiceProfileSSOTicketConnectionOptions }, optional: true, nullable: false end end diff --git a/lib/auth0/types/self_service_profile_sso_ticket_connection_options.rb b/lib/auth0/types/self_service_profile_sso_ticket_connection_options.rb index 00eadd75..0a11662a 100644 --- a/lib/auth0/types/self_service_profile_sso_ticket_connection_options.rb +++ b/lib/auth0/types/self_service_profile_sso_ticket_connection_options.rb @@ -5,7 +5,9 @@ module Types # The connection's options (depend on the connection strategy) class SelfServiceProfileSSOTicketConnectionOptions < Internal::Types::Model field :icon_url, -> { String }, optional: true, nullable: false + field :domain_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :idpinitiated, -> { Auth0::Types::SelfServiceProfileSSOTicketIdpInitiatedOptions }, optional: true, nullable: false end end diff --git a/lib/auth0/types/self_service_profile_sso_ticket_domain_aliases_config.rb b/lib/auth0/types/self_service_profile_sso_ticket_domain_aliases_config.rb index 8688e2b1..abd450ef 100644 --- a/lib/auth0/types/self_service_profile_sso_ticket_domain_aliases_config.rb +++ b/lib/auth0/types/self_service_profile_sso_ticket_domain_aliases_config.rb @@ -2,9 +2,10 @@ module Auth0 module Types - # Configuration for the setup of the connection’s domain_aliases in the self-service SSO flow. + # Configuration for the setup of the connection’s domain_aliases in the Self-Service Enterprise Configuration flow. class SelfServiceProfileSSOTicketDomainAliasesConfig < Internal::Types::Model field :domain_verification, -> { Auth0::Types::SelfServiceProfileSSOTicketDomainVerificationEnum }, optional: false, nullable: false + field :pending_domains, -> { Internal::Types::Array[String] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/self_service_profile_sso_ticket_enabled_features.rb b/lib/auth0/types/self_service_profile_sso_ticket_enabled_features.rb index 0efe13b8..ecef2cba 100644 --- a/lib/auth0/types/self_service_profile_sso_ticket_enabled_features.rb +++ b/lib/auth0/types/self_service_profile_sso_ticket_enabled_features.rb @@ -6,7 +6,9 @@ module Types # provided. class SelfServiceProfileSSOTicketEnabledFeatures < Internal::Types::Model field :sso, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :domain_verification, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :provisioning, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/self_service_profile_sso_ticket_enabled_organization.rb b/lib/auth0/types/self_service_profile_sso_ticket_enabled_organization.rb index 9dbff2f2..edc6124e 100644 --- a/lib/auth0/types/self_service_profile_sso_ticket_enabled_organization.rb +++ b/lib/auth0/types/self_service_profile_sso_ticket_enabled_organization.rb @@ -4,7 +4,9 @@ module Auth0 module Types class SelfServiceProfileSSOTicketEnabledOrganization < Internal::Types::Model field :organization_id, -> { String }, optional: false, nullable: false + field :assign_membership_on_login, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/self_service_profile_sso_ticket_idp_initiated_options.rb b/lib/auth0/types/self_service_profile_sso_ticket_idp_initiated_options.rb index 12d613f3..3f7f798d 100644 --- a/lib/auth0/types/self_service_profile_sso_ticket_idp_initiated_options.rb +++ b/lib/auth0/types/self_service_profile_sso_ticket_idp_initiated_options.rb @@ -5,8 +5,11 @@ module Types # Allows IdP-initiated login class SelfServiceProfileSSOTicketIdpInitiatedOptions < Internal::Types::Model field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false + field :client_protocol, -> { Auth0::Types::SelfServiceProfileSSOTicketIdpInitiatedClientProtocolEnum }, optional: true, nullable: false + field :client_authorizequery, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/self_service_profile_sso_ticket_provisioning_config.rb b/lib/auth0/types/self_service_profile_sso_ticket_provisioning_config.rb index e7557631..efa0b831 100644 --- a/lib/auth0/types/self_service_profile_sso_ticket_provisioning_config.rb +++ b/lib/auth0/types/self_service_profile_sso_ticket_provisioning_config.rb @@ -5,7 +5,9 @@ module Types # Configuration for the setup of Provisioning in the self-service flow. class SelfServiceProfileSSOTicketProvisioningConfig < Internal::Types::Model field :scopes, -> { Internal::Types::Array[Auth0::Types::SelfServiceProfileSSOTicketProvisioningScopeEnum] }, optional: true, nullable: false + field :google_workspace, -> { Auth0::Types::SelfServiceProfileSSOTicketGoogleWorkspaceConfig }, optional: true, nullable: false + field :token_lifetime, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/self_service_profile_user_attribute.rb b/lib/auth0/types/self_service_profile_user_attribute.rb index 177b0bbb..9496c51a 100644 --- a/lib/auth0/types/self_service_profile_user_attribute.rb +++ b/lib/auth0/types/self_service_profile_user_attribute.rb @@ -4,7 +4,9 @@ module Auth0 module Types class SelfServiceProfileUserAttribute < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :description, -> { String }, optional: false, nullable: false + field :is_optional, -> { Internal::Types::Boolean }, optional: false, nullable: false end end diff --git a/lib/auth0/types/session_authentication_signal.rb b/lib/auth0/types/session_authentication_signal.rb index 49f61df1..05f7a660 100644 --- a/lib/auth0/types/session_authentication_signal.rb +++ b/lib/auth0/types/session_authentication_signal.rb @@ -5,7 +5,9 @@ module Types # Authentication signal details class SessionAuthenticationSignal < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :timestamp, -> { Auth0::Types::SessionDate }, optional: true, nullable: false + field :type, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/session_date.rb b/lib/auth0/types/session_date.rb index d854ca06..b65569ac 100644 --- a/lib/auth0/types/session_date.rb +++ b/lib/auth0/types/session_date.rb @@ -6,6 +6,7 @@ class SessionDate < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { String } + member -> { Internal::Types::Hash[String, Object] } end end diff --git a/lib/auth0/types/session_device_metadata.rb b/lib/auth0/types/session_device_metadata.rb index 96767fb7..7dc19395 100644 --- a/lib/auth0/types/session_device_metadata.rb +++ b/lib/auth0/types/session_device_metadata.rb @@ -5,10 +5,15 @@ module Types # Metadata related to the device used in the session class SessionDeviceMetadata < Internal::Types::Model field :initial_user_agent, -> { String }, optional: true, nullable: false + field :initial_ip, -> { String }, optional: true, nullable: false + field :initial_asn, -> { String }, optional: true, nullable: false + field :last_user_agent, -> { String }, optional: true, nullable: false + field :last_ip, -> { String }, optional: true, nullable: false + field :last_asn, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/session_response_content.rb b/lib/auth0/types/session_response_content.rb index bfd8093b..0478ac89 100644 --- a/lib/auth0/types/session_response_content.rb +++ b/lib/auth0/types/session_response_content.rb @@ -4,17 +4,29 @@ module Auth0 module Types class SessionResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :user_id, -> { String }, optional: true, nullable: false + field :created_at, -> { Auth0::Types::SessionDate }, optional: true, nullable: false + field :updated_at, -> { Auth0::Types::SessionDate }, optional: true, nullable: false + field :authenticated_at, -> { Auth0::Types::SessionDate }, optional: true, nullable: false + field :idle_expires_at, -> { Auth0::Types::SessionDate }, optional: true, nullable: false + field :expires_at, -> { Auth0::Types::SessionDate }, optional: true, nullable: false + field :last_interacted_at, -> { Auth0::Types::SessionDate }, optional: true, nullable: false + field :device, -> { Auth0::Types::SessionDeviceMetadata }, optional: true, nullable: false + field :clients, -> { Internal::Types::Array[Auth0::Types::SessionClientMetadata] }, optional: true, nullable: false + field :authentication, -> { Auth0::Types::SessionAuthenticationSignals }, optional: true, nullable: false + field :cookie, -> { Auth0::Types::SessionCookieMetadata }, optional: true, nullable: false + field :session_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/set_email_template_response_content.rb b/lib/auth0/types/set_email_template_response_content.rb index 12835c8c..fc3dc23e 100644 --- a/lib/auth0/types/set_email_template_response_content.rb +++ b/lib/auth0/types/set_email_template_response_content.rb @@ -4,13 +4,21 @@ module Auth0 module Types class SetEmailTemplateResponseContent < Internal::Types::Model field :template, -> { Auth0::Types::EmailTemplateNameEnum }, optional: false, nullable: false + field :body, -> { String }, optional: true, nullable: false + field :from, -> { String }, optional: true, nullable: false + field :result_url, -> { String }, optional: true, nullable: false, api_name: "resultUrl" + field :subject, -> { String }, optional: true, nullable: false + field :syntax, -> { String }, optional: true, nullable: false + field :url_lifetime_in_seconds, -> { Integer }, optional: true, nullable: false, api_name: "urlLifetimeInSeconds" + field :include_email_in_redirect, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "includeEmailInRedirect" + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/set_guardian_factor_duo_settings_response_content.rb b/lib/auth0/types/set_guardian_factor_duo_settings_response_content.rb index c01d60fb..d3c409f7 100644 --- a/lib/auth0/types/set_guardian_factor_duo_settings_response_content.rb +++ b/lib/auth0/types/set_guardian_factor_duo_settings_response_content.rb @@ -4,7 +4,9 @@ module Auth0 module Types class SetGuardianFactorDuoSettingsResponseContent < Internal::Types::Model field :ikey, -> { String }, optional: true, nullable: false + field :skey, -> { String }, optional: true, nullable: false + field :host, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/set_guardian_factor_phone_templates_response_content.rb b/lib/auth0/types/set_guardian_factor_phone_templates_response_content.rb index 332315f6..63187b4c 100644 --- a/lib/auth0/types/set_guardian_factor_phone_templates_response_content.rb +++ b/lib/auth0/types/set_guardian_factor_phone_templates_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class SetGuardianFactorPhoneTemplatesResponseContent < Internal::Types::Model field :enrollment_message, -> { String }, optional: false, nullable: false + field :verification_message, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/set_guardian_factor_sms_templates_response_content.rb b/lib/auth0/types/set_guardian_factor_sms_templates_response_content.rb index e837b928..4bfaff7a 100644 --- a/lib/auth0/types/set_guardian_factor_sms_templates_response_content.rb +++ b/lib/auth0/types/set_guardian_factor_sms_templates_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class SetGuardianFactorSmsTemplatesResponseContent < Internal::Types::Model field :enrollment_message, -> { String }, optional: false, nullable: false + field :verification_message, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/set_guardian_factors_provider_phone_twilio_response_content.rb b/lib/auth0/types/set_guardian_factors_provider_phone_twilio_response_content.rb index aea08611..bca08f80 100644 --- a/lib/auth0/types/set_guardian_factors_provider_phone_twilio_response_content.rb +++ b/lib/auth0/types/set_guardian_factors_provider_phone_twilio_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class SetGuardianFactorsProviderPhoneTwilioResponseContent < Internal::Types::Model field :from, -> { String }, optional: true, nullable: false + field :messaging_service_sid, -> { String }, optional: true, nullable: false + field :auth_token, -> { String }, optional: true, nullable: false + field :sid, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/set_guardian_factors_provider_push_notification_apns_response_content.rb b/lib/auth0/types/set_guardian_factors_provider_push_notification_apns_response_content.rb index ccf68323..d74b1037 100644 --- a/lib/auth0/types/set_guardian_factors_provider_push_notification_apns_response_content.rb +++ b/lib/auth0/types/set_guardian_factors_provider_push_notification_apns_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class SetGuardianFactorsProviderPushNotificationApnsResponseContent < Internal::Types::Model field :sandbox, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :bundle_id, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/set_guardian_factors_provider_push_notification_sns_response_content.rb b/lib/auth0/types/set_guardian_factors_provider_push_notification_sns_response_content.rb index f8260a77..e616076d 100644 --- a/lib/auth0/types/set_guardian_factors_provider_push_notification_sns_response_content.rb +++ b/lib/auth0/types/set_guardian_factors_provider_push_notification_sns_response_content.rb @@ -4,9 +4,13 @@ module Auth0 module Types class SetGuardianFactorsProviderPushNotificationSnsResponseContent < Internal::Types::Model field :aws_access_key_id, -> { String }, optional: true, nullable: false + field :aws_secret_access_key, -> { String }, optional: true, nullable: false + field :aws_region, -> { String }, optional: true, nullable: false + field :sns_apns_platform_application_arn, -> { String }, optional: true, nullable: false + field :sns_gcm_platform_application_arn, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/set_guardian_factors_provider_sms_twilio_response_content.rb b/lib/auth0/types/set_guardian_factors_provider_sms_twilio_response_content.rb index d36ef9ea..60409198 100644 --- a/lib/auth0/types/set_guardian_factors_provider_sms_twilio_response_content.rb +++ b/lib/auth0/types/set_guardian_factors_provider_sms_twilio_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class SetGuardianFactorsProviderSmsTwilioResponseContent < Internal::Types::Model field :from, -> { String }, optional: true, nullable: false + field :messaging_service_sid, -> { String }, optional: true, nullable: false + field :auth_token, -> { String }, optional: true, nullable: false + field :sid, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/set_network_acls_response_content.rb b/lib/auth0/types/set_network_acls_response_content.rb index 255d0faf..9f141ef7 100644 --- a/lib/auth0/types/set_network_acls_response_content.rb +++ b/lib/auth0/types/set_network_acls_response_content.rb @@ -4,11 +4,17 @@ module Auth0 module Types class SetNetworkACLsResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false + field :active, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :priority, -> { Integer }, optional: true, nullable: false + field :rule, -> { Auth0::Types::NetworkACLRule }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/set_rules_config_response_content.rb b/lib/auth0/types/set_rules_config_response_content.rb index a1259428..b8aaaf42 100644 --- a/lib/auth0/types/set_rules_config_response_content.rb +++ b/lib/auth0/types/set_rules_config_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class SetRulesConfigResponseContent < Internal::Types::Model field :key, -> { String }, optional: false, nullable: false + field :value, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/set_user_authentication_method_response_content.rb b/lib/auth0/types/set_user_authentication_method_response_content.rb index 359f5203..0fa9701f 100644 --- a/lib/auth0/types/set_user_authentication_method_response_content.rb +++ b/lib/auth0/types/set_user_authentication_method_response_content.rb @@ -5,17 +5,29 @@ module Types # The successfully created authentication method. class SetUserAuthenticationMethodResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :type, -> { Auth0::Types::CreatedAuthenticationMethodTypeEnum }, optional: false, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :totp_secret, -> { String }, optional: true, nullable: false + field :phone_number, -> { String }, optional: true, nullable: false + field :email, -> { String }, optional: true, nullable: false + field :authentication_methods, -> { Internal::Types::Array[Auth0::Types::UserAuthenticationMethodProperties] }, optional: true, nullable: false + field :preferred_authentication_method, -> { Auth0::Types::PreferredAuthenticationMethodEnum }, optional: true, nullable: false + field :key_id, -> { String }, optional: true, nullable: false + field :public_key, -> { String }, optional: true, nullable: false + field :aaguid, -> { String }, optional: true, nullable: false + field :relying_party_identifier, -> { String }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/set_user_authentication_methods.rb b/lib/auth0/types/set_user_authentication_methods.rb index e8e3a3bc..d431cd0e 100644 --- a/lib/auth0/types/set_user_authentication_methods.rb +++ b/lib/auth0/types/set_user_authentication_methods.rb @@ -4,10 +4,15 @@ module Auth0 module Types class SetUserAuthenticationMethods < Internal::Types::Model field :type, -> { Auth0::Types::AuthenticationTypeEnum }, optional: false, nullable: false + field :preferred_authentication_method, -> { Auth0::Types::PreferredAuthenticationMethodEnum }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :phone_number, -> { String }, optional: true, nullable: false + field :email, -> { String }, optional: true, nullable: false + field :totp_secret, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/signing_keys.rb b/lib/auth0/types/signing_keys.rb index 553f4ea7..2c6010ae 100644 --- a/lib/auth0/types/signing_keys.rb +++ b/lib/auth0/types/signing_keys.rb @@ -4,16 +4,27 @@ module Auth0 module Types class SigningKeys < Internal::Types::Model field :kid, -> { String }, optional: false, nullable: false + field :cert, -> { String }, optional: false, nullable: false + field :pkcs7, -> { String }, optional: true, nullable: false + field :current, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :next_, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "next" + field :previous, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :current_since, -> { Auth0::Types::SigningKeysDate }, optional: true, nullable: false + field :current_until, -> { Auth0::Types::SigningKeysDate }, optional: true, nullable: false + field :fingerprint, -> { String }, optional: false, nullable: false + field :thumbprint, -> { String }, optional: false, nullable: false + field :revoked, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :revoked_at, -> { Auth0::Types::SigningKeysDate }, optional: true, nullable: false end end diff --git a/lib/auth0/types/signing_keys_date.rb b/lib/auth0/types/signing_keys_date.rb index a1d9d8f9..32acbfa6 100644 --- a/lib/auth0/types/signing_keys_date.rb +++ b/lib/auth0/types/signing_keys_date.rb @@ -6,6 +6,7 @@ class SigningKeysDate < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { String } + member -> { Internal::Types::Hash[String, Object] } end end diff --git a/lib/auth0/types/signup_verified.rb b/lib/auth0/types/signup_verified.rb index 53e50ecc..032b5a7b 100644 --- a/lib/auth0/types/signup_verified.rb +++ b/lib/auth0/types/signup_verified.rb @@ -4,6 +4,7 @@ module Auth0 module Types class SignupVerified < Internal::Types::Model field :status, -> { Auth0::Types::SignupStatusEnum }, optional: true, nullable: false + field :verification, -> { Auth0::Types::SignupVerification }, optional: true, nullable: false end end diff --git a/lib/auth0/types/suspicious_ip_throttling_pre_login_stage.rb b/lib/auth0/types/suspicious_ip_throttling_pre_login_stage.rb index 472ec140..502a943d 100644 --- a/lib/auth0/types/suspicious_ip_throttling_pre_login_stage.rb +++ b/lib/auth0/types/suspicious_ip_throttling_pre_login_stage.rb @@ -5,6 +5,7 @@ module Types # Configuration options that apply before every login attempt. class SuspiciousIPThrottlingPreLoginStage < Internal::Types::Model field :max_attempts, -> { Integer }, optional: true, nullable: false + field :rate, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/suspicious_ip_throttling_pre_user_registration_stage.rb b/lib/auth0/types/suspicious_ip_throttling_pre_user_registration_stage.rb index b8a56edd..44a98b38 100644 --- a/lib/auth0/types/suspicious_ip_throttling_pre_user_registration_stage.rb +++ b/lib/auth0/types/suspicious_ip_throttling_pre_user_registration_stage.rb @@ -5,6 +5,7 @@ module Types # Configuration options that apply before every user registration attempt. class SuspiciousIPThrottlingPreUserRegistrationStage < Internal::Types::Model field :max_attempts, -> { Integer }, optional: true, nullable: false + field :rate, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/suspicious_ip_throttling_stage.rb b/lib/auth0/types/suspicious_ip_throttling_stage.rb index bb65295e..f8d70819 100644 --- a/lib/auth0/types/suspicious_ip_throttling_stage.rb +++ b/lib/auth0/types/suspicious_ip_throttling_stage.rb @@ -5,6 +5,7 @@ module Types # Holds per-stage configuration options (max_attempts and rate). class SuspiciousIPThrottlingStage < Internal::Types::Model field :pre_login, -> { Auth0::Types::SuspiciousIPThrottlingPreLoginStage }, optional: true, nullable: false, api_name: "pre-login" + field :pre_user_registration, -> { Auth0::Types::SuspiciousIPThrottlingPreUserRegistrationStage }, optional: true, nullable: false, api_name: "pre-user-registration" end end diff --git a/lib/auth0/types/tenant_settings_device_flow.rb b/lib/auth0/types/tenant_settings_device_flow.rb index 8a27592b..d94a8316 100644 --- a/lib/auth0/types/tenant_settings_device_flow.rb +++ b/lib/auth0/types/tenant_settings_device_flow.rb @@ -5,6 +5,7 @@ module Types # Device Flow configuration class TenantSettingsDeviceFlow < Internal::Types::Model field :charset, -> { Auth0::Types::TenantSettingsDeviceFlowCharset }, optional: true, nullable: false + field :mask, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/tenant_settings_error_page.rb b/lib/auth0/types/tenant_settings_error_page.rb index 8f72806b..f03edbdd 100644 --- a/lib/auth0/types/tenant_settings_error_page.rb +++ b/lib/auth0/types/tenant_settings_error_page.rb @@ -5,7 +5,9 @@ module Types # Error page customization. class TenantSettingsErrorPage < Internal::Types::Model field :html, -> { String }, optional: true, nullable: false + field :show_log_link, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :url, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/tenant_settings_flags.rb b/lib/auth0/types/tenant_settings_flags.rb index 4571e224..b70a0cc4 100644 --- a/lib/auth0/types/tenant_settings_flags.rb +++ b/lib/auth0/types/tenant_settings_flags.rb @@ -5,33 +5,61 @@ module Types # Flags used to change the behavior of this tenant. class TenantSettingsFlags < Internal::Types::Model field :change_pwd_flow_v1, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :enable_apis_section, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :disable_impersonation, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :enable_client_connections, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :enable_pipeline2, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :allow_legacy_delegation_grant_types, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :allow_legacy_ro_grant_types, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :allow_legacy_tokeninfo_endpoint, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :enable_legacy_profile, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :enable_idtoken_api2, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :enable_public_signup_user_exists_error, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :enable_sso, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :allow_changing_enable_sso, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :disable_clickjack_protection_headers, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :no_disclose_enterprise_connections, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :enforce_client_authentication_on_passwordless_start, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :enable_adfs_waad_email_verification, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :revoke_refresh_token_grant, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :dashboard_log_streams_next, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :dashboard_insights_view, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :disable_fields_map_fix, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :mfa_show_factor_list_on_enrollment, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :remove_alg_from_jwks, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :improved_signup_bot_detection_in_classic, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :genai_trial, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :enable_dynamic_client_registration, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :disable_management_api_sms_obfuscation, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :trust_azure_adfs_email_verified_connection_property, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :custom_domains_provisioning, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/tenant_settings_guardian_page.rb b/lib/auth0/types/tenant_settings_guardian_page.rb index 2cc928ab..81593950 100644 --- a/lib/auth0/types/tenant_settings_guardian_page.rb +++ b/lib/auth0/types/tenant_settings_guardian_page.rb @@ -5,6 +5,7 @@ module Types # Guardian page customization. class TenantSettingsGuardianPage < Internal::Types::Model field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :html, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/tenant_settings_password_page.rb b/lib/auth0/types/tenant_settings_password_page.rb index 6c0c2b35..5b0b94e1 100644 --- a/lib/auth0/types/tenant_settings_password_page.rb +++ b/lib/auth0/types/tenant_settings_password_page.rb @@ -5,6 +5,7 @@ module Types # Change Password page customization. class TenantSettingsPasswordPage < Internal::Types::Model field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :html, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/test_custom_domain_response_content.rb b/lib/auth0/types/test_custom_domain_response_content.rb index 9c79aa3f..2e796453 100644 --- a/lib/auth0/types/test_custom_domain_response_content.rb +++ b/lib/auth0/types/test_custom_domain_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class TestCustomDomainResponseContent < Internal::Types::Model field :success, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :message, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/token_exchange_profile_response_content.rb b/lib/auth0/types/token_exchange_profile_response_content.rb index 19456656..b8fc8797 100644 --- a/lib/auth0/types/token_exchange_profile_response_content.rb +++ b/lib/auth0/types/token_exchange_profile_response_content.rb @@ -4,11 +4,17 @@ module Auth0 module Types class TokenExchangeProfileResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :subject_token_type, -> { String }, optional: true, nullable: false + field :action_id, -> { String }, optional: true, nullable: false + field :type, -> { Auth0::Types::TokenExchangeProfileTypeEnum }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/token_quota_client_credentials.rb b/lib/auth0/types/token_quota_client_credentials.rb index 62cd85da..d4cdae3b 100644 --- a/lib/auth0/types/token_quota_client_credentials.rb +++ b/lib/auth0/types/token_quota_client_credentials.rb @@ -5,7 +5,9 @@ module Types # The token quota configuration class TokenQuotaClientCredentials < Internal::Types::Model field :enforce, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :per_day, -> { Integer }, optional: true, nullable: false + field :per_hour, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/too_many_requests_schema.rb b/lib/auth0/types/too_many_requests_schema.rb new file mode 100644 index 00000000..4a5291cc --- /dev/null +++ b/lib/auth0/types/too_many_requests_schema.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Too Many Requests + class TooManyRequestsSchema < Internal::Types::Model + field :message, -> { String }, optional: false, nullable: false + + field :status_code, -> { String }, optional: false, nullable: false, api_name: "statusCode" + + field :error, -> { Auth0::Types::TooManyRequestsSchemaError }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/too_many_requests_schema_error.rb b/lib/auth0/types/too_many_requests_schema_error.rb new file mode 100644 index 00000000..8aaa58c0 --- /dev/null +++ b/lib/auth0/types/too_many_requests_schema_error.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module TooManyRequestsSchemaError + extend Auth0::Internal::Types::Enum + + TOO_MANY_REQUESTS = "Too Many Requests" + end + end +end diff --git a/lib/auth0/types/twilio_provider_configuration.rb b/lib/auth0/types/twilio_provider_configuration.rb index 5b371e01..33ebceb8 100644 --- a/lib/auth0/types/twilio_provider_configuration.rb +++ b/lib/auth0/types/twilio_provider_configuration.rb @@ -4,8 +4,11 @@ module Auth0 module Types class TwilioProviderConfiguration < Internal::Types::Model field :default_from, -> { String }, optional: true, nullable: false + field :mssid, -> { String }, optional: true, nullable: false + field :sid, -> { String }, optional: false, nullable: false + field :delivery_methods, -> { Internal::Types::Array[Auth0::Types::TwilioProviderDeliveryMethodEnum] }, optional: false, nullable: false end end diff --git a/lib/auth0/types/unauthorized_schema.rb b/lib/auth0/types/unauthorized_schema.rb new file mode 100644 index 00000000..0221ea15 --- /dev/null +++ b/lib/auth0/types/unauthorized_schema.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Unauthorized + class UnauthorizedSchema < Internal::Types::Model + field :message, -> { String }, optional: false, nullable: false + + field :status_code, -> { String }, optional: false, nullable: false, api_name: "statusCode" + + field :error, -> { Auth0::Types::UnauthorizedSchemaError }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/unauthorized_schema_error.rb b/lib/auth0/types/unauthorized_schema_error.rb new file mode 100644 index 00000000..6319dd26 --- /dev/null +++ b/lib/auth0/types/unauthorized_schema_error.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module UnauthorizedSchemaError + extend Auth0::Internal::Types::Enum + + UNAUTHORIZED = "Unauthorized" + end + end +end diff --git a/lib/auth0/types/update_action_module_response_content.rb b/lib/auth0/types/update_action_module_response_content.rb index 59d28a59..5079a9fe 100644 --- a/lib/auth0/types/update_action_module_response_content.rb +++ b/lib/auth0/types/update_action_module_response_content.rb @@ -4,15 +4,25 @@ module Auth0 module Types class UpdateActionModuleResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :code, -> { String }, optional: true, nullable: false + field :dependencies, -> { Internal::Types::Array[Auth0::Types::ActionModuleDependency] }, optional: true, nullable: false + field :secrets, -> { Internal::Types::Array[Auth0::Types::ActionModuleSecret] }, optional: true, nullable: false + field :actions_using_module_total, -> { Integer }, optional: true, nullable: false + field :all_changes_published, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :latest_version_number, -> { Integer }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false + field :latest_version, -> { Auth0::Types::ActionModuleVersionReference }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_action_response_content.rb b/lib/auth0/types/update_action_response_content.rb index 173d0b03..5e5be71e 100644 --- a/lib/auth0/types/update_action_response_content.rb +++ b/lib/auth0/types/update_action_response_content.rb @@ -4,21 +4,37 @@ module Auth0 module Types class UpdateActionResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :supported_triggers, -> { Internal::Types::Array[Auth0::Types::ActionTrigger] }, optional: true, nullable: false + field :all_changes_deployed, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false + field :code, -> { String }, optional: true, nullable: false + field :dependencies, -> { Internal::Types::Array[Auth0::Types::ActionVersionDependency] }, optional: true, nullable: false + field :runtime, -> { String }, optional: true, nullable: false + field :secrets, -> { Internal::Types::Array[Auth0::Types::ActionSecretResponse] }, optional: true, nullable: false + field :deployed_version, -> { Auth0::Types::ActionDeployedVersion }, optional: true, nullable: false + field :installed_integration_id, -> { String }, optional: true, nullable: false + field :integration, -> { Auth0::Types::Integration }, optional: true, nullable: false + field :status, -> { Auth0::Types::ActionBuildStatusEnum }, optional: true, nullable: false + field :built_at, -> { String }, optional: true, nullable: false + field :deploy, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :modules, -> { Internal::Types::Array[Auth0::Types::ActionModuleReference] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_acul_response_content.rb b/lib/auth0/types/update_acul_response_content.rb index 79e6815d..a331d9d8 100644 --- a/lib/auth0/types/update_acul_response_content.rb +++ b/lib/auth0/types/update_acul_response_content.rb @@ -4,10 +4,15 @@ module Auth0 module Types class UpdateAculResponseContent < Internal::Types::Model field :rendering_mode, -> { Auth0::Types::AculRenderingModeEnum }, optional: true, nullable: false + field :context_configuration, -> { Internal::Types::Array[Auth0::Types::AculContextConfigurationItem] }, optional: true, nullable: false + field :default_head_tags_disabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :use_page_template, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :head_tags, -> { Internal::Types::Array[Auth0::Types::AculHeadTag] }, optional: true, nullable: false + field :filters, -> { Auth0::Types::AculFilters }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_attack_protection_captcha_response_content.rb b/lib/auth0/types/update_attack_protection_captcha_response_content.rb index 8f5d97a3..a28aef35 100644 --- a/lib/auth0/types/update_attack_protection_captcha_response_content.rb +++ b/lib/auth0/types/update_attack_protection_captcha_response_content.rb @@ -4,12 +4,19 @@ module Auth0 module Types class UpdateAttackProtectionCaptchaResponseContent < Internal::Types::Model field :active_provider_id, -> { String }, optional: true, nullable: false + field :arkose, -> { Auth0::Types::AttackProtectionCaptchaArkoseResponseContent }, optional: true, nullable: false + field :auth_challenge, -> { Auth0::Types::AttackProtectionCaptchaAuthChallengeResponseContent }, optional: true, nullable: false + field :hcaptcha, -> { Auth0::Types::AttackProtectionCaptchaHcaptchaResponseContent }, optional: true, nullable: false + field :friendly_captcha, -> { Auth0::Types::AttackProtectionCaptchaFriendlyCaptchaResponseContent }, optional: true, nullable: false + field :recaptcha_enterprise, -> { Auth0::Types::AttackProtectionCaptchaRecaptchaEnterpriseResponseContent }, optional: true, nullable: false + field :recaptcha_v2, -> { Auth0::Types::AttackProtectionCaptchaRecaptchaV2ResponseContent }, optional: true, nullable: false + field :simple_captcha, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_bot_detection_settings_response_content.rb b/lib/auth0/types/update_bot_detection_settings_response_content.rb index a7ba170b..392a480c 100644 --- a/lib/auth0/types/update_bot_detection_settings_response_content.rb +++ b/lib/auth0/types/update_bot_detection_settings_response_content.rb @@ -4,10 +4,15 @@ module Auth0 module Types class UpdateBotDetectionSettingsResponseContent < Internal::Types::Model field :bot_detection_level, -> { Auth0::Types::BotDetectionLevelEnum }, optional: true, nullable: false + field :challenge_password_policy, -> { Auth0::Types::BotDetectionChallengePolicyPasswordFlowEnum }, optional: true, nullable: false + field :challenge_passwordless_policy, -> { Auth0::Types::BotDetectionChallengePolicyPasswordlessFlowEnum }, optional: true, nullable: false + field :challenge_password_reset_policy, -> { Auth0::Types::BotDetectionChallengePolicyPasswordResetFlowEnum }, optional: true, nullable: false + field :allowlist, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :monitoring_mode_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_branding_colors.rb b/lib/auth0/types/update_branding_colors.rb index 79966e98..198be29c 100644 --- a/lib/auth0/types/update_branding_colors.rb +++ b/lib/auth0/types/update_branding_colors.rb @@ -5,6 +5,7 @@ module Types # Custom color settings. class UpdateBrandingColors < Internal::Types::Model field :primary, -> { String }, optional: true, nullable: false + field :page_background, -> { Auth0::Types::UpdateBrandingPageBackground }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_branding_identifiers.rb b/lib/auth0/types/update_branding_identifiers.rb new file mode 100644 index 00000000..5eceead0 --- /dev/null +++ b/lib/auth0/types/update_branding_identifiers.rb @@ -0,0 +1,14 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Identifier input display settings. + class UpdateBrandingIdentifiers < Internal::Types::Model + field :login_display, -> { Auth0::Types::UpdateBrandingLoginDisplayEnum }, optional: true, nullable: false + + field :otp_autocomplete, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :phone_display, -> { Auth0::Types::UpdateBrandingPhoneDisplay }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/update_branding_login_display_enum.rb b/lib/auth0/types/update_branding_login_display_enum.rb new file mode 100644 index 00000000..4d4a5328 --- /dev/null +++ b/lib/auth0/types/update_branding_login_display_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module UpdateBrandingLoginDisplayEnum + extend Auth0::Internal::Types::Enum + + UNIFIED = "unified" + SEPARATE = "separate" + end + end +end diff --git a/lib/auth0/types/update_branding_page_background.rb b/lib/auth0/types/update_branding_page_background.rb index 1d1e17ab..5167fcbb 100644 --- a/lib/auth0/types/update_branding_page_background.rb +++ b/lib/auth0/types/update_branding_page_background.rb @@ -3,21 +3,21 @@ module Auth0 module Types # Page Background Color or Gradient. - # Property contains either null to unset, a solid color as a string value #FFFFFF, or a - # gradient as an object. + # Property contains either `null` to unset, a solid color as a string value `#FFFFFF`, or a gradient as an object. # - #

+    # ```js
     # {
     #   type: 'linear-gradient',
     #   start: '#FFFFFF',
     #   end: '#000000',
     #   angle_deg: 35
     # }
-    # 
+ # ``` class UpdateBrandingPageBackground < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { String } + member -> { Internal::Types::Hash[String, Object] } end end diff --git a/lib/auth0/types/update_branding_phone_display.rb b/lib/auth0/types/update_branding_phone_display.rb new file mode 100644 index 00000000..81e6e9b8 --- /dev/null +++ b/lib/auth0/types/update_branding_phone_display.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + # Phone number display settings. + class UpdateBrandingPhoneDisplay < Internal::Types::Model + field :masking, -> { Auth0::Types::UpdateBrandingPhoneMaskingEnum }, optional: false, nullable: false + + field :formatting, -> { Auth0::Types::UpdateBrandingPhoneFormattingEnum }, optional: false, nullable: false + end + end +end diff --git a/lib/auth0/types/update_branding_phone_formatting_enum.rb b/lib/auth0/types/update_branding_phone_formatting_enum.rb new file mode 100644 index 00000000..57075e64 --- /dev/null +++ b/lib/auth0/types/update_branding_phone_formatting_enum.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module UpdateBrandingPhoneFormattingEnum + extend Auth0::Internal::Types::Enum + + REGIONAL = "regional" + INTERNATIONAL = "international" + end + end +end diff --git a/lib/auth0/types/update_branding_phone_masking_enum.rb b/lib/auth0/types/update_branding_phone_masking_enum.rb new file mode 100644 index 00000000..88d13c45 --- /dev/null +++ b/lib/auth0/types/update_branding_phone_masking_enum.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Auth0 + module Types + module UpdateBrandingPhoneMaskingEnum + extend Auth0::Internal::Types::Enum + + SHOW_ALL = "show_all" + HIDE_COUNTRY_CODE = "hide_country_code" + MASK_DIGITS = "mask_digits" + end + end +end diff --git a/lib/auth0/types/update_branding_phone_provider_response_content.rb b/lib/auth0/types/update_branding_phone_provider_response_content.rb index b53a97df..8afde58a 100644 --- a/lib/auth0/types/update_branding_phone_provider_response_content.rb +++ b/lib/auth0/types/update_branding_phone_provider_response_content.rb @@ -5,12 +5,19 @@ module Types # Phone provider configuration schema class UpdateBrandingPhoneProviderResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :tenant, -> { String }, optional: true, nullable: false + field :name, -> { Auth0::Types::PhoneProviderNameEnum }, optional: false, nullable: false + field :channel, -> { Auth0::Types::PhoneProviderChannelEnum }, optional: true, nullable: false + field :disabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :configuration, -> { Auth0::Types::PhoneProviderConfiguration }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_branding_response_content.rb b/lib/auth0/types/update_branding_response_content.rb index 8dcc10cb..234cfdab 100644 --- a/lib/auth0/types/update_branding_response_content.rb +++ b/lib/auth0/types/update_branding_response_content.rb @@ -4,8 +4,13 @@ module Auth0 module Types class UpdateBrandingResponseContent < Internal::Types::Model field :colors, -> { Auth0::Types::BrandingColors }, optional: true, nullable: false + field :favicon_url, -> { String }, optional: true, nullable: false + field :logo_url, -> { String }, optional: true, nullable: false + + field :identifiers, -> { Auth0::Types::BrandingIdentifiers }, optional: true, nullable: false + field :font, -> { Auth0::Types::BrandingFont }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_branding_theme_response_content.rb b/lib/auth0/types/update_branding_theme_response_content.rb index a0c13bda..9fd1be0e 100644 --- a/lib/auth0/types/update_branding_theme_response_content.rb +++ b/lib/auth0/types/update_branding_theme_response_content.rb @@ -4,11 +4,17 @@ module Auth0 module Types class UpdateBrandingThemeResponseContent < Internal::Types::Model field :borders, -> { Auth0::Types::BrandingThemeBorders }, optional: false, nullable: false + field :colors, -> { Auth0::Types::BrandingThemeColors }, optional: false, nullable: false + field :display_name, -> { String }, optional: false, nullable: false, api_name: "displayName" + field :fonts, -> { Auth0::Types::BrandingThemeFonts }, optional: false, nullable: false + field :page_background, -> { Auth0::Types::BrandingThemePageBackground }, optional: false, nullable: false + field :theme_id, -> { String }, optional: false, nullable: false, api_name: "themeId" + field :widget, -> { Auth0::Types::BrandingThemeWidget }, optional: false, nullable: false end end diff --git a/lib/auth0/types/update_breached_password_detection_settings_response_content.rb b/lib/auth0/types/update_breached_password_detection_settings_response_content.rb index 2de7beb7..7210384f 100644 --- a/lib/auth0/types/update_breached_password_detection_settings_response_content.rb +++ b/lib/auth0/types/update_breached_password_detection_settings_response_content.rb @@ -4,9 +4,13 @@ module Auth0 module Types class UpdateBreachedPasswordDetectionSettingsResponseContent < Internal::Types::Model field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :shields, -> { Internal::Types::Array[Auth0::Types::BreachedPasswordDetectionShieldsEnum] }, optional: true, nullable: false + field :admin_notification_frequency, -> { Internal::Types::Array[Auth0::Types::BreachedPasswordDetectionAdminNotificationFrequencyEnum] }, optional: true, nullable: false + field :method_, -> { Auth0::Types::BreachedPasswordDetectionMethodEnum }, optional: true, nullable: false, api_name: "method" + field :stage, -> { Auth0::Types::BreachedPasswordDetectionStage }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_brute_force_settings_response_content.rb b/lib/auth0/types/update_brute_force_settings_response_content.rb index 2fbf351d..23efb7cc 100644 --- a/lib/auth0/types/update_brute_force_settings_response_content.rb +++ b/lib/auth0/types/update_brute_force_settings_response_content.rb @@ -4,9 +4,13 @@ module Auth0 module Types class UpdateBruteForceSettingsResponseContent < Internal::Types::Model field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :shields, -> { Internal::Types::Array[Auth0::Types::BruteForceProtectionShieldsEnum] }, optional: true, nullable: false + field :allowlist, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :mode, -> { Auth0::Types::BruteForceProtectionModeEnum }, optional: true, nullable: false + field :max_attempts, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_client_grant_response_content.rb b/lib/auth0/types/update_client_grant_response_content.rb index de04ccb8..404c54d8 100644 --- a/lib/auth0/types/update_client_grant_response_content.rb +++ b/lib/auth0/types/update_client_grant_response_content.rb @@ -4,15 +4,25 @@ module Auth0 module Types class UpdateClientGrantResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false + field :audience, -> { String }, optional: true, nullable: false + field :scope, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :organization_usage, -> { Auth0::Types::ClientGrantOrganizationUsageEnum }, optional: true, nullable: false + field :allow_any_organization, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :default_for, -> { Auth0::Types::ClientGrantDefaultForEnum }, optional: true, nullable: false + field :is_system, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :subject_type, -> { Auth0::Types::ClientGrantSubjectTypeEnum }, optional: true, nullable: false + field :authorization_details_types, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :allow_all_scopes, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_client_response_content.rb b/lib/auth0/types/update_client_response_content.rb index bd635562..8bbe4863 100644 --- a/lib/auth0/types/update_client_response_content.rb +++ b/lib/auth0/types/update_client_response_content.rb @@ -4,64 +4,123 @@ module Auth0 module Types class UpdateClientResponseContent < Internal::Types::Model field :client_id, -> { String }, optional: true, nullable: false + field :tenant, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false + field :global, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :client_secret, -> { String }, optional: true, nullable: false + field :app_type, -> { Auth0::Types::ClientAppTypeEnum }, optional: true, nullable: false + field :logo_uri, -> { String }, optional: true, nullable: false + field :is_first_party, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :oidc_conformant, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :callbacks, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :allowed_origins, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :web_origins, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :client_aliases, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :allowed_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :allowed_logout_urls, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :session_transfer, -> { Auth0::Types::ClientSessionTransferConfiguration }, optional: true, nullable: false + field :oidc_logout, -> { Auth0::Types::ClientOidcBackchannelLogoutSettings }, optional: true, nullable: false + field :grant_types, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :jwt_configuration, -> { Auth0::Types::ClientJwtConfiguration }, optional: true, nullable: false + field :signing_keys, -> { Internal::Types::Array[Auth0::Types::ClientSigningKey] }, optional: true, nullable: false + field :encryption_key, -> { Auth0::Types::ClientEncryptionKey }, optional: true, nullable: false + field :sso, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sso_disabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :cross_origin_authentication, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :cross_origin_loc, -> { String }, optional: true, nullable: false + field :custom_login_page_on, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :custom_login_page, -> { String }, optional: true, nullable: false + field :custom_login_page_preview, -> { String }, optional: true, nullable: false + field :form_template, -> { String }, optional: true, nullable: false + field :addons, -> { Auth0::Types::ClientAddons }, optional: true, nullable: false + field :token_endpoint_auth_method, -> { Auth0::Types::ClientTokenEndpointAuthMethodEnum }, optional: true, nullable: false + field :is_token_endpoint_ip_header_trusted, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :client_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :mobile, -> { Auth0::Types::ClientMobile }, optional: true, nullable: false + field :initiate_login_uri, -> { String }, optional: true, nullable: false + field :refresh_token, -> { Auth0::Types::ClientRefreshTokenConfiguration }, optional: true, nullable: false + field :default_organization, -> { Auth0::Types::ClientDefaultOrganization }, optional: true, nullable: false + field :organization_usage, -> { Auth0::Types::ClientOrganizationUsageEnum }, optional: true, nullable: false + field :organization_require_behavior, -> { Auth0::Types::ClientOrganizationRequireBehaviorEnum }, optional: true, nullable: false + field :organization_discovery_methods, -> { Internal::Types::Array[Auth0::Types::ClientOrganizationDiscoveryEnum] }, optional: true, nullable: false + field :client_authentication_methods, -> { Auth0::Types::ClientAuthenticationMethod }, optional: true, nullable: false + field :require_pushed_authorization_requests, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :require_proof_of_possession, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :signed_request_object, -> { Auth0::Types::ClientSignedRequestObjectWithCredentialID }, optional: true, nullable: false + field :compliance_level, -> { Auth0::Types::ClientComplianceLevelEnum }, optional: true, nullable: false + field :skip_non_verifiable_callback_uri_confirmation_prompt, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :token_exchange, -> { Auth0::Types::ClientTokenExchangeConfiguration }, optional: true, nullable: false + field :par_request_expiry, -> { Integer }, optional: true, nullable: false + field :token_quota, -> { Auth0::Types::TokenQuota }, optional: true, nullable: false + field :express_configuration, -> { Auth0::Types::ExpressConfiguration }, optional: true, nullable: false + field :my_organization_configuration, -> { Auth0::Types::ClientMyOrganizationResponseConfiguration }, optional: true, nullable: false + field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false + field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false + field :resource_server_identifier, -> { String }, optional: true, nullable: false + field :async_approval_notification_channels, -> { Internal::Types::Array[Auth0::Types::AsyncApprovalNotificationsChannelsEnum] }, optional: true, nullable: false + field :external_metadata_type, -> { Auth0::Types::ClientExternalMetadataTypeEnum }, optional: true, nullable: false + field :external_metadata_created_by, -> { Auth0::Types::ClientExternalMetadataCreatedByEnum }, optional: true, nullable: false + field :external_client_id, -> { String }, optional: true, nullable: false + field :jwks_uri, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_connection_options.rb b/lib/auth0/types/update_connection_options.rb index 9519119e..672c6b79 100644 --- a/lib/auth0/types/update_connection_options.rb +++ b/lib/auth0/types/update_connection_options.rb @@ -8,36 +8,76 @@ module Types # object. class UpdateConnectionOptions < Internal::Types::Model field :validation, -> { Auth0::Types::ConnectionValidationOptions }, optional: true, nullable: false + field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :precedence, -> { Internal::Types::Array[Auth0::Types::ConnectionIdentifierPrecedenceEnum] }, optional: true, nullable: false + field :attributes, -> { Auth0::Types::ConnectionAttributes }, optional: true, nullable: false + field :enable_script_context, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :enabled_database_customization, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "enabledDatabaseCustomization" + field :import_mode, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :configuration, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false + field :custom_scripts, -> { Auth0::Types::ConnectionCustomScripts }, optional: true, nullable: false, api_name: "customScripts" + field :authentication_methods, -> { Auth0::Types::ConnectionAuthenticationMethods }, optional: true, nullable: false + field :passkey_options, -> { Auth0::Types::ConnectionPasskeyOptions }, optional: true, nullable: false + field :password_policy, -> { Auth0::Types::ConnectionPasswordPolicyEnum }, optional: true, nullable: false, api_name: "passwordPolicy" + field :password_complexity_options, -> { Auth0::Types::ConnectionPasswordComplexityOptions }, optional: true, nullable: false + field :password_history, -> { Auth0::Types::ConnectionPasswordHistoryOptions }, optional: true, nullable: false + field :password_no_personal_info, -> { Auth0::Types::ConnectionPasswordNoPersonalInfoOptions }, optional: true, nullable: false + field :password_dictionary, -> { Auth0::Types::ConnectionPasswordDictionaryOptions }, optional: true, nullable: false + field :api_enable_users, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :api_enable_groups, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :basic_profile, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_admin, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_is_suspended, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_agreed_terms, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_groups, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_assigned_plans, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :ext_profile, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :disable_self_service_change_password, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false + field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false + field :gateway_authentication, -> { Auth0::Types::ConnectionGatewayAuthentication }, optional: true, nullable: false + field :federated_connections_access_tokens, -> { Auth0::Types::ConnectionFederatedConnectionsAccessTokens }, optional: true, nullable: false + field :password_options, -> { Auth0::Types::ConnectionPasswordOptions }, optional: true, nullable: false + + field :assertion_decryption_settings, -> { Auth0::Types::ConnectionAssertionDecryptionSettings }, optional: true, nullable: false + + field :id_token_signed_response_algs, -> { Internal::Types::Array[Auth0::Types::ConnectionIDTokenSignedResponseAlgEnum] }, optional: true, nullable: false + + field :token_endpoint_auth_method, -> { Auth0::Types::ConnectionTokenEndpointAuthMethodEnum }, optional: true, nullable: false + + field :token_endpoint_auth_signing_alg, -> { Auth0::Types::ConnectionTokenEndpointAuthSigningAlgEnum }, optional: true, nullable: false + + field :token_endpoint_jwtca_aud_format, -> { Auth0::Types::ConnectionTokenEndpointJwtcaAudFormatEnumOidc }, optional: true, nullable: false end end end diff --git a/lib/auth0/types/update_connection_profile_response_content.rb b/lib/auth0/types/update_connection_profile_response_content.rb index 55a93938..7b45712b 100644 --- a/lib/auth0/types/update_connection_profile_response_content.rb +++ b/lib/auth0/types/update_connection_profile_response_content.rb @@ -4,11 +4,17 @@ module Auth0 module Types class UpdateConnectionProfileResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :organization, -> { Auth0::Types::ConnectionProfileOrganization }, optional: true, nullable: false + field :connection_name_prefix_template, -> { String }, optional: true, nullable: false + field :enabled_features, -> { Internal::Types::Array[Auth0::Types::EnabledFeaturesEnum] }, optional: true, nullable: false + field :connection_config, -> { Auth0::Types::ConnectionProfileConfig }, optional: true, nullable: false + field :strategy_overrides, -> { Auth0::Types::ConnectionProfileStrategyOverrides }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_connection_request_content_adfs.rb b/lib/auth0/types/update_connection_request_content_adfs.rb index 7461b8b7..0f8b034b 100644 --- a/lib/auth0/types/update_connection_request_content_adfs.rb +++ b/lib/auth0/types/update_connection_request_content_adfs.rb @@ -5,6 +5,7 @@ module Types # Update a connection with strategy=adfs class UpdateConnectionRequestContentAdfs < Internal::Types::Model field :options, -> { Auth0::Types::ConnectionOptionsAdfs }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_connection_request_content_auth0.rb b/lib/auth0/types/update_connection_request_content_auth0.rb index a4f61608..b5d4d953 100644 --- a/lib/auth0/types/update_connection_request_content_auth0.rb +++ b/lib/auth0/types/update_connection_request_content_auth0.rb @@ -5,6 +5,7 @@ module Types # Update a connection with strategy=auth0 class UpdateConnectionRequestContentAuth0 < Internal::Types::Model field :options, -> { Auth0::Types::ConnectionOptionsAuth0 }, optional: true, nullable: false + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_connection_request_content_azure_ad.rb b/lib/auth0/types/update_connection_request_content_azure_ad.rb index 6e55e3e4..54323a9e 100644 --- a/lib/auth0/types/update_connection_request_content_azure_ad.rb +++ b/lib/auth0/types/update_connection_request_content_azure_ad.rb @@ -5,6 +5,7 @@ module Types # Update a connection with strategy=waad class UpdateConnectionRequestContentAzureAd < Internal::Types::Model field :options, -> { Auth0::Types::ConnectionOptionsAzureAd }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_connection_request_content_google_apps.rb b/lib/auth0/types/update_connection_request_content_google_apps.rb index 15801e21..2f96b729 100644 --- a/lib/auth0/types/update_connection_request_content_google_apps.rb +++ b/lib/auth0/types/update_connection_request_content_google_apps.rb @@ -5,6 +5,7 @@ module Types # Update a connection with strategy=google-apps class UpdateConnectionRequestContentGoogleApps < Internal::Types::Model field :options, -> { Auth0::Types::ConnectionOptionsGoogleApps }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_connection_request_content_ip.rb b/lib/auth0/types/update_connection_request_content_ip.rb index f2f1e5b4..d91101c1 100644 --- a/lib/auth0/types/update_connection_request_content_ip.rb +++ b/lib/auth0/types/update_connection_request_content_ip.rb @@ -5,6 +5,7 @@ module Types # Update a connection with strategy=ip class UpdateConnectionRequestContentIP < Internal::Types::Model field :options, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_connection_request_content_office365.rb b/lib/auth0/types/update_connection_request_content_office365.rb index 4dd35695..59033cf4 100644 --- a/lib/auth0/types/update_connection_request_content_office365.rb +++ b/lib/auth0/types/update_connection_request_content_office365.rb @@ -5,6 +5,7 @@ module Types # Update a connection with strategy=office365 class UpdateConnectionRequestContentOffice365 < Internal::Types::Model field :options, -> { Auth0::Types::ConnectionOptionsOffice365 }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_connection_request_content_oidc.rb b/lib/auth0/types/update_connection_request_content_oidc.rb index 0814a83b..86d7c39c 100644 --- a/lib/auth0/types/update_connection_request_content_oidc.rb +++ b/lib/auth0/types/update_connection_request_content_oidc.rb @@ -5,8 +5,11 @@ module Types # Update a connection with strategy=oidc class UpdateConnectionRequestContentOidc < Internal::Types::Model field :options, -> { Auth0::Types::ConnectionOptionsOidc }, optional: true, nullable: false + field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false + field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurposeXaa }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_connection_request_content_okta.rb b/lib/auth0/types/update_connection_request_content_okta.rb index 7c338dbb..58544a6e 100644 --- a/lib/auth0/types/update_connection_request_content_okta.rb +++ b/lib/auth0/types/update_connection_request_content_okta.rb @@ -5,6 +5,7 @@ module Types # Update a connection with strategy=okta class UpdateConnectionRequestContentOkta < Internal::Types::Model field :options, -> { Auth0::Types::ConnectionOptionsOkta }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_connection_request_content_ping_federate.rb b/lib/auth0/types/update_connection_request_content_ping_federate.rb index 0d3b5e90..8b24cc1c 100644 --- a/lib/auth0/types/update_connection_request_content_ping_federate.rb +++ b/lib/auth0/types/update_connection_request_content_ping_federate.rb @@ -5,6 +5,7 @@ module Types # Update a connection with strategy=pingfederate class UpdateConnectionRequestContentPingFederate < Internal::Types::Model field :options, -> { Auth0::Types::ConnectionOptionsPingFederate }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_connection_request_content_saml.rb b/lib/auth0/types/update_connection_request_content_saml.rb index b36385e2..0c2bd4ab 100644 --- a/lib/auth0/types/update_connection_request_content_saml.rb +++ b/lib/auth0/types/update_connection_request_content_saml.rb @@ -5,6 +5,7 @@ module Types # Update a connection with strategy=samlp class UpdateConnectionRequestContentSAML < Internal::Types::Model field :options, -> { Auth0::Types::ConnectionOptionsSAML }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_connection_request_content_sharepoint.rb b/lib/auth0/types/update_connection_request_content_sharepoint.rb index 2b0ca393..10120b4a 100644 --- a/lib/auth0/types/update_connection_request_content_sharepoint.rb +++ b/lib/auth0/types/update_connection_request_content_sharepoint.rb @@ -5,6 +5,7 @@ module Types # Update a connection with strategy=sharepoint class UpdateConnectionRequestContentSharepoint < Internal::Types::Model field :options, -> { Auth0::Types::ConnectionOptionsSharepoint }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_connection_response_content.rb b/lib/auth0/types/update_connection_response_content.rb index bae2ac84..c6953f5f 100644 --- a/lib/auth0/types/update_connection_response_content.rb +++ b/lib/auth0/types/update_connection_response_content.rb @@ -4,16 +4,27 @@ module Auth0 module Types class UpdateConnectionResponseContent < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :display_name, -> { String }, optional: true, nullable: false + field :options, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :id, -> { String }, optional: true, nullable: false + field :strategy, -> { String }, optional: true, nullable: false + field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false + field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false + field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_custom_domain_response_content.rb b/lib/auth0/types/update_custom_domain_response_content.rb index 6bb813a2..6b64df62 100644 --- a/lib/auth0/types/update_custom_domain_response_content.rb +++ b/lib/auth0/types/update_custom_domain_response_content.rb @@ -4,16 +4,27 @@ module Auth0 module Types class UpdateCustomDomainResponseContent < Internal::Types::Model field :custom_domain_id, -> { String }, optional: false, nullable: false + field :domain, -> { String }, optional: false, nullable: false + field :primary, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :is_default, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :status, -> { Auth0::Types::CustomDomainStatusFilterEnum }, optional: false, nullable: false + field :type, -> { Auth0::Types::CustomDomainTypeEnum }, optional: false, nullable: false + field :verification, -> { Auth0::Types::DomainVerification }, optional: false, nullable: false + field :custom_client_ip_header, -> { String }, optional: true, nullable: false + field :tls_policy, -> { String }, optional: true, nullable: false + field :domain_metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false + field :certificate, -> { Auth0::Types::DomainCertificate }, optional: true, nullable: false + field :relying_party_identifier, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_default_custom_domain_response_content.rb b/lib/auth0/types/update_default_custom_domain_response_content.rb index 605844b5..f7718a51 100644 --- a/lib/auth0/types/update_default_custom_domain_response_content.rb +++ b/lib/auth0/types/update_default_custom_domain_response_content.rb @@ -4,17 +4,29 @@ module Auth0 module Types class UpdateDefaultCustomDomainResponseContent < Internal::Types::Model field :custom_domain_id, -> { String }, optional: false, nullable: false + field :domain, -> { String }, optional: false, nullable: false + field :primary, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :is_default, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :status, -> { Auth0::Types::CustomDomainStatusFilterEnum }, optional: false, nullable: false + field :type, -> { Auth0::Types::CustomDomainTypeEnum }, optional: false, nullable: false + field :origin_domain_name, -> { String }, optional: true, nullable: false + field :verification, -> { Auth0::Types::DomainVerification }, optional: true, nullable: false + field :custom_client_ip_header, -> { String }, optional: true, nullable: false + field :tls_policy, -> { String }, optional: true, nullable: false + field :domain_metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false + field :certificate, -> { Auth0::Types::DomainCertificate }, optional: true, nullable: false + field :relying_party_identifier, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_default_domain_response_content.rb b/lib/auth0/types/update_default_domain_response_content.rb index 04f10582..f2e00bb4 100644 --- a/lib/auth0/types/update_default_domain_response_content.rb +++ b/lib/auth0/types/update_default_domain_response_content.rb @@ -6,6 +6,7 @@ class UpdateDefaultDomainResponseContent < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::UpdateDefaultCustomDomainResponseContent } + member -> { Auth0::Types::UpdateDefaultCanonicalDomainResponseContent } end end diff --git a/lib/auth0/types/update_directory_provisioning_request_content.rb b/lib/auth0/types/update_directory_provisioning_request_content.rb index 21bafb3d..4fd57bc9 100644 --- a/lib/auth0/types/update_directory_provisioning_request_content.rb +++ b/lib/auth0/types/update_directory_provisioning_request_content.rb @@ -4,7 +4,9 @@ module Auth0 module Types class UpdateDirectoryProvisioningRequestContent < Internal::Types::Model field :mapping, -> { Internal::Types::Array[Auth0::Types::DirectoryProvisioningMappingItem] }, optional: true, nullable: false + field :synchronize_automatically, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :synchronize_groups, -> { Auth0::Types::SynchronizeGroupsEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_directory_provisioning_response_content.rb b/lib/auth0/types/update_directory_provisioning_response_content.rb index c4421270..34bb2e86 100644 --- a/lib/auth0/types/update_directory_provisioning_response_content.rb +++ b/lib/auth0/types/update_directory_provisioning_response_content.rb @@ -4,15 +4,25 @@ module Auth0 module Types class UpdateDirectoryProvisioningResponseContent < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :connection_name, -> { String }, optional: false, nullable: false + field :strategy, -> { String }, optional: false, nullable: false + field :mapping, -> { Internal::Types::Array[Auth0::Types::DirectoryProvisioningMappingItem] }, optional: false, nullable: false + field :synchronize_automatically, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :synchronize_groups, -> { Auth0::Types::SynchronizeGroupsEnum }, optional: true, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :updated_at, -> { String }, optional: false, nullable: false + field :last_synchronization_at, -> { String }, optional: true, nullable: false + field :last_synchronization_status, -> { String }, optional: true, nullable: false + field :last_synchronization_error, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_email_provider_response_content.rb b/lib/auth0/types/update_email_provider_response_content.rb index efc7ba1a..d770f6fc 100644 --- a/lib/auth0/types/update_email_provider_response_content.rb +++ b/lib/auth0/types/update_email_provider_response_content.rb @@ -4,9 +4,13 @@ module Auth0 module Types class UpdateEmailProviderResponseContent < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :default_from_address, -> { String }, optional: true, nullable: false + field :credentials, -> { Auth0::Types::EmailProviderCredentials }, optional: true, nullable: false + field :settings, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_email_template_response_content.rb b/lib/auth0/types/update_email_template_response_content.rb index 43d54455..e55ae865 100644 --- a/lib/auth0/types/update_email_template_response_content.rb +++ b/lib/auth0/types/update_email_template_response_content.rb @@ -4,13 +4,21 @@ module Auth0 module Types class UpdateEmailTemplateResponseContent < Internal::Types::Model field :template, -> { Auth0::Types::EmailTemplateNameEnum }, optional: true, nullable: false + field :body, -> { String }, optional: true, nullable: false + field :from, -> { String }, optional: true, nullable: false + field :result_url, -> { String }, optional: true, nullable: false, api_name: "resultUrl" + field :subject, -> { String }, optional: true, nullable: false + field :syntax, -> { String }, optional: true, nullable: false + field :url_lifetime_in_seconds, -> { Integer }, optional: true, nullable: false, api_name: "urlLifetimeInSeconds" + field :include_email_in_redirect, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "includeEmailInRedirect" + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_enabled_client_connections_request_content_item.rb b/lib/auth0/types/update_enabled_client_connections_request_content_item.rb index bdddc077..7dd4c200 100644 --- a/lib/auth0/types/update_enabled_client_connections_request_content_item.rb +++ b/lib/auth0/types/update_enabled_client_connections_request_content_item.rb @@ -4,6 +4,7 @@ module Auth0 module Types class UpdateEnabledClientConnectionsRequestContentItem < Internal::Types::Model field :client_id, -> { String }, optional: false, nullable: false + field :status, -> { Internal::Types::Boolean }, optional: false, nullable: false end end diff --git a/lib/auth0/types/update_event_stream_response_content.rb b/lib/auth0/types/update_event_stream_response_content.rb index f68f2089..7536fd6c 100644 --- a/lib/auth0/types/update_event_stream_response_content.rb +++ b/lib/auth0/types/update_event_stream_response_content.rb @@ -6,7 +6,9 @@ class UpdateEventStreamResponseContent < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::EventStreamWebhookResponseContent } + member -> { Auth0::Types::EventStreamEventBridgeResponseContent } + member -> { Auth0::Types::EventStreamActionResponseContent } end end diff --git a/lib/auth0/types/update_flow_response_content.rb b/lib/auth0/types/update_flow_response_content.rb index dcc93eb9..52e87ddf 100644 --- a/lib/auth0/types/update_flow_response_content.rb +++ b/lib/auth0/types/update_flow_response_content.rb @@ -4,10 +4,15 @@ module Auth0 module Types class UpdateFlowResponseContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: false, nullable: false + field :actions, -> { Internal::Types::Array[Auth0::Types::FlowAction] }, optional: true, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :updated_at, -> { String }, optional: false, nullable: false + field :executed_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_flows_vault_connection_response_content.rb b/lib/auth0/types/update_flows_vault_connection_response_content.rb index b9fe7808..8535c012 100644 --- a/lib/auth0/types/update_flows_vault_connection_response_content.rb +++ b/lib/auth0/types/update_flows_vault_connection_response_content.rb @@ -4,14 +4,23 @@ module Auth0 module Types class UpdateFlowsVaultConnectionResponseContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :app_id, -> { String }, optional: false, nullable: false + field :environment, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: false, nullable: false + field :account_name, -> { String }, optional: true, nullable: false + field :ready, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :updated_at, -> { String }, optional: false, nullable: false + field :refreshed_at, -> { String }, optional: true, nullable: false + field :fingerprint, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/update_flows_vault_connection_setup.rb b/lib/auth0/types/update_flows_vault_connection_setup.rb index 2c18077b..6989035c 100644 --- a/lib/auth0/types/update_flows_vault_connection_setup.rb +++ b/lib/auth0/types/update_flows_vault_connection_setup.rb @@ -7,20 +7,35 @@ class UpdateFlowsVaultConnectionSetup < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::FlowsVaultConnectioSetupAPIKeyWithBaseURL } + member -> { Auth0::Types::FlowsVaultConnectioSetupAPIKey } + member -> { Auth0::Types::FlowsVaultConnectioSetupOauthApp } + member -> { Auth0::Types::FlowsVaultConnectioSetupBigqueryOauthJwt } + member -> { Auth0::Types::FlowsVaultConnectioSetupSecretAPIKey } + member -> { Auth0::Types::FlowsVaultConnectioSetupHTTPBearer } + member -> { Auth0::Types::FlowsVaultConnectionHTTPBasicAuthSetup } + member -> { Auth0::Types::FlowsVaultConnectionHttpApiKeySetup } + member -> { Auth0::Types::FlowsVaultConnectionHTTPOauthClientCredentialsSetup } + member -> { Auth0::Types::FlowsVaultConnectioSetupJwt } + member -> { Auth0::Types::FlowsVaultConnectioSetupMailjetAPIKey } + member -> { Auth0::Types::FlowsVaultConnectioSetupToken } + member -> { Auth0::Types::FlowsVaultConnectioSetupWebhook } + member -> { Auth0::Types::FlowsVaultConnectioSetupStripeKeyPair } + member -> { Auth0::Types::FlowsVaultConnectioSetupOauthCode } + member -> { Auth0::Types::FlowsVaultConnectioSetupTwilioAPIKey } end end diff --git a/lib/auth0/types/update_form_response_content.rb b/lib/auth0/types/update_form_response_content.rb index 63361c0a..73f0b842 100644 --- a/lib/auth0/types/update_form_response_content.rb +++ b/lib/auth0/types/update_form_response_content.rb @@ -4,17 +4,29 @@ module Auth0 module Types class UpdateFormResponseContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: false, nullable: false + field :messages, -> { Auth0::Types::FormMessages }, optional: true, nullable: false + field :languages, -> { Auth0::Types::FormLanguages }, optional: true, nullable: false + field :translations, -> { Internal::Types::Hash[String, Internal::Types::Hash[String, Object]] }, optional: true, nullable: false + field :nodes, -> { Internal::Types::Array[Auth0::Types::FormNode] }, optional: true, nullable: false + field :start, -> { Auth0::Types::FormStartNode }, optional: true, nullable: false + field :ending, -> { Auth0::Types::FormEndingNode }, optional: true, nullable: false + field :style, -> { Auth0::Types::FormStyle }, optional: true, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :updated_at, -> { String }, optional: false, nullable: false + field :embedded_at, -> { String }, optional: true, nullable: false + field :submitted_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_guardian_factor_duo_settings_response_content.rb b/lib/auth0/types/update_guardian_factor_duo_settings_response_content.rb index de01d21a..2eae9753 100644 --- a/lib/auth0/types/update_guardian_factor_duo_settings_response_content.rb +++ b/lib/auth0/types/update_guardian_factor_duo_settings_response_content.rb @@ -4,7 +4,9 @@ module Auth0 module Types class UpdateGuardianFactorDuoSettingsResponseContent < Internal::Types::Model field :ikey, -> { String }, optional: true, nullable: false + field :skey, -> { String }, optional: true, nullable: false + field :host, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_guardian_factors_provider_push_notification_apns_response_content.rb b/lib/auth0/types/update_guardian_factors_provider_push_notification_apns_response_content.rb index 030f31e3..b58cb108 100644 --- a/lib/auth0/types/update_guardian_factors_provider_push_notification_apns_response_content.rb +++ b/lib/auth0/types/update_guardian_factors_provider_push_notification_apns_response_content.rb @@ -4,6 +4,7 @@ module Auth0 module Types class UpdateGuardianFactorsProviderPushNotificationApnsResponseContent < Internal::Types::Model field :sandbox, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :bundle_id, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_guardian_factors_provider_push_notification_sns_response_content.rb b/lib/auth0/types/update_guardian_factors_provider_push_notification_sns_response_content.rb index 1160ccc1..59e11cbc 100644 --- a/lib/auth0/types/update_guardian_factors_provider_push_notification_sns_response_content.rb +++ b/lib/auth0/types/update_guardian_factors_provider_push_notification_sns_response_content.rb @@ -4,9 +4,13 @@ module Auth0 module Types class UpdateGuardianFactorsProviderPushNotificationSnsResponseContent < Internal::Types::Model field :aws_access_key_id, -> { String }, optional: true, nullable: false + field :aws_secret_access_key, -> { String }, optional: true, nullable: false + field :aws_region, -> { String }, optional: true, nullable: false + field :sns_apns_platform_application_arn, -> { String }, optional: true, nullable: false + field :sns_gcm_platform_application_arn, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_hook_response_content.rb b/lib/auth0/types/update_hook_response_content.rb index 61143686..4c493e35 100644 --- a/lib/auth0/types/update_hook_response_content.rb +++ b/lib/auth0/types/update_hook_response_content.rb @@ -4,10 +4,15 @@ module Auth0 module Types class UpdateHookResponseContent < Internal::Types::Model field :trigger_id, -> { String }, optional: true, nullable: false, api_name: "triggerId" + field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :script, -> { String }, optional: true, nullable: false + field :dependencies, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_log_stream_response_content.rb b/lib/auth0/types/update_log_stream_response_content.rb index 7c8c7cdc..98a040a0 100644 --- a/lib/auth0/types/update_log_stream_response_content.rb +++ b/lib/auth0/types/update_log_stream_response_content.rb @@ -6,12 +6,19 @@ class UpdateLogStreamResponseContent < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { Auth0::Types::LogStreamHTTPResponseSchema } + member -> { Auth0::Types::LogStreamEventBridgeResponseSchema } + member -> { Auth0::Types::LogStreamEventGridResponseSchema } + member -> { Auth0::Types::LogStreamDatadogResponseSchema } + member -> { Auth0::Types::LogStreamSplunkResponseSchema } + member -> { Auth0::Types::LogStreamSumoResponseSchema } + member -> { Auth0::Types::LogStreamSegmentResponseSchema } + member -> { Auth0::Types::LogStreamMixpanelResponseSchema } end end diff --git a/lib/auth0/types/update_network_acl_response_content.rb b/lib/auth0/types/update_network_acl_response_content.rb index 4315f52c..68548e8e 100644 --- a/lib/auth0/types/update_network_acl_response_content.rb +++ b/lib/auth0/types/update_network_acl_response_content.rb @@ -4,11 +4,17 @@ module Auth0 module Types class UpdateNetworkACLResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false + field :active, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :priority, -> { Integer }, optional: true, nullable: false + field :rule, -> { Auth0::Types::NetworkACLRule }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_organization_all_connection_response_content.rb b/lib/auth0/types/update_organization_all_connection_response_content.rb index 9cf7d420..6ab2aeda 100644 --- a/lib/auth0/types/update_organization_all_connection_response_content.rb +++ b/lib/auth0/types/update_organization_all_connection_response_content.rb @@ -4,12 +4,19 @@ module Auth0 module Types class UpdateOrganizationAllConnectionResponseContent < Internal::Types::Model field :organization_connection_name, -> { String }, optional: true, nullable: false + field :assign_membership_on_login, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :is_signup_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :organization_access_level, -> { Auth0::Types::OrganizationAccessLevelEnum }, optional: true, nullable: false + field :is_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :connection_id, -> { String }, optional: false, nullable: false + field :connection, -> { Auth0::Types::OrganizationConnectionInformation }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_organization_connection_response_content.rb b/lib/auth0/types/update_organization_connection_response_content.rb index f622741d..4fb8d1d9 100644 --- a/lib/auth0/types/update_organization_connection_response_content.rb +++ b/lib/auth0/types/update_organization_connection_response_content.rb @@ -4,9 +4,13 @@ module Auth0 module Types class UpdateOrganizationConnectionResponseContent < Internal::Types::Model field :connection_id, -> { String }, optional: true, nullable: false + field :assign_membership_on_login, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :is_signup_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :connection, -> { Auth0::Types::OrganizationConnectionInformation }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_organization_discovery_domain_response_content.rb b/lib/auth0/types/update_organization_discovery_domain_response_content.rb index 3bbdce74..e53c01d4 100644 --- a/lib/auth0/types/update_organization_discovery_domain_response_content.rb +++ b/lib/auth0/types/update_organization_discovery_domain_response_content.rb @@ -4,10 +4,15 @@ module Auth0 module Types class UpdateOrganizationDiscoveryDomainResponseContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :domain, -> { String }, optional: false, nullable: false + field :status, -> { Auth0::Types::OrganizationDiscoveryDomainStatus }, optional: false, nullable: false + field :use_for_organization_discovery, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :verification_txt, -> { String }, optional: false, nullable: false + field :verification_host, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/update_organization_response_content.rb b/lib/auth0/types/update_organization_response_content.rb index 116d7545..cfe1ca34 100644 --- a/lib/auth0/types/update_organization_response_content.rb +++ b/lib/auth0/types/update_organization_response_content.rb @@ -4,10 +4,15 @@ module Auth0 module Types class UpdateOrganizationResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :display_name, -> { String }, optional: true, nullable: false + field :branding, -> { Auth0::Types::OrganizationBranding }, optional: true, nullable: false + field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false + field :token_quota, -> { Auth0::Types::TokenQuota }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_phone_template_response_content.rb b/lib/auth0/types/update_phone_template_response_content.rb index 630f0ff0..de73c35e 100644 --- a/lib/auth0/types/update_phone_template_response_content.rb +++ b/lib/auth0/types/update_phone_template_response_content.rb @@ -4,11 +4,17 @@ module Auth0 module Types class UpdatePhoneTemplateResponseContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :channel, -> { String }, optional: true, nullable: false + field :customizable, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :tenant, -> { String }, optional: true, nullable: false + field :content, -> { Auth0::Types::PhoneTemplateContent }, optional: false, nullable: false + field :type, -> { Auth0::Types::PhoneTemplateNotificationTypeEnum }, optional: false, nullable: false + field :disabled, -> { Internal::Types::Boolean }, optional: false, nullable: false end end diff --git a/lib/auth0/types/update_rate_limit_policy_response_content.rb b/lib/auth0/types/update_rate_limit_policy_response_content.rb new file mode 100644 index 00000000..528b3159 --- /dev/null +++ b/lib/auth0/types/update_rate_limit_policy_response_content.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module Auth0 + module Types + class UpdateRateLimitPolicyResponseContent < Internal::Types::Model + field :id, -> { String }, optional: false, nullable: false + + field :resource, -> { Auth0::Types::RateLimitPolicyResourceEnum }, optional: false, nullable: false + + field :consumer, -> { Auth0::Types::RateLimitPolicyConsumerEnum }, optional: false, nullable: false + + field :consumer_selector, -> { String }, optional: false, nullable: false + + field :configuration, -> { Auth0::Types::RateLimitPolicyConfiguration }, optional: false, nullable: false + + field :created_at, -> { String }, optional: true, nullable: false + + field :updated_at, -> { String }, optional: true, nullable: false + end + end +end diff --git a/lib/auth0/types/update_refresh_token_response_content.rb b/lib/auth0/types/update_refresh_token_response_content.rb index bc03cd0c..9a09676d 100644 --- a/lib/auth0/types/update_refresh_token_response_content.rb +++ b/lib/auth0/types/update_refresh_token_response_content.rb @@ -4,16 +4,27 @@ module Auth0 module Types class UpdateRefreshTokenResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :user_id, -> { String }, optional: true, nullable: false + field :created_at, -> { Auth0::Types::RefreshTokenDate }, optional: true, nullable: false + field :idle_expires_at, -> { Auth0::Types::RefreshTokenDate }, optional: true, nullable: false + field :expires_at, -> { Auth0::Types::RefreshTokenDate }, optional: true, nullable: false + field :device, -> { Auth0::Types::RefreshTokenDevice }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false + field :session_id, -> { String }, optional: true, nullable: false + field :rotating, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :resource_servers, -> { Internal::Types::Array[Auth0::Types::RefreshTokenResourceServer] }, optional: true, nullable: false + field :refresh_token_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :last_exchanged_at, -> { Auth0::Types::RefreshTokenDate }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_resource_server_response_content.rb b/lib/auth0/types/update_resource_server_response_content.rb index 58d7f2f9..4f0d72fe 100644 --- a/lib/auth0/types/update_resource_server_response_content.rb +++ b/lib/auth0/types/update_resource_server_response_content.rb @@ -4,24 +4,47 @@ module Auth0 module Types class UpdateResourceServerResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :is_system, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :identifier, -> { String }, optional: true, nullable: false + field :scopes, -> { Internal::Types::Array[Auth0::Types::ResourceServerScope] }, optional: true, nullable: false + field :signing_alg, -> { Auth0::Types::SigningAlgorithmEnum }, optional: true, nullable: false + field :signing_secret, -> { String }, optional: true, nullable: false + field :allow_offline_access, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :allow_online_access, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :allow_online_access_with_ephemeral_sessions, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :skip_consent_for_verifiable_first_party_clients, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :token_lifetime, -> { Integer }, optional: true, nullable: false + field :token_lifetime_for_web, -> { Integer }, optional: true, nullable: false + field :enforce_policies, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :token_dialect, -> { Auth0::Types::ResourceServerTokenDialectResponseEnum }, optional: true, nullable: false + field :token_encryption, -> { Auth0::Types::ResourceServerTokenEncryption }, optional: true, nullable: false + field :consent_policy, -> { Auth0::Types::ResourceServerConsentPolicyEnum }, optional: true, nullable: false + field :authorization_details, -> { Internal::Types::Array[Object] }, optional: true, nullable: false + field :proof_of_possession, -> { Auth0::Types::ResourceServerProofOfPossession }, optional: true, nullable: false + field :subject_type_authorization, -> { Auth0::Types::ResourceServerSubjectTypeAuthorization }, optional: true, nullable: false + + field :authorization_policy, -> { Auth0::Types::ResourceServerAuthorizationPolicy }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_role_response_content.rb b/lib/auth0/types/update_role_response_content.rb index 3b49e10c..6d552386 100644 --- a/lib/auth0/types/update_role_response_content.rb +++ b/lib/auth0/types/update_role_response_content.rb @@ -4,7 +4,9 @@ module Auth0 module Types class UpdateRoleResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_rule_response_content.rb b/lib/auth0/types/update_rule_response_content.rb index d5ef13c9..9df82762 100644 --- a/lib/auth0/types/update_rule_response_content.rb +++ b/lib/auth0/types/update_rule_response_content.rb @@ -4,10 +4,15 @@ module Auth0 module Types class UpdateRuleResponseContent < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :id, -> { String }, optional: true, nullable: false + field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :script, -> { String }, optional: true, nullable: false + field :order, -> { Integer }, optional: true, nullable: false + field :stage, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_scim_configuration_response_content.rb b/lib/auth0/types/update_scim_configuration_response_content.rb index e208706a..e7f7bd4d 100644 --- a/lib/auth0/types/update_scim_configuration_response_content.rb +++ b/lib/auth0/types/update_scim_configuration_response_content.rb @@ -4,12 +4,19 @@ module Auth0 module Types class UpdateSCIMConfigurationResponseContent < Internal::Types::Model field :connection_id, -> { String }, optional: false, nullable: false + field :connection_name, -> { String }, optional: false, nullable: false + field :strategy, -> { String }, optional: false, nullable: false + field :tenant_name, -> { String }, optional: false, nullable: false + field :user_id_attribute, -> { String }, optional: false, nullable: false + field :mapping, -> { Internal::Types::Array[Auth0::Types::SCIMMappingItem] }, optional: false, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :updated_on, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/types/update_self_service_profile_response_content.rb b/lib/auth0/types/update_self_service_profile_response_content.rb index 961bdeeb..3140a6a3 100644 --- a/lib/auth0/types/update_self_service_profile_response_content.rb +++ b/lib/auth0/types/update_self_service_profile_response_content.rb @@ -4,13 +4,21 @@ module Auth0 module Types class UpdateSelfServiceProfileResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false + field :user_attributes, -> { Internal::Types::Array[Auth0::Types::SelfServiceProfileUserAttribute] }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false + field :branding, -> { Auth0::Types::SelfServiceProfileBrandingProperties }, optional: true, nullable: false + field :allowed_strategies, -> { Internal::Types::Array[Auth0::Types::SelfServiceProfileAllowedStrategyEnum] }, optional: true, nullable: false + field :user_attribute_profile_id, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_session_response_content.rb b/lib/auth0/types/update_session_response_content.rb index 6b6fc8ef..012d1c64 100644 --- a/lib/auth0/types/update_session_response_content.rb +++ b/lib/auth0/types/update_session_response_content.rb @@ -4,17 +4,29 @@ module Auth0 module Types class UpdateSessionResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :user_id, -> { String }, optional: true, nullable: false + field :created_at, -> { Auth0::Types::SessionDate }, optional: true, nullable: false + field :updated_at, -> { Auth0::Types::SessionDate }, optional: true, nullable: false + field :authenticated_at, -> { Auth0::Types::SessionDate }, optional: true, nullable: false + field :idle_expires_at, -> { Auth0::Types::SessionDate }, optional: true, nullable: false + field :expires_at, -> { Auth0::Types::SessionDate }, optional: true, nullable: false + field :last_interacted_at, -> { Auth0::Types::SessionDate }, optional: true, nullable: false + field :device, -> { Auth0::Types::SessionDeviceMetadata }, optional: true, nullable: false + field :clients, -> { Internal::Types::Array[Auth0::Types::SessionClientMetadata] }, optional: true, nullable: false + field :authentication, -> { Auth0::Types::SessionAuthenticationSignals }, optional: true, nullable: false + field :cookie, -> { Auth0::Types::SessionCookieMetadata }, optional: true, nullable: false + field :session_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_settings_response_content.rb b/lib/auth0/types/update_settings_response_content.rb index 5062ec0d..6320730f 100644 --- a/lib/auth0/types/update_settings_response_content.rb +++ b/lib/auth0/types/update_settings_response_content.rb @@ -4,7 +4,9 @@ module Auth0 module Types class UpdateSettingsResponseContent < Internal::Types::Model field :universal_login_experience, -> { Auth0::Types::UniversalLoginExperienceEnum }, optional: true, nullable: false + field :identifier_first, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :webauthn_platform_first_factor, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_suspicious_ip_throttling_settings_response_content.rb b/lib/auth0/types/update_suspicious_ip_throttling_settings_response_content.rb index f1af5173..b3e25291 100644 --- a/lib/auth0/types/update_suspicious_ip_throttling_settings_response_content.rb +++ b/lib/auth0/types/update_suspicious_ip_throttling_settings_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class UpdateSuspiciousIPThrottlingSettingsResponseContent < Internal::Types::Model field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :shields, -> { Internal::Types::Array[Auth0::Types::SuspiciousIPThrottlingShieldsEnum] }, optional: true, nullable: false + field :allowlist, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :stage, -> { Auth0::Types::SuspiciousIPThrottlingStage }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_tenant_settings_response_content.rb b/lib/auth0/types/update_tenant_settings_response_content.rb index 8f41d09c..6a155a83 100644 --- a/lib/auth0/types/update_tenant_settings_response_content.rb +++ b/lib/auth0/types/update_tenant_settings_response_content.rb @@ -4,41 +4,77 @@ module Auth0 module Types class UpdateTenantSettingsResponseContent < Internal::Types::Model field :change_password, -> { Auth0::Types::TenantSettingsPasswordPage }, optional: true, nullable: false + field :guardian_mfa_page, -> { Auth0::Types::TenantSettingsGuardianPage }, optional: true, nullable: false + field :default_audience, -> { String }, optional: true, nullable: false + field :default_directory, -> { String }, optional: true, nullable: false + field :error_page, -> { Auth0::Types::TenantSettingsErrorPage }, optional: true, nullable: false + field :device_flow, -> { Auth0::Types::TenantSettingsDeviceFlow }, optional: true, nullable: false + field :default_token_quota, -> { Auth0::Types::DefaultTokenQuota }, optional: true, nullable: false + field :flags, -> { Auth0::Types::TenantSettingsFlags }, optional: true, nullable: false + field :friendly_name, -> { String }, optional: true, nullable: false + field :picture_url, -> { String }, optional: true, nullable: false + field :support_email, -> { String }, optional: true, nullable: false + field :support_url, -> { String }, optional: true, nullable: false + field :allowed_logout_urls, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :session_lifetime, -> { Integer }, optional: true, nullable: false + field :idle_session_lifetime, -> { Integer }, optional: true, nullable: false + field :ephemeral_session_lifetime, -> { Integer }, optional: true, nullable: false + field :idle_ephemeral_session_lifetime, -> { Integer }, optional: true, nullable: false + field :sandbox_version, -> { String }, optional: true, nullable: false + field :legacy_sandbox_version, -> { String }, optional: true, nullable: false + field :sandbox_versions_available, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :default_redirection_uri, -> { String }, optional: true, nullable: false + field :enabled_locales, -> { Internal::Types::Array[Auth0::Types::SupportedLocales] }, optional: true, nullable: false + field :session_cookie, -> { Auth0::Types::SessionCookieSchema }, optional: true, nullable: false + field :sessions, -> { Auth0::Types::TenantSettingsSessions }, optional: true, nullable: false + field :oidc_logout, -> { Auth0::Types::TenantOidcLogoutSettings }, optional: true, nullable: false + field :allow_organization_name_in_authentication_api, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :customize_mfa_in_postlogin_action, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :acr_values_supported, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :mtls, -> { Auth0::Types::TenantSettingsMtls }, optional: true, nullable: false + field :pushed_authorization_requests_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :authorization_response_iss_parameter_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :skip_non_verifiable_callback_uri_confirmation_prompt, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :resource_parameter_profile, -> { Auth0::Types::TenantSettingsResourceParameterProfile }, optional: true, nullable: false + field :client_id_metadata_document_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :phone_consolidated_experience, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :enable_ai_guide, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :dynamic_client_registration_security_mode, -> { Auth0::Types::TenantSettingsDynamicClientRegistrationSecurityMode }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_universal_login_template_request_content.rb b/lib/auth0/types/update_universal_login_template_request_content.rb index 20b596d3..b2ee161e 100644 --- a/lib/auth0/types/update_universal_login_template_request_content.rb +++ b/lib/auth0/types/update_universal_login_template_request_content.rb @@ -6,6 +6,7 @@ class UpdateUniversalLoginTemplateRequestContent < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { String } + member -> { Auth0::Types::UpdateUniversalLoginTemplateRequestContentTemplate } end end diff --git a/lib/auth0/types/update_user_attribute_profile_response_content.rb b/lib/auth0/types/update_user_attribute_profile_response_content.rb index 83228e26..901459f6 100644 --- a/lib/auth0/types/update_user_attribute_profile_response_content.rb +++ b/lib/auth0/types/update_user_attribute_profile_response_content.rb @@ -4,8 +4,11 @@ module Auth0 module Types class UpdateUserAttributeProfileResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :user_id, -> { Auth0::Types::UserAttributeProfileUserID }, optional: true, nullable: false + field :user_attributes, -> { Internal::Types::Hash[String, Auth0::Types::UserAttributeProfileUserAttributeAdditionalProperties] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_user_authentication_method_response_content.rb b/lib/auth0/types/update_user_authentication_method_response_content.rb index 88b22a1f..7503bf4e 100644 --- a/lib/auth0/types/update_user_authentication_method_response_content.rb +++ b/lib/auth0/types/update_user_authentication_method_response_content.rb @@ -5,17 +5,31 @@ module Types # The successfully created authentication method. class UpdateUserAuthenticationMethodResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :type, -> { Auth0::Types::CreatedAuthenticationMethodTypeEnum }, optional: false, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :totp_secret, -> { String }, optional: true, nullable: false + field :phone_number, -> { String }, optional: true, nullable: false + field :email, -> { String }, optional: true, nullable: false + field :authentication_methods, -> { Internal::Types::Array[Auth0::Types::UserAuthenticationMethodProperties] }, optional: true, nullable: false + field :preferred_authentication_method, -> { Auth0::Types::PreferredAuthenticationMethodEnum }, optional: true, nullable: false + field :key_id, -> { String }, optional: true, nullable: false + field :public_key, -> { String }, optional: true, nullable: false + field :aaguid, -> { String }, optional: true, nullable: false + field :relying_party_identifier, -> { String }, optional: true, nullable: false + + field :confirmed, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_user_response_content.rb b/lib/auth0/types/update_user_response_content.rb index 07a5406d..420fc661 100644 --- a/lib/auth0/types/update_user_response_content.rb +++ b/lib/auth0/types/update_user_response_content.rb @@ -4,25 +4,49 @@ module Auth0 module Types class UpdateUserResponseContent < Internal::Types::Model field :user_id, -> { String }, optional: true, nullable: false + field :email, -> { String }, optional: true, nullable: false + field :email_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :username, -> { String }, optional: true, nullable: false + field :phone_number, -> { String }, optional: true, nullable: false + field :phone_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :created_at, -> { Auth0::Types::UserDateSchema }, optional: true, nullable: false + field :updated_at, -> { Auth0::Types::UserDateSchema }, optional: true, nullable: false + field :identities, -> { Internal::Types::Array[Auth0::Types::UserIdentitySchema] }, optional: true, nullable: false + field :app_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :user_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :picture, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :nickname, -> { String }, optional: true, nullable: false + field :multifactor, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :multifactor_last_modified, -> { Auth0::Types::UserDateSchema }, optional: true, nullable: false + field :last_ip, -> { String }, optional: true, nullable: false + field :last_login, -> { Auth0::Types::UserDateSchema }, optional: true, nullable: false + + field :last_password_reset, -> { Auth0::Types::UserDateSchema }, optional: true, nullable: false + field :logins_count, -> { Integer }, optional: true, nullable: false + field :blocked, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :given_name, -> { String }, optional: true, nullable: false + field :family_name, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/update_verifiable_credential_template_response_content.rb b/lib/auth0/types/update_verifiable_credential_template_response_content.rb index bd9a8274..561f4d8a 100644 --- a/lib/auth0/types/update_verifiable_credential_template_response_content.rb +++ b/lib/auth0/types/update_verifiable_credential_template_response_content.rb @@ -4,13 +4,21 @@ module Auth0 module Types class UpdateVerifiableCredentialTemplateResponseContent < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :type, -> { String }, optional: true, nullable: false + field :dialect, -> { String }, optional: true, nullable: false + field :presentation, -> { Auth0::Types::MdlPresentationRequest }, optional: true, nullable: false + field :custom_certificate_authority, -> { String }, optional: true, nullable: false + field :well_known_trusted_issuers, -> { String }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/user_attribute_profile.rb b/lib/auth0/types/user_attribute_profile.rb index 74748166..ff6d88a9 100644 --- a/lib/auth0/types/user_attribute_profile.rb +++ b/lib/auth0/types/user_attribute_profile.rb @@ -4,8 +4,11 @@ module Auth0 module Types class UserAttributeProfile < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :user_id, -> { Auth0::Types::UserAttributeProfileUserID }, optional: true, nullable: false + field :user_attributes, -> { Internal::Types::Hash[String, Auth0::Types::UserAttributeProfileUserAttributeAdditionalProperties] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/user_attribute_profile_oidc_mapping.rb b/lib/auth0/types/user_attribute_profile_oidc_mapping.rb index 78978a94..f730988a 100644 --- a/lib/auth0/types/user_attribute_profile_oidc_mapping.rb +++ b/lib/auth0/types/user_attribute_profile_oidc_mapping.rb @@ -5,6 +5,7 @@ module Types # OIDC mapping for this attribute class UserAttributeProfileOidcMapping < Internal::Types::Model field :mapping, -> { String }, optional: false, nullable: false + field :display_name, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/user_attribute_profile_strategy_overrides.rb b/lib/auth0/types/user_attribute_profile_strategy_overrides.rb index 60cd5f28..237a9198 100644 --- a/lib/auth0/types/user_attribute_profile_strategy_overrides.rb +++ b/lib/auth0/types/user_attribute_profile_strategy_overrides.rb @@ -5,12 +5,19 @@ module Types # Strategy-specific overrides for this attribute class UserAttributeProfileStrategyOverrides < Internal::Types::Model field :pingfederate, -> { Auth0::Types::UserAttributeProfileStrategyOverridesMapping }, optional: true, nullable: false + field :ad, -> { Auth0::Types::UserAttributeProfileStrategyOverridesMapping }, optional: true, nullable: false + field :adfs, -> { Auth0::Types::UserAttributeProfileStrategyOverridesMapping }, optional: true, nullable: false + field :waad, -> { Auth0::Types::UserAttributeProfileStrategyOverridesMapping }, optional: true, nullable: false + field :google_apps, -> { Auth0::Types::UserAttributeProfileStrategyOverridesMapping }, optional: true, nullable: false, api_name: "google-apps" + field :okta, -> { Auth0::Types::UserAttributeProfileStrategyOverridesMapping }, optional: true, nullable: false + field :oidc, -> { Auth0::Types::UserAttributeProfileStrategyOverridesMapping }, optional: true, nullable: false + field :samlp, -> { Auth0::Types::UserAttributeProfileStrategyOverridesMapping }, optional: true, nullable: false end end diff --git a/lib/auth0/types/user_attribute_profile_strategy_overrides_mapping.rb b/lib/auth0/types/user_attribute_profile_strategy_overrides_mapping.rb index b39d964d..c203d1f3 100644 --- a/lib/auth0/types/user_attribute_profile_strategy_overrides_mapping.rb +++ b/lib/auth0/types/user_attribute_profile_strategy_overrides_mapping.rb @@ -4,7 +4,9 @@ module Auth0 module Types class UserAttributeProfileStrategyOverridesMapping < Internal::Types::Model field :oidc_mapping, -> { Auth0::Types::UserAttributeProfileOidcMapping }, optional: true, nullable: false + field :saml_mapping, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :scim_mapping, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/user_attribute_profile_strategy_overrides_user_id.rb b/lib/auth0/types/user_attribute_profile_strategy_overrides_user_id.rb index 696e67df..086455b2 100644 --- a/lib/auth0/types/user_attribute_profile_strategy_overrides_user_id.rb +++ b/lib/auth0/types/user_attribute_profile_strategy_overrides_user_id.rb @@ -5,12 +5,19 @@ module Types # Strategy-specific overrides for user ID class UserAttributeProfileStrategyOverridesUserID < Internal::Types::Model field :pingfederate, -> { Auth0::Types::UserAttributeProfileStrategyOverridesUserIDMapping }, optional: true, nullable: false + field :ad, -> { Auth0::Types::UserAttributeProfileStrategyOverridesUserIDMapping }, optional: true, nullable: false + field :adfs, -> { Auth0::Types::UserAttributeProfileStrategyOverridesUserIDMapping }, optional: true, nullable: false + field :waad, -> { Auth0::Types::UserAttributeProfileStrategyOverridesUserIDMapping }, optional: true, nullable: false + field :google_apps, -> { Auth0::Types::UserAttributeProfileStrategyOverridesUserIDMapping }, optional: true, nullable: false, api_name: "google-apps" + field :okta, -> { Auth0::Types::UserAttributeProfileStrategyOverridesUserIDMapping }, optional: true, nullable: false + field :oidc, -> { Auth0::Types::UserAttributeProfileStrategyOverridesUserIDMapping }, optional: true, nullable: false + field :samlp, -> { Auth0::Types::UserAttributeProfileStrategyOverridesUserIDMapping }, optional: true, nullable: false end end diff --git a/lib/auth0/types/user_attribute_profile_strategy_overrides_user_id_mapping.rb b/lib/auth0/types/user_attribute_profile_strategy_overrides_user_id_mapping.rb index 10a3abdb..6fcb99c2 100644 --- a/lib/auth0/types/user_attribute_profile_strategy_overrides_user_id_mapping.rb +++ b/lib/auth0/types/user_attribute_profile_strategy_overrides_user_id_mapping.rb @@ -4,7 +4,9 @@ module Auth0 module Types class UserAttributeProfileStrategyOverridesUserIDMapping < Internal::Types::Model field :oidc_mapping, -> { Auth0::Types::UserAttributeProfileUserIDOidcStrategyOverrideMapping }, optional: true, nullable: false + field :saml_mapping, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :scim_mapping, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/user_attribute_profile_template.rb b/lib/auth0/types/user_attribute_profile_template.rb index 55b68425..2e00bf11 100644 --- a/lib/auth0/types/user_attribute_profile_template.rb +++ b/lib/auth0/types/user_attribute_profile_template.rb @@ -5,7 +5,9 @@ module Types # The structure of the template, which can be used as the payload for creating or updating a User Attribute Profile. class UserAttributeProfileTemplate < Internal::Types::Model field :name, -> { String }, optional: true, nullable: false + field :user_id, -> { Auth0::Types::UserAttributeProfileUserID }, optional: true, nullable: false + field :user_attributes, -> { Internal::Types::Hash[String, Auth0::Types::UserAttributeProfileUserAttributeAdditionalProperties] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/user_attribute_profile_template_item.rb b/lib/auth0/types/user_attribute_profile_template_item.rb index cf78d424..e647ca20 100644 --- a/lib/auth0/types/user_attribute_profile_template_item.rb +++ b/lib/auth0/types/user_attribute_profile_template_item.rb @@ -4,7 +4,9 @@ module Auth0 module Types class UserAttributeProfileTemplateItem < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :display_name, -> { String }, optional: true, nullable: false + field :template, -> { Auth0::Types::UserAttributeProfileTemplate }, optional: true, nullable: false end end diff --git a/lib/auth0/types/user_attribute_profile_user_attribute_additional_properties.rb b/lib/auth0/types/user_attribute_profile_user_attribute_additional_properties.rb index aadf7049..5dfa37e0 100644 --- a/lib/auth0/types/user_attribute_profile_user_attribute_additional_properties.rb +++ b/lib/auth0/types/user_attribute_profile_user_attribute_additional_properties.rb @@ -4,12 +4,19 @@ module Auth0 module Types class UserAttributeProfileUserAttributeAdditionalProperties < Internal::Types::Model field :description, -> { String }, optional: false, nullable: false + field :label, -> { String }, optional: false, nullable: false + field :profile_required, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :auth0mapping, -> { String }, optional: false, nullable: false, api_name: "auth0_mapping" + field :oidc_mapping, -> { Auth0::Types::UserAttributeProfileOidcMapping }, optional: true, nullable: false + field :saml_mapping, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :scim_mapping, -> { String }, optional: true, nullable: false + field :strategy_overrides, -> { Auth0::Types::UserAttributeProfileStrategyOverrides }, optional: true, nullable: false end end diff --git a/lib/auth0/types/user_attribute_profile_user_id.rb b/lib/auth0/types/user_attribute_profile_user_id.rb index bc268513..2df09be7 100644 --- a/lib/auth0/types/user_attribute_profile_user_id.rb +++ b/lib/auth0/types/user_attribute_profile_user_id.rb @@ -5,8 +5,11 @@ module Types # User ID mapping configuration class UserAttributeProfileUserID < Internal::Types::Model field :oidc_mapping, -> { Auth0::Types::UserAttributeProfileUserIDOidcMappingEnum }, optional: true, nullable: false + field :saml_mapping, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :scim_mapping, -> { String }, optional: true, nullable: false + field :strategy_overrides, -> { Auth0::Types::UserAttributeProfileStrategyOverridesUserID }, optional: true, nullable: false end end diff --git a/lib/auth0/types/user_authentication_method.rb b/lib/auth0/types/user_authentication_method.rb index 0bf10a90..6bbdf75a 100644 --- a/lib/auth0/types/user_authentication_method.rb +++ b/lib/auth0/types/user_authentication_method.rb @@ -4,24 +4,47 @@ module Auth0 module Types class UserAuthenticationMethod < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :type, -> { Auth0::Types::AuthenticationMethodTypeEnum }, optional: false, nullable: false + field :confirmed, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :authentication_methods, -> { Internal::Types::Array[Auth0::Types::UserAuthenticationMethodProperties] }, optional: true, nullable: false + field :preferred_authentication_method, -> { Auth0::Types::PreferredAuthenticationMethodEnum }, optional: true, nullable: false + field :link_id, -> { String }, optional: true, nullable: false + field :phone_number, -> { String }, optional: true, nullable: false + field :email, -> { String }, optional: true, nullable: false + field :key_id, -> { String }, optional: true, nullable: false + field :public_key, -> { String }, optional: true, nullable: false + field :created_at, -> { String }, optional: false, nullable: false + field :enrolled_at, -> { String }, optional: true, nullable: false + field :last_auth_at, -> { String }, optional: true, nullable: false + field :credential_device_type, -> { String }, optional: true, nullable: false + field :credential_backed_up, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :identity_user_id, -> { String }, optional: true, nullable: false + field :user_agent, -> { String }, optional: true, nullable: false + + field :user_handle, -> { String }, optional: true, nullable: false + + field :transports, -> { Internal::Types::Array[String] }, optional: true, nullable: false + field :aaguid, -> { String }, optional: true, nullable: false + field :relying_party_identifier, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/user_authentication_method_properties.rb b/lib/auth0/types/user_authentication_method_properties.rb index 8e0f2ca2..5db0ea24 100644 --- a/lib/auth0/types/user_authentication_method_properties.rb +++ b/lib/auth0/types/user_authentication_method_properties.rb @@ -4,6 +4,7 @@ module Auth0 module Types class UserAuthenticationMethodProperties < Internal::Types::Model field :type, -> { Auth0::Types::UserAuthenticationMethodPropertiesEnum }, optional: true, nullable: false + field :id, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/user_block_identifier.rb b/lib/auth0/types/user_block_identifier.rb index 1aadee8d..d7e6e67e 100644 --- a/lib/auth0/types/user_block_identifier.rb +++ b/lib/auth0/types/user_block_identifier.rb @@ -4,7 +4,9 @@ module Auth0 module Types class UserBlockIdentifier < Internal::Types::Model field :identifier, -> { String }, optional: true, nullable: false + field :ip, -> { String }, optional: true, nullable: false + field :connection, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/user_date_schema.rb b/lib/auth0/types/user_date_schema.rb index dbbae83d..3faa2aee 100644 --- a/lib/auth0/types/user_date_schema.rb +++ b/lib/auth0/types/user_date_schema.rb @@ -6,6 +6,7 @@ class UserDateSchema < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { String } + member -> { Internal::Types::Hash[String, Object] } end end diff --git a/lib/auth0/types/user_grant.rb b/lib/auth0/types/user_grant.rb index 479d1b46..eecb5cdf 100644 --- a/lib/auth0/types/user_grant.rb +++ b/lib/auth0/types/user_grant.rb @@ -4,9 +4,13 @@ module Auth0 module Types class UserGrant < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false, api_name: "clientID" + field :user_id, -> { String }, optional: true, nullable: false + field :audience, -> { String }, optional: true, nullable: false + field :scope, -> { Internal::Types::Array[String] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/user_id.rb b/lib/auth0/types/user_id.rb index 7e9c66f6..cb27a6ae 100644 --- a/lib/auth0/types/user_id.rb +++ b/lib/auth0/types/user_id.rb @@ -7,6 +7,7 @@ class UserID < Internal::Types::Model extend Auth0::Internal::Types::Union member -> { String } + member -> { Integer } end end diff --git a/lib/auth0/types/user_identity.rb b/lib/auth0/types/user_identity.rb index 76dc3800..fa979d31 100644 --- a/lib/auth0/types/user_identity.rb +++ b/lib/auth0/types/user_identity.rb @@ -4,12 +4,19 @@ module Auth0 module Types class UserIdentity < Internal::Types::Model field :connection, -> { String }, optional: false, nullable: false + field :user_id, -> { Auth0::Types::UserID }, optional: false, nullable: false + field :provider, -> { String }, optional: false, nullable: false + field :profile_data, -> { Auth0::Types::UserProfileData }, optional: true, nullable: false, api_name: "profileData" + field :is_social, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isSocial" + field :access_token, -> { String }, optional: true, nullable: false + field :access_token_secret, -> { String }, optional: true, nullable: false + field :refresh_token, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/user_identity_schema.rb b/lib/auth0/types/user_identity_schema.rb index c8b01bd5..fbb54d79 100644 --- a/lib/auth0/types/user_identity_schema.rb +++ b/lib/auth0/types/user_identity_schema.rb @@ -4,12 +4,19 @@ module Auth0 module Types class UserIdentitySchema < Internal::Types::Model field :connection, -> { String }, optional: true, nullable: false + field :user_id, -> { String }, optional: true, nullable: false + field :provider, -> { Auth0::Types::UserIdentityProviderEnum }, optional: true, nullable: false + field :is_social, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isSocial" + field :access_token, -> { String }, optional: true, nullable: false + field :access_token_secret, -> { String }, optional: true, nullable: false + field :refresh_token, -> { String }, optional: true, nullable: false + field :profile_data, -> { Auth0::Types::UserProfileData }, optional: true, nullable: false, api_name: "profileData" end end diff --git a/lib/auth0/types/user_list_log_offset_paginated_response_content.rb b/lib/auth0/types/user_list_log_offset_paginated_response_content.rb index 1a5daaff..37c6f27a 100644 --- a/lib/auth0/types/user_list_log_offset_paginated_response_content.rb +++ b/lib/auth0/types/user_list_log_offset_paginated_response_content.rb @@ -4,9 +4,13 @@ module Auth0 module Types class UserListLogOffsetPaginatedResponseContent < Internal::Types::Model field :start, -> { Integer }, optional: true, nullable: false + field :limit, -> { Integer }, optional: true, nullable: false + field :length, -> { Integer }, optional: true, nullable: false + field :total, -> { Integer }, optional: true, nullable: false + field :logs, -> { Internal::Types::Array[Auth0::Types::Log] }, optional: true, nullable: false end end diff --git a/lib/auth0/types/user_permission_schema.rb b/lib/auth0/types/user_permission_schema.rb index 6771e8ce..6718e479 100644 --- a/lib/auth0/types/user_permission_schema.rb +++ b/lib/auth0/types/user_permission_schema.rb @@ -4,8 +4,11 @@ module Auth0 module Types class UserPermissionSchema < Internal::Types::Model field :resource_server_identifier, -> { String }, optional: true, nullable: false + field :permission_name, -> { String }, optional: true, nullable: false + field :resource_server_name, -> { String }, optional: true, nullable: false + field :description, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/user_profile_data.rb b/lib/auth0/types/user_profile_data.rb index 3de4adad..802b0118 100644 --- a/lib/auth0/types/user_profile_data.rb +++ b/lib/auth0/types/user_profile_data.rb @@ -4,12 +4,19 @@ module Auth0 module Types class UserProfileData < Internal::Types::Model field :email, -> { String }, optional: true, nullable: false + field :email_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :username, -> { String }, optional: true, nullable: false + field :given_name, -> { String }, optional: true, nullable: false + field :phone_number, -> { String }, optional: true, nullable: false + field :phone_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :family_name, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/user_response_schema.rb b/lib/auth0/types/user_response_schema.rb index bed81347..f91e893c 100644 --- a/lib/auth0/types/user_response_schema.rb +++ b/lib/auth0/types/user_response_schema.rb @@ -4,25 +4,49 @@ module Auth0 module Types class UserResponseSchema < Internal::Types::Model field :user_id, -> { String }, optional: true, nullable: false + field :email, -> { String }, optional: true, nullable: false + field :email_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :username, -> { String }, optional: true, nullable: false + field :phone_number, -> { String }, optional: true, nullable: false + field :phone_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :created_at, -> { Auth0::Types::UserDateSchema }, optional: true, nullable: false + field :updated_at, -> { Auth0::Types::UserDateSchema }, optional: true, nullable: false + field :identities, -> { Internal::Types::Array[Auth0::Types::UserIdentitySchema] }, optional: true, nullable: false + field :app_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :user_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :picture, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :nickname, -> { String }, optional: true, nullable: false + field :multifactor, -> { Internal::Types::Array[String] }, optional: true, nullable: false + + field :multifactor_last_modified, -> { Auth0::Types::UserDateSchema }, optional: true, nullable: false + field :last_ip, -> { String }, optional: true, nullable: false + field :last_login, -> { Auth0::Types::UserDateSchema }, optional: true, nullable: false + + field :last_password_reset, -> { Auth0::Types::UserDateSchema }, optional: true, nullable: false + field :logins_count, -> { Integer }, optional: true, nullable: false + field :blocked, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :given_name, -> { String }, optional: true, nullable: false + field :family_name, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/username_allowed_types.rb b/lib/auth0/types/username_allowed_types.rb index f2207e5d..e72906ed 100644 --- a/lib/auth0/types/username_allowed_types.rb +++ b/lib/auth0/types/username_allowed_types.rb @@ -4,6 +4,7 @@ module Auth0 module Types class UsernameAllowedTypes < Internal::Types::Model field :email, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :phone_number, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/types/username_attribute.rb b/lib/auth0/types/username_attribute.rb index 92fef2a0..81be736a 100644 --- a/lib/auth0/types/username_attribute.rb +++ b/lib/auth0/types/username_attribute.rb @@ -5,8 +5,11 @@ module Types # Configuration for the username attribute for users. class UsernameAttribute < Internal::Types::Model field :identifier, -> { Auth0::Types::ConnectionAttributeIdentifier }, optional: true, nullable: false + field :profile_required, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :signup, -> { Auth0::Types::SignupSchema }, optional: true, nullable: false + field :validation, -> { Auth0::Types::UsernameValidation }, optional: true, nullable: false end end diff --git a/lib/auth0/types/username_validation.rb b/lib/auth0/types/username_validation.rb index 6e3e2f8c..47d8682b 100644 --- a/lib/auth0/types/username_validation.rb +++ b/lib/auth0/types/username_validation.rb @@ -4,7 +4,9 @@ module Auth0 module Types class UsernameValidation < Internal::Types::Model field :min_length, -> { Integer }, optional: true, nullable: false + field :max_length, -> { Integer }, optional: true, nullable: false + field :allowed_types, -> { Auth0::Types::UsernameAllowedTypes }, optional: true, nullable: false end end diff --git a/lib/auth0/types/users_enrollment.rb b/lib/auth0/types/users_enrollment.rb index 29c67d1d..31c9934c 100644 --- a/lib/auth0/types/users_enrollment.rb +++ b/lib/auth0/types/users_enrollment.rb @@ -4,13 +4,21 @@ module Auth0 module Types class UsersEnrollment < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :status, -> { Auth0::Types::UserEnrollmentStatusEnum }, optional: true, nullable: false + field :type, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :identifier, -> { String }, optional: true, nullable: false + field :phone_number, -> { String }, optional: true, nullable: false + field :auth_method, -> { Auth0::Types::UserEnrollmentAuthMethodEnum }, optional: true, nullable: false + field :enrolled_at, -> { String }, optional: true, nullable: false + field :last_auth, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/verifiable_credential_template_response.rb b/lib/auth0/types/verifiable_credential_template_response.rb index 673ffd9a..b7586100 100644 --- a/lib/auth0/types/verifiable_credential_template_response.rb +++ b/lib/auth0/types/verifiable_credential_template_response.rb @@ -4,13 +4,21 @@ module Auth0 module Types class VerifiableCredentialTemplateResponse < Internal::Types::Model field :id, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :type, -> { String }, optional: true, nullable: false + field :dialect, -> { String }, optional: true, nullable: false + field :presentation, -> { Auth0::Types::MdlPresentationRequest }, optional: true, nullable: false + field :custom_certificate_authority, -> { String }, optional: true, nullable: false + field :well_known_trusted_issuers, -> { String }, optional: true, nullable: false + field :created_at, -> { String }, optional: true, nullable: false + field :updated_at, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/types/verify_custom_domain_response_content.rb b/lib/auth0/types/verify_custom_domain_response_content.rb index 6b564c47..2ca9d1b1 100644 --- a/lib/auth0/types/verify_custom_domain_response_content.rb +++ b/lib/auth0/types/verify_custom_domain_response_content.rb @@ -4,16 +4,27 @@ module Auth0 module Types class VerifyCustomDomainResponseContent < Internal::Types::Model field :custom_domain_id, -> { String }, optional: false, nullable: false + field :domain, -> { String }, optional: false, nullable: false + field :primary, -> { Internal::Types::Boolean }, optional: false, nullable: false + field :status, -> { Auth0::Types::CustomDomainStatusFilterEnum }, optional: false, nullable: false + field :type, -> { Auth0::Types::CustomDomainTypeEnum }, optional: false, nullable: false + field :cname_api_key, -> { String }, optional: true, nullable: false + field :origin_domain_name, -> { String }, optional: true, nullable: false + field :verification, -> { Auth0::Types::DomainVerification }, optional: true, nullable: false + field :custom_client_ip_header, -> { String }, optional: true, nullable: false + field :tls_policy, -> { String }, optional: true, nullable: false + field :domain_metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false + field :certificate, -> { Auth0::Types::DomainCertificate }, optional: true, nullable: false end end diff --git a/lib/auth0/types/x509certificate_credential.rb b/lib/auth0/types/x509certificate_credential.rb index ac17a1b0..88eff57f 100644 --- a/lib/auth0/types/x509certificate_credential.rb +++ b/lib/auth0/types/x509certificate_credential.rb @@ -4,7 +4,9 @@ module Auth0 module Types class X509CertificateCredential < Internal::Types::Model field :credential_type, -> { Auth0::Types::X509CertificateCredentialTypeEnum }, optional: false, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :pem, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/user_attribute_profiles/client.rb b/lib/auth0/user_attribute_profiles/client.rb index d4959df9..c8644431 100644 --- a/lib/auth0/user_attribute_profiles/client.rb +++ b/lib/auth0/user_attribute_profiles/client.rb @@ -25,11 +25,9 @@ def initialize(client:) # @return [Auth0::Types::ListUserAttributeProfilesPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[from take] query_params = {} query_params["from"] = params[:from] if params.key?(:from) query_params["take"] = params.fetch(:take, 50) - params.except(*query_param_names) Auth0::Internal::CursorItemIterator.new( cursor_field: :next_, @@ -51,7 +49,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListUserAttributeProfilesPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListUserAttributeProfilesPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -59,7 +58,7 @@ def list(request_options: {}, **params) end end - # Retrieve details about a single User Attribute Profile specified by ID. + # Create a User Attribute Profile # # @param request_options [Hash] # @param params [Auth0::UserAttributeProfiles::Types::CreateUserAttributeProfileRequestContent] @@ -96,7 +95,7 @@ def create(request_options: {}, **params) # Retrieve a list of User Attribute Profile Templates. # # @param request_options [Hash] - # @param params [Hash] + # @param _params [Hash] # @option request_options [String] :base_url # @option request_options [Hash{String => Object}] :additional_headers # @option request_options [Hash{String => Object}] :additional_query_parameters @@ -104,8 +103,7 @@ def create(request_options: {}, **params) # @option request_options [Integer] :timeout_in_seconds # # @return [Auth0::Types::ListUserAttributeProfileTemplateResponseContent] - def list_templates(request_options: {}, **params) - Auth0::Internal::Types::Utils.normalize_keys(params) + def list_templates(request_options: {}, **_params) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], method: "GET", @@ -241,7 +239,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::UserAttributeProfiles::Types::UpdateUserAttributeProfileRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/user_attribute_profiles/types/create_user_attribute_profile_request_content.rb b/lib/auth0/user_attribute_profiles/types/create_user_attribute_profile_request_content.rb index db02db8e..94e8180e 100644 --- a/lib/auth0/user_attribute_profiles/types/create_user_attribute_profile_request_content.rb +++ b/lib/auth0/user_attribute_profiles/types/create_user_attribute_profile_request_content.rb @@ -5,7 +5,9 @@ module UserAttributeProfiles module Types class CreateUserAttributeProfileRequestContent < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :user_id, -> { Auth0::Types::UserAttributeProfileUserID }, optional: true, nullable: false + field :user_attributes, -> { Internal::Types::Hash[String, Auth0::Types::UserAttributeProfileUserAttributeAdditionalProperties] }, optional: false, nullable: false end end diff --git a/lib/auth0/user_attribute_profiles/types/list_user_attribute_profile_request_parameters.rb b/lib/auth0/user_attribute_profiles/types/list_user_attribute_profile_request_parameters.rb index 8b1a7d3d..2bc77a34 100644 --- a/lib/auth0/user_attribute_profiles/types/list_user_attribute_profile_request_parameters.rb +++ b/lib/auth0/user_attribute_profiles/types/list_user_attribute_profile_request_parameters.rb @@ -5,6 +5,7 @@ module UserAttributeProfiles module Types class ListUserAttributeProfileRequestParameters < Internal::Types::Model field :from, -> { String }, optional: true, nullable: false + field :take, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/user_attribute_profiles/types/update_user_attribute_profile_request_content.rb b/lib/auth0/user_attribute_profiles/types/update_user_attribute_profile_request_content.rb index 28a9f804..99dcf0ce 100644 --- a/lib/auth0/user_attribute_profiles/types/update_user_attribute_profile_request_content.rb +++ b/lib/auth0/user_attribute_profiles/types/update_user_attribute_profile_request_content.rb @@ -5,8 +5,11 @@ module UserAttributeProfiles module Types class UpdateUserAttributeProfileRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :user_id, -> { Auth0::Types::UserAttributeProfileUserID }, optional: true, nullable: false + field :user_attributes, -> { Internal::Types::Hash[String, Auth0::Types::UserAttributeProfileUserAttributeAdditionalProperties] }, optional: true, nullable: false end end diff --git a/lib/auth0/user_blocks/client.rb b/lib/auth0/user_blocks/client.rb index 0c8d2e7d..c90b0dd1 100644 --- a/lib/auth0/user_blocks/client.rb +++ b/lib/auth0/user_blocks/client.rb @@ -27,11 +27,9 @@ def initialize(client:) # @return [Auth0::Types::ListUserBlocksByIdentifierResponseContent] def list_by_identifier(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[identifier consider_brute_force_enablement] query_params = {} query_params["identifier"] = params[:identifier] if params.key?(:identifier) query_params["consider_brute_force_enablement"] = params[:consider_brute_force_enablement] if params.key?(:consider_brute_force_enablement) - params.except(*query_param_names) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], @@ -72,10 +70,8 @@ def list_by_identifier(request_options: {}, **params) # @return [untyped] def delete_by_identifier(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[identifier] query_params = {} query_params["identifier"] = params[:identifier] if params.key?(:identifier) - params.except(*query_param_names) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], @@ -113,10 +109,8 @@ def delete_by_identifier(request_options: {}, **params) # @return [Auth0::Types::ListUserBlocksResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[consider_brute_force_enablement] query_params = {} query_params["consider_brute_force_enablement"] = params[:consider_brute_force_enablement] if params.key?(:consider_brute_force_enablement) - params = params.except(*query_param_names) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], diff --git a/lib/auth0/user_blocks/types/list_user_blocks_by_identifier_request_parameters.rb b/lib/auth0/user_blocks/types/list_user_blocks_by_identifier_request_parameters.rb index f089242b..17b6c273 100644 --- a/lib/auth0/user_blocks/types/list_user_blocks_by_identifier_request_parameters.rb +++ b/lib/auth0/user_blocks/types/list_user_blocks_by_identifier_request_parameters.rb @@ -5,6 +5,7 @@ module UserBlocks module Types class ListUserBlocksByIdentifierRequestParameters < Internal::Types::Model field :identifier, -> { String }, optional: false, nullable: false + field :consider_brute_force_enablement, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/user_blocks/types/list_user_blocks_request_parameters.rb b/lib/auth0/user_blocks/types/list_user_blocks_request_parameters.rb index 8b0e9f77..14700be2 100644 --- a/lib/auth0/user_blocks/types/list_user_blocks_request_parameters.rb +++ b/lib/auth0/user_blocks/types/list_user_blocks_request_parameters.rb @@ -5,6 +5,7 @@ module UserBlocks module Types class ListUserBlocksRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :consider_brute_force_enablement, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/user_grants/client.rb b/lib/auth0/user_grants/client.rb index 5e71a323..a0bc4068 100644 --- a/lib/auth0/user_grants/client.rb +++ b/lib/auth0/user_grants/client.rb @@ -30,7 +30,6 @@ def initialize(client:) # @return [Auth0::Types::ListUserGrantsOffsetPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[per_page page include_totals user_id client_id audience] query_params = {} query_params["per_page"] = params.fetch(:per_page, 50) query_params["page"] = params.fetch(:page, 0) @@ -38,13 +37,12 @@ def list(request_options: {}, **params) query_params["user_id"] = params[:user_id] if params.key?(:user_id) query_params["client_id"] = params[:client_id] if params.key?(:client_id) query_params["audience"] = params[:audience] if params.key?(:audience) - params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :grants, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -61,7 +59,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListUserGrantsOffsetPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListUserGrantsOffsetPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -83,10 +82,8 @@ def list(request_options: {}, **params) # @return [untyped] def delete_by_user_id(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[user_id] query_params = {} query_params["user_id"] = params[:user_id] if params.key?(:user_id) - params.except(*query_param_names) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], diff --git a/lib/auth0/user_grants/types/list_user_grants_request_parameters.rb b/lib/auth0/user_grants/types/list_user_grants_request_parameters.rb index 75873e44..696c13ca 100644 --- a/lib/auth0/user_grants/types/list_user_grants_request_parameters.rb +++ b/lib/auth0/user_grants/types/list_user_grants_request_parameters.rb @@ -5,10 +5,15 @@ module UserGrants module Types class ListUserGrantsRequestParameters < Internal::Types::Model field :per_page, -> { Integer }, optional: true, nullable: false + field :page, -> { Integer }, optional: true, nullable: false + field :include_totals, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :user_id, -> { String }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false + field :audience, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/users/authentication_methods/client.rb b/lib/auth0/users/authentication_methods/client.rb index 9508335d..40fe8fc6 100644 --- a/lib/auth0/users/authentication_methods/client.rb +++ b/lib/auth0/users/authentication_methods/client.rb @@ -28,18 +28,16 @@ def initialize(client:) # @return [Auth0::Types::ListUserAuthenticationMethodsOffsetPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[page per_page include_totals] query_params = {} query_params["page"] = params.fetch(:page, 0) query_params["per_page"] = params.fetch(:per_page, 50) query_params["include_totals"] = params.fetch(:include_totals, true) - params = params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :authenticators, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -56,7 +54,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListUserAuthenticationMethodsOffsetPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListUserAuthenticationMethodsOffsetPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -80,7 +79,7 @@ def list(request_options: {}, **params) def create(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Users::AuthenticationMethods::Types::CreateUserAuthenticationMethodRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/users/authentication_methods/types/create_user_authentication_method_request_content.rb b/lib/auth0/users/authentication_methods/types/create_user_authentication_method_request_content.rb index f2369ce1..3976fef3 100644 --- a/lib/auth0/users/authentication_methods/types/create_user_authentication_method_request_content.rb +++ b/lib/auth0/users/authentication_methods/types/create_user_authentication_method_request_content.rb @@ -6,15 +6,38 @@ module AuthenticationMethods module Types class CreateUserAuthenticationMethodRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :type, -> { Auth0::Types::CreatedUserAuthenticationMethodTypeEnum }, optional: false, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :totp_secret, -> { String }, optional: true, nullable: false + field :phone_number, -> { String }, optional: true, nullable: false + field :email, -> { String }, optional: true, nullable: false + field :preferred_authentication_method, -> { Auth0::Types::PreferredAuthenticationMethodEnum }, optional: true, nullable: false + field :key_id, -> { String }, optional: true, nullable: false + field :public_key, -> { String }, optional: true, nullable: false + + field :aaguid, -> { String }, optional: true, nullable: false + field :relying_party_identifier, -> { String }, optional: true, nullable: false + + field :credential_device_type, -> { Auth0::Types::CredentialDeviceTypeEnum }, optional: true, nullable: false + + field :credential_backed_up, -> { Internal::Types::Boolean }, optional: true, nullable: false + + field :identity_user_id, -> { String }, optional: true, nullable: false + + field :user_agent, -> { String }, optional: true, nullable: false + + field :user_handle, -> { String }, optional: true, nullable: false + + field :transports, -> { Internal::Types::Array[String] }, optional: true, nullable: false end end end diff --git a/lib/auth0/users/authentication_methods/types/list_user_authentication_methods_request_parameters.rb b/lib/auth0/users/authentication_methods/types/list_user_authentication_methods_request_parameters.rb index 36e7c1c1..4b56b145 100644 --- a/lib/auth0/users/authentication_methods/types/list_user_authentication_methods_request_parameters.rb +++ b/lib/auth0/users/authentication_methods/types/list_user_authentication_methods_request_parameters.rb @@ -6,8 +6,11 @@ module AuthenticationMethods module Types class ListUserAuthenticationMethodsRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :include_totals, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/users/authentication_methods/types/update_user_authentication_method_request_content.rb b/lib/auth0/users/authentication_methods/types/update_user_authentication_method_request_content.rb index 1e7428c7..81b9066c 100644 --- a/lib/auth0/users/authentication_methods/types/update_user_authentication_method_request_content.rb +++ b/lib/auth0/users/authentication_methods/types/update_user_authentication_method_request_content.rb @@ -6,8 +6,11 @@ module AuthenticationMethods module Types class UpdateUserAuthenticationMethodRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :authentication_method_id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :preferred_authentication_method, -> { Auth0::Types::PreferredAuthenticationMethodEnum }, optional: true, nullable: false end end diff --git a/lib/auth0/users/client.rb b/lib/auth0/users/client.rb index 65ded112..a4adc6b7 100644 --- a/lib/auth0/users/client.rb +++ b/lib/auth0/users/client.rb @@ -50,7 +50,6 @@ def initialize(client:) # @return [Auth0::Types::ListUsersOffsetPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[page per_page include_totals sort connection fields include_fields q search_engine primary_order] query_params = {} query_params["page"] = params.fetch(:page, 0) query_params["per_page"] = params.fetch(:per_page, 50) @@ -62,13 +61,12 @@ def list(request_options: {}, **params) query_params["q"] = params[:q] if params.key?(:q) query_params["search_engine"] = params[:search_engine] if params.key?(:search_engine) query_params["primary_order"] = params[:primary_order] if params.key?(:primary_order) - params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :users, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -85,7 +83,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListUsersOffsetPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListUsersOffsetPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -154,12 +153,10 @@ def create(request_options: {}, **params) # @return [Array[Auth0::Types::UserResponseSchema]] def list_users_by_email(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[fields include_fields email] query_params = {} query_params["fields"] = params[:fields] if params.key?(:fields) query_params["include_fields"] = params[:include_fields] if params.key?(:include_fields) query_params["email"] = params[:email] if params.key?(:email) - params.except(*query_param_names) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], @@ -198,11 +195,9 @@ def list_users_by_email(request_options: {}, **params) # @return [Auth0::Types::GetUserResponseContent] def get(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[fields include_fields] query_params = {} query_params["fields"] = params[:fields] if params.key?(:fields) query_params["include_fields"] = params[:include_fields] if params.key?(:include_fields) - params = params.except(*query_param_names) request = Auth0::Internal::JSON::Request.new( base_url: request_options[:base_url], @@ -353,7 +348,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Users::Types::UpdateUserRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( @@ -429,7 +424,7 @@ def regenerate_recovery_code(request_options: {}, **params) def revoke_access(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Users::Types::RevokeUserAccessRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/users/connected_accounts/client.rb b/lib/auth0/users/connected_accounts/client.rb index d3bc742e..2af49f74 100644 --- a/lib/auth0/users/connected_accounts/client.rb +++ b/lib/auth0/users/connected_accounts/client.rb @@ -27,11 +27,9 @@ def initialize(client:) # @return [Auth0::Types::ListUserConnectedAccountsResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[from take] query_params = {} query_params["from"] = params[:from] if params.key?(:from) query_params["take"] = params.fetch(:take, 50) - params = params.except(*query_param_names) Auth0::Internal::CursorItemIterator.new( cursor_field: :next_, @@ -53,7 +51,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListUserConnectedAccountsResponseContent.load(response.body) + parsed_response = Auth0::Types::ListUserConnectedAccountsResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/auth0/users/connected_accounts/types/get_user_connected_accounts_request_parameters.rb b/lib/auth0/users/connected_accounts/types/get_user_connected_accounts_request_parameters.rb index fbb0b8d2..4271eabb 100644 --- a/lib/auth0/users/connected_accounts/types/get_user_connected_accounts_request_parameters.rb +++ b/lib/auth0/users/connected_accounts/types/get_user_connected_accounts_request_parameters.rb @@ -6,7 +6,9 @@ module ConnectedAccounts module Types class GetUserConnectedAccountsRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :from, -> { String }, optional: true, nullable: false + field :take, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/users/groups/client.rb b/lib/auth0/users/groups/client.rb index 96630bd4..7eac1aea 100644 --- a/lib/auth0/users/groups/client.rb +++ b/lib/auth0/users/groups/client.rb @@ -29,13 +29,11 @@ def initialize(client:) # @return [Auth0::Types::GetUserGroupsPaginatedResponseContent] def get(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[fields include_fields from take] query_params = {} query_params["fields"] = params[:fields] if params.key?(:fields) query_params["include_fields"] = params[:include_fields] if params.key?(:include_fields) query_params["from"] = params[:from] if params.key?(:from) query_params["take"] = params.fetch(:take, 50) - params = params.except(*query_param_names) Auth0::Internal::CursorItemIterator.new( cursor_field: :next_, @@ -57,7 +55,8 @@ def get(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::GetUserGroupsPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::GetUserGroupsPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/auth0/users/groups/types/get_user_groups_request_parameters.rb b/lib/auth0/users/groups/types/get_user_groups_request_parameters.rb index c02ce305..f60d898b 100644 --- a/lib/auth0/users/groups/types/get_user_groups_request_parameters.rb +++ b/lib/auth0/users/groups/types/get_user_groups_request_parameters.rb @@ -6,9 +6,13 @@ module Groups module Types class GetUserGroupsRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :fields, -> { String }, optional: true, nullable: false + field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :from, -> { String }, optional: true, nullable: false + field :take, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/users/identities/client.rb b/lib/auth0/users/identities/client.rb index 59b54267..003cc24c 100644 --- a/lib/auth0/users/identities/client.rb +++ b/lib/auth0/users/identities/client.rb @@ -58,7 +58,7 @@ def initialize(client:) def link(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Users::Identities::Types::LinkUserIdentityRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/users/identities/types/link_user_identity_request_content.rb b/lib/auth0/users/identities/types/link_user_identity_request_content.rb index 33f3a0c7..4d839367 100644 --- a/lib/auth0/users/identities/types/link_user_identity_request_content.rb +++ b/lib/auth0/users/identities/types/link_user_identity_request_content.rb @@ -6,9 +6,13 @@ module Identities module Types class LinkUserIdentityRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :provider, -> { Auth0::Types::UserIdentityProviderEnum }, optional: true, nullable: false + field :connection_id, -> { String }, optional: true, nullable: false + field :user_id, -> { Auth0::Types::UserID }, optional: true, nullable: false + field :link_with, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/users/logs/client.rb b/lib/auth0/users/logs/client.rb index 4d26f368..8f30ca04 100644 --- a/lib/auth0/users/logs/client.rb +++ b/lib/auth0/users/logs/client.rb @@ -39,19 +39,17 @@ def initialize(client:) # @return [Auth0::Types::UserListLogOffsetPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[page per_page sort include_totals] query_params = {} query_params["page"] = params.fetch(:page, 0) query_params["per_page"] = params.fetch(:per_page, 50) query_params["sort"] = params[:sort] if params.key?(:sort) query_params["include_totals"] = params.fetch(:include_totals, true) - params = params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :logs, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -68,7 +66,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::UserListLogOffsetPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::UserListLogOffsetPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/auth0/users/logs/types/list_user_logs_request_parameters.rb b/lib/auth0/users/logs/types/list_user_logs_request_parameters.rb index b47ffde9..acbe0440 100644 --- a/lib/auth0/users/logs/types/list_user_logs_request_parameters.rb +++ b/lib/auth0/users/logs/types/list_user_logs_request_parameters.rb @@ -6,9 +6,13 @@ module Logs module Types class ListUserLogsRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :sort, -> { String }, optional: true, nullable: false + field :include_totals, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/users/organizations/client.rb b/lib/auth0/users/organizations/client.rb index 9c3d3f0e..b3637e76 100644 --- a/lib/auth0/users/organizations/client.rb +++ b/lib/auth0/users/organizations/client.rb @@ -29,18 +29,16 @@ def initialize(client:) # @return [Auth0::Types::ListUserOrganizationsOffsetPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[page per_page include_totals] query_params = {} query_params["page"] = params.fetch(:page, 0) query_params["per_page"] = params.fetch(:per_page, 50) query_params["include_totals"] = params.fetch(:include_totals, true) - params = params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :organizations, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -57,7 +55,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListUserOrganizationsOffsetPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListUserOrganizationsOffsetPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/auth0/users/organizations/types/list_user_organizations_request_parameters.rb b/lib/auth0/users/organizations/types/list_user_organizations_request_parameters.rb index 7a5b8fc2..a70cdd81 100644 --- a/lib/auth0/users/organizations/types/list_user_organizations_request_parameters.rb +++ b/lib/auth0/users/organizations/types/list_user_organizations_request_parameters.rb @@ -6,8 +6,11 @@ module Organizations module Types class ListUserOrganizationsRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :include_totals, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/users/permissions/client.rb b/lib/auth0/users/permissions/client.rb index e6ef350a..06d7564b 100644 --- a/lib/auth0/users/permissions/client.rb +++ b/lib/auth0/users/permissions/client.rb @@ -28,18 +28,16 @@ def initialize(client:) # @return [Auth0::Types::ListUserPermissionsOffsetPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[per_page page include_totals] query_params = {} query_params["per_page"] = params.fetch(:per_page, 50) query_params["page"] = params.fetch(:page, 0) query_params["include_totals"] = params.fetch(:include_totals, true) - params = params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :permissions, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -56,7 +54,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListUserPermissionsOffsetPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListUserPermissionsOffsetPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -79,7 +78,7 @@ def list(request_options: {}, **params) def create(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Users::Permissions::Types::CreateUserPermissionsRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( @@ -116,7 +115,7 @@ def create(request_options: {}, **params) def delete(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Users::Permissions::Types::DeleteUserPermissionsRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/users/permissions/types/create_user_permissions_request_content.rb b/lib/auth0/users/permissions/types/create_user_permissions_request_content.rb index 74e6a8b4..4cb96f87 100644 --- a/lib/auth0/users/permissions/types/create_user_permissions_request_content.rb +++ b/lib/auth0/users/permissions/types/create_user_permissions_request_content.rb @@ -6,6 +6,7 @@ module Permissions module Types class CreateUserPermissionsRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :permissions, -> { Internal::Types::Array[Auth0::Types::PermissionRequestPayload] }, optional: false, nullable: false end end diff --git a/lib/auth0/users/permissions/types/delete_user_permissions_request_content.rb b/lib/auth0/users/permissions/types/delete_user_permissions_request_content.rb index 29403484..d9098769 100644 --- a/lib/auth0/users/permissions/types/delete_user_permissions_request_content.rb +++ b/lib/auth0/users/permissions/types/delete_user_permissions_request_content.rb @@ -6,6 +6,7 @@ module Permissions module Types class DeleteUserPermissionsRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :permissions, -> { Internal::Types::Array[Auth0::Types::PermissionRequestPayload] }, optional: false, nullable: false end end diff --git a/lib/auth0/users/permissions/types/list_user_permissions_request_parameters.rb b/lib/auth0/users/permissions/types/list_user_permissions_request_parameters.rb index 76e69e20..20a9888f 100644 --- a/lib/auth0/users/permissions/types/list_user_permissions_request_parameters.rb +++ b/lib/auth0/users/permissions/types/list_user_permissions_request_parameters.rb @@ -6,8 +6,11 @@ module Permissions module Types class ListUserPermissionsRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :page, -> { Integer }, optional: true, nullable: false + field :include_totals, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/users/refresh_token/client.rb b/lib/auth0/users/refresh_token/client.rb index 681f8c78..9a98017d 100644 --- a/lib/auth0/users/refresh_token/client.rb +++ b/lib/auth0/users/refresh_token/client.rb @@ -27,11 +27,9 @@ def initialize(client:) # @return [Auth0::Types::ListRefreshTokensPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[from take] query_params = {} query_params["from"] = params[:from] if params.key?(:from) query_params["take"] = params.fetch(:take, 50) - params = params.except(*query_param_names) Auth0::Internal::CursorItemIterator.new( cursor_field: :next_, @@ -53,7 +51,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListRefreshTokensPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListRefreshTokensPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/auth0/users/refresh_token/types/list_refresh_tokens_request_parameters.rb b/lib/auth0/users/refresh_token/types/list_refresh_tokens_request_parameters.rb index b0e5bb15..7359713b 100644 --- a/lib/auth0/users/refresh_token/types/list_refresh_tokens_request_parameters.rb +++ b/lib/auth0/users/refresh_token/types/list_refresh_tokens_request_parameters.rb @@ -6,7 +6,9 @@ module RefreshToken module Types class ListRefreshTokensRequestParameters < Internal::Types::Model field :user_id, -> { String }, optional: false, nullable: false + field :from, -> { String }, optional: true, nullable: false + field :take, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/users/risk_assessments/client.rb b/lib/auth0/users/risk_assessments/client.rb index 49e29ff5..439d7f71 100644 --- a/lib/auth0/users/risk_assessments/client.rb +++ b/lib/auth0/users/risk_assessments/client.rb @@ -26,7 +26,7 @@ def initialize(client:) def clear(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Users::RiskAssessments::Types::ClearAssessorsRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/users/risk_assessments/types/clear_assessors_request_content.rb b/lib/auth0/users/risk_assessments/types/clear_assessors_request_content.rb index 07962375..136abbfe 100644 --- a/lib/auth0/users/risk_assessments/types/clear_assessors_request_content.rb +++ b/lib/auth0/users/risk_assessments/types/clear_assessors_request_content.rb @@ -6,7 +6,9 @@ module RiskAssessments module Types class ClearAssessorsRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :connection, -> { String }, optional: false, nullable: false + field :assessors, -> { Internal::Types::Array[Auth0::Types::AssessorsTypeEnum] }, optional: false, nullable: false end end diff --git a/lib/auth0/users/roles/client.rb b/lib/auth0/users/roles/client.rb index c85be188..32b238f4 100644 --- a/lib/auth0/users/roles/client.rb +++ b/lib/auth0/users/roles/client.rb @@ -33,18 +33,16 @@ def initialize(client:) # @return [Auth0::Types::ListUserRolesOffsetPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[per_page page include_totals] query_params = {} query_params["per_page"] = params.fetch(:per_page, 50) query_params["page"] = params.fetch(:page, 0) query_params["include_totals"] = params.fetch(:include_totals, true) - params = params.except(*query_param_names) Auth0::Internal::OffsetItemIterator.new( initial_page: query_params["page"], item_field: :roles, has_next_field: nil, - step: true + step: false ) do |next_page| query_params["page"] = next_page request = Auth0::Internal::JSON::Request.new( @@ -61,7 +59,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListUserRolesOffsetPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListUserRolesOffsetPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -91,7 +90,7 @@ def list(request_options: {}, **params) def assign(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Users::Roles::Types::AssignUserRolesRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( @@ -133,7 +132,7 @@ def assign(request_options: {}, **params) def delete(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::Users::Roles::Types::DeleteUserRolesRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/users/roles/types/assign_user_roles_request_content.rb b/lib/auth0/users/roles/types/assign_user_roles_request_content.rb index 91e5dc57..19bebdbd 100644 --- a/lib/auth0/users/roles/types/assign_user_roles_request_content.rb +++ b/lib/auth0/users/roles/types/assign_user_roles_request_content.rb @@ -6,6 +6,7 @@ module Roles module Types class AssignUserRolesRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :roles, -> { Internal::Types::Array[String] }, optional: false, nullable: false end end diff --git a/lib/auth0/users/roles/types/delete_user_roles_request_content.rb b/lib/auth0/users/roles/types/delete_user_roles_request_content.rb index 1ad909d0..aa0bb755 100644 --- a/lib/auth0/users/roles/types/delete_user_roles_request_content.rb +++ b/lib/auth0/users/roles/types/delete_user_roles_request_content.rb @@ -6,6 +6,7 @@ module Roles module Types class DeleteUserRolesRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :roles, -> { Internal::Types::Array[String] }, optional: false, nullable: false end end diff --git a/lib/auth0/users/roles/types/list_user_roles_request_parameters.rb b/lib/auth0/users/roles/types/list_user_roles_request_parameters.rb index 9571d832..0f3ce427 100644 --- a/lib/auth0/users/roles/types/list_user_roles_request_parameters.rb +++ b/lib/auth0/users/roles/types/list_user_roles_request_parameters.rb @@ -6,8 +6,11 @@ module Roles module Types class ListUserRolesRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :page, -> { Integer }, optional: true, nullable: false + field :include_totals, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/users/sessions/client.rb b/lib/auth0/users/sessions/client.rb index 6d3c2e97..af970624 100644 --- a/lib/auth0/users/sessions/client.rb +++ b/lib/auth0/users/sessions/client.rb @@ -27,11 +27,9 @@ def initialize(client:) # @return [Auth0::Types::ListUserSessionsPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[from take] query_params = {} query_params["from"] = params[:from] if params.key?(:from) query_params["take"] = params.fetch(:take, 50) - params = params.except(*query_param_names) Auth0::Internal::CursorItemIterator.new( cursor_field: :next_, @@ -53,7 +51,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListUserSessionsPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListUserSessionsPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) diff --git a/lib/auth0/users/sessions/types/list_user_sessions_request_parameters.rb b/lib/auth0/users/sessions/types/list_user_sessions_request_parameters.rb index fa4a4a59..e7a53b92 100644 --- a/lib/auth0/users/sessions/types/list_user_sessions_request_parameters.rb +++ b/lib/auth0/users/sessions/types/list_user_sessions_request_parameters.rb @@ -6,7 +6,9 @@ module Sessions module Types class ListUserSessionsRequestParameters < Internal::Types::Model field :user_id, -> { String }, optional: false, nullable: false + field :from, -> { String }, optional: true, nullable: false + field :take, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/users/types/create_user_request_content.rb b/lib/auth0/users/types/create_user_request_content.rb index 8b49987b..fdf06950 100644 --- a/lib/auth0/users/types/create_user_request_content.rb +++ b/lib/auth0/users/types/create_user_request_content.rb @@ -5,21 +5,37 @@ module Users module Types class CreateUserRequestContent < Internal::Types::Model field :email, -> { String }, optional: true, nullable: false + field :phone_number, -> { String }, optional: true, nullable: false + field :user_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :blocked, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :email_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :phone_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :app_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :given_name, -> { String }, optional: true, nullable: false + field :family_name, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :nickname, -> { String }, optional: true, nullable: false + field :picture, -> { String }, optional: true, nullable: false + field :user_id, -> { String }, optional: true, nullable: false + field :connection, -> { String }, optional: false, nullable: false + field :password, -> { String }, optional: true, nullable: false + field :verify_email, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :username, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/users/types/get_user_request_parameters.rb b/lib/auth0/users/types/get_user_request_parameters.rb index d80297e2..744cd642 100644 --- a/lib/auth0/users/types/get_user_request_parameters.rb +++ b/lib/auth0/users/types/get_user_request_parameters.rb @@ -5,7 +5,9 @@ module Users module Types class GetUserRequestParameters < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :fields, -> { String }, optional: true, nullable: false + field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/users/types/list_users_by_email_request_parameters.rb b/lib/auth0/users/types/list_users_by_email_request_parameters.rb index d607700f..7d2ab109 100644 --- a/lib/auth0/users/types/list_users_by_email_request_parameters.rb +++ b/lib/auth0/users/types/list_users_by_email_request_parameters.rb @@ -5,7 +5,9 @@ module Users module Types class ListUsersByEmailRequestParameters < Internal::Types::Model field :fields, -> { String }, optional: true, nullable: false + field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :email, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/users/types/list_users_request_parameters.rb b/lib/auth0/users/types/list_users_request_parameters.rb index 2ce3ae2d..b39fb7ec 100644 --- a/lib/auth0/users/types/list_users_request_parameters.rb +++ b/lib/auth0/users/types/list_users_request_parameters.rb @@ -5,14 +5,23 @@ module Users module Types class ListUsersRequestParameters < Internal::Types::Model field :page, -> { Integer }, optional: true, nullable: false + field :per_page, -> { Integer }, optional: true, nullable: false + field :include_totals, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :sort, -> { String }, optional: true, nullable: false + field :connection, -> { String }, optional: true, nullable: false + field :fields, -> { String }, optional: true, nullable: false + field :include_fields, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :q, -> { String }, optional: true, nullable: false + field :search_engine, -> { Auth0::Types::SearchEngineVersionsEnum }, optional: true, nullable: false + field :primary_order, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/users/types/revoke_user_access_request_content.rb b/lib/auth0/users/types/revoke_user_access_request_content.rb index f3e2b489..b59f9915 100644 --- a/lib/auth0/users/types/revoke_user_access_request_content.rb +++ b/lib/auth0/users/types/revoke_user_access_request_content.rb @@ -5,7 +5,9 @@ module Users module Types class RevokeUserAccessRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :session_id, -> { String }, optional: true, nullable: false + field :preserve_refresh_tokens, -> { Internal::Types::Boolean }, optional: true, nullable: false end end diff --git a/lib/auth0/users/types/update_user_request_content.rb b/lib/auth0/users/types/update_user_request_content.rb index 4d9dfe4f..d09d0b47 100644 --- a/lib/auth0/users/types/update_user_request_content.rb +++ b/lib/auth0/users/types/update_user_request_content.rb @@ -5,23 +5,41 @@ module Users module Types class UpdateUserRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :blocked, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :email_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :email, -> { String }, optional: true, nullable: false + field :phone_number, -> { String }, optional: true, nullable: false + field :phone_verified, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :user_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :app_metadata, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false + field :given_name, -> { String }, optional: true, nullable: false + field :family_name, -> { String }, optional: true, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :nickname, -> { String }, optional: true, nullable: false + field :picture, -> { String }, optional: true, nullable: false + field :verify_email, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :verify_phone_number, -> { Internal::Types::Boolean }, optional: true, nullable: false + field :password, -> { String }, optional: true, nullable: false + field :connection, -> { String }, optional: true, nullable: false + field :client_id, -> { String }, optional: true, nullable: false + field :username, -> { String }, optional: true, nullable: false end end diff --git a/lib/auth0/verifiable_credentials/verification/templates/client.rb b/lib/auth0/verifiable_credentials/verification/templates/client.rb index 7b221975..41261ad1 100644 --- a/lib/auth0/verifiable_credentials/verification/templates/client.rb +++ b/lib/auth0/verifiable_credentials/verification/templates/client.rb @@ -12,7 +12,7 @@ def initialize(client:) @client = client end - # List a verifiable credential templates. + # List verifiable credential templates. # # @param request_options [Hash] # @param params [Hash] @@ -27,11 +27,9 @@ def initialize(client:) # @return [Auth0::Types::ListVerifiableCredentialTemplatesPaginatedResponseContent] def list(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) - query_param_names = %i[from take] query_params = {} query_params["from"] = params[:from] if params.key?(:from) query_params["take"] = params.fetch(:take, 50) - params.except(*query_param_names) Auth0::Internal::CursorItemIterator.new( cursor_field: :next_, @@ -53,7 +51,8 @@ def list(request_options: {}, **params) end code = response.code.to_i if code.between?(200, 299) - Auth0::Types::ListVerifiableCredentialTemplatesPaginatedResponseContent.load(response.body) + parsed_response = Auth0::Types::ListVerifiableCredentialTemplatesPaginatedResponseContent.load(response.body) + [parsed_response, response] else error_class = Auth0::Errors::ResponseError.subclass_for_code(code) raise error_class.new(response.body, code: code) @@ -176,7 +175,7 @@ def delete(request_options: {}, **params) def update(request_options: {}, **params) params = Auth0::Internal::Types::Utils.normalize_keys(params) request_data = Auth0::VerifiableCredentials::Verification::Templates::Types::UpdateVerifiableCredentialTemplateRequestContent.new(params).to_h - non_body_param_names = ["id"] + non_body_param_names = %w[id] body = request_data.except(*non_body_param_names) request = Auth0::Internal::JSON::Request.new( diff --git a/lib/auth0/verifiable_credentials/verification/templates/types/create_verifiable_credential_template_request_content.rb b/lib/auth0/verifiable_credentials/verification/templates/types/create_verifiable_credential_template_request_content.rb index 9d940983..89a2914a 100644 --- a/lib/auth0/verifiable_credentials/verification/templates/types/create_verifiable_credential_template_request_content.rb +++ b/lib/auth0/verifiable_credentials/verification/templates/types/create_verifiable_credential_template_request_content.rb @@ -7,10 +7,15 @@ module Templates module Types class CreateVerifiableCredentialTemplateRequestContent < Internal::Types::Model field :name, -> { String }, optional: false, nullable: false + field :type, -> { String }, optional: false, nullable: false + field :dialect, -> { String }, optional: false, nullable: false + field :presentation, -> { Auth0::Types::MdlPresentationRequest }, optional: false, nullable: false + field :custom_certificate_authority, -> { String }, optional: true, nullable: false + field :well_known_trusted_issuers, -> { String }, optional: false, nullable: false end end diff --git a/lib/auth0/verifiable_credentials/verification/templates/types/list_verifiable_credential_templates_request_parameters.rb b/lib/auth0/verifiable_credentials/verification/templates/types/list_verifiable_credential_templates_request_parameters.rb index acd00b90..027e74ea 100644 --- a/lib/auth0/verifiable_credentials/verification/templates/types/list_verifiable_credential_templates_request_parameters.rb +++ b/lib/auth0/verifiable_credentials/verification/templates/types/list_verifiable_credential_templates_request_parameters.rb @@ -7,6 +7,7 @@ module Templates module Types class ListVerifiableCredentialTemplatesRequestParameters < Internal::Types::Model field :from, -> { String }, optional: true, nullable: false + field :take, -> { Integer }, optional: true, nullable: false end end diff --git a/lib/auth0/verifiable_credentials/verification/templates/types/update_verifiable_credential_template_request_content.rb b/lib/auth0/verifiable_credentials/verification/templates/types/update_verifiable_credential_template_request_content.rb index abc3f4af..da64ded1 100644 --- a/lib/auth0/verifiable_credentials/verification/templates/types/update_verifiable_credential_template_request_content.rb +++ b/lib/auth0/verifiable_credentials/verification/templates/types/update_verifiable_credential_template_request_content.rb @@ -7,11 +7,17 @@ module Templates module Types class UpdateVerifiableCredentialTemplateRequestContent < Internal::Types::Model field :id, -> { String }, optional: false, nullable: false + field :name, -> { String }, optional: true, nullable: false + field :type, -> { String }, optional: true, nullable: false + field :dialect, -> { String }, optional: true, nullable: false + field :presentation, -> { Auth0::Types::MdlPresentationRequest }, optional: true, nullable: false + field :well_known_trusted_issuers, -> { String }, optional: true, nullable: false + field :version, -> { Integer }, optional: true, nullable: false end end