auth0 5.10.0 → 5.11.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/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 +259 -0
- 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/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/clients/client/Client.d.ts +12 -3
- package/dist/cjs/management/api/resources/clients/client/Client.js +12 -3
- 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/customDomains/client/Client.d.ts +19 -12
- package/dist/cjs/management/api/resources/customDomains/client/Client.js +19 -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/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/roles/client/Client.d.ts +71 -0
- package/dist/cjs/management/api/resources/groups/resources/roles/client/Client.js +270 -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 +14 -13
- package/dist/cjs/management/api/resources/organizations/client/Client.js +20 -17
- 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 +2 -2
- package/dist/cjs/management/api/resources/organizations/resources/enabledConnections/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/organizations/resources/groups/client/Client.d.ts +35 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/client/Client.js +146 -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 +74 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/client/Client.js +273 -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 +9 -12
- package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.js +13 -14
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.d.ts +36 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.js +147 -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 +34 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.js +144 -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 +2 -2
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/roles/client/Client.js +2 -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/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 +71 -0
- package/dist/cjs/management/api/resources/roles/resources/groups/client/Client.js +270 -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 +2 -2
- package/dist/cjs/management/api/resources/roles/resources/permissions/client/Client.js +2 -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/userAttributeProfiles/client/Client.d.ts +1 -1
- package/dist/cjs/management/api/resources/userAttributeProfiles/client/Client.js +1 -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/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 +35 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/client/Client.js +146 -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 +33 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.js +143 -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/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 +1 -1
- package/dist/cjs/management/api/resources/users/resources/organizations/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/users/resources/roles/client/Client.d.ts +4 -4
- package/dist/cjs/management/api/resources/users/resources/roles/client/Client.js +4 -4
- package/dist/cjs/management/api/types/types.d.ts +412 -51
- package/dist/cjs/management/api/types/types.js +94 -4
- 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/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 +259 -0
- 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/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/clients/client/Client.d.mts +12 -3
- package/dist/esm/management/api/resources/clients/client/Client.mjs +12 -3
- 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/customDomains/client/Client.d.mts +19 -12
- package/dist/esm/management/api/resources/customDomains/client/Client.mjs +19 -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/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/roles/client/Client.d.mts +71 -0
- package/dist/esm/management/api/resources/groups/resources/roles/client/Client.mjs +233 -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 +14 -13
- package/dist/esm/management/api/resources/organizations/client/Client.mjs +16 -13
- 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 +2 -2
- package/dist/esm/management/api/resources/organizations/resources/enabledConnections/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/organizations/resources/groups/client/Client.d.mts +35 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/client/Client.mjs +109 -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 +74 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/resources/roles/client/Client.mjs +236 -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 +9 -12
- package/dist/esm/management/api/resources/organizations/resources/members/client/Client.mjs +11 -12
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.d.mts +36 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.mjs +110 -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 +34 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.mjs +107 -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 +2 -2
- package/dist/esm/management/api/resources/organizations/resources/members/resources/roles/client/Client.mjs +2 -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/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 +71 -0
- package/dist/esm/management/api/resources/roles/resources/groups/client/Client.mjs +233 -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 +2 -2
- package/dist/esm/management/api/resources/roles/resources/permissions/client/Client.mjs +2 -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/userAttributeProfiles/client/Client.d.mts +1 -1
- package/dist/esm/management/api/resources/userAttributeProfiles/client/Client.mjs +1 -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/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 +35 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/client/Client.mjs +109 -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 +33 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.mjs +106 -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/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 +1 -1
- package/dist/esm/management/api/resources/users/resources/organizations/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/users/resources/roles/client/Client.d.mts +4 -4
- package/dist/esm/management/api/resources/users/resources/roles/client/Client.mjs +4 -4
- package/dist/esm/management/api/types/types.d.mts +412 -51
- package/dist/esm/management/api/types/types.mjs +91 -1
- 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 +3564 -1868
|
@@ -22,33 +22,30 @@ export class LogsClient {
|
|
|
22
22
|
/**
|
|
23
23
|
* Retrieve log entries that match the specified search criteria (or all log entries if no criteria specified).
|
|
24
24
|
*
|
|
25
|
-
* Set custom search criteria using the
|
|
25
|
+
* Set custom search criteria using the `q` parameter, or search from a specific log ID (_"search from checkpoint"_).
|
|
26
26
|
*
|
|
27
|
-
* For more information on all possible event types, their respective acronyms, and descriptions, see
|
|
27
|
+
* For more information on all possible event types, their respective acronyms, and descriptions, see [Log Event Type Codes](https://auth0.com/docs/logs/log-event-type-codes).
|
|
28
28
|
*
|
|
29
|
-
*
|
|
29
|
+
* **To set custom search criteria, use the following parameters:**
|
|
30
30
|
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* <li><b>include_totals:</b> Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). <b>Deprecated:</b> this field is deprecated and should be removed from use. See <a href="https://auth0.com/docs/product-lifecycle/deprecations-and-migrations/migrate-to-tenant-log-search-v3#pagination">Search Engine V3 Breaking Changes</a></li>
|
|
39
|
-
* </ul>
|
|
31
|
+
* - **q:** Search Criteria using [Query String Syntax](https://auth0.com/docs/logs/log-search-query-syntax)
|
|
32
|
+
* - **page:** Page index of the results to return. First page is 0.
|
|
33
|
+
* - **per_page:** Number of results per page.
|
|
34
|
+
* - **sort:** Field to use for sorting appended with `:1` for ascending and `:-1` for descending. e.g. `date:-1`
|
|
35
|
+
* - **fields:** Comma-separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields.
|
|
36
|
+
* - **include_fields:** Whether specified fields are to be included (true) or excluded (false).
|
|
37
|
+
* - **include_totals:** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). **Deprecated:** this field is deprecated and should be removed from use. See [Search Engine V3 Breaking Changes](https://auth0.com/docs/product-lifecycle/deprecations-and-migrations/migrate-to-tenant-log-search-v3#pagination)
|
|
40
38
|
*
|
|
41
|
-
* For more information on the list of fields that can be used in
|
|
39
|
+
* For more information on the list of fields that can be used in `fields` and `sort`, see [Searchable Fields](https://auth0.com/docs/logs/log-search-query-syntax#searchable-fields).
|
|
42
40
|
*
|
|
43
|
-
* Auth0
|
|
41
|
+
* Auth0 [limits the number of logs](https://auth0.com/docs/logs/retrieve-log-events-using-mgmt-api#limitations) you can return by search criteria to 100 logs per request. Furthermore, you may paginate only through 1,000 search results. If you exceed this threshold, please redefine your search or use the [get logs by checkpoint method](https://auth0.com/docs/logs/retrieve-log-events-using-mgmt-api#retrieve-logs-by-checkpoint).
|
|
44
42
|
*
|
|
45
|
-
*
|
|
46
|
-
* <ul>
|
|
47
|
-
* <li><b>from:</b> Log Event ID from which to start retrieving logs. You can limit the number of logs returned using the <code>take</code> parameter. If you use <code>from</code> at the same time as <code>q</code>, <code>from</code> takes precedence and <code>q</code> is ignored.</li>
|
|
48
|
-
* <li><b>take:</b> Number of entries to retrieve when using the <code>from</code> parameter.</li>
|
|
49
|
-
* </ul>
|
|
43
|
+
* **To search from a checkpoint log ID, use the following parameters:**
|
|
50
44
|
*
|
|
51
|
-
*
|
|
45
|
+
* - **from:** Log Event ID from which to start retrieving logs. You can limit the number of logs returned using the `take` parameter. If you use `from` at the same time as `q`, `from` takes precedence and `q` is ignored.
|
|
46
|
+
* - **take:** Number of entries to retrieve when using the `from` parameter.
|
|
47
|
+
*
|
|
48
|
+
* **Important:** When fetching logs from a checkpoint log ID, any parameter other than `from` and `take` will be ignored, and date ordering is not guaranteed.
|
|
52
49
|
*
|
|
53
50
|
* @param {Management.ListLogsRequestParameters} request
|
|
54
51
|
* @param {LogsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -6,6 +6,7 @@ import { ClientGrantsClient } from "../resources/clientGrants/client/Client.mjs"
|
|
|
6
6
|
import { ConnectionsClient } from "../resources/connections/client/Client.mjs";
|
|
7
7
|
import { DiscoveryDomainsClient } from "../resources/discoveryDomains/client/Client.mjs";
|
|
8
8
|
import { EnabledConnectionsClient } from "../resources/enabledConnections/client/Client.mjs";
|
|
9
|
+
import { GroupsClient } from "../resources/groups/client/Client.mjs";
|
|
9
10
|
import { InvitationsClient } from "../resources/invitations/client/Client.mjs";
|
|
10
11
|
import { MembersClient } from "../resources/members/client/Client.mjs";
|
|
11
12
|
export declare namespace OrganizationsClient {
|
|
@@ -21,6 +22,7 @@ export declare class OrganizationsClient {
|
|
|
21
22
|
protected _enabledConnections: EnabledConnectionsClient | undefined;
|
|
22
23
|
protected _invitations: InvitationsClient | undefined;
|
|
23
24
|
protected _members: MembersClient | undefined;
|
|
25
|
+
protected _groups: GroupsClient | undefined;
|
|
24
26
|
constructor(options: OrganizationsClient.Options);
|
|
25
27
|
get clientGrants(): ClientGrantsClient;
|
|
26
28
|
get connections(): ConnectionsClient;
|
|
@@ -28,26 +30,25 @@ export declare class OrganizationsClient {
|
|
|
28
30
|
get enabledConnections(): EnabledConnectionsClient;
|
|
29
31
|
get invitations(): InvitationsClient;
|
|
30
32
|
get members(): MembersClient;
|
|
33
|
+
get groups(): GroupsClient;
|
|
31
34
|
/**
|
|
32
35
|
* Retrieve detailed list of all Organizations available in your tenant. For more information, see Auth0 Organizations.
|
|
33
36
|
*
|
|
34
37
|
* This endpoint supports two types of pagination:
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* </ul>
|
|
38
|
+
*
|
|
39
|
+
* - Offset pagination
|
|
40
|
+
* - Checkpoint pagination
|
|
39
41
|
*
|
|
40
42
|
* Checkpoint pagination must be used if you need to retrieve more than 1000 organizations.
|
|
41
43
|
*
|
|
42
|
-
*
|
|
44
|
+
* **Checkpoint Pagination**
|
|
43
45
|
*
|
|
44
46
|
* To search by checkpoint, use the following parameters:
|
|
45
|
-
* <ul>
|
|
46
|
-
* <li><code>from</code>: Optional id from which to start selection.</li>
|
|
47
|
-
* <li><code>take</code>: The total number of entries to retrieve when using the <code>from</code> parameter. Defaults to 50.</li>
|
|
48
|
-
* </ul>
|
|
49
47
|
*
|
|
50
|
-
*
|
|
48
|
+
* - `from`: Optional id from which to start selection.
|
|
49
|
+
* - `take`: The total number of entries to retrieve when using the `from` parameter. Defaults to 50.
|
|
50
|
+
*
|
|
51
|
+
* **Note**: The first time you call this endpoint using checkpoint pagination, omit the `from` parameter. If there are more results, a `next` value is included in the response. You can use this for subsequent API calls. When `next` is no longer included in the response, no pages are remaining.
|
|
51
52
|
*
|
|
52
53
|
* @param {Management.ListOrganizationsRequestParameters} request
|
|
53
54
|
* @param {OrganizationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -66,7 +67,7 @@ export declare class OrganizationsClient {
|
|
|
66
67
|
*/
|
|
67
68
|
list(request?: Management.ListOrganizationsRequestParameters, requestOptions?: OrganizationsClient.RequestOptions): Promise<core.Page<Management.Organization, Management.ListOrganizationsPaginatedResponseContent>>;
|
|
68
69
|
/**
|
|
69
|
-
* Create a new Organization within your tenant. To learn more about Organization settings, behavior, and configuration options, review
|
|
70
|
+
* Create a new Organization within your tenant. To learn more about Organization settings, behavior, and configuration options, review [Create Your First Organization](https://auth0.com/docs/manage-users/organizations/create-first-organization).
|
|
70
71
|
*
|
|
71
72
|
* @param {Management.CreateOrganizationRequestContent} request
|
|
72
73
|
* @param {OrganizationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -119,7 +120,7 @@ export declare class OrganizationsClient {
|
|
|
119
120
|
/**
|
|
120
121
|
* Remove an Organization from your tenant. This action cannot be undone.
|
|
121
122
|
*
|
|
122
|
-
*
|
|
123
|
+
* **Note**: Members are automatically disassociated from an Organization when it is deleted. However, this action does **not** delete these users from your tenant.
|
|
123
124
|
*
|
|
124
125
|
* @param {string} id - Organization identifier.
|
|
125
126
|
* @param {OrganizationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -136,7 +137,7 @@ export declare class OrganizationsClient {
|
|
|
136
137
|
delete(id: string, requestOptions?: OrganizationsClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
137
138
|
private __delete;
|
|
138
139
|
/**
|
|
139
|
-
* Update the details of a specific
|
|
140
|
+
* Update the details of a specific [Organization](https://auth0.com/docs/manage-users/organizations/configure-organizations/create-organizations), such as name and display name, branding options, and metadata.
|
|
140
141
|
*
|
|
141
142
|
* @param {string} id - ID of the organization to update.
|
|
142
143
|
* @param {Management.UpdateOrganizationRequestContent} request
|
|
@@ -19,6 +19,7 @@ import { ClientGrantsClient } from "../resources/clientGrants/client/Client.mjs"
|
|
|
19
19
|
import { ConnectionsClient } from "../resources/connections/client/Client.mjs";
|
|
20
20
|
import { DiscoveryDomainsClient } from "../resources/discoveryDomains/client/Client.mjs";
|
|
21
21
|
import { EnabledConnectionsClient } from "../resources/enabledConnections/client/Client.mjs";
|
|
22
|
+
import { GroupsClient } from "../resources/groups/client/Client.mjs";
|
|
22
23
|
import { InvitationsClient } from "../resources/invitations/client/Client.mjs";
|
|
23
24
|
import { MembersClient } from "../resources/members/client/Client.mjs";
|
|
24
25
|
export class OrganizationsClient {
|
|
@@ -49,26 +50,28 @@ export class OrganizationsClient {
|
|
|
49
50
|
var _a;
|
|
50
51
|
return ((_a = this._members) !== null && _a !== void 0 ? _a : (this._members = new MembersClient(this._options)));
|
|
51
52
|
}
|
|
53
|
+
get groups() {
|
|
54
|
+
var _a;
|
|
55
|
+
return ((_a = this._groups) !== null && _a !== void 0 ? _a : (this._groups = new GroupsClient(this._options)));
|
|
56
|
+
}
|
|
52
57
|
/**
|
|
53
58
|
* Retrieve detailed list of all Organizations available in your tenant. For more information, see Auth0 Organizations.
|
|
54
59
|
*
|
|
55
60
|
* This endpoint supports two types of pagination:
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
* </ul>
|
|
61
|
+
*
|
|
62
|
+
* - Offset pagination
|
|
63
|
+
* - Checkpoint pagination
|
|
60
64
|
*
|
|
61
65
|
* Checkpoint pagination must be used if you need to retrieve more than 1000 organizations.
|
|
62
66
|
*
|
|
63
|
-
*
|
|
67
|
+
* **Checkpoint Pagination**
|
|
64
68
|
*
|
|
65
69
|
* To search by checkpoint, use the following parameters:
|
|
66
|
-
* <ul>
|
|
67
|
-
* <li><code>from</code>: Optional id from which to start selection.</li>
|
|
68
|
-
* <li><code>take</code>: The total number of entries to retrieve when using the <code>from</code> parameter. Defaults to 50.</li>
|
|
69
|
-
* </ul>
|
|
70
70
|
*
|
|
71
|
-
*
|
|
71
|
+
* - `from`: Optional id from which to start selection.
|
|
72
|
+
* - `take`: The total number of entries to retrieve when using the `from` parameter. Defaults to 50.
|
|
73
|
+
*
|
|
74
|
+
* **Note**: The first time you call this endpoint using checkpoint pagination, omit the `from` parameter. If there are more results, a `next` value is included in the response. You can use this for subsequent API calls. When `next` is no longer included in the response, no pages are remaining.
|
|
72
75
|
*
|
|
73
76
|
* @param {Management.ListOrganizationsRequestParameters} request
|
|
74
77
|
* @param {OrganizationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -151,7 +154,7 @@ export class OrganizationsClient {
|
|
|
151
154
|
});
|
|
152
155
|
}
|
|
153
156
|
/**
|
|
154
|
-
* Create a new Organization within your tenant. To learn more about Organization settings, behavior, and configuration options, review
|
|
157
|
+
* Create a new Organization within your tenant. To learn more about Organization settings, behavior, and configuration options, review [Create Your First Organization](https://auth0.com/docs/manage-users/organizations/create-first-organization).
|
|
155
158
|
*
|
|
156
159
|
* @param {Management.CreateOrganizationRequestContent} request
|
|
157
160
|
* @param {OrganizationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -341,7 +344,7 @@ export class OrganizationsClient {
|
|
|
341
344
|
/**
|
|
342
345
|
* Remove an Organization from your tenant. This action cannot be undone.
|
|
343
346
|
*
|
|
344
|
-
*
|
|
347
|
+
* **Note**: Members are automatically disassociated from an Organization when it is deleted. However, this action does **not** delete these users from your tenant.
|
|
345
348
|
*
|
|
346
349
|
* @param {string} id - Organization identifier.
|
|
347
350
|
* @param {OrganizationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -401,7 +404,7 @@ export class OrganizationsClient {
|
|
|
401
404
|
});
|
|
402
405
|
}
|
|
403
406
|
/**
|
|
404
|
-
* Update the details of a specific
|
|
407
|
+
* Update the details of a specific [Organization](https://auth0.com/docs/manage-users/organizations/configure-organizations/create-organizations), such as name and display name, branding options, and metadata.
|
|
405
408
|
*
|
|
406
409
|
* @param {string} id - ID of the organization to update.
|
|
407
410
|
* @param {Management.UpdateOrganizationRequestContent} request
|
|
@@ -108,7 +108,7 @@ export declare class DiscoveryDomainsClient {
|
|
|
108
108
|
delete(id: string, discovery_domain_id: string, requestOptions?: DiscoveryDomainsClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
109
109
|
private __delete;
|
|
110
110
|
/**
|
|
111
|
-
* Update the verification status and/or use_for_organization_discovery for an organization discovery domain. The
|
|
111
|
+
* Update the verification status and/or use_for_organization_discovery for an organization discovery domain. The `status` field must be either `pending` or `verified`. The `use_for_organization_discovery` field can be `true` or `false` (default: `true`).
|
|
112
112
|
*
|
|
113
113
|
* @param {string} id - ID of the organization.
|
|
114
114
|
* @param {string} discovery_domain_id - ID of the discovery domain to update.
|
package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.mjs
CHANGED
|
@@ -366,7 +366,7 @@ export class DiscoveryDomainsClient {
|
|
|
366
366
|
});
|
|
367
367
|
}
|
|
368
368
|
/**
|
|
369
|
-
* Update the verification status and/or use_for_organization_discovery for an organization discovery domain. The
|
|
369
|
+
* Update the verification status and/or use_for_organization_discovery for an organization discovery domain. The `status` field must be either `pending` or `verified`. The `use_for_organization_discovery` field can be `true` or `false` (default: `true`).
|
|
370
370
|
*
|
|
371
371
|
* @param {string} id - ID of the organization.
|
|
372
372
|
* @param {string} discovery_domain_id - ID of the discovery domain to update.
|
|
@@ -33,7 +33,7 @@ export declare class EnabledConnectionsClient {
|
|
|
33
33
|
/**
|
|
34
34
|
* Enable a specific connection for a given Organization. To enable a connection, it must already exist within your tenant; connections cannot be created through this action.
|
|
35
35
|
*
|
|
36
|
-
*
|
|
36
|
+
* [Connections](https://auth0.com/docs/authenticate/identity-providers) represent the relationship between Auth0 and a source of users. Available types of connections include database, enterprise, and social.
|
|
37
37
|
*
|
|
38
38
|
* @param {string} id - Organization identifier.
|
|
39
39
|
* @param {Management.AddOrganizationConnectionRequestContent} request
|
|
@@ -70,7 +70,7 @@ export declare class EnabledConnectionsClient {
|
|
|
70
70
|
/**
|
|
71
71
|
* Disable a specific connection for an Organization. Once disabled, Organization members can no longer use that connection to authenticate.
|
|
72
72
|
*
|
|
73
|
-
*
|
|
73
|
+
* **Note**: This action does not remove the connection from your tenant.
|
|
74
74
|
*
|
|
75
75
|
* @param {string} id - Organization identifier.
|
|
76
76
|
* @param {string} connectionId - Connection identifier.
|
|
@@ -108,7 +108,7 @@ export class EnabledConnectionsClient {
|
|
|
108
108
|
/**
|
|
109
109
|
* Enable a specific connection for a given Organization. To enable a connection, it must already exist within your tenant; connections cannot be created through this action.
|
|
110
110
|
*
|
|
111
|
-
*
|
|
111
|
+
* [Connections](https://auth0.com/docs/authenticate/identity-providers) represent the relationship between Auth0 and a source of users. Available types of connections include database, enterprise, and social.
|
|
112
112
|
*
|
|
113
113
|
* @param {string} id - Organization identifier.
|
|
114
114
|
* @param {Management.AddOrganizationConnectionRequestContent} request
|
|
@@ -234,7 +234,7 @@ export class EnabledConnectionsClient {
|
|
|
234
234
|
/**
|
|
235
235
|
* Disable a specific connection for an Organization. Once disabled, Organization members can no longer use that connection to authenticate.
|
|
236
236
|
*
|
|
237
|
-
*
|
|
237
|
+
* **Note**: This action does not remove the connection from your tenant.
|
|
238
238
|
*
|
|
239
239
|
* @param {string} id - Organization identifier.
|
|
240
240
|
* @param {string} connectionId - Connection identifier.
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
import { RolesClient } from "../resources/roles/client/Client.mjs";
|
|
6
|
+
export declare namespace GroupsClient {
|
|
7
|
+
type Options = BaseClientOptions;
|
|
8
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export declare class GroupsClient {
|
|
12
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<GroupsClient.Options>;
|
|
13
|
+
protected _roles: RolesClient | undefined;
|
|
14
|
+
constructor(options: GroupsClient.Options);
|
|
15
|
+
get roles(): RolesClient;
|
|
16
|
+
/**
|
|
17
|
+
* Lists the groups that are assigned to the specified organization.
|
|
18
|
+
*
|
|
19
|
+
* @param {string} organization_id - ID of the organization
|
|
20
|
+
* @param {Management.ListOrganizationGroupsRequestParameters} request
|
|
21
|
+
* @param {GroupsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
22
|
+
*
|
|
23
|
+
* @throws {@link Management.BadRequestError}
|
|
24
|
+
* @throws {@link Management.UnauthorizedError}
|
|
25
|
+
* @throws {@link Management.ForbiddenError}
|
|
26
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* await client.organizations.groups.list("organization_id", {
|
|
30
|
+
* from: "from",
|
|
31
|
+
* take: 1
|
|
32
|
+
* })
|
|
33
|
+
*/
|
|
34
|
+
list(organization_id: string, request?: Management.ListOrganizationGroupsRequestParameters, requestOptions?: GroupsClient.RequestOptions): Promise<core.Page<Management.Group, Management.ListOrganizationGroupsResponseContent>>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
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
|
+
import { RolesClient } from "../resources/roles/client/Client.mjs";
|
|
19
|
+
export class GroupsClient {
|
|
20
|
+
constructor(options) {
|
|
21
|
+
this._options = normalizeClientOptionsWithAuth(options);
|
|
22
|
+
}
|
|
23
|
+
get roles() {
|
|
24
|
+
var _a;
|
|
25
|
+
return ((_a = this._roles) !== null && _a !== void 0 ? _a : (this._roles = new RolesClient(this._options)));
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Lists the groups that are assigned to the specified organization.
|
|
29
|
+
*
|
|
30
|
+
* @param {string} organization_id - ID of the organization
|
|
31
|
+
* @param {Management.ListOrganizationGroupsRequestParameters} request
|
|
32
|
+
* @param {GroupsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
33
|
+
*
|
|
34
|
+
* @throws {@link Management.BadRequestError}
|
|
35
|
+
* @throws {@link Management.UnauthorizedError}
|
|
36
|
+
* @throws {@link Management.ForbiddenError}
|
|
37
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* await client.organizations.groups.list("organization_id", {
|
|
41
|
+
* from: "from",
|
|
42
|
+
* take: 1
|
|
43
|
+
* })
|
|
44
|
+
*/
|
|
45
|
+
list(organization_id_1) {
|
|
46
|
+
return __awaiter(this, arguments, void 0, function* (organization_id, request = {}, requestOptions) {
|
|
47
|
+
const list = core.HttpResponsePromise.interceptFunction((request) => __awaiter(this, void 0, void 0, function* () {
|
|
48
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
49
|
+
const { from: from_, take = 50 } = request;
|
|
50
|
+
const _queryParams = {
|
|
51
|
+
from: from_,
|
|
52
|
+
take,
|
|
53
|
+
};
|
|
54
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
55
|
+
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);
|
|
56
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
57
|
+
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, `organizations/${core.url.encodePathParam(organization_id)}/groups`),
|
|
58
|
+
method: "GET",
|
|
59
|
+
headers: _headers,
|
|
60
|
+
queryString: core.url
|
|
61
|
+
.queryBuilder()
|
|
62
|
+
.addMany(_queryParams)
|
|
63
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
64
|
+
.build(),
|
|
65
|
+
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,
|
|
66
|
+
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,
|
|
67
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
68
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
69
|
+
logging: this._options.logging,
|
|
70
|
+
});
|
|
71
|
+
if (_response.ok) {
|
|
72
|
+
return {
|
|
73
|
+
data: _response.body,
|
|
74
|
+
rawResponse: _response.rawResponse,
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
if (_response.error.reason === "status-code") {
|
|
78
|
+
switch (_response.error.statusCode) {
|
|
79
|
+
case 400:
|
|
80
|
+
throw new Management.BadRequestError(_response.error.body, _response.rawResponse);
|
|
81
|
+
case 401:
|
|
82
|
+
throw new Management.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
83
|
+
case 403:
|
|
84
|
+
throw new Management.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
85
|
+
case 429:
|
|
86
|
+
throw new Management.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
87
|
+
default:
|
|
88
|
+
throw new errors.ManagementError({
|
|
89
|
+
statusCode: _response.error.statusCode,
|
|
90
|
+
body: _response.error.body,
|
|
91
|
+
rawResponse: _response.rawResponse,
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/organizations/{organization_id}/groups");
|
|
96
|
+
}));
|
|
97
|
+
const dataWithRawResponse = yield list(request).withRawResponse();
|
|
98
|
+
return new core.Page({
|
|
99
|
+
response: dataWithRawResponse.data,
|
|
100
|
+
rawResponse: dataWithRawResponse.rawResponse,
|
|
101
|
+
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) === ""),
|
|
102
|
+
getItems: (response) => { var _a; return (_a = response === null || response === void 0 ? void 0 : response.groups) !== null && _a !== void 0 ? _a : []; },
|
|
103
|
+
loadPage: (response) => {
|
|
104
|
+
return list(core.setObjectProperty(request, "from", response === null || response === void 0 ? void 0 : response.next));
|
|
105
|
+
},
|
|
106
|
+
});
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/esm/management/api/resources/organizations/resources/groups/resources/index.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as roles from "./roles/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as roles from "./roles/index.mjs";
|
|
@@ -0,0 +1,74 @@
|
|
|
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 assigned to the specified group in the context of an organization.
|
|
15
|
+
*
|
|
16
|
+
* @param {string} organization_id - ID of the organization
|
|
17
|
+
* @param {string} group_id - ID of the group
|
|
18
|
+
* @param {Management.ListOrganizationGroupRolesRequestParameters} request
|
|
19
|
+
* @param {RolesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
20
|
+
*
|
|
21
|
+
* @throws {@link Management.BadRequestError}
|
|
22
|
+
* @throws {@link Management.UnauthorizedError}
|
|
23
|
+
* @throws {@link Management.ForbiddenError}
|
|
24
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* await client.organizations.groups.roles.list("organization_id", "group_id", {
|
|
28
|
+
* from: "from",
|
|
29
|
+
* take: 1
|
|
30
|
+
* })
|
|
31
|
+
*/
|
|
32
|
+
list(organization_id: string, group_id: string, request?: Management.ListOrganizationGroupRolesRequestParameters, requestOptions?: RolesClient.RequestOptions): Promise<core.Page<Management.Role, Management.ListOrganizationGroupRolesResponseContent>>;
|
|
33
|
+
/**
|
|
34
|
+
* Assign one or more roles to a specified group in the context of an organization.
|
|
35
|
+
*
|
|
36
|
+
* @param {string} organization_id - ID of the organization
|
|
37
|
+
* @param {string} group_id - ID of the group
|
|
38
|
+
* @param {Management.CreateOrganizationGroupRolesRequestContent} request
|
|
39
|
+
* @param {RolesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link Management.BadRequestError}
|
|
42
|
+
* @throws {@link Management.UnauthorizedError}
|
|
43
|
+
* @throws {@link Management.ForbiddenError}
|
|
44
|
+
* @throws {@link Management.ConflictError}
|
|
45
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* await client.organizations.groups.roles.create("organization_id", "group_id", {
|
|
49
|
+
* roles: ["roles"]
|
|
50
|
+
* })
|
|
51
|
+
*/
|
|
52
|
+
create(organization_id: string, group_id: string, request: Management.CreateOrganizationGroupRolesRequestContent, requestOptions?: RolesClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
53
|
+
private __create;
|
|
54
|
+
/**
|
|
55
|
+
* Unassign one or more roles from a specified group in the context of an organization.
|
|
56
|
+
*
|
|
57
|
+
* @param {string} organization_id - ID of the organization
|
|
58
|
+
* @param {string} group_id - ID of the group
|
|
59
|
+
* @param {Management.DeleteOrganizationGroupRolesRequestContent} request
|
|
60
|
+
* @param {RolesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link Management.BadRequestError}
|
|
63
|
+
* @throws {@link Management.UnauthorizedError}
|
|
64
|
+
* @throws {@link Management.ForbiddenError}
|
|
65
|
+
* @throws {@link Management.TooManyRequestsError}
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* await client.organizations.groups.roles.delete("organization_id", "group_id", {
|
|
69
|
+
* roles: ["roles"]
|
|
70
|
+
* })
|
|
71
|
+
*/
|
|
72
|
+
delete(organization_id: string, group_id: string, request: Management.DeleteOrganizationGroupRolesRequestContent, requestOptions?: RolesClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
73
|
+
private __delete;
|
|
74
|
+
}
|