From 0adf68ef476ee429f25887a602d62b13a0c0129b Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Tue, 12 May 2026 12:01:42 +0000 Subject: [PATCH] SDK regeneration --- .fern/metadata.json | 14 + .github/CODEOWNERS | 1 - .github/ISSUE_TEMPLATE/Bug Report.yml | 67 - .github/ISSUE_TEMPLATE/Feature Request.yml | 53 - .github/ISSUE_TEMPLATE/config.yml | 8 - .github/actions/get-prerelease/action.yml | 30 - .github/actions/get-release-notes/action.yml | 42 - .github/actions/get-version/action.yml | 21 - .github/actions/release-create/action.yml | 47 - .github/actions/rl-scanner/action.yml | 71 - .github/actions/rubygems-publish/action.yml | 30 - .github/actions/setup/action.yml | 32 - .github/actions/tag-exists/action.yml | 36 - .github/dependabot.yml | 13 - .github/stale.yml | 20 - .github/workflows/ci.yml | 75 ++ .github/workflows/codeql.yml | 54 - .github/workflows/matrix.json | 3 - .github/workflows/release.yml | 37 - .github/workflows/rl-scanner.yml | 65 - .github/workflows/ruby-release.yml | 72 -- .github/workflows/sca_scan.yml | 15 - .github/workflows/test.yml | 67 - .gitignore | 16 - .shiprc | 8 - .snyk | 17 - .version | 1 - CHANGELOG.md | 775 ----------- Gemfile.lock | 69 +- LICENSE | 21 - auth0.gemspec | 2 - codecov.yml | 22 - lib/auth0.rb | 360 ++++++ .../types/update_branding_request_content.rb | 1 + lib/auth0/events/client.rb | 56 + .../subscribe_events_request_parameters.rb | 13 + lib/auth0/groups/client.rb | 4 +- .../types/list_groups_request_parameters.rb | 1 + lib/auth0/log_streams/client.rb | 775 ++++++----- lib/auth0/refresh_tokens/client.rb | 32 + .../revoke_refresh_tokens_request_content.rb | 14 + .../create_resource_server_request_content.rb | 2 + .../update_resource_server_request_content.rb | 2 + .../custom_text/client.rb | 6 +- .../sso_ticket/client.rb | 15 +- lib/auth0/types/bad_request_schema.rb | 12 + lib/auth0/types/bad_request_schema_error.rb | 11 + lib/auth0/types/branding_identifiers.rb | 12 + .../types/branding_login_display_enum.rb | 12 + lib/auth0/types/branding_phone_display.rb | 11 + .../types/branding_phone_formatting_enum.rb | 12 + .../types/branding_phone_masking_enum.rb | 13 + ...ent_my_organization_patch_configuration.rb | 2 - ...ient_my_organization_post_configuration.rb | 2 - ..._my_organization_response_configuration.rb | 2 - .../client_session_transfer_configuration.rb | 1 + ...ssion_transfer_delegation_configuration.rb | 11 + ...transfer_delegation_device_binding_enum.rb | 12 + ...rtion_decryption_algorithm_profile_enum.rb | 11 + ...onnection_assertion_decryption_settings.rb | 11 + .../types/connection_options_common_oidc.rb | 1 + .../types/connection_options_common_saml.rb | 1 + .../types/connection_properties_options.rb | 5 + ...ken_endpoint_jwtca_aud_format_enum_oidc.rb | 12 + ...create_resource_server_response_content.rb | 2 + ..._authentication_method_response_content.rb | 6 + .../types/credential_device_type_enum.rb | 12 + lib/auth0/types/email_provider_name_enum.rb | 1 + ...event_stream_cloud_event_a0purpose_enum.rb | 11 + .../types/event_stream_cloud_event_context.rb | 17 + ...event_stream_cloud_event_context_client.rb | 12 + ...eam_cloud_event_context_client_metadata.rb | 23 + ...t_stream_cloud_event_context_connection.rb | 12 + ...vent_stream_cloud_event_context_request.rb | 15 + ..._stream_cloud_event_context_request_geo.rb | 18 + ...event_stream_cloud_event_context_tenant.rb | 10 + ...vent_stream_cloud_event_error_code_enum.rb | 16 + .../event_stream_cloud_event_error_detail.rb | 12 + .../event_stream_cloud_event_error_message.rb | 10 + ...eam_cloud_event_error_message_type_enum.rb | 11 + .../event_stream_cloud_event_group_created.rb | 11 + ...m_cloud_event_group_created_cloud_event.rb | 18 + ...ent_group_created_cloud_event_type_enum.rb | 11 + ...t_stream_cloud_event_group_created_data.rb | 11 + ...stream_cloud_event_group_created_object.rb | 14 + ...tream_cloud_event_group_created_object0.rb | 15 + ...ud_event_group_created_object0type_enum.rb | 11 + ...tream_cloud_event_group_created_object1.rb | 15 + ...ud_event_group_created_object1type_enum.rb | 11 + ...tream_cloud_event_group_created_object2.rb | 14 + ...ud_event_group_created_object2type_enum.rb | 11 + ...eam_cloud_event_group_created_type_enum.rb | 11 + .../event_stream_cloud_event_group_deleted.rb | 11 + ...m_cloud_event_group_deleted_cloud_event.rb | 18 + ...ent_group_deleted_cloud_event_type_enum.rb | 11 + ...t_stream_cloud_event_group_deleted_data.rb | 11 + ...stream_cloud_event_group_deleted_object.rb | 14 + ...tream_cloud_event_group_deleted_object0.rb | 16 + ...ud_event_group_deleted_object0type_enum.rb | 11 + ...tream_cloud_event_group_deleted_object1.rb | 16 + ...ud_event_group_deleted_object1type_enum.rb | 11 + ...tream_cloud_event_group_deleted_object2.rb | 15 + ...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 | 11 + ...ud_event_group_member_added_cloud_event.rb | 18 + ...roup_member_added_cloud_event_type_enum.rb | 11 + ...eam_cloud_event_group_member_added_data.rb | 11 + ...m_cloud_event_group_member_added_object.rb | 11 + ...d_event_group_member_added_object_group.rb | 14 + ..._event_group_member_added_object_group0.rb | 13 + ...oup_member_added_object_group0type_enum.rb | 11 + ..._event_group_member_added_object_group1.rb | 13 + ...oup_member_added_object_group1type_enum.rb | 11 + ..._event_group_member_added_object_group2.rb | 12 + ...oup_member_added_object_group2type_enum.rb | 11 + ..._event_group_member_added_object_member.rb | 13 + ...event_group_member_added_object_member0.rb | 11 + ...er_added_object_member0member_type_enum.rb | 11 + ...event_group_member_added_object_member1.rb | 13 + ...er_added_object_member1member_type_enum.rb | 11 + ...loud_event_group_member_added_type_enum.rb | 11 + ...stream_cloud_event_group_member_deleted.rb | 11 + ..._event_group_member_deleted_cloud_event.rb | 18 + ...up_member_deleted_cloud_event_type_enum.rb | 11 + ...m_cloud_event_group_member_deleted_data.rb | 11 + ...cloud_event_group_member_deleted_object.rb | 11 + ...event_group_member_deleted_object_group.rb | 14 + ...vent_group_member_deleted_object_group0.rb | 13 + ...p_member_deleted_object_group0type_enum.rb | 11 + ...vent_group_member_deleted_object_group1.rb | 13 + ...p_member_deleted_object_group1type_enum.rb | 11 + ...vent_group_member_deleted_object_group2.rb | 12 + ...p_member_deleted_object_group2type_enum.rb | 11 + ...vent_group_member_deleted_object_member.rb | 13 + ...ent_group_member_deleted_object_member0.rb | 11 + ..._deleted_object_member0member_type_enum.rb | 11 + ...ent_group_member_deleted_object_member1.rb | 13 + ..._deleted_object_member1member_type_enum.rb | 11 + ...ud_event_group_member_deleted_type_enum.rb | 11 + ..._stream_cloud_event_group_role_assigned.rb | 11 + ...d_event_group_role_assigned_cloud_event.rb | 18 + ...oup_role_assigned_cloud_event_type_enum.rb | 11 + ...am_cloud_event_group_role_assigned_data.rb | 11 + ..._cloud_event_group_role_assigned_object.rb | 12 + ..._event_group_role_assigned_object_group.rb | 14 + ...event_group_role_assigned_object_group0.rb | 13 + ...up_role_assigned_object_group0type_enum.rb | 11 + ...event_group_role_assigned_object_group1.rb | 13 + ...up_role_assigned_object_group1type_enum.rb | 11 + ...event_group_role_assigned_object_group2.rb | 12 + ...up_role_assigned_object_group2type_enum.rb | 11 + ...d_event_group_role_assigned_object_role.rb | 11 + ...oud_event_group_role_assigned_type_enum.rb | 11 + ...t_stream_cloud_event_group_role_deleted.rb | 11 + ...ud_event_group_role_deleted_cloud_event.rb | 18 + ...roup_role_deleted_cloud_event_type_enum.rb | 11 + ...eam_cloud_event_group_role_deleted_data.rb | 11 + ...m_cloud_event_group_role_deleted_object.rb | 12 + ...d_event_group_role_deleted_object_group.rb | 14 + ..._event_group_role_deleted_object_group0.rb | 13 + ...oup_role_deleted_object_group0type_enum.rb | 11 + ..._event_group_role_deleted_object_group1.rb | 13 + ...oup_role_deleted_object_group1type_enum.rb | 11 + ..._event_group_role_deleted_object_group2.rb | 12 + ...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 | 11 + ...m_cloud_event_group_updated_cloud_event.rb | 18 + ...ent_group_updated_cloud_event_type_enum.rb | 11 + ...t_stream_cloud_event_group_updated_data.rb | 11 + ...stream_cloud_event_group_updated_object.rb | 14 + ...tream_cloud_event_group_updated_object0.rb | 16 + ...ud_event_group_updated_object0type_enum.rb | 11 + ...tream_cloud_event_group_updated_object1.rb | 16 + ...ud_event_group_updated_object1type_enum.rb | 11 + ...tream_cloud_event_group_updated_object2.rb | 15 + ...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 | 11 + ..._event_org_connection_added_cloud_event.rb | 18 + ..._connection_added_cloud_event_type_enum.rb | 11 + ...m_cloud_event_org_connection_added_data.rb | 11 + ...cloud_event_org_connection_added_object.rb | 14 + ..._org_connection_added_object_connection.rb | 9 + ...rg_connection_added_object_organization.rb | 11 + ...ud_event_org_connection_added_type_enum.rb | 11 + ...ream_cloud_event_org_connection_removed.rb | 11 + ...vent_org_connection_removed_cloud_event.rb | 18 + ...onnection_removed_cloud_event_type_enum.rb | 11 + ...cloud_event_org_connection_removed_data.rb | 11 + ...oud_event_org_connection_removed_object.rb | 11 + ...rg_connection_removed_object_connection.rb | 9 + ..._connection_removed_object_organization.rb | 11 + ..._event_org_connection_removed_type_enum.rb | 11 + ...ream_cloud_event_org_connection_updated.rb | 11 + ...vent_org_connection_updated_cloud_event.rb | 18 + ...onnection_updated_cloud_event_type_enum.rb | 11 + ...cloud_event_org_connection_updated_data.rb | 11 + ...oud_event_org_connection_updated_object.rb | 14 + ...rg_connection_updated_object_connection.rb | 9 + ..._connection_updated_object_organization.rb | 11 + ..._event_org_connection_updated_type_enum.rb | 11 + .../event_stream_cloud_event_org_created.rb | 11 + ...eam_cloud_event_org_created_cloud_event.rb | 18 + ...event_org_created_cloud_event_type_enum.rb | 11 + ...ent_stream_cloud_event_org_created_data.rb | 11 + ...t_stream_cloud_event_org_created_object.rb | 14 + ...cloud_event_org_created_object_branding.rb | 11 + ...vent_org_created_object_branding_colors.rb | 11 + ...cloud_event_org_created_object_metadata.rb | 23 + ...tream_cloud_event_org_created_type_enum.rb | 11 + .../event_stream_cloud_event_org_deleted.rb | 11 + ...eam_cloud_event_org_deleted_cloud_event.rb | 18 + ...event_org_deleted_cloud_event_type_enum.rb | 11 + ...ent_stream_cloud_event_org_deleted_data.rb | 11 + ...t_stream_cloud_event_org_deleted_object.rb | 13 + ...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 | 11 + ...ent_org_group_role_assigned_cloud_event.rb | 18 + ...oup_role_assigned_cloud_event_type_enum.rb | 11 + ...loud_event_org_group_role_assigned_data.rb | 11 + ...ud_event_org_group_role_assigned_object.rb | 13 + ...nt_org_group_role_assigned_object_group.rb | 14 + ...t_org_group_role_assigned_object_group0.rb | 13 + ...up_role_assigned_object_group0type_enum.rb | 11 + ...t_org_group_role_assigned_object_group1.rb | 13 + ...up_role_assigned_object_group1type_enum.rb | 11 + ...t_org_group_role_assigned_object_group2.rb | 12 + ...up_role_assigned_object_group2type_enum.rb | 11 + ...group_role_assigned_object_organization.rb | 10 + ...ent_org_group_role_assigned_object_role.rb | 11 + ...event_org_group_role_assigned_type_enum.rb | 11 + ...ream_cloud_event_org_group_role_deleted.rb | 11 + ...vent_org_group_role_deleted_cloud_event.rb | 18 + ...roup_role_deleted_cloud_event_type_enum.rb | 11 + ...cloud_event_org_group_role_deleted_data.rb | 11 + ...oud_event_org_group_role_deleted_object.rb | 13 + ...ent_org_group_role_deleted_object_group.rb | 14 + ...nt_org_group_role_deleted_object_group0.rb | 13 + ...oup_role_deleted_object_group0type_enum.rb | 11 + ...nt_org_group_role_deleted_object_group1.rb | 13 + ...oup_role_deleted_object_group1type_enum.rb | 11 + ...nt_org_group_role_deleted_object_group2.rb | 12 + ...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 | 11 + ...loud_event_org_member_added_cloud_event.rb | 18 + ..._org_member_added_cloud_event_type_enum.rb | 11 + ...tream_cloud_event_org_member_added_data.rb | 11 + ...eam_cloud_event_org_member_added_object.rb | 11 + ...nt_org_member_added_object_organization.rb | 11 + ...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 | 11 + ...ud_event_org_member_deleted_cloud_event.rb | 18 + ...rg_member_deleted_cloud_event_type_enum.rb | 11 + ...eam_cloud_event_org_member_deleted_data.rb | 11 + ...m_cloud_event_org_member_deleted_object.rb | 11 + ..._org_member_deleted_object_organization.rb | 11 + ...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 | 11 + ...nt_org_member_role_assigned_cloud_event.rb | 18 + ...ber_role_assigned_cloud_event_type_enum.rb | 11 + ...oud_event_org_member_role_assigned_data.rb | 11 + ...d_event_org_member_role_assigned_object.rb | 12 + ...ember_role_assigned_object_organization.rb | 10 + ...nt_org_member_role_assigned_object_role.rb | 11 + ...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 | 11 + ...ent_org_member_role_deleted_cloud_event.rb | 18 + ...mber_role_deleted_cloud_event_type_enum.rb | 11 + ...loud_event_org_member_role_deleted_data.rb | 11 + ...ud_event_org_member_role_deleted_object.rb | 12 + ...member_role_deleted_object_organization.rb | 10 + ...ent_org_member_role_deleted_object_role.rb | 11 + ...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 | 11 + ...eam_cloud_event_org_updated_cloud_event.rb | 18 + ...event_org_updated_cloud_event_type_enum.rb | 11 + ...ent_stream_cloud_event_org_updated_data.rb | 11 + ...t_stream_cloud_event_org_updated_object.rb | 14 + ...cloud_event_org_updated_object_branding.rb | 11 + ...vent_org_updated_object_branding_colors.rb | 11 + ...cloud_event_org_updated_object_metadata.rb | 23 + ...tream_cloud_event_org_updated_type_enum.rb | 11 + .../event_stream_cloud_event_user_created.rb | 11 + ...am_cloud_event_user_created_cloud_event.rb | 18 + ...vent_user_created_cloud_event_type_enum.rb | 11 + ...nt_stream_cloud_event_user_created_data.rb | 11 + ..._stream_cloud_event_user_created_object.rb | 30 + ..._event_user_created_object_app_metadata.rb | 23 + ...ent_user_created_object_identities_item.rb | 16 + ...r_created_object_identities_item_custom.rb | 14 + ...t_identities_item_custom_is_social_enum.rb | 23 + ...ect_identities_item_custom_profile_data.rb | 17 + ...ct_identities_item_custom_provider_enum.rb | 11 + ...d_object_identities_item_custom_user_id.rb | 13 + ...created_object_identities_item_database.rb | 14 + ...identities_item_database_is_social_enum.rb | 23 + ...t_identities_item_database_profile_data.rb | 17 + ..._identities_item_database_provider_enum.rb | 11 + ...object_identities_item_database_user_id.rb | 13 + ...eated_object_identities_item_enterprise.rb | 14 + ...entities_item_enterprise_is_social_enum.rb | 23 + ...identities_item_enterprise_profile_data.rb | 17 + ...dentities_item_enterprise_provider_enum.rb | 21 + ...ject_identities_item_enterprise_user_id.rb | 13 + ...ted_object_identities_item_passwordless.rb | 14 + ...tities_item_passwordless_is_social_enum.rb | 23 + ...entities_item_passwordless_profile_data.rb | 17 + ...ntities_item_passwordless_provider_enum.rb | 12 + ...ct_identities_item_passwordless_user_id.rb | 13 + ...r_created_object_identities_item_social.rb | 14 + ...t_identities_item_social_is_social_enum.rb | 23 + ...ect_identities_item_social_profile_data.rb | 17 + ...ct_identities_item_social_provider_enum.rb | 49 + ...d_object_identities_item_social_user_id.rb | 13 + ...event_user_created_object_user_metadata.rb | 23 + ...ream_cloud_event_user_created_type_enum.rb | 11 + .../event_stream_cloud_event_user_deleted.rb | 11 + ...am_cloud_event_user_deleted_cloud_event.rb | 18 + ...vent_user_deleted_cloud_event_type_enum.rb | 11 + ...nt_stream_cloud_event_user_deleted_data.rb | 11 + ..._stream_cloud_event_user_deleted_object.rb | 31 + ..._event_user_deleted_object_app_metadata.rb | 23 + ...ent_user_deleted_object_identities_item.rb | 16 + ...r_deleted_object_identities_item_custom.rb | 14 + ...t_identities_item_custom_is_social_enum.rb | 23 + ...ect_identities_item_custom_profile_data.rb | 17 + ...ct_identities_item_custom_provider_enum.rb | 11 + ...d_object_identities_item_custom_user_id.rb | 13 + ...deleted_object_identities_item_database.rb | 14 + ...identities_item_database_is_social_enum.rb | 23 + ...t_identities_item_database_profile_data.rb | 17 + ..._identities_item_database_provider_enum.rb | 11 + ...object_identities_item_database_user_id.rb | 13 + ...leted_object_identities_item_enterprise.rb | 14 + ...entities_item_enterprise_is_social_enum.rb | 23 + ...identities_item_enterprise_profile_data.rb | 17 + ...dentities_item_enterprise_provider_enum.rb | 21 + ...ject_identities_item_enterprise_user_id.rb | 13 + ...ted_object_identities_item_passwordless.rb | 14 + ...tities_item_passwordless_is_social_enum.rb | 23 + ...entities_item_passwordless_profile_data.rb | 17 + ...ntities_item_passwordless_provider_enum.rb | 12 + ...ct_identities_item_passwordless_user_id.rb | 13 + ...r_deleted_object_identities_item_social.rb | 14 + ...t_identities_item_social_is_social_enum.rb | 23 + ...ect_identities_item_social_profile_data.rb | 17 + ...ct_identities_item_social_provider_enum.rb | 49 + ...d_object_identities_item_social_user_id.rb | 13 + ...event_user_deleted_object_user_metadata.rb | 23 + ...ream_cloud_event_user_deleted_type_enum.rb | 11 + .../event_stream_cloud_event_user_updated.rb | 11 + ...am_cloud_event_user_updated_cloud_event.rb | 18 + ...vent_user_updated_cloud_event_type_enum.rb | 11 + ...nt_stream_cloud_event_user_updated_data.rb | 11 + ..._stream_cloud_event_user_updated_object.rb | 30 + ..._event_user_updated_object_app_metadata.rb | 23 + ...ent_user_updated_object_identities_item.rb | 16 + ...r_updated_object_identities_item_custom.rb | 14 + ...t_identities_item_custom_is_social_enum.rb | 23 + ...ect_identities_item_custom_profile_data.rb | 17 + ...ct_identities_item_custom_provider_enum.rb | 11 + ...d_object_identities_item_custom_user_id.rb | 13 + ...updated_object_identities_item_database.rb | 14 + ...identities_item_database_is_social_enum.rb | 23 + ...t_identities_item_database_profile_data.rb | 17 + ..._identities_item_database_provider_enum.rb | 11 + ...object_identities_item_database_user_id.rb | 13 + ...dated_object_identities_item_enterprise.rb | 14 + ...entities_item_enterprise_is_social_enum.rb | 23 + ...identities_item_enterprise_profile_data.rb | 17 + ...dentities_item_enterprise_provider_enum.rb | 21 + ...ject_identities_item_enterprise_user_id.rb | 13 + ...ted_object_identities_item_passwordless.rb | 14 + ...tities_item_passwordless_is_social_enum.rb | 23 + ...entities_item_passwordless_profile_data.rb | 17 + ...ntities_item_passwordless_provider_enum.rb | 12 + ...ct_identities_item_passwordless_user_id.rb | 13 + ...r_updated_object_identities_item_social.rb | 14 + ...t_identities_item_social_is_social_enum.rb | 23 + ...ect_identities_item_social_profile_data.rb | 17 + ...ct_identities_item_social_provider_enum.rb | 49 + ...d_object_identities_item_social_user_id.rb | 13 + ...event_user_updated_object_user_metadata.rb | 23 + ...ream_cloud_event_user_updated_type_enum.rb | 11 + ...stream_subscribe_events_event_type_enum.rb | 32 + ...tream_subscribe_events_event_type_param.rb | 23 + ...tream_subscribe_events_response_content.rb | 39 + lib/auth0/types/forbidden_schema.rb | 12 + lib/auth0/types/forbidden_schema_error.rb | 11 + .../types/get_branding_response_content.rb | 1 + .../get_resource_server_response_content.rb | 2 + ..._authentication_method_response_content.rb | 2 + lib/auth0/types/oauth_scope.rb | 1 + lib/auth0/types/resource_server.rb | 2 + .../resource_server_authorization_policy.rb | 10 + ...ce_profile_sso_ticket_connection_config.rb | 3 +- ...rofile_sso_ticket_domain_aliases_config.rb | 2 +- lib/auth0/types/too_many_requests_schema.rb | 12 + .../types/too_many_requests_schema_error.rb | 11 + lib/auth0/types/unauthorized_schema.rb | 12 + lib/auth0/types/unauthorized_schema_error.rb | 11 + .../types/update_branding_identifiers.rb | 12 + .../update_branding_login_display_enum.rb | 12 + .../types/update_branding_phone_display.rb | 11 + .../update_branding_phone_formatting_enum.rb | 12 + .../update_branding_phone_masking_enum.rb | 13 + .../types/update_branding_response_content.rb | 1 + lib/auth0/types/update_connection_options.rb | 5 + ...update_resource_server_response_content.rb | 2 + ..._authentication_method_response_content.rb | 1 + lib/auth0/types/user_authentication_method.rb | 2 + lib/auth0/user_attribute_profiles/client.rb | 2 +- ...r_authentication_method_request_content.rb | 7 + .../verification/templates/client.rb | 2 +- lib/auth0/version.rb | 2 +- reference.md | 1146 ++++++++++++----- test/wire/clients_connections_test.rb | 1 + test/wire/connections_test.rb | 1 + test/wire/events_test.rb | 37 + test/wire/flows_executions_test.rb | 1 + test/wire/flows_test.rb | 2 + test/wire/forms_test.rb | 2 + test/wire/groups_test.rb | 1 + test/wire/organizations_client_grants_test.rb | 1 + test/wire/refresh_tokens_test.rb | 18 + test/wire/resource_servers_test.rb | 1 + wiremock/wiremock-mappings.json | 112 +- 440 files changed, 7039 insertions(+), 2404 deletions(-) create mode 100644 .fern/metadata.json delete mode 100644 .github/CODEOWNERS delete mode 100644 .github/ISSUE_TEMPLATE/Bug Report.yml delete mode 100644 .github/ISSUE_TEMPLATE/Feature Request.yml delete mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 .github/actions/get-prerelease/action.yml delete mode 100644 .github/actions/get-release-notes/action.yml delete mode 100644 .github/actions/get-version/action.yml delete mode 100644 .github/actions/release-create/action.yml delete mode 100644 .github/actions/rl-scanner/action.yml delete mode 100644 .github/actions/rubygems-publish/action.yml delete mode 100644 .github/actions/setup/action.yml delete mode 100644 .github/actions/tag-exists/action.yml delete mode 100644 .github/dependabot.yml delete mode 100644 .github/stale.yml create mode 100644 .github/workflows/ci.yml delete mode 100644 .github/workflows/codeql.yml delete mode 100644 .github/workflows/matrix.json delete mode 100644 .github/workflows/release.yml delete mode 100644 .github/workflows/rl-scanner.yml delete mode 100644 .github/workflows/ruby-release.yml delete mode 100644 .github/workflows/sca_scan.yml delete mode 100644 .github/workflows/test.yml delete mode 100644 .shiprc delete mode 100644 .snyk delete mode 100644 .version delete mode 100644 CHANGELOG.md delete mode 100644 LICENSE delete mode 100644 codecov.yml 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/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/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/forbidden_schema.rb create mode 100644 lib/auth0/types/forbidden_schema_error.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 test/wire/events_test.rb diff --git a/.fern/metadata.json b/.fern/metadata.json new file mode 100644 index 00000000..a206543f --- /dev/null +++ b/.fern/metadata.json @@ -0,0 +1,14 @@ +{ + "cliVersion": "5.20.1", + "generatorName": "fernapi/fern-ruby-sdk", + "generatorVersion": "1.1.13", + "generatorConfig": { + "clientModuleName": "Management", + "package-name": "auth0", + "useProvidedDefaults": true, + "enableWireTests": true, + "useDefaultRequestParameterValues": true + }, + "originGitCommit": "219914accde9916f411f553a3e3eb35a8478eaaf", + "sdkVersion": "6.0.0" +} \ No newline at end of file diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index 7958e8bd..00000000 --- a/.github/CODEOWNERS +++ /dev/null @@ -1 +0,0 @@ -* @auth0/project-dx-sdks-engineer-codeowner diff --git a/.github/ISSUE_TEMPLATE/Bug Report.yml b/.github/ISSUE_TEMPLATE/Bug Report.yml deleted file mode 100644 index a38432f5..00000000 --- a/.github/ISSUE_TEMPLATE/Bug Report.yml +++ /dev/null @@ -1,67 +0,0 @@ -name: 🐞 Report a bug -description: Have you found a bug or issue? Create a bug report for this library -labels: ["bug"] - -body: - - type: markdown - attributes: - value: | - **Please do not report security vulnerabilities here**. The [Responsible Disclosure Program](https://auth0.com/responsible-disclosure-policy) details the procedure for disclosing security issues. - - - type: checkboxes - id: checklist - attributes: - label: Checklist - options: - - label: I have looked into the [Readme](https://github.com/auth0/ruby-auth0#readme) and [Examples](https://github.com/auth0/ruby-auth0/blob/master/EXAMPLES.md), and have not found a suitable solution or answer. - required: true - - label: I have looked into the [API documentation](https://www.rubydoc.info/gems/auth0) and have not found a suitable solution or answer. - required: true - - label: I have searched the [issues](https://github.com/auth0/ruby-auth0/issues) and have not found a suitable solution or answer. - required: true - - label: I have searched the [Auth0 Community](https://community.auth0.com) forums and have not found a suitable solution or answer. - required: true - - label: I agree to the terms within the [Auth0 Code of Conduct](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md). - required: true - - - type: textarea - id: description - attributes: - label: Description - description: Provide a clear and concise description of the issue, including what you expected to happen. - validations: - required: true - - - type: textarea - id: reproduction - attributes: - label: Reproduction - description: Detail the steps taken to reproduce this error, and whether this issue can be reproduced consistently or if it is intermittent. - placeholder: | - 1. Step 1... - 2. Step 2... - 3. ... - validations: - required: true - - - type: textarea - id: additional-context - attributes: - label: Additional context - description: Other libraries that might be involved, or any other relevant information you think would be useful. - validations: - required: false - - - type: input - id: environment-version - attributes: - label: ruby-auth0 version - validations: - required: true - - - type: input - id: environment-ruby-version - attributes: - label: Ruby version - validations: - required: true diff --git a/.github/ISSUE_TEMPLATE/Feature Request.yml b/.github/ISSUE_TEMPLATE/Feature Request.yml deleted file mode 100644 index bdd35df1..00000000 --- a/.github/ISSUE_TEMPLATE/Feature Request.yml +++ /dev/null @@ -1,53 +0,0 @@ -name: 🧩 Feature request -description: Suggest an idea or a feature for this library -labels: ["feature request"] - -body: - - type: checkboxes - id: checklist - attributes: - label: Checklist - options: - - label: I have looked into the [Readme](https://github.com/auth0/ruby-auth0#readme) and [Examples](https://github.com/auth0/ruby-auth0/blob/master/EXAMPLES.md), and have not found a suitable solution or answer. - required: true - - label: I have looked into the [API documentation](https://www.rubydoc.info/gems/auth0) and have not found a suitable solution or answer. - required: true - - label: I have searched the [issues](https://github.com/auth0/ruby-auth0/issues) and have not found a suitable solution or answer. - required: true - - label: I have searched the [Auth0 Community](https://community.auth0.com) forums and have not found a suitable solution or answer. - required: true - - label: I agree to the terms within the [Auth0 Code of Conduct](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md). - required: true - - - type: textarea - id: description - attributes: - label: Describe the problem you'd like to have solved - description: A clear and concise description of what the problem is. - placeholder: I'm always frustrated when... - validations: - required: true - - - type: textarea - id: ideal-solution - attributes: - label: Describe the ideal solution - description: A clear and concise description of what you want to happen. - validations: - required: true - - - type: textarea - id: alternatives-and-workarounds - attributes: - label: Alternatives and current workarounds - description: A clear and concise description of any alternatives you've considered or any workarounds that are currently in place. - validations: - required: false - - - type: textarea - id: additional-context - attributes: - label: Additional context - description: Add any other context or screenshots about the feature request here. - validations: - required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index 1bc03c55..00000000 --- a/.github/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1,8 +0,0 @@ -blank_issues_enabled: false -contact_links: - - name: Auth0 Community - url: https://community.auth0.com - about: Discuss this SDK in the Auth0 Community forums - - name: SDK API Documentation - url: https://www.rubydoc.info/gems/auth0 - about: Read the API documentation for this SDK diff --git a/.github/actions/get-prerelease/action.yml b/.github/actions/get-prerelease/action.yml deleted file mode 100644 index 131f93d1..00000000 --- a/.github/actions/get-prerelease/action.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Return a boolean indicating if the version contains prerelease identifiers - -# -# Returns a simple true/false boolean indicating whether the version indicates it's a prerelease or not. -# -# TODO: Remove once the common repo is public. -# - -inputs: - version: - required: true - -outputs: - prerelease: - value: ${{ steps.get_prerelease.outputs.PRERELEASE }} - -runs: - using: composite - - steps: - - id: get_prerelease - shell: bash - run: | - if [[ "${VERSION}" == *"beta"* || "${VERSION}" == *"alpha"* ]]; then - echo "PRERELEASE=true" >> $GITHUB_OUTPUT - else - echo "PRERELEASE=false" >> $GITHUB_OUTPUT - fi - env: - VERSION: ${{ inputs.version }} \ No newline at end of file diff --git a/.github/actions/get-release-notes/action.yml b/.github/actions/get-release-notes/action.yml deleted file mode 100644 index 5ce3f92e..00000000 --- a/.github/actions/get-release-notes/action.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: Return the release notes extracted from the PR body - -# -# Returns the release notes from the content of a pull request linked to a release branch. It expects the branch name to be in the format release/vX.Y.Z, release/X.Y.Z, release/vX.Y.Z-beta.N. etc. -# -# TODO: Remove once the common repo is public. -# -inputs: - version: - required: true - repo_name: - required: false - repo_owner: - required: true - token: - required: true - -outputs: - release-notes: - value: ${{ steps.get_release_notes.outputs.RELEASE_NOTES }} - -runs: - using: composite - - steps: - - uses: actions/github-script@v7 - id: get_release_notes - with: - result-encoding: string - script: | - const { data: pulls } = await github.rest.pulls.list({ - owner: process.env.REPO_OWNER, - repo: process.env.REPO_NAME, - state: 'all', - head: `${process.env.REPO_OWNER}:release/${process.env.VERSION}`, - }); - core.setOutput('RELEASE_NOTES', pulls[0].body); - env: - GITHUB_TOKEN: ${{ inputs.token }} - REPO_OWNER: ${{ inputs.repo_owner }} - REPO_NAME: ${{ inputs.repo_name }} - VERSION: ${{ inputs.version }} \ No newline at end of file diff --git a/.github/actions/get-version/action.yml b/.github/actions/get-version/action.yml deleted file mode 100644 index 84814a39..00000000 --- a/.github/actions/get-version/action.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Return the version extracted from the branch name - -# -# Returns the version from the .version file. -# -# TODO: Remove once the common repo is public. -# - -outputs: - version: - value: ${{ steps.get_version.outputs.VERSION }} - -runs: - using: composite - - steps: - - id: get_version - shell: bash - run: | - VERSION=$(head -1 .version) - echo "VERSION=${VERSION}" >> $GITHUB_OUTPUT \ No newline at end of file diff --git a/.github/actions/release-create/action.yml b/.github/actions/release-create/action.yml deleted file mode 100644 index a0db443d..00000000 --- a/.github/actions/release-create/action.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: Create a GitHub release - -# -# Creates a GitHub release with the given version. -# -# TODO: Remove once the common repo is public. -# - -inputs: - token: - required: true - files: - required: false - name: - required: true - body: - required: true - tag: - required: true - commit: - required: true - draft: - default: false - required: false - prerelease: - default: false - required: false - fail_on_unmatched_files: - default: true - required: false - -runs: - using: composite - - steps: - - uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 - with: - body: ${{ inputs.body }} - name: ${{ inputs.name }} - tag_name: ${{ inputs.tag }} - target_commitish: ${{ inputs.commit }} - draft: ${{ inputs.draft }} - prerelease: ${{ inputs.prerelease }} - fail_on_unmatched_files: ${{ inputs.fail_on_unmatched_files }} - files: ${{ inputs.files }} - env: - GITHUB_TOKEN: ${{ inputs.token }} \ No newline at end of file diff --git a/.github/actions/rl-scanner/action.yml b/.github/actions/rl-scanner/action.yml deleted file mode 100644 index b3df2d95..00000000 --- a/.github/actions/rl-scanner/action.yml +++ /dev/null @@ -1,71 +0,0 @@ -name: 'Reversing Labs Scanner' -description: 'Runs the Reversing Labs scanner on a specified artifact.' -inputs: - artifact-path: - description: 'Path to the artifact to be scanned.' - required: true - version: - description: 'Version of the artifact.' - required: true - -runs: - using: 'composite' - steps: - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.10' - - - name: Install Python dependencies - shell: bash - run: | - pip install boto3 requests - - - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v1 - with: - role-to-assume: ${{ env.PRODSEC_TOOLS_ARN }} - aws-region: us-east-1 - mask-aws-account-id: true - - - name: Install RL Wrapper - shell: bash - run: | - pip install rl-wrapper>=1.0.0 --index-url "https://${{ env.PRODSEC_TOOLS_USER }}:${{ env.PRODSEC_TOOLS_TOKEN }}@a0us.jfrog.io/artifactory/api/pypi/python-local/simple" - - - name: Run RL Scanner - shell: bash - env: - RLSECURE_LICENSE: ${{ env.RLSECURE_LICENSE }} - RLSECURE_SITE_KEY: ${{ env.RLSECURE_SITE_KEY }} - SIGNAL_HANDLER_TOKEN: ${{ env.SIGNAL_HANDLER_TOKEN }} - PYTHONUNBUFFERED: 1 - run: | - if [ ! -f "${{ inputs.artifact-path }}" ]; then - echo "Artifact not found: ${{ inputs.artifact-path }}" - exit 1 - fi - - rl-wrapper \ - --artifact "${{ inputs.artifact-path }}" \ - --name "${{ github.event.repository.name }}" \ - --version "${{ inputs.version }}" \ - --repository "${{ github.repository }}" \ - --commit "${{ github.sha }}" \ - --build-env "github_actions" \ - --suppress_output - - # Check the outcome of the scanner - if [ $? -ne 0 ]; then - echo "RL Scanner failed." - echo "scan-status=failed" >> $GITHUB_ENV - exit 1 - else - echo "RL Scanner passed." - echo "scan-status=success" >> $GITHUB_ENV - fi - -outputs: - scan-status: - description: 'The outcome of the scan process.' - value: ${{ env.scan-status }} \ No newline at end of file diff --git a/.github/actions/rubygems-publish/action.yml b/.github/actions/rubygems-publish/action.yml deleted file mode 100644 index fb41dd43..00000000 --- a/.github/actions/rubygems-publish/action.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Publishes to RubyGems - -# -# Publishes to RubyGems -# -# TODO: Remove once the common repo is public. -# - -inputs: - rubygems-token: - required: true - ruby-version: - required: true - -runs: - using: composite - - steps: - - name: Configure Ruby - uses: ./.github/actions/setup - with: - ruby: ${{ inputs.ruby-version }} - - - name: Publish to RubyGems - shell: bash - run: | - gem build *.gemspec - gem push *.gem - env: - GEM_HOST_API_KEY: ${{ inputs.rubygems-token }} diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml deleted file mode 100644 index 5c457157..00000000 --- a/.github/actions/setup/action.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Build package -description: Build the SDK package - -inputs: - ruby: - description: The Ruby version to use - required: false - default: 3.2 - bundle-path: - description: The path to the bundle cache - required: false - default: vendor/bundle - bundler-cache: - description: Whether to use the bundler cache - required: false - default: true - -runs: - using: composite - - steps: - - name: Configure Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: ${{ inputs.ruby }} - bundler-cache: ${{ inputs.bundle-cache }} - - - name: Install dependencies - run: bundle check || bundle install - shell: bash - env: - BUNDLE_PATH: ${{ inputs.bundle-path }} diff --git a/.github/actions/tag-exists/action.yml b/.github/actions/tag-exists/action.yml deleted file mode 100644 index b8f33f6a..00000000 --- a/.github/actions/tag-exists/action.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Return a boolean indicating if a tag already exists for the repository - -# -# Returns a simple true/false boolean indicating whether the tag exists or not. -# -# TODO: Remove once the common repo is public. -# - -inputs: - token: - required: true - tag: - required: true - -outputs: - exists: - description: 'Whether the tag exists or not' - value: ${{ steps.tag-exists.outputs.EXISTS }} - -runs: - using: composite - - steps: - - id: tag-exists - shell: bash - run: | - GET_API_URL="https://api.github.com/repos/${GITHUB_REPOSITORY}/git/ref/tags/${TAG_NAME}" - http_status_code=$(curl -LI $GET_API_URL -o /dev/null -w '%{http_code}\n' -s -H "Authorization: token ${GITHUB_TOKEN}") - if [ "$http_status_code" -ne "404" ] ; then - echo "EXISTS=true" >> $GITHUB_OUTPUT - else - echo "EXISTS=false" >> $GITHUB_OUTPUT - fi - env: - TAG_NAME: ${{ inputs.tag }} - GITHUB_TOKEN: ${{ inputs.token }} \ No newline at end of file diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index f2df3e4c..00000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,13 +0,0 @@ -version: 2 -updates: - - package-ecosystem: "bundler" - directory: "/" - schedule: - interval: "daily" - ignore: - - dependency-name: "*" - update-types: ["version-update:semver-major"] - - package-ecosystem: 'github-actions' - directory: '/' - schedule: - interval: 'daily' diff --git a/.github/stale.yml b/.github/stale.yml deleted file mode 100644 index b2e13fc7..00000000 --- a/.github/stale.yml +++ /dev/null @@ -1,20 +0,0 @@ -# Configuration for probot-stale - https://github.com/probot/stale - -# Number of days of inactivity before an Issue or Pull Request becomes stale -daysUntilStale: 90 - -# Number of days of inactivity before an Issue or Pull Request with the stale label is closed. -daysUntilClose: 7 - -# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable -exemptLabels: [] - -# Set to true to ignore issues with an assignee (defaults to false) -exemptAssignees: true - -# Label to use when marking as stale -staleLabel: closed:stale - -# Comment to post when marking as stale. Set to `false` to disable -markComment: > - This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you have not received a response for our team (apologies for the delay) and this is still a blocker, please reply with additional information or just a ping. Thank you for your contribution! 🙇‍♂️ \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..9a224d6d --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,75 @@ +name: ci + +on: [push, pull_request] + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: false + +jobs: + lint: + runs-on: ubuntu-latest + + steps: + - name: Checkout repo + uses: actions/checkout@v4 + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: "3.3" + + - name: Install dependencies + run: bundle install + + - name: Run Rubocop + run: bundle exec rubocop + + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout repo + uses: actions/checkout@v4 + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: "3.3" + + - name: Install dependencies + run: bundle install + + - name: Run Tests + run: RUN_WIRE_TESTS=true bundle exec rake test + + publish: + name: Publish to RubyGems.org + runs-on: ubuntu-latest + needs: [lint, test] + if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') + + permissions: + id-token: write + contents: write + + steps: + - name: Checkout repo + uses: actions/checkout@v4 + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: "3.3" + + - name: Install dependencies + run: bundle install + + - name: Configure RubyGems credentials + uses: rubygems/configure-rubygems-credentials@v1.0.0 + + - name: Build gem + run: bundle exec rake build + + - name: Push gem to RubyGems + run: gem push pkg/*.gem diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml deleted file mode 100644 index 145c8e46..00000000 --- a/.github/workflows/codeql.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: CodeQL - -on: - merge_group: - pull_request: - types: - - opened - - synchronize - push: - branches: - - master - - v6 - schedule: - - cron: "37 10 * * 2" - -permissions: - actions: read - contents: read - security-events: write - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: ${{ github.ref != 'refs/heads/master' && github.ref != 'refs/heads/v6' }} - -jobs: - analyze: - name: Check for Vulnerabilities - runs-on: ubuntu-latest - - strategy: - fail-fast: false - matrix: - language: [ruby] - - steps: - - if: github.actor == 'dependabot[bot]' || github.event_name == 'merge_group' - run: exit 0 # Skip unnecessary test runs for dependabot and merge queues. Artifically flag as successful, as this is a required check for branch protection. - - - name: Checkout - uses: actions/checkout@v6 - - - name: Initialize CodeQL - uses: github/codeql-action/init@v4 - with: - languages: ${{ matrix.language }} - queries: +security-and-quality - - - name: Autobuild - uses: github/codeql-action/autobuild@v4 - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v4 - with: - category: "/language:${{ matrix.language }}" diff --git a/.github/workflows/matrix.json b/.github/workflows/matrix.json deleted file mode 100644 index e2a69468..00000000 --- a/.github/workflows/matrix.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "include": [{ "ruby": "3.3" }, { "ruby": "3.4" }] -} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 1c73b95f..00000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Create Release - -on: - pull_request: - types: - - closed - workflow_dispatch: - -permissions: - contents: write - id-token: write # This is required for requesting the JWT - -### TODO: Replace instances of './.github/workflow/' w/ `auth0/dx-sdk-actions/` and append `@latest` after the common `dx-sdk-actions` repo is made public. -### TODO: Also remove `get-prerelease`, `get-version`, `rubygems-publish`, `release-create`, `tag-create` and `tag-exists` actions from this repo's .github/actions folder and `ruby-release` from `./github/workflows` once the repo is public. - -jobs: - # TODO: Re-enable rl-scanner once it is configured for the v6 branch. - # rl-scanner: - # uses: ./.github/workflows/rl-scanner.yml - # with: - # ruby-version: 3.2 - # secrets: - # RLSECURE_LICENSE: ${{ secrets.RLSECURE_LICENSE }} - # RLSECURE_SITE_KEY: ${{ secrets.RLSECURE_SITE_KEY }} - # SIGNAL_HANDLER_TOKEN: ${{ secrets.SIGNAL_HANDLER_TOKEN }} - # PRODSEC_TOOLS_USER: ${{ secrets.PRODSEC_TOOLS_USER }} - # PRODSEC_TOOLS_TOKEN: ${{ secrets.PRODSEC_TOOLS_TOKEN }} - # PRODSEC_TOOLS_ARN: ${{ secrets.PRODSEC_TOOLS_ARN }} - - release: - uses: ./.github/workflows/ruby-release.yml - # needs: rl-scanner - with: - ruby-version: 3.3 - secrets: - github-token: ${{ secrets.GITHUB_TOKEN }} - rubygems-token: ${{ secrets.RUBYGEMS_AUTH_TOKEN }} diff --git a/.github/workflows/rl-scanner.yml b/.github/workflows/rl-scanner.yml deleted file mode 100644 index 714d9330..00000000 --- a/.github/workflows/rl-scanner.yml +++ /dev/null @@ -1,65 +0,0 @@ -name: RL-Secure Workflow - -on: - workflow_call: - inputs: - ruby-version: - required: true - type: string - secrets: - RLSECURE_LICENSE: - required: true - RLSECURE_SITE_KEY: - required: true - SIGNAL_HANDLER_TOKEN: - required: true - PRODSEC_TOOLS_USER: - required: true - PRODSEC_TOOLS_TOKEN: - required: true - PRODSEC_TOOLS_ARN: - required: true - -jobs: - rl-scanner: - if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/')) - runs-on: ubuntu-latest - outputs: - scan-status: ${{ steps.rl-scan-conclusion.outcome }} - - steps: - - name: Checkout code - uses: actions/checkout@v6 - - - name: Configure Ruby - uses: ./.github/actions/setup - with: - ruby-version: ${{ inputs.ruby-version }} - - - name: Build RubyGems - shell: bash - run: | - gem build *.gemspec - export GEM_FILE=$(ls *.gem) - echo "gem_file=$GEM_FILE" >> $GITHUB_ENV - - - name: Get Artifact Version - id: get_version - uses: ./.github/actions/get-version - - - name: Run RL Scanner - id: rl-scan-conclusion - uses: ./.github/actions/rl-scanner - with: - artifact-path: "$(pwd)/${{ env.gem_file }}" - version: "${{ steps.get_version.outputs.version }}" - env: - RLSECURE_LICENSE: ${{ secrets.RLSECURE_LICENSE }} - RLSECURE_SITE_KEY: ${{ secrets.RLSECURE_SITE_KEY }} - SIGNAL_HANDLER_TOKEN: ${{ secrets.SIGNAL_HANDLER_TOKEN }} - PRODSEC_TOOLS_USER: ${{ secrets.PRODSEC_TOOLS_USER }} - PRODSEC_TOOLS_TOKEN: ${{ secrets.PRODSEC_TOOLS_TOKEN }} - PRODSEC_TOOLS_ARN: ${{ secrets.PRODSEC_TOOLS_ARN }} - - - name: Output scan result - run: echo "scan-status=${{ steps.rl-scan-conclusion.outcome }}" >> $GITHUB_ENV \ No newline at end of file diff --git a/.github/workflows/ruby-release.yml b/.github/workflows/ruby-release.yml deleted file mode 100644 index 70438e92..00000000 --- a/.github/workflows/ruby-release.yml +++ /dev/null @@ -1,72 +0,0 @@ -name: Create Release - -on: - workflow_call: - inputs: - ruby-version: - required: true - type: string - secrets: - github-token: - required: true - rubygems-token: - required: true - -jobs: - release: - if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/')) - runs-on: ubuntu-latest - environment: release - - steps: - # Checkout the code - - uses: actions/checkout@v6 - with: - fetch-depth: 0 - - # Get the version from the branch name - - id: get_version - uses: ./.github/actions/get-version - - # Get the prerelease flag from the branch name - - id: get_prerelease - uses: ./.github/actions/get-prerelease - with: - version: ${{ steps.get_version.outputs.version }} - - # Get the release notes - # This will expose the release notes as env.RELEASE_NOTES - - id: get_release_notes - uses: ./.github/actions/get-release-notes - with: - token: ${{ secrets.github-token }} - version: ${{ steps.get_version.outputs.version }} - repo_owner: ${{ github.repository_owner }} - repo_name: ${{ github.event.repository.name }} - - # Check if the tag already exists - - id: tag_exists - uses: ./.github/actions/tag-exists - with: - tag: ${{ steps.get_version.outputs.version }} - token: ${{ secrets.github-token }} - - # If the tag already exists, exit with an error - - if: steps.tag_exists.outputs.exists == 'true' - run: exit 1 - - # Publish the release to our package manager - - uses: ./.github/actions/rubygems-publish - with: - ruby-version: ${{ inputs.ruby-version }} - rubygems-token: ${{ secrets.rubygems-token }} - - # Create a release for the tag - - uses: ./.github/actions/release-create - with: - token: ${{ secrets.github-token }} - name: ${{ steps.get_version.outputs.version }} - body: ${{ steps.get_release_notes.outputs.release-notes }} - tag: ${{ steps.get_version.outputs.version }} - commit: ${{ github.sha }} - prerelease: ${{ steps.get_prerelease.outputs.prerelease }} diff --git a/.github/workflows/sca_scan.yml b/.github/workflows/sca_scan.yml deleted file mode 100644 index d134e1e6..00000000 --- a/.github/workflows/sca_scan.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: SCA -on: - push: - branches: ["master", "v6"] - pull_request: - branches: ["master", "v6"] -jobs: - snyk-cli: - uses: auth0/devsecops-tooling/.github/workflows/sca-scan.yml@main - with: - ruby-version: "3.4" - additional-arguments: "--exclude=README.md,.jfrog,examples" - pre-scan-commands: | - bundle install - secrets: inherit \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index 8bbbb569..00000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,67 +0,0 @@ -name: Build and Test - -on: - merge_group: - workflow_dispatch: - pull_request: - branches: - - master - - v6 - push: - branches: - - master - - v6 - -permissions: - contents: read - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: ${{ github.ref != 'refs/heads/master' && github.ref != 'refs/heads/v6' }} - -env: - CACHE_KEY: "${{ github.ref }}-${{ github.run_id }}-${{ github.run_attempt }}" - -jobs: - configure: - name: Configure Build Matrix - runs-on: ubuntu-latest - - outputs: - matrix: ${{ steps.set-matrix.outputs.matrix }} - - steps: - - uses: actions/checkout@v6 - with: - ref: ${{ github.event.pull_request.head.sha || github.ref }} - - - id: set-matrix - run: echo "matrix=$(jq -c . < ./.github/workflows/matrix.json)" >> $GITHUB_OUTPUT - - unit: - needs: configure - - name: Run Unit Tests - runs-on: ubuntu-latest - - strategy: - matrix: ${{ fromJson(needs.configure.outputs.matrix) }} - - env: - BUNDLE_PATH: vendor/bundle - - steps: - - name: Checkout code - uses: actions/checkout@v6 - - - name: Configure Ruby - uses: ./.github/actions/setup - with: - ruby: ${{ matrix.ruby }} - - - name: Run tests - run: RUN_WIRE_TESTS=true bundle exec rake test - - - name: Upload coverage - if: matrix.ruby == '3.2' || matrix.ruby == '3.3' - uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # pin@5.5.2 diff --git a/.gitignore b/.gitignore index 94268bde..c111b331 100644 --- a/.gitignore +++ b/.gitignore @@ -1,17 +1 @@ -bin/ -vendor/ -doc/ -.DS_Store -.ruby-version -coverage *.gem -.ruby-gemset -*.swp -*.swo -.env -/.yardoc/ -test-script/ - -# AI tools -.claude/ -.copilot/ diff --git a/.shiprc b/.shiprc deleted file mode 100644 index 86fc9811..00000000 --- a/.shiprc +++ /dev/null @@ -1,8 +0,0 @@ -{ - "files": { - "lib/auth0/version.rb": [], - ".version": [] - }, - "prebump": "bundle install && bundle exec rake test", - "postbump": "bundle update" -} \ No newline at end of file diff --git a/.snyk b/.snyk deleted file mode 100644 index 7ebb56d8..00000000 --- a/.snyk +++ /dev/null @@ -1,17 +0,0 @@ -ignore: - SNYK-RUBY-RACK-1061917: - - rubocop-rails > rack: - reason: No direct upgrade available - expires: "2023-11-02T12:00:00.000Z" - - dotenv-rails > railties > actionpack > rack: - reason: No direct upgrade available - expires: "2023-11-02T12:00:00.000Z" - - dotenv-rails > railties > actionpack > rack-test: - reason: No direct upgrade available - expires: "2023-11-02T12:00:00.000Z" - snyk:lic:rubygems:json:Ruby: - - '*': - reason: Ruby standard library gem, Ruby license is acceptable - snyk:lic:rubygems:reline:Ruby: - - '*': - reason: Ruby standard library gem, Ruby license is acceptable diff --git a/.version b/.version deleted file mode 100644 index 4732fad1..00000000 --- a/.version +++ /dev/null @@ -1 +0,0 @@ -v6.0.0.beta.0 diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index bf840003..00000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,775 +0,0 @@ -# Change Log - -## 6.0.0-beta.0 (2026-04-30) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.18.1...v6.0.0.beta.0) - -This beta release completely rewrites the Management API client using [Fern](https://buildwithfern.com/) code generation from the Auth0 OpenAPI specification. The Authentication API is ported from v5 and maintains full feature parity. - -**Breaking Changes** -- Management API client rewritten using Fern code generation -- `Auth0Client` replaced by `Auth0::Client` (unified client for Auth + Management APIs) -- Management API methods accessed via namespaced sub-clients (`client.users.list` instead of `client.users`) -- API methods return strongly-typed response objects instead of raw hashes -- List methods return paginated iterators instead of arrays -- Non-2xx responses raise typed exceptions (`Auth0::Errors::NotFoundError`, etc.) instead of returning error hashes -- `rest-client` dependency removed; uses `net/http` internally -- Minimum Ruby version raised to 3.3 - -**Added** -- Auto-generated Management API with complete endpoint coverage from Auth0 OpenAPI spec -- Automatic OAuth 2.0 client credentials token management -- Built-in retry with exponential backoff for rate-limited (429) responses -- Configurable timeouts per request via `request_options` -- Offset-based pagination with `each` iterators for all list endpoints -- Telemetry headers on Management API requests -- Wire tests (WireMock-based) for all Management API endpoints -- New examples (Sinatra API and Rails 7 API) -- `v6_MIGRATION_GUIDE.md` for upgrading from v5 - -**Unchanged** -- Authentication API (login, signup, token exchange, passwordless, MFA) — ported from v5 with identical interface - -## [v5.18.1](https://github.com/auth0/ruby-auth0/tree/v5.18.1) (2026-03-13) -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.18.0...v5.18.1) - -**Changed** -- chore(deps): bump zache from 0.15.0 to 0.15.2 [\#691](https://github.com/auth0/ruby-auth0/pull/691) ([dependabot[bot]](https://github.com/apps/dependabot)) -- chore(deps): bump jwt from 2.9.3 to 2.10.2 [\#682](https://github.com/auth0/ruby-auth0/pull/682) ([dependabot[bot]](https://github.com/apps/dependabot)) -- chore(deps): bump addressable from 2.8.7 to 2.8.8 [\#686](https://github.com/auth0/ruby-auth0/pull/686) ([dependabot[bot]](https://github.com/apps/dependabot)) -- chore(deps): bump zache from 0.13.2 to 0.15.0 [\#649](https://github.com/auth0/ruby-auth0/pull/649) ([dependabot[bot]](https://github.com/apps/dependabot)) - -**Fixed** -- fix deleting array content when passing an array as payload [\#697](https://github.com/auth0/ruby-auth0/pull/697) ([carlastabile](https://github.com/carlastabile)) - -**Security** -- fix(deps): upgrade dev dependencies to resolve Snyk security vulnerab… [\#704](https://github.com/auth0/ruby-auth0/pull/704) ([arpit-jn](https://github.com/arpit-jn)) - -## [v5.18.0](https://github.com/auth0/ruby-auth0/tree/v5.18.0) (2024-11-25) -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.17.0...v5.18.0) - -**Added** -- Add Refresh Token endpoints for the Auth0 Management API #614 [\#623](https://github.com/auth0/ruby-auth0/pull/623) ([arpit-jn](https://github.com/arpit-jn)) -- Add Management API calls for session API endpoints #613 [\#616](https://github.com/auth0/ruby-auth0/pull/616) ([arpit-jn](https://github.com/arpit-jn)) - -## [v5.17.0](https://github.com/auth0/ruby-auth0/tree/v5.17.0) (2024-05-24) -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.16.0...v5.17.0) - -**Added** -- Add user session management API calls [\#588](https://github.com/auth0/ruby-auth0/pull/588) ([wjohnstondrip](https://github.com/wjohnstondrip)) - -## [v5.16.0](https://github.com/auth0/ruby-auth0/tree/v5.16.0) (2023-11-13) -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.15.0...v5.16.0) - -**Added** -- [SDK-4546] Add orgs in client credentials support [\#540](https://github.com/auth0/ruby-auth0/pull/540) ([adamjmcgrath](https://github.com/adamjmcgrath)) - -## [v5.15.0](https://github.com/auth0/ruby-auth0/tree/v5.15.0) (2023-10-30) -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.14.2...v5.15.0) - -**Added** -- [SDK-4659] Add fields to get_organizations_members [\#532](https://github.com/auth0/ruby-auth0/pull/532) ([adamjmcgrath](https://github.com/adamjmcgrath)) - -## [v5.14.2](https://github.com/auth0/ruby-auth0/tree/v5.14.2) (2023-10-03) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.14.1...v5.14.2) - -**Fixed** - -- [API] `trigger_id` and `action_name` parameters for `create_action` endpoint are now optional [\#478](https://github.com/auth0/ruby-auth0/pull/478) [rapito](https://github.com/rapito) - -## [v5.14.1](https://github.com/auth0/ruby-auth0/tree/v5.14.1) (2023-07-19) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.14.0...v5.14.1) - -**Fixed** - -- chore: should not lowercase org_name claim [\#499](https://github.com/auth0/ruby-auth0/pull/499) ([stevehobbsdev](https://github.com/stevehobbsdev)) - -## [v5.14.0](https://github.com/auth0/ruby-auth0/tree/v5.14.0) (2023-07-13) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.13.0...v5.14.0) - -**Added** - -- [SDK-4386] Support Organization Name in Authorize [\#495](https://github.com/auth0/ruby-auth0/pull/495) ([stevehobbsdev](https://github.com/stevehobbsdev)) - -## [v5.13.0](https://github.com/auth0/ruby-auth0/tree/v5.13.0) (2023-04-24) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.12.0...v5.13.0) - -**Added** - -- [SDK-4142] Add support for /oauth/par [\#470](https://github.com/auth0/ruby-auth0/pull/470) ([stevehobbsdev](https://github.com/stevehobbsdev)) - -**Deprecated** - -- Drop support for 2.7 in CI build [\#467](https://github.com/auth0/ruby-auth0/pull/467) ([stevehobbsdev](https://github.com/stevehobbsdev)) - -## [v5.12.0](https://github.com/auth0/ruby-auth0/tree/v5.12.0) (2023-03-13) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.11.0...v5.12.0) - -**Added** - -- [SDK-4014] User Authentication Method management API support [\#450](https://github.com/auth0/ruby-auth0/pull/450) ([stevehobbsdev](https://github.com/stevehobbsdev)) - -**Fixed** - -- Remove broken FAQ link from README [\#441](https://github.com/auth0/ruby-auth0/pull/441) ([joxxoxo](https://github.com/joxxoxo)) - -## [v5.11.0](https://github.com/auth0/ruby-auth0/tree/v5.11.0) (2023-01-27) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.10.0...v5.11.0) - -**Added** - -- feat: support exchanging OTP codes for tokens [\#438](https://github.com/auth0/ruby-auth0/pull/438) ([stevehobbsdev](https://github.com/stevehobbsdev)) -- [SDK-3869] Support client credentials in management client [\#437](https://github.com/auth0/ruby-auth0/pull/437) ([stevehobbsdev](https://github.com/stevehobbsdev)) -- [SDK-3863] Add support for Client Assertion in authentication endpoints [\#434](https://github.com/auth0/ruby-auth0/pull/434) ([stevehobbsdev](https://github.com/stevehobbsdev)) - -**Changed** - -- ci: include Ruby 3.2 in test matrix [\#436](https://github.com/auth0/ruby-auth0/pull/436) ([stevehobbsdev](https://github.com/stevehobbsdev)) - -## [v5.10.0](https://github.com/auth0/ruby-auth0/tree/v5.10.0) (2022-10-10) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.9.0...v5.10.0) - -**Changed** - -- Update jwt ~2.5 [\#384](https://github.com/auth0/ruby-auth0/pull/384) ([stevehobbsdev](https://github.com/stevehobbsdev)) - -**Fixed** - -- Stop :get, :delete parameters from bleeding into subsequent requests [\#388](https://github.com/auth0/ruby-auth0/pull/388) ([stevehobbsdev](https://github.com/stevehobbsdev)) -- Support complex field names in export_users [\#387](https://github.com/auth0/ruby-auth0/pull/387) ([stevehobbsdev](https://github.com/stevehobbsdev)) -- Reconfigure rate limiting exponential backoff [\#386](https://github.com/auth0/ruby-auth0/pull/386) ([stevehobbsdev](https://github.com/stevehobbsdev)) - -## [v5.9.0](https://github.com/auth0/ruby-auth0/tree/v5.9.0) (2022-08-24) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.8.1...v5.9.0) - -**Added** - -- Add Delete All Authenticators API for Users [\#375](https://github.com/auth0/ruby-auth0/pull/375) ([phongnh](https://github.com/phongnh)) - -**Changed** - -- Add include_totals to get connections options [\#357](https://github.com/auth0/ruby-auth0/pull/357) ([stevehobbsdev](https://github.com/stevehobbsdev)) - -**Fixed** - -- Fix typo and remove param that is not used [\#365](https://github.com/auth0/ruby-auth0/pull/365) ([MatthewRDodds](https://github.com/MatthewRDodds)) -- correct remove_user_roles doc: roles param is ids, not names [\#359](https://github.com/auth0/ruby-auth0/pull/359) ([gbirchmeier](https://github.com/gbirchmeier)) - -## [v5.8.1](https://github.com/auth0/ruby-auth0/tree/v5.8.1) (2022-06-30) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.8.0...v5.8.1) - -**Fixed** - -- FIX: delete_organizations_members does not send `members` in body [\#345](https://github.com/auth0/ruby-auth0/pull/345) ([T-800](https://github.com/T-800)) - -**Security** - -- Security: Update dependencies lockfile [\#348](https://github.com/auth0/ruby-auth0/pull/348) ([evansims](https://github.com/evansims)) - -## [v5.8.0](https://github.com/auth0/ruby-auth0/tree/v5.8.0) (2022-03-25) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.7.0...v5.8.0) - -**Added** - -- Add parameters for pager to device_credentials method [\#318](https://github.com/auth0/ruby-auth0/pull/318) ([shibayu36](https://github.com/shibayu36)) - -**Fixed** - -- Cache RS256 JWKS by url to allow for multiple Auth0 tenants per runtime [\#325](https://github.com/auth0/ruby-auth0/pull/325) ([rmm5t](https://github.com/rmm5t)) -- Allow to pass nil to client_id arg of device_credentials [\#321](https://github.com/auth0/ruby-auth0/pull/321) ([shibayu36](https://github.com/shibayu36)) - -**Security** - -- Bump nokogiri from 1.13.1 to 1.13.3 [\#320](https://github.com/auth0/ruby-auth0/pull/320) ([dependabot[bot]](https://github.com/apps/dependabot)) - -## [v5.7.0](https://github.com/auth0/ruby-auth0/tree/v5.7.0) (2022-02-17) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.6.1...v5.7.0) - -**Added** - -- [SDK-3118] Add attack protection endpoints [\#316](https://github.com/auth0/ruby-auth0/pull/316) ([stevehobbsdev](https://github.com/stevehobbsdev)) - -**Fixed** - -- [SDK-3106] Fix up tests for Ruby 3 and rspec-mocks update [\#313](https://github.com/auth0/ruby-auth0/pull/313) ([stevehobbsdev](https://github.com/stevehobbsdev)) -- Fix #310: delete_organizations_member_roles should use delete_with_body instead of delete [\#311](https://github.com/auth0/ruby-auth0/pull/311) ([SanterreJo](https://github.com/SanterreJo)) - -## [v5.6.1](https://github.com/auth0/ruby-auth0/tree/v5.6.1) (2021-09-14) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.6.0..v5.6.1) - -**Fixed** - -- Fix `delete_grant` API call [\#304](https://github.com/auth0/ruby-auth0/pull/304) ([danimal141](https://github.com/danimal141)) - -## [v5.6.0](https://github.com/auth0/ruby-auth0/tree/v5.6.0) (2021-09-14) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.5.0..v5.6.0) - -**Added** - -- New Actions endpoints CH: Added review:medium. [\#293](https://github.com/auth0/ruby-auth0/pull/293) ([davidpatrick](https://github.com/davidpatrick)) - -- Updates rest-client to 2.1. [\#296](https://github.com/auth0/ruby-auth0/pull/296) ([davidpatrick](https://github.com/davidpatrick)) - -- Add New Grants. [\#295](https://github.com/auth0/ruby-auth0/pull/295) ([Norio4](https://github.com/Norio4)) - -- Add token cache and renew functionality for API requests [\#301](https://github.com/auth0/ruby-auth0/pull/295) ([stevehobbsdev](https://github.com/stevehobbsdev)) - -- Optional `client_id` parameter for `reset_password` [\#299](https://github.com/auth0/ruby-auth0/pull/295) ([DJRH](https://github.com/DJRH)) - -**Deprecated** - -- Deprecate change_password in favor of reset_password. [\#297](https://github.com/auth0/ruby-auth0/pull/297) ([davidpatrick](https://github.com/davidpatrick)) - -## [v5.5.0](https://github.com/auth0/ruby-auth0/tree/v5.5.0) (2021-08-06) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.4.0..v5.5.0) - -**Added** - -- Automatically retry requests when API returns a 429 rate-limit status header. [\#290](https://github.com/auth0/ruby-auth0/pull/290) ([davidpatrick](https://github.com/davidpatrick)) - -## [v5.4.0](https://github.com/auth0/ruby-auth0/tree/v5.4.0) (2021-07-23) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.3.0..v5.4.0) - -**Fixed** - -- Fixing yard issues with documentation [\#288](https://github.com/auth0/ruby-auth0/pull/288) ([davidpatrick](https://github.com/davidpatrick)) - -**Changed** - -- Change strategy when normalizing path [\#287](https://github.com/auth0/ruby-auth0/pull/287) ([davidpatrick](https://github.com/davidpatrick)) - -## [v5.3.0](https://github.com/auth0/ruby-auth0/tree/v5.3.0) (2021-07-23) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.2.0..v5.3.0) - -**Added** - -- Checkpoint Pagination [\#284](https://github.com/auth0/ruby-auth0/pull/284) ([davidpatrick](https://github.com/davidpatrick)) - -## [v5.2.0](https://github.com/auth0/ruby-auth0/tree/v5.2.0) (2021-07-20) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.1.2..v5.2.0) - -**Fixed** - -- Ensure email param is properly encoded in delete_connection_user [\#280](https://github.com/auth0/ruby-auth0/pull/280) ([widcket](https://github.com/widcket)) - -**Added** - -- Adds Rotating Refresh Token type to Device Credentials [\#275](https://github.com/auth0/ruby-auth0/pull/275) ([epintos](https://github.com/epintos)) - -**Changed** - -- Do not lock dependencies to minor version [\#279](https://github.com/auth0/ruby-auth0/pull/279) ([athix](https://github.com/athix)) - -## [v5.1.2](https://github.com/auth0/ruby-auth0/tree/v5.1.2) (2021-07-15) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.1.1..v5.1.2) - -**Security** - -- Bump addressable version per CVE-2021-32740 [\#276](https://github.com/auth0/ruby-auth0/pull/276) ([lostapathy](https://github.com/lostapathy)) - -## [v5.1.1](https://github.com/auth0/ruby-auth0/tree/v5.1.1) (2021-04-14) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.1.0..v5.1.1) - -**Fixed** - -- Fixes create_organizations_enabled_connection [\#269](https://github.com/auth0/ruby-auth0/pull/269) ([davidpatrick](https://github.com/apps/davidpatrick)) - -## [v5.1.0](https://github.com/auth0/ruby-auth0/tree/v5.1.0) (2021-04-09) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.0.1..v5.1.0) - -**Added** - -- Org idtoken validation guidance [\#267](https://github.com/auth0/ruby-auth0/pull/267) ([davidpatrick](https://github.com/davidpatrick)) -- Adds Branding endpoints [\#266](https://github.com/auth0/ruby-auth0/pull/266) ([davidpatrick](https://github.com/davidpatrick)) -- Organizations feature [\#264](https://github.com/auth0/ruby-auth0/pull/264) ([davidpatrick](https://github.com/davidpatrick)) -- Add Organizations support to Authentication API Client [\#263](https://github.com/auth0/ruby-auth0/pull/263) ([davidpatrick](https://github.com/davidpatrick)) -- Add api_identifier as an accepted configurable [\#261](https://github.com/auth0/ruby-auth0/pull/261) ([QWYNBG](https://github.com/QWYNBG)) -- add name param to connections api [\#260](https://github.com/auth0/ruby-auth0/pull/260) ([QWYNBG](https://github.com/QWYNBG)) - -## [v5.0.1](https://github.com/auth0/ruby-auth0/tree/v5.0.1) (2021-02-02) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v5.0.0..v5.0.1) - -**Added** - -- Add test support for Ruby 2.6 and 2.7 and 3.0 [\#256](https://github.com/auth0/ruby-auth0/pull/256) ([fursich](https://github.com/fursich)) - -**Fixed** - -- Fixes recovery-code-regeneration URL [\#257](https://github.com/auth0/ruby-auth0/pull/257) ([epintos](https://github.com/apps/epintos)) - -**Security** - -- Bumps nokogiri from 1.10.10 to 1.11.1 [\#258](https://github.com/auth0/ruby-auth0/pull/258) ([dependabot](https://github.com/apps/dependabot)) - -## [v5.0.0](https://github.com/auth0/ruby-auth0/tree/v5.0.0) (2020-10-22) - -This release addresses some long standing issues with the library that could only be addressed in a major. We have also removed Api/v1 endpoints and other deprecated methods. - -### Migration from v4 to v5 - -#### Top Level Structs - -The following top level structs were colliding with other libraries, this was addressed in [\#183](183) and have been namespaced with `::Auth0::` - -- `ApiToken` changed to `::Auth0::ApiToken` -- `Permission` changed to `::Auth0::Permission` -- `AccessToken` changed to `::AccessToken::AccessToken` - -#### Api2 Users create_user method - -This method was requiring you send in a `name`, which was optional, but didn't require `connection_name` which isn't optional. This was fixed in [\#244](244). - -`Auth0::Api::V2::Users.create_user(name, options = {})` has changed to `Auth0::Api::V2::Users.create_user(connection_name, options = {})` - -#### APIv1 End of Life - -APIv1 endpoints were deprecated in 4.x and now have been removed in v5. They reached end-of-life in the Public Cloud on 13 July 2020. Migration from v1 to v2 has been documented here https://auth0.com/docs/product-lifecycle/deprecations-and-migrations/migrate-to-management-api-v2 - -#### Catching 429 Errors - -In 4.x `RateLimitEncountered` was inheriting from `Auth0::Unsupported` in order for backwards compatibility. This class is now inheriting `Auth0::HTTPError`. If you are catching 429 errors with `Auth0::Unsupported` then you will need to migrate to catching with `Auth0::HTTPError`. - -### Changes - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.17.1...v5.0.0) - -**Fixed** - -- Don't define structs as top-level constants (breaking changes) [\#183](https://github.com/auth0/ruby-auth0/pull/183) ([makimoto](https://github.com/makimoto)) -- Fix create_user implementation (breaking changes) [\#244](https://github.com/auth0/ruby-auth0/pull/244) ([davidpatrick](https://github.com/davidpatrick)) - -**Removed** - -- Removed Deprecations (breaking changes) [\#245](https://github.com/auth0/ruby-auth0/pull/245) ([davidpatrick](https://github.com/davidpatrick)) - -## [v4.17.1](https://github.com/auth0/ruby-auth0/tree/v4.17.1) (2020-10-21) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.17.0...v4.17.1) - -**Fixed** - -- Addressable dependency [\#247](https://github.com/auth0/ruby-auth0/pull/247) ([davidpatrick](https://github.com/davidpatrick)) - -## [v4.17.0](https://github.com/auth0/ruby-auth0/tree/v4.17.0) (2020-10-19) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.16.0...v4.17.0) - -**Added** - -- Add pagination to user permissions [\#241](https://github.com/auth0/ruby-auth0/pull/241) ([davidpatrick](https://github.com/davidpatrick)) - -**Deprecated** - -- Addressable URI Escape [\#240](https://github.com/auth0/ruby-auth0/pull/240) ([davidpatrick](https://github.com/apps/davidpatrick)) - -## [v4.16.0](https://github.com/auth0/ruby-auth0/tree/v4.16.0) (2020-10-02) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.15.0...v4.16.0) - -**Added** - -- New Email Verification Fields [\#237](https://github.com/auth0/ruby-auth0/pull/237) ([davidpatrick](https://github.com/davidpatrick)) - -**Security** - -- Bump actionview from 6.0.3.2 to 6.0.3.3 [\#236](https://github.com/auth0/ruby-auth0/pull/236) ([dependabot[bot]](https://github.com/apps/dependabot)) - -## [v4.15.0](https://github.com/auth0/ruby-auth0/tree/v4.15.0) (2020-09-04) - -**Added** - -- Add log streaming endpoints [\#233](https://github.com/auth0/ruby-auth0/pull/233) ([davidpatrick](https://github.com/davidpatrick)) - -## [v4.14.0](https://github.com/auth0/ruby-auth0/tree/v4.14.0) (2020-07-20) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.13.0...v4.14.0) - -**Deprecated** - -- Deprecate mgmt v1 calls [\#230](https://github.com/auth0/ruby-auth0/pull/230) ([davidpatrick](https://github.com/davidpatrick)) - -**Removed** - -- Remove iat claim value check [\#229](https://github.com/auth0/ruby-auth0/pull/229) ([lbalmaceda](https://github.com/lbalmaceda)) - -**Fixed** - -- Handle missing reset header [\#228](https://github.com/auth0/ruby-auth0/pull/228) ([Widcket](https://github.com/Widcket)) - -## [v4.13.0](https://github.com/auth0/ruby-auth0/tree/v4.13.0) (2020-06-18) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.12.0...v4.13.0) - -**Added** - -- Add prompts endpoints [\#205](https://github.com/auth0/ruby-auth0/pull/205) ([unhappychoice](https://github.com/unhappychoice)) - -**Fixed** - -- Fix missing to_json [\#212](https://github.com/auth0/ruby-auth0/pull/212) ([qortex](https://github.com/qortex)) - -## [v4.12.0](https://github.com/auth0/ruby-auth0/tree/v4.12.0) (2020-06-10) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.11.0...v4.12.0) - -**Added** - -- Improve OIDC compliance [SDK-987] [\#225](https://github.com/auth0/ruby-auth0/pull/225) ([Widcket](https://github.com/Widcket)) - -**Security** - -- Bump activesupport from 6.0.3 to 6.0.3.1 [\#221](https://github.com/auth0/ruby-auth0/pull/221) ([dependabot[bot]](https://github.com/apps/dependabot)) -- Bump actionpack from 6.0.3 to 6.0.3.1 [\#220](https://github.com/auth0/ruby-auth0/pull/220) ([dependabot[bot]](https://github.com/apps/dependabot)) - -## [v4.11.0](https://github.com/auth0/ruby-auth0/tree/v4.11.0) (2020-05-06) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.10.0...v4.11.0) - -**Added** - -- [SDK-1542] Add client secret to Passwordless flow since it is now required [\#217](https://github.com/auth0/ruby-auth0/pull/217) ([stevehobbsdev](https://github.com/stevehobbsdev)) - -## [v4.10.0](https://github.com/auth0/ruby-auth0/tree/v4.10.0) (2020-04-23) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.9.0...v4.10.0) - -**Added** - -- Added support for name_filter parameter \[SDK-1607\] [\#214](https://github.com/auth0/ruby-auth0/pull/214) ([Widcket](https://github.com/Widcket)) -- Pass client_id, audience at Auth0::Api::V2::ClientGrants\#client_grants [\#209](https://github.com/auth0/ruby-auth0/pull/209) ([hkdnet](https://github.com/hkdnet)) -- Add rubocop-rails [\#200](https://github.com/auth0/ruby-auth0/pull/200) ([tknzk](https://github.com/tknzk)) - -**Security** - -- Update rack requirement from ~\> 1.6.4 to ~\> 2.1.2 [\#206](https://github.com/auth0/ruby-auth0/pull/206) ([dependabot[bot]](https://github.com/apps/dependabot)) -- Update rake requirement from ~\> 10.4 to ~\> 13.0 [\#207](https://github.com/auth0/ruby-auth0/pull/207) ([dependabot[bot]](https://github.com/apps/dependabot)) -- Update dependencies and CI script [\#210](https://github.com/auth0/ruby-auth0/pull/210) ([lbalmaceda](https://github.com/lbalmaceda)) - -## [v4.9.0](https://github.com/auth0/ruby-auth0/tree/v4.9.0) (2019-09-25) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.8.0...v4.9.0) - -**Closed issues:** - -- Dot in role name makes description disappear [\#194](https://github.com/auth0/ruby-auth0/issues/194) -- Missing require Permission [\#192](https://github.com/auth0/ruby-auth0/issues/192) -- Token required even when not necessary [\#190](https://github.com/auth0/ruby-auth0/issues/190) - -**Fixed:** - -- Fix request timeout [\#188](https://github.com/auth0/ruby-auth0/pull/188) ([makoto-matsumoto](https://github.com/makoto-matsumoto)) -- Fix missing Permissions mixin [\#196](https://github.com/auth0/ruby-auth0/pull/196) ([joshcanhelp](https://github.com/joshcanhelp)) - -**Added:** - -- Add Management API Guardian enrollments endpoint [\#182](https://github.com/auth0/ruby-auth0/pull/182) ([tomgi](https://github.com/tomgi)) - -## [v4.8.0](https://github.com/auth0/ruby-auth0/tree/v4.8.0) (2019-08-01) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.7.0...v4.8.0) - -**Closed issues** - -- Not enough information in exception when Rate Limiting is encountered [\#158](https://github.com/auth0/ruby-auth0/issues/158) - -**Added** - -- Add Management API Anomaly endpoints [\#179](https://github.com/auth0/ruby-auth0/pull/179) ([makoto-matsumoto](https://github.com/makoto-matsumoto)) -- Add parameters for users imports [\#177](https://github.com/auth0/ruby-auth0/pull/177) ([makoto-matsumoto](https://github.com/makoto-matsumoto)) -- Add failed job error details endpoint [\#176](https://github.com/auth0/ruby-auth0/pull/176) ([makoto-matsumoto](https://github.com/makoto-matsumoto)) -- Add Management API Roles endpoints [\#172](https://github.com/auth0/ruby-auth0/pull/172) ([joshcanhelp](https://github.com/joshcanhelp)) -- Expose rate limiting information [\#170](https://github.com/auth0/ruby-auth0/pull/170) ([philomory](https://github.com/philomory)) -- Add missing User Management API endpoints [\#169](https://github.com/auth0/ruby-auth0/pull/169) ([joshcanhelp](https://github.com/joshcanhelp)) -- Add Gemfile.lock file [\#165](https://github.com/auth0/ruby-auth0/pull/165) ([lbalmaceda](https://github.com/lbalmaceda)) - -**Changed** - -- Add Roles and Users endpoints integration tests [\#174](https://github.com/auth0/ruby-auth0/pull/174) ([joshcanhelp](https://github.com/joshcanhelp)) - -**Deprecated** - -- Deprecate Auth0::Api::V2::Users.delete_users [\#181](https://github.com/auth0/ruby-auth0/pull/181) ([joshcanhelp](https://github.com/joshcanhelp)) - -**Removed** - -- Gemspec: Drop EOL'd property rubyforge_project [\#180](https://github.com/auth0/ruby-auth0/pull/180) ([olleolleolle](https://github.com/olleolleolle)) - -**Security** - -- Fix Yard dependency vulnerability [\#184](https://github.com/auth0/ruby-auth0/pull/184) ([joshcanhelp](https://github.com/joshcanhelp)) - -## [v4.7.0](https://github.com/auth0/ruby-auth0/tree/v4.7.0) (2019-03-19) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.6.0...v4.7.0) - -**Closed issues** - -- No method to update/patch resource servers [\#156](https://github.com/auth0/ruby-auth0/issues/156) -- No method to get all resource servers [\#154](https://github.com/auth0/ruby-auth0/issues/154) - -**Added** - -- Add Client ID to send_verification_email [\#162](https://github.com/auth0/ruby-auth0/pull/162) ([joshcanhelp](https://github.com/joshcanhelp)) -- More password change params [\#159](https://github.com/auth0/ruby-auth0/pull/159) ([nhusher](https://github.com/nhusher)) -- Add patch resource server [\#157](https://github.com/auth0/ruby-auth0/pull/157) ([philomory](https://github.com/philomory)) -- Get all resource servers [\#155](https://github.com/auth0/ruby-auth0/pull/155) ([philomory](https://github.com/philomory)) - -## [v4.6.0](https://github.com/auth0/ruby-auth0/tree/v4.6.0) (2018-12-17) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.5.0...v4.6.0) - -**Closed issues** - -- New Release with Client Token work [\#148](https://github.com/auth0/ruby-auth0/issues/148) -- Unable to initialize Auth0Api [\#147](https://github.com/auth0/ruby-auth0/issues/147) -- Issues building the documentation [\#135](https://github.com/auth0/ruby-auth0/issues/135) -- signin with referral token [\#127](https://github.com/auth0/ruby-auth0/issues/127) -- Some challenges when upgrading to Ruby 2.5.1 [\#122](https://github.com/auth0/ruby-auth0/issues/122) -- Cannot refresh access token with refresh token. [\#111](https://github.com/auth0/ruby-auth0/issues/111) -- Incorrect request_params for username-password login [\#109](https://github.com/auth0/ruby-auth0/issues/109) -- Obtain APIv2 Token [\#86](https://github.com/auth0/ruby-auth0/issues/86) - -**Added** - -- Add refresh token method and unit tests [\#150](https://github.com/auth0/ruby-auth0/pull/150) ([joshcanhelp](https://github.com/joshcanhelp)) -- Improve telemetry; more modular Auth API [\#149](https://github.com/auth0/ruby-auth0/pull/149) ([joshcanhelp](https://github.com/joshcanhelp)) -- Add ttl_sec argument to post_email_verification request. [\#145](https://github.com/auth0/ruby-auth0/pull/145) ([digitaldawn](https://github.com/digitaldawn)) -- Add issue and PR templates, CoC [\#141](https://github.com/auth0/ruby-auth0/pull/141) ([joshcanhelp](https://github.com/joshcanhelp)) -- Add new login_ro method to replace login [\#133](https://github.com/auth0/ruby-auth0/pull/133) ([joshcanhelp](https://github.com/joshcanhelp)) -- Add VCR to and improve all integration tests [\#132](https://github.com/auth0/ruby-auth0/pull/132) ([joshcanhelp](https://github.com/joshcanhelp)) -- Add new method to perform an auth code exchange [\#131](https://github.com/auth0/ruby-auth0/pull/131) ([joshcanhelp](https://github.com/joshcanhelp)) -- Add new userinfo method for auth endpoints [\#130](https://github.com/auth0/ruby-auth0/pull/130) ([joshcanhelp](https://github.com/joshcanhelp)) -- Add Client Credentials grant [\#129](https://github.com/auth0/ruby-auth0/pull/129) ([joshcanhelp](https://github.com/joshcanhelp)) - -**Changed** - -- Improve the test suite [\#143](https://github.com/auth0/ruby-auth0/pull/143) ([joshcanhelp](https://github.com/joshcanhelp)) - -**Deprecated** - -- Formal deprecation of 4 auth endpoint methods; rubocop [\#151](https://github.com/auth0/ruby-auth0/pull/151) ([joshcanhelp](https://github.com/joshcanhelp)) - -**Fixed** - -- Documentation improvements [\#139](https://github.com/auth0/ruby-auth0/pull/139) ([szemek](https://github.com/szemek)) -- Fix typos in README.md [\#137](https://github.com/auth0/ruby-auth0/pull/137) ([swetax](https://github.com/swetax)) -- Explicitly require JSON dependency [\#126](https://github.com/auth0/ruby-auth0/pull/126) ([jgaskins](https://github.com/jgaskins)) - -## [v4.5.0](https://github.com/auth0/ruby-auth0/tree/v4.5.0) (2018-07-27) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.4.0...v4.5.0) - -**Closed issues:** - -- New version with updated rest-client dependency [\#93](https://github.com/auth0/ruby-auth0/issues/93) -- Bug?: `result` from auth0/mixins/httpproxy.rb returns 'nil' [\#88](https://github.com/auth0/ruby-auth0/issues/88) -- import_users fails with EOFError [\#56](https://github.com/auth0/ruby-auth0/issues/56) -- Using inside of a Rails API [\#55](https://github.com/auth0/ruby-auth0/issues/55) -- Add documentation? [\#102](https://github.com/auth0/ruby-auth0/issues/102) -- logout_url does not include client_id parameter [\#81](https://github.com/auth0/ruby-auth0/issues/81) - -**Merged pull requests:** - -- Correctly default grant_type to 'password' in login method [\#107](https://github.com/auth0/ruby-auth0/pull/107) ([psparrow](https://github.com/psparrow)) -- Add additional parameters for WS-Fed URL [\#123](https://github.com/auth0/ruby-auth0/pull/123) ([joshcanhelp](https://github.com/joshcanhelp)) -- Deprecate Authentication API endpoints [\#121](https://github.com/auth0/ruby-auth0/pull/121) ([joshcanhelp](https://github.com/joshcanhelp)) -- Clean up auth endpoint tests [\#120](https://github.com/auth0/ruby-auth0/pull/120) ([joshcanhelp](https://github.com/joshcanhelp)) -- Fix docblocks for Authentication API endpoints [\#119](https://github.com/auth0/ruby-auth0/pull/119) ([joshcanhelp](https://github.com/joshcanhelp)) -- Add Client ID to logout_url [\#118](https://github.com/auth0/ruby-auth0/pull/118) ([joshcanhelp](https://github.com/joshcanhelp)) -- Add pagination and tests for Rules endpoint [\#117](https://github.com/auth0/ruby-auth0/pull/117) ([joshcanhelp](https://github.com/joshcanhelp)) -- Add pagination and tests for Client Grants [\#116](https://github.com/auth0/ruby-auth0/pull/116) ([joshcanhelp](https://github.com/joshcanhelp)) -- Add search_engine parameter to Users endpoint + tests [\#115](https://github.com/auth0/ruby-auth0/pull/115) ([joshcanhelp](https://github.com/joshcanhelp)) -- Improve README [\#114](https://github.com/auth0/ruby-auth0/pull/114) ([joshcanhelp](https://github.com/joshcanhelp)) -- Add pagination and tests to Clients and Connections endpoints [\#113](https://github.com/auth0/ruby-auth0/pull/113) ([joshcanhelp](https://github.com/joshcanhelp)) -- Use Secure RubyGems Source [\#112](https://github.com/auth0/ruby-auth0/pull/112) ([markprovan](https://github.com/markprovan)) - -## [v4.4.0](https://github.com/auth0/ruby-auth0/tree/v4.4.0) (2018-02-19) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.3.0...v4.4.0) - -**Closed issues:** - -- Authentication Login is using `/oauth/ro`. [\#89](https://github.com/auth0/ruby-auth0/issues/89) - -## [v4.3.0](https://github.com/auth0/ruby-auth0/tree/v4.3.0) (2018-02-19) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.2.0...v4.3.0) - -**Merged pull requests:** - -- Fix script publish gem [\#106](https://github.com/auth0/ruby-auth0/pull/106) ([alexisluque](https://github.com/alexisluque)) -- Add support to /api/v2/users-by-email [\#105](https://github.com/auth0/ruby-auth0/pull/105) ([edgurgel](https://github.com/edgurgel)) -- Update /login to use /oauth/token [\#94](https://github.com/auth0/ruby-auth0/pull/94) ([Zensaburou](https://github.com/Zensaburou)) -- Fix error in the readme regarding timeouts [\#90](https://github.com/auth0/ruby-auth0/pull/90) ([ksamc](https://github.com/ksamc)) - -## [v4.2.0](https://github.com/auth0/ruby-auth0/tree/v4.2.0) (2018-02-15) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.1.0...v4.2.0) - -**Closed issues:** - -- Vulnerable dependency: yard [\#99](https://github.com/auth0/ruby-auth0/issues/99) -- post_password_change results in payload validation error [\#84](https://github.com/auth0/ruby-auth0/issues/84) -- Unsupported on latest ruby version \(2.4.0\) [\#83](https://github.com/auth0/ruby-auth0/issues/83) -- Adding a resource server breaks authentication. [\#76](https://github.com/auth0/ruby-auth0/issues/76) -- outdated dependencies in ror-api example [\#75](https://github.com/auth0/ruby-auth0/issues/75) - -**Merged pull requests:** - -- Add scripts and Dockerfile to publish SDK on rubygems [\#104](https://github.com/auth0/ruby-auth0/pull/104) ([alexisluque](https://github.com/alexisluque)) -- Fix typo [\#103](https://github.com/auth0/ruby-auth0/pull/103) ([coisnepe](https://github.com/coisnepe)) -- Fix tests [\#101](https://github.com/auth0/ruby-auth0/pull/101) ([alexisluque](https://github.com/alexisluque)) -- Update outdated dependency [\#100](https://github.com/auth0/ruby-auth0/pull/100) ([alexisluque](https://github.com/alexisluque)) -- Fix build [\#98](https://github.com/auth0/ruby-auth0/pull/98) ([alexisluque](https://github.com/alexisluque)) -- Add delay to integration test [\#97](https://github.com/auth0/ruby-auth0/pull/97) ([alexisluque](https://github.com/alexisluque)) -- Fix build [\#96](https://github.com/auth0/ruby-auth0/pull/96) ([alexisluque](https://github.com/alexisluque)) -- Removed reference to API v1 [\#91](https://github.com/auth0/ruby-auth0/pull/91) ([aaguiarz](https://github.com/aaguiarz)) -- Update rest-client version to v2 [\#87](https://github.com/auth0/ruby-auth0/pull/87) ([hzalaz](https://github.com/hzalaz)) -- Introduce and raise exception for timeout [\#85](https://github.com/auth0/ruby-auth0/pull/85) ([anderslemke](https://github.com/anderslemke)) -- corrected missing comma in example code of readme.md [\#79](https://github.com/auth0/ruby-auth0/pull/79) ([drewnichols](https://github.com/drewnichols)) -- Resolve v1 API example error [\#78](https://github.com/auth0/ruby-auth0/pull/78) ([jesseproudman](https://github.com/jesseproudman)) -- updated dependencies in ror api example. Fix \#75 [\#77](https://github.com/auth0/ruby-auth0/pull/77) ([Amialc](https://github.com/Amialc)) -- Add a badge to documentation [\#74](https://github.com/auth0/ruby-auth0/pull/74) ([amingilani](https://github.com/amingilani)) -- Typo [\#73](https://github.com/auth0/ruby-auth0/pull/73) ([amingilani](https://github.com/amingilani)) -- Add how to generate documentation to the README.md + patch_user [\#72](https://github.com/auth0/ruby-auth0/pull/72) ([ignaciojonas](https://github.com/ignaciojonas)) - -## [v4.1.0](https://github.com/auth0/ruby-auth0/tree/v4.1.0) (2016-07-25) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v4.0.0...v4.1.0) - -**Closed issues:** - -- \#post_password_change requires a password for ticket. [\#69](https://github.com/auth0/ruby-auth0/issues/69) -- Exception messages are ruby hash string literals [\#63](https://github.com/auth0/ruby-auth0/issues/63) -- Ruby on Rails API issue [\#61](https://github.com/auth0/ruby-auth0/issues/61) -- Not possible to have V1 and V2 clients at the same time [\#60](https://github.com/auth0/ruby-auth0/issues/60) -- Be able to control timeout [\#57](https://github.com/auth0/ruby-auth0/issues/57) -- Version 4 changes [\#54](https://github.com/auth0/ruby-auth0/issues/54) -- Implement API v2 [\#38](https://github.com/auth0/ruby-auth0/issues/38) - -**Merged pull requests:** - -- Release 4.1.0 [\#71](https://github.com/auth0/ruby-auth0/pull/71) ([ignaciojonas](https://github.com/ignaciojonas)) -- Use JSON \(result.body\) for exception messages in requests [\#67](https://github.com/auth0/ruby-auth0/pull/67) ([ianks](https://github.com/ianks)) -- fixed rails api doesn't start, now impersionated links works with v2 [\#62](https://github.com/auth0/ruby-auth0/pull/62) ([Amialc](https://github.com/Amialc)) -- Add api v2 log endpoints to the gem [\#59](https://github.com/auth0/ruby-auth0/pull/59) ([LindseyB](https://github.com/LindseyB)) - -## [v4.0.0](https://github.com/auth0/ruby-auth0/tree/v4.0.0) (2016-02-12) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v3.6.1...v4.0.0) - -**Closed issues:** - -- Update LICENSE [\#47](https://github.com/auth0/ruby-auth0/issues/47) -- Integration tests [\#15](https://github.com/auth0/ruby-auth0/issues/15) - -**Merged pull requests:** - -- V2 - Rebased to Master [\#53](https://github.com/auth0/ruby-auth0/pull/53) ([ignaciojonas](https://github.com/ignaciojonas)) -- V2 - Auth Endpoints + Gem deployment [\#50](https://github.com/auth0/ruby-auth0/pull/50) ([ignaciojonas](https://github.com/ignaciojonas)) -- Documentation Style [\#49](https://github.com/auth0/ruby-auth0/pull/49) ([ignaciojonas](https://github.com/ignaciojonas)) -- Update License [\#48](https://github.com/auth0/ruby-auth0/pull/48) ([aguerere](https://github.com/aguerere)) -- API v2 Implementation [\#46](https://github.com/auth0/ruby-auth0/pull/46) ([ignaciojonas](https://github.com/ignaciojonas)) -- Refresh token delegation [\#43](https://github.com/auth0/ruby-auth0/pull/43) ([LindseyB](https://github.com/LindseyB)) -- Fix tests to make build green [\#41](https://github.com/auth0/ruby-auth0/pull/41) ([leosoubeste](https://github.com/leosoubeste)) -- Rubocop Integration [\#39](https://github.com/auth0/ruby-auth0/pull/39) ([ignaciojonas](https://github.com/ignaciojonas)) -- Remove semi-colons in README [\#37](https://github.com/auth0/ruby-auth0/pull/37) ([l4u](https://github.com/l4u)) - -## [v3.6.1](https://github.com/auth0/ruby-auth0/tree/v3.6.1) (2015-07-09) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v3.6.0...v3.6.1) - -**Merged pull requests:** - -- set the search engine if a query is set [\#36](https://github.com/auth0/ruby-auth0/pull/36) ([taylorfinnell](https://github.com/taylorfinnell)) -- email validation is broken by \_, which breaks the tests [\#35](https://github.com/auth0/ruby-auth0/pull/35) ([taylorfinnell](https://github.com/taylorfinnell)) - -## [v3.6.0](https://github.com/auth0/ruby-auth0/tree/v3.6.0) (2015-06-01) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v3.5.0...v3.6.0) - -**Merged pull requests:** - -- Remove exclude_fields parameter for getting users [\#34](https://github.com/auth0/ruby-auth0/pull/34) ([hzalaz](https://github.com/hzalaz)) -- Add connections [\#33](https://github.com/auth0/ruby-auth0/pull/33) ([taylorfinnell](https://github.com/taylorfinnell)) -- Use client header spec as per documentation [\#32](https://github.com/auth0/ruby-auth0/pull/32) ([benschwarz](https://github.com/benschwarz)) - -## [v3.5.0](https://github.com/auth0/ruby-auth0/tree/v3.5.0) (2015-05-21) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v3.4.0...v3.5.0) - -**Merged pull requests:** - -- Client information headers [\#31](https://github.com/auth0/ruby-auth0/pull/31) ([benschwarz](https://github.com/benschwarz)) - -## [v3.4.0](https://github.com/auth0/ruby-auth0/tree/v3.4.0) (2015-05-07) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v3.3.0...v3.4.0) - -**Closed issues:** - -- Changelog [\#29](https://github.com/auth0/ruby-auth0/issues/29) -- Tag releases [\#16](https://github.com/auth0/ruby-auth0/issues/16) - -**Merged pull requests:** - -- allow setting impersonation ttl [\#30](https://github.com/auth0/ruby-auth0/pull/30) ([seamusabshere](https://github.com/seamusabshere)) -- Fix broken link in README [\#28](https://github.com/auth0/ruby-auth0/pull/28) ([dentarg](https://github.com/dentarg)) - -## [v3.3.0](https://github.com/auth0/ruby-auth0/tree/v3.3.0) (2015-04-15) - -[Full Changelog](https://github.com/auth0/ruby-auth0/compare/v3.2.0...v3.3.0) - -**Closed issues:** - -- AuthenticationEndpoints should be independent of the V1/V2 API [\#20](https://github.com/auth0/ruby-auth0/issues/20) -- Typo in AuthenticationEndpoints.login [\#17](https://github.com/auth0/ruby-auth0/issues/17) -- Remove generated docs [\#14](https://github.com/auth0/ruby-auth0/issues/14) -- Remove the examples directory from this repository [\#4](https://github.com/auth0/ruby-auth0/issues/4) - -**Merged pull requests:** - -- Chore integration tests [\#27](https://github.com/auth0/ruby-auth0/pull/27) ([hzalaz](https://github.com/hzalaz)) -- allow to pass extra parameters to delegation method [\#23](https://github.com/auth0/ruby-auth0/pull/23) ([Maxim-Filimonov](https://github.com/Maxim-Filimonov)) - -## [v3.2.0](https://github.com/auth0/ruby-auth0/tree/v3.2.0) (2015-04-14) - -**Merged pull requests:** - -- Impersonation [\#26](https://github.com/auth0/ruby-auth0/pull/26) ([dentarg](https://github.com/dentarg)) -- Allow to set api_type to use with salesforce_api [\#25](https://github.com/auth0/ruby-auth0/pull/25) ([Maxim-Filimonov](https://github.com/Maxim-Filimonov)) -- Fixed few issues from issues list [\#22](https://github.com/auth0/ruby-auth0/pull/22) ([offtop](https://github.com/offtop)) -- Update readme.md api v2 basic usage example [\#19](https://github.com/auth0/ruby-auth0/pull/19) ([ethancrawford](https://github.com/ethancrawford)) -- fix token initialization to prevent nil token value [\#18](https://github.com/auth0/ruby-auth0/pull/18) ([ethancrawford](https://github.com/ethancrawford)) -- Make the client work for API v1 [\#13](https://github.com/auth0/ruby-auth0/pull/13) ([dentarg](https://github.com/dentarg)) -- Fix typo delegation signature; open_id =\> openid [\#12](https://github.com/auth0/ruby-auth0/pull/12) ([dentarg](https://github.com/dentarg)) -- Make the tests run on Travis CI [\#11](https://github.com/auth0/ruby-auth0/pull/11) ([dentarg](https://github.com/dentarg)) -- Added support for API V1 and API V2 [\#9](https://github.com/auth0/ruby-auth0/pull/9) ([offtop](https://github.com/offtop)) -- Update README.md [\#8](https://github.com/auth0/ruby-auth0/pull/8) ([pose](https://github.com/pose)) -- Make delete user safe [\#5](https://github.com/auth0/ruby-auth0/pull/5) ([dentarg](https://github.com/dentarg)) -- Remove the omniauth strategy [\#3](https://github.com/auth0/ruby-auth0/pull/3) ([dentarg](https://github.com/dentarg)) -- Fix rspec deprecation warning [\#2](https://github.com/auth0/ruby-auth0/pull/2) ([dentarg](https://github.com/dentarg)) -- Add method to access delegation endpoint [\#1](https://github.com/auth0/ruby-auth0/pull/1) ([FrancisPlaza](https://github.com/FrancisPlaza)) - -\* _This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)_ diff --git a/Gemfile.lock b/Gemfile.lock index 05ed9ab1..d93c501b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,53 +1,30 @@ PATH remote: . specs: - auth0 (6.0.0.beta.0) - addressable (~> 2.8) - jwt (~> 2.7) - rest-client (~> 2.1) - retryable (~> 3.0) - zache (~> 0.12) + auth0 (6.0.0) GEM remote: https://rubygems.org/ specs: - addressable (2.8.9) + addressable (2.9.0) public_suffix (>= 2.0.2, < 8.0) ast (2.4.3) - base64 (0.3.0) - bigdecimal (4.0.1) + bigdecimal (4.1.2) coderay (1.1.3) crack (1.0.1) bigdecimal rexml - domain_name (0.6.20240107) hashdiff (1.2.1) - http-accept (1.7.0) - http-cookie (1.1.0) - domain_name (~> 0.5) io-console (0.8.2) - json (2.19.1) - json-schema (6.2.0) - addressable (~> 2.8) - bigdecimal (>= 3.1, < 5) - jwt (2.10.2) - base64 + json (2.19.5) language_server-protocol (3.17.0.5) lint_roller (1.1.0) - logger (1.7.0) - mcp (0.8.0) - json-schema (>= 4.1) method_source (1.1.0) - mime-types (3.7.0) - logger - mime-types-data (~> 3.2025, >= 3.2025.0507) - mime-types-data (3.2026.0303) minitest (5.27.0) minitest-rg (5.4.0) minitest (>= 5.0, < 7) - netrc (0.11.0) - parallel (1.27.0) - parser (3.3.10.2) + parallel (2.1.0) + parser (3.3.11.1) ast (~> 2.4.1) racc prism (1.9.0) @@ -58,23 +35,16 @@ GEM public_suffix (7.0.5) racc (1.8.1) rainbow (3.1.1) - rake (13.3.1) - regexp_parser (2.11.3) + rake (13.4.2) + regexp_parser (2.12.0) reline (0.6.3) io-console (~> 0.5) - rest-client (2.1.0) - http-accept (>= 1.7.0, < 2.0) - http-cookie (>= 1.0.2, < 2.0) - mime-types (>= 1.16, < 4.0) - netrc (~> 0.8) - retryable (3.0.5) rexml (3.4.4) - rubocop (1.85.1) + rubocop (1.86.1) json (~> 2.3) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.1.0) - mcp (~> 0.6) - parallel (~> 1.10) + parallel (>= 1.10) parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 2.9.3, < 3.0) @@ -92,26 +62,13 @@ GEM unicode-display_width (3.2.0) unicode-emoji (~> 4.1) unicode-emoji (4.2.0) - webmock (3.26.1) + webmock (3.26.2) addressable (>= 2.8.0) crack (>= 0.3.2) hashdiff (>= 0.4.0, < 2.0.0) - zache (0.15.2) PLATFORMS - aarch64-linux - aarch64-linux-gnu - aarch64-linux-musl - arm-linux - arm-linux-gnu - arm-linux-musl - arm64-darwin - x86-linux - x86-linux-gnu - x86-linux-musl - x86_64-darwin - x86_64-linux - x86_64-linux-gnu + ruby x86_64-linux-musl DEPENDENCIES @@ -125,4 +82,4 @@ DEPENDENCIES webmock BUNDLED WITH - 2.5.23 + 2.5.22 diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 0d651713..00000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015 Auth0, Inc. (http://auth0.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/auth0.gemspec b/auth0.gemspec index ef5ebcd4..5bd24a43 100644 --- a/auth0.gemspec +++ b/auth0.gemspec @@ -11,8 +11,6 @@ Gem::Specification.new do |spec| spec.version = Auth0::VERSION spec.summary = "Ruby client library for the Auth0 API" spec.description = "The Auth0 Ruby library provides convenient access to the Auth0 API from Ruby." - spec.homepage = "https://github.com/auth0/ruby-auth0" - spec.license = "MIT" spec.required_ruby_version = ">= 3.3.0" spec.metadata["rubygems_mfa_required"] = "true" diff --git a/codecov.yml b/codecov.yml deleted file mode 100644 index d5a509a9..00000000 --- a/codecov.yml +++ /dev/null @@ -1,22 +0,0 @@ -coverage: - precision: 2 - round: down - range: "60...100" - status: - project: - default: - enabled: true - target: auto - threshold: 5% - if_no_uploads: error - patch: - default: - enabled: true - target: 80% - threshold: 30% - if_no_uploads: error - changes: - default: - enabled: true - if_no_uploads: error -comment: false \ No newline at end of file diff --git a/lib/auth0.rb b/lib/auth0.rb index 56391204..62392c1d 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" @@ -338,6 +347,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" @@ -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,7 @@ 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/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 +1771,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,9 +1830,341 @@ 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/federated_connection_token_set" @@ -1826,6 +2172,8 @@ 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" @@ -2192,6 +2540,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 +2553,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" @@ -2369,6 +2726,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" @@ -2407,6 +2766,7 @@ require_relative "auth0/prompts/types/update_settings_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/branding/types/update_branding_request_content.rb b/lib/auth0/branding/types/update_branding_request_content.rb index 76c7ca9e..bd31794b 100644 --- a/lib/auth0/branding/types/update_branding_request_content.rb +++ b/lib/auth0/branding/types/update_branding_request_content.rb @@ -7,6 +7,7 @@ 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/events/client.rb b/lib/auth0/events/client.rb new file mode 100644 index 00000000..4c5adf25 --- /dev/null +++ b/lib/auth0/events/client.rb @@ -0,0 +1,56 @@ +# 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_param_names = %i[from from_timestamp event_type] + 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) + params.except(*query_param_names) + + 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..827ccad5 --- /dev/null +++ b/lib/auth0/events/types/subscribe_events_request_parameters.rb @@ -0,0 +1,13 @@ +# 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/groups/client.rb b/lib/auth0/groups/client.rb index 063e8441..d412f155 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,11 +31,12 @@ 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_param_names = %i[connection_id name external_id search 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) diff --git a/lib/auth0/groups/types/list_groups_request_parameters.rb b/lib/auth0/groups/types/list_groups_request_parameters.rb index a53149fd..cf87a218 100644 --- a/lib/auth0/groups/types/list_groups_request_parameters.rb +++ b/lib/auth0/groups/types/list_groups_request_parameters.rb @@ -7,6 +7,7 @@ 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 diff --git a/lib/auth0/log_streams/client.rb b/lib/auth0/log_streams/client.rb index 73e61d19..98e7558c 100644 --- a/lib/auth0/log_streams/client.rb +++ b/lib/auth0/log_streams/client.rb @@ -10,72 +10,77 @@ 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] @@ -107,139 +112,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 +342,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 +559,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] diff --git a/lib/auth0/refresh_tokens/client.rb b/lib/auth0/refresh_tokens/client.rb index 84d20e89..a0c22381 100644 --- a/lib/auth0/refresh_tokens/client.rb +++ b/lib/auth0/refresh_tokens/client.rb @@ -68,6 +68,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] 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..a569dd18 --- /dev/null +++ b/lib/auth0/refresh_tokens/types/revoke_refresh_tokens_request_content.rb @@ -0,0 +1,14 @@ +# 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/resource_servers/types/create_resource_server_request_content.rb b/lib/auth0/resource_servers/types/create_resource_server_request_content.rb index 9ebb80f2..35a589dd 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 @@ -11,6 +11,7 @@ class CreateResourceServerRequestContent < Internal::Types::Model 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 @@ -20,6 +21,7 @@ class CreateResourceServerRequestContent < Internal::Types::Model 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/update_resource_server_request_content.rb b/lib/auth0/resource_servers/types/update_resource_server_request_content.rb index c1170ada..4469ad10 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 @@ -12,6 +12,7 @@ class UpdateResourceServerRequestContent < Internal::Types::Model 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 @@ -20,6 +21,7 @@ class UpdateResourceServerRequestContent < Internal::Types::Model 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/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..7fc8cc7c 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] @@ -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/types/bad_request_schema.rb b/lib/auth0/types/bad_request_schema.rb new file mode 100644 index 00000000..5f12140a --- /dev/null +++ b/lib/auth0/types/bad_request_schema.rb @@ -0,0 +1,12 @@ +# 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_identifiers.rb b/lib/auth0/types/branding_identifiers.rb new file mode 100644 index 00000000..aab63cf0 --- /dev/null +++ b/lib/auth0/types/branding_identifiers.rb @@ -0,0 +1,12 @@ +# 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_phone_display.rb b/lib/auth0/types/branding_phone_display.rb new file mode 100644 index 00000000..17ec998b --- /dev/null +++ b/lib/auth0/types/branding_phone_display.rb @@ -0,0 +1,11 @@ +# 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/client_my_organization_patch_configuration.rb b/lib/auth0/types/client_my_organization_patch_configuration.rb index bc6134c4..0bff9fb6 100644 --- a/lib/auth0/types/client_my_organization_patch_configuration.rb +++ b/lib/auth0/types/client_my_organization_patch_configuration.rb @@ -8,8 +8,6 @@ class ClientMyOrganizationPatchConfiguration < Internal::Types::Model 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..5d35b46e 100644 --- a/lib/auth0/types/client_my_organization_post_configuration.rb +++ b/lib/auth0/types/client_my_organization_post_configuration.rb @@ -8,8 +8,6 @@ class ClientMyOrganizationPostConfiguration < Internal::Types::Model 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..1ebde995 100644 --- a/lib/auth0/types/client_my_organization_response_configuration.rb +++ b/lib/auth0/types/client_my_organization_response_configuration.rb @@ -8,8 +8,6 @@ class ClientMyOrganizationResponseConfiguration < Internal::Types::Model 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_session_transfer_configuration.rb b/lib/auth0/types/client_session_transfer_configuration.rb index a1eb7e8f..0bde5734 100644 --- a/lib/auth0/types/client_session_transfer_configuration.rb +++ b/lib/auth0/types/client_session_transfer_configuration.rb @@ -10,6 +10,7 @@ class ClientSessionTransferConfiguration < Internal::Types::Model 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..1f2e1528 --- /dev/null +++ b/lib/auth0/types/client_session_transfer_delegation_configuration.rb @@ -0,0 +1,11 @@ +# 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/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..f2ec1ede --- /dev/null +++ b/lib/auth0/types/connection_assertion_decryption_settings.rb @@ -0,0 +1,11 @@ +# 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_options_common_oidc.rb b/lib/auth0/types/connection_options_common_oidc.rb index 130cd629..53a2d816 100644 --- a/lib/auth0/types/connection_options_common_oidc.rb +++ b/lib/auth0/types/connection_options_common_oidc.rb @@ -23,6 +23,7 @@ class ConnectionOptionsCommonOidc < Internal::Types::Model 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 diff --git a/lib/auth0/types/connection_options_common_saml.rb b/lib/auth0/types/connection_options_common_saml.rb index 277464bc..11f5f36d 100644 --- a/lib/auth0/types/connection_options_common_saml.rb +++ b/lib/auth0/types/connection_options_common_saml.rb @@ -4,6 +4,7 @@ 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" diff --git a/lib/auth0/types/connection_properties_options.rb b/lib/auth0/types/connection_properties_options.rb index 1815f258..21971fae 100644 --- a/lib/auth0/types/connection_properties_options.rb +++ b/lib/auth0/types/connection_properties_options.rb @@ -35,6 +35,11 @@ class ConnectionPropertiesOptions < Internal::Types::Model 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_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/create_resource_server_response_content.rb b/lib/auth0/types/create_resource_server_response_content.rb index a9080841..3c7d2d61 100644 --- a/lib/auth0/types/create_resource_server_response_content.rb +++ b/lib/auth0/types/create_resource_server_response_content.rb @@ -12,6 +12,7 @@ class CreateResourceServerResponseContent < Internal::Types::Model 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 @@ -22,6 +23,7 @@ class CreateResourceServerResponseContent < Internal::Types::Model 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_user_authentication_method_response_content.rb b/lib/auth0/types/create_user_authentication_method_response_content.rb index 699f2edc..e1f24c7b 100644 --- a/lib/auth0/types/create_user_authentication_method_response_content.rb +++ b/lib/auth0/types/create_user_authentication_method_response_content.rb @@ -16,6 +16,12 @@ class CreateUserAuthenticationMethodResponseContent < Internal::Types::Model 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/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/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/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..a295d28f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_context.rb @@ -0,0 +1,17 @@ +# 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..883dce4e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_context_client.rb @@ -0,0 +1,12 @@ +# 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..686eabef --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_context_connection.rb @@ -0,0 +1,12 @@ +# 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..2b730365 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_context_request.rb @@ -0,0 +1,15 @@ +# 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..d8db504d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_context_request_geo.rb @@ -0,0 +1,18 @@ +# 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..5f9bbf06 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_error_detail.rb @@ -0,0 +1,12 @@ +# 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..10d6baa8 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_created.rb @@ -0,0 +1,11 @@ +# 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..b34ba5b4 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_created_cloud_event.rb @@ -0,0 +1,18 @@ +# 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..0060dad5 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_created_data.rb @@ -0,0 +1,11 @@ +# 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..9619dcb6 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_created_object.rb @@ -0,0 +1,14 @@ +# 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..028c2468 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_created_object0.rb @@ -0,0 +1,15 @@ +# 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..b8310dd9 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_created_object1.rb @@ -0,0 +1,15 @@ +# 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..4faf9749 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_created_object2.rb @@ -0,0 +1,14 @@ +# 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..8916fef2 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_deleted.rb @@ -0,0 +1,11 @@ +# 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..6fa7e3ba --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_deleted_cloud_event.rb @@ -0,0 +1,18 @@ +# 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..28c3f8ae --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_deleted_data.rb @@ -0,0 +1,11 @@ +# 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..c3f18597 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_deleted_object.rb @@ -0,0 +1,14 @@ +# 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..57d84ecd --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_deleted_object0.rb @@ -0,0 +1,16 @@ +# 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..f57f6c80 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_deleted_object1.rb @@ -0,0 +1,16 @@ +# 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..066b09cd --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_deleted_object2.rb @@ -0,0 +1,15 @@ +# 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..dde58ff4 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added.rb @@ -0,0 +1,11 @@ +# 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..aff036cc --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_cloud_event.rb @@ -0,0 +1,18 @@ +# 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..51eff18c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_data.rb @@ -0,0 +1,11 @@ +# 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..1a78cbd0 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_object.rb @@ -0,0 +1,11 @@ +# 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..d26cb4aa --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_group.rb @@ -0,0 +1,14 @@ +# 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..b8c5107d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_group0.rb @@ -0,0 +1,13 @@ +# 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..955123e8 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_group1.rb @@ -0,0 +1,13 @@ +# 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..7d430833 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_group2.rb @@ -0,0 +1,12 @@ +# 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..460b7e14 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_member.rb @@ -0,0 +1,13 @@ +# 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..d59a3c25 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_member0.rb @@ -0,0 +1,11 @@ +# 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..b625d41e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_added_object_member1.rb @@ -0,0 +1,13 @@ +# 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..5e31552a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted.rb @@ -0,0 +1,11 @@ +# 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..78d43a64 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_cloud_event.rb @@ -0,0 +1,18 @@ +# 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..f2f5e314 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_data.rb @@ -0,0 +1,11 @@ +# 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..f3e8f673 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object.rb @@ -0,0 +1,11 @@ +# 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..f5491818 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group.rb @@ -0,0 +1,14 @@ +# 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..35bd630a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group0.rb @@ -0,0 +1,13 @@ +# 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..1e01c6b7 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group1.rb @@ -0,0 +1,13 @@ +# 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..4bd43f42 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_group2.rb @@ -0,0 +1,12 @@ +# 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..90747c65 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_member.rb @@ -0,0 +1,13 @@ +# 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..685ef1c4 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_member0.rb @@ -0,0 +1,11 @@ +# 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..fc554cea --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_member_deleted_object_member1.rb @@ -0,0 +1,13 @@ +# 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..53c06002 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_assigned.rb @@ -0,0 +1,11 @@ +# 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..f47b896a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_cloud_event.rb @@ -0,0 +1,18 @@ +# 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..84ecfea1 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_data.rb @@ -0,0 +1,11 @@ +# 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..c9e29bbe --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object.rb @@ -0,0 +1,12 @@ +# 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..22a39e95 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group.rb @@ -0,0 +1,14 @@ +# 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..e18d26d6 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group0.rb @@ -0,0 +1,13 @@ +# 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..e7be140c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group1.rb @@ -0,0 +1,13 @@ +# 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..08f10aaa --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_group2.rb @@ -0,0 +1,12 @@ +# 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..8f91efad --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_assigned_object_role.rb @@ -0,0 +1,11 @@ +# 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..46de7a48 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_deleted.rb @@ -0,0 +1,11 @@ +# 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..da644c83 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_cloud_event.rb @@ -0,0 +1,18 @@ +# 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..eb47ae60 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_data.rb @@ -0,0 +1,11 @@ +# 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..2ca58cb4 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object.rb @@ -0,0 +1,12 @@ +# 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..53dd3546 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group.rb @@ -0,0 +1,14 @@ +# 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..3436a445 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group0.rb @@ -0,0 +1,13 @@ +# 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..dce32a2d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group1.rb @@ -0,0 +1,13 @@ +# 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..8c883a93 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_role_deleted_object_group2.rb @@ -0,0 +1,12 @@ +# 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..0998a697 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_updated.rb @@ -0,0 +1,11 @@ +# 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..21fba819 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_updated_cloud_event.rb @@ -0,0 +1,18 @@ +# 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..e6394bee --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_updated_data.rb @@ -0,0 +1,11 @@ +# 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..a8499038 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_updated_object.rb @@ -0,0 +1,14 @@ +# 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..bd347e87 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_updated_object0.rb @@ -0,0 +1,16 @@ +# 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..dd91b866 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_updated_object1.rb @@ -0,0 +1,16 @@ +# 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..96c45018 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_group_updated_object2.rb @@ -0,0 +1,15 @@ +# 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..e94453a0 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_added.rb @@ -0,0 +1,11 @@ +# 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..0fbf2c8a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_added_cloud_event.rb @@ -0,0 +1,18 @@ +# 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..7f1bb60d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_added_data.rb @@ -0,0 +1,11 @@ +# 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..668eb87e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_added_object.rb @@ -0,0 +1,14 @@ +# 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..86ac0f93 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_added_object_organization.rb @@ -0,0 +1,11 @@ +# 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..0e26ab38 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_removed.rb @@ -0,0 +1,11 @@ +# 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..e80ea49a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_removed_cloud_event.rb @@ -0,0 +1,18 @@ +# 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..97ddc14e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_removed_data.rb @@ -0,0 +1,11 @@ +# 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..1601673f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_removed_object.rb @@ -0,0 +1,11 @@ +# 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..f5ccc084 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_removed_object_organization.rb @@ -0,0 +1,11 @@ +# 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..a0355d21 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_updated.rb @@ -0,0 +1,11 @@ +# 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..d15b331f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_cloud_event.rb @@ -0,0 +1,18 @@ +# 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..6b854d63 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_data.rb @@ -0,0 +1,11 @@ +# 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..143eccfd --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object.rb @@ -0,0 +1,14 @@ +# 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..ccbcba8d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_connection_updated_object_organization.rb @@ -0,0 +1,11 @@ +# 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..fb30f1c2 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_created.rb @@ -0,0 +1,11 @@ +# 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..b5b99771 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_created_cloud_event.rb @@ -0,0 +1,18 @@ +# 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..2889d00d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_created_data.rb @@ -0,0 +1,11 @@ +# 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..142a6313 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_created_object.rb @@ -0,0 +1,14 @@ +# 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..01f3da77 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_created_object_branding.rb @@ -0,0 +1,11 @@ +# 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..bb966f63 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_created_object_branding_colors.rb @@ -0,0 +1,11 @@ +# 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..f3ace68f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_deleted.rb @@ -0,0 +1,11 @@ +# 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..dbfffaa7 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_deleted_cloud_event.rb @@ -0,0 +1,18 @@ +# 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..6d05c931 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_deleted_data.rb @@ -0,0 +1,11 @@ +# 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..3e1dc543 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_deleted_object.rb @@ -0,0 +1,13 @@ +# 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..5f984387 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned.rb @@ -0,0 +1,11 @@ +# 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..475c4cf1 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_cloud_event.rb @@ -0,0 +1,18 @@ +# 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..12c3f92d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_data.rb @@ -0,0 +1,11 @@ +# 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..6d93ad9d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object.rb @@ -0,0 +1,13 @@ +# 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..d10afb2d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group.rb @@ -0,0 +1,14 @@ +# 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..62a60024 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group0.rb @@ -0,0 +1,13 @@ +# 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..84d1d4fb --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group1.rb @@ -0,0 +1,13 @@ +# 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..77c42291 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_group2.rb @@ -0,0 +1,12 @@ +# 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..a37aa954 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_assigned_object_role.rb @@ -0,0 +1,11 @@ +# 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..f0f6124f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted.rb @@ -0,0 +1,11 @@ +# 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..b49b6c96 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_cloud_event.rb @@ -0,0 +1,18 @@ +# 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..6e647503 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_data.rb @@ -0,0 +1,11 @@ +# 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..f0d2571c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object.rb @@ -0,0 +1,13 @@ +# 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..ce02c2d9 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group.rb @@ -0,0 +1,14 @@ +# 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..455012a4 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group0.rb @@ -0,0 +1,13 @@ +# 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..d17c9d2e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group1.rb @@ -0,0 +1,13 @@ +# 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..bea2053b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_group_role_deleted_object_group2.rb @@ -0,0 +1,12 @@ +# 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..7b54e6b9 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_added.rb @@ -0,0 +1,11 @@ +# 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..e8efccdd --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_added_cloud_event.rb @@ -0,0 +1,18 @@ +# 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..4eb2a1b0 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_added_data.rb @@ -0,0 +1,11 @@ +# 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..983179c6 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_added_object.rb @@ -0,0 +1,11 @@ +# 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..936228ac --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_added_object_organization.rb @@ -0,0 +1,11 @@ +# 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..904ae61d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_deleted.rb @@ -0,0 +1,11 @@ +# 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..1fd27b32 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_deleted_cloud_event.rb @@ -0,0 +1,18 @@ +# 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..75a125d3 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_deleted_data.rb @@ -0,0 +1,11 @@ +# 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..eb0446bb --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_deleted_object.rb @@ -0,0 +1,11 @@ +# 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..99334b3d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_deleted_object_organization.rb @@ -0,0 +1,11 @@ +# 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..a1f7ee64 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned.rb @@ -0,0 +1,11 @@ +# 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..71e42dc9 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_cloud_event.rb @@ -0,0 +1,18 @@ +# 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..192ff1f6 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_data.rb @@ -0,0 +1,11 @@ +# 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..d139d537 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_object.rb @@ -0,0 +1,12 @@ +# 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..67766431 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_assigned_object_role.rb @@ -0,0 +1,11 @@ +# 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..e87ca7a5 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted.rb @@ -0,0 +1,11 @@ +# 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..7430aec1 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_cloud_event.rb @@ -0,0 +1,18 @@ +# 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..8449f5ee --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_data.rb @@ -0,0 +1,11 @@ +# 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..f657abbc --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_object.rb @@ -0,0 +1,12 @@ +# 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..c20ab425 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_member_role_deleted_object_role.rb @@ -0,0 +1,11 @@ +# 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..b073589a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_updated.rb @@ -0,0 +1,11 @@ +# 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..ed48353d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_updated_cloud_event.rb @@ -0,0 +1,18 @@ +# 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..6ba97571 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_updated_data.rb @@ -0,0 +1,11 @@ +# 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..9830d657 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_updated_object.rb @@ -0,0 +1,14 @@ +# 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..7a1d77ec --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_updated_object_branding.rb @@ -0,0 +1,11 @@ +# 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..1893ab57 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_org_updated_object_branding_colors.rb @@ -0,0 +1,11 @@ +# 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..43e27974 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created.rb @@ -0,0 +1,11 @@ +# 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..9bc3fc10 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_cloud_event.rb @@ -0,0 +1,18 @@ +# 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..21e184c6 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_data.rb @@ -0,0 +1,11 @@ +# 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..b52bdef6 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object.rb @@ -0,0 +1,30 @@ +# 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..8020d6eb --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item.rb @@ -0,0 +1,16 @@ +# 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..f6862ce4 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_custom.rb @@ -0,0 +1,14 @@ +# 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..3df46ab7 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_custom_profile_data.rb @@ -0,0 +1,17 @@ +# 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..83acf6b1 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_custom_user_id.rb @@ -0,0 +1,13 @@ +# 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..cd2402c8 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_database.rb @@ -0,0 +1,14 @@ +# 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..af564eaa --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_database_profile_data.rb @@ -0,0 +1,17 @@ +# 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..144bba67 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_database_user_id.rb @@ -0,0 +1,13 @@ +# 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..064352f0 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_enterprise.rb @@ -0,0 +1,14 @@ +# 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..bd5c93bf --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_enterprise_profile_data.rb @@ -0,0 +1,17 @@ +# 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..5589b932 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_enterprise_user_id.rb @@ -0,0 +1,13 @@ +# 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..453f39d6 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_passwordless.rb @@ -0,0 +1,14 @@ +# 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..615a4384 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_passwordless_profile_data.rb @@ -0,0 +1,17 @@ +# 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..ef398392 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_passwordless_user_id.rb @@ -0,0 +1,13 @@ +# 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..41d96a6d --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_social.rb @@ -0,0 +1,14 @@ +# 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..299b9d8a --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_social_profile_data.rb @@ -0,0 +1,17 @@ +# 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..e50caf6f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_created_object_identities_item_social_user_id.rb @@ -0,0 +1,13 @@ +# 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..7c13251f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted.rb @@ -0,0 +1,11 @@ +# 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..c793b428 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_cloud_event.rb @@ -0,0 +1,18 @@ +# 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..41ee0068 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_data.rb @@ -0,0 +1,11 @@ +# 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..3804e1de --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object.rb @@ -0,0 +1,31 @@ +# 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..334ceffc --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item.rb @@ -0,0 +1,16 @@ +# 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..0b085a4f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_custom.rb @@ -0,0 +1,14 @@ +# 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..33450619 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_custom_profile_data.rb @@ -0,0 +1,17 @@ +# 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..3f36d99f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_custom_user_id.rb @@ -0,0 +1,13 @@ +# 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..37c05812 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_database.rb @@ -0,0 +1,14 @@ +# 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..7d8e8b7b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_database_profile_data.rb @@ -0,0 +1,17 @@ +# 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..8e296f10 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_database_user_id.rb @@ -0,0 +1,13 @@ +# 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..1b3bba33 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_enterprise.rb @@ -0,0 +1,14 @@ +# 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..3bf1801c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_enterprise_profile_data.rb @@ -0,0 +1,17 @@ +# 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..22987311 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_enterprise_user_id.rb @@ -0,0 +1,13 @@ +# 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..2a9e5f30 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_passwordless.rb @@ -0,0 +1,14 @@ +# 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..28ddb1ca --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_passwordless_profile_data.rb @@ -0,0 +1,17 @@ +# 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..4d1bf24f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_passwordless_user_id.rb @@ -0,0 +1,13 @@ +# 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..951ed769 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_social.rb @@ -0,0 +1,14 @@ +# 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..96cbeccf --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_social_profile_data.rb @@ -0,0 +1,17 @@ +# 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..3dbd069f --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_deleted_object_identities_item_social_user_id.rb @@ -0,0 +1,13 @@ +# 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..c55d834b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated.rb @@ -0,0 +1,11 @@ +# 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..9bfeeba6 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_cloud_event.rb @@ -0,0 +1,18 @@ +# 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..0ec9cd4e --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_data.rb @@ -0,0 +1,11 @@ +# 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..cf797534 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object.rb @@ -0,0 +1,30 @@ +# 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..af6b8637 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item.rb @@ -0,0 +1,16 @@ +# 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..e15b353b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_custom.rb @@ -0,0 +1,14 @@ +# 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..18e295b2 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_custom_profile_data.rb @@ -0,0 +1,17 @@ +# 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..173004c0 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_custom_user_id.rb @@ -0,0 +1,13 @@ +# 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..031dbd32 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_database.rb @@ -0,0 +1,14 @@ +# 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..667ab686 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_database_profile_data.rb @@ -0,0 +1,17 @@ +# 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..1203ef01 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_database_user_id.rb @@ -0,0 +1,13 @@ +# 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..27dd0374 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_enterprise.rb @@ -0,0 +1,14 @@ +# 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..77b63879 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_enterprise_profile_data.rb @@ -0,0 +1,17 @@ +# 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..e675d5f6 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_enterprise_user_id.rb @@ -0,0 +1,13 @@ +# 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..d51c762b --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_passwordless.rb @@ -0,0 +1,14 @@ +# 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..b50f6c59 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_passwordless_profile_data.rb @@ -0,0 +1,17 @@ +# 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..77c7102c --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_passwordless_user_id.rb @@ -0,0 +1,13 @@ +# 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..eb9b4da4 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_social.rb @@ -0,0 +1,14 @@ +# 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..8af4add1 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_social_profile_data.rb @@ -0,0 +1,17 @@ +# 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..51222808 --- /dev/null +++ b/lib/auth0/types/event_stream_cloud_event_user_updated_object_identities_item_social_user_id.rb @@ -0,0 +1,13 @@ +# 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_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..7f5472ac --- /dev/null +++ b/lib/auth0/types/event_stream_subscribe_events_response_content.rb @@ -0,0 +1,39 @@ +# 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/forbidden_schema.rb b/lib/auth0/types/forbidden_schema.rb new file mode 100644 index 00000000..acccecc4 --- /dev/null +++ b/lib/auth0/types/forbidden_schema.rb @@ -0,0 +1,12 @@ +# 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/get_branding_response_content.rb b/lib/auth0/types/get_branding_response_content.rb index 3cb13321..33f5d552 100644 --- a/lib/auth0/types/get_branding_response_content.rb +++ b/lib/auth0/types/get_branding_response_content.rb @@ -6,6 +6,7 @@ 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_resource_server_response_content.rb b/lib/auth0/types/get_resource_server_response_content.rb index 162dfff0..902bf025 100644 --- a/lib/auth0/types/get_resource_server_response_content.rb +++ b/lib/auth0/types/get_resource_server_response_content.rb @@ -12,6 +12,7 @@ class GetResourceServerResponseContent < Internal::Types::Model 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 @@ -22,6 +23,7 @@ class GetResourceServerResponseContent < Internal::Types::Model 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_user_authentication_method_response_content.rb b/lib/auth0/types/get_user_authentication_method_response_content.rb index 97a7051c..7a61c0a4 100644 --- a/lib/auth0/types/get_user_authentication_method_response_content.rb +++ b/lib/auth0/types/get_user_authentication_method_response_content.rb @@ -21,6 +21,8 @@ class GetUserAuthenticationMethodResponseContent < Internal::Types::Model 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 diff --git a/lib/auth0/types/oauth_scope.rb b/lib/auth0/types/oauth_scope.rb index 41c83879..0bf4d64b 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" diff --git a/lib/auth0/types/resource_server.rb b/lib/auth0/types/resource_server.rb index 9a4378ee..f2af6693 100644 --- a/lib/auth0/types/resource_server.rb +++ b/lib/auth0/types/resource_server.rb @@ -12,6 +12,7 @@ class ResourceServer < Internal::Types::Model 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 @@ -22,6 +23,7 @@ class ResourceServer < Internal::Types::Model 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/self_service_profile_sso_ticket_connection_config.rb b/lib/auth0/types/self_service_profile_sso_ticket_connection_config.rb index 620d169c..67ca396c 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,7 +2,8 @@ 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 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..28ad6949 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,7 +2,7 @@ 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 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..3b233bfc --- /dev/null +++ b/lib/auth0/types/too_many_requests_schema.rb @@ -0,0 +1,12 @@ +# 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/unauthorized_schema.rb b/lib/auth0/types/unauthorized_schema.rb new file mode 100644 index 00000000..b58cb3a5 --- /dev/null +++ b/lib/auth0/types/unauthorized_schema.rb @@ -0,0 +1,12 @@ +# 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_branding_identifiers.rb b/lib/auth0/types/update_branding_identifiers.rb new file mode 100644 index 00000000..06e8be1c --- /dev/null +++ b/lib/auth0/types/update_branding_identifiers.rb @@ -0,0 +1,12 @@ +# 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_phone_display.rb b/lib/auth0/types/update_branding_phone_display.rb new file mode 100644 index 00000000..a08ba716 --- /dev/null +++ b/lib/auth0/types/update_branding_phone_display.rb @@ -0,0 +1,11 @@ +# 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_response_content.rb b/lib/auth0/types/update_branding_response_content.rb index 8dcc10cb..a92e22d0 100644 --- a/lib/auth0/types/update_branding_response_content.rb +++ b/lib/auth0/types/update_branding_response_content.rb @@ -6,6 +6,7 @@ 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_connection_options.rb b/lib/auth0/types/update_connection_options.rb index 9519119e..4c51a6e1 100644 --- a/lib/auth0/types/update_connection_options.rb +++ b/lib/auth0/types/update_connection_options.rb @@ -38,6 +38,11 @@ class UpdateConnectionOptions < Internal::Types::Model 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_resource_server_response_content.rb b/lib/auth0/types/update_resource_server_response_content.rb index 58d7f2f9..b0813909 100644 --- a/lib/auth0/types/update_resource_server_response_content.rb +++ b/lib/auth0/types/update_resource_server_response_content.rb @@ -12,6 +12,7 @@ class UpdateResourceServerResponseContent < Internal::Types::Model 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 @@ -22,6 +23,7 @@ class UpdateResourceServerResponseContent < Internal::Types::Model 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_user_authentication_method_response_content.rb b/lib/auth0/types/update_user_authentication_method_response_content.rb index 88b22a1f..f4dafa27 100644 --- a/lib/auth0/types/update_user_authentication_method_response_content.rb +++ b/lib/auth0/types/update_user_authentication_method_response_content.rb @@ -16,6 +16,7 @@ class UpdateUserAuthenticationMethodResponseContent < Internal::Types::Model 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/user_authentication_method.rb b/lib/auth0/types/user_authentication_method.rb index 0bf10a90..330d993b 100644 --- a/lib/auth0/types/user_authentication_method.rb +++ b/lib/auth0/types/user_authentication_method.rb @@ -21,6 +21,8 @@ class UserAuthenticationMethod < Internal::Types::Model 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 diff --git a/lib/auth0/user_attribute_profiles/client.rb b/lib/auth0/user_attribute_profiles/client.rb index d4959df9..27ec2a48 100644 --- a/lib/auth0/user_attribute_profiles/client.rb +++ b/lib/auth0/user_attribute_profiles/client.rb @@ -59,7 +59,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] 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..40a76a39 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 @@ -14,7 +14,14 @@ class CreateUserAuthenticationMethodRequestContent < Internal::Types::Model 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/verifiable_credentials/verification/templates/client.rb b/lib/auth0/verifiable_credentials/verification/templates/client.rb index 7b221975..36d1f3a8 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] diff --git a/lib/auth0/version.rb b/lib/auth0/version.rb index c46cf54e..29b2103b 100644 --- a/lib/auth0/version.rb +++ b/lib/auth0/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Auth0 - VERSION = "6.0.0.beta.0" + VERSION = "6.0.0" end diff --git a/reference.md b/reference.md index 3825d566..6881d4a6 100644 --- a/reference.md +++ b/reference.md @@ -741,6 +741,14 @@ client.branding.update
+**identifiers:** `Auth0::Types::UpdateBrandingIdentifiers` + +
+
+ +
+
+ **font:** `Auth0::Types::UpdateBrandingFont`
@@ -860,7 +868,7 @@ client.client_grants.list(
-**default_for:** `Auth0::Types::ClientGrantDefaultForEnum` — Used to filter the returned client grants to include only default client grants for the specified group of clients. +**default_for:** `Auth0::Types::ClientGrantDefaultForEnum` — Applies this client grant as the default for all clients in the specified group. The only accepted value is `third_party_clients`, which applies the grant to all third-party clients. Per-client grants for the same audience take precedence. Mutually exclusive with `client_id`.
@@ -938,7 +946,7 @@ client.client_grants.create(audience: "audience")
-**default_for:** `Auth0::Types::ClientGrantDefaultForEnum` — Applies this client grant as the default for all clients in the specified group. The only accepted value is `third_party_clients`, which applies the grant to all third-party clients. Per-client grants for the same audience take precedence. Mutually exclusive with `client_id`. If specified, a value for `client_id` must not be specified. +**default_for:** `Auth0::Types::ClientGrantDefaultForEnum`
@@ -3350,6 +3358,7 @@ To search by checkpoint, use the following parameters: client.connections.list( from: "from", take: 1, + strategy: ["ad"], name: "name", fields: "fields", include_fields: true @@ -5732,6 +5741,89 @@ client.event_streams.test(
+ + + + +## Events +
client.events.subscribe() -> Auth0::Types::EventStreamSubscribeEventsResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Subscribe to events via Server-Sent Events (SSE) +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.events.subscribe( + from: "from", + from_timestamp: "from_timestamp", + event_type: ["group.created"] +) +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**from:** `String` — Opaque token representing position in the stream. If not provided, stream will start from the latest events. + +
+
+ +
+
+ +**from_timestamp:** `String` — RFC-3339 timestamp indicating where to start streaming events from. This should only be used on the initial query when a cursor may not be available. Subsequent requests should use the cursor (from) as it will be more accurate. + +
+
+ +
+
+ +**event_type:** `Auth0::Types::EventStreamSubscribeEventsEventTypeEnum` — Event type(s) to listen for. Specify multiple times for multiple types (e.g., ?event_type=user.created&event_type=user.updated). If not provided, all event types will be streamed. + +
+
+ +
+
+ +**request_options:** `Auth0::Events::RequestOptions` + +
+
+
+
+ +
@@ -5754,6 +5846,7 @@ client.flows.list( page: 1, per_page: 1, include_totals: true, + hydrate: ["form_count"], synchronous: true ) ``` @@ -5891,7 +5984,10 @@ client.flows.create(name: "name")
```ruby -client.flows.get(id: "id") +client.flows.get( + id: "id", + hydrate: ["form_count"] +) ```
@@ -6063,7 +6159,8 @@ client.flows.update(id: "id") client.forms.list( page: 1, per_page: 1, - include_totals: true + include_totals: true, + hydrate: ["flow_count"] ) ``` @@ -6240,7 +6337,10 @@ client.forms.create(name: "name")
```ruby -client.forms.get(id: "id") +client.forms.get( + id: "id", + hydrate: ["flow_count"] +) ```
@@ -6709,6 +6809,7 @@ client.groups.list( connection_id: "connection_id", name: "name", external_id: "external_id", + search: "search", fields: "fields", include_fields: true, from: "from", @@ -6752,6 +6853,14 @@ client.groups.list(
+**search:** `String` — Search for groups by name or external ID. + +
+
+ +
+
+ **fields:** `String` — A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields
@@ -7433,72 +7542,77 @@ client.jobs.get(id: "id")
-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" + } +}] +```
@@ -7553,131 +7667,202 @@ client.log_streams.list
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" + } +} +```
@@ -7706,146 +7891,196 @@ client.log_streams.create( #### ⚙️ Parameters -
-
+
+
+ +
+
+ +**request:** `Auth0::Types::CreateLogStreamRequestContent` + +
+
+ +
+
+ +**request_options:** `Auth0::LogStreams::RequestOptions` + +
+
+
+
+ + +
+
+ + +
client.log_streams.get(id) -> Auth0::Types::GetLogStreamResponseContent +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Retrieve a log stream configuration and status. + +**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:** -**request:** `Auth0::Types::CreateLogStreamRequestContent` - -
-
+```json +{ + "name": "string", + "type": "segment", + "sink": { + "segmentWriteKey": "string" + } +} +``` -
-
+**Response:** -**request_options:** `Auth0::LogStreams::RequestOptions` - -
-
-
-
+```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" + } +} +``` -
client.log_streams.get(id) -> Auth0::Types::GetLogStreamResponseContent -
-
+**Sumo Logic Log Stream** -#### 📝 Description +```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: -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. +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.
@@ -7970,40 +8205,79 @@ client.log_streams.delete(id: "id")
Update a log stream. -

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
{
-	"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"
   }
-}
+} +```
@@ -9542,6 +9816,92 @@ client.refresh_tokens.list(
+ + +
+ +
client.refresh_tokens.revoke(request) -> +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Revoke refresh tokens in bulk by ID list, user, user+client, or client. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```ruby +client.refresh_tokens.revoke +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**ids:** `Internal::Types::Array[String]` — Array of refresh token IDs to revoke. Limited to 100 at a time. + +
+
+ +
+
+ +**user_id:** `String` — Revoke all refresh tokens for this user. + +
+
+ +
+
+ +**client_id:** `String` — Revoke all refresh tokens for this client. + +
+
+ +
+
+ +**audience:** `String` — Resource server identifier (audience) to scope the revocation. Must be used with both `user_id` and `client_id`. + +
+
+ +
+
+ +**request_options:** `Auth0::RefreshTokens::RequestOptions` + +
+
+
+
+ +
@@ -9769,6 +10129,7 @@ Retrieve details of all APIs associated with your tenant. ```ruby client.resource_servers.list( + identifiers: ["identifiers"], page: 1, per_page: 1, include_totals: true, @@ -9938,6 +10299,14 @@ client.resource_servers.create(identifier: "identifier")
+**allow_online_access_with_ephemeral_sessions:** `Internal::Types::Boolean` — Whether Online Refresh Tokens can be issued even when sessions are configured as ephemeral (true) or not (false). + +
+
+ +
+
+ **token_lifetime:** `Integer` — Expiration value (in seconds) for access tokens issued for this API from the token endpoint.
@@ -10010,6 +10379,14 @@ client.resource_servers.create(identifier: "identifier")
+**authorization_policy:** `Auth0::Types::ResourceServerAuthorizationPolicy` + +
+
+ +
+
+ **request_options:** `Auth0::ResourceServers::RequestOptions`
@@ -10263,6 +10640,14 @@ client.resource_servers.update(id: "id")
+**allow_online_access_with_ephemeral_sessions:** `Internal::Types::Boolean` — Whether Online Refresh Tokens can be issued even when sessions are configured as ephemeral (true) or not (false). + +
+
+ +
+
+ **token_lifetime:** `Integer` — Expiration value (in seconds) for access tokens issued for this API from the token endpoint.
@@ -10327,6 +10712,14 @@ client.resource_servers.update(id: "id")
+**authorization_policy:** `Auth0::Types::ResourceServerAuthorizationPolicy` + +
+
+ +
+
+ **request_options:** `Auth0::ResourceServers::RequestOptions`
@@ -11487,7 +11880,7 @@ client.self_service_profiles.create(name: "name")
-**allowed_strategies:** `Internal::Types::Array[Auth0::Types::SelfServiceProfileAllowedStrategyEnum]` — List of IdP strategies that will be shown to users during the Self-Service SSO flow. Possible values: [`oidc`, `samlp`, `waad`, `google-apps`, `adfs`, `okta`, `auth0-samlp`, `okta-samlp`, `keycloak-samlp`, `pingfederate`] +**allowed_strategies:** `Internal::Types::Array[Auth0::Types::SelfServiceProfileAllowedStrategyEnum]` — List of IdP strategies that will be shown to users during the Self-Service Enterprise Configuration flow. Possible values: [`oidc`, `samlp`, `waad`, `google-apps`, `adfs`, `okta`, `auth0-samlp`, `okta-samlp`, `keycloak-samlp`, `pingfederate`]
@@ -11495,7 +11888,7 @@ client.self_service_profiles.create(name: "name")
-**user_attributes:** `Internal::Types::Array[Auth0::Types::SelfServiceProfileUserAttribute]` — List of attributes to be mapped that will be shown to the user during the SS-SSO flow. +**user_attributes:** `Internal::Types::Array[Auth0::Types::SelfServiceProfileUserAttribute]` — List of attributes to be mapped that will be shown to the user during the Self-Service Enterprise Configuration flow.
@@ -11721,7 +12114,7 @@ client.self_service_profiles.update(id: "id")
-**allowed_strategies:** `Internal::Types::Array[Auth0::Types::SelfServiceProfileAllowedStrategyEnum]` — List of IdP strategies that will be shown to users during the Self-Service SSO flow. Possible values: [`oidc`, `samlp`, `waad`, `google-apps`, `adfs`, `okta`, `auth0-samlp`, `okta-samlp`, `keycloak-samlp`, `pingfederate`] +**allowed_strategies:** `Internal::Types::Array[Auth0::Types::SelfServiceProfileAllowedStrategyEnum]` — List of IdP strategies that will be shown to users during the Self-Service Enterprise Configuration flow. Possible values: [`oidc`, `samlp`, `waad`, `google-apps`, `adfs`, `okta`, `auth0-samlp`, `okta-samlp`, `keycloak-samlp`, `pingfederate`]
@@ -12414,7 +12807,7 @@ client.tickets.change_password
-**result_url:** `String` — URL the user will be redirected to in the classic Universal Login experience once the ticket is used. Cannot be specified when using client_id or organization_id. +**result_url:** `String` — URL the user will be redirected to in the classic Universal Login experience once the ticket is used. Cannot be specified when using organization_id. May be specified together with client_id when the tenant has a custom password reset page enabled and a password-reset-post-challenge Action bound.
@@ -12979,7 +13372,7 @@ client.user_attribute_profiles.list(
-Retrieve details about a single User Attribute Profile specified by ID. +Create a User Attribute Profile
@@ -18938,6 +19331,7 @@ Retrieve all connections that are enabled for the specified @@ -25837,6 +26232,7 @@ client.organizations.client_grants.list( id: "id", audience: "audience", client_id: "client_id", + grant_ids: ["grant_ids"], page: 1, per_page: 1, include_totals: true @@ -29650,7 +30046,7 @@ client.roles.users.assign(
-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.
@@ -29732,7 +30128,7 @@ client.self_service_profiles.custom_text.list(
-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.
@@ -29826,7 +30222,7 @@ client.self_service_profiles.custom_text.set(
-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.
@@ -29864,7 +30260,7 @@ client.self_service_profiles.sso_ticket.create(id: "id")
-**connection_id:** `String` — If provided, this will allow editing of the provided connection during the SSO Flow +**connection_id:** `String` — If provided, this will allow editing of the provided connection during the Self-Service Enterprise Configuration flow
@@ -29960,7 +30356,7 @@ client.self_service_profiles.sso_ticket.create(id: "id")
-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.
@@ -30635,7 +31031,15 @@ client.users.authentication_methods.create(
-**key_id:** `String` — Applies to webauthn authentication methods only. The id of the credential. +**key_id:** `String` — Applies to webauthn/passkey authentication methods only. The id of the credential. + +
+
+ +
+
+ +**public_key:** `String` — Applies to webauthn/passkey authentication methods only. The public key, which is encoded as base64.
@@ -30643,7 +31047,7 @@ client.users.authentication_methods.create(
-**public_key:** `String` — Applies to webauthn authentication methods only. The public key, which is encoded as base64. +**aaguid:** `String` — Applies to passkeys only. Authenticator Attestation Globally Unique Identifier
@@ -30659,6 +31063,54 @@ client.users.authentication_methods.create(
+**credential_device_type:** `Auth0::Types::CredentialDeviceTypeEnum` + +
+
+ +
+
+ +**credential_backed_up:** `Internal::Types::Boolean` — Applies to passkeys only. Whether the credential was backed up. + +
+
+ +
+
+ +**identity_user_id:** `String` — Applies to passkeys only. The ID of the user identity linked with the authentication method. + +
+
+ +
+
+ +**user_agent:** `String` — Applies to passkeys only. The user-agent of the browser used to create the passkey. + +
+
+ +
+
+ +**user_handle:** `String` — Applies to passkeys only. The user handle of the user identity. + +
+
+ +
+
+ +**transports:** `Internal::Types::Array[String]` — Applies to passkeys only. The transports used by clients to communicate with the authenticator. + +
+
+ +
+
+ **request_options:** `Auth0::Users::AuthenticationMethods::RequestOptions`
@@ -32878,7 +33330,7 @@ client.users.sessions.delete(user_id: "user_id")
-List a verifiable credential templates. +List verifiable credential templates.
diff --git a/test/wire/clients_connections_test.rb b/test/wire/clients_connections_test.rb index b2beb720..bd52e814 100644 --- a/test/wire/clients_connections_test.rb +++ b/test/wire/clients_connections_test.rb @@ -17,6 +17,7 @@ def test_clients_connections_get_with_wiremock result = @client.clients.connections.get( id: "id", + strategy: ["ad"], from: "from", take: 1, fields: "fields", diff --git a/test/wire/connections_test.rb b/test/wire/connections_test.rb index 4885adda..ab78fd7f 100644 --- a/test/wire/connections_test.rb +++ b/test/wire/connections_test.rb @@ -18,6 +18,7 @@ def test_connections_list_with_wiremock result = @client.connections.list( from: "from", take: 1, + strategy: ["ad"], name: "name", fields: "fields", include_fields: true, diff --git a/test/wire/events_test.rb b/test/wire/events_test.rb new file mode 100644 index 00000000..0498c1c0 --- /dev/null +++ b/test/wire/events_test.rb @@ -0,0 +1,37 @@ +# frozen_string_literal: true + +require_relative "wiremock_test_case" + +class EventsWireTest < WireMockTestCase + def setup + super + + @client = Auth0::Management.new( + token: "", + base_url: WIREMOCK_BASE_URL + ) + end + + def test_events_subscribe_with_wiremock + test_id = "events.subscribe.0" + + @client.events.subscribe( + from: "from", + from_timestamp: "from_timestamp", + event_type: ["group.created"], + request_options: { + additional_headers: { + "X-Test-Id" => "events.subscribe.0" + } + } + ) + + verify_request_count( + test_id: test_id, + method: "GET", + url_path: "/events", + query_params: nil, + expected: 1 + ) + end +end diff --git a/test/wire/flows_executions_test.rb b/test/wire/flows_executions_test.rb index b76cb7f9..ac3b8afe 100644 --- a/test/wire/flows_executions_test.rb +++ b/test/wire/flows_executions_test.rb @@ -43,6 +43,7 @@ def test_flows_executions_get_with_wiremock @client.flows.executions.get( flow_id: "flow_id", execution_id: "execution_id", + hydrate: ["debug"], request_options: { additional_headers: { "X-Test-Id" => "flows.executions.get.0" diff --git a/test/wire/flows_test.rb b/test/wire/flows_test.rb index 2b235fe7..ebcf331d 100644 --- a/test/wire/flows_test.rb +++ b/test/wire/flows_test.rb @@ -19,6 +19,7 @@ def test_flows_list_with_wiremock page: 1, per_page: 1, include_totals: true, + hydrate: ["form_count"], synchronous: true, request_options: { additional_headers: { @@ -64,6 +65,7 @@ def test_flows_get_with_wiremock @client.flows.get( id: "id", + hydrate: ["form_count"], request_options: { additional_headers: { "X-Test-Id" => "flows.get.0" diff --git a/test/wire/forms_test.rb b/test/wire/forms_test.rb index 24fb23a6..57c91cfc 100644 --- a/test/wire/forms_test.rb +++ b/test/wire/forms_test.rb @@ -19,6 +19,7 @@ def test_forms_list_with_wiremock page: 1, per_page: 1, include_totals: true, + hydrate: ["flow_count"], request_options: { additional_headers: { "X-Test-Id" => "forms.list.0" @@ -63,6 +64,7 @@ def test_forms_get_with_wiremock @client.forms.get( id: "id", + hydrate: ["flow_count"], request_options: { additional_headers: { "X-Test-Id" => "forms.get.0" diff --git a/test/wire/groups_test.rb b/test/wire/groups_test.rb index d1e02794..2366de56 100644 --- a/test/wire/groups_test.rb +++ b/test/wire/groups_test.rb @@ -19,6 +19,7 @@ def test_groups_list_with_wiremock connection_id: "connection_id", name: "name", external_id: "external_id", + search: "search", fields: "fields", include_fields: true, from: "from", diff --git a/test/wire/organizations_client_grants_test.rb b/test/wire/organizations_client_grants_test.rb index a8668b44..6d9fa4ba 100644 --- a/test/wire/organizations_client_grants_test.rb +++ b/test/wire/organizations_client_grants_test.rb @@ -19,6 +19,7 @@ def test_organizations_client_grants_list_with_wiremock id: "id", audience: "audience", client_id: "client_id", + grant_ids: ["grant_ids"], page: 1, per_page: 1, include_totals: true, diff --git a/test/wire/refresh_tokens_test.rb b/test/wire/refresh_tokens_test.rb index 6c610170..8dc118a0 100644 --- a/test/wire/refresh_tokens_test.rb +++ b/test/wire/refresh_tokens_test.rb @@ -40,6 +40,24 @@ def test_refresh_tokens_list_with_wiremock ) end + def test_refresh_tokens_revoke_with_wiremock + test_id = "refresh_tokens.revoke.0" + + @client.refresh_tokens.revoke(request_options: { + additional_headers: { + "X-Test-Id" => "refresh_tokens.revoke.0" + } + }) + + verify_request_count( + test_id: test_id, + method: "POST", + url_path: "/refresh-tokens/revoke", + query_params: nil, + expected: 1 + ) + end + def test_refresh_tokens_get_with_wiremock test_id = "refresh_tokens.get.0" diff --git a/test/wire/resource_servers_test.rb b/test/wire/resource_servers_test.rb index 233d4f28..1fcb8aff 100644 --- a/test/wire/resource_servers_test.rb +++ b/test/wire/resource_servers_test.rb @@ -16,6 +16,7 @@ def test_resource_servers_list_with_wiremock test_id = "resource_servers.list.0" result = @client.resource_servers.list( + identifiers: ["identifiers"], page: 1, per_page: 1, include_totals: true, diff --git a/wiremock/wiremock-mappings.json b/wiremock/wiremock-mappings.json index 8aca029d..d3f101e6 100644 --- a/wiremock/wiremock-mappings.json +++ b/wiremock/wiremock-mappings.json @@ -242,7 +242,7 @@ }, "response": { "status": 200, - "body": "{\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n },\n \"favicon_url\": \"favicon_url\",\n \"logo_url\": \"logo_url\",\n \"font\": {\n \"url\": \"url\"\n }\n}", + "body": "{\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n },\n \"favicon_url\": \"favicon_url\",\n \"logo_url\": \"logo_url\",\n \"identifiers\": {\n \"login_display\": \"unified\",\n \"otp_autocomplete\": true,\n \"phone_display\": {\n \"masking\": \"show_all\",\n \"formatting\": \"regional\"\n }\n },\n \"font\": {\n \"url\": \"url\"\n }\n}", "headers": { "Content-Type": "application/json" } @@ -269,7 +269,7 @@ }, "response": { "status": 200, - "body": "{\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n },\n \"favicon_url\": \"favicon_url\",\n \"logo_url\": \"logo_url\",\n \"font\": {\n \"url\": \"url\"\n }\n}", + "body": "{\n \"colors\": {\n \"primary\": \"primary\",\n \"page_background\": \"page_background\"\n },\n \"favicon_url\": \"favicon_url\",\n \"logo_url\": \"logo_url\",\n \"identifiers\": {\n \"login_display\": \"unified\",\n \"otp_autocomplete\": true,\n \"phone_display\": {\n \"masking\": \"show_all\",\n \"formatting\": \"regional\"\n }\n },\n \"font\": {\n \"url\": \"url\"\n }\n}", "headers": { "Content-Type": "application/json" } @@ -523,7 +523,7 @@ }, "response": { "status": 201, - "body": "{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\",\n \"allowed_roles\": [\n \"allowed_roles\"\n ]\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}", + "body": "{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\"\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}", "headers": { "Content-Type": "application/json" } @@ -614,7 +614,7 @@ }, "response": { "status": 200, - "body": "{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\",\n \"allowed_roles\": [\n \"allowed_roles\"\n ]\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}", + "body": "{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\"\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}", "headers": { "Content-Type": "application/json" } @@ -676,7 +676,7 @@ }, "response": { "status": 200, - "body": "{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\",\n \"allowed_roles\": [\n \"allowed_roles\"\n ]\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}", + "body": "{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\"\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}", "headers": { "Content-Type": "application/json" } @@ -707,7 +707,7 @@ }, "response": { "status": 200, - "body": "{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\",\n \"invitation_landing_client_id\": \"invitation_landing_client_id\",\n \"allowed_roles\": [\n \"allowed_roles\"\n ]\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}", + "body": "{\n \"client_id\": \"client_id\",\n \"tenant\": \"tenant\",\n \"name\": \"name\",\n \"description\": \"description\",\n \"global\": true,\n \"client_secret\": \"client_secret\",\n \"app_type\": \"native\",\n \"logo_uri\": \"logo_uri\",\n \"is_first_party\": true,\n \"oidc_conformant\": true,\n \"callbacks\": [\n \"callbacks\"\n ],\n \"allowed_origins\": [\n \"allowed_origins\"\n ],\n \"web_origins\": [\n \"web_origins\"\n ],\n \"client_aliases\": [\n \"client_aliases\"\n ],\n \"allowed_clients\": [\n \"allowed_clients\"\n ],\n \"allowed_logout_urls\": [\n \"allowed_logout_urls\"\n ],\n \"session_transfer\": {\n \"can_create_session_transfer_token\": true,\n \"enforce_cascade_revocation\": true,\n \"allowed_authentication_methods\": [\n \"cookie\"\n ],\n \"enforce_device_binding\": \"ip\",\n \"allow_refresh_token\": true,\n \"enforce_online_refresh_tokens\": true,\n \"delegation\": {\n \"allow_delegated_access\": true,\n \"enforce_device_binding\": \"ip\"\n }\n },\n \"oidc_logout\": {\n \"backchannel_logout_urls\": [\n \"backchannel_logout_urls\"\n ],\n \"backchannel_logout_initiators\": {\n \"mode\": \"custom\",\n \"selected_initiators\": [\n \"rp-logout\"\n ]\n },\n \"backchannel_logout_session_metadata\": {\n \"include\": true\n }\n },\n \"grant_types\": [\n \"grant_types\"\n ],\n \"jwt_configuration\": {\n \"lifetime_in_seconds\": 1,\n \"secret_encoded\": true,\n \"scopes\": {\n \"key\": \"value\"\n },\n \"alg\": \"HS256\"\n },\n \"signing_keys\": [\n {\n \"pkcs7\": \"pkcs7\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n }\n ],\n \"encryption_key\": {\n \"pub\": \"pub\",\n \"cert\": \"cert\",\n \"subject\": \"subject\"\n },\n \"sso\": true,\n \"sso_disabled\": true,\n \"cross_origin_authentication\": true,\n \"cross_origin_loc\": \"cross_origin_loc\",\n \"custom_login_page_on\": true,\n \"custom_login_page\": \"custom_login_page\",\n \"custom_login_page_preview\": \"custom_login_page_preview\",\n \"form_template\": \"form_template\",\n \"addons\": {\n \"aws\": {\n \"principal\": \"principal\",\n \"role\": \"role\",\n \"lifetime_in_seconds\": 1\n },\n \"azure_blob\": {\n \"accountName\": \"accountName\",\n \"storageAccessKey\": \"storageAccessKey\",\n \"containerName\": \"containerName\",\n \"blobName\": \"blobName\",\n \"expiration\": 1,\n \"signedIdentifier\": \"signedIdentifier\",\n \"blob_read\": true,\n \"blob_write\": true,\n \"blob_delete\": true,\n \"container_read\": true,\n \"container_write\": true,\n \"container_delete\": true,\n \"container_list\": true\n },\n \"azure_sb\": {\n \"namespace\": \"namespace\",\n \"sasKeyName\": \"sasKeyName\",\n \"sasKey\": \"sasKey\",\n \"entityPath\": \"entityPath\",\n \"expiration\": 1\n },\n \"rms\": {\n \"url\": \"url\"\n },\n \"mscrm\": {\n \"url\": \"url\"\n },\n \"slack\": {\n \"team\": \"team\"\n },\n \"sentry\": {\n \"org_slug\": \"org_slug\",\n \"base_url\": \"base_url\"\n },\n \"box\": {\n \"key\": \"value\"\n },\n \"cloudbees\": {\n \"key\": \"value\"\n },\n \"concur\": {\n \"key\": \"value\"\n },\n \"dropbox\": {\n \"key\": \"value\"\n },\n \"echosign\": {\n \"domain\": \"domain\"\n },\n \"egnyte\": {\n \"domain\": \"domain\"\n },\n \"firebase\": {\n \"secret\": \"secret\",\n \"private_key_id\": \"private_key_id\",\n \"private_key\": \"private_key\",\n \"client_email\": \"client_email\",\n \"lifetime_in_seconds\": 1\n },\n \"newrelic\": {\n \"account\": \"account\"\n },\n \"office365\": {\n \"domain\": \"domain\",\n \"connection\": \"connection\"\n },\n \"salesforce\": {\n \"entity_id\": \"entity_id\"\n },\n \"salesforce_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"salesforce_sandbox_api\": {\n \"clientid\": \"clientid\",\n \"principal\": \"principal\",\n \"communityName\": \"communityName\",\n \"community_url_section\": \"community_url_section\"\n },\n \"samlp\": {\n \"mappings\": {\n \"key\": \"value\"\n },\n \"audience\": \"audience\",\n \"recipient\": \"recipient\",\n \"createUpnClaim\": true,\n \"mapUnknownClaimsAsIs\": true,\n \"passthroughClaimsWithNoMapping\": true,\n \"mapIdentities\": true,\n \"signatureAlgorithm\": \"signatureAlgorithm\",\n \"digestAlgorithm\": \"digestAlgorithm\",\n \"issuer\": \"issuer\",\n \"destination\": \"destination\",\n \"lifetimeInSeconds\": 1,\n \"signResponse\": true,\n \"nameIdentifierFormat\": \"nameIdentifierFormat\",\n \"nameIdentifierProbes\": [\n \"nameIdentifierProbes\"\n ],\n \"authnContextClassRef\": \"authnContextClassRef\"\n },\n \"layer\": {\n \"providerId\": \"providerId\",\n \"keyId\": \"keyId\",\n \"privateKey\": \"privateKey\",\n \"principal\": \"principal\",\n \"expiration\": 1\n },\n \"sap_api\": {\n \"clientid\": \"clientid\",\n \"usernameAttribute\": \"usernameAttribute\",\n \"tokenEndpointUrl\": \"tokenEndpointUrl\",\n \"scope\": \"scope\",\n \"servicePassword\": \"servicePassword\",\n \"nameIdentifierFormat\": \"nameIdentifierFormat\"\n },\n \"sharepoint\": {\n \"url\": \"url\",\n \"external_url\": [\n \"external_url\"\n ]\n },\n \"springcm\": {\n \"acsurl\": \"acsurl\"\n },\n \"wams\": {\n \"masterkey\": \"masterkey\"\n },\n \"wsfed\": {\n \"key\": \"value\"\n },\n \"zendesk\": {\n \"accountName\": \"accountName\"\n },\n \"zoom\": {\n \"account\": \"account\"\n },\n \"sso_integration\": {\n \"name\": \"name\",\n \"version\": \"version\"\n }\n },\n \"token_endpoint_auth_method\": \"none\",\n \"is_token_endpoint_ip_header_trusted\": true,\n \"client_metadata\": {\n \"key\": \"value\"\n },\n \"mobile\": {\n \"android\": {\n \"app_package_name\": \"app_package_name\",\n \"sha256_cert_fingerprints\": [\n \"sha256_cert_fingerprints\"\n ]\n },\n \"ios\": {\n \"team_id\": \"team_id\",\n \"app_bundle_identifier\": \"app_bundle_identifier\"\n }\n },\n \"initiate_login_uri\": \"initiate_login_uri\",\n \"refresh_token\": {\n \"rotation_type\": \"rotating\",\n \"expiration_type\": \"expiring\",\n \"leeway\": 1,\n \"token_lifetime\": 1,\n \"infinite_token_lifetime\": true,\n \"idle_token_lifetime\": 1,\n \"infinite_idle_token_lifetime\": true,\n \"policies\": [\n {\n \"audience\": \"audience\",\n \"scope\": [\n \"scope\"\n ]\n }\n ]\n },\n \"default_organization\": {\n \"organization_id\": \"organization_id\",\n \"flows\": [\n \"client_credentials\"\n ]\n },\n \"organization_usage\": \"deny\",\n \"organization_require_behavior\": \"no_prompt\",\n \"organization_discovery_methods\": [\n \"email\"\n ],\n \"client_authentication_methods\": {\n \"private_key_jwt\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"self_signed_tls_client_auth\": {\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n }\n },\n \"require_pushed_authorization_requests\": true,\n \"require_proof_of_possession\": true,\n \"signed_request_object\": {\n \"required\": true,\n \"credentials\": [\n {\n \"id\": \"id\"\n }\n ]\n },\n \"compliance_level\": \"none\",\n \"skip_non_verifiable_callback_uri_confirmation_prompt\": true,\n \"token_exchange\": {\n \"allow_any_profile_of_type\": [\n \"custom_authentication\"\n ]\n },\n \"par_request_expiry\": 1,\n \"token_quota\": {\n \"client_credentials\": {\n \"enforce\": true,\n \"per_day\": 1,\n \"per_hour\": 1\n }\n },\n \"express_configuration\": {\n \"initiate_login_uri_template\": \"initiate_login_uri_template\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"connection_profile_id\": \"connection_profile_id\",\n \"enable_client\": true,\n \"enable_organization\": true,\n \"linked_clients\": [\n {\n \"client_id\": \"client_id\"\n }\n ],\n \"okta_oin_client_id\": \"okta_oin_client_id\",\n \"admin_login_domain\": \"admin_login_domain\",\n \"oin_submission_id\": \"oin_submission_id\"\n },\n \"my_organization_configuration\": {\n \"connection_profile_id\": \"connection_profile_id\",\n \"user_attribute_profile_id\": \"user_attribute_profile_id\",\n \"allowed_strategies\": [\n \"pingfederate\"\n ],\n \"connection_deletion_behavior\": \"allow\"\n },\n \"third_party_security_mode\": \"strict\",\n \"redirection_policy\": \"allow_always\",\n \"resource_server_identifier\": \"resource_server_identifier\",\n \"async_approval_notification_channels\": [\n \"guardian-push\"\n ],\n \"external_metadata_type\": \"cimd\",\n \"external_metadata_created_by\": \"admin\",\n \"external_client_id\": \"external_client_id\",\n \"jwks_uri\": \"jwks_uri\"\n}", "headers": { "Content-Type": "application/json" } @@ -1827,6 +1827,41 @@ } } }, + { + "id": "396f02e3-b8ea-4947-982d-a5026bc0319f", + "name": "Subscribe to events via Server-Sent Events (SSE) - default", + "request": { + "urlPathTemplate": "/events", + "method": "GET", + "queryParameters": { + "from": { + "equalTo": "from" + }, + "from_timestamp": { + "equalTo": "from_timestamp" + } + } + }, + "response": { + "status": 200, + "body": "event: message\ndata: {\"offset\":\"offset\",\"event\":{\"specversion\":\"specversion\",\"type\":\"group.created\",\"source\":\"source\",\"id\":\"id\",\"time\":\"2024-01-15T09:30:00Z\",\"data\":{\"object\":{\"id\":\"id\",\"name\":\"name\",\"created_at\":\"2024-01-15T09:30:00Z\",\"type\":\"connection\",\"connection_id\":\"connection_id\"},\"context\":{\"tenant\":{\"tenant_id\":\"tenant_id\"}}},\"a0tenant\":\"a0tenant\",\"a0stream\":\"a0stream\",\"a0purpose\":\"test\"},\"type\":\"group.created\"}\n", + "headers": { + "Content-Type": "text/event-stream" + } + }, + "uuid": "396f02e3-b8ea-4947-982d-a5026bc0319f", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + }, + "postServeActions": [] + }, { "id": "9bee2213-71c4-41f8-9350-d50ede2f6c53", "name": "Get flows - default", @@ -2269,6 +2304,9 @@ "external_id": { "equalTo": "external_id" }, + "search": { + "equalTo": "search" + }, "fields": { "equalTo": "fields" }, @@ -3270,6 +3308,32 @@ }, "postServeActions": [] }, + { + "id": "65469ecb-a8c6-48b9-ab08-19befcf04503", + "name": "Revoke refresh tokens - default", + "request": { + "urlPathTemplate": "/refresh-tokens/revoke", + "method": "POST" + }, + "response": { + "status": 200, + "body": "\"\"", + "headers": { + "Content-Type": "application/json" + } + }, + "uuid": "65469ecb-a8c6-48b9-ab08-19befcf04503", + "persistent": true, + "priority": 3, + "metadata": { + "mocklab": { + "created": { + "at": "2020-01-01T00:00:00.000Z", + "via": "SYSTEM" + } + } + } + }, { "id": "6a045b19-b94d-495c-b30c-c1de79efc46f", "name": "Get a refresh token - default", @@ -3386,7 +3450,7 @@ }, "response": { "status": 200, - "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"resource_servers\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"alg\": \"RSA-OAEP-256\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true\n },\n \"client_id\": \"client_id\"\n }\n ]\n}", + "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"resource_servers\": [\n {\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"alg\": \"RSA-OAEP-256\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } @@ -3413,7 +3477,7 @@ }, "response": { "status": 201, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true,\n \"required_for\": \"public_clients\"\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n }\n },\n \"client_id\": \"client_id\"\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true,\n \"required_for\": \"public_clients\"\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n }\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\"\n}", "headers": { "Content-Type": "application/json" } @@ -3449,7 +3513,7 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true,\n \"required_for\": \"public_clients\"\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n }\n },\n \"client_id\": \"client_id\"\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true,\n \"required_for\": \"public_clients\"\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n }\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\"\n}", "headers": { "Content-Type": "application/json" } @@ -3511,7 +3575,7 @@ }, "response": { "status": 201, - "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true,\n \"required_for\": \"public_clients\"\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n }\n },\n \"client_id\": \"client_id\"\n}", + "body": "{\n \"id\": \"id\",\n \"name\": \"name\",\n \"is_system\": true,\n \"identifier\": \"identifier\",\n \"scopes\": [\n {\n \"value\": \"value\",\n \"description\": \"description\"\n }\n ],\n \"signing_alg\": \"HS256\",\n \"signing_secret\": \"signing_secret\",\n \"allow_offline_access\": true,\n \"allow_online_access\": true,\n \"allow_online_access_with_ephemeral_sessions\": true,\n \"skip_consent_for_verifiable_first_party_clients\": true,\n \"token_lifetime\": 1,\n \"token_lifetime_for_web\": 1,\n \"enforce_policies\": true,\n \"token_dialect\": \"access_token\",\n \"token_encryption\": {\n \"format\": \"compact-nested-jwe\",\n \"encryption_key\": {\n \"name\": \"name\",\n \"alg\": \"RSA-OAEP-256\",\n \"kid\": \"kid\",\n \"pem\": \"pem\"\n }\n },\n \"consent_policy\": \"transactional-authorization-with-mfa\",\n \"authorization_details\": [\n {\n \"key\": \"value\"\n }\n ],\n \"proof_of_possession\": {\n \"mechanism\": \"mtls\",\n \"required\": true,\n \"required_for\": \"public_clients\"\n },\n \"subject_type_authorization\": {\n \"user\": {\n \"policy\": \"allow_all\"\n },\n \"client\": {\n \"policy\": \"deny_all\"\n }\n },\n \"authorization_policy\": {\n \"policy_id\": \"policy_id\"\n },\n \"client_id\": \"client_id\"\n}", "headers": { "Content-Type": "application/json" } @@ -11577,8 +11641,8 @@ } }, { - "id": "47229b19-16ff-4ccd-8fd2-7f925b1743c4", - "name": "Create an SSO access ticket to initiate the Self Service SSO Flow - default", + "id": "7e182693-df12-4840-b9bc-73e1de098435", + "name": "Create an access ticket to initiate the Self-Service Enterprise Configuration flow - default", "request": { "urlPathTemplate": "/self-service-profiles/{id}/sso-ticket", "method": "POST", @@ -11595,7 +11659,7 @@ "Content-Type": "application/json" } }, - "uuid": "47229b19-16ff-4ccd-8fd2-7f925b1743c4", + "uuid": "7e182693-df12-4840-b9bc-73e1de098435", "persistent": true, "priority": 3, "metadata": { @@ -11608,8 +11672,8 @@ } }, { - "id": "e406adeb-54e0-4218-9e0c-edbfbf0a64bf", - "name": "Revoke an SSO access ticket - default", + "id": "aafed087-998d-432b-8617-d217875bf59b", + "name": "Revoke a Self-Service Enterprise Configuration access ticket - default", "request": { "urlPathTemplate": "/self-service-profiles/{profileId}/sso-ticket/{id}/revoke", "method": "POST", @@ -11629,7 +11693,7 @@ "Content-Type": "application/json" } }, - "uuid": "e406adeb-54e0-4218-9e0c-edbfbf0a64bf", + "uuid": "aafed087-998d-432b-8617-d217875bf59b", "persistent": true, "priority": 3, "metadata": { @@ -11727,7 +11791,7 @@ }, "response": { "status": 200, - "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"authenticators\": [\n {\n \"id\": \"id\",\n \"type\": \"recovery-code\",\n \"confirmed\": true,\n \"name\": \"name\",\n \"authentication_methods\": [\n {}\n ],\n \"preferred_authentication_method\": \"voice\",\n \"link_id\": \"link_id\",\n \"phone_number\": \"phone_number\",\n \"email\": \"email\",\n \"key_id\": \"key_id\",\n \"public_key\": \"public_key\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"enrolled_at\": \"2024-01-15T09:30:00Z\",\n \"last_auth_at\": \"2024-01-15T09:30:00Z\",\n \"credential_device_type\": \"credential_device_type\",\n \"credential_backed_up\": true,\n \"identity_user_id\": \"identity_user_id\",\n \"user_agent\": \"user_agent\",\n \"aaguid\": \"aaguid\",\n \"relying_party_identifier\": \"relying_party_identifier\"\n }\n ]\n}", + "body": "{\n \"start\": 1.1,\n \"limit\": 1.1,\n \"total\": 1.1,\n \"authenticators\": [\n {\n \"id\": \"id\",\n \"type\": \"recovery-code\",\n \"confirmed\": true,\n \"name\": \"name\",\n \"authentication_methods\": [\n {}\n ],\n \"preferred_authentication_method\": \"voice\",\n \"link_id\": \"link_id\",\n \"phone_number\": \"phone_number\",\n \"email\": \"email\",\n \"key_id\": \"key_id\",\n \"public_key\": \"public_key\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"enrolled_at\": \"2024-01-15T09:30:00Z\",\n \"last_auth_at\": \"2024-01-15T09:30:00Z\",\n \"credential_device_type\": \"credential_device_type\",\n \"credential_backed_up\": true,\n \"identity_user_id\": \"identity_user_id\",\n \"user_agent\": \"user_agent\",\n \"user_handle\": \"user_handle\",\n \"transports\": [\n \"transports\"\n ],\n \"aaguid\": \"aaguid\",\n \"relying_party_identifier\": \"relying_party_identifier\"\n }\n ]\n}", "headers": { "Content-Type": "application/json" } @@ -11758,7 +11822,7 @@ }, "response": { "status": 201, - "body": "{\n \"id\": \"id\",\n \"type\": \"phone\",\n \"name\": \"name\",\n \"totp_secret\": \"totp_secret\",\n \"phone_number\": \"phone_number\",\n \"email\": \"email\",\n \"authentication_methods\": [\n {\n \"type\": \"totp\",\n \"id\": \"id\"\n }\n ],\n \"preferred_authentication_method\": \"voice\",\n \"key_id\": \"key_id\",\n \"public_key\": \"public_key\",\n \"aaguid\": \"aaguid\",\n \"relying_party_identifier\": \"relying_party_identifier\",\n \"created_at\": \"2024-01-15T09:30:00Z\"\n}", + "body": "{\n \"id\": \"id\",\n \"type\": \"phone\",\n \"name\": \"name\",\n \"totp_secret\": \"totp_secret\",\n \"phone_number\": \"phone_number\",\n \"email\": \"email\",\n \"authentication_methods\": [\n {\n \"type\": \"totp\",\n \"id\": \"id\"\n }\n ],\n \"preferred_authentication_method\": \"voice\",\n \"key_id\": \"key_id\",\n \"public_key\": \"public_key\",\n \"aaguid\": \"aaguid\",\n \"relying_party_identifier\": \"relying_party_identifier\",\n \"credential_device_type\": \"single_device\",\n \"credential_backed_up\": true,\n \"identity_user_id\": \"identity_user_id\",\n \"user_agent\": \"user_agent\",\n \"user_handle\": \"user_handle\",\n \"transports\": [\n \"transports\"\n ],\n \"created_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } @@ -11854,7 +11918,7 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"type\": \"recovery-code\",\n \"confirmed\": true,\n \"name\": \"name\",\n \"authentication_methods\": [\n {\n \"type\": \"totp\",\n \"id\": \"id\"\n }\n ],\n \"preferred_authentication_method\": \"voice\",\n \"link_id\": \"link_id\",\n \"phone_number\": \"phone_number\",\n \"email\": \"email\",\n \"key_id\": \"key_id\",\n \"public_key\": \"public_key\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"enrolled_at\": \"2024-01-15T09:30:00Z\",\n \"last_auth_at\": \"2024-01-15T09:30:00Z\",\n \"credential_device_type\": \"credential_device_type\",\n \"credential_backed_up\": true,\n \"identity_user_id\": \"identity_user_id\",\n \"user_agent\": \"user_agent\",\n \"aaguid\": \"aaguid\",\n \"relying_party_identifier\": \"relying_party_identifier\"\n}", + "body": "{\n \"id\": \"id\",\n \"type\": \"recovery-code\",\n \"confirmed\": true,\n \"name\": \"name\",\n \"authentication_methods\": [\n {\n \"type\": \"totp\",\n \"id\": \"id\"\n }\n ],\n \"preferred_authentication_method\": \"voice\",\n \"link_id\": \"link_id\",\n \"phone_number\": \"phone_number\",\n \"email\": \"email\",\n \"key_id\": \"key_id\",\n \"public_key\": \"public_key\",\n \"created_at\": \"2024-01-15T09:30:00Z\",\n \"enrolled_at\": \"2024-01-15T09:30:00Z\",\n \"last_auth_at\": \"2024-01-15T09:30:00Z\",\n \"credential_device_type\": \"credential_device_type\",\n \"credential_backed_up\": true,\n \"identity_user_id\": \"identity_user_id\",\n \"user_agent\": \"user_agent\",\n \"user_handle\": \"user_handle\",\n \"transports\": [\n \"transports\"\n ],\n \"aaguid\": \"aaguid\",\n \"relying_party_identifier\": \"relying_party_identifier\"\n}", "headers": { "Content-Type": "application/json" } @@ -11922,7 +11986,7 @@ }, "response": { "status": 200, - "body": "{\n \"id\": \"id\",\n \"type\": \"phone\",\n \"name\": \"name\",\n \"totp_secret\": \"totp_secret\",\n \"phone_number\": \"phone_number\",\n \"email\": \"email\",\n \"authentication_methods\": [\n {\n \"type\": \"totp\",\n \"id\": \"id\"\n }\n ],\n \"preferred_authentication_method\": \"voice\",\n \"key_id\": \"key_id\",\n \"public_key\": \"public_key\",\n \"aaguid\": \"aaguid\",\n \"relying_party_identifier\": \"relying_party_identifier\",\n \"created_at\": \"2024-01-15T09:30:00Z\"\n}", + "body": "{\n \"id\": \"id\",\n \"type\": \"phone\",\n \"name\": \"name\",\n \"totp_secret\": \"totp_secret\",\n \"phone_number\": \"phone_number\",\n \"email\": \"email\",\n \"authentication_methods\": [\n {\n \"type\": \"totp\",\n \"id\": \"id\"\n }\n ],\n \"preferred_authentication_method\": \"voice\",\n \"key_id\": \"key_id\",\n \"public_key\": \"public_key\",\n \"aaguid\": \"aaguid\",\n \"relying_party_identifier\": \"relying_party_identifier\",\n \"confirmed\": true,\n \"created_at\": \"2024-01-15T09:30:00Z\"\n}", "headers": { "Content-Type": "application/json" } @@ -12750,8 +12814,8 @@ } }, { - "id": "7424dc01-51cd-4cc9-b47d-082a7931e487", - "name": "List verifiable credentials template for tenant. - default", + "id": "e370a2a2-5b39-4ba1-ac2b-4b5be9ef38f2", + "name": "List verifiable credential templates for a tenant. - default", "request": { "urlPathTemplate": "/verifiable-credentials/verification/templates", "method": "GET", @@ -12771,7 +12835,7 @@ "Content-Type": "application/json" } }, - "uuid": "7424dc01-51cd-4cc9-b47d-082a7931e487", + "uuid": "e370a2a2-5b39-4ba1-ac2b-4b5be9ef38f2", "persistent": true, "priority": 3, "metadata": { @@ -12905,6 +12969,6 @@ } ], "meta": { - "total": 404 + "total": 406 } } \ No newline at end of file