auth0 5.10.0 → 5.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/lib/retry.d.ts +7 -2
- package/dist/cjs/lib/retry.js +35 -5
- package/dist/cjs/management/BaseClient.d.ts +3 -0
- package/dist/cjs/management/BaseClient.js +15 -0
- package/dist/cjs/management/Client.d.ts +3 -0
- package/dist/cjs/management/Client.js +41 -36
- package/dist/cjs/management/api/requests/requests.d.ts +271 -2
- package/dist/cjs/management/api/resources/actions/client/Client.d.ts +1 -1
- package/dist/cjs/management/api/resources/actions/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/branding/resources/phone/resources/providers/client/Client.d.ts +6 -6
- package/dist/cjs/management/api/resources/branding/resources/phone/resources/providers/client/Client.js +6 -6
- package/dist/cjs/management/api/resources/branding/resources/templates/client/Client.d.ts +16 -16
- package/dist/cjs/management/api/resources/branding/resources/templates/client/Client.js +16 -16
- package/dist/cjs/management/api/resources/clientGrants/client/Client.d.ts +4 -4
- package/dist/cjs/management/api/resources/clientGrants/client/Client.js +4 -4
- package/dist/cjs/management/api/resources/clientGrants/resources/organizations/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/clientGrants/resources/organizations/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/clients/client/Client.d.ts +72 -80
- package/dist/cjs/management/api/resources/clients/client/Client.js +72 -80
- package/dist/cjs/management/api/resources/clients/resources/connections/client/Client.d.ts +4 -9
- package/dist/cjs/management/api/resources/clients/resources/connections/client/Client.js +4 -9
- package/dist/cjs/management/api/resources/clients/resources/credentials/client/Client.d.ts +38 -14
- package/dist/cjs/management/api/resources/clients/resources/credentials/client/Client.js +38 -14
- package/dist/cjs/management/api/resources/connectionProfiles/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/connectionProfiles/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/connections/client/Client.d.ts +17 -19
- package/dist/cjs/management/api/resources/connections/client/Client.js +17 -19
- package/dist/cjs/management/api/resources/connections/resources/clients/client/Client.d.ts +2 -2
- package/dist/cjs/management/api/resources/connections/resources/clients/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/client/Client.d.ts +4 -4
- package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/client/Client.js +4 -4
- package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.d.ts +2 -2
- package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/connections/resources/users/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/connections/resources/users/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/customDomains/client/Client.d.ts +20 -12
- package/dist/cjs/management/api/resources/customDomains/client/Client.js +22 -12
- package/dist/cjs/management/api/resources/deviceCredentials/client/Client.d.ts +3 -3
- package/dist/cjs/management/api/resources/deviceCredentials/client/Client.js +3 -3
- package/dist/cjs/management/api/resources/emails/resources/provider/client/Client.d.ts +50 -81
- package/dist/cjs/management/api/resources/emails/resources/provider/client/Client.js +50 -81
- package/dist/cjs/management/api/resources/groups/client/Client.d.ts +3 -0
- package/dist/cjs/management/api/resources/groups/client/Client.js +5 -0
- package/dist/cjs/management/api/resources/groups/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/groups/resources/index.js +2 -1
- package/dist/cjs/management/api/resources/groups/resources/members/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/groups/resources/members/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/groups/resources/roles/client/Client.d.ts +73 -0
- package/dist/cjs/management/api/resources/groups/resources/roles/client/Client.js +276 -0
- package/dist/cjs/management/api/resources/groups/resources/roles/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/groups/resources/roles/client/index.js +2 -0
- package/dist/cjs/management/api/resources/groups/resources/roles/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/groups/resources/roles/index.js +17 -0
- package/dist/cjs/management/api/resources/guardian/resources/enrollments/client/Client.d.ts +2 -5
- package/dist/cjs/management/api/resources/guardian/resources/enrollments/client/Client.js +2 -5
- package/dist/cjs/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.d.ts +3 -3
- package/dist/cjs/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.js +3 -3
- package/dist/cjs/management/api/resources/guardian/resources/policies/client/Client.d.ts +10 -12
- package/dist/cjs/management/api/resources/guardian/resources/policies/client/Client.js +10 -12
- package/dist/cjs/management/api/resources/hooks/client/Client.d.ts +2 -2
- package/dist/cjs/management/api/resources/hooks/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/index.js +2 -1
- package/dist/cjs/management/api/resources/jobs/resources/verificationEmail/client/Client.d.ts +1 -1
- package/dist/cjs/management/api/resources/jobs/resources/verificationEmail/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/logs/client/Client.d.ts +17 -20
- package/dist/cjs/management/api/resources/logs/client/Client.js +17 -20
- package/dist/cjs/management/api/resources/organizations/client/Client.d.ts +16 -13
- package/dist/cjs/management/api/resources/organizations/client/Client.js +26 -17
- package/dist/cjs/management/api/resources/organizations/resources/connections/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/connections/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.d.ts +1 -1
- package/dist/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/organizations/resources/enabledConnections/client/Client.d.ts +7 -2
- package/dist/cjs/management/api/resources/organizations/resources/enabledConnections/client/Client.js +17 -2
- package/dist/cjs/management/api/resources/organizations/resources/groups/client/Client.d.ts +36 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/client/Client.js +149 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/client/index.js +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/index.d.ts +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/index.js +18 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/resources/index.js +37 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/client/Client.d.ts +77 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/client/Client.js +282 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/client/index.js +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/index.js +17 -0
- package/dist/cjs/management/api/resources/organizations/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/index.js +2 -1
- package/dist/cjs/management/api/resources/organizations/resources/invitations/client/Client.d.ts +2 -2
- package/dist/cjs/management/api/resources/organizations/resources/invitations/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.d.ts +10 -12
- package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.js +16 -14
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.d.ts +37 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.js +150 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/index.js +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/index.d.ts +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/index.js +18 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/index.js +37 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/client/Client.d.ts +12 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/client/Client.js +16 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/client/index.js +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/index.d.ts +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/index.js +18 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.d.ts +35 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.js +147 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/index.js +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/index.js +17 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/index.js +37 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/index.js +2 -1
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/roles/client/Client.d.ts +3 -2
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/roles/client/Client.js +5 -2
- package/dist/cjs/management/api/resources/prompts/resources/rendering/client/Client.d.ts +2 -2
- package/dist/cjs/management/api/resources/prompts/resources/rendering/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/rateLimitPolicies/client/Client.d.ts +102 -0
- package/dist/cjs/management/api/resources/rateLimitPolicies/client/Client.js +397 -0
- package/dist/cjs/management/api/resources/rateLimitPolicies/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/rateLimitPolicies/client/index.js +2 -0
- package/dist/cjs/management/api/resources/rateLimitPolicies/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/rateLimitPolicies/index.js +17 -0
- package/dist/cjs/management/api/resources/refreshTokens/client/Client.d.ts +1 -1
- package/dist/cjs/management/api/resources/refreshTokens/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/roles/client/Client.d.ts +9 -6
- package/dist/cjs/management/api/resources/roles/client/Client.js +15 -10
- package/dist/cjs/management/api/resources/roles/resources/groups/client/Client.d.ts +73 -0
- package/dist/cjs/management/api/resources/roles/resources/groups/client/Client.js +276 -0
- package/dist/cjs/management/api/resources/roles/resources/groups/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/roles/resources/groups/client/index.js +2 -0
- package/dist/cjs/management/api/resources/roles/resources/groups/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/roles/resources/groups/index.js +17 -0
- package/dist/cjs/management/api/resources/roles/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/roles/resources/index.js +2 -1
- package/dist/cjs/management/api/resources/roles/resources/permissions/client/Client.d.ts +3 -2
- package/dist/cjs/management/api/resources/roles/resources/permissions/client/Client.js +5 -2
- package/dist/cjs/management/api/resources/roles/resources/users/client/Client.d.ts +11 -13
- package/dist/cjs/management/api/resources/roles/resources/users/client/Client.js +11 -13
- package/dist/cjs/management/api/resources/rules/client/Client.d.ts +4 -4
- package/dist/cjs/management/api/resources/rules/client/Client.js +4 -4
- package/dist/cjs/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/tokenExchangeProfiles/client/Client.d.ts +10 -12
- package/dist/cjs/management/api/resources/tokenExchangeProfiles/client/Client.js +12 -12
- package/dist/cjs/management/api/resources/userAttributeProfiles/client/Client.d.ts +2 -1
- package/dist/cjs/management/api/resources/userAttributeProfiles/client/Client.js +4 -1
- package/dist/cjs/management/api/resources/userBlocks/client/Client.d.ts +6 -6
- package/dist/cjs/management/api/resources/userBlocks/client/Client.js +6 -6
- package/dist/cjs/management/api/resources/userGrants/client/Client.d.ts +1 -1
- package/dist/cjs/management/api/resources/userGrants/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/users/client/Client.d.ts +82 -51
- package/dist/cjs/management/api/resources/users/client/Client.js +110 -75
- package/dist/cjs/management/api/resources/users/resources/authenticators/client/Client.d.ts +1 -1
- package/dist/cjs/management/api/resources/users/resources/authenticators/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/client/Client.d.ts +37 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/client/Client.js +151 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/client/index.js +2 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/index.d.ts +2 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/index.js +18 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/index.js +37 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/client/Client.d.ts +12 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/client/Client.js +16 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/client/index.js +2 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/index.d.ts +2 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/index.js +18 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/index.js +37 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/Client.d.ts +35 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/Client.js +148 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/index.js +2 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/index.js +17 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/client/Client.d.ts +36 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/client/Client.js +149 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/client/index.js +2 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/index.d.ts +2 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/index.js +18 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/index.js +37 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/client/Client.d.ts +12 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/client/Client.js +16 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/client/index.js +2 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/index.d.ts +2 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/index.js +18 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.d.ts +34 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.js +146 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/index.js +2 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/index.js +17 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/index.js +37 -0
- package/dist/cjs/management/api/resources/users/resources/enrollments/client/Client.d.ts +1 -1
- package/dist/cjs/management/api/resources/users/resources/enrollments/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/users/resources/groups/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/groups/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/users/resources/identities/client/Client.d.ts +26 -25
- package/dist/cjs/management/api/resources/users/resources/identities/client/Client.js +26 -25
- package/dist/cjs/management/api/resources/users/resources/index.d.ts +2 -0
- package/dist/cjs/management/api/resources/users/resources/index.js +3 -1
- package/dist/cjs/management/api/resources/users/resources/multifactor/client/Client.d.ts +2 -2
- package/dist/cjs/management/api/resources/users/resources/multifactor/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/users/resources/organizations/client/Client.d.ts +2 -1
- package/dist/cjs/management/api/resources/users/resources/organizations/client/Client.js +4 -1
- package/dist/cjs/management/api/resources/users/resources/permissions/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/users/resources/permissions/client/Client.js +6 -0
- package/dist/cjs/management/api/resources/users/resources/roles/client/Client.d.ts +6 -4
- package/dist/cjs/management/api/resources/users/resources/roles/client/Client.js +10 -4
- package/dist/cjs/management/api/types/types.d.ts +543 -128
- package/dist/cjs/management/api/types/types.js +120 -46
- package/dist/cjs/management/core/auth/AuthProvider.d.ts +1 -0
- package/dist/cjs/management/core/auth/AuthProvider.js +7 -0
- package/dist/cjs/management/core/auth/index.d.ts +1 -1
- package/dist/cjs/management/core/auth/index.js +3 -1
- package/dist/cjs/management/core/fetcher/requestWithRetries.js +4 -1
- package/dist/cjs/management/version.d.ts +1 -1
- package/dist/cjs/management/version.js +1 -1
- package/dist/esm/lib/retry.d.mts +7 -2
- package/dist/esm/lib/retry.mjs +35 -5
- package/dist/esm/management/BaseClient.d.mts +3 -0
- package/dist/esm/management/BaseClient.mjs +15 -0
- package/dist/esm/management/Client.d.mts +3 -0
- package/dist/esm/management/Client.mjs +5 -0
- package/dist/esm/management/api/requests/requests.d.mts +271 -2
- package/dist/esm/management/api/resources/actions/client/Client.d.mts +1 -1
- package/dist/esm/management/api/resources/actions/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/branding/resources/phone/resources/providers/client/Client.d.mts +6 -6
- package/dist/esm/management/api/resources/branding/resources/phone/resources/providers/client/Client.mjs +6 -6
- package/dist/esm/management/api/resources/branding/resources/templates/client/Client.d.mts +16 -16
- package/dist/esm/management/api/resources/branding/resources/templates/client/Client.mjs +16 -16
- package/dist/esm/management/api/resources/clientGrants/client/Client.d.mts +4 -4
- package/dist/esm/management/api/resources/clientGrants/client/Client.mjs +4 -4
- package/dist/esm/management/api/resources/clientGrants/resources/organizations/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/clientGrants/resources/organizations/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/clients/client/Client.d.mts +72 -80
- package/dist/esm/management/api/resources/clients/client/Client.mjs +72 -80
- package/dist/esm/management/api/resources/clients/resources/connections/client/Client.d.mts +4 -9
- package/dist/esm/management/api/resources/clients/resources/connections/client/Client.mjs +4 -9
- package/dist/esm/management/api/resources/clients/resources/credentials/client/Client.d.mts +38 -14
- package/dist/esm/management/api/resources/clients/resources/credentials/client/Client.mjs +38 -14
- package/dist/esm/management/api/resources/connectionProfiles/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/connectionProfiles/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/connections/client/Client.d.mts +17 -19
- package/dist/esm/management/api/resources/connections/client/Client.mjs +17 -19
- package/dist/esm/management/api/resources/connections/resources/clients/client/Client.d.mts +2 -2
- package/dist/esm/management/api/resources/connections/resources/clients/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/connections/resources/scimConfiguration/client/Client.d.mts +4 -4
- package/dist/esm/management/api/resources/connections/resources/scimConfiguration/client/Client.mjs +4 -4
- package/dist/esm/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.d.mts +2 -2
- package/dist/esm/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/connections/resources/users/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/connections/resources/users/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/customDomains/client/Client.d.mts +20 -12
- package/dist/esm/management/api/resources/customDomains/client/Client.mjs +22 -12
- package/dist/esm/management/api/resources/deviceCredentials/client/Client.d.mts +3 -3
- package/dist/esm/management/api/resources/deviceCredentials/client/Client.mjs +3 -3
- package/dist/esm/management/api/resources/emails/resources/provider/client/Client.d.mts +50 -81
- package/dist/esm/management/api/resources/emails/resources/provider/client/Client.mjs +50 -81
- package/dist/esm/management/api/resources/groups/client/Client.d.mts +3 -0
- package/dist/esm/management/api/resources/groups/client/Client.mjs +5 -0
- package/dist/esm/management/api/resources/groups/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/groups/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/groups/resources/members/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/groups/resources/members/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/groups/resources/roles/client/Client.d.mts +73 -0
- package/dist/esm/management/api/resources/groups/resources/roles/client/Client.mjs +239 -0
- package/dist/esm/management/api/resources/groups/resources/roles/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/groups/resources/roles/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/groups/resources/roles/index.d.mts +1 -0
- package/dist/esm/management/api/resources/groups/resources/roles/index.mjs +1 -0
- package/dist/esm/management/api/resources/guardian/resources/enrollments/client/Client.d.mts +2 -5
- package/dist/esm/management/api/resources/guardian/resources/enrollments/client/Client.mjs +2 -5
- package/dist/esm/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.d.mts +3 -3
- package/dist/esm/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.mjs +3 -3
- package/dist/esm/management/api/resources/guardian/resources/policies/client/Client.d.mts +10 -12
- package/dist/esm/management/api/resources/guardian/resources/policies/client/Client.mjs +10 -12
- package/dist/esm/management/api/resources/hooks/client/Client.d.mts +2 -2
- package/dist/esm/management/api/resources/hooks/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/jobs/resources/verificationEmail/client/Client.d.mts +1 -1
- package/dist/esm/management/api/resources/jobs/resources/verificationEmail/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/logs/client/Client.d.mts +17 -20
- package/dist/esm/management/api/resources/logs/client/Client.mjs +17 -20
- package/dist/esm/management/api/resources/organizations/client/Client.d.mts +16 -13
- package/dist/esm/management/api/resources/organizations/client/Client.mjs +22 -13
- package/dist/esm/management/api/resources/organizations/resources/connections/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/connections/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.d.mts +1 -1
- package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/organizations/resources/enabledConnections/client/Client.d.mts +7 -2
- package/dist/esm/management/api/resources/organizations/resources/enabledConnections/client/Client.mjs +17 -2
- package/dist/esm/management/api/resources/organizations/resources/groups/client/Client.d.mts +36 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/client/Client.mjs +112 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/index.d.mts +2 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/index.mjs +2 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/resources/roles/client/Client.d.mts +77 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/resources/roles/client/Client.mjs +245 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/resources/roles/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/resources/roles/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/resources/roles/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/resources/roles/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/invitations/client/Client.d.mts +2 -2
- package/dist/esm/management/api/resources/organizations/resources/invitations/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/organizations/resources/members/client/Client.d.mts +10 -12
- package/dist/esm/management/api/resources/organizations/resources/members/client/Client.mjs +14 -12
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.d.mts +37 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.mjs +113 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/index.d.mts +2 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/index.mjs +2 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/client/Client.d.mts +12 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/client/Client.mjs +12 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/index.d.mts +2 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/index.mjs +2 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.d.mts +35 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.mjs +110 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/roles/client/Client.d.mts +3 -2
- package/dist/esm/management/api/resources/organizations/resources/members/resources/roles/client/Client.mjs +5 -2
- package/dist/esm/management/api/resources/prompts/resources/rendering/client/Client.d.mts +2 -2
- package/dist/esm/management/api/resources/prompts/resources/rendering/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/rateLimitPolicies/client/Client.d.mts +102 -0
- package/dist/esm/management/api/resources/rateLimitPolicies/client/Client.mjs +360 -0
- package/dist/esm/management/api/resources/rateLimitPolicies/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/rateLimitPolicies/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/rateLimitPolicies/index.d.mts +1 -0
- package/dist/esm/management/api/resources/rateLimitPolicies/index.mjs +1 -0
- package/dist/esm/management/api/resources/refreshTokens/client/Client.d.mts +1 -1
- package/dist/esm/management/api/resources/refreshTokens/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/roles/client/Client.d.mts +9 -6
- package/dist/esm/management/api/resources/roles/client/Client.mjs +11 -6
- package/dist/esm/management/api/resources/roles/resources/groups/client/Client.d.mts +73 -0
- package/dist/esm/management/api/resources/roles/resources/groups/client/Client.mjs +239 -0
- package/dist/esm/management/api/resources/roles/resources/groups/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/roles/resources/groups/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/roles/resources/groups/index.d.mts +1 -0
- package/dist/esm/management/api/resources/roles/resources/groups/index.mjs +1 -0
- package/dist/esm/management/api/resources/roles/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/roles/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/roles/resources/permissions/client/Client.d.mts +3 -2
- package/dist/esm/management/api/resources/roles/resources/permissions/client/Client.mjs +5 -2
- package/dist/esm/management/api/resources/roles/resources/users/client/Client.d.mts +11 -13
- package/dist/esm/management/api/resources/roles/resources/users/client/Client.mjs +11 -13
- package/dist/esm/management/api/resources/rules/client/Client.d.mts +4 -4
- package/dist/esm/management/api/resources/rules/client/Client.mjs +4 -4
- package/dist/esm/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/tokenExchangeProfiles/client/Client.d.mts +10 -12
- package/dist/esm/management/api/resources/tokenExchangeProfiles/client/Client.mjs +12 -12
- package/dist/esm/management/api/resources/userAttributeProfiles/client/Client.d.mts +2 -1
- package/dist/esm/management/api/resources/userAttributeProfiles/client/Client.mjs +4 -1
- package/dist/esm/management/api/resources/userBlocks/client/Client.d.mts +6 -6
- package/dist/esm/management/api/resources/userBlocks/client/Client.mjs +6 -6
- package/dist/esm/management/api/resources/userGrants/client/Client.d.mts +1 -1
- package/dist/esm/management/api/resources/userGrants/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/users/client/Client.d.mts +82 -51
- package/dist/esm/management/api/resources/users/client/Client.mjs +86 -51
- package/dist/esm/management/api/resources/users/resources/authenticators/client/Client.d.mts +1 -1
- package/dist/esm/management/api/resources/users/resources/authenticators/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/client/Client.d.mts +37 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/client/Client.mjs +114 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/index.d.mts +2 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/index.mjs +2 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/client/Client.d.mts +12 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/client/Client.mjs +12 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/index.d.mts +2 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/index.mjs +2 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/Client.d.mts +35 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/Client.mjs +111 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/client/Client.d.mts +36 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/client/Client.mjs +112 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/index.d.mts +2 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/index.mjs +2 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/client/Client.d.mts +12 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/client/Client.mjs +12 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/index.d.mts +2 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/index.mjs +2 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.d.mts +34 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.mjs +109 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/enrollments/client/Client.d.mts +1 -1
- package/dist/esm/management/api/resources/users/resources/enrollments/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/users/resources/groups/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/groups/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/users/resources/identities/client/Client.d.mts +26 -25
- package/dist/esm/management/api/resources/users/resources/identities/client/Client.mjs +26 -25
- package/dist/esm/management/api/resources/users/resources/index.d.mts +2 -0
- package/dist/esm/management/api/resources/users/resources/index.mjs +2 -0
- package/dist/esm/management/api/resources/users/resources/multifactor/client/Client.d.mts +2 -2
- package/dist/esm/management/api/resources/users/resources/multifactor/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/users/resources/organizations/client/Client.d.mts +2 -1
- package/dist/esm/management/api/resources/users/resources/organizations/client/Client.mjs +4 -1
- package/dist/esm/management/api/resources/users/resources/permissions/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/users/resources/permissions/client/Client.mjs +6 -0
- package/dist/esm/management/api/resources/users/resources/roles/client/Client.d.mts +6 -4
- package/dist/esm/management/api/resources/users/resources/roles/client/Client.mjs +10 -4
- package/dist/esm/management/api/types/types.d.mts +543 -128
- package/dist/esm/management/api/types/types.mjs +107 -33
- package/dist/esm/management/core/auth/AuthProvider.d.mts +1 -0
- package/dist/esm/management/core/auth/AuthProvider.mjs +6 -1
- package/dist/esm/management/core/auth/index.d.mts +1 -1
- package/dist/esm/management/core/auth/index.mjs +1 -0
- package/dist/esm/management/core/fetcher/requestWithRetries.mjs +4 -1
- package/dist/esm/management/version.d.mts +1 -1
- package/dist/esm/management/version.mjs +1 -1
- package/package.json +3 -3
- package/reference.md +3500 -1842
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient.mjs";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.mjs";
|
|
3
|
+
import * as core from "../../../../../../core/index.mjs";
|
|
4
|
+
import * as Management from "../../../../../index.mjs";
|
|
5
|
+
export declare namespace RolesClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class RolesClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<RolesClient.Options>;
|
|
12
|
+
constructor(options: RolesClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* Lists the [roles](https://auth0.com/docs/manage-users/access-control/rbac) assigned to a group.
|
|
15
|
+
*
|
|
16
|
+
* @param {string} id - Unique identifier for the group (service-generated).
|
|
17
|
+
* @param {Management.ListGroupRolesRequestParameters} request
|
|
18
|
+
* @param {RolesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
19
|
+
*
|
|
20
|
+
* @throws {@link Management.BadRequestError}
|
|
21
|
+
* @throws {@link Management.UnauthorizedError}
|
|
22
|
+
* @throws {@link Management.ForbiddenError}
|
|
23
|
+
* @throws {@link Management.NotFoundError}
|
|
24
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* await client.groups.roles.list("id", {
|
|
28
|
+
* from: "from",
|
|
29
|
+
* take: 1
|
|
30
|
+
* })
|
|
31
|
+
*/
|
|
32
|
+
list(id: string, request?: Management.ListGroupRolesRequestParameters, requestOptions?: RolesClient.RequestOptions): Promise<core.Page<Management.Role, Management.ListGroupRolesResponseContent>>;
|
|
33
|
+
/**
|
|
34
|
+
* Assign one or more [roles](https://auth0.com/docs/manage-users/access-control/rbac) to a specified group.
|
|
35
|
+
*
|
|
36
|
+
* @param {string} id - Unique identifier for the group (service-generated).
|
|
37
|
+
* @param {Management.CreateGroupRolesRequestParameters} request
|
|
38
|
+
* @param {RolesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link Management.BadRequestError}
|
|
41
|
+
* @throws {@link Management.UnauthorizedError}
|
|
42
|
+
* @throws {@link Management.ForbiddenError}
|
|
43
|
+
* @throws {@link Management.NotFoundError}
|
|
44
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* await client.groups.roles.create("id", {
|
|
48
|
+
* roles: ["roles"]
|
|
49
|
+
* })
|
|
50
|
+
*/
|
|
51
|
+
create(id: string, request: Management.CreateGroupRolesRequestParameters, requestOptions?: RolesClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
52
|
+
private __create;
|
|
53
|
+
/**
|
|
54
|
+
* Unassign one or more [roles](https://auth0.com/docs/manage-users/access-control/rbac) from a specified group.
|
|
55
|
+
*
|
|
56
|
+
* @param {string} id - Unique identifier for the group (service-generated).
|
|
57
|
+
* @param {Management.DeleteGroupRolesRequestContent} request
|
|
58
|
+
* @param {RolesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link Management.BadRequestError}
|
|
61
|
+
* @throws {@link Management.UnauthorizedError}
|
|
62
|
+
* @throws {@link Management.ForbiddenError}
|
|
63
|
+
* @throws {@link Management.NotFoundError}
|
|
64
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* await client.groups.roles.delete("id", {
|
|
68
|
+
* roles: ["roles"]
|
|
69
|
+
* })
|
|
70
|
+
*/
|
|
71
|
+
delete(id: string, request: Management.DeleteGroupRolesRequestContent, requestOptions?: RolesClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
72
|
+
private __delete;
|
|
73
|
+
}
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
import { normalizeClientOptionsWithAuth } from "../../../../../../BaseClient.mjs";
|
|
12
|
+
import * as core from "../../../../../../core/index.mjs";
|
|
13
|
+
import { mergeHeaders } from "../../../../../../core/headers.mjs";
|
|
14
|
+
import * as environments from "../../../../../../environments.mjs";
|
|
15
|
+
import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError.mjs";
|
|
16
|
+
import * as errors from "../../../../../../errors/index.mjs";
|
|
17
|
+
import * as Management from "../../../../../index.mjs";
|
|
18
|
+
export class RolesClient {
|
|
19
|
+
constructor(options) {
|
|
20
|
+
this._options = normalizeClientOptionsWithAuth(options);
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Lists the [roles](https://auth0.com/docs/manage-users/access-control/rbac) assigned to a group.
|
|
24
|
+
*
|
|
25
|
+
* @param {string} id - Unique identifier for the group (service-generated).
|
|
26
|
+
* @param {Management.ListGroupRolesRequestParameters} request
|
|
27
|
+
* @param {RolesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
28
|
+
*
|
|
29
|
+
* @throws {@link Management.BadRequestError}
|
|
30
|
+
* @throws {@link Management.UnauthorizedError}
|
|
31
|
+
* @throws {@link Management.ForbiddenError}
|
|
32
|
+
* @throws {@link Management.NotFoundError}
|
|
33
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* await client.groups.roles.list("id", {
|
|
37
|
+
* from: "from",
|
|
38
|
+
* take: 1
|
|
39
|
+
* })
|
|
40
|
+
*/
|
|
41
|
+
list(id_1) {
|
|
42
|
+
return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
|
|
43
|
+
const list = core.HttpResponsePromise.interceptFunction((request) => __awaiter(this, void 0, void 0, function* () {
|
|
44
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
45
|
+
const { from: from_, take = 50 } = request;
|
|
46
|
+
const _queryParams = {
|
|
47
|
+
from: from_,
|
|
48
|
+
take,
|
|
49
|
+
};
|
|
50
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
51
|
+
let _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
52
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
53
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `groups/${core.url.encodePathParam(id)}/roles`),
|
|
54
|
+
method: "GET",
|
|
55
|
+
headers: _headers,
|
|
56
|
+
queryString: core.url
|
|
57
|
+
.queryBuilder()
|
|
58
|
+
.addMany(_queryParams)
|
|
59
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
60
|
+
.build(),
|
|
61
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
62
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
63
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
64
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
65
|
+
logging: this._options.logging,
|
|
66
|
+
});
|
|
67
|
+
if (_response.ok) {
|
|
68
|
+
return {
|
|
69
|
+
data: _response.body,
|
|
70
|
+
rawResponse: _response.rawResponse,
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
if (_response.error.reason === "status-code") {
|
|
74
|
+
switch (_response.error.statusCode) {
|
|
75
|
+
case 400:
|
|
76
|
+
throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
|
|
77
|
+
case 401:
|
|
78
|
+
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
79
|
+
case 403:
|
|
80
|
+
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
81
|
+
case 404:
|
|
82
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
83
|
+
case 429:
|
|
84
|
+
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
85
|
+
default:
|
|
86
|
+
throw new errors.ManagementError({
|
|
87
|
+
statusCode: _response.error.statusCode,
|
|
88
|
+
body: _response.error.body,
|
|
89
|
+
rawResponse: _response.rawResponse,
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/groups/{id}/roles");
|
|
94
|
+
}));
|
|
95
|
+
const dataWithRawResponse = yield list(request).withRawResponse();
|
|
96
|
+
return new core.Page({
|
|
97
|
+
response: dataWithRawResponse.data,
|
|
98
|
+
rawResponse: dataWithRawResponse.rawResponse,
|
|
99
|
+
hasNextPage: (response) => (response === null || response === void 0 ? void 0 : response.next) != null && !(typeof (response === null || response === void 0 ? void 0 : response.next) === "string" && (response === null || response === void 0 ? void 0 : response.next) === ""),
|
|
100
|
+
getItems: (response) => { var _a; return (_a = response === null || response === void 0 ? void 0 : response.roles) !== null && _a !== void 0 ? _a : []; },
|
|
101
|
+
loadPage: (response) => {
|
|
102
|
+
return list(core.setObjectProperty(request, "from", response === null || response === void 0 ? void 0 : response.next));
|
|
103
|
+
},
|
|
104
|
+
});
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Assign one or more [roles](https://auth0.com/docs/manage-users/access-control/rbac) to a specified group.
|
|
109
|
+
*
|
|
110
|
+
* @param {string} id - Unique identifier for the group (service-generated).
|
|
111
|
+
* @param {Management.CreateGroupRolesRequestParameters} request
|
|
112
|
+
* @param {RolesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link Management.BadRequestError}
|
|
115
|
+
* @throws {@link Management.UnauthorizedError}
|
|
116
|
+
* @throws {@link Management.ForbiddenError}
|
|
117
|
+
* @throws {@link Management.NotFoundError}
|
|
118
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* await client.groups.roles.create("id", {
|
|
122
|
+
* roles: ["roles"]
|
|
123
|
+
* })
|
|
124
|
+
*/
|
|
125
|
+
create(id, request, requestOptions) {
|
|
126
|
+
return core.HttpResponsePromise.fromPromise(this.__create(id, request, requestOptions));
|
|
127
|
+
}
|
|
128
|
+
__create(id, request, requestOptions) {
|
|
129
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
130
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
131
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
132
|
+
let _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
133
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
134
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `groups/${core.url.encodePathParam(id)}/roles`),
|
|
135
|
+
method: "POST",
|
|
136
|
+
headers: _headers,
|
|
137
|
+
contentType: "application/json",
|
|
138
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
139
|
+
requestType: "json",
|
|
140
|
+
body: request,
|
|
141
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
142
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
143
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
144
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
145
|
+
logging: this._options.logging,
|
|
146
|
+
});
|
|
147
|
+
if (_response.ok) {
|
|
148
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
149
|
+
}
|
|
150
|
+
if (_response.error.reason === "status-code") {
|
|
151
|
+
switch (_response.error.statusCode) {
|
|
152
|
+
case 400:
|
|
153
|
+
throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
|
|
154
|
+
case 401:
|
|
155
|
+
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
156
|
+
case 403:
|
|
157
|
+
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
158
|
+
case 404:
|
|
159
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
160
|
+
case 429:
|
|
161
|
+
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
162
|
+
default:
|
|
163
|
+
throw new errors.ManagementError({
|
|
164
|
+
statusCode: _response.error.statusCode,
|
|
165
|
+
body: _response.error.body,
|
|
166
|
+
rawResponse: _response.rawResponse,
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/groups/{id}/roles");
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* Unassign one or more [roles](https://auth0.com/docs/manage-users/access-control/rbac) from a specified group.
|
|
175
|
+
*
|
|
176
|
+
* @param {string} id - Unique identifier for the group (service-generated).
|
|
177
|
+
* @param {Management.DeleteGroupRolesRequestContent} request
|
|
178
|
+
* @param {RolesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
179
|
+
*
|
|
180
|
+
* @throws {@link Management.BadRequestError}
|
|
181
|
+
* @throws {@link Management.UnauthorizedError}
|
|
182
|
+
* @throws {@link Management.ForbiddenError}
|
|
183
|
+
* @throws {@link Management.NotFoundError}
|
|
184
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
185
|
+
*
|
|
186
|
+
* @example
|
|
187
|
+
* await client.groups.roles.delete("id", {
|
|
188
|
+
* roles: ["roles"]
|
|
189
|
+
* })
|
|
190
|
+
*/
|
|
191
|
+
delete(id, request, requestOptions) {
|
|
192
|
+
return core.HttpResponsePromise.fromPromise(this.__delete(id, request, requestOptions));
|
|
193
|
+
}
|
|
194
|
+
__delete(id, request, requestOptions) {
|
|
195
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
196
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
197
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
198
|
+
let _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
199
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
200
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `groups/${core.url.encodePathParam(id)}/roles`),
|
|
201
|
+
method: "DELETE",
|
|
202
|
+
headers: _headers,
|
|
203
|
+
contentType: "application/json",
|
|
204
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
205
|
+
requestType: "json",
|
|
206
|
+
body: request,
|
|
207
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
208
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
209
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
210
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
211
|
+
logging: this._options.logging,
|
|
212
|
+
});
|
|
213
|
+
if (_response.ok) {
|
|
214
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
215
|
+
}
|
|
216
|
+
if (_response.error.reason === "status-code") {
|
|
217
|
+
switch (_response.error.statusCode) {
|
|
218
|
+
case 400:
|
|
219
|
+
throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
|
|
220
|
+
case 401:
|
|
221
|
+
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
222
|
+
case 403:
|
|
223
|
+
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
224
|
+
case 404:
|
|
225
|
+
throw new Management.NotFoundError(_response.error.body, _response.rawResponse);
|
|
226
|
+
case 429:
|
|
227
|
+
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
228
|
+
default:
|
|
229
|
+
throw new errors.ManagementError({
|
|
230
|
+
statusCode: _response.error.statusCode,
|
|
231
|
+
body: _response.error.body,
|
|
232
|
+
rawResponse: _response.rawResponse,
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "DELETE", "/groups/{id}/roles");
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
package/dist/esm/management/api/resources/guardian/resources/enrollments/client/Client.d.mts
CHANGED
|
@@ -11,10 +11,7 @@ export declare class EnrollmentsClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptionsWithAuth<EnrollmentsClient.Options>;
|
|
12
12
|
constructor(options: EnrollmentsClient.Options);
|
|
13
13
|
/**
|
|
14
|
-
* Create a
|
|
15
|
-
* Create a <a href="https://auth0.com/docs/secure/multi-factor-authentication/auth0-guardian/create-custom-enrollment-tickets">multi-factor authentication (MFA) enrollment ticket</a>, and optionally send an email with the created ticket to a given user. Enrollment tickets can specify which factor users must enroll with or allow existing MFA users to enroll in additional factors.<br/>
|
|
16
|
-
*
|
|
17
|
-
* Note: Users cannot enroll in Email as a factor through custom enrollment tickets.
|
|
14
|
+
* Create a [multi-factor authentication (MFA) enrollment ticket](https://auth0.com/docs/secure/multi-factor-authentication/auth0-guardian/create-custom-enrollment-tickets), and optionally send an email with the created ticket to a given user. Enrollment tickets can specify which factor users must enroll with or allow existing MFA users to enroll in additional factors.
|
|
18
15
|
*
|
|
19
16
|
* @param {Management.CreateGuardianEnrollmentTicketRequestContent} request
|
|
20
17
|
* @param {EnrollmentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -47,7 +44,7 @@ export declare class EnrollmentsClient {
|
|
|
47
44
|
get(id: string, requestOptions?: EnrollmentsClient.RequestOptions): core.HttpResponsePromise<Management.GetGuardianEnrollmentResponseContent>;
|
|
48
45
|
private __get;
|
|
49
46
|
/**
|
|
50
|
-
* Remove a specific multi-factor authentication (MFA) enrollment from a user's account. This allows the user to re-enroll with MFA. For more information, review
|
|
47
|
+
* Remove a specific multi-factor authentication (MFA) enrollment from a user's account. This allows the user to re-enroll with MFA. For more information, review [Reset User Multi-Factor Authentication and Recovery Codes](https://auth0.com/docs/secure/multi-factor-authentication/reset-user-mfa).
|
|
51
48
|
*
|
|
52
49
|
* @param {string} id - ID of the enrollment to be deleted.
|
|
53
50
|
* @param {EnrollmentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -20,10 +20,7 @@ export class EnrollmentsClient {
|
|
|
20
20
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Create a
|
|
24
|
-
* Create a <a href="https://auth0.com/docs/secure/multi-factor-authentication/auth0-guardian/create-custom-enrollment-tickets">multi-factor authentication (MFA) enrollment ticket</a>, and optionally send an email with the created ticket to a given user. Enrollment tickets can specify which factor users must enroll with or allow existing MFA users to enroll in additional factors.<br/>
|
|
25
|
-
*
|
|
26
|
-
* Note: Users cannot enroll in Email as a factor through custom enrollment tickets.
|
|
23
|
+
* Create a [multi-factor authentication (MFA) enrollment ticket](https://auth0.com/docs/secure/multi-factor-authentication/auth0-guardian/create-custom-enrollment-tickets), and optionally send an email with the created ticket to a given user. Enrollment tickets can specify which factor users must enroll with or allow existing MFA users to enroll in additional factors.
|
|
27
24
|
*
|
|
28
25
|
* @param {Management.CreateGuardianEnrollmentTicketRequestContent} request
|
|
29
26
|
* @param {EnrollmentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -145,7 +142,7 @@ export class EnrollmentsClient {
|
|
|
145
142
|
});
|
|
146
143
|
}
|
|
147
144
|
/**
|
|
148
|
-
* Remove a specific multi-factor authentication (MFA) enrollment from a user's account. This allows the user to re-enroll with MFA. For more information, review
|
|
145
|
+
* Remove a specific multi-factor authentication (MFA) enrollment from a user's account. This allows the user to re-enroll with MFA. For more information, review [Reset User Multi-Factor Authentication and Recovery Codes](https://auth0.com/docs/secure/multi-factor-authentication/reset-user-mfa).
|
|
149
146
|
*
|
|
150
147
|
* @param {string} id - ID of the enrollment to be deleted.
|
|
151
148
|
* @param {EnrollmentsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -115,7 +115,7 @@ export declare class PushNotificationClient {
|
|
|
115
115
|
updateFcmv1Provider(request?: Management.UpdateGuardianFactorsProviderPushNotificationFcmv1RequestContent, requestOptions?: PushNotificationClient.RequestOptions): core.HttpResponsePromise<Management.UpdateGuardianFactorsProviderPushNotificationFcmv1ResponseContent>;
|
|
116
116
|
private __updateFcmv1Provider;
|
|
117
117
|
/**
|
|
118
|
-
* Retrieve configuration details for an AWS SNS push notification provider that has been enabled for MFA. To learn more, review
|
|
118
|
+
* Retrieve configuration details for an AWS SNS push notification provider that has been enabled for MFA. To learn more, review [Configure Push Notifications for MFA](https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors/configure-push-notifications-for-mfa).
|
|
119
119
|
*
|
|
120
120
|
* @param {PushNotificationClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
121
121
|
*
|
|
@@ -129,7 +129,7 @@ export declare class PushNotificationClient {
|
|
|
129
129
|
getSnsProvider(requestOptions?: PushNotificationClient.RequestOptions): core.HttpResponsePromise<Management.GetGuardianFactorsProviderSnsResponseContent>;
|
|
130
130
|
private __getSnsProvider;
|
|
131
131
|
/**
|
|
132
|
-
* Configure the
|
|
132
|
+
* Configure the [AWS SNS push notification provider configuration](https://auth0.com/docs/multifactor-authentication/developer/sns-configuration) (subscription required).
|
|
133
133
|
*
|
|
134
134
|
* @param {Management.SetGuardianFactorsProviderPushNotificationSnsRequestContent} request
|
|
135
135
|
* @param {PushNotificationClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -144,7 +144,7 @@ export declare class PushNotificationClient {
|
|
|
144
144
|
setSnsProvider(request?: Management.SetGuardianFactorsProviderPushNotificationSnsRequestContent, requestOptions?: PushNotificationClient.RequestOptions): core.HttpResponsePromise<Management.SetGuardianFactorsProviderPushNotificationSnsResponseContent>;
|
|
145
145
|
private __setSnsProvider;
|
|
146
146
|
/**
|
|
147
|
-
* Configure the
|
|
147
|
+
* Configure the [AWS SNS push notification provider configuration](https://auth0.com/docs/multifactor-authentication/developer/sns-configuration) (subscription required).
|
|
148
148
|
*
|
|
149
149
|
* @param {Management.UpdateGuardianFactorsProviderPushNotificationSnsRequestContent} request
|
|
150
150
|
* @param {PushNotificationClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -436,7 +436,7 @@ export class PushNotificationClient {
|
|
|
436
436
|
});
|
|
437
437
|
}
|
|
438
438
|
/**
|
|
439
|
-
* Retrieve configuration details for an AWS SNS push notification provider that has been enabled for MFA. To learn more, review
|
|
439
|
+
* Retrieve configuration details for an AWS SNS push notification provider that has been enabled for MFA. To learn more, review [Configure Push Notifications for MFA](https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors/configure-push-notifications-for-mfa).
|
|
440
440
|
*
|
|
441
441
|
* @param {PushNotificationClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
442
442
|
*
|
|
@@ -492,7 +492,7 @@ export class PushNotificationClient {
|
|
|
492
492
|
});
|
|
493
493
|
}
|
|
494
494
|
/**
|
|
495
|
-
* Configure the
|
|
495
|
+
* Configure the [AWS SNS push notification provider configuration](https://auth0.com/docs/multifactor-authentication/developer/sns-configuration) (subscription required).
|
|
496
496
|
*
|
|
497
497
|
* @param {Management.SetGuardianFactorsProviderPushNotificationSnsRequestContent} request
|
|
498
498
|
* @param {PushNotificationClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -552,7 +552,7 @@ export class PushNotificationClient {
|
|
|
552
552
|
});
|
|
553
553
|
}
|
|
554
554
|
/**
|
|
555
|
-
* Configure the
|
|
555
|
+
* Configure the [AWS SNS push notification provider configuration](https://auth0.com/docs/multifactor-authentication/developer/sns-configuration) (subscription required).
|
|
556
556
|
*
|
|
557
557
|
* @param {Management.UpdateGuardianFactorsProviderPushNotificationSnsRequestContent} request
|
|
558
558
|
* @param {PushNotificationClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -11,15 +11,14 @@ export declare class PoliciesClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptionsWithAuth<PoliciesClient.Options>;
|
|
12
12
|
constructor(options: PoliciesClient.Options);
|
|
13
13
|
/**
|
|
14
|
-
* Retrieve the
|
|
14
|
+
* Retrieve the [multi-factor authentication (MFA) policies](https://auth0.com/docs/secure/multi-factor-authentication/enable-mfa) configured for your tenant.
|
|
15
15
|
*
|
|
16
16
|
* The following policies are supported:
|
|
17
|
-
* <ul>
|
|
18
|
-
* <li><code>all-applications</code> policy prompts with MFA for all logins.</li>
|
|
19
|
-
* <li><code>confidence-score</code> policy prompts with MFA only for low confidence logins.</li>
|
|
20
|
-
* </ul>
|
|
21
17
|
*
|
|
22
|
-
*
|
|
18
|
+
* - `all-applications` policy prompts with MFA for all logins.
|
|
19
|
+
* - `confidence-score` policy prompts with MFA only for low confidence logins.
|
|
20
|
+
*
|
|
21
|
+
* **Note**: The `confidence-score` policy is part of the [Adaptive MFA feature](https://auth0.com/docs/secure/multi-factor-authentication/adaptive-mfa). Adaptive MFA requires an add-on for the Enterprise plan; review [Auth0 Pricing](https://auth0.com/pricing) for more details.
|
|
23
22
|
*
|
|
24
23
|
* @param {PoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
25
24
|
*
|
|
@@ -33,15 +32,14 @@ export declare class PoliciesClient {
|
|
|
33
32
|
list(requestOptions?: PoliciesClient.RequestOptions): core.HttpResponsePromise<Management.ListGuardianPoliciesResponseContent>;
|
|
34
33
|
private __list;
|
|
35
34
|
/**
|
|
36
|
-
* Set
|
|
35
|
+
* Set [multi-factor authentication (MFA) policies](https://auth0.com/docs/secure/multi-factor-authentication/enable-mfa) for your tenant.
|
|
37
36
|
*
|
|
38
37
|
* The following policies are supported:
|
|
39
|
-
* <ul>
|
|
40
|
-
* <li><code>all-applications</code> policy prompts with MFA for all logins.</li>
|
|
41
|
-
* <li><code>confidence-score</code> policy prompts with MFA only for low confidence logins.</li>
|
|
42
|
-
* </ul>
|
|
43
38
|
*
|
|
44
|
-
*
|
|
39
|
+
* - `all-applications` policy prompts with MFA for all logins.
|
|
40
|
+
* - `confidence-score` policy prompts with MFA only for low confidence logins.
|
|
41
|
+
*
|
|
42
|
+
* **Note**: The `confidence-score` policy is part of the [Adaptive MFA feature](https://auth0.com/docs/secure/multi-factor-authentication/adaptive-mfa). Adaptive MFA requires an add-on for the Enterprise plan; review [Auth0 Pricing](https://auth0.com/pricing) for more details.
|
|
45
43
|
*
|
|
46
44
|
* @param {Management.SetGuardianPoliciesRequestContent} request
|
|
47
45
|
* @param {PoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -20,15 +20,14 @@ export class PoliciesClient {
|
|
|
20
20
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Retrieve the
|
|
23
|
+
* Retrieve the [multi-factor authentication (MFA) policies](https://auth0.com/docs/secure/multi-factor-authentication/enable-mfa) configured for your tenant.
|
|
24
24
|
*
|
|
25
25
|
* The following policies are supported:
|
|
26
|
-
* <ul>
|
|
27
|
-
* <li><code>all-applications</code> policy prompts with MFA for all logins.</li>
|
|
28
|
-
* <li><code>confidence-score</code> policy prompts with MFA only for low confidence logins.</li>
|
|
29
|
-
* </ul>
|
|
30
26
|
*
|
|
31
|
-
*
|
|
27
|
+
* - `all-applications` policy prompts with MFA for all logins.
|
|
28
|
+
* - `confidence-score` policy prompts with MFA only for low confidence logins.
|
|
29
|
+
*
|
|
30
|
+
* **Note**: The `confidence-score` policy is part of the [Adaptive MFA feature](https://auth0.com/docs/secure/multi-factor-authentication/adaptive-mfa). Adaptive MFA requires an add-on for the Enterprise plan; review [Auth0 Pricing](https://auth0.com/pricing) for more details.
|
|
32
31
|
*
|
|
33
32
|
* @param {PoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
34
33
|
*
|
|
@@ -84,15 +83,14 @@ export class PoliciesClient {
|
|
|
84
83
|
});
|
|
85
84
|
}
|
|
86
85
|
/**
|
|
87
|
-
* Set
|
|
86
|
+
* Set [multi-factor authentication (MFA) policies](https://auth0.com/docs/secure/multi-factor-authentication/enable-mfa) for your tenant.
|
|
88
87
|
*
|
|
89
88
|
* The following policies are supported:
|
|
90
|
-
* <ul>
|
|
91
|
-
* <li><code>all-applications</code> policy prompts with MFA for all logins.</li>
|
|
92
|
-
* <li><code>confidence-score</code> policy prompts with MFA only for low confidence logins.</li>
|
|
93
|
-
* </ul>
|
|
94
89
|
*
|
|
95
|
-
*
|
|
90
|
+
* - `all-applications` policy prompts with MFA for all logins.
|
|
91
|
+
* - `confidence-score` policy prompts with MFA only for low confidence logins.
|
|
92
|
+
*
|
|
93
|
+
* **Note**: The `confidence-score` policy is part of the [Adaptive MFA feature](https://auth0.com/docs/secure/multi-factor-authentication/adaptive-mfa). Adaptive MFA requires an add-on for the Enterprise plan; review [Auth0 Pricing](https://auth0.com/pricing) for more details.
|
|
96
94
|
*
|
|
97
95
|
* @param {Management.SetGuardianPoliciesRequestContent} request
|
|
98
96
|
* @param {PoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -14,7 +14,7 @@ export declare class HooksClient {
|
|
|
14
14
|
constructor(options: HooksClient.Options);
|
|
15
15
|
get secrets(): SecretsClient;
|
|
16
16
|
/**
|
|
17
|
-
* Retrieve all
|
|
17
|
+
* Retrieve all [hooks](https://auth0.com/docs/hooks). Accepts a list of fields to include or exclude in the result.
|
|
18
18
|
*
|
|
19
19
|
* @param {Management.ListHooksRequestParameters} request
|
|
20
20
|
* @param {HooksClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -58,7 +58,7 @@ export declare class HooksClient {
|
|
|
58
58
|
create(request: Management.CreateHookRequestContent, requestOptions?: HooksClient.RequestOptions): core.HttpResponsePromise<Management.CreateHookResponseContent>;
|
|
59
59
|
private __create;
|
|
60
60
|
/**
|
|
61
|
-
* Retrieve
|
|
61
|
+
* Retrieve [a hook](https://auth0.com/docs/hooks) by its ID. Accepts a list of fields to include in the result.
|
|
62
62
|
*
|
|
63
63
|
* @param {string} id - ID of the hook to retrieve.
|
|
64
64
|
* @param {Management.GetHookRequestParameters} request
|
|
@@ -25,7 +25,7 @@ export class HooksClient {
|
|
|
25
25
|
return ((_a = this._secrets) !== null && _a !== void 0 ? _a : (this._secrets = new SecretsClient(this._options)));
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
|
-
* Retrieve all
|
|
28
|
+
* Retrieve all [hooks](https://auth0.com/docs/hooks). Accepts a list of fields to include or exclude in the result.
|
|
29
29
|
*
|
|
30
30
|
* @param {Management.ListHooksRequestParameters} request
|
|
31
31
|
* @param {HooksClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -186,7 +186,7 @@ export class HooksClient {
|
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
188
|
/**
|
|
189
|
-
* Retrieve
|
|
189
|
+
* Retrieve [a hook](https://auth0.com/docs/hooks) by its ID. Accepts a list of fields to include in the result.
|
|
190
190
|
*
|
|
191
191
|
* @param {string} id - ID of the hook to retrieve.
|
|
192
192
|
* @param {Management.GetHookRequestParameters} request
|
|
@@ -25,6 +25,7 @@ export * as logStreams from "./logStreams/index.mjs";
|
|
|
25
25
|
export * as networkAcls from "./networkAcls/index.mjs";
|
|
26
26
|
export * as organizations from "./organizations/index.mjs";
|
|
27
27
|
export * as prompts from "./prompts/index.mjs";
|
|
28
|
+
export * as rateLimitPolicies from "./rateLimitPolicies/index.mjs";
|
|
28
29
|
export * as refreshTokens from "./refreshTokens/index.mjs";
|
|
29
30
|
export * as resourceServers from "./resourceServers/index.mjs";
|
|
30
31
|
export * as riskAssessments from "./riskAssessments/index.mjs";
|
|
@@ -25,6 +25,7 @@ export * as logStreams from "./logStreams/index.mjs";
|
|
|
25
25
|
export * as networkAcls from "./networkAcls/index.mjs";
|
|
26
26
|
export * as organizations from "./organizations/index.mjs";
|
|
27
27
|
export * as prompts from "./prompts/index.mjs";
|
|
28
|
+
export * as rateLimitPolicies from "./rateLimitPolicies/index.mjs";
|
|
28
29
|
export * as refreshTokens from "./refreshTokens/index.mjs";
|
|
29
30
|
export * as resourceServers from "./resourceServers/index.mjs";
|
|
30
31
|
export * as riskAssessments from "./riskAssessments/index.mjs";
|
package/dist/esm/management/api/resources/jobs/resources/verificationEmail/client/Client.d.mts
CHANGED
|
@@ -11,7 +11,7 @@ export declare class VerificationEmailClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptionsWithAuth<VerificationEmailClient.Options>;
|
|
12
12
|
constructor(options: VerificationEmailClient.Options);
|
|
13
13
|
/**
|
|
14
|
-
* Send an email to the specified user that asks them to click a link to
|
|
14
|
+
* Send an email to the specified user that asks them to click a link to [verify their email address](https://auth0.com/docs/email/custom#verification-email).
|
|
15
15
|
*
|
|
16
16
|
* Note: You must have the `Status` toggle enabled for the verification email template for the email to be sent.
|
|
17
17
|
*
|
package/dist/esm/management/api/resources/jobs/resources/verificationEmail/client/Client.mjs
CHANGED
|
@@ -20,7 +20,7 @@ export class VerificationEmailClient {
|
|
|
20
20
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Send an email to the specified user that asks them to click a link to
|
|
23
|
+
* Send an email to the specified user that asks them to click a link to [verify their email address](https://auth0.com/docs/email/custom#verification-email).
|
|
24
24
|
*
|
|
25
25
|
* Note: You must have the `Status` toggle enabled for the verification email template for the email to be sent.
|
|
26
26
|
*
|