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
|
@@ -56,7 +56,11 @@ export class MembersClient {
|
|
|
56
56
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `groups/${core.url.encodePathParam(id)}/members`),
|
|
57
57
|
method: "GET",
|
|
58
58
|
headers: _headers,
|
|
59
|
-
|
|
59
|
+
queryString: core.url
|
|
60
|
+
.queryBuilder()
|
|
61
|
+
.addMany(_queryParams)
|
|
62
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
63
|
+
.build(),
|
|
60
64
|
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,
|
|
61
65
|
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,
|
|
62
66
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -51,7 +51,7 @@ export class EnrollmentsClient {
|
|
|
51
51
|
method: "POST",
|
|
52
52
|
headers: _headers,
|
|
53
53
|
contentType: "application/json",
|
|
54
|
-
|
|
54
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
55
55
|
requestType: "json",
|
|
56
56
|
body: request,
|
|
57
57
|
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,
|
|
@@ -112,7 +112,7 @@ export class EnrollmentsClient {
|
|
|
112
112
|
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, `guardian/enrollments/${core.url.encodePathParam(id)}`),
|
|
113
113
|
method: "GET",
|
|
114
114
|
headers: _headers,
|
|
115
|
-
|
|
115
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
116
116
|
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,
|
|
117
117
|
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,
|
|
118
118
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -169,7 +169,7 @@ export class EnrollmentsClient {
|
|
|
169
169
|
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, `guardian/enrollments/${core.url.encodePathParam(id)}`),
|
|
170
170
|
method: "DELETE",
|
|
171
171
|
headers: _headers,
|
|
172
|
-
|
|
172
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
173
173
|
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,
|
|
174
174
|
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,
|
|
175
175
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -63,7 +63,7 @@ export class FactorsClient {
|
|
|
63
63
|
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, "guardian/factors"),
|
|
64
64
|
method: "GET",
|
|
65
65
|
headers: _headers,
|
|
66
|
-
|
|
66
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
67
67
|
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,
|
|
68
68
|
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,
|
|
69
69
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -121,7 +121,7 @@ export class FactorsClient {
|
|
|
121
121
|
method: "PUT",
|
|
122
122
|
headers: _headers,
|
|
123
123
|
contentType: "application/json",
|
|
124
|
-
|
|
124
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
125
125
|
requestType: "json",
|
|
126
126
|
body: request,
|
|
127
127
|
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,
|
|
@@ -43,7 +43,7 @@ export class SettingsClient {
|
|
|
43
43
|
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, "guardian/factors/duo/settings"),
|
|
44
44
|
method: "GET",
|
|
45
45
|
headers: _headers,
|
|
46
|
-
|
|
46
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
47
47
|
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,
|
|
48
48
|
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,
|
|
49
49
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -101,7 +101,7 @@ export class SettingsClient {
|
|
|
101
101
|
method: "PUT",
|
|
102
102
|
headers: _headers,
|
|
103
103
|
contentType: "application/json",
|
|
104
|
-
|
|
104
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
105
105
|
requestType: "json",
|
|
106
106
|
body: request,
|
|
107
107
|
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,
|
|
@@ -159,7 +159,7 @@ export class SettingsClient {
|
|
|
159
159
|
method: "PATCH",
|
|
160
160
|
headers: _headers,
|
|
161
161
|
contentType: "application/json",
|
|
162
|
-
|
|
162
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
163
163
|
requestType: "json",
|
|
164
164
|
body: request,
|
|
165
165
|
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,
|
|
@@ -43,7 +43,7 @@ export class PhoneClient {
|
|
|
43
43
|
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, "guardian/factors/phone/message-types"),
|
|
44
44
|
method: "GET",
|
|
45
45
|
headers: _headers,
|
|
46
|
-
|
|
46
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
47
47
|
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,
|
|
48
48
|
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,
|
|
49
49
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -104,7 +104,7 @@ export class PhoneClient {
|
|
|
104
104
|
method: "PUT",
|
|
105
105
|
headers: _headers,
|
|
106
106
|
contentType: "application/json",
|
|
107
|
-
|
|
107
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
108
108
|
requestType: "json",
|
|
109
109
|
body: request,
|
|
110
110
|
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,
|
|
@@ -164,7 +164,7 @@ export class PhoneClient {
|
|
|
164
164
|
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, "guardian/factors/phone/providers/twilio"),
|
|
165
165
|
method: "GET",
|
|
166
166
|
headers: _headers,
|
|
167
|
-
|
|
167
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
168
168
|
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,
|
|
169
169
|
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,
|
|
170
170
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -222,7 +222,7 @@ export class PhoneClient {
|
|
|
222
222
|
method: "PUT",
|
|
223
223
|
headers: _headers,
|
|
224
224
|
contentType: "application/json",
|
|
225
|
-
|
|
225
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
226
226
|
requestType: "json",
|
|
227
227
|
body: request,
|
|
228
228
|
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,
|
|
@@ -280,7 +280,7 @@ export class PhoneClient {
|
|
|
280
280
|
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, "guardian/factors/phone/selected-provider"),
|
|
281
281
|
method: "GET",
|
|
282
282
|
headers: _headers,
|
|
283
|
-
|
|
283
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
284
284
|
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,
|
|
285
285
|
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,
|
|
286
286
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -338,7 +338,7 @@ export class PhoneClient {
|
|
|
338
338
|
method: "PUT",
|
|
339
339
|
headers: _headers,
|
|
340
340
|
contentType: "application/json",
|
|
341
|
-
|
|
341
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
342
342
|
requestType: "json",
|
|
343
343
|
body: request,
|
|
344
344
|
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,
|
|
@@ -396,7 +396,7 @@ export class PhoneClient {
|
|
|
396
396
|
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, "guardian/factors/phone/templates"),
|
|
397
397
|
method: "GET",
|
|
398
398
|
headers: _headers,
|
|
399
|
-
|
|
399
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
400
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,
|
|
401
401
|
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,
|
|
402
402
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -457,7 +457,7 @@ export class PhoneClient {
|
|
|
457
457
|
method: "PUT",
|
|
458
458
|
headers: _headers,
|
|
459
459
|
contentType: "application/json",
|
|
460
|
-
|
|
460
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
461
461
|
requestType: "json",
|
|
462
462
|
body: request,
|
|
463
463
|
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,
|
|
@@ -43,7 +43,7 @@ export class PushNotificationClient {
|
|
|
43
43
|
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, "guardian/factors/push-notification/providers/apns"),
|
|
44
44
|
method: "GET",
|
|
45
45
|
headers: _headers,
|
|
46
|
-
|
|
46
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
47
47
|
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,
|
|
48
48
|
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,
|
|
49
49
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -101,7 +101,7 @@ export class PushNotificationClient {
|
|
|
101
101
|
method: "PUT",
|
|
102
102
|
headers: _headers,
|
|
103
103
|
contentType: "application/json",
|
|
104
|
-
|
|
104
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
105
105
|
requestType: "json",
|
|
106
106
|
body: request,
|
|
107
107
|
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,
|
|
@@ -161,7 +161,7 @@ export class PushNotificationClient {
|
|
|
161
161
|
method: "PATCH",
|
|
162
162
|
headers: _headers,
|
|
163
163
|
contentType: "application/json",
|
|
164
|
-
|
|
164
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
165
165
|
requestType: "json",
|
|
166
166
|
body: request,
|
|
167
167
|
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,
|
|
@@ -221,7 +221,7 @@ export class PushNotificationClient {
|
|
|
221
221
|
method: "PUT",
|
|
222
222
|
headers: _headers,
|
|
223
223
|
contentType: "application/json",
|
|
224
|
-
|
|
224
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
225
225
|
requestType: "json",
|
|
226
226
|
body: request,
|
|
227
227
|
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,
|
|
@@ -281,7 +281,7 @@ export class PushNotificationClient {
|
|
|
281
281
|
method: "PATCH",
|
|
282
282
|
headers: _headers,
|
|
283
283
|
contentType: "application/json",
|
|
284
|
-
|
|
284
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
285
285
|
requestType: "json",
|
|
286
286
|
body: request,
|
|
287
287
|
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,
|
|
@@ -341,7 +341,7 @@ export class PushNotificationClient {
|
|
|
341
341
|
method: "PUT",
|
|
342
342
|
headers: _headers,
|
|
343
343
|
contentType: "application/json",
|
|
344
|
-
|
|
344
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
345
345
|
requestType: "json",
|
|
346
346
|
body: request,
|
|
347
347
|
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,
|
|
@@ -401,7 +401,7 @@ export class PushNotificationClient {
|
|
|
401
401
|
method: "PATCH",
|
|
402
402
|
headers: _headers,
|
|
403
403
|
contentType: "application/json",
|
|
404
|
-
|
|
404
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
405
405
|
requestType: "json",
|
|
406
406
|
body: request,
|
|
407
407
|
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,
|
|
@@ -459,7 +459,7 @@ export class PushNotificationClient {
|
|
|
459
459
|
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, "guardian/factors/push-notification/providers/sns"),
|
|
460
460
|
method: "GET",
|
|
461
461
|
headers: _headers,
|
|
462
|
-
|
|
462
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
463
463
|
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,
|
|
464
464
|
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,
|
|
465
465
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -517,7 +517,7 @@ export class PushNotificationClient {
|
|
|
517
517
|
method: "PUT",
|
|
518
518
|
headers: _headers,
|
|
519
519
|
contentType: "application/json",
|
|
520
|
-
|
|
520
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
521
521
|
requestType: "json",
|
|
522
522
|
body: request,
|
|
523
523
|
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,
|
|
@@ -577,7 +577,7 @@ export class PushNotificationClient {
|
|
|
577
577
|
method: "PATCH",
|
|
578
578
|
headers: _headers,
|
|
579
579
|
contentType: "application/json",
|
|
580
|
-
|
|
580
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
581
581
|
requestType: "json",
|
|
582
582
|
body: request,
|
|
583
583
|
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,
|
|
@@ -635,7 +635,7 @@ export class PushNotificationClient {
|
|
|
635
635
|
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, "guardian/factors/push-notification/selected-provider"),
|
|
636
636
|
method: "GET",
|
|
637
637
|
headers: _headers,
|
|
638
|
-
|
|
638
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
639
639
|
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,
|
|
640
640
|
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,
|
|
641
641
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -695,7 +695,7 @@ export class PushNotificationClient {
|
|
|
695
695
|
method: "PUT",
|
|
696
696
|
headers: _headers,
|
|
697
697
|
contentType: "application/json",
|
|
698
|
-
|
|
698
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
699
699
|
requestType: "json",
|
|
700
700
|
body: request,
|
|
701
701
|
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,
|
package/dist/esm/management/api/resources/guardian/resources/factors/resources/sms/client/Client.mjs
CHANGED
|
@@ -45,7 +45,7 @@ export class SmsClient {
|
|
|
45
45
|
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, "guardian/factors/sms/providers/twilio"),
|
|
46
46
|
method: "GET",
|
|
47
47
|
headers: _headers,
|
|
48
|
-
|
|
48
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
49
49
|
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,
|
|
50
50
|
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,
|
|
51
51
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -105,7 +105,7 @@ export class SmsClient {
|
|
|
105
105
|
method: "PUT",
|
|
106
106
|
headers: _headers,
|
|
107
107
|
contentType: "application/json",
|
|
108
|
-
|
|
108
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
109
109
|
requestType: "json",
|
|
110
110
|
body: request,
|
|
111
111
|
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,
|
|
@@ -165,7 +165,7 @@ export class SmsClient {
|
|
|
165
165
|
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, "guardian/factors/sms/selected-provider"),
|
|
166
166
|
method: "GET",
|
|
167
167
|
headers: _headers,
|
|
168
|
-
|
|
168
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
169
169
|
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,
|
|
170
170
|
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,
|
|
171
171
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -227,7 +227,7 @@ export class SmsClient {
|
|
|
227
227
|
method: "PUT",
|
|
228
228
|
headers: _headers,
|
|
229
229
|
contentType: "application/json",
|
|
230
|
-
|
|
230
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
231
231
|
requestType: "json",
|
|
232
232
|
body: request,
|
|
233
233
|
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,
|
|
@@ -287,7 +287,7 @@ export class SmsClient {
|
|
|
287
287
|
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, "guardian/factors/sms/templates"),
|
|
288
288
|
method: "GET",
|
|
289
289
|
headers: _headers,
|
|
290
|
-
|
|
290
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
291
291
|
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,
|
|
292
292
|
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,
|
|
293
293
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -350,7 +350,7 @@ export class SmsClient {
|
|
|
350
350
|
method: "PUT",
|
|
351
351
|
headers: _headers,
|
|
352
352
|
contentType: "application/json",
|
|
353
|
-
|
|
353
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
354
354
|
requestType: "json",
|
|
355
355
|
body: request,
|
|
356
356
|
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,
|
|
@@ -51,7 +51,7 @@ export class PoliciesClient {
|
|
|
51
51
|
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, "guardian/policies"),
|
|
52
52
|
method: "GET",
|
|
53
53
|
headers: _headers,
|
|
54
|
-
|
|
54
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
55
55
|
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,
|
|
56
56
|
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,
|
|
57
57
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -117,7 +117,7 @@ export class PoliciesClient {
|
|
|
117
117
|
method: "PUT",
|
|
118
118
|
headers: _headers,
|
|
119
119
|
contentType: "application/json",
|
|
120
|
-
|
|
120
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
121
121
|
requestType: "json",
|
|
122
122
|
body: request,
|
|
123
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,
|
|
@@ -65,7 +65,11 @@ export class HooksClient {
|
|
|
65
65
|
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, "hooks"),
|
|
66
66
|
method: "GET",
|
|
67
67
|
headers: _headers,
|
|
68
|
-
|
|
68
|
+
queryString: core.url
|
|
69
|
+
.queryBuilder()
|
|
70
|
+
.addMany(_queryParams)
|
|
71
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
72
|
+
.build(),
|
|
69
73
|
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,
|
|
70
74
|
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,
|
|
71
75
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -146,7 +150,7 @@ export class HooksClient {
|
|
|
146
150
|
method: "POST",
|
|
147
151
|
headers: _headers,
|
|
148
152
|
contentType: "application/json",
|
|
149
|
-
|
|
153
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
150
154
|
requestType: "json",
|
|
151
155
|
body: request,
|
|
152
156
|
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,
|
|
@@ -215,7 +219,11 @@ export class HooksClient {
|
|
|
215
219
|
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, `hooks/${core.url.encodePathParam(id)}`),
|
|
216
220
|
method: "GET",
|
|
217
221
|
headers: _headers,
|
|
218
|
-
|
|
222
|
+
queryString: core.url
|
|
223
|
+
.queryBuilder()
|
|
224
|
+
.addMany(_queryParams)
|
|
225
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
226
|
+
.build(),
|
|
219
227
|
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,
|
|
220
228
|
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,
|
|
221
229
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -274,7 +282,7 @@ export class HooksClient {
|
|
|
274
282
|
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, `hooks/${core.url.encodePathParam(id)}`),
|
|
275
283
|
method: "DELETE",
|
|
276
284
|
headers: _headers,
|
|
277
|
-
|
|
285
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
278
286
|
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,
|
|
279
287
|
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,
|
|
280
288
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -335,7 +343,7 @@ export class HooksClient {
|
|
|
335
343
|
method: "PATCH",
|
|
336
344
|
headers: _headers,
|
|
337
345
|
contentType: "application/json",
|
|
338
|
-
|
|
346
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
339
347
|
requestType: "json",
|
|
340
348
|
body: request,
|
|
341
349
|
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,
|
|
@@ -46,7 +46,7 @@ export class SecretsClient {
|
|
|
46
46
|
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, `hooks/${core.url.encodePathParam(id)}/secrets`),
|
|
47
47
|
method: "GET",
|
|
48
48
|
headers: _headers,
|
|
49
|
-
|
|
49
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
50
50
|
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,
|
|
51
51
|
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,
|
|
52
52
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -113,7 +113,7 @@ export class SecretsClient {
|
|
|
113
113
|
method: "POST",
|
|
114
114
|
headers: _headers,
|
|
115
115
|
contentType: "application/json",
|
|
116
|
-
|
|
116
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
117
117
|
requestType: "json",
|
|
118
118
|
body: request,
|
|
119
119
|
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,
|
|
@@ -176,7 +176,7 @@ export class SecretsClient {
|
|
|
176
176
|
method: "DELETE",
|
|
177
177
|
headers: _headers,
|
|
178
178
|
contentType: "application/json",
|
|
179
|
-
|
|
179
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
180
180
|
requestType: "json",
|
|
181
181
|
body: request,
|
|
182
182
|
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,
|
|
@@ -241,7 +241,7 @@ export class SecretsClient {
|
|
|
241
241
|
method: "PATCH",
|
|
242
242
|
headers: _headers,
|
|
243
243
|
contentType: "application/json",
|
|
244
|
-
|
|
244
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
245
245
|
requestType: "json",
|
|
246
246
|
body: request,
|
|
247
247
|
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,
|
|
@@ -10,6 +10,7 @@ export * as customDomains from "./customDomains/index.mjs";
|
|
|
10
10
|
export * as deviceCredentials from "./deviceCredentials/index.mjs";
|
|
11
11
|
export * as emails from "./emails/index.mjs";
|
|
12
12
|
export * as emailTemplates from "./emailTemplates/index.mjs";
|
|
13
|
+
export * as events from "./events/index.mjs";
|
|
13
14
|
export * as eventStreams from "./eventStreams/index.mjs";
|
|
14
15
|
export * from "./eventStreams/types/index.mjs";
|
|
15
16
|
export * as flows from "./flows/index.mjs";
|
|
@@ -10,6 +10,7 @@ export * as customDomains from "./customDomains/index.mjs";
|
|
|
10
10
|
export * as deviceCredentials from "./deviceCredentials/index.mjs";
|
|
11
11
|
export * as emails from "./emails/index.mjs";
|
|
12
12
|
export * as emailTemplates from "./emailTemplates/index.mjs";
|
|
13
|
+
export * as events from "./events/index.mjs";
|
|
13
14
|
export * as eventStreams from "./eventStreams/index.mjs";
|
|
14
15
|
export * from "./eventStreams/types/index.mjs";
|
|
15
16
|
export * as flows from "./flows/index.mjs";
|
|
@@ -66,7 +66,7 @@ export class JobsClient {
|
|
|
66
66
|
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, `jobs/${core.url.encodePathParam(id)}`),
|
|
67
67
|
method: "GET",
|
|
68
68
|
headers: _headers,
|
|
69
|
-
|
|
69
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
70
70
|
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,
|
|
71
71
|
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,
|
|
72
72
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -46,7 +46,7 @@ export class ErrorsClient {
|
|
|
46
46
|
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, `jobs/${core.url.encodePathParam(id)}/errors`),
|
|
47
47
|
method: "GET",
|
|
48
48
|
headers: _headers,
|
|
49
|
-
|
|
49
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
50
50
|
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,
|
|
51
51
|
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,
|
|
52
52
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -46,7 +46,7 @@ export class UsersExportsClient {
|
|
|
46
46
|
method: "POST",
|
|
47
47
|
headers: _headers,
|
|
48
48
|
contentType: "application/json",
|
|
49
|
-
|
|
49
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
50
50
|
requestType: "json",
|
|
51
51
|
body: request,
|
|
52
52
|
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,
|
|
@@ -64,7 +64,7 @@ export class UsersImportsClient {
|
|
|
64
64
|
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ManagementEnvironment.Default, "jobs/users-imports"),
|
|
65
65
|
method: "POST",
|
|
66
66
|
headers: _headers,
|
|
67
|
-
|
|
67
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
68
68
|
requestType: "file",
|
|
69
69
|
duplex: _maybeEncodedRequest.duplex,
|
|
70
70
|
body: _maybeEncodedRequest.body,
|
package/dist/esm/management/api/resources/jobs/resources/verificationEmail/client/Client.mjs
CHANGED
|
@@ -50,7 +50,7 @@ export class VerificationEmailClient {
|
|
|
50
50
|
method: "POST",
|
|
51
51
|
headers: _headers,
|
|
52
52
|
contentType: "application/json",
|
|
53
|
-
|
|
53
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
54
54
|
requestType: "json",
|
|
55
55
|
body: request,
|
|
56
56
|
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,
|
|
@@ -44,7 +44,7 @@ export class CustomSigningClient {
|
|
|
44
44
|
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, "keys/custom-signing"),
|
|
45
45
|
method: "GET",
|
|
46
46
|
headers: _headers,
|
|
47
|
-
|
|
47
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
48
48
|
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,
|
|
49
49
|
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,
|
|
50
50
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -109,7 +109,7 @@ export class CustomSigningClient {
|
|
|
109
109
|
method: "PUT",
|
|
110
110
|
headers: _headers,
|
|
111
111
|
contentType: "application/json",
|
|
112
|
-
|
|
112
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
113
113
|
requestType: "json",
|
|
114
114
|
body: request,
|
|
115
115
|
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,
|
|
@@ -169,7 +169,7 @@ export class CustomSigningClient {
|
|
|
169
169
|
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, "keys/custom-signing"),
|
|
170
170
|
method: "DELETE",
|
|
171
171
|
headers: _headers,
|
|
172
|
-
|
|
172
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
173
173
|
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,
|
|
174
174
|
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,
|
|
175
175
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|