auth0 7.5.0 → 7.6.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 +14 -0
- package/dist/cjs/management/BaseClient.js +13 -1
- package/dist/cjs/management/api/requests/requests.d.ts +4 -36
- package/dist/cjs/management/api/resources/actions/client/Client.d.ts +14 -0
- package/dist/cjs/management/api/resources/actions/client/Client.js +30 -10
- package/dist/cjs/management/api/resources/actions/resources/executions/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/actions/resources/executions/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/actions/resources/modules/client/Client.d.ts +14 -0
- package/dist/cjs/management/api/resources/actions/resources/modules/client/Client.js +37 -12
- package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/Client.d.ts +6 -0
- package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/Client.js +16 -5
- package/dist/cjs/management/api/resources/actions/resources/triggers/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/actions/resources/triggers/client/Client.js +2 -0
- package/dist/cjs/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.js +15 -5
- package/dist/cjs/management/api/resources/actions/resources/versions/client/Client.d.ts +6 -0
- package/dist/cjs/management/api/resources/actions/resources/versions/client/Client.js +18 -6
- package/dist/cjs/management/api/resources/agents/client/Client.d.ts +10 -0
- package/dist/cjs/management/api/resources/agents/client/Client.js +16 -5
- package/dist/cjs/management/api/resources/anomaly/resources/blocks/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/anomaly/resources/blocks/client/Client.js +6 -2
- package/dist/cjs/management/api/resources/attackProtection/client/Client.d.ts +0 -3
- package/dist/cjs/management/api/resources/attackProtection/client/Client.js +4 -9
- package/dist/cjs/management/api/resources/attackProtection/resources/botDetection/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/botDetection/client/Client.js +6 -1
- package/dist/cjs/management/api/resources/attackProtection/resources/breachedPasswordDetection/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/breachedPasswordDetection/client/Client.js +6 -1
- package/dist/cjs/management/api/resources/attackProtection/resources/bruteForceProtection/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/bruteForceProtection/client/Client.js +6 -1
- package/dist/cjs/management/api/resources/attackProtection/resources/captcha/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/captcha/client/Client.js +6 -1
- package/dist/cjs/management/api/resources/attackProtection/resources/index.d.ts +0 -1
- package/dist/cjs/management/api/resources/attackProtection/resources/index.js +1 -2
- package/dist/cjs/management/api/resources/attackProtection/resources/phoneProviderProtection/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/phoneProviderProtection/client/Client.js +6 -1
- package/dist/cjs/management/api/resources/attackProtection/resources/suspiciousIpThrottling/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/attackProtection/resources/suspiciousIpThrottling/client/Client.js +6 -1
- package/dist/cjs/management/api/resources/branding/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/branding/client/Client.js +6 -1
- package/dist/cjs/management/api/resources/branding/resources/phone/resources/providers/client/Client.d.ts +12 -0
- package/dist/cjs/management/api/resources/branding/resources/phone/resources/providers/client/Client.js +20 -7
- package/dist/cjs/management/api/resources/branding/resources/phone/resources/templates/client/Client.d.ts +14 -0
- package/dist/cjs/management/api/resources/branding/resources/phone/resources/templates/client/Client.js +24 -9
- package/dist/cjs/management/api/resources/branding/resources/templates/client/Client.d.ts +6 -0
- package/dist/cjs/management/api/resources/branding/resources/templates/client/Client.js +8 -1
- package/dist/cjs/management/api/resources/branding/resources/themes/client/Client.d.ts +10 -0
- package/dist/cjs/management/api/resources/branding/resources/themes/client/Client.js +16 -5
- package/dist/cjs/management/api/resources/clientGrants/client/Client.d.ts +12 -0
- package/dist/cjs/management/api/resources/clientGrants/client/Client.js +18 -5
- package/dist/cjs/management/api/resources/clientGrants/resources/organizations/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/clientGrants/resources/organizations/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/clientProfiles/client/Client.d.ts +10 -0
- package/dist/cjs/management/api/resources/clientProfiles/client/Client.js +16 -5
- package/dist/cjs/management/api/resources/clients/client/Client.d.ts +18 -0
- package/dist/cjs/management/api/resources/clients/client/Client.js +34 -10
- package/dist/cjs/management/api/resources/clients/resources/connections/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/clients/resources/connections/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/clients/resources/credentials/client/Client.d.ts +10 -0
- package/dist/cjs/management/api/resources/clients/resources/credentials/client/Client.js +18 -7
- package/dist/cjs/management/api/resources/connectionProfiles/client/Client.d.ts +14 -0
- package/dist/cjs/management/api/resources/connectionProfiles/client/Client.js +21 -6
- package/dist/cjs/management/api/resources/connections/client/Client.d.ts +12 -0
- package/dist/cjs/management/api/resources/connections/client/Client.js +19 -6
- package/dist/cjs/management/api/resources/connections/resources/clients/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/connections/resources/clients/client/Client.js +8 -3
- package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.d.ts +20 -0
- package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.js +35 -14
- package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/connections/resources/keys/client/Client.d.ts +6 -0
- package/dist/cjs/management/api/resources/connections/resources/keys/client/Client.js +12 -5
- package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/client/Client.d.ts +12 -0
- package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/client/Client.js +20 -7
- package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.d.ts +6 -0
- package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.js +11 -4
- package/dist/cjs/management/api/resources/connections/resources/users/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/connections/resources/users/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/customDomains/client/Client.d.ts +18 -0
- package/dist/cjs/management/api/resources/customDomains/client/Client.js +27 -8
- package/dist/cjs/management/api/resources/deviceCredentials/client/Client.d.ts +6 -0
- package/dist/cjs/management/api/resources/deviceCredentials/client/Client.js +16 -4
- package/dist/cjs/management/api/resources/emailTemplates/client/Client.d.ts +8 -0
- package/dist/cjs/management/api/resources/emailTemplates/client/Client.js +15 -6
- package/dist/cjs/management/api/resources/emails/resources/provider/client/Client.d.ts +8 -0
- package/dist/cjs/management/api/resources/emails/resources/provider/client/Client.js +11 -2
- package/dist/cjs/management/api/resources/eventStreams/client/Client.d.ts +12 -0
- package/dist/cjs/management/api/resources/eventStreams/client/Client.js +20 -7
- package/dist/cjs/management/api/resources/eventStreams/resources/deliveries/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/eventStreams/resources/deliveries/client/Client.js +6 -2
- package/dist/cjs/management/api/resources/eventStreams/resources/redeliveries/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/eventStreams/resources/redeliveries/client/Client.js +8 -3
- package/dist/cjs/management/api/resources/events/client/Client.js +31 -1
- package/dist/cjs/management/api/resources/experimentation/resources/experiments/client/Client.d.ts +16 -1
- package/dist/cjs/management/api/resources/experimentation/resources/experiments/client/Client.js +25 -9
- package/dist/cjs/management/api/resources/experimentation/resources/featureFlags/client/Client.d.ts +10 -0
- package/dist/cjs/management/api/resources/experimentation/resources/featureFlags/client/Client.js +16 -5
- package/dist/cjs/management/api/resources/experimentation/resources/featureFlags/resources/variations/client/Client.d.ts +10 -0
- package/dist/cjs/management/api/resources/experimentation/resources/featureFlags/resources/variations/client/Client.js +18 -7
- package/dist/cjs/management/api/resources/experimentation/resources/segments/client/Client.d.ts +10 -0
- package/dist/cjs/management/api/resources/experimentation/resources/segments/client/Client.js +16 -5
- package/dist/cjs/management/api/resources/flows/client/Client.d.ts +10 -0
- package/dist/cjs/management/api/resources/flows/client/Client.js +23 -7
- package/dist/cjs/management/api/resources/flows/resources/executions/client/Client.d.ts +6 -0
- package/dist/cjs/management/api/resources/flows/resources/executions/client/Client.js +9 -3
- package/dist/cjs/management/api/resources/flows/resources/vault/resources/connections/client/Client.d.ts +10 -0
- package/dist/cjs/management/api/resources/flows/resources/vault/resources/connections/client/Client.js +23 -7
- package/dist/cjs/management/api/resources/forms/client/Client.d.ts +10 -0
- package/dist/cjs/management/api/resources/forms/client/Client.js +23 -7
- package/dist/cjs/management/api/resources/groups/client/Client.d.ts +6 -0
- package/dist/cjs/management/api/resources/groups/client/Client.js +8 -2
- package/dist/cjs/management/api/resources/groups/resources/members/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/groups/resources/members/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/groups/resources/roles/client/Client.d.ts +6 -0
- package/dist/cjs/management/api/resources/groups/resources/roles/client/Client.js +12 -5
- package/dist/cjs/management/api/resources/guardian/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/guardian/client/Client.js +6 -1
- package/dist/cjs/management/api/resources/guardian/resources/enrollments/client/Client.d.ts +6 -0
- package/dist/cjs/management/api/resources/guardian/resources/enrollments/client/Client.js +10 -3
- package/dist/cjs/management/api/resources/guardian/resources/factors/client/Client.d.ts +5 -1
- package/dist/cjs/management/api/resources/guardian/resources/factors/client/Client.js +8 -3
- package/dist/cjs/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/client/Client.d.ts +6 -0
- package/dist/cjs/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/client/Client.js +9 -2
- package/dist/cjs/management/api/resources/guardian/resources/factors/resources/email/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/guardian/resources/factors/resources/email/client/Client.js +6 -1
- package/dist/cjs/management/api/resources/guardian/resources/factors/resources/phone/client/Client.d.ts +20 -0
- package/dist/cjs/management/api/resources/guardian/resources/factors/resources/phone/client/Client.js +26 -5
- package/dist/cjs/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.d.ts +24 -0
- package/dist/cjs/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.js +34 -9
- package/dist/cjs/management/api/resources/guardian/resources/factors/resources/sms/client/Client.d.ts +12 -0
- package/dist/cjs/management/api/resources/guardian/resources/factors/resources/sms/client/Client.js +16 -3
- package/dist/cjs/management/api/resources/guardian/resources/policies/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/guardian/resources/policies/client/Client.js +6 -1
- package/dist/cjs/management/api/resources/hooks/client/Client.d.ts +10 -0
- package/dist/cjs/management/api/resources/hooks/client/Client.js +23 -7
- package/dist/cjs/management/api/resources/hooks/resources/secrets/client/Client.d.ts +8 -0
- package/dist/cjs/management/api/resources/hooks/resources/secrets/client/Client.js +16 -7
- package/dist/cjs/management/api/resources/jobs/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/jobs/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/jobs/resources/errors/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/jobs/resources/errors/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/jobs/resources/usersExports/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/jobs/resources/usersExports/client/Client.js +4 -1
- package/dist/cjs/management/api/resources/jobs/resources/usersImports/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/jobs/resources/usersImports/client/Client.js +2 -0
- package/dist/cjs/management/api/resources/jobs/resources/verificationEmail/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/jobs/resources/verificationEmail/client/Client.js +4 -1
- package/dist/cjs/management/api/resources/keys/resources/customSigning/client/Client.d.ts +6 -0
- package/dist/cjs/management/api/resources/keys/resources/customSigning/client/Client.js +8 -1
- package/dist/cjs/management/api/resources/keys/resources/encryption/client/Client.d.ts +14 -0
- package/dist/cjs/management/api/resources/keys/resources/encryption/client/Client.js +28 -8
- package/dist/cjs/management/api/resources/keys/resources/networkAcls/client/Client.d.ts +8 -0
- package/dist/cjs/management/api/resources/keys/resources/networkAcls/client/Client.js +12 -3
- package/dist/cjs/management/api/resources/keys/resources/signing/client/Client.d.ts +8 -0
- package/dist/cjs/management/api/resources/keys/resources/signing/client/Client.js +10 -2
- package/dist/cjs/management/api/resources/logStreams/client/Client.d.ts +10 -0
- package/dist/cjs/management/api/resources/logStreams/client/Client.js +16 -5
- package/dist/cjs/management/api/resources/logs/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/logs/client/Client.js +12 -3
- package/dist/cjs/management/api/resources/networkAcls/client/Client.d.ts +12 -0
- package/dist/cjs/management/api/resources/networkAcls/client/Client.js +27 -9
- package/dist/cjs/management/api/resources/organizations/client/Client.d.ts +14 -0
- package/dist/cjs/management/api/resources/organizations/client/Client.js +21 -6
- package/dist/cjs/management/api/resources/organizations/resources/clientGrants/client/Client.d.ts +6 -0
- package/dist/cjs/management/api/resources/organizations/resources/clientGrants/client/Client.js +18 -6
- package/dist/cjs/management/api/resources/organizations/resources/clients/client/Client.d.ts +10 -0
- package/dist/cjs/management/api/resources/organizations/resources/clients/client/Client.js +19 -8
- package/dist/cjs/management/api/resources/organizations/resources/connections/client/Client.d.ts +10 -0
- package/dist/cjs/management/api/resources/organizations/resources/connections/client/Client.js +25 -9
- package/dist/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.d.ts +12 -0
- package/dist/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.js +21 -8
- package/dist/cjs/management/api/resources/organizations/resources/enabledConnections/client/Client.d.ts +10 -0
- package/dist/cjs/management/api/resources/organizations/resources/enabledConnections/client/Client.js +25 -9
- package/dist/cjs/management/api/resources/organizations/resources/groups/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/client/Client.d.ts +6 -0
- package/dist/cjs/management/api/resources/organizations/resources/groups/resources/roles/client/Client.js +12 -5
- package/dist/cjs/management/api/resources/organizations/resources/invitations/client/Client.d.ts +8 -0
- package/dist/cjs/management/api/resources/organizations/resources/invitations/client/Client.js +21 -7
- package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.d.ts +6 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.js +12 -5
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/roles/client/Client.d.ts +6 -0
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/roles/client/Client.js +19 -7
- package/dist/cjs/management/api/resources/organizations/resources/roles/resources/groups/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/roles/resources/groups/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/organizations/resources/roles/resources/members/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/organizations/resources/roles/resources/members/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/prompts/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/prompts/client/Client.js +6 -1
- package/dist/cjs/management/api/resources/prompts/resources/customText/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/prompts/resources/customText/client/Client.js +8 -3
- package/dist/cjs/management/api/resources/prompts/resources/partials/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/prompts/resources/partials/client/Client.js +8 -3
- package/dist/cjs/management/api/resources/prompts/resources/rendering/client/Client.d.ts +8 -0
- package/dist/cjs/management/api/resources/prompts/resources/rendering/client/Client.js +20 -6
- package/dist/cjs/management/api/resources/rateLimitPolicies/client/Client.d.ts +10 -0
- package/dist/cjs/management/api/resources/rateLimitPolicies/client/Client.js +16 -5
- package/dist/cjs/management/api/resources/refreshTokens/client/Client.d.ts +10 -0
- package/dist/cjs/management/api/resources/refreshTokens/client/Client.js +16 -5
- package/dist/cjs/management/api/resources/resourceServers/client/Client.d.ts +12 -0
- package/dist/cjs/management/api/resources/resourceServers/client/Client.js +25 -7
- package/dist/cjs/management/api/resources/riskAssessments/resources/settings/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/riskAssessments/resources/settings/client/Client.js +6 -1
- package/dist/cjs/management/api/resources/riskAssessments/resources/settings/resources/newDevice/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/riskAssessments/resources/settings/resources/newDevice/client/Client.js +6 -1
- package/dist/cjs/management/api/resources/roles/client/Client.d.ts +10 -0
- package/dist/cjs/management/api/resources/roles/client/Client.js +23 -7
- package/dist/cjs/management/api/resources/roles/resources/groups/client/Client.d.ts +6 -0
- package/dist/cjs/management/api/resources/roles/resources/groups/client/Client.js +12 -5
- package/dist/cjs/management/api/resources/roles/resources/permissions/client/Client.d.ts +6 -0
- package/dist/cjs/management/api/resources/roles/resources/permissions/client/Client.js +19 -7
- package/dist/cjs/management/api/resources/roles/resources/users/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/roles/resources/users/client/Client.js +8 -3
- package/dist/cjs/management/api/resources/rules/client/Client.d.ts +10 -0
- package/dist/cjs/management/api/resources/rules/client/Client.js +23 -7
- package/dist/cjs/management/api/resources/rulesConfigs/client/Client.d.ts +6 -0
- package/dist/cjs/management/api/resources/rulesConfigs/client/Client.js +10 -3
- package/dist/cjs/management/api/resources/selfServiceProfiles/client/Client.d.ts +10 -0
- package/dist/cjs/management/api/resources/selfServiceProfiles/client/Client.js +23 -7
- package/dist/cjs/management/api/resources/selfServiceProfiles/resources/customText/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/selfServiceProfiles/resources/customText/client/Client.js +8 -3
- package/dist/cjs/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.js +8 -3
- package/dist/cjs/management/api/resources/sessions/client/Client.d.ts +8 -0
- package/dist/cjs/management/api/resources/sessions/client/Client.js +14 -5
- package/dist/cjs/management/api/resources/stats/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/stats/client/Client.js +4 -0
- package/dist/cjs/management/api/resources/supplementalSignals/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/supplementalSignals/client/Client.js +6 -1
- package/dist/cjs/management/api/resources/tenants/resources/settings/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/tenants/resources/settings/client/Client.js +6 -1
- package/dist/cjs/management/api/resources/tickets/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/tickets/client/Client.js +7 -2
- package/dist/cjs/management/api/resources/tokenExchangeProfiles/client/Client.d.ts +10 -0
- package/dist/cjs/management/api/resources/tokenExchangeProfiles/client/Client.js +16 -5
- package/dist/cjs/management/api/resources/userAttributeProfiles/client/Client.d.ts +14 -0
- package/dist/cjs/management/api/resources/userAttributeProfiles/client/Client.js +21 -6
- package/dist/cjs/management/api/resources/userBlocks/client/Client.d.ts +8 -0
- package/dist/cjs/management/api/resources/userBlocks/client/Client.js +10 -2
- package/dist/cjs/management/api/resources/userGrants/client/Client.d.ts +6 -0
- package/dist/cjs/management/api/resources/userGrants/client/Client.js +14 -3
- package/dist/cjs/management/api/resources/users/client/Client.d.ts +16 -0
- package/dist/cjs/management/api/resources/users/client/Client.js +32 -10
- package/dist/cjs/management/api/resources/users/resources/authenticationMethods/client/Client.d.ts +14 -0
- package/dist/cjs/management/api/resources/users/resources/authenticationMethods/client/Client.js +32 -12
- package/dist/cjs/management/api/resources/users/resources/authenticators/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/users/resources/authenticators/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/users/resources/connectedAccounts/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/users/resources/connectedAccounts/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/users/resources/enrollments/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/users/resources/enrollments/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/users/resources/groups/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/users/resources/groups/client/Client.js +3 -1
- package/dist/cjs/management/api/resources/users/resources/identities/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/users/resources/identities/client/Client.js +8 -3
- package/dist/cjs/management/api/resources/users/resources/logs/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/users/resources/logs/client/Client.js +10 -3
- package/dist/cjs/management/api/resources/users/resources/multifactor/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/users/resources/multifactor/client/Client.js +6 -2
- package/dist/cjs/management/api/resources/users/resources/organizations/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/users/resources/organizations/client/Client.js +10 -3
- package/dist/cjs/management/api/resources/users/resources/permissions/client/Client.d.ts +6 -0
- package/dist/cjs/management/api/resources/users/resources/permissions/client/Client.js +19 -7
- package/dist/cjs/management/api/resources/users/resources/refreshToken/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/users/resources/refreshToken/client/Client.js +6 -2
- package/dist/cjs/management/api/resources/users/resources/riskAssessments/client/Client.d.ts +2 -0
- package/dist/cjs/management/api/resources/users/resources/riskAssessments/client/Client.js +5 -2
- package/dist/cjs/management/api/resources/users/resources/roles/client/Client.d.ts +6 -0
- package/dist/cjs/management/api/resources/users/resources/roles/client/Client.js +19 -7
- package/dist/cjs/management/api/resources/users/resources/sessions/client/Client.d.ts +4 -0
- package/dist/cjs/management/api/resources/users/resources/sessions/client/Client.js +6 -2
- package/dist/cjs/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.d.ts +10 -0
- package/dist/cjs/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.js +16 -5
- package/dist/cjs/management/api/types/types.d.ts +75 -188
- package/dist/cjs/management/api/types/types.js +53 -32
- package/dist/cjs/management/core/fetcher/Fetcher.js +42 -95
- package/dist/cjs/management/core/fetcher/getErrorResponseBody.js +20 -7
- package/dist/cjs/management/core/fetcher/getResponseBody.d.ts +16 -0
- package/dist/cjs/management/core/fetcher/getResponseBody.js +27 -22
- package/dist/cjs/management/core/fetcher/makePassthroughRequest.js +46 -8
- package/dist/cjs/management/core/fetcher/makeRequest.d.ts +6 -1
- package/dist/cjs/management/core/fetcher/makeRequest.js +38 -5
- package/dist/cjs/management/core/fetcher/redactUrl.d.ts +2 -0
- package/dist/cjs/management/core/fetcher/redactUrl.js +88 -0
- package/dist/cjs/management/core/fetcher/requestWithRetries.d.ts +1 -1
- package/dist/cjs/management/core/fetcher/requestWithRetries.js +23 -2
- package/dist/cjs/management/core/fetcher/signals.d.ts +1 -0
- package/dist/cjs/management/core/fetcher/signals.js +3 -2
- package/dist/cjs/management/core/file/file.js +3 -0
- package/dist/cjs/management/core/form-data-utils/FormDataWrapper.js +3 -0
- package/dist/cjs/management/core/requestBody.d.ts +12 -0
- package/dist/cjs/management/core/requestBody.js +26 -0
- package/dist/cjs/management/core/runtime/index.d.ts +1 -1
- package/dist/cjs/management/core/runtime/index.js +2 -1
- package/dist/cjs/management/core/runtime/runtime.d.ts +19 -0
- package/dist/cjs/management/core/runtime/runtime.js +74 -2
- package/dist/cjs/management/core/stream/Stream.d.ts +48 -1
- package/dist/cjs/management/core/stream/Stream.js +330 -84
- package/dist/cjs/management/core/stream/index.d.ts +1 -0
- package/dist/cjs/management/core/url/encodePathParam.d.ts +3 -1
- package/dist/cjs/management/core/url/encodePathParam.js +8 -2
- package/dist/cjs/management/core/url/qs.js +2 -2
- package/dist/cjs/management/core/utils/setObjectProperty.d.ts +6 -5
- package/dist/cjs/management/core/utils/setObjectProperty.js +16 -10
- package/dist/cjs/management/errors/ManagementError.d.ts +1 -0
- package/dist/cjs/management/errors/ManagementError.js +18 -0
- package/dist/cjs/management/errors/ManagementTimeoutError.d.ts +2 -2
- package/dist/cjs/management/errors/ManagementTimeoutError.js +39 -5
- package/dist/cjs/management/version.d.ts +1 -1
- package/dist/cjs/management/version.js +1 -1
- package/dist/esm/management/BaseClient.d.mts +14 -0
- package/dist/esm/management/BaseClient.mjs +13 -1
- package/dist/esm/management/api/requests/requests.d.mts +4 -36
- package/dist/esm/management/api/resources/actions/client/Client.d.mts +14 -0
- package/dist/esm/management/api/resources/actions/client/Client.mjs +30 -10
- package/dist/esm/management/api/resources/actions/resources/executions/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/actions/resources/executions/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/actions/resources/modules/client/Client.d.mts +14 -0
- package/dist/esm/management/api/resources/actions/resources/modules/client/Client.mjs +37 -12
- package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/Client.d.mts +6 -0
- package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/Client.mjs +16 -5
- package/dist/esm/management/api/resources/actions/resources/triggers/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/actions/resources/triggers/client/Client.mjs +2 -0
- package/dist/esm/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.mjs +15 -5
- package/dist/esm/management/api/resources/actions/resources/versions/client/Client.d.mts +6 -0
- package/dist/esm/management/api/resources/actions/resources/versions/client/Client.mjs +18 -6
- package/dist/esm/management/api/resources/agents/client/Client.d.mts +10 -0
- package/dist/esm/management/api/resources/agents/client/Client.mjs +16 -5
- package/dist/esm/management/api/resources/anomaly/resources/blocks/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/anomaly/resources/blocks/client/Client.mjs +6 -2
- package/dist/esm/management/api/resources/attackProtection/client/Client.d.mts +0 -3
- package/dist/esm/management/api/resources/attackProtection/client/Client.mjs +0 -5
- package/dist/esm/management/api/resources/attackProtection/resources/botDetection/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/attackProtection/resources/botDetection/client/Client.mjs +6 -1
- package/dist/esm/management/api/resources/attackProtection/resources/breachedPasswordDetection/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/attackProtection/resources/breachedPasswordDetection/client/Client.mjs +6 -1
- package/dist/esm/management/api/resources/attackProtection/resources/bruteForceProtection/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/attackProtection/resources/bruteForceProtection/client/Client.mjs +6 -1
- package/dist/esm/management/api/resources/attackProtection/resources/captcha/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/attackProtection/resources/captcha/client/Client.mjs +6 -1
- package/dist/esm/management/api/resources/attackProtection/resources/index.d.mts +0 -1
- package/dist/esm/management/api/resources/attackProtection/resources/index.mjs +0 -1
- package/dist/esm/management/api/resources/attackProtection/resources/phoneProviderProtection/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/attackProtection/resources/phoneProviderProtection/client/Client.mjs +6 -1
- package/dist/esm/management/api/resources/attackProtection/resources/suspiciousIpThrottling/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/attackProtection/resources/suspiciousIpThrottling/client/Client.mjs +6 -1
- package/dist/esm/management/api/resources/branding/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/branding/client/Client.mjs +6 -1
- package/dist/esm/management/api/resources/branding/resources/phone/resources/providers/client/Client.d.mts +12 -0
- package/dist/esm/management/api/resources/branding/resources/phone/resources/providers/client/Client.mjs +20 -7
- package/dist/esm/management/api/resources/branding/resources/phone/resources/templates/client/Client.d.mts +14 -0
- package/dist/esm/management/api/resources/branding/resources/phone/resources/templates/client/Client.mjs +24 -9
- package/dist/esm/management/api/resources/branding/resources/templates/client/Client.d.mts +6 -0
- package/dist/esm/management/api/resources/branding/resources/templates/client/Client.mjs +8 -1
- package/dist/esm/management/api/resources/branding/resources/themes/client/Client.d.mts +10 -0
- package/dist/esm/management/api/resources/branding/resources/themes/client/Client.mjs +16 -5
- package/dist/esm/management/api/resources/clientGrants/client/Client.d.mts +12 -0
- package/dist/esm/management/api/resources/clientGrants/client/Client.mjs +18 -5
- package/dist/esm/management/api/resources/clientGrants/resources/organizations/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/clientGrants/resources/organizations/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/clientProfiles/client/Client.d.mts +10 -0
- package/dist/esm/management/api/resources/clientProfiles/client/Client.mjs +16 -5
- package/dist/esm/management/api/resources/clients/client/Client.d.mts +18 -0
- package/dist/esm/management/api/resources/clients/client/Client.mjs +34 -10
- package/dist/esm/management/api/resources/clients/resources/connections/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/clients/resources/connections/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/clients/resources/credentials/client/Client.d.mts +10 -0
- package/dist/esm/management/api/resources/clients/resources/credentials/client/Client.mjs +18 -7
- package/dist/esm/management/api/resources/connectionProfiles/client/Client.d.mts +14 -0
- package/dist/esm/management/api/resources/connectionProfiles/client/Client.mjs +21 -6
- package/dist/esm/management/api/resources/connections/client/Client.d.mts +12 -0
- package/dist/esm/management/api/resources/connections/client/Client.mjs +19 -6
- package/dist/esm/management/api/resources/connections/resources/clients/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/connections/resources/clients/client/Client.mjs +8 -3
- package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.d.mts +20 -0
- package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.mjs +35 -14
- package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/connections/resources/keys/client/Client.d.mts +6 -0
- package/dist/esm/management/api/resources/connections/resources/keys/client/Client.mjs +12 -5
- package/dist/esm/management/api/resources/connections/resources/scimConfiguration/client/Client.d.mts +12 -0
- package/dist/esm/management/api/resources/connections/resources/scimConfiguration/client/Client.mjs +20 -7
- package/dist/esm/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.d.mts +6 -0
- package/dist/esm/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.mjs +11 -4
- package/dist/esm/management/api/resources/connections/resources/users/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/connections/resources/users/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/customDomains/client/Client.d.mts +18 -0
- package/dist/esm/management/api/resources/customDomains/client/Client.mjs +27 -8
- package/dist/esm/management/api/resources/deviceCredentials/client/Client.d.mts +6 -0
- package/dist/esm/management/api/resources/deviceCredentials/client/Client.mjs +16 -4
- package/dist/esm/management/api/resources/emailTemplates/client/Client.d.mts +8 -0
- package/dist/esm/management/api/resources/emailTemplates/client/Client.mjs +15 -6
- package/dist/esm/management/api/resources/emails/resources/provider/client/Client.d.mts +8 -0
- package/dist/esm/management/api/resources/emails/resources/provider/client/Client.mjs +11 -2
- package/dist/esm/management/api/resources/eventStreams/client/Client.d.mts +12 -0
- package/dist/esm/management/api/resources/eventStreams/client/Client.mjs +20 -7
- package/dist/esm/management/api/resources/eventStreams/resources/deliveries/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/eventStreams/resources/deliveries/client/Client.mjs +6 -2
- package/dist/esm/management/api/resources/eventStreams/resources/redeliveries/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/eventStreams/resources/redeliveries/client/Client.mjs +8 -3
- package/dist/esm/management/api/resources/events/client/Client.mjs +31 -1
- package/dist/esm/management/api/resources/experimentation/resources/experiments/client/Client.d.mts +16 -1
- package/dist/esm/management/api/resources/experimentation/resources/experiments/client/Client.mjs +25 -9
- package/dist/esm/management/api/resources/experimentation/resources/featureFlags/client/Client.d.mts +10 -0
- package/dist/esm/management/api/resources/experimentation/resources/featureFlags/client/Client.mjs +16 -5
- package/dist/esm/management/api/resources/experimentation/resources/featureFlags/resources/variations/client/Client.d.mts +10 -0
- package/dist/esm/management/api/resources/experimentation/resources/featureFlags/resources/variations/client/Client.mjs +18 -7
- package/dist/esm/management/api/resources/experimentation/resources/segments/client/Client.d.mts +10 -0
- package/dist/esm/management/api/resources/experimentation/resources/segments/client/Client.mjs +16 -5
- package/dist/esm/management/api/resources/flows/client/Client.d.mts +10 -0
- package/dist/esm/management/api/resources/flows/client/Client.mjs +23 -7
- package/dist/esm/management/api/resources/flows/resources/executions/client/Client.d.mts +6 -0
- package/dist/esm/management/api/resources/flows/resources/executions/client/Client.mjs +9 -3
- package/dist/esm/management/api/resources/flows/resources/vault/resources/connections/client/Client.d.mts +10 -0
- package/dist/esm/management/api/resources/flows/resources/vault/resources/connections/client/Client.mjs +23 -7
- package/dist/esm/management/api/resources/forms/client/Client.d.mts +10 -0
- package/dist/esm/management/api/resources/forms/client/Client.mjs +23 -7
- package/dist/esm/management/api/resources/groups/client/Client.d.mts +6 -0
- package/dist/esm/management/api/resources/groups/client/Client.mjs +8 -2
- package/dist/esm/management/api/resources/groups/resources/members/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/groups/resources/members/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/groups/resources/roles/client/Client.d.mts +6 -0
- package/dist/esm/management/api/resources/groups/resources/roles/client/Client.mjs +12 -5
- package/dist/esm/management/api/resources/guardian/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/guardian/client/Client.mjs +6 -1
- package/dist/esm/management/api/resources/guardian/resources/enrollments/client/Client.d.mts +6 -0
- package/dist/esm/management/api/resources/guardian/resources/enrollments/client/Client.mjs +10 -3
- package/dist/esm/management/api/resources/guardian/resources/factors/client/Client.d.mts +5 -1
- package/dist/esm/management/api/resources/guardian/resources/factors/client/Client.mjs +8 -3
- package/dist/esm/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/client/Client.d.mts +6 -0
- package/dist/esm/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/client/Client.mjs +9 -2
- package/dist/esm/management/api/resources/guardian/resources/factors/resources/email/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/guardian/resources/factors/resources/email/client/Client.mjs +6 -1
- package/dist/esm/management/api/resources/guardian/resources/factors/resources/phone/client/Client.d.mts +20 -0
- package/dist/esm/management/api/resources/guardian/resources/factors/resources/phone/client/Client.mjs +26 -5
- package/dist/esm/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.d.mts +24 -0
- package/dist/esm/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.mjs +34 -9
- package/dist/esm/management/api/resources/guardian/resources/factors/resources/sms/client/Client.d.mts +12 -0
- package/dist/esm/management/api/resources/guardian/resources/factors/resources/sms/client/Client.mjs +16 -3
- package/dist/esm/management/api/resources/guardian/resources/policies/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/guardian/resources/policies/client/Client.mjs +6 -1
- package/dist/esm/management/api/resources/hooks/client/Client.d.mts +10 -0
- package/dist/esm/management/api/resources/hooks/client/Client.mjs +23 -7
- package/dist/esm/management/api/resources/hooks/resources/secrets/client/Client.d.mts +8 -0
- package/dist/esm/management/api/resources/hooks/resources/secrets/client/Client.mjs +16 -7
- package/dist/esm/management/api/resources/jobs/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/jobs/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/jobs/resources/errors/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/jobs/resources/errors/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/jobs/resources/usersExports/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/jobs/resources/usersExports/client/Client.mjs +4 -1
- package/dist/esm/management/api/resources/jobs/resources/usersImports/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/jobs/resources/usersImports/client/Client.mjs +2 -0
- package/dist/esm/management/api/resources/jobs/resources/verificationEmail/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/jobs/resources/verificationEmail/client/Client.mjs +4 -1
- package/dist/esm/management/api/resources/keys/resources/customSigning/client/Client.d.mts +6 -0
- package/dist/esm/management/api/resources/keys/resources/customSigning/client/Client.mjs +8 -1
- package/dist/esm/management/api/resources/keys/resources/encryption/client/Client.d.mts +14 -0
- package/dist/esm/management/api/resources/keys/resources/encryption/client/Client.mjs +28 -8
- package/dist/esm/management/api/resources/keys/resources/networkAcls/client/Client.d.mts +8 -0
- package/dist/esm/management/api/resources/keys/resources/networkAcls/client/Client.mjs +12 -3
- package/dist/esm/management/api/resources/keys/resources/signing/client/Client.d.mts +8 -0
- package/dist/esm/management/api/resources/keys/resources/signing/client/Client.mjs +10 -2
- package/dist/esm/management/api/resources/logStreams/client/Client.d.mts +10 -0
- package/dist/esm/management/api/resources/logStreams/client/Client.mjs +16 -5
- package/dist/esm/management/api/resources/logs/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/logs/client/Client.mjs +12 -3
- package/dist/esm/management/api/resources/networkAcls/client/Client.d.mts +12 -0
- package/dist/esm/management/api/resources/networkAcls/client/Client.mjs +27 -9
- package/dist/esm/management/api/resources/organizations/client/Client.d.mts +14 -0
- package/dist/esm/management/api/resources/organizations/client/Client.mjs +21 -6
- package/dist/esm/management/api/resources/organizations/resources/clientGrants/client/Client.d.mts +6 -0
- package/dist/esm/management/api/resources/organizations/resources/clientGrants/client/Client.mjs +18 -6
- package/dist/esm/management/api/resources/organizations/resources/clients/client/Client.d.mts +10 -0
- package/dist/esm/management/api/resources/organizations/resources/clients/client/Client.mjs +19 -8
- package/dist/esm/management/api/resources/organizations/resources/connections/client/Client.d.mts +10 -0
- package/dist/esm/management/api/resources/organizations/resources/connections/client/Client.mjs +25 -9
- package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.d.mts +12 -0
- package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.mjs +21 -8
- package/dist/esm/management/api/resources/organizations/resources/enabledConnections/client/Client.d.mts +10 -0
- package/dist/esm/management/api/resources/organizations/resources/enabledConnections/client/Client.mjs +25 -9
- package/dist/esm/management/api/resources/organizations/resources/groups/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/organizations/resources/groups/resources/roles/client/Client.d.mts +6 -0
- package/dist/esm/management/api/resources/organizations/resources/groups/resources/roles/client/Client.mjs +12 -5
- package/dist/esm/management/api/resources/organizations/resources/invitations/client/Client.d.mts +8 -0
- package/dist/esm/management/api/resources/organizations/resources/invitations/client/Client.mjs +21 -7
- package/dist/esm/management/api/resources/organizations/resources/members/client/Client.d.mts +6 -0
- package/dist/esm/management/api/resources/organizations/resources/members/client/Client.mjs +12 -5
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/effectiveRoles/resources/sources/resources/groups/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/organizations/resources/members/resources/roles/client/Client.d.mts +6 -0
- package/dist/esm/management/api/resources/organizations/resources/members/resources/roles/client/Client.mjs +19 -7
- package/dist/esm/management/api/resources/organizations/resources/roles/resources/groups/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/resources/groups/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/organizations/resources/roles/resources/members/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/organizations/resources/roles/resources/members/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/prompts/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/prompts/client/Client.mjs +6 -1
- package/dist/esm/management/api/resources/prompts/resources/customText/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/prompts/resources/customText/client/Client.mjs +8 -3
- package/dist/esm/management/api/resources/prompts/resources/partials/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/prompts/resources/partials/client/Client.mjs +8 -3
- package/dist/esm/management/api/resources/prompts/resources/rendering/client/Client.d.mts +8 -0
- package/dist/esm/management/api/resources/prompts/resources/rendering/client/Client.mjs +20 -6
- package/dist/esm/management/api/resources/rateLimitPolicies/client/Client.d.mts +10 -0
- package/dist/esm/management/api/resources/rateLimitPolicies/client/Client.mjs +16 -5
- package/dist/esm/management/api/resources/refreshTokens/client/Client.d.mts +10 -0
- package/dist/esm/management/api/resources/refreshTokens/client/Client.mjs +16 -5
- package/dist/esm/management/api/resources/resourceServers/client/Client.d.mts +12 -0
- package/dist/esm/management/api/resources/resourceServers/client/Client.mjs +25 -7
- package/dist/esm/management/api/resources/riskAssessments/resources/settings/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/riskAssessments/resources/settings/client/Client.mjs +6 -1
- package/dist/esm/management/api/resources/riskAssessments/resources/settings/resources/newDevice/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/riskAssessments/resources/settings/resources/newDevice/client/Client.mjs +6 -1
- package/dist/esm/management/api/resources/roles/client/Client.d.mts +10 -0
- package/dist/esm/management/api/resources/roles/client/Client.mjs +23 -7
- package/dist/esm/management/api/resources/roles/resources/groups/client/Client.d.mts +6 -0
- package/dist/esm/management/api/resources/roles/resources/groups/client/Client.mjs +12 -5
- package/dist/esm/management/api/resources/roles/resources/permissions/client/Client.d.mts +6 -0
- package/dist/esm/management/api/resources/roles/resources/permissions/client/Client.mjs +19 -7
- package/dist/esm/management/api/resources/roles/resources/users/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/roles/resources/users/client/Client.mjs +8 -3
- package/dist/esm/management/api/resources/rules/client/Client.d.mts +10 -0
- package/dist/esm/management/api/resources/rules/client/Client.mjs +23 -7
- package/dist/esm/management/api/resources/rulesConfigs/client/Client.d.mts +6 -0
- package/dist/esm/management/api/resources/rulesConfigs/client/Client.mjs +10 -3
- package/dist/esm/management/api/resources/selfServiceProfiles/client/Client.d.mts +10 -0
- package/dist/esm/management/api/resources/selfServiceProfiles/client/Client.mjs +23 -7
- package/dist/esm/management/api/resources/selfServiceProfiles/resources/customText/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/selfServiceProfiles/resources/customText/client/Client.mjs +8 -3
- package/dist/esm/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.mjs +8 -3
- package/dist/esm/management/api/resources/sessions/client/Client.d.mts +8 -0
- package/dist/esm/management/api/resources/sessions/client/Client.mjs +14 -5
- package/dist/esm/management/api/resources/stats/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/stats/client/Client.mjs +4 -0
- package/dist/esm/management/api/resources/supplementalSignals/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/supplementalSignals/client/Client.mjs +6 -1
- package/dist/esm/management/api/resources/tenants/resources/settings/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/tenants/resources/settings/client/Client.mjs +6 -1
- package/dist/esm/management/api/resources/tickets/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/tickets/client/Client.mjs +7 -2
- package/dist/esm/management/api/resources/tokenExchangeProfiles/client/Client.d.mts +10 -0
- package/dist/esm/management/api/resources/tokenExchangeProfiles/client/Client.mjs +16 -5
- package/dist/esm/management/api/resources/userAttributeProfiles/client/Client.d.mts +14 -0
- package/dist/esm/management/api/resources/userAttributeProfiles/client/Client.mjs +21 -6
- package/dist/esm/management/api/resources/userBlocks/client/Client.d.mts +8 -0
- package/dist/esm/management/api/resources/userBlocks/client/Client.mjs +10 -2
- package/dist/esm/management/api/resources/userGrants/client/Client.d.mts +6 -0
- package/dist/esm/management/api/resources/userGrants/client/Client.mjs +14 -3
- package/dist/esm/management/api/resources/users/client/Client.d.mts +16 -0
- package/dist/esm/management/api/resources/users/client/Client.mjs +32 -10
- package/dist/esm/management/api/resources/users/resources/authenticationMethods/client/Client.d.mts +14 -0
- package/dist/esm/management/api/resources/users/resources/authenticationMethods/client/Client.mjs +32 -12
- package/dist/esm/management/api/resources/users/resources/authenticators/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/users/resources/authenticators/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/users/resources/connectedAccounts/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/users/resources/connectedAccounts/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/users/resources/effectivePermissions/resources/sources/resources/roles/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/users/resources/effectiveRoles/resources/sources/resources/groups/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/users/resources/enrollments/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/users/resources/enrollments/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/users/resources/groups/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/users/resources/groups/client/Client.mjs +3 -1
- package/dist/esm/management/api/resources/users/resources/identities/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/users/resources/identities/client/Client.mjs +8 -3
- package/dist/esm/management/api/resources/users/resources/logs/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/users/resources/logs/client/Client.mjs +10 -3
- package/dist/esm/management/api/resources/users/resources/multifactor/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/users/resources/multifactor/client/Client.mjs +6 -2
- package/dist/esm/management/api/resources/users/resources/organizations/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/users/resources/organizations/client/Client.mjs +10 -3
- package/dist/esm/management/api/resources/users/resources/permissions/client/Client.d.mts +6 -0
- package/dist/esm/management/api/resources/users/resources/permissions/client/Client.mjs +19 -7
- package/dist/esm/management/api/resources/users/resources/refreshToken/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/users/resources/refreshToken/client/Client.mjs +6 -2
- package/dist/esm/management/api/resources/users/resources/riskAssessments/client/Client.d.mts +2 -0
- package/dist/esm/management/api/resources/users/resources/riskAssessments/client/Client.mjs +5 -2
- package/dist/esm/management/api/resources/users/resources/roles/client/Client.d.mts +6 -0
- package/dist/esm/management/api/resources/users/resources/roles/client/Client.mjs +19 -7
- package/dist/esm/management/api/resources/users/resources/sessions/client/Client.d.mts +4 -0
- package/dist/esm/management/api/resources/users/resources/sessions/client/Client.mjs +6 -2
- package/dist/esm/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.d.mts +10 -0
- package/dist/esm/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.mjs +16 -5
- package/dist/esm/management/api/types/types.d.mts +75 -188
- package/dist/esm/management/api/types/types.mjs +32 -11
- package/dist/esm/management/core/fetcher/Fetcher.mjs +36 -89
- package/dist/esm/management/core/fetcher/getErrorResponseBody.mjs +21 -8
- package/dist/esm/management/core/fetcher/getResponseBody.d.mts +16 -0
- package/dist/esm/management/core/fetcher/getResponseBody.mjs +26 -22
- package/dist/esm/management/core/fetcher/makePassthroughRequest.mjs +46 -8
- package/dist/esm/management/core/fetcher/makeRequest.d.mts +6 -1
- package/dist/esm/management/core/fetcher/makeRequest.mjs +38 -6
- package/dist/esm/management/core/fetcher/redactUrl.d.mts +2 -0
- package/dist/esm/management/core/fetcher/redactUrl.mjs +84 -0
- package/dist/esm/management/core/fetcher/requestWithRetries.d.mts +1 -1
- package/dist/esm/management/core/fetcher/requestWithRetries.mjs +23 -2
- package/dist/esm/management/core/fetcher/signals.d.mts +1 -0
- package/dist/esm/management/core/fetcher/signals.mjs +1 -1
- package/dist/esm/management/core/file/file.mjs +3 -0
- package/dist/esm/management/core/form-data-utils/FormDataWrapper.mjs +3 -0
- package/dist/esm/management/core/requestBody.d.mts +12 -0
- package/dist/esm/management/core/requestBody.mjs +23 -0
- package/dist/esm/management/core/runtime/index.d.mts +1 -1
- package/dist/esm/management/core/runtime/index.mjs +1 -1
- package/dist/esm/management/core/runtime/runtime.d.mts +19 -0
- package/dist/esm/management/core/runtime/runtime.mjs +73 -2
- package/dist/esm/management/core/stream/Stream.d.mts +48 -1
- package/dist/esm/management/core/stream/Stream.mjs +330 -84
- package/dist/esm/management/core/stream/index.d.mts +1 -0
- package/dist/esm/management/core/url/encodePathParam.d.mts +3 -1
- package/dist/esm/management/core/url/encodePathParam.mjs +8 -2
- package/dist/esm/management/core/url/qs.mjs +2 -2
- package/dist/esm/management/core/utils/setObjectProperty.d.mts +6 -5
- package/dist/esm/management/core/utils/setObjectProperty.mjs +16 -10
- package/dist/esm/management/errors/ManagementError.d.mts +1 -0
- package/dist/esm/management/errors/ManagementError.mjs +18 -0
- package/dist/esm/management/errors/ManagementTimeoutError.d.mts +2 -2
- package/dist/esm/management/errors/ManagementTimeoutError.mjs +6 -5
- package/dist/esm/management/version.d.mts +1 -1
- package/dist/esm/management/version.mjs +1 -1
- package/package.json +1 -12
- package/reference.md +84 -405
- package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/client/Client.d.ts +0 -105
- package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/client/Client.js +0 -388
- package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/client/index.d.ts +0 -1
- package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/client/index.js +0 -2
- package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/exports.d.ts +0 -2
- package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/exports.js +0 -21
- package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/index.d.ts +0 -1
- package/dist/cjs/management/api/resources/attackProtection/resources/captchaPolicies/index.js +0 -17
- package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/client/Client.d.mts +0 -105
- package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/client/Client.mjs +0 -351
- package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/client/index.d.mts +0 -1
- package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/client/index.mjs +0 -1
- package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/exports.d.mts +0 -2
- package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/exports.mjs +0 -3
- package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/index.d.mts +0 -1
- package/dist/esm/management/api/resources/attackProtection/resources/captchaPolicies/index.mjs +0 -1
|
@@ -1445,60 +1445,6 @@ export interface AttackProtectionCaptchaHcaptchaResponseContent {
|
|
|
1445
1445
|
/** Accepts any additional properties */
|
|
1446
1446
|
[key: string]: any;
|
|
1447
1447
|
}
|
|
1448
|
-
/**
|
|
1449
|
-
* An attack protection policy override for CAPTCHA.
|
|
1450
|
-
*/
|
|
1451
|
-
export interface AttackProtectionCaptchaPolicy {
|
|
1452
|
-
/** System-generated identifier for the policy. */
|
|
1453
|
-
id: string;
|
|
1454
|
-
/** Human-readable policy name. */
|
|
1455
|
-
name: string;
|
|
1456
|
-
/** Description of the policy's purpose. */
|
|
1457
|
-
description?: string | undefined;
|
|
1458
|
-
/** Conflict resolution order. Lower number takes higher precedence. */
|
|
1459
|
-
priority: number;
|
|
1460
|
-
match: Management.AttackProtectionCaptchaPolicyMatch;
|
|
1461
|
-
action: Management.AttackProtectionCaptchaPolicyAction;
|
|
1462
|
-
/** ISO 8601 timestamp when the policy was created. */
|
|
1463
|
-
created_at: string;
|
|
1464
|
-
/** ISO 8601 timestamp when the policy was last updated. */
|
|
1465
|
-
updated_at: string;
|
|
1466
|
-
}
|
|
1467
|
-
/**
|
|
1468
|
-
* CAPTCHA configuration override stored for this policy.
|
|
1469
|
-
*/
|
|
1470
|
-
export interface AttackProtectionCaptchaPolicyAction {
|
|
1471
|
-
active_provider_id?: Management.CaptchaActiveProviderEnum | undefined;
|
|
1472
|
-
simple_captcha?: Management.CaptchaPolicyActionSimpleCaptcha | undefined;
|
|
1473
|
-
auth_challenge?: Management.CaptchaPolicyActionAuthChallenge | undefined;
|
|
1474
|
-
recaptcha_v2?: Management.CaptchaPolicyActionRecaptchaV2 | undefined;
|
|
1475
|
-
recaptcha_enterprise?: Management.CaptchaPolicyActionRecaptchaEnterprise | undefined;
|
|
1476
|
-
hcaptcha?: Management.CaptchaPolicyActionHcaptcha | undefined;
|
|
1477
|
-
friendly_captcha?: Management.CaptchaPolicyActionFriendlyCaptcha | undefined;
|
|
1478
|
-
arkose?: Management.CaptchaPolicyActionArkose | undefined;
|
|
1479
|
-
}
|
|
1480
|
-
/**
|
|
1481
|
-
* CAPTCHA configuration override for this policy.
|
|
1482
|
-
*/
|
|
1483
|
-
export interface AttackProtectionCaptchaPolicyActionInput {
|
|
1484
|
-
active_provider_id?: Management.CaptchaActiveProviderEnum | undefined;
|
|
1485
|
-
simple_captcha?: Management.CaptchaPolicyActionSimpleCaptcha | undefined;
|
|
1486
|
-
auth_challenge?: Management.CaptchaPolicyActionAuthChallenge | undefined;
|
|
1487
|
-
recaptcha_v2?: Management.CaptchaPolicyActionRecaptchaV2Input | undefined;
|
|
1488
|
-
recaptcha_enterprise?: Management.CaptchaPolicyActionRecaptchaEnterpriseInput | undefined;
|
|
1489
|
-
hcaptcha?: Management.CaptchaPolicyActionHcaptchaInput | undefined;
|
|
1490
|
-
friendly_captcha?: Management.CaptchaPolicyActionFriendlyCaptchaInput | undefined;
|
|
1491
|
-
arkose?: Management.CaptchaPolicyActionArkoseInput | undefined;
|
|
1492
|
-
}
|
|
1493
|
-
/**
|
|
1494
|
-
* Traffic matching criteria for the policy. Exactly one of auth0_managed or geo_country_codes must be specified.
|
|
1495
|
-
*/
|
|
1496
|
-
export interface AttackProtectionCaptchaPolicyMatch {
|
|
1497
|
-
/** Match by Auth0-managed traffic identifiers. */
|
|
1498
|
-
auth0_managed?: string[] | undefined;
|
|
1499
|
-
/** Match by ISO 3166-1 alpha-2 country codes. */
|
|
1500
|
-
geo_country_codes?: string[] | undefined;
|
|
1501
|
-
}
|
|
1502
1448
|
/** The id of the active provider for the CAPTCHA. */
|
|
1503
1449
|
export declare const AttackProtectionCaptchaProviderId: {
|
|
1504
1450
|
readonly Arkose: "arkose";
|
|
@@ -2011,125 +1957,6 @@ export interface BulkUpdateAculResponseContent {
|
|
|
2011
1957
|
/** Accepts any additional properties */
|
|
2012
1958
|
[key: string]: any;
|
|
2013
1959
|
}
|
|
2014
|
-
/** The CAPTCHA provider type. */
|
|
2015
|
-
export declare const CaptchaActiveProviderEnum: {
|
|
2016
|
-
readonly SimpleCaptcha: "simple_captcha";
|
|
2017
|
-
readonly AuthChallenge: "auth_challenge";
|
|
2018
|
-
readonly RecaptchaV2: "recaptcha_v2";
|
|
2019
|
-
readonly RecaptchaEnterprise: "recaptcha_enterprise";
|
|
2020
|
-
readonly Hcaptcha: "hcaptcha";
|
|
2021
|
-
readonly FriendlyCaptcha: "friendly_captcha";
|
|
2022
|
-
readonly Arkose: "arkose";
|
|
2023
|
-
};
|
|
2024
|
-
export type CaptchaActiveProviderEnum = (typeof CaptchaActiveProviderEnum)[keyof typeof CaptchaActiveProviderEnum];
|
|
2025
|
-
/**
|
|
2026
|
-
* Arkose Labs provider configuration.
|
|
2027
|
-
*/
|
|
2028
|
-
export interface CaptchaPolicyActionArkose {
|
|
2029
|
-
/** The Arkose Labs site key. */
|
|
2030
|
-
site_key?: string | undefined;
|
|
2031
|
-
/** The Arkose Labs client subdomain. */
|
|
2032
|
-
client_subdomain?: string | undefined;
|
|
2033
|
-
/** The Arkose Labs verify subdomain. */
|
|
2034
|
-
verify_subdomain?: string | undefined;
|
|
2035
|
-
/** Whether to allow access when Arkose Labs is unavailable. */
|
|
2036
|
-
fail_open?: boolean | undefined;
|
|
2037
|
-
}
|
|
2038
|
-
/**
|
|
2039
|
-
* Arkose Labs provider configuration.
|
|
2040
|
-
*/
|
|
2041
|
-
export interface CaptchaPolicyActionArkoseInput {
|
|
2042
|
-
/** The Arkose Labs site key. */
|
|
2043
|
-
site_key?: string | undefined;
|
|
2044
|
-
/** The Arkose Labs private key. Encrypted at rest. */
|
|
2045
|
-
secret?: string | undefined;
|
|
2046
|
-
/** The Arkose Labs client subdomain. */
|
|
2047
|
-
client_subdomain?: string | undefined;
|
|
2048
|
-
/** The Arkose Labs verify subdomain. */
|
|
2049
|
-
verify_subdomain?: string | undefined;
|
|
2050
|
-
/** Whether to allow access when Arkose Labs is unavailable. */
|
|
2051
|
-
fail_open?: boolean | undefined;
|
|
2052
|
-
}
|
|
2053
|
-
/**
|
|
2054
|
-
* Auth Challenge CAPTCHA provider configuration.
|
|
2055
|
-
*/
|
|
2056
|
-
export interface CaptchaPolicyActionAuthChallenge {
|
|
2057
|
-
/** Whether to allow access when the challenge provider is unavailable. */
|
|
2058
|
-
fail_open?: boolean | undefined;
|
|
2059
|
-
}
|
|
2060
|
-
/**
|
|
2061
|
-
* Friendly Captcha provider configuration.
|
|
2062
|
-
*/
|
|
2063
|
-
export interface CaptchaPolicyActionFriendlyCaptcha {
|
|
2064
|
-
/** The Friendly Captcha site key. */
|
|
2065
|
-
site_key?: string | undefined;
|
|
2066
|
-
}
|
|
2067
|
-
/**
|
|
2068
|
-
* Friendly Captcha provider configuration.
|
|
2069
|
-
*/
|
|
2070
|
-
export interface CaptchaPolicyActionFriendlyCaptchaInput {
|
|
2071
|
-
/** The Friendly Captcha site key. */
|
|
2072
|
-
site_key?: string | undefined;
|
|
2073
|
-
/** The Friendly Captcha secret key. Encrypted at rest. */
|
|
2074
|
-
secret?: string | undefined;
|
|
2075
|
-
}
|
|
2076
|
-
/**
|
|
2077
|
-
* hCaptcha provider configuration.
|
|
2078
|
-
*/
|
|
2079
|
-
export interface CaptchaPolicyActionHcaptcha {
|
|
2080
|
-
/** The hCaptcha site key. */
|
|
2081
|
-
site_key?: string | undefined;
|
|
2082
|
-
}
|
|
2083
|
-
/**
|
|
2084
|
-
* hCaptcha provider configuration.
|
|
2085
|
-
*/
|
|
2086
|
-
export interface CaptchaPolicyActionHcaptchaInput {
|
|
2087
|
-
/** The hCaptcha site key. */
|
|
2088
|
-
site_key?: string | undefined;
|
|
2089
|
-
/** The hCaptcha secret key. Encrypted at rest. */
|
|
2090
|
-
secret?: string | undefined;
|
|
2091
|
-
}
|
|
2092
|
-
/**
|
|
2093
|
-
* reCAPTCHA Enterprise provider configuration.
|
|
2094
|
-
*/
|
|
2095
|
-
export interface CaptchaPolicyActionRecaptchaEnterprise {
|
|
2096
|
-
/** The reCAPTCHA Enterprise site key. */
|
|
2097
|
-
site_key?: string | undefined;
|
|
2098
|
-
/** The Google Cloud project ID. */
|
|
2099
|
-
project_id?: string | undefined;
|
|
2100
|
-
}
|
|
2101
|
-
/**
|
|
2102
|
-
* reCAPTCHA Enterprise provider configuration.
|
|
2103
|
-
*/
|
|
2104
|
-
export interface CaptchaPolicyActionRecaptchaEnterpriseInput {
|
|
2105
|
-
/** The reCAPTCHA Enterprise site key. */
|
|
2106
|
-
site_key?: string | undefined;
|
|
2107
|
-
/** The Google Cloud project ID. */
|
|
2108
|
-
project_id?: string | undefined;
|
|
2109
|
-
/** The reCAPTCHA Enterprise API key. Encrypted at rest. */
|
|
2110
|
-
api_key?: string | undefined;
|
|
2111
|
-
}
|
|
2112
|
-
/**
|
|
2113
|
-
* reCAPTCHA v2 provider configuration.
|
|
2114
|
-
*/
|
|
2115
|
-
export interface CaptchaPolicyActionRecaptchaV2 {
|
|
2116
|
-
/** The reCAPTCHA v2 site key. */
|
|
2117
|
-
site_key?: string | undefined;
|
|
2118
|
-
}
|
|
2119
|
-
/**
|
|
2120
|
-
* reCAPTCHA v2 provider configuration.
|
|
2121
|
-
*/
|
|
2122
|
-
export interface CaptchaPolicyActionRecaptchaV2Input {
|
|
2123
|
-
/** The reCAPTCHA v2 site key. */
|
|
2124
|
-
site_key?: string | undefined;
|
|
2125
|
-
/** The reCAPTCHA v2 secret key. Encrypted at rest. */
|
|
2126
|
-
secret?: string | undefined;
|
|
2127
|
-
}
|
|
2128
|
-
/**
|
|
2129
|
-
* Simple CAPTCHA provider configuration.
|
|
2130
|
-
*/
|
|
2131
|
-
export interface CaptchaPolicyActionSimpleCaptcha {
|
|
2132
|
-
}
|
|
2133
1960
|
export interface CertificateSubjectDnCredential {
|
|
2134
1961
|
credential_type: Management.CertificateSubjectDnCredentialTypeEnum;
|
|
2135
1962
|
/** Friendly name for a credential. */
|
|
@@ -6301,7 +6128,7 @@ export interface ConnectionPropertiesOptions {
|
|
|
6301
6128
|
/** Enable this if you have a legacy user store and you want to gradually migrate those users to the Auth0 user store */
|
|
6302
6129
|
import_mode?: boolean | undefined;
|
|
6303
6130
|
/** Stores encrypted string only configurations for connections */
|
|
6304
|
-
configuration?: (Record<string, string | null> | null) | undefined;
|
|
6131
|
+
configuration?: (Record<string, (string | null) | undefined> | null) | undefined;
|
|
6305
6132
|
customScripts?: Management.ConnectionCustomScripts | undefined;
|
|
6306
6133
|
authentication_methods?: (Management.ConnectionAuthenticationMethods | null) | undefined;
|
|
6307
6134
|
passkey_options?: (Management.ConnectionPasskeyOptions | null) | undefined;
|
|
@@ -7611,7 +7438,7 @@ export type ConnectionUpstreamAliasEnum = (typeof ConnectionUpstreamAliasEnum)[k
|
|
|
7611
7438
|
/**
|
|
7612
7439
|
* Options for adding parameters in the request to the upstream IdP
|
|
7613
7440
|
*/
|
|
7614
|
-
export type ConnectionUpstreamParams = (Record<string, Management.ConnectionUpstreamAdditionalProperties | null> | null) | undefined;
|
|
7441
|
+
export type ConnectionUpstreamParams = (Record<string, (Management.ConnectionUpstreamAdditionalProperties | null) | undefined> | null) | undefined;
|
|
7615
7442
|
/**
|
|
7616
7443
|
* Options for adding parameters in the request to the upstream IdP. See https://auth0.com/docs/authenticate/identity-providers/pass-parameters-to-idps
|
|
7617
7444
|
*/
|
|
@@ -7688,7 +7515,7 @@ export type ConnectionsDiscoveryUrl = (string | null) | undefined;
|
|
|
7688
7515
|
/**
|
|
7689
7516
|
* Metadata associated with the connection in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed.
|
|
7690
7517
|
*/
|
|
7691
|
-
export type ConnectionsMetadata = Record<string, string | null>;
|
|
7518
|
+
export type ConnectionsMetadata = Record<string, (string | null) | undefined>;
|
|
7692
7519
|
/**
|
|
7693
7520
|
* Additional OIDC metadata to include in the discovery document. Only applicable when strategy=oidc, okta, or samlp.
|
|
7694
7521
|
*/
|
|
@@ -8993,6 +8820,7 @@ export interface CreateExperimentResponseContent {
|
|
|
8993
8820
|
authentication_flow: string;
|
|
8994
8821
|
allocation_strategy: Management.AllocationStrategyEnum;
|
|
8995
8822
|
status: Management.ExperimentStatusEnum;
|
|
8823
|
+
/** Whether the experiment is valid and ready to activate, as of its last update. It can lag changes made later to related entities. Call POST /experiments/{id}/validate for the current result. */
|
|
8996
8824
|
is_valid: boolean;
|
|
8997
8825
|
default_config?: Management.DefaultConfigEnum | undefined;
|
|
8998
8826
|
feature_flag_snapshot?: (Record<string, unknown> | null) | undefined;
|
|
@@ -10440,7 +10268,7 @@ export type DomainCertificateStatusEnum = (typeof DomainCertificateStatusEnum)[k
|
|
|
10440
10268
|
/**
|
|
10441
10269
|
* Domain metadata associated with the custom domain, in the form of an object with string values (max 255 chars). Maximum of 10 domain metadata properties allowed.
|
|
10442
10270
|
*/
|
|
10443
|
-
export type DomainMetadata = Record<string, string | null>;
|
|
10271
|
+
export type DomainMetadata = Record<string, (string | null) | undefined>;
|
|
10444
10272
|
/**
|
|
10445
10273
|
* Domain verification settings.
|
|
10446
10274
|
*/
|
|
@@ -19274,6 +19102,7 @@ export interface EventStreamCloudEventContext {
|
|
|
19274
19102
|
connection?: Management.EventStreamCloudEventContextConnection | undefined;
|
|
19275
19103
|
request?: Management.EventStreamCloudEventContextRequest | undefined;
|
|
19276
19104
|
tenant: Management.EventStreamCloudEventContextTenant;
|
|
19105
|
+
transaction?: Management.EventStreamCloudEventContextTransaction | undefined;
|
|
19277
19106
|
}
|
|
19278
19107
|
/**
|
|
19279
19108
|
* The OAuth Client requesting or presenting an access token.
|
|
@@ -19346,6 +19175,64 @@ export interface EventStreamCloudEventContextTenant {
|
|
|
19346
19175
|
/** User-provided tenant identifier. */
|
|
19347
19176
|
id: string;
|
|
19348
19177
|
}
|
|
19178
|
+
/**
|
|
19179
|
+
* An auth transaction.
|
|
19180
|
+
*/
|
|
19181
|
+
export interface EventStreamCloudEventContextTransaction {
|
|
19182
|
+
/** acr_values in the request. */
|
|
19183
|
+
acr_values: string[];
|
|
19184
|
+
/** The locale used for this transaction. */
|
|
19185
|
+
locale: string;
|
|
19186
|
+
/** Hint about the login identifier the user might use in this transaction. */
|
|
19187
|
+
login_hint?: string | undefined;
|
|
19188
|
+
/** Instructions indicating whether the user may be prompted for re-authentication and consent. */
|
|
19189
|
+
prompt?: string[] | undefined;
|
|
19190
|
+
protocol?: Management.EventStreamCloudEventContextTransactionProtocolEnum | undefined;
|
|
19191
|
+
/** The URL to which the client will be redirected when the transaction completes. */
|
|
19192
|
+
redirect_uri?: string | undefined;
|
|
19193
|
+
/** The scopes requested. */
|
|
19194
|
+
requested_scopes: string[];
|
|
19195
|
+
response_mode?: Management.EventStreamCloudEventContextTransactionResponseModeEnum | undefined;
|
|
19196
|
+
/** The kind of credential issued by this transaction. */
|
|
19197
|
+
response_type?: Management.EventStreamCloudEventContextTransactionResponseTypeItemEnum[] | undefined;
|
|
19198
|
+
/** The OAuth state parameter for this transaction. */
|
|
19199
|
+
state?: string | undefined;
|
|
19200
|
+
/** The ui_locales requested for this transaction. */
|
|
19201
|
+
ui_locales: string[];
|
|
19202
|
+
}
|
|
19203
|
+
/** The protocol used for this transaction. */
|
|
19204
|
+
export declare const EventStreamCloudEventContextTransactionProtocolEnum: {
|
|
19205
|
+
readonly OidcBasicProfile: "oidc-basic-profile";
|
|
19206
|
+
readonly OidcImplicitProfile: "oidc-implicit-profile";
|
|
19207
|
+
readonly Oauth2DeviceCode: "oauth2-device-code";
|
|
19208
|
+
readonly Oauth2ResourceOwner: "oauth2-resource-owner";
|
|
19209
|
+
readonly Oauth2ResourceOwnerJwtBearer: "oauth2-resource-owner-jwt-bearer";
|
|
19210
|
+
readonly Oauth2Password: "oauth2-password";
|
|
19211
|
+
readonly Oauth2Webauthn: "oauth2-webauthn";
|
|
19212
|
+
readonly Oauth2AccessToken: "oauth2-access-token";
|
|
19213
|
+
readonly Oauth2RefreshToken: "oauth2-refresh-token";
|
|
19214
|
+
readonly Oauth2TokenExchange: "oauth2-token-exchange";
|
|
19215
|
+
readonly OidcHybridProfile: "oidc-hybrid-profile";
|
|
19216
|
+
readonly Samlp: "samlp";
|
|
19217
|
+
readonly Wsfed: "wsfed";
|
|
19218
|
+
readonly WstrustUsernamemixed: "wstrust-usernamemixed";
|
|
19219
|
+
};
|
|
19220
|
+
export type EventStreamCloudEventContextTransactionProtocolEnum = (typeof EventStreamCloudEventContextTransactionProtocolEnum)[keyof typeof EventStreamCloudEventContextTransactionProtocolEnum];
|
|
19221
|
+
/** This transaction's method for returning parameters from the Authorization Endpoint. */
|
|
19222
|
+
export declare const EventStreamCloudEventContextTransactionResponseModeEnum: {
|
|
19223
|
+
readonly Query: "query";
|
|
19224
|
+
readonly Fragment: "fragment";
|
|
19225
|
+
readonly FormPost: "form_post";
|
|
19226
|
+
readonly WebMessage: "web_message";
|
|
19227
|
+
};
|
|
19228
|
+
export type EventStreamCloudEventContextTransactionResponseModeEnum = (typeof EventStreamCloudEventContextTransactionResponseModeEnum)[keyof typeof EventStreamCloudEventContextTransactionResponseModeEnum];
|
|
19229
|
+
/** OAuth/OIDC response types. */
|
|
19230
|
+
export declare const EventStreamCloudEventContextTransactionResponseTypeItemEnum: {
|
|
19231
|
+
readonly Code: "code";
|
|
19232
|
+
readonly Token: "token";
|
|
19233
|
+
readonly IdToken: "id_token";
|
|
19234
|
+
};
|
|
19235
|
+
export type EventStreamCloudEventContextTransactionResponseTypeItemEnum = (typeof EventStreamCloudEventContextTransactionResponseTypeItemEnum)[keyof typeof EventStreamCloudEventContextTransactionResponseTypeItemEnum];
|
|
19349
19236
|
/**
|
|
19350
19237
|
* Event contents.
|
|
19351
19238
|
*/
|
|
@@ -24988,6 +24875,7 @@ export interface ExperimentListItem {
|
|
|
24988
24875
|
authentication_flow: string;
|
|
24989
24876
|
allocation_strategy: Management.AllocationStrategyEnum;
|
|
24990
24877
|
status: Management.ExperimentStatusEnum;
|
|
24878
|
+
/** Whether the experiment is valid and ready to activate, as of its last update. It can lag changes made later to related entities. Call POST /experiments/{id}/validate for the current result. */
|
|
24991
24879
|
is_valid: boolean;
|
|
24992
24880
|
default_config?: Management.DefaultConfigEnum | undefined;
|
|
24993
24881
|
feature_flag_snapshot?: (Record<string, unknown> | null) | undefined;
|
|
@@ -25422,7 +25310,7 @@ export type FlowActionAuth0SendRequestParamsCustomVars = Record<string, unknown>
|
|
|
25422
25310
|
export type FlowActionAuth0SendRequestParamsHeaders = Record<string, unknown>;
|
|
25423
25311
|
export type FlowActionAuth0SendRequestParamsPayload = string | unknown[] | Management.FlowActionAuth0SendRequestParamsPayloadObject;
|
|
25424
25312
|
export type FlowActionAuth0SendRequestParamsPayloadObject = Record<string, unknown>;
|
|
25425
|
-
export type FlowActionAuth0SendRequestParamsQueryParams = Record<string, FlowActionAuth0SendRequestParamsQueryParams.Value | null>;
|
|
25313
|
+
export type FlowActionAuth0SendRequestParamsQueryParams = Record<string, (FlowActionAuth0SendRequestParamsQueryParams.Value | null) | undefined>;
|
|
25426
25314
|
export declare namespace FlowActionAuth0SendRequestParamsQueryParams {
|
|
25427
25315
|
type Value = number | string;
|
|
25428
25316
|
}
|
|
@@ -25839,7 +25727,7 @@ export interface FlowActionHttpSendRequestParamsBasicAuth {
|
|
|
25839
25727
|
export type FlowActionHttpSendRequestParamsHeaders = Record<string, unknown>;
|
|
25840
25728
|
export type FlowActionHttpSendRequestParamsPayload = string | unknown[] | Management.FlowActionHttpSendRequestParamsPayloadObject;
|
|
25841
25729
|
export type FlowActionHttpSendRequestParamsPayloadObject = Record<string, unknown>;
|
|
25842
|
-
export type FlowActionHttpSendRequestParamsQueryParams = Record<string, FlowActionHttpSendRequestParamsQueryParams.Value | null>;
|
|
25730
|
+
export type FlowActionHttpSendRequestParamsQueryParams = Record<string, (FlowActionHttpSendRequestParamsQueryParams.Value | null) | undefined>;
|
|
25843
25731
|
export declare namespace FlowActionHttpSendRequestParamsQueryParams {
|
|
25844
25732
|
type Value = number | string;
|
|
25845
25733
|
}
|
|
@@ -28564,6 +28452,7 @@ export interface GetExperimentResponseContent {
|
|
|
28564
28452
|
authentication_flow: string;
|
|
28565
28453
|
allocation_strategy: Management.AllocationStrategyEnum;
|
|
28566
28454
|
status: Management.ExperimentStatusEnum;
|
|
28455
|
+
/** Whether the experiment is valid and ready to activate, as of its last update. It can lag changes made later to related entities. Call POST /experiments/{id}/validate for the current result. */
|
|
28567
28456
|
is_valid: boolean;
|
|
28568
28457
|
default_config?: Management.DefaultConfigEnum | undefined;
|
|
28569
28458
|
feature_flag_snapshot?: (Record<string, unknown> | null) | undefined;
|
|
@@ -29625,7 +29514,7 @@ export interface GuardianFactor {
|
|
|
29625
29514
|
name?: Management.GuardianFactorNameEnum | undefined;
|
|
29626
29515
|
settings?: Management.GuardianFactorSettings | undefined;
|
|
29627
29516
|
}
|
|
29628
|
-
/** Factor name. Can be `sms`, `push-notification`, `email`, `duo
|
|
29517
|
+
/** Factor name. Can be `sms`, `push-notification`, `email`, `duo`, `otp`, `webauthn-roaming`, `webauthn-platform`, `recovery-code`, or `passkey`. */
|
|
29629
29518
|
export declare const GuardianFactorNameEnum: {
|
|
29630
29519
|
readonly PushNotification: "push-notification";
|
|
29631
29520
|
readonly Sms: "sms";
|
|
@@ -29635,6 +29524,7 @@ export declare const GuardianFactorNameEnum: {
|
|
|
29635
29524
|
readonly WebauthnRoaming: "webauthn-roaming";
|
|
29636
29525
|
readonly WebauthnPlatform: "webauthn-platform";
|
|
29637
29526
|
readonly RecoveryCode: "recovery-code";
|
|
29527
|
+
readonly Passkey: "passkey";
|
|
29638
29528
|
};
|
|
29639
29529
|
export type GuardianFactorNameEnum = (typeof GuardianFactorNameEnum)[keyof typeof GuardianFactorNameEnum];
|
|
29640
29530
|
export declare const GuardianFactorPhoneFactorMessageTypeEnum: {
|
|
@@ -29991,10 +29881,6 @@ export interface ListAgentsResponseContent {
|
|
|
29991
29881
|
/** A cursor to be used as the "from" query parameter for the next page of results. Omitted when there are no further results. */
|
|
29992
29882
|
next?: string | undefined;
|
|
29993
29883
|
}
|
|
29994
|
-
/**
|
|
29995
|
-
* List of CAPTCHA attack protection policies for the tenant, sorted by priority ascending.
|
|
29996
|
-
*/
|
|
29997
|
-
export type ListAttackProtectionCaptchaPoliciesResponseContent = Management.AttackProtectionCaptchaPolicy[];
|
|
29998
29884
|
export interface ListBrandingPhoneProvidersResponseContent {
|
|
29999
29885
|
providers?: Management.PhoneProviderSchemaMasked[] | undefined;
|
|
30000
29886
|
}
|
|
@@ -31387,7 +31273,7 @@ export interface OrganizationMemberRole {
|
|
|
31387
31273
|
/**
|
|
31388
31274
|
* Metadata associated with the organization, in the form of an object with string values (max 255 chars). Maximum of 25 metadata properties allowed.
|
|
31389
31275
|
*/
|
|
31390
|
-
export type OrganizationMetadata = Record<string, string | null>;
|
|
31276
|
+
export type OrganizationMetadata = Record<string, (string | null) | undefined>;
|
|
31391
31277
|
/** Field name to sort results by in ascending order only. Defaults to insertion order (oldest first) if not provided. */
|
|
31392
31278
|
export declare const OrganizationSortFieldEnum: {
|
|
31393
31279
|
readonly Name: "name";
|
|
@@ -34219,7 +34105,7 @@ export interface UpdateConnectionOptions {
|
|
|
34219
34105
|
/** Enable this if you have a legacy user store and you want to gradually migrate those users to the Auth0 user store */
|
|
34220
34106
|
import_mode?: boolean | undefined;
|
|
34221
34107
|
/** Stores encrypted string only configurations for connections */
|
|
34222
|
-
configuration?: (Record<string, string | null> | null) | undefined;
|
|
34108
|
+
configuration?: (Record<string, (string | null) | undefined> | null) | undefined;
|
|
34223
34109
|
customScripts?: Management.ConnectionCustomScripts | undefined;
|
|
34224
34110
|
authentication_methods?: (Management.ConnectionAuthenticationMethods | null) | undefined;
|
|
34225
34111
|
passkey_options?: (Management.ConnectionPasskeyOptions | null) | undefined;
|
|
@@ -34772,6 +34658,7 @@ export interface UpdateExperimentResponseContent {
|
|
|
34772
34658
|
authentication_flow: string;
|
|
34773
34659
|
allocation_strategy: Management.AllocationStrategyEnum;
|
|
34774
34660
|
status: Management.ExperimentStatusEnum;
|
|
34661
|
+
/** Whether the experiment is valid and ready to activate, as of its last update. It can lag changes made later to related entities. Call POST /experiments/{id}/validate for the current result. */
|
|
34775
34662
|
is_valid: boolean;
|
|
34776
34663
|
default_config?: Management.DefaultConfigEnum | undefined;
|
|
34777
34664
|
feature_flag_snapshot?: (Record<string, unknown> | null) | undefined;
|
|
@@ -35345,9 +35232,9 @@ export interface UpdateUserResponseContent {
|
|
|
35345
35232
|
[key: string]: any;
|
|
35346
35233
|
}
|
|
35347
35234
|
/**
|
|
35348
|
-
*
|
|
35235
|
+
* Top-level keys merge into the stored overrides. Set a key to `null` to remove it. Set `overrides` to `null` or `{}` to clear all. Keys must exist in the parent flag parameters.
|
|
35349
35236
|
*/
|
|
35350
|
-
export type UpdateVariationOverridesMap = Record<string, unknown
|
|
35237
|
+
export type UpdateVariationOverridesMap = (Record<string, unknown> | null) | undefined;
|
|
35351
35238
|
export interface UpdateVariationResponseContent {
|
|
35352
35239
|
id: string;
|
|
35353
35240
|
feature_flag_id: string;
|
|
@@ -1059,16 +1059,6 @@ export const BruteForceProtectionShieldsEnum = {
|
|
|
1059
1059
|
Block: "block",
|
|
1060
1060
|
UserNotification: "user_notification",
|
|
1061
1061
|
};
|
|
1062
|
-
/** The CAPTCHA provider type. */
|
|
1063
|
-
export const CaptchaActiveProviderEnum = {
|
|
1064
|
-
SimpleCaptcha: "simple_captcha",
|
|
1065
|
-
AuthChallenge: "auth_challenge",
|
|
1066
|
-
RecaptchaV2: "recaptcha_v2",
|
|
1067
|
-
RecaptchaEnterprise: "recaptcha_enterprise",
|
|
1068
|
-
Hcaptcha: "hcaptcha",
|
|
1069
|
-
FriendlyCaptcha: "friendly_captcha",
|
|
1070
|
-
Arkose: "arkose",
|
|
1071
|
-
};
|
|
1072
1062
|
export const CertificateSubjectDnCredentialTypeEnum = {
|
|
1073
1063
|
CertSubjectDn: "cert_subject_dn",
|
|
1074
1064
|
};
|
|
@@ -4231,6 +4221,36 @@ export const EventStreamCloudEventConnectionUpdatedPreviousObject7StrategyEnum =
|
|
|
4231
4221
|
export const EventStreamCloudEventConnectionUpdatedTypeEnum = {
|
|
4232
4222
|
ConnectionUpdated: "connection.updated",
|
|
4233
4223
|
};
|
|
4224
|
+
/** The protocol used for this transaction. */
|
|
4225
|
+
export const EventStreamCloudEventContextTransactionProtocolEnum = {
|
|
4226
|
+
OidcBasicProfile: "oidc-basic-profile",
|
|
4227
|
+
OidcImplicitProfile: "oidc-implicit-profile",
|
|
4228
|
+
Oauth2DeviceCode: "oauth2-device-code",
|
|
4229
|
+
Oauth2ResourceOwner: "oauth2-resource-owner",
|
|
4230
|
+
Oauth2ResourceOwnerJwtBearer: "oauth2-resource-owner-jwt-bearer",
|
|
4231
|
+
Oauth2Password: "oauth2-password",
|
|
4232
|
+
Oauth2Webauthn: "oauth2-webauthn",
|
|
4233
|
+
Oauth2AccessToken: "oauth2-access-token",
|
|
4234
|
+
Oauth2RefreshToken: "oauth2-refresh-token",
|
|
4235
|
+
Oauth2TokenExchange: "oauth2-token-exchange",
|
|
4236
|
+
OidcHybridProfile: "oidc-hybrid-profile",
|
|
4237
|
+
Samlp: "samlp",
|
|
4238
|
+
Wsfed: "wsfed",
|
|
4239
|
+
WstrustUsernamemixed: "wstrust-usernamemixed",
|
|
4240
|
+
};
|
|
4241
|
+
/** This transaction's method for returning parameters from the Authorization Endpoint. */
|
|
4242
|
+
export const EventStreamCloudEventContextTransactionResponseModeEnum = {
|
|
4243
|
+
Query: "query",
|
|
4244
|
+
Fragment: "fragment",
|
|
4245
|
+
FormPost: "form_post",
|
|
4246
|
+
WebMessage: "web_message",
|
|
4247
|
+
};
|
|
4248
|
+
/** OAuth/OIDC response types. */
|
|
4249
|
+
export const EventStreamCloudEventContextTransactionResponseTypeItemEnum = {
|
|
4250
|
+
Code: "code",
|
|
4251
|
+
Token: "token",
|
|
4252
|
+
IdToken: "id_token",
|
|
4253
|
+
};
|
|
4234
4254
|
/** Machine-readable error code. */
|
|
4235
4255
|
export const EventStreamCloudEventErrorCodeEnum = {
|
|
4236
4256
|
InvalidCursor: "invalid_cursor",
|
|
@@ -6352,7 +6372,7 @@ export const GuardianEnrollmentStatus = {
|
|
|
6352
6372
|
Pending: "pending",
|
|
6353
6373
|
Confirmed: "confirmed",
|
|
6354
6374
|
};
|
|
6355
|
-
/** Factor name. Can be `sms`, `push-notification`, `email`, `duo
|
|
6375
|
+
/** Factor name. Can be `sms`, `push-notification`, `email`, `duo`, `otp`, `webauthn-roaming`, `webauthn-platform`, `recovery-code`, or `passkey`. */
|
|
6356
6376
|
export const GuardianFactorNameEnum = {
|
|
6357
6377
|
PushNotification: "push-notification",
|
|
6358
6378
|
Sms: "sms",
|
|
@@ -6362,6 +6382,7 @@ export const GuardianFactorNameEnum = {
|
|
|
6362
6382
|
WebauthnRoaming: "webauthn-roaming",
|
|
6363
6383
|
WebauthnPlatform: "webauthn-platform",
|
|
6364
6384
|
RecoveryCode: "recovery-code",
|
|
6385
|
+
Passkey: "passkey",
|
|
6365
6386
|
};
|
|
6366
6387
|
export const GuardianFactorPhoneFactorMessageTypeEnum = {
|
|
6367
6388
|
Sms: "sms",
|
|
@@ -14,11 +14,13 @@ import { EndpointSupplier } from "./EndpointSupplier.mjs";
|
|
|
14
14
|
import { getErrorResponseBody } from "./getErrorResponseBody.mjs";
|
|
15
15
|
import { getFetchFn } from "./getFetchFn.mjs";
|
|
16
16
|
import { getRequestBody } from "./getRequestBody.mjs";
|
|
17
|
-
import { getResponseBody } from "./getResponseBody.mjs";
|
|
17
|
+
import { getResponseBody, isResponseBodyError } from "./getResponseBody.mjs";
|
|
18
18
|
import { Headers } from "./Headers.mjs";
|
|
19
|
-
import { makeRequest } from "./makeRequest.mjs";
|
|
19
|
+
import { clearResponseTimeout, makeRequest } from "./makeRequest.mjs";
|
|
20
20
|
import { abortRawResponse, toRawResponse, unknownRawResponse } from "./RawResponse.mjs";
|
|
21
|
+
import { redactUrl, SENSITIVE_QUERY_PARAMS } from "./redactUrl.mjs";
|
|
21
22
|
import { requestWithRetries } from "./requestWithRetries.mjs";
|
|
23
|
+
import { TIMEOUT } from "./signals.mjs";
|
|
22
24
|
const SENSITIVE_HEADERS = new Set([
|
|
23
25
|
"authorization",
|
|
24
26
|
"www-authenticate",
|
|
@@ -49,26 +51,6 @@ function redactHeaders(headers) {
|
|
|
49
51
|
}
|
|
50
52
|
return filtered;
|
|
51
53
|
}
|
|
52
|
-
const SENSITIVE_QUERY_PARAMS = new Set([
|
|
53
|
-
"api_key",
|
|
54
|
-
"api-key",
|
|
55
|
-
"apikey",
|
|
56
|
-
"token",
|
|
57
|
-
"access_token",
|
|
58
|
-
"access-token",
|
|
59
|
-
"auth_token",
|
|
60
|
-
"auth-token",
|
|
61
|
-
"password",
|
|
62
|
-
"passwd",
|
|
63
|
-
"secret",
|
|
64
|
-
"api_secret",
|
|
65
|
-
"api-secret",
|
|
66
|
-
"apisecret",
|
|
67
|
-
"key",
|
|
68
|
-
"session",
|
|
69
|
-
"session_id",
|
|
70
|
-
"session-id",
|
|
71
|
-
]);
|
|
72
54
|
function redactQueryParameters(queryParameters) {
|
|
73
55
|
if (queryParameters == null) {
|
|
74
56
|
return undefined;
|
|
@@ -79,70 +61,6 @@ function redactQueryParameters(queryParameters) {
|
|
|
79
61
|
}
|
|
80
62
|
return redacted;
|
|
81
63
|
}
|
|
82
|
-
function redactUrl(url) {
|
|
83
|
-
const protocolIndex = url.indexOf("://");
|
|
84
|
-
if (protocolIndex === -1)
|
|
85
|
-
return url;
|
|
86
|
-
const afterProtocol = protocolIndex + 3;
|
|
87
|
-
// Find the first delimiter that marks the end of the authority section
|
|
88
|
-
const pathStart = url.indexOf("/", afterProtocol);
|
|
89
|
-
let queryStart = url.indexOf("?", afterProtocol);
|
|
90
|
-
let fragmentStart = url.indexOf("#", afterProtocol);
|
|
91
|
-
const firstDelimiter = Math.min(pathStart === -1 ? url.length : pathStart, queryStart === -1 ? url.length : queryStart, fragmentStart === -1 ? url.length : fragmentStart);
|
|
92
|
-
// Find the LAST @ before the delimiter (handles multiple @ in credentials)
|
|
93
|
-
let atIndex = -1;
|
|
94
|
-
for (let i = afterProtocol; i < firstDelimiter; i++) {
|
|
95
|
-
if (url[i] === "@") {
|
|
96
|
-
atIndex = i;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
if (atIndex !== -1) {
|
|
100
|
-
url = `${url.slice(0, afterProtocol)}[REDACTED]@${url.slice(atIndex + 1)}`;
|
|
101
|
-
}
|
|
102
|
-
// Recalculate queryStart since url might have changed
|
|
103
|
-
queryStart = url.indexOf("?");
|
|
104
|
-
if (queryStart === -1)
|
|
105
|
-
return url;
|
|
106
|
-
fragmentStart = url.indexOf("#", queryStart);
|
|
107
|
-
const queryEnd = fragmentStart !== -1 ? fragmentStart : url.length;
|
|
108
|
-
const queryString = url.slice(queryStart + 1, queryEnd);
|
|
109
|
-
if (queryString.length === 0)
|
|
110
|
-
return url;
|
|
111
|
-
// FAST PATH: Quick check if any sensitive keywords present
|
|
112
|
-
// Using indexOf is faster than regex for simple substring matching
|
|
113
|
-
const lower = queryString.toLowerCase();
|
|
114
|
-
const hasSensitive = lower.includes("token") ||
|
|
115
|
-
lower.includes("key") ||
|
|
116
|
-
lower.includes("password") ||
|
|
117
|
-
lower.includes("passwd") ||
|
|
118
|
-
lower.includes("secret") ||
|
|
119
|
-
lower.includes("session") ||
|
|
120
|
-
lower.includes("auth");
|
|
121
|
-
if (!hasSensitive) {
|
|
122
|
-
return url;
|
|
123
|
-
}
|
|
124
|
-
// SLOW PATH: Parse and redact
|
|
125
|
-
const redactedParams = [];
|
|
126
|
-
const params = queryString.split("&");
|
|
127
|
-
for (const param of params) {
|
|
128
|
-
const equalIndex = param.indexOf("=");
|
|
129
|
-
if (equalIndex === -1) {
|
|
130
|
-
redactedParams.push(param);
|
|
131
|
-
continue;
|
|
132
|
-
}
|
|
133
|
-
const key = param.slice(0, equalIndex);
|
|
134
|
-
let shouldRedact = SENSITIVE_QUERY_PARAMS.has(key.toLowerCase());
|
|
135
|
-
if (!shouldRedact && key.includes("%")) {
|
|
136
|
-
try {
|
|
137
|
-
const decodedKey = decodeURIComponent(key);
|
|
138
|
-
shouldRedact = SENSITIVE_QUERY_PARAMS.has(decodedKey.toLowerCase());
|
|
139
|
-
}
|
|
140
|
-
catch (_a) { }
|
|
141
|
-
}
|
|
142
|
-
redactedParams.push(shouldRedact ? `${key}=[REDACTED]` : param);
|
|
143
|
-
}
|
|
144
|
-
return url.slice(0, queryStart + 1) + redactedParams.join("&") + url.slice(queryEnd);
|
|
145
|
-
}
|
|
146
64
|
function getHeaders(args) {
|
|
147
65
|
return __awaiter(this, void 0, void 0, function* () {
|
|
148
66
|
var _a;
|
|
@@ -174,6 +92,11 @@ function getHeaders(args) {
|
|
|
174
92
|
return newHeaders;
|
|
175
93
|
});
|
|
176
94
|
}
|
|
95
|
+
function isJsonContentType(contentType) {
|
|
96
|
+
var _a, _b;
|
|
97
|
+
const mediaType = (_b = (_a = contentType === null || contentType === void 0 ? void 0 : contentType.split(";")[0]) === null || _a === void 0 ? void 0 : _a.trim().toLowerCase()) !== null && _b !== void 0 ? _b : "";
|
|
98
|
+
return mediaType === "application/json" || mediaType === "text/json" || mediaType.endsWith("+json");
|
|
99
|
+
}
|
|
177
100
|
export function fetcherImpl(args) {
|
|
178
101
|
return __awaiter(this, void 0, void 0, function* () {
|
|
179
102
|
var _a, _b, _c;
|
|
@@ -201,10 +124,19 @@ export function fetcherImpl(args) {
|
|
|
201
124
|
};
|
|
202
125
|
logger.debug("Making HTTP request", metadata);
|
|
203
126
|
}
|
|
127
|
+
// Bodies that are read in full here stay covered by the timeout; streamed bodies are read by the caller.
|
|
128
|
+
const keepTimeoutUntilBodyRead = args.responseType !== "streaming" && args.responseType !== "sse" && args.responseType !== "binary-response";
|
|
129
|
+
const attemptResponses = [];
|
|
204
130
|
try {
|
|
205
131
|
const response = yield requestWithRetries(() => __awaiter(this, void 0, void 0, function* () {
|
|
206
|
-
|
|
207
|
-
|
|
132
|
+
// A retry means the previous attempt is over; stop its timer now rather than at the end.
|
|
133
|
+
for (const previousResponse of attemptResponses) {
|
|
134
|
+
clearResponseTimeout(previousResponse);
|
|
135
|
+
}
|
|
136
|
+
const attemptResponse = yield makeRequest(fetchFn, url, args.method, headers, requestBody, args.timeoutMs, args.abortSignal, args.withCredentials, args.duplex, args.responseType === "streaming" || args.responseType === "sse", keepTimeoutUntilBodyRead);
|
|
137
|
+
attemptResponses.push(attemptResponse);
|
|
138
|
+
return attemptResponse;
|
|
139
|
+
}), args.maxRetries, args.abortSignal);
|
|
208
140
|
if (response.status >= 200 && response.status < 400) {
|
|
209
141
|
if (logger.isDebug()) {
|
|
210
142
|
const metadata = {
|
|
@@ -216,6 +148,16 @@ export function fetcherImpl(args) {
|
|
|
216
148
|
logger.debug("HTTP request succeeded", metadata);
|
|
217
149
|
}
|
|
218
150
|
const body = yield getResponseBody(response, args.responseType);
|
|
151
|
+
// Only a body the server labelled as JSON is an error here; void endpoints may return plain text.
|
|
152
|
+
if (isResponseBodyError(body) &&
|
|
153
|
+
body.error.reason === "non-json" &&
|
|
154
|
+
isJsonContentType(response.headers.get("Content-Type"))) {
|
|
155
|
+
return {
|
|
156
|
+
ok: false,
|
|
157
|
+
error: body.error,
|
|
158
|
+
rawResponse: toRawResponse(response),
|
|
159
|
+
};
|
|
160
|
+
}
|
|
219
161
|
return {
|
|
220
162
|
ok: true,
|
|
221
163
|
body: body,
|
|
@@ -263,7 +205,7 @@ export function fetcherImpl(args) {
|
|
|
263
205
|
rawResponse: abortRawResponse,
|
|
264
206
|
};
|
|
265
207
|
}
|
|
266
|
-
else if (error instanceof Error && error.name === "AbortError") {
|
|
208
|
+
else if (error === TIMEOUT || (error instanceof Error && error.name === "AbortError")) {
|
|
267
209
|
if (logger.isError()) {
|
|
268
210
|
const metadata = {
|
|
269
211
|
method: args.method,
|
|
@@ -318,6 +260,11 @@ export function fetcherImpl(args) {
|
|
|
318
260
|
rawResponse: unknownRawResponse,
|
|
319
261
|
};
|
|
320
262
|
}
|
|
263
|
+
finally {
|
|
264
|
+
for (const attemptResponse of attemptResponses) {
|
|
265
|
+
clearResponseTimeout(attemptResponse);
|
|
266
|
+
}
|
|
267
|
+
}
|
|
321
268
|
});
|
|
322
269
|
}
|
|
323
270
|
export const fetcher = fetcherImpl;
|