auth0 5.7.0 → 5.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/management/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 +56 -10
- 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.d.ts +465 -300
- package/dist/cjs/management/api/resources/logStreams/client/Client.js +470 -305
- 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 +3481 -148
- package/dist/cjs/management/api/types/types.js +623 -15
- 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 +56 -10
- 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.d.mts +465 -300
- package/dist/esm/management/api/resources/logStreams/client/Client.mjs +470 -305
- 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 +3481 -148
- package/dist/esm/management/api/types/types.mjs +610 -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 +1 -1
- package/reference.md +668 -331
|
@@ -125,7 +125,11 @@ class LogsClient {
|
|
|
125
125
|
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, "logs"),
|
|
126
126
|
method: "GET",
|
|
127
127
|
headers: _headers,
|
|
128
|
-
|
|
128
|
+
queryString: core.url
|
|
129
|
+
.queryBuilder()
|
|
130
|
+
.addMany(_queryParams)
|
|
131
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
132
|
+
.build(),
|
|
129
133
|
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,
|
|
130
134
|
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,
|
|
131
135
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -199,7 +203,7 @@ class LogsClient {
|
|
|
199
203
|
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, `logs/${core.url.encodePathParam(id)}`),
|
|
200
204
|
method: "GET",
|
|
201
205
|
headers: _headers,
|
|
202
|
-
|
|
206
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
203
207
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
204
208
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
205
209
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -89,7 +89,11 @@ class NetworkAclsClient {
|
|
|
89
89
|
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, "network-acls"),
|
|
90
90
|
method: "GET",
|
|
91
91
|
headers: _headers,
|
|
92
|
-
|
|
92
|
+
queryString: core.url
|
|
93
|
+
.queryBuilder()
|
|
94
|
+
.addMany(_queryParams)
|
|
95
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
96
|
+
.build(),
|
|
93
97
|
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,
|
|
94
98
|
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,
|
|
95
99
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -172,7 +176,7 @@ class NetworkAclsClient {
|
|
|
172
176
|
method: "POST",
|
|
173
177
|
headers: _headers,
|
|
174
178
|
contentType: "application/json",
|
|
175
|
-
|
|
179
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
176
180
|
requestType: "json",
|
|
177
181
|
body: request,
|
|
178
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,
|
|
@@ -235,7 +239,7 @@ class NetworkAclsClient {
|
|
|
235
239
|
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, `network-acls/${core.url.encodePathParam(id)}`),
|
|
236
240
|
method: "GET",
|
|
237
241
|
headers: _headers,
|
|
238
|
-
|
|
242
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
239
243
|
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,
|
|
240
244
|
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,
|
|
241
245
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -305,7 +309,7 @@ class NetworkAclsClient {
|
|
|
305
309
|
method: "PUT",
|
|
306
310
|
headers: _headers,
|
|
307
311
|
contentType: "application/json",
|
|
308
|
-
|
|
312
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
309
313
|
requestType: "json",
|
|
310
314
|
body: request,
|
|
311
315
|
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,
|
|
@@ -370,7 +374,7 @@ class NetworkAclsClient {
|
|
|
370
374
|
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, `network-acls/${core.url.encodePathParam(id)}`),
|
|
371
375
|
method: "DELETE",
|
|
372
376
|
headers: _headers,
|
|
373
|
-
|
|
377
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
374
378
|
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,
|
|
375
379
|
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,
|
|
376
380
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -432,7 +436,7 @@ class NetworkAclsClient {
|
|
|
432
436
|
method: "PATCH",
|
|
433
437
|
headers: _headers,
|
|
434
438
|
contentType: "application/json",
|
|
435
|
-
|
|
439
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
436
440
|
requestType: "json",
|
|
437
441
|
body: request,
|
|
438
442
|
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,
|
|
@@ -137,7 +137,11 @@ class OrganizationsClient {
|
|
|
137
137
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, "organizations"),
|
|
138
138
|
method: "GET",
|
|
139
139
|
headers: _headers,
|
|
140
|
-
|
|
140
|
+
queryString: core.url
|
|
141
|
+
.queryBuilder()
|
|
142
|
+
.addMany(_queryParams)
|
|
143
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
144
|
+
.build(),
|
|
141
145
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
142
146
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
143
147
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -212,7 +216,7 @@ class OrganizationsClient {
|
|
|
212
216
|
method: "POST",
|
|
213
217
|
headers: _headers,
|
|
214
218
|
contentType: "application/json",
|
|
215
|
-
|
|
219
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
216
220
|
requestType: "json",
|
|
217
221
|
body: request,
|
|
218
222
|
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,
|
|
@@ -276,7 +280,7 @@ class OrganizationsClient {
|
|
|
276
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, `organizations/name/${core.url.encodePathParam(name)}`),
|
|
277
281
|
method: "GET",
|
|
278
282
|
headers: _headers,
|
|
279
|
-
|
|
283
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
280
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,
|
|
281
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,
|
|
282
286
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -336,7 +340,7 @@ class OrganizationsClient {
|
|
|
336
340
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `organizations/${core.url.encodePathParam(id)}`),
|
|
337
341
|
method: "GET",
|
|
338
342
|
headers: _headers,
|
|
339
|
-
|
|
343
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
340
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,
|
|
341
345
|
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,
|
|
342
346
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -399,7 +403,7 @@ class OrganizationsClient {
|
|
|
399
403
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `organizations/${core.url.encodePathParam(id)}`),
|
|
400
404
|
method: "DELETE",
|
|
401
405
|
headers: _headers,
|
|
402
|
-
|
|
406
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
403
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,
|
|
404
408
|
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,
|
|
405
409
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -460,7 +464,7 @@ class OrganizationsClient {
|
|
|
460
464
|
method: "PATCH",
|
|
461
465
|
headers: _headers,
|
|
462
466
|
contentType: "application/json",
|
|
463
|
-
|
|
467
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
464
468
|
requestType: "json",
|
|
465
469
|
body: request,
|
|
466
470
|
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/cjs/management/api/resources/organizations/resources/clientGrants/client/Client.js
CHANGED
|
@@ -69,6 +69,7 @@ class ClientGrantsClient {
|
|
|
69
69
|
* await client.organizations.clientGrants.list("id", {
|
|
70
70
|
* audience: "audience",
|
|
71
71
|
* client_id: "client_id",
|
|
72
|
+
* grant_ids: ["grant_ids"],
|
|
72
73
|
* page: 1,
|
|
73
74
|
* per_page: 1,
|
|
74
75
|
* include_totals: true
|
|
@@ -93,7 +94,11 @@ class ClientGrantsClient {
|
|
|
93
94
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `organizations/${core.url.encodePathParam(id)}/client-grants`),
|
|
94
95
|
method: "GET",
|
|
95
96
|
headers: _headers,
|
|
96
|
-
|
|
97
|
+
queryString: core.url
|
|
98
|
+
.queryBuilder()
|
|
99
|
+
.addMany(_queryParams)
|
|
100
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
101
|
+
.build(),
|
|
97
102
|
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,
|
|
98
103
|
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,
|
|
99
104
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -170,7 +175,7 @@ class ClientGrantsClient {
|
|
|
170
175
|
method: "POST",
|
|
171
176
|
headers: _headers,
|
|
172
177
|
contentType: "application/json",
|
|
173
|
-
|
|
178
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
174
179
|
requestType: "json",
|
|
175
180
|
body: request,
|
|
176
181
|
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,
|
|
@@ -236,7 +241,7 @@ class ClientGrantsClient {
|
|
|
236
241
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `organizations/${core.url.encodePathParam(id)}/client-grants/${core.url.encodePathParam(grant_id)}`),
|
|
237
242
|
method: "DELETE",
|
|
238
243
|
headers: _headers,
|
|
239
|
-
|
|
244
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
240
245
|
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
246
|
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,
|
|
242
247
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
package/dist/cjs/management/api/resources/organizations/resources/connections/client/Client.js
CHANGED
|
@@ -90,7 +90,11 @@ class ConnectionsClient {
|
|
|
90
90
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `organizations/${core.url.encodePathParam(id)}/connections`),
|
|
91
91
|
method: "GET",
|
|
92
92
|
headers: _headers,
|
|
93
|
-
|
|
93
|
+
queryString: core.url
|
|
94
|
+
.queryBuilder()
|
|
95
|
+
.addMany(_queryParams)
|
|
96
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
97
|
+
.build(),
|
|
94
98
|
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,
|
|
95
99
|
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,
|
|
96
100
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -166,7 +170,7 @@ class ConnectionsClient {
|
|
|
166
170
|
method: "POST",
|
|
167
171
|
headers: _headers,
|
|
168
172
|
contentType: "application/json",
|
|
169
|
-
|
|
173
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
170
174
|
requestType: "json",
|
|
171
175
|
body: request,
|
|
172
176
|
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,
|
|
@@ -229,7 +233,7 @@ class ConnectionsClient {
|
|
|
229
233
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `organizations/${core.url.encodePathParam(id)}/connections/${core.url.encodePathParam(connection_id)}`),
|
|
230
234
|
method: "GET",
|
|
231
235
|
headers: _headers,
|
|
232
|
-
|
|
236
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
233
237
|
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,
|
|
234
238
|
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,
|
|
235
239
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -287,7 +291,7 @@ class ConnectionsClient {
|
|
|
287
291
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `organizations/${core.url.encodePathParam(id)}/connections/${core.url.encodePathParam(connection_id)}`),
|
|
288
292
|
method: "DELETE",
|
|
289
293
|
headers: _headers,
|
|
290
|
-
|
|
294
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
291
295
|
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
296
|
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
297
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -343,7 +347,7 @@ class ConnectionsClient {
|
|
|
343
347
|
method: "PATCH",
|
|
344
348
|
headers: _headers,
|
|
345
349
|
contentType: "application/json",
|
|
346
|
-
|
|
350
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
347
351
|
requestType: "json",
|
|
348
352
|
body: request,
|
|
349
353
|
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/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.js
CHANGED
|
@@ -90,7 +90,11 @@ class DiscoveryDomainsClient {
|
|
|
90
90
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `organizations/${core.url.encodePathParam(id)}/discovery-domains`),
|
|
91
91
|
method: "GET",
|
|
92
92
|
headers: _headers,
|
|
93
|
-
|
|
93
|
+
queryString: core.url
|
|
94
|
+
.queryBuilder()
|
|
95
|
+
.addMany(_queryParams)
|
|
96
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
97
|
+
.build(),
|
|
94
98
|
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,
|
|
95
99
|
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,
|
|
96
100
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -169,7 +173,7 @@ class DiscoveryDomainsClient {
|
|
|
169
173
|
method: "POST",
|
|
170
174
|
headers: _headers,
|
|
171
175
|
contentType: "application/json",
|
|
172
|
-
|
|
176
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
173
177
|
requestType: "json",
|
|
174
178
|
body: request,
|
|
175
179
|
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,
|
|
@@ -238,7 +242,7 @@ class DiscoveryDomainsClient {
|
|
|
238
242
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `organizations/${core.url.encodePathParam(id)}/discovery-domains/name/${core.url.encodePathParam(discovery_domain)}`),
|
|
239
243
|
method: "GET",
|
|
240
244
|
headers: _headers,
|
|
241
|
-
|
|
245
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
242
246
|
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,
|
|
243
247
|
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,
|
|
244
248
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -303,7 +307,7 @@ class DiscoveryDomainsClient {
|
|
|
303
307
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `organizations/${core.url.encodePathParam(id)}/discovery-domains/${core.url.encodePathParam(discovery_domain_id)}`),
|
|
304
308
|
method: "GET",
|
|
305
309
|
headers: _headers,
|
|
306
|
-
|
|
310
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
307
311
|
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,
|
|
308
312
|
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,
|
|
309
313
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -366,7 +370,7 @@ class DiscoveryDomainsClient {
|
|
|
366
370
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `organizations/${core.url.encodePathParam(id)}/discovery-domains/${core.url.encodePathParam(discovery_domain_id)}`),
|
|
367
371
|
method: "DELETE",
|
|
368
372
|
headers: _headers,
|
|
369
|
-
|
|
373
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
370
374
|
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,
|
|
371
375
|
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,
|
|
372
376
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -424,7 +428,7 @@ class DiscoveryDomainsClient {
|
|
|
424
428
|
method: "PATCH",
|
|
425
429
|
headers: _headers,
|
|
426
430
|
contentType: "application/json",
|
|
427
|
-
|
|
431
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
428
432
|
requestType: "json",
|
|
429
433
|
body: request,
|
|
430
434
|
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,
|
|
@@ -90,7 +90,11 @@ class EnabledConnectionsClient {
|
|
|
90
90
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `organizations/${core.url.encodePathParam(id)}/enabled_connections`),
|
|
91
91
|
method: "GET",
|
|
92
92
|
headers: _headers,
|
|
93
|
-
|
|
93
|
+
queryString: core.url
|
|
94
|
+
.queryBuilder()
|
|
95
|
+
.addMany(_queryParams)
|
|
96
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
97
|
+
.build(),
|
|
94
98
|
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,
|
|
95
99
|
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,
|
|
96
100
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -169,7 +173,7 @@ class EnabledConnectionsClient {
|
|
|
169
173
|
method: "POST",
|
|
170
174
|
headers: _headers,
|
|
171
175
|
contentType: "application/json",
|
|
172
|
-
|
|
176
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
173
177
|
requestType: "json",
|
|
174
178
|
body: request,
|
|
175
179
|
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,
|
|
@@ -231,7 +235,7 @@ class EnabledConnectionsClient {
|
|
|
231
235
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `organizations/${core.url.encodePathParam(id)}/enabled_connections/${core.url.encodePathParam(connectionId)}`),
|
|
232
236
|
method: "GET",
|
|
233
237
|
headers: _headers,
|
|
234
|
-
|
|
238
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
235
239
|
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,
|
|
236
240
|
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,
|
|
237
241
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -292,7 +296,7 @@ class EnabledConnectionsClient {
|
|
|
292
296
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `organizations/${core.url.encodePathParam(id)}/enabled_connections/${core.url.encodePathParam(connectionId)}`),
|
|
293
297
|
method: "DELETE",
|
|
294
298
|
headers: _headers,
|
|
295
|
-
|
|
299
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
296
300
|
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,
|
|
297
301
|
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,
|
|
298
302
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -352,7 +356,7 @@ class EnabledConnectionsClient {
|
|
|
352
356
|
method: "PATCH",
|
|
353
357
|
headers: _headers,
|
|
354
358
|
contentType: "application/json",
|
|
355
|
-
|
|
359
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
356
360
|
requestType: "json",
|
|
357
361
|
body: request,
|
|
358
362
|
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/cjs/management/api/resources/organizations/resources/invitations/client/Client.js
CHANGED
|
@@ -97,7 +97,11 @@ class InvitationsClient {
|
|
|
97
97
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `organizations/${core.url.encodePathParam(id)}/invitations`),
|
|
98
98
|
method: "GET",
|
|
99
99
|
headers: _headers,
|
|
100
|
-
|
|
100
|
+
queryString: core.url
|
|
101
|
+
.queryBuilder()
|
|
102
|
+
.addMany(_queryParams)
|
|
103
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
104
|
+
.build(),
|
|
101
105
|
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,
|
|
102
106
|
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,
|
|
103
107
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -183,7 +187,7 @@ class InvitationsClient {
|
|
|
183
187
|
method: "POST",
|
|
184
188
|
headers: _headers,
|
|
185
189
|
contentType: "application/json",
|
|
186
|
-
|
|
190
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
187
191
|
requestType: "json",
|
|
188
192
|
body: request,
|
|
189
193
|
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,
|
|
@@ -256,7 +260,11 @@ class InvitationsClient {
|
|
|
256
260
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `organizations/${core.url.encodePathParam(id)}/invitations/${core.url.encodePathParam(invitation_id)}`),
|
|
257
261
|
method: "GET",
|
|
258
262
|
headers: _headers,
|
|
259
|
-
|
|
263
|
+
queryString: core.url
|
|
264
|
+
.queryBuilder()
|
|
265
|
+
.addMany(_queryParams)
|
|
266
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
267
|
+
.build(),
|
|
260
268
|
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,
|
|
261
269
|
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,
|
|
262
270
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -317,7 +325,7 @@ class InvitationsClient {
|
|
|
317
325
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `organizations/${core.url.encodePathParam(id)}/invitations/${core.url.encodePathParam(invitation_id)}`),
|
|
318
326
|
method: "DELETE",
|
|
319
327
|
headers: _headers,
|
|
320
|
-
|
|
328
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
321
329
|
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,
|
|
322
330
|
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,
|
|
323
331
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -118,7 +118,11 @@ class MembersClient {
|
|
|
118
118
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `organizations/${core.url.encodePathParam(id)}/members`),
|
|
119
119
|
method: "GET",
|
|
120
120
|
headers: _headers,
|
|
121
|
-
|
|
121
|
+
queryString: core.url
|
|
122
|
+
.queryBuilder()
|
|
123
|
+
.addMany(_queryParams)
|
|
124
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
125
|
+
.build(),
|
|
122
126
|
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,
|
|
123
127
|
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,
|
|
124
128
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -195,7 +199,7 @@ class MembersClient {
|
|
|
195
199
|
method: "POST",
|
|
196
200
|
headers: _headers,
|
|
197
201
|
contentType: "application/json",
|
|
198
|
-
|
|
202
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
199
203
|
requestType: "json",
|
|
200
204
|
body: request,
|
|
201
205
|
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,
|
|
@@ -256,7 +260,7 @@ class MembersClient {
|
|
|
256
260
|
method: "DELETE",
|
|
257
261
|
headers: _headers,
|
|
258
262
|
contentType: "application/json",
|
|
259
|
-
|
|
263
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
260
264
|
requestType: "json",
|
|
261
265
|
body: request,
|
|
262
266
|
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,
|
|
@@ -93,7 +93,11 @@ class RolesClient {
|
|
|
93
93
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `organizations/${core.url.encodePathParam(id)}/members/${core.url.encodePathParam(user_id)}/roles`),
|
|
94
94
|
method: "GET",
|
|
95
95
|
headers: _headers,
|
|
96
|
-
|
|
96
|
+
queryString: core.url
|
|
97
|
+
.queryBuilder()
|
|
98
|
+
.addMany(_queryParams)
|
|
99
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
100
|
+
.build(),
|
|
97
101
|
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,
|
|
98
102
|
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,
|
|
99
103
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -174,7 +178,7 @@ class RolesClient {
|
|
|
174
178
|
method: "POST",
|
|
175
179
|
headers: _headers,
|
|
176
180
|
contentType: "application/json",
|
|
177
|
-
|
|
181
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
178
182
|
requestType: "json",
|
|
179
183
|
body: request,
|
|
180
184
|
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,
|
|
@@ -242,7 +246,7 @@ class RolesClient {
|
|
|
242
246
|
method: "DELETE",
|
|
243
247
|
headers: _headers,
|
|
244
248
|
contentType: "application/json",
|
|
245
|
-
|
|
249
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
246
250
|
requestType: "json",
|
|
247
251
|
body: request,
|
|
248
252
|
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,
|
|
@@ -94,7 +94,7 @@ class PromptsClient {
|
|
|
94
94
|
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, "prompts"),
|
|
95
95
|
method: "GET",
|
|
96
96
|
headers: _headers,
|
|
97
|
-
|
|
97
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
98
98
|
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,
|
|
99
99
|
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,
|
|
100
100
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -153,7 +153,7 @@ class PromptsClient {
|
|
|
153
153
|
method: "PATCH",
|
|
154
154
|
headers: _headers,
|
|
155
155
|
contentType: "application/json",
|
|
156
|
-
|
|
156
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
157
157
|
requestType: "json",
|
|
158
158
|
body: request,
|
|
159
159
|
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,
|
|
@@ -83,7 +83,7 @@ class CustomTextClient {
|
|
|
83
83
|
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, `prompts/${core.url.encodePathParam(prompt)}/custom-text/${core.url.encodePathParam(language)}`),
|
|
84
84
|
method: "GET",
|
|
85
85
|
headers: _headers,
|
|
86
|
-
|
|
86
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
87
87
|
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,
|
|
88
88
|
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,
|
|
89
89
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -150,7 +150,7 @@ class CustomTextClient {
|
|
|
150
150
|
method: "PUT",
|
|
151
151
|
headers: _headers,
|
|
152
152
|
contentType: "application/json",
|
|
153
|
-
|
|
153
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
154
154
|
requestType: "json",
|
|
155
155
|
body: request,
|
|
156
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,
|
|
@@ -82,7 +82,7 @@ class PartialsClient {
|
|
|
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, `prompts/${core.url.encodePathParam(prompt)}/partials`),
|
|
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,
|
|
@@ -148,7 +148,7 @@ class PartialsClient {
|
|
|
148
148
|
method: "PUT",
|
|
149
149
|
headers: _headers,
|
|
150
150
|
contentType: "application/json",
|
|
151
|
-
|
|
151
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
152
152
|
requestType: "json",
|
|
153
153
|
body: request,
|
|
154
154
|
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,
|
|
@@ -100,7 +100,11 @@ class RenderingClient {
|
|
|
100
100
|
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, "prompts/rendering"),
|
|
101
101
|
method: "GET",
|
|
102
102
|
headers: _headers,
|
|
103
|
-
|
|
103
|
+
queryString: core.url
|
|
104
|
+
.queryBuilder()
|
|
105
|
+
.addMany(_queryParams)
|
|
106
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
107
|
+
.build(),
|
|
104
108
|
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,
|
|
105
109
|
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,
|
|
106
110
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -182,7 +186,7 @@ class RenderingClient {
|
|
|
182
186
|
method: "PATCH",
|
|
183
187
|
headers: _headers,
|
|
184
188
|
contentType: "application/json",
|
|
185
|
-
|
|
189
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
186
190
|
requestType: "json",
|
|
187
191
|
body: request,
|
|
188
192
|
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,
|
|
@@ -249,7 +253,7 @@ class RenderingClient {
|
|
|
249
253
|
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, `prompts/${core.url.encodePathParam(prompt)}/screen/${core.url.encodePathParam(screen)}/rendering`),
|
|
250
254
|
method: "GET",
|
|
251
255
|
headers: _headers,
|
|
252
|
-
|
|
256
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
253
257
|
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,
|
|
254
258
|
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,
|
|
255
259
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -314,7 +318,7 @@ class RenderingClient {
|
|
|
314
318
|
method: "PATCH",
|
|
315
319
|
headers: _headers,
|
|
316
320
|
contentType: "application/json",
|
|
317
|
-
|
|
321
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
318
322
|
requestType: "json",
|
|
319
323
|
body: request,
|
|
320
324
|
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,
|