auth0 5.8.0 → 5.9.1
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/Client.d.ts +3 -0
- package/dist/cjs/management/Client.js +67 -62
- package/dist/cjs/management/api/errors/GoneError.d.ts +5 -0
- package/dist/cjs/management/api/errors/GoneError.js +54 -0
- package/dist/cjs/management/api/errors/index.d.ts +1 -0
- package/dist/cjs/management/api/errors/index.js +1 -0
- package/dist/cjs/management/api/requests/requests.d.ts +55 -9
- package/dist/cjs/management/api/resources/actions/client/Client.js +15 -7
- package/dist/cjs/management/api/resources/actions/resources/executions/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/actions/resources/modules/client/Client.js +15 -7
- package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/Client.js +7 -3
- package/dist/cjs/management/api/resources/actions/resources/triggers/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.js +6 -2
- package/dist/cjs/management/api/resources/actions/resources/versions/client/Client.js +7 -3
- package/dist/cjs/management/api/resources/anomaly/resources/blocks/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/attackProtection/resources/botDetection/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/attackProtection/resources/breachedPasswordDetection/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/attackProtection/resources/bruteForceProtection/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/attackProtection/resources/captcha/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/attackProtection/resources/suspiciousIpThrottling/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/branding/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/branding/resources/phone/resources/providers/client/Client.js +10 -6
- package/dist/cjs/management/api/resources/branding/resources/phone/resources/templates/client/Client.js +11 -7
- package/dist/cjs/management/api/resources/branding/resources/templates/client/Client.js +3 -3
- package/dist/cjs/management/api/resources/branding/resources/themes/client/Client.js +5 -5
- package/dist/cjs/management/api/resources/clientGrants/client/Client.js +9 -5
- package/dist/cjs/management/api/resources/clientGrants/resources/organizations/client/Client.js +5 -1
- package/dist/cjs/management/api/resources/clients/client/Client.js +16 -8
- package/dist/cjs/management/api/resources/clients/resources/connections/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/clients/resources/connections/client/Client.js +6 -1
- package/dist/cjs/management/api/resources/clients/resources/credentials/client/Client.js +5 -5
- package/dist/cjs/management/api/resources/connectionProfiles/client/Client.js +11 -7
- package/dist/cjs/management/api/resources/connections/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/connections/client/Client.js +15 -6
- package/dist/cjs/management/api/resources/connections/resources/clients/client/Client.js +6 -2
- package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.js +16 -8
- package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/connections/resources/keys/client/Client.js +3 -3
- package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/client/Client.js +10 -6
- package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.js +3 -3
- package/dist/cjs/management/api/resources/connections/resources/users/client/Client.js +5 -1
- package/dist/cjs/management/api/resources/customDomains/client/Client.js +13 -9
- package/dist/cjs/management/api/resources/deviceCredentials/client/Client.js +7 -3
- package/dist/cjs/management/api/resources/emailTemplates/client/Client.js +4 -4
- package/dist/cjs/management/api/resources/emails/resources/provider/client/Client.js +8 -4
- package/dist/cjs/management/api/resources/eventStreams/client/Client.js +10 -6
- 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.js +2 -2
- package/dist/cjs/management/api/resources/events/client/Client.d.ts +18 -0
- package/dist/cjs/management/api/resources/events/client/Client.js +135 -0
- package/dist/cjs/management/api/resources/events/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/events/client/index.js +2 -0
- package/dist/cjs/management/api/resources/events/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/events/index.js +17 -0
- package/dist/cjs/management/api/resources/flows/client/Client.d.ts +4 -1
- package/dist/cjs/management/api/resources/flows/client/Client.js +17 -6
- package/dist/cjs/management/api/resources/flows/resources/executions/client/Client.d.ts +3 -1
- package/dist/cjs/management/api/resources/flows/resources/executions/client/Client.js +14 -4
- package/dist/cjs/management/api/resources/flows/resources/vault/resources/connections/client/Client.js +9 -5
- package/dist/cjs/management/api/resources/forms/client/Client.d.ts +5 -2
- package/dist/cjs/management/api/resources/forms/client/Client.js +18 -7
- package/dist/cjs/management/api/resources/groups/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/groups/client/Client.js +10 -4
- package/dist/cjs/management/api/resources/groups/resources/members/client/Client.js +5 -1
- package/dist/cjs/management/api/resources/guardian/resources/enrollments/client/Client.js +3 -3
- package/dist/cjs/management/api/resources/guardian/resources/factors/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/client/Client.js +3 -3
- package/dist/cjs/management/api/resources/guardian/resources/factors/resources/phone/client/Client.js +8 -8
- package/dist/cjs/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.js +12 -12
- package/dist/cjs/management/api/resources/guardian/resources/factors/resources/sms/client/Client.js +6 -6
- package/dist/cjs/management/api/resources/guardian/resources/policies/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/hooks/client/Client.js +13 -5
- package/dist/cjs/management/api/resources/hooks/resources/secrets/client/Client.js +4 -4
- package/dist/cjs/management/api/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/index.js +2 -1
- package/dist/cjs/management/api/resources/jobs/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/jobs/resources/errors/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/jobs/resources/usersExports/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/jobs/resources/usersImports/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/jobs/resources/verificationEmail/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/keys/resources/customSigning/client/Client.js +3 -3
- package/dist/cjs/management/api/resources/keys/resources/encryption/client/Client.js +11 -7
- package/dist/cjs/management/api/resources/keys/resources/signing/client/Client.js +4 -4
- package/dist/cjs/management/api/resources/logStreams/client/Client.js +5 -5
- package/dist/cjs/management/api/resources/logs/client/Client.js +6 -2
- package/dist/cjs/management/api/resources/networkAcls/client/Client.js +10 -6
- package/dist/cjs/management/api/resources/organizations/client/Client.js +10 -6
- package/dist/cjs/management/api/resources/organizations/resources/clientGrants/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/organizations/resources/clientGrants/client/Client.js +8 -3
- package/dist/cjs/management/api/resources/organizations/resources/connections/client/Client.js +9 -5
- package/dist/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.js +10 -6
- package/dist/cjs/management/api/resources/organizations/resources/enabledConnections/client/Client.js +9 -5
- package/dist/cjs/management/api/resources/organizations/resources/invitations/client/Client.js +12 -4
- package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.js +7 -3
- package/dist/cjs/management/api/resources/organizations/resources/members/resources/roles/client/Client.js +7 -3
- package/dist/cjs/management/api/resources/prompts/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/prompts/resources/customText/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/prompts/resources/partials/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/prompts/resources/rendering/client/Client.js +8 -4
- package/dist/cjs/management/api/resources/refreshTokens/client/Client.d.ts +17 -0
- package/dist/cjs/management/api/resources/refreshTokens/client/Client.js +71 -4
- package/dist/cjs/management/api/resources/resourceServers/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/resourceServers/client/Client.js +14 -5
- package/dist/cjs/management/api/resources/riskAssessments/resources/settings/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/riskAssessments/resources/settings/resources/newDevice/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/roles/client/Client.js +9 -5
- package/dist/cjs/management/api/resources/roles/resources/permissions/client/Client.js +7 -3
- package/dist/cjs/management/api/resources/roles/resources/users/client/Client.js +6 -2
- package/dist/cjs/management/api/resources/rules/client/Client.js +13 -5
- package/dist/cjs/management/api/resources/rulesConfigs/client/Client.js +3 -3
- package/dist/cjs/management/api/resources/selfServiceProfiles/client/Client.js +9 -5
- package/dist/cjs/management/api/resources/selfServiceProfiles/resources/customText/client/Client.d.ts +2 -2
- package/dist/cjs/management/api/resources/selfServiceProfiles/resources/customText/client/Client.js +4 -4
- package/dist/cjs/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.d.ts +2 -2
- package/dist/cjs/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.js +4 -4
- package/dist/cjs/management/api/resources/sessions/client/Client.js +4 -4
- package/dist/cjs/management/api/resources/stats/client/Client.js +6 -2
- package/dist/cjs/management/api/resources/supplementalSignals/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/tenants/resources/settings/client/Client.js +6 -2
- package/dist/cjs/management/api/resources/tickets/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/tokenExchangeProfiles/client/Client.js +9 -5
- package/dist/cjs/management/api/resources/userAttributeProfiles/client/Client.d.ts +1 -1
- package/dist/cjs/management/api/resources/userAttributeProfiles/client/Client.js +12 -8
- package/dist/cjs/management/api/resources/userBlocks/client/Client.js +16 -4
- package/dist/cjs/management/api/resources/userGrants/client/Client.js +11 -3
- package/dist/cjs/management/api/resources/users/client/Client.js +20 -8
- package/dist/cjs/management/api/resources/users/resources/authenticationMethods/client/Client.js +11 -7
- package/dist/cjs/management/api/resources/users/resources/authenticators/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/users/resources/connectedAccounts/client/Client.js +5 -1
- package/dist/cjs/management/api/resources/users/resources/enrollments/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/users/resources/federatedConnectionsTokensets/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/users/resources/groups/client/Client.js +5 -1
- package/dist/cjs/management/api/resources/users/resources/identities/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/users/resources/logs/client/Client.js +5 -1
- package/dist/cjs/management/api/resources/users/resources/multifactor/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/users/resources/organizations/client/Client.js +5 -1
- package/dist/cjs/management/api/resources/users/resources/permissions/client/Client.js +7 -3
- 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.js +1 -1
- package/dist/cjs/management/api/resources/users/resources/roles/client/Client.js +7 -3
- 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 +1 -1
- package/dist/cjs/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.js +10 -6
- package/dist/cjs/management/api/types/types.d.ts +3454 -133
- package/dist/cjs/management/api/types/types.js +614 -11
- package/dist/cjs/management/core/fetcher/Fetcher.d.ts +6 -0
- package/dist/cjs/management/core/fetcher/Fetcher.js +9 -8
- package/dist/cjs/management/core/index.d.ts +1 -0
- package/dist/cjs/management/core/index.js +1 -0
- package/dist/cjs/management/core/stream/Stream.d.ts +56 -0
- package/dist/cjs/management/core/stream/Stream.js +267 -0
- package/dist/cjs/management/core/stream/index.d.ts +1 -0
- package/dist/cjs/management/core/stream/index.js +5 -0
- package/dist/cjs/management/core/url/QueryStringBuilder.d.ts +47 -0
- package/dist/cjs/management/core/url/QueryStringBuilder.js +83 -0
- package/dist/cjs/management/core/url/index.d.ts +1 -0
- package/dist/cjs/management/core/url/index.js +3 -1
- package/dist/cjs/management/core/url/qs.d.ts +2 -1
- package/dist/cjs/management/core/url/qs.js +24 -12
- package/dist/cjs/management/version.d.ts +1 -1
- package/dist/cjs/management/version.js +1 -1
- package/dist/esm/management/Client.d.mts +3 -0
- package/dist/esm/management/Client.mjs +5 -0
- package/dist/esm/management/api/errors/GoneError.d.mts +5 -0
- package/dist/esm/management/api/errors/GoneError.mjs +17 -0
- package/dist/esm/management/api/errors/index.d.mts +1 -0
- package/dist/esm/management/api/errors/index.mjs +1 -0
- package/dist/esm/management/api/requests/requests.d.mts +55 -9
- package/dist/esm/management/api/resources/actions/client/Client.mjs +15 -7
- package/dist/esm/management/api/resources/actions/resources/executions/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/actions/resources/modules/client/Client.mjs +15 -7
- package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/Client.mjs +7 -3
- package/dist/esm/management/api/resources/actions/resources/triggers/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.mjs +6 -2
- package/dist/esm/management/api/resources/actions/resources/versions/client/Client.mjs +7 -3
- package/dist/esm/management/api/resources/anomaly/resources/blocks/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/attackProtection/resources/botDetection/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/attackProtection/resources/breachedPasswordDetection/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/attackProtection/resources/bruteForceProtection/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/attackProtection/resources/captcha/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/attackProtection/resources/suspiciousIpThrottling/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/branding/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/branding/resources/phone/resources/providers/client/Client.mjs +10 -6
- package/dist/esm/management/api/resources/branding/resources/phone/resources/templates/client/Client.mjs +11 -7
- package/dist/esm/management/api/resources/branding/resources/templates/client/Client.mjs +3 -3
- package/dist/esm/management/api/resources/branding/resources/themes/client/Client.mjs +5 -5
- package/dist/esm/management/api/resources/clientGrants/client/Client.mjs +9 -5
- package/dist/esm/management/api/resources/clientGrants/resources/organizations/client/Client.mjs +5 -1
- package/dist/esm/management/api/resources/clients/client/Client.mjs +16 -8
- package/dist/esm/management/api/resources/clients/resources/connections/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/clients/resources/connections/client/Client.mjs +6 -1
- package/dist/esm/management/api/resources/clients/resources/credentials/client/Client.mjs +5 -5
- package/dist/esm/management/api/resources/connectionProfiles/client/Client.mjs +11 -7
- package/dist/esm/management/api/resources/connections/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/connections/client/Client.mjs +15 -6
- package/dist/esm/management/api/resources/connections/resources/clients/client/Client.mjs +6 -2
- package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.mjs +16 -8
- package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/resources/synchronizations/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/connections/resources/keys/client/Client.mjs +3 -3
- package/dist/esm/management/api/resources/connections/resources/scimConfiguration/client/Client.mjs +10 -6
- package/dist/esm/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.mjs +3 -3
- package/dist/esm/management/api/resources/connections/resources/users/client/Client.mjs +5 -1
- package/dist/esm/management/api/resources/customDomains/client/Client.mjs +13 -9
- package/dist/esm/management/api/resources/deviceCredentials/client/Client.mjs +7 -3
- package/dist/esm/management/api/resources/emailTemplates/client/Client.mjs +4 -4
- package/dist/esm/management/api/resources/emails/resources/provider/client/Client.mjs +8 -4
- package/dist/esm/management/api/resources/eventStreams/client/Client.mjs +10 -6
- 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.mjs +2 -2
- package/dist/esm/management/api/resources/events/client/Client.d.mts +18 -0
- package/dist/esm/management/api/resources/events/client/Client.mjs +98 -0
- package/dist/esm/management/api/resources/events/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/events/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/events/index.d.mts +1 -0
- package/dist/esm/management/api/resources/events/index.mjs +1 -0
- package/dist/esm/management/api/resources/flows/client/Client.d.mts +4 -1
- package/dist/esm/management/api/resources/flows/client/Client.mjs +17 -6
- package/dist/esm/management/api/resources/flows/resources/executions/client/Client.d.mts +3 -1
- package/dist/esm/management/api/resources/flows/resources/executions/client/Client.mjs +14 -4
- package/dist/esm/management/api/resources/flows/resources/vault/resources/connections/client/Client.mjs +9 -5
- package/dist/esm/management/api/resources/forms/client/Client.d.mts +5 -2
- package/dist/esm/management/api/resources/forms/client/Client.mjs +18 -7
- package/dist/esm/management/api/resources/groups/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/groups/client/Client.mjs +10 -4
- package/dist/esm/management/api/resources/groups/resources/members/client/Client.mjs +5 -1
- package/dist/esm/management/api/resources/guardian/resources/enrollments/client/Client.mjs +3 -3
- package/dist/esm/management/api/resources/guardian/resources/factors/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/client/Client.mjs +3 -3
- package/dist/esm/management/api/resources/guardian/resources/factors/resources/phone/client/Client.mjs +8 -8
- package/dist/esm/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.mjs +12 -12
- package/dist/esm/management/api/resources/guardian/resources/factors/resources/sms/client/Client.mjs +6 -6
- package/dist/esm/management/api/resources/guardian/resources/policies/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/hooks/client/Client.mjs +13 -5
- package/dist/esm/management/api/resources/hooks/resources/secrets/client/Client.mjs +4 -4
- package/dist/esm/management/api/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/jobs/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/jobs/resources/errors/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/jobs/resources/usersExports/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/jobs/resources/usersImports/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/jobs/resources/verificationEmail/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/keys/resources/customSigning/client/Client.mjs +3 -3
- package/dist/esm/management/api/resources/keys/resources/encryption/client/Client.mjs +11 -7
- package/dist/esm/management/api/resources/keys/resources/signing/client/Client.mjs +4 -4
- package/dist/esm/management/api/resources/logStreams/client/Client.mjs +5 -5
- package/dist/esm/management/api/resources/logs/client/Client.mjs +6 -2
- package/dist/esm/management/api/resources/networkAcls/client/Client.mjs +10 -6
- package/dist/esm/management/api/resources/organizations/client/Client.mjs +10 -6
- package/dist/esm/management/api/resources/organizations/resources/clientGrants/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/organizations/resources/clientGrants/client/Client.mjs +8 -3
- package/dist/esm/management/api/resources/organizations/resources/connections/client/Client.mjs +9 -5
- package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.mjs +10 -6
- package/dist/esm/management/api/resources/organizations/resources/enabledConnections/client/Client.mjs +9 -5
- package/dist/esm/management/api/resources/organizations/resources/invitations/client/Client.mjs +12 -4
- package/dist/esm/management/api/resources/organizations/resources/members/client/Client.mjs +7 -3
- package/dist/esm/management/api/resources/organizations/resources/members/resources/roles/client/Client.mjs +7 -3
- package/dist/esm/management/api/resources/prompts/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/prompts/resources/customText/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/prompts/resources/partials/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/prompts/resources/rendering/client/Client.mjs +8 -4
- package/dist/esm/management/api/resources/refreshTokens/client/Client.d.mts +17 -0
- package/dist/esm/management/api/resources/refreshTokens/client/Client.mjs +71 -4
- package/dist/esm/management/api/resources/resourceServers/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/resourceServers/client/Client.mjs +14 -5
- package/dist/esm/management/api/resources/riskAssessments/resources/settings/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/riskAssessments/resources/settings/resources/newDevice/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/roles/client/Client.mjs +9 -5
- package/dist/esm/management/api/resources/roles/resources/permissions/client/Client.mjs +7 -3
- package/dist/esm/management/api/resources/roles/resources/users/client/Client.mjs +6 -2
- package/dist/esm/management/api/resources/rules/client/Client.mjs +13 -5
- package/dist/esm/management/api/resources/rulesConfigs/client/Client.mjs +3 -3
- package/dist/esm/management/api/resources/selfServiceProfiles/client/Client.mjs +9 -5
- package/dist/esm/management/api/resources/selfServiceProfiles/resources/customText/client/Client.d.mts +2 -2
- package/dist/esm/management/api/resources/selfServiceProfiles/resources/customText/client/Client.mjs +4 -4
- package/dist/esm/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.d.mts +2 -2
- package/dist/esm/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.mjs +4 -4
- package/dist/esm/management/api/resources/sessions/client/Client.mjs +4 -4
- package/dist/esm/management/api/resources/stats/client/Client.mjs +6 -2
- package/dist/esm/management/api/resources/supplementalSignals/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/tenants/resources/settings/client/Client.mjs +6 -2
- package/dist/esm/management/api/resources/tickets/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/tokenExchangeProfiles/client/Client.mjs +9 -5
- package/dist/esm/management/api/resources/userAttributeProfiles/client/Client.d.mts +1 -1
- package/dist/esm/management/api/resources/userAttributeProfiles/client/Client.mjs +12 -8
- package/dist/esm/management/api/resources/userBlocks/client/Client.mjs +16 -4
- package/dist/esm/management/api/resources/userGrants/client/Client.mjs +11 -3
- package/dist/esm/management/api/resources/users/client/Client.mjs +20 -8
- package/dist/esm/management/api/resources/users/resources/authenticationMethods/client/Client.mjs +11 -7
- package/dist/esm/management/api/resources/users/resources/authenticators/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/users/resources/connectedAccounts/client/Client.mjs +5 -1
- package/dist/esm/management/api/resources/users/resources/enrollments/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/users/resources/federatedConnectionsTokensets/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/users/resources/groups/client/Client.mjs +5 -1
- package/dist/esm/management/api/resources/users/resources/identities/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/users/resources/logs/client/Client.mjs +5 -1
- package/dist/esm/management/api/resources/users/resources/multifactor/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/users/resources/organizations/client/Client.mjs +5 -1
- package/dist/esm/management/api/resources/users/resources/permissions/client/Client.mjs +7 -3
- 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.mjs +1 -1
- package/dist/esm/management/api/resources/users/resources/roles/client/Client.mjs +7 -3
- 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 +1 -1
- package/dist/esm/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.mjs +10 -6
- package/dist/esm/management/api/types/types.d.mts +3454 -133
- package/dist/esm/management/api/types/types.mjs +605 -5
- package/dist/esm/management/core/fetcher/Fetcher.d.mts +6 -0
- package/dist/esm/management/core/fetcher/Fetcher.mjs +9 -8
- package/dist/esm/management/core/index.d.mts +1 -0
- package/dist/esm/management/core/index.mjs +1 -0
- package/dist/esm/management/core/stream/Stream.d.mts +56 -0
- package/dist/esm/management/core/stream/Stream.mjs +262 -0
- package/dist/esm/management/core/stream/index.d.mts +1 -0
- package/dist/esm/management/core/stream/index.mjs +1 -0
- package/dist/esm/management/core/url/QueryStringBuilder.d.mts +47 -0
- package/dist/esm/management/core/url/QueryStringBuilder.mjs +80 -0
- package/dist/esm/management/core/url/index.d.mts +1 -0
- package/dist/esm/management/core/url/index.mjs +1 -0
- package/dist/esm/management/core/url/qs.d.mts +2 -1
- package/dist/esm/management/core/url/qs.mjs +24 -12
- package/dist/esm/management/version.d.mts +1 -1
- package/dist/esm/management/version.mjs +1 -1
- package/package.json +2 -2
- package/reference.md +164 -9
|
@@ -10,6 +10,7 @@ import { CustomDomainsClient } from "./api/resources/customDomains/client/Client
|
|
|
10
10
|
import { DeviceCredentialsClient } from "./api/resources/deviceCredentials/client/Client.js";
|
|
11
11
|
import { EmailsClient } from "./api/resources/emails/client/Client.js";
|
|
12
12
|
import { EmailTemplatesClient } from "./api/resources/emailTemplates/client/Client.js";
|
|
13
|
+
import { EventsClient } from "./api/resources/events/client/Client.js";
|
|
13
14
|
import { EventStreamsClient } from "./api/resources/eventStreams/client/Client.js";
|
|
14
15
|
import { FlowsClient } from "./api/resources/flows/client/Client.js";
|
|
15
16
|
import { FormsClient } from "./api/resources/forms/client/Client.js";
|
|
@@ -61,6 +62,7 @@ export declare class ManagementClient {
|
|
|
61
62
|
protected _deviceCredentials: DeviceCredentialsClient | undefined;
|
|
62
63
|
protected _emailTemplates: EmailTemplatesClient | undefined;
|
|
63
64
|
protected _eventStreams: EventStreamsClient | undefined;
|
|
65
|
+
protected _events: EventsClient | undefined;
|
|
64
66
|
protected _flows: FlowsClient | undefined;
|
|
65
67
|
protected _forms: FormsClient | undefined;
|
|
66
68
|
protected _userGrants: UserGrantsClient | undefined;
|
|
@@ -105,6 +107,7 @@ export declare class ManagementClient {
|
|
|
105
107
|
get deviceCredentials(): DeviceCredentialsClient;
|
|
106
108
|
get emailTemplates(): EmailTemplatesClient;
|
|
107
109
|
get eventStreams(): EventStreamsClient;
|
|
110
|
+
get events(): EventsClient;
|
|
108
111
|
get flows(): FlowsClient;
|
|
109
112
|
get forms(): FormsClient;
|
|
110
113
|
get userGrants(): UserGrantsClient;
|
|
@@ -56,37 +56,38 @@ const Client_js_9 = require("./api/resources/customDomains/client/Client.js");
|
|
|
56
56
|
const Client_js_10 = require("./api/resources/deviceCredentials/client/Client.js");
|
|
57
57
|
const Client_js_11 = require("./api/resources/emails/client/Client.js");
|
|
58
58
|
const Client_js_12 = require("./api/resources/emailTemplates/client/Client.js");
|
|
59
|
-
const Client_js_13 = require("./api/resources/
|
|
60
|
-
const Client_js_14 = require("./api/resources/
|
|
61
|
-
const Client_js_15 = require("./api/resources/
|
|
62
|
-
const Client_js_16 = require("./api/resources/
|
|
63
|
-
const Client_js_17 = require("./api/resources/
|
|
64
|
-
const Client_js_18 = require("./api/resources/
|
|
65
|
-
const Client_js_19 = require("./api/resources/
|
|
66
|
-
const Client_js_20 = require("./api/resources/
|
|
67
|
-
const Client_js_21 = require("./api/resources/
|
|
68
|
-
const Client_js_22 = require("./api/resources/
|
|
69
|
-
const Client_js_23 = require("./api/resources/
|
|
70
|
-
const Client_js_24 = require("./api/resources/
|
|
71
|
-
const Client_js_25 = require("./api/resources/
|
|
72
|
-
const Client_js_26 = require("./api/resources/
|
|
73
|
-
const Client_js_27 = require("./api/resources/
|
|
74
|
-
const Client_js_28 = require("./api/resources/
|
|
75
|
-
const Client_js_29 = require("./api/resources/
|
|
76
|
-
const Client_js_30 = require("./api/resources/
|
|
77
|
-
const Client_js_31 = require("./api/resources/
|
|
78
|
-
const Client_js_32 = require("./api/resources/
|
|
79
|
-
const Client_js_33 = require("./api/resources/
|
|
80
|
-
const Client_js_34 = require("./api/resources/
|
|
81
|
-
const Client_js_35 = require("./api/resources/
|
|
82
|
-
const Client_js_36 = require("./api/resources/
|
|
83
|
-
const Client_js_37 = require("./api/resources/
|
|
84
|
-
const Client_js_38 = require("./api/resources/
|
|
85
|
-
const Client_js_39 = require("./api/resources/
|
|
86
|
-
const Client_js_40 = require("./api/resources/
|
|
87
|
-
const Client_js_41 = require("./api/resources/
|
|
88
|
-
const Client_js_42 = require("./api/resources/
|
|
89
|
-
const Client_js_43 = require("./api/resources/
|
|
59
|
+
const Client_js_13 = require("./api/resources/events/client/Client.js");
|
|
60
|
+
const Client_js_14 = require("./api/resources/eventStreams/client/Client.js");
|
|
61
|
+
const Client_js_15 = require("./api/resources/flows/client/Client.js");
|
|
62
|
+
const Client_js_16 = require("./api/resources/forms/client/Client.js");
|
|
63
|
+
const Client_js_17 = require("./api/resources/groups/client/Client.js");
|
|
64
|
+
const Client_js_18 = require("./api/resources/guardian/client/Client.js");
|
|
65
|
+
const Client_js_19 = require("./api/resources/hooks/client/Client.js");
|
|
66
|
+
const Client_js_20 = require("./api/resources/jobs/client/Client.js");
|
|
67
|
+
const Client_js_21 = require("./api/resources/keys/client/Client.js");
|
|
68
|
+
const Client_js_22 = require("./api/resources/logs/client/Client.js");
|
|
69
|
+
const Client_js_23 = require("./api/resources/logStreams/client/Client.js");
|
|
70
|
+
const Client_js_24 = require("./api/resources/networkAcls/client/Client.js");
|
|
71
|
+
const Client_js_25 = require("./api/resources/organizations/client/Client.js");
|
|
72
|
+
const Client_js_26 = require("./api/resources/prompts/client/Client.js");
|
|
73
|
+
const Client_js_27 = require("./api/resources/refreshTokens/client/Client.js");
|
|
74
|
+
const Client_js_28 = require("./api/resources/resourceServers/client/Client.js");
|
|
75
|
+
const Client_js_29 = require("./api/resources/riskAssessments/client/Client.js");
|
|
76
|
+
const Client_js_30 = require("./api/resources/roles/client/Client.js");
|
|
77
|
+
const Client_js_31 = require("./api/resources/rules/client/Client.js");
|
|
78
|
+
const Client_js_32 = require("./api/resources/rulesConfigs/client/Client.js");
|
|
79
|
+
const Client_js_33 = require("./api/resources/selfServiceProfiles/client/Client.js");
|
|
80
|
+
const Client_js_34 = require("./api/resources/sessions/client/Client.js");
|
|
81
|
+
const Client_js_35 = require("./api/resources/stats/client/Client.js");
|
|
82
|
+
const Client_js_36 = require("./api/resources/supplementalSignals/client/Client.js");
|
|
83
|
+
const Client_js_37 = require("./api/resources/tenants/client/Client.js");
|
|
84
|
+
const Client_js_38 = require("./api/resources/tickets/client/Client.js");
|
|
85
|
+
const Client_js_39 = require("./api/resources/tokenExchangeProfiles/client/Client.js");
|
|
86
|
+
const Client_js_40 = require("./api/resources/userAttributeProfiles/client/Client.js");
|
|
87
|
+
const Client_js_41 = require("./api/resources/userBlocks/client/Client.js");
|
|
88
|
+
const Client_js_42 = require("./api/resources/userGrants/client/Client.js");
|
|
89
|
+
const Client_js_43 = require("./api/resources/users/client/Client.js");
|
|
90
|
+
const Client_js_44 = require("./api/resources/verifiableCredentials/client/Client.js");
|
|
90
91
|
const BaseClient_js_1 = require("./BaseClient.js");
|
|
91
92
|
const core = __importStar(require("./core/index.js"));
|
|
92
93
|
class ManagementClient {
|
|
@@ -131,107 +132,111 @@ class ManagementClient {
|
|
|
131
132
|
}
|
|
132
133
|
get eventStreams() {
|
|
133
134
|
var _a;
|
|
134
|
-
return ((_a = this._eventStreams) !== null && _a !== void 0 ? _a : (this._eventStreams = new
|
|
135
|
+
return ((_a = this._eventStreams) !== null && _a !== void 0 ? _a : (this._eventStreams = new Client_js_14.EventStreamsClient(this._options)));
|
|
136
|
+
}
|
|
137
|
+
get events() {
|
|
138
|
+
var _a;
|
|
139
|
+
return ((_a = this._events) !== null && _a !== void 0 ? _a : (this._events = new Client_js_13.EventsClient(this._options)));
|
|
135
140
|
}
|
|
136
141
|
get flows() {
|
|
137
142
|
var _a;
|
|
138
|
-
return ((_a = this._flows) !== null && _a !== void 0 ? _a : (this._flows = new
|
|
143
|
+
return ((_a = this._flows) !== null && _a !== void 0 ? _a : (this._flows = new Client_js_15.FlowsClient(this._options)));
|
|
139
144
|
}
|
|
140
145
|
get forms() {
|
|
141
146
|
var _a;
|
|
142
|
-
return ((_a = this._forms) !== null && _a !== void 0 ? _a : (this._forms = new
|
|
147
|
+
return ((_a = this._forms) !== null && _a !== void 0 ? _a : (this._forms = new Client_js_16.FormsClient(this._options)));
|
|
143
148
|
}
|
|
144
149
|
get userGrants() {
|
|
145
150
|
var _a;
|
|
146
|
-
return ((_a = this._userGrants) !== null && _a !== void 0 ? _a : (this._userGrants = new
|
|
151
|
+
return ((_a = this._userGrants) !== null && _a !== void 0 ? _a : (this._userGrants = new Client_js_42.UserGrantsClient(this._options)));
|
|
147
152
|
}
|
|
148
153
|
get groups() {
|
|
149
154
|
var _a;
|
|
150
|
-
return ((_a = this._groups) !== null && _a !== void 0 ? _a : (this._groups = new
|
|
155
|
+
return ((_a = this._groups) !== null && _a !== void 0 ? _a : (this._groups = new Client_js_17.GroupsClient(this._options)));
|
|
151
156
|
}
|
|
152
157
|
get hooks() {
|
|
153
158
|
var _a;
|
|
154
|
-
return ((_a = this._hooks) !== null && _a !== void 0 ? _a : (this._hooks = new
|
|
159
|
+
return ((_a = this._hooks) !== null && _a !== void 0 ? _a : (this._hooks = new Client_js_19.HooksClient(this._options)));
|
|
155
160
|
}
|
|
156
161
|
get jobs() {
|
|
157
162
|
var _a;
|
|
158
|
-
return ((_a = this._jobs) !== null && _a !== void 0 ? _a : (this._jobs = new
|
|
163
|
+
return ((_a = this._jobs) !== null && _a !== void 0 ? _a : (this._jobs = new Client_js_20.JobsClient(this._options)));
|
|
159
164
|
}
|
|
160
165
|
get logStreams() {
|
|
161
166
|
var _a;
|
|
162
|
-
return ((_a = this._logStreams) !== null && _a !== void 0 ? _a : (this._logStreams = new
|
|
167
|
+
return ((_a = this._logStreams) !== null && _a !== void 0 ? _a : (this._logStreams = new Client_js_23.LogStreamsClient(this._options)));
|
|
163
168
|
}
|
|
164
169
|
get logs() {
|
|
165
170
|
var _a;
|
|
166
|
-
return ((_a = this._logs) !== null && _a !== void 0 ? _a : (this._logs = new
|
|
171
|
+
return ((_a = this._logs) !== null && _a !== void 0 ? _a : (this._logs = new Client_js_22.LogsClient(this._options)));
|
|
167
172
|
}
|
|
168
173
|
get networkAcls() {
|
|
169
174
|
var _a;
|
|
170
|
-
return ((_a = this._networkAcls) !== null && _a !== void 0 ? _a : (this._networkAcls = new
|
|
175
|
+
return ((_a = this._networkAcls) !== null && _a !== void 0 ? _a : (this._networkAcls = new Client_js_24.NetworkAclsClient(this._options)));
|
|
171
176
|
}
|
|
172
177
|
get organizations() {
|
|
173
178
|
var _a;
|
|
174
|
-
return ((_a = this._organizations) !== null && _a !== void 0 ? _a : (this._organizations = new
|
|
179
|
+
return ((_a = this._organizations) !== null && _a !== void 0 ? _a : (this._organizations = new Client_js_25.OrganizationsClient(this._options)));
|
|
175
180
|
}
|
|
176
181
|
get prompts() {
|
|
177
182
|
var _a;
|
|
178
|
-
return ((_a = this._prompts) !== null && _a !== void 0 ? _a : (this._prompts = new
|
|
183
|
+
return ((_a = this._prompts) !== null && _a !== void 0 ? _a : (this._prompts = new Client_js_26.PromptsClient(this._options)));
|
|
179
184
|
}
|
|
180
185
|
get refreshTokens() {
|
|
181
186
|
var _a;
|
|
182
|
-
return ((_a = this._refreshTokens) !== null && _a !== void 0 ? _a : (this._refreshTokens = new
|
|
187
|
+
return ((_a = this._refreshTokens) !== null && _a !== void 0 ? _a : (this._refreshTokens = new Client_js_27.RefreshTokensClient(this._options)));
|
|
183
188
|
}
|
|
184
189
|
get resourceServers() {
|
|
185
190
|
var _a;
|
|
186
|
-
return ((_a = this._resourceServers) !== null && _a !== void 0 ? _a : (this._resourceServers = new
|
|
191
|
+
return ((_a = this._resourceServers) !== null && _a !== void 0 ? _a : (this._resourceServers = new Client_js_28.ResourceServersClient(this._options)));
|
|
187
192
|
}
|
|
188
193
|
get roles() {
|
|
189
194
|
var _a;
|
|
190
|
-
return ((_a = this._roles) !== null && _a !== void 0 ? _a : (this._roles = new
|
|
195
|
+
return ((_a = this._roles) !== null && _a !== void 0 ? _a : (this._roles = new Client_js_30.RolesClient(this._options)));
|
|
191
196
|
}
|
|
192
197
|
get rules() {
|
|
193
198
|
var _a;
|
|
194
|
-
return ((_a = this._rules) !== null && _a !== void 0 ? _a : (this._rules = new
|
|
199
|
+
return ((_a = this._rules) !== null && _a !== void 0 ? _a : (this._rules = new Client_js_31.RulesClient(this._options)));
|
|
195
200
|
}
|
|
196
201
|
get rulesConfigs() {
|
|
197
202
|
var _a;
|
|
198
|
-
return ((_a = this._rulesConfigs) !== null && _a !== void 0 ? _a : (this._rulesConfigs = new
|
|
203
|
+
return ((_a = this._rulesConfigs) !== null && _a !== void 0 ? _a : (this._rulesConfigs = new Client_js_32.RulesConfigsClient(this._options)));
|
|
199
204
|
}
|
|
200
205
|
get selfServiceProfiles() {
|
|
201
206
|
var _a;
|
|
202
|
-
return ((_a = this._selfServiceProfiles) !== null && _a !== void 0 ? _a : (this._selfServiceProfiles = new
|
|
207
|
+
return ((_a = this._selfServiceProfiles) !== null && _a !== void 0 ? _a : (this._selfServiceProfiles = new Client_js_33.SelfServiceProfilesClient(this._options)));
|
|
203
208
|
}
|
|
204
209
|
get sessions() {
|
|
205
210
|
var _a;
|
|
206
|
-
return ((_a = this._sessions) !== null && _a !== void 0 ? _a : (this._sessions = new
|
|
211
|
+
return ((_a = this._sessions) !== null && _a !== void 0 ? _a : (this._sessions = new Client_js_34.SessionsClient(this._options)));
|
|
207
212
|
}
|
|
208
213
|
get stats() {
|
|
209
214
|
var _a;
|
|
210
|
-
return ((_a = this._stats) !== null && _a !== void 0 ? _a : (this._stats = new
|
|
215
|
+
return ((_a = this._stats) !== null && _a !== void 0 ? _a : (this._stats = new Client_js_35.StatsClient(this._options)));
|
|
211
216
|
}
|
|
212
217
|
get supplementalSignals() {
|
|
213
218
|
var _a;
|
|
214
|
-
return ((_a = this._supplementalSignals) !== null && _a !== void 0 ? _a : (this._supplementalSignals = new
|
|
219
|
+
return ((_a = this._supplementalSignals) !== null && _a !== void 0 ? _a : (this._supplementalSignals = new Client_js_36.SupplementalSignalsClient(this._options)));
|
|
215
220
|
}
|
|
216
221
|
get tickets() {
|
|
217
222
|
var _a;
|
|
218
|
-
return ((_a = this._tickets) !== null && _a !== void 0 ? _a : (this._tickets = new
|
|
223
|
+
return ((_a = this._tickets) !== null && _a !== void 0 ? _a : (this._tickets = new Client_js_38.TicketsClient(this._options)));
|
|
219
224
|
}
|
|
220
225
|
get tokenExchangeProfiles() {
|
|
221
226
|
var _a;
|
|
222
|
-
return ((_a = this._tokenExchangeProfiles) !== null && _a !== void 0 ? _a : (this._tokenExchangeProfiles = new
|
|
227
|
+
return ((_a = this._tokenExchangeProfiles) !== null && _a !== void 0 ? _a : (this._tokenExchangeProfiles = new Client_js_39.TokenExchangeProfilesClient(this._options)));
|
|
223
228
|
}
|
|
224
229
|
get userAttributeProfiles() {
|
|
225
230
|
var _a;
|
|
226
|
-
return ((_a = this._userAttributeProfiles) !== null && _a !== void 0 ? _a : (this._userAttributeProfiles = new
|
|
231
|
+
return ((_a = this._userAttributeProfiles) !== null && _a !== void 0 ? _a : (this._userAttributeProfiles = new Client_js_40.UserAttributeProfilesClient(this._options)));
|
|
227
232
|
}
|
|
228
233
|
get userBlocks() {
|
|
229
234
|
var _a;
|
|
230
|
-
return ((_a = this._userBlocks) !== null && _a !== void 0 ? _a : (this._userBlocks = new
|
|
235
|
+
return ((_a = this._userBlocks) !== null && _a !== void 0 ? _a : (this._userBlocks = new Client_js_41.UserBlocksClient(this._options)));
|
|
231
236
|
}
|
|
232
237
|
get users() {
|
|
233
238
|
var _a;
|
|
234
|
-
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new
|
|
239
|
+
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_js_43.UsersClient(this._options)));
|
|
235
240
|
}
|
|
236
241
|
get anomaly() {
|
|
237
242
|
var _a;
|
|
@@ -247,23 +252,23 @@ class ManagementClient {
|
|
|
247
252
|
}
|
|
248
253
|
get guardian() {
|
|
249
254
|
var _a;
|
|
250
|
-
return ((_a = this._guardian) !== null && _a !== void 0 ? _a : (this._guardian = new
|
|
255
|
+
return ((_a = this._guardian) !== null && _a !== void 0 ? _a : (this._guardian = new Client_js_18.GuardianClient(this._options)));
|
|
251
256
|
}
|
|
252
257
|
get keys() {
|
|
253
258
|
var _a;
|
|
254
|
-
return ((_a = this._keys) !== null && _a !== void 0 ? _a : (this._keys = new
|
|
259
|
+
return ((_a = this._keys) !== null && _a !== void 0 ? _a : (this._keys = new Client_js_21.KeysClient(this._options)));
|
|
255
260
|
}
|
|
256
261
|
get riskAssessments() {
|
|
257
262
|
var _a;
|
|
258
|
-
return ((_a = this._riskAssessments) !== null && _a !== void 0 ? _a : (this._riskAssessments = new
|
|
263
|
+
return ((_a = this._riskAssessments) !== null && _a !== void 0 ? _a : (this._riskAssessments = new Client_js_29.RiskAssessmentsClient(this._options)));
|
|
259
264
|
}
|
|
260
265
|
get tenants() {
|
|
261
266
|
var _a;
|
|
262
|
-
return ((_a = this._tenants) !== null && _a !== void 0 ? _a : (this._tenants = new
|
|
267
|
+
return ((_a = this._tenants) !== null && _a !== void 0 ? _a : (this._tenants = new Client_js_37.TenantsClient(this._options)));
|
|
263
268
|
}
|
|
264
269
|
get verifiableCredentials() {
|
|
265
270
|
var _a;
|
|
266
|
-
return ((_a = this._verifiableCredentials) !== null && _a !== void 0 ? _a : (this._verifiableCredentials = new
|
|
271
|
+
return ((_a = this._verifiableCredentials) !== null && _a !== void 0 ? _a : (this._verifiableCredentials = new Client_js_44.VerifiableCredentialsClient(this._options)));
|
|
267
272
|
}
|
|
268
273
|
/**
|
|
269
274
|
* Make a passthrough request using the SDK's configured auth, retry, logging, etc.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.GoneError = void 0;
|
|
38
|
+
const errors = __importStar(require("../../errors/index.js"));
|
|
39
|
+
class GoneError extends errors.ManagementError {
|
|
40
|
+
constructor(body, rawResponse) {
|
|
41
|
+
super({
|
|
42
|
+
message: "GoneError",
|
|
43
|
+
statusCode: 410,
|
|
44
|
+
body: body,
|
|
45
|
+
rawResponse: rawResponse,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
48
|
+
if (Error.captureStackTrace) {
|
|
49
|
+
Error.captureStackTrace(this, this.constructor);
|
|
50
|
+
}
|
|
51
|
+
this.name = this.constructor.name;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
exports.GoneError = GoneError;
|
|
@@ -2,6 +2,7 @@ export * from "./BadRequestError.js";
|
|
|
2
2
|
export * from "./ConflictError.js";
|
|
3
3
|
export * from "./ContentTooLargeError.js";
|
|
4
4
|
export * from "./ForbiddenError.js";
|
|
5
|
+
export * from "./GoneError.js";
|
|
5
6
|
export * from "./InternalServerError.js";
|
|
6
7
|
export * from "./NotFoundError.js";
|
|
7
8
|
export * from "./PaymentRequiredError.js";
|
|
@@ -18,6 +18,7 @@ __exportStar(require("./BadRequestError.js"), exports);
|
|
|
18
18
|
__exportStar(require("./ConflictError.js"), exports);
|
|
19
19
|
__exportStar(require("./ContentTooLargeError.js"), exports);
|
|
20
20
|
__exportStar(require("./ForbiddenError.js"), exports);
|
|
21
|
+
__exportStar(require("./GoneError.js"), exports);
|
|
21
22
|
__exportStar(require("./InternalServerError.js"), exports);
|
|
22
23
|
__exportStar(require("./NotFoundError.js"), exports);
|
|
23
24
|
__exportStar(require("./PaymentRequiredError.js"), exports);
|
|
@@ -103,6 +103,7 @@ export interface UpdateBrandingRequestContent {
|
|
|
103
103
|
favicon_url?: string | null;
|
|
104
104
|
/** URL for the logo. Must use HTTPS. */
|
|
105
105
|
logo_url?: string | null;
|
|
106
|
+
identifiers?: Management.UpdateBrandingIdentifiers | null;
|
|
106
107
|
font?: Management.UpdateBrandingFont | null;
|
|
107
108
|
}
|
|
108
109
|
/**
|
|
@@ -130,7 +131,7 @@ export interface ListClientGrantsRequestParameters {
|
|
|
130
131
|
allow_any_organization?: Management.ClientGrantAllowAnyOrganizationEnum | null;
|
|
131
132
|
/** The type of application access the client grant allows. */
|
|
132
133
|
subject_type?: Management.ClientGrantSubjectTypeEnum | null;
|
|
133
|
-
/** Applies this client grant as the default for all clients in the specified group. The only accepted value is
|
|
134
|
+
/** Applies this client grant as the default for all clients in the specified group. The only accepted value is <a href="https://auth0.com/docs/get-started/applications/application-access-to-apis-client-grants#default-permissions-for-third-party-applications">`third_party_clients`</a>, which applies the grant to all third-party clients. Per-client grants for the same audience take precedence. Mutually exclusive with `client_id`. */
|
|
134
135
|
default_for?: Management.ClientGrantDefaultForEnum | null;
|
|
135
136
|
}
|
|
136
137
|
/**
|
|
@@ -473,6 +474,7 @@ export interface UpdateConnectionProfileRequestContent {
|
|
|
473
474
|
* {
|
|
474
475
|
* from: "from",
|
|
475
476
|
* take: 1,
|
|
477
|
+
* strategy: ["ad"],
|
|
476
478
|
* name: "name",
|
|
477
479
|
* fields: "fields",
|
|
478
480
|
* include_fields: true
|
|
@@ -769,12 +771,29 @@ export interface CreateEventStreamTestEventRequestContent {
|
|
|
769
771
|
event_type: Management.EventStreamTestEventTypeEnum;
|
|
770
772
|
data?: Management.TestEventDataContent;
|
|
771
773
|
}
|
|
774
|
+
/**
|
|
775
|
+
* @example
|
|
776
|
+
* {
|
|
777
|
+
* from: "from",
|
|
778
|
+
* from_timestamp: "from_timestamp",
|
|
779
|
+
* event_type: ["group.created"]
|
|
780
|
+
* }
|
|
781
|
+
*/
|
|
782
|
+
export interface SubscribeEventsRequestParameters {
|
|
783
|
+
/** Opaque token representing position in the stream. If not provided, stream will start from the latest events. */
|
|
784
|
+
from?: string | null;
|
|
785
|
+
/** RFC-3339 timestamp indicating where to start streaming events from. This should only be used on the initial query when a cursor may not be available. Subsequent requests should use the cursor (from) as it will be more accurate. */
|
|
786
|
+
from_timestamp?: string | null;
|
|
787
|
+
/** Event type(s) to listen for. Specify multiple times for multiple types (e.g., ?event_type=user.created&event_type=user.updated). If not provided, all event types will be streamed. */
|
|
788
|
+
event_type?: (Management.EventStreamSubscribeEventsEventTypeEnum | null) | (Management.EventStreamSubscribeEventsEventTypeEnum | null)[];
|
|
789
|
+
}
|
|
772
790
|
/**
|
|
773
791
|
* @example
|
|
774
792
|
* {
|
|
775
793
|
* page: 1,
|
|
776
794
|
* per_page: 1,
|
|
777
795
|
* include_totals: true,
|
|
796
|
+
* hydrate: ["form_count"],
|
|
778
797
|
* synchronous: true
|
|
779
798
|
* }
|
|
780
799
|
*/
|
|
@@ -802,7 +821,9 @@ export interface CreateFlowRequestContent {
|
|
|
802
821
|
}
|
|
803
822
|
/**
|
|
804
823
|
* @example
|
|
805
|
-
* {
|
|
824
|
+
* {
|
|
825
|
+
* hydrate: ["form_count"]
|
|
826
|
+
* }
|
|
806
827
|
*/
|
|
807
828
|
export interface GetFlowRequestParameters {
|
|
808
829
|
/** hydration param */
|
|
@@ -821,7 +842,8 @@ export interface UpdateFlowRequestContent {
|
|
|
821
842
|
* {
|
|
822
843
|
* page: 1,
|
|
823
844
|
* per_page: 1,
|
|
824
|
-
* include_totals: true
|
|
845
|
+
* include_totals: true,
|
|
846
|
+
* hydrate: ["flow_count"]
|
|
825
847
|
* }
|
|
826
848
|
*/
|
|
827
849
|
export interface ListFormsRequestParameters {
|
|
@@ -852,7 +874,9 @@ export interface CreateFormRequestContent {
|
|
|
852
874
|
}
|
|
853
875
|
/**
|
|
854
876
|
* @example
|
|
855
|
-
* {
|
|
877
|
+
* {
|
|
878
|
+
* hydrate: ["flow_count"]
|
|
879
|
+
* }
|
|
856
880
|
*/
|
|
857
881
|
export interface GetFormRequestParameters {
|
|
858
882
|
/** Query parameter to hydrate the response with additional data */
|
|
@@ -913,6 +937,7 @@ export interface DeleteUserGrantByUserIdRequestParameters {
|
|
|
913
937
|
* connection_id: "connection_id",
|
|
914
938
|
* name: "name",
|
|
915
939
|
* external_id: "external_id",
|
|
940
|
+
* search: "search",
|
|
916
941
|
* fields: "fields",
|
|
917
942
|
* include_fields: true,
|
|
918
943
|
* from: "from",
|
|
@@ -926,6 +951,8 @@ export interface ListGroupsRequestParameters {
|
|
|
926
951
|
name?: string | null;
|
|
927
952
|
/** Filter groups by external ID. */
|
|
928
953
|
external_id?: string | null;
|
|
954
|
+
/** Search for groups by name or external ID. */
|
|
955
|
+
search?: string | null;
|
|
929
956
|
/** A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields */
|
|
930
957
|
fields?: string | null;
|
|
931
958
|
/** Whether specified fields are to be included (true) or excluded (false). */
|
|
@@ -1197,6 +1224,18 @@ export interface GetRefreshTokensRequestParameters {
|
|
|
1197
1224
|
/** Whether specified fields are to be included (true) or excluded (false). */
|
|
1198
1225
|
include_fields?: boolean | null;
|
|
1199
1226
|
}
|
|
1227
|
+
/**
|
|
1228
|
+
* @example
|
|
1229
|
+
* {}
|
|
1230
|
+
*/
|
|
1231
|
+
export interface RevokeRefreshTokensRequestContent {
|
|
1232
|
+
/** Array of refresh token IDs to revoke. Limited to 100 at a time. */
|
|
1233
|
+
ids?: string[];
|
|
1234
|
+
/** Revoke all refresh tokens for this user. */
|
|
1235
|
+
user_id?: string;
|
|
1236
|
+
/** Revoke all refresh tokens for this client. */
|
|
1237
|
+
client_id?: string;
|
|
1238
|
+
}
|
|
1200
1239
|
/**
|
|
1201
1240
|
* @example
|
|
1202
1241
|
* {}
|
|
@@ -1208,6 +1247,7 @@ export interface UpdateRefreshTokenRequestContent {
|
|
|
1208
1247
|
/**
|
|
1209
1248
|
* @example
|
|
1210
1249
|
* {
|
|
1250
|
+
* identifiers: ["identifiers"],
|
|
1211
1251
|
* page: 1,
|
|
1212
1252
|
* per_page: 1,
|
|
1213
1253
|
* include_totals: true,
|
|
@@ -1258,6 +1298,7 @@ export interface CreateResourceServerRequestContent {
|
|
|
1258
1298
|
authorization_details?: unknown[] | null;
|
|
1259
1299
|
proof_of_possession?: Management.ResourceServerProofOfPossession | null;
|
|
1260
1300
|
subject_type_authorization?: Management.ResourceServerSubjectTypeAuthorization;
|
|
1301
|
+
authorization_policy?: Management.ResourceServerAuthorizationPolicy | null;
|
|
1261
1302
|
}
|
|
1262
1303
|
/**
|
|
1263
1304
|
* @example
|
|
@@ -1297,6 +1338,7 @@ export interface UpdateResourceServerRequestContent {
|
|
|
1297
1338
|
authorization_details?: unknown[] | null;
|
|
1298
1339
|
proof_of_possession?: Management.ResourceServerProofOfPossession | null;
|
|
1299
1340
|
subject_type_authorization?: Management.ResourceServerSubjectTypeAuthorization;
|
|
1341
|
+
authorization_policy?: Management.ResourceServerAuthorizationPolicy | null;
|
|
1300
1342
|
}
|
|
1301
1343
|
/**
|
|
1302
1344
|
* @example
|
|
@@ -1446,9 +1488,9 @@ export interface CreateSelfServiceProfileRequestContent {
|
|
|
1446
1488
|
/** The description of the self-service Profile. */
|
|
1447
1489
|
description?: string;
|
|
1448
1490
|
branding?: Management.SelfServiceProfileBrandingProperties;
|
|
1449
|
-
/** List of IdP strategies that will be shown to users during the Self-Service
|
|
1491
|
+
/** List of IdP strategies that will be shown to users during the Self-Service Enterprise Configuration flow. Possible values: [`oidc`, `samlp`, `waad`, `google-apps`, `adfs`, `okta`, `auth0-samlp`, `okta-samlp`, `keycloak-samlp`, `pingfederate`] */
|
|
1450
1492
|
allowed_strategies?: Management.SelfServiceProfileAllowedStrategyEnum[];
|
|
1451
|
-
/** List of attributes to be mapped that will be shown to the user during the
|
|
1493
|
+
/** List of attributes to be mapped that will be shown to the user during the Self-Service Enterprise Configuration flow. */
|
|
1452
1494
|
user_attributes?: Management.SelfServiceProfileUserAttribute[];
|
|
1453
1495
|
/** ID of the user-attribute-profile to associate with this self-service profile. */
|
|
1454
1496
|
user_attribute_profile_id?: string;
|
|
@@ -1462,7 +1504,7 @@ export interface UpdateSelfServiceProfileRequestContent {
|
|
|
1462
1504
|
name?: string;
|
|
1463
1505
|
description?: (Management.SelfServiceProfileDescription | undefined) | null;
|
|
1464
1506
|
branding?: Management.SelfServiceProfileBranding | undefined;
|
|
1465
|
-
/** List of IdP strategies that will be shown to users during the Self-Service
|
|
1507
|
+
/** List of IdP strategies that will be shown to users during the Self-Service Enterprise Configuration flow. Possible values: [`oidc`, `samlp`, `waad`, `google-apps`, `adfs`, `okta`, `auth0-samlp`, `okta-samlp`, `keycloak-samlp`, `pingfederate`] */
|
|
1466
1508
|
allowed_strategies?: Management.SelfServiceProfileAllowedStrategyEnum[];
|
|
1467
1509
|
user_attributes?: (Management.SelfServiceProfileUserAttributes | undefined) | null;
|
|
1468
1510
|
/** ID of the user-attribute-profile to associate with this self-service profile. */
|
|
@@ -2324,6 +2366,7 @@ export interface PatchClientCredentialRequestContent {
|
|
|
2324
2366
|
/**
|
|
2325
2367
|
* @example
|
|
2326
2368
|
* {
|
|
2369
|
+
* strategy: ["ad"],
|
|
2327
2370
|
* from: "from",
|
|
2328
2371
|
* take: 1,
|
|
2329
2372
|
* fields: "fields",
|
|
@@ -2537,7 +2580,9 @@ export interface ListFlowExecutionsRequestParameters {
|
|
|
2537
2580
|
}
|
|
2538
2581
|
/**
|
|
2539
2582
|
* @example
|
|
2540
|
-
* {
|
|
2583
|
+
* {
|
|
2584
|
+
* hydrate: ["debug"]
|
|
2585
|
+
* }
|
|
2541
2586
|
*/
|
|
2542
2587
|
export interface GetFlowExecutionRequestParameters {
|
|
2543
2588
|
/** Hydration param */
|
|
@@ -2891,6 +2936,7 @@ export interface ImportEncryptionKeyRequestContent {
|
|
|
2891
2936
|
* {
|
|
2892
2937
|
* audience: "audience",
|
|
2893
2938
|
* client_id: "client_id",
|
|
2939
|
+
* grant_ids: ["grant_ids"],
|
|
2894
2940
|
* page: 1,
|
|
2895
2941
|
* per_page: 1,
|
|
2896
2942
|
* include_totals: true
|
|
@@ -3346,7 +3392,7 @@ export interface AssignRoleUsersRequestContent {
|
|
|
3346
3392
|
* {}
|
|
3347
3393
|
*/
|
|
3348
3394
|
export interface CreateSelfServiceProfileSsoTicketRequestContent {
|
|
3349
|
-
/** If provided, this will allow editing of the provided connection during the
|
|
3395
|
+
/** If provided, this will allow editing of the provided connection during the Self-Service Enterprise Configuration flow */
|
|
3350
3396
|
connection_id?: string;
|
|
3351
3397
|
connection_config?: Management.SelfServiceProfileSsoTicketConnectionConfig;
|
|
3352
3398
|
/** List of client_ids that the connection will be enabled for. */
|
|
@@ -115,7 +115,11 @@ class ActionsClient {
|
|
|
115
115
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, "actions/actions"),
|
|
116
116
|
method: "GET",
|
|
117
117
|
headers: _headers,
|
|
118
|
-
|
|
118
|
+
queryString: core.url
|
|
119
|
+
.queryBuilder()
|
|
120
|
+
.addMany(_queryParams)
|
|
121
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
122
|
+
.build(),
|
|
119
123
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
120
124
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
121
125
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -194,7 +198,7 @@ class ActionsClient {
|
|
|
194
198
|
method: "POST",
|
|
195
199
|
headers: _headers,
|
|
196
200
|
contentType: "application/json",
|
|
197
|
-
|
|
201
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
198
202
|
requestType: "json",
|
|
199
203
|
body: request,
|
|
200
204
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
@@ -257,7 +261,7 @@ class ActionsClient {
|
|
|
257
261
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `actions/actions/${core.url.encodePathParam(id)}`),
|
|
258
262
|
method: "GET",
|
|
259
263
|
headers: _headers,
|
|
260
|
-
|
|
264
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
261
265
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
262
266
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
263
267
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -324,7 +328,11 @@ class ActionsClient {
|
|
|
324
328
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `actions/actions/${core.url.encodePathParam(id)}`),
|
|
325
329
|
method: "DELETE",
|
|
326
330
|
headers: _headers,
|
|
327
|
-
|
|
331
|
+
queryString: core.url
|
|
332
|
+
.queryBuilder()
|
|
333
|
+
.addMany(_queryParams)
|
|
334
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
335
|
+
.build(),
|
|
328
336
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
329
337
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
330
338
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -386,7 +394,7 @@ class ActionsClient {
|
|
|
386
394
|
method: "PATCH",
|
|
387
395
|
headers: _headers,
|
|
388
396
|
contentType: "application/json",
|
|
389
|
-
|
|
397
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
390
398
|
requestType: "json",
|
|
391
399
|
body: request,
|
|
392
400
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
@@ -450,7 +458,7 @@ class ActionsClient {
|
|
|
450
458
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `actions/actions/${core.url.encodePathParam(id)}/deploy`),
|
|
451
459
|
method: "POST",
|
|
452
460
|
headers: _headers,
|
|
453
|
-
|
|
461
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
454
462
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
455
463
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
456
464
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -516,7 +524,7 @@ class ActionsClient {
|
|
|
516
524
|
method: "POST",
|
|
517
525
|
headers: _headers,
|
|
518
526
|
contentType: "application/json",
|
|
519
|
-
|
|
527
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
520
528
|
requestType: "json",
|
|
521
529
|
body: request,
|
|
522
530
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
@@ -82,7 +82,7 @@ class ExecutionsClient {
|
|
|
82
82
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `actions/executions/${core.url.encodePathParam(id)}`),
|
|
83
83
|
method: "GET",
|
|
84
84
|
headers: _headers,
|
|
85
|
-
|
|
85
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
86
86
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
87
87
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
88
88
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|