From e7cbf55cc7c4c6bf5a777d35cdc7a4c097e19584 Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Thu, 6 Nov 2025 06:53:12 +0000 Subject: [PATCH 1/4] SDK regeneration --- .fern/metadata.json | 87 ++++++++ package.json | 10 +- src/management/BaseClient.ts | 2 + .../api/resources/actions/client/Client.ts | 7 + .../resources/executions/client/Client.ts | 1 + .../resources/triggers/client/Client.ts | 1 + .../resources/bindings/client/Client.ts | 2 + .../resources/versions/client/Client.ts | 3 + .../anomaly/resources/blocks/client/Client.ts | 2 + .../resources/botDetection/client/Client.ts | 2 + .../client/Client.ts | 2 + .../bruteForceProtection/client/Client.ts | 2 + .../resources/captcha/client/Client.ts | 2 + .../suspiciousIpThrottling/client/Client.ts | 2 + .../api/resources/branding/client/Client.ts | 2 + .../resources/providers/client/Client.ts | 6 + .../resources/templates/client/Client.ts | 7 + .../resources/templates/client/Client.ts | 3 + .../resources/themes/client/Client.ts | 5 + .../resources/clientGrants/client/Client.ts | 4 + .../resources/organizations/client/Client.ts | 1 + .../api/resources/clients/client/Client.ts | 6 + .../resources/connections/client/Client.ts | 1 + .../resources/credentials/client/Client.ts | 5 + .../resources/connections/client/Client.ts | 6 + .../resources/clients/client/Client.ts | 2 + .../resources/keys/client/Client.ts | 2 + .../scimConfiguration/client/Client.ts | 5 + .../resources/tokens/client/Client.ts | 3 + .../resources/users/client/Client.ts | 1 + .../resources/customDomains/client/Client.ts | 7 + .../deviceCredentials/client/Client.ts | 3 + .../resources/emailTemplates/client/Client.ts | 4 + .../resources/provider/client/Client.ts | 4 + .../resources/eventStreams/client/Client.ts | 6 + .../resources/deliveries/client/Client.ts | 2 + .../resources/redeliveries/client/Client.ts | 2 + .../api/resources/flows/client/Client.ts | 5 + .../resources/executions/client/Client.ts | 3 + .../resources/connections/client/Client.ts | 5 + .../api/resources/forms/client/Client.ts | 5 + .../resources/enrollments/client/Client.ts | 3 + .../resources/factors/client/Client.ts | 2 + .../duo/resources/settings/client/Client.ts | 3 + .../factors/resources/phone/client/Client.ts | 8 + .../pushNotification/client/Client.ts | 9 + .../factors/resources/sms/client/Client.ts | 6 + .../resources/policies/client/Client.ts | 2 + .../api/resources/hooks/client/Client.ts | 5 + .../hooks/resources/secrets/client/Client.ts | 4 + .../api/resources/jobs/client/Client.ts | 1 + .../jobs/resources/errors/client/Client.ts | 1 + .../resources/usersExports/client/Client.ts | 1 + .../resources/usersImports/client/Client.ts | 1 + .../verificationEmail/client/Client.ts | 1 + .../resources/customSigning/client/Client.ts | 3 + .../resources/encryption/client/Client.ts | 7 + .../keys/resources/signing/client/Client.ts | 4 + .../api/resources/logStreams/client/Client.ts | 5 + .../api/resources/logs/client/Client.ts | 2 + .../resources/networkAcls/client/Client.ts | 6 + .../resources/organizations/client/Client.ts | 6 + .../resources/clientGrants/client/Client.ts | 3 + .../discoveryDomains/client/Client.ts | 5 + .../enabledConnections/client/Client.ts | 5 + .../resources/invitations/client/Client.ts | 4 + .../resources/members/client/Client.ts | 3 + .../members/resources/roles/client/Client.ts | 3 + .../api/resources/prompts/client/Client.ts | 2 + .../resources/customText/client/Client.ts | 2 + .../resources/partials/client/Client.ts | 2 + .../resources/rendering/client/Client.ts | 4 + .../resources/refreshTokens/client/Client.ts | 2 + .../resourceServers/client/Client.ts | 5 + .../resources/settings/client/Client.ts | 2 + .../resources/newDevice/client/Client.ts | 2 + .../api/resources/roles/client/Client.ts | 5 + .../resources/permissions/client/Client.ts | 3 + .../roles/resources/users/client/Client.ts | 2 + .../api/resources/rules/client/Client.ts | 5 + .../resources/rulesConfigs/client/Client.ts | 3 + .../selfServiceProfiles/client/Client.ts | 5 + .../resources/customText/client/Client.ts | 2 + .../resources/ssoTicket/client/Client.ts | 2 + .../api/resources/sessions/client/Client.ts | 4 + .../api/resources/stats/client/Client.ts | 2 + .../supplementalSignals/client/Client.ts | 2 + .../resources/settings/client/Client.ts | 2 + .../api/resources/tickets/client/Client.ts | 2 + .../tokenExchangeProfiles/client/Client.ts | 5 + .../userAttributeProfiles/client/Client.ts | 7 + .../api/resources/userBlocks/client/Client.ts | 4 + .../api/resources/userGrants/client/Client.ts | 3 + .../api/resources/users/client/Client.ts | 8 + .../authenticationMethods/client/Client.ts | 7 + .../resources/authenticators/client/Client.ts | 1 + .../connectedAccounts/client/Client.ts | 1 + .../resources/enrollments/client/Client.ts | 1 + .../client/Client.ts | 2 + .../resources/identities/client/Client.ts | 2 + .../users/resources/logs/client/Client.ts | 1 + .../resources/multifactor/client/Client.ts | 2 + .../resources/organizations/client/Client.ts | 1 + .../resources/permissions/client/Client.ts | 3 + .../resources/refreshToken/client/Client.ts | 2 + .../riskAssessments/client/Client.ts | 1 + .../users/resources/roles/client/Client.ts | 3 + .../users/resources/sessions/client/Client.ts | 2 + .../resources/templates/client/Client.ts | 5 + src/management/core/exports.ts | 1 + src/management/core/fetcher/Fetcher.ts | 201 ++++++++++++++++- src/management/core/index.ts | 1 + src/management/core/logging/exports.ts | 19 ++ src/management/core/logging/index.ts | 1 + src/management/core/logging/logger.ts | 203 ++++++++++++++++++ yarn.lock | 50 ++--- 116 files changed, 898 insertions(+), 32 deletions(-) create mode 100644 .fern/metadata.json create mode 100644 src/management/core/logging/exports.ts create mode 100644 src/management/core/logging/index.ts create mode 100644 src/management/core/logging/logger.ts diff --git a/.fern/metadata.json b/.fern/metadata.json new file mode 100644 index 0000000000..aca92fa728 --- /dev/null +++ b/.fern/metadata.json @@ -0,0 +1,87 @@ +{ + "cliVersion": "0.107.3", + "generatorName": "fernapi/fern-typescript-sdk", + "generatorVersion": "3.28.0", + "generatorConfig": { + "packagePath": "src/management", + "namespaceExport": "Management", + "allowCustomFetcher": true, + "omitFernHeaders": true, + "exportAllRequestsAtRoot": true, + "useDefaultRequestParameterValues": true, + "consolidateTypeFiles": true, + "linter": "none", + "formatter": "prettier", + "packageManager": "yarn", + "testFramework": "jest", + "packageJson": { + "bugs": { + "url": "https://github.com/auth0/node-auth0/issues" + }, + "homepage": "https://github.com/auth0/node-auth0", + "repository": { + "type": "git", + "url": "git+https://github.com/auth0/node-auth0.git" + }, + "keywords": ["auth0", "authentication", "login", "auth", "jwt", "management api", "json web token"], + "files": ["legacy", "package.json"], + "description": "Auth0 Node.js SDK for the Management API v2.", + "engines": { + "node": "^20.19.0 || ^22.12.0 || ^24.0.0" + }, + "lint-staged": { + "*.{js,ts,tsx}": ["eslint --fix", "prettier --write"], + "*.{json,md,yml,yaml}": ["prettier --write"] + }, + "scripts": { + "prepare": "husky", + "lint": "eslint . --ext .js,.ts,.tsx", + "lint:fix": "eslint . --ext .js,.ts,.tsx --fix", + "lint:check": "eslint . --ext .js,.ts,.tsx", + "lint:package": "publint --pack npm", + "test:coverage": "jest --config jest.config.mjs --coverage", + "test:coverage:unit": "jest --selectProjects unit --coverage", + "test:coverage:browser": "jest --selectProjects browser --coverage", + "test:coverage:wire": "jest --selectProjects wire --coverage", + "docs": "typedoc", + "docs:clean": "rm -rf docs", + "docs:build": "yarn docs:clean && yarn docs", + "precommit": "lint-staged", + "validate": "yarn lint:check && yarn format --check && yarn build && yarn test && yarn lint:package" + }, + "dependencies": { + "uuid": "^11.1.0", + "jose": "^4.13.2", + "auth0-legacy": "npm:auth0@^4.27.0" + }, + "devDependencies": { + "typedoc": "^0.28.7", + "typedoc-plugin-missing-exports": "^4.0.0", + "nock": "^14.0.6", + "undici": "^7.12.0", + "@eslint/js": "^9.32.0", + "@typescript-eslint/eslint-plugin": "^8.38.0", + "@typescript-eslint/parser": "^8.38.0", + "eslint": "^9.32.0", + "eslint-config-prettier": "^10.1.8", + "eslint-plugin-prettier": "^5.5.3", + "husky": "^9.1.7", + "lint-staged": "^16.1.4", + "publint": "^0.3.12" + }, + "exports": { + "./legacy": { + "types": "./legacy/exports/index.d.ts", + "import": { + "types": "./legacy/exports/index.d.mts", + "default": "./legacy/exports/index.mjs" + }, + "require": { + "types": "./legacy/exports/index.d.ts", + "default": "./legacy/exports/index.js" + } + } + } + } + } +} diff --git a/package.json b/package.json index 8a673e7fb4..9af5392b1f 100644 --- a/package.json +++ b/package.json @@ -71,6 +71,11 @@ "precommit": "lint-staged", "validate": "yarn lint:check && yarn format --check && yarn build && yarn test && yarn lint:package" }, + "dependencies": { + "uuid": "^11.1.0", + "jose": "^4.13.2", + "auth0-legacy": "npm:auth0@^4.27.0" + }, "devDependencies": { "webpack": "^5.97.1", "ts-loader": "^9.5.1", @@ -130,10 +135,5 @@ "*.{json,md,yml,yaml}": [ "prettier --write" ] - }, - "dependencies": { - "uuid": "^11.1.0", - "jose": "^4.13.2", - "auth0-legacy": "npm:auth0@^4.27.0" } } diff --git a/src/management/BaseClient.ts b/src/management/BaseClient.ts index 036ee7c7e5..6440cf6bec 100644 --- a/src/management/BaseClient.ts +++ b/src/management/BaseClient.ts @@ -17,6 +17,8 @@ export interface BaseClientOptions { /** Provide a custom fetch implementation. Useful for platforms that don't have a built-in fetch or need a custom implementation. */ fetch?: typeof fetch; fetcher?: core.FetchFunction; + /** Configure logging for the client. */ + logging?: core.logging.LogConfig | core.logging.Logger; } export interface BaseRequestOptions { diff --git a/src/management/api/resources/actions/client/Client.ts b/src/management/api/resources/actions/client/Client.ts index f4c582ddc3..3175a795f7 100644 --- a/src/management/api/resources/actions/client/Client.ts +++ b/src/management/api/resources/actions/client/Client.ts @@ -106,6 +106,7 @@ export class Actions { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -223,6 +224,7 @@ export class Actions { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -312,6 +314,7 @@ export class Actions { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.GetActionResponseContent, rawResponse: _response.rawResponse }; @@ -411,6 +414,7 @@ export class Actions { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -505,6 +509,7 @@ export class Actions { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -595,6 +600,7 @@ export class Actions { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -695,6 +701,7 @@ export class Actions { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.TestActionResponseContent, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/actions/resources/executions/client/Client.ts b/src/management/api/resources/actions/resources/executions/client/Client.ts index c534f0e428..ebb66320e1 100644 --- a/src/management/api/resources/actions/resources/executions/client/Client.ts +++ b/src/management/api/resources/actions/resources/executions/client/Client.ts @@ -65,6 +65,7 @@ export class Executions { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/actions/resources/triggers/client/Client.ts b/src/management/api/resources/actions/resources/triggers/client/Client.ts index 18213fcb59..7550d5f893 100644 --- a/src/management/api/resources/actions/resources/triggers/client/Client.ts +++ b/src/management/api/resources/actions/resources/triggers/client/Client.ts @@ -67,6 +67,7 @@ export class Triggers { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.ts b/src/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.ts index a3d94c44c4..2e59683cbf 100644 --- a/src/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.ts +++ b/src/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.ts @@ -74,6 +74,7 @@ export class Bindings { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -191,6 +192,7 @@ export class Bindings { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/actions/resources/versions/client/Client.ts b/src/management/api/resources/actions/resources/versions/client/Client.ts index 285df46ea7..52ded63e45 100644 --- a/src/management/api/resources/actions/resources/versions/client/Client.ts +++ b/src/management/api/resources/actions/resources/versions/client/Client.ts @@ -74,6 +74,7 @@ export class Versions { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -189,6 +190,7 @@ export class Versions { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -290,6 +292,7 @@ export class Versions { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/anomaly/resources/blocks/client/Client.ts b/src/management/api/resources/anomaly/resources/blocks/client/Client.ts index 586ea3c7d2..589ae96225 100644 --- a/src/management/api/resources/anomaly/resources/blocks/client/Client.ts +++ b/src/management/api/resources/anomaly/resources/blocks/client/Client.ts @@ -65,6 +65,7 @@ export class Blocks { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -152,6 +153,7 @@ export class Blocks { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/attackProtection/resources/botDetection/client/Client.ts b/src/management/api/resources/attackProtection/resources/botDetection/client/Client.ts index e192f77da5..01011c5813 100644 --- a/src/management/api/resources/attackProtection/resources/botDetection/client/Client.ts +++ b/src/management/api/resources/attackProtection/resources/botDetection/client/Client.ts @@ -61,6 +61,7 @@ export class BotDetection { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -155,6 +156,7 @@ export class BotDetection { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/attackProtection/resources/breachedPasswordDetection/client/Client.ts b/src/management/api/resources/attackProtection/resources/breachedPasswordDetection/client/Client.ts index b5f0c5b963..898d532fcd 100644 --- a/src/management/api/resources/attackProtection/resources/breachedPasswordDetection/client/Client.ts +++ b/src/management/api/resources/attackProtection/resources/breachedPasswordDetection/client/Client.ts @@ -60,6 +60,7 @@ export class BreachedPasswordDetection { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -151,6 +152,7 @@ export class BreachedPasswordDetection { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/attackProtection/resources/bruteForceProtection/client/Client.ts b/src/management/api/resources/attackProtection/resources/bruteForceProtection/client/Client.ts index 6dccb82a2c..64796be2b9 100644 --- a/src/management/api/resources/attackProtection/resources/bruteForceProtection/client/Client.ts +++ b/src/management/api/resources/attackProtection/resources/bruteForceProtection/client/Client.ts @@ -60,6 +60,7 @@ export class BruteForceProtection { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -151,6 +152,7 @@ export class BruteForceProtection { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/attackProtection/resources/captcha/client/Client.ts b/src/management/api/resources/attackProtection/resources/captcha/client/Client.ts index 3896913121..815d9c9829 100644 --- a/src/management/api/resources/attackProtection/resources/captcha/client/Client.ts +++ b/src/management/api/resources/attackProtection/resources/captcha/client/Client.ts @@ -61,6 +61,7 @@ export class Captcha { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -154,6 +155,7 @@ export class Captcha { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/attackProtection/resources/suspiciousIpThrottling/client/Client.ts b/src/management/api/resources/attackProtection/resources/suspiciousIpThrottling/client/Client.ts index 71d79cfee7..dc35efe1fc 100644 --- a/src/management/api/resources/attackProtection/resources/suspiciousIpThrottling/client/Client.ts +++ b/src/management/api/resources/attackProtection/resources/suspiciousIpThrottling/client/Client.ts @@ -60,6 +60,7 @@ export class SuspiciousIpThrottling { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -151,6 +152,7 @@ export class SuspiciousIpThrottling { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/branding/client/Client.ts b/src/management/api/resources/branding/client/Client.ts index 26f970c179..1139855890 100644 --- a/src/management/api/resources/branding/client/Client.ts +++ b/src/management/api/resources/branding/client/Client.ts @@ -78,6 +78,7 @@ export class Branding { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -167,6 +168,7 @@ export class Branding { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/branding/resources/phone/resources/providers/client/Client.ts b/src/management/api/resources/branding/resources/phone/resources/providers/client/Client.ts index cb78f8e024..3a4dd71372 100644 --- a/src/management/api/resources/branding/resources/phone/resources/providers/client/Client.ts +++ b/src/management/api/resources/branding/resources/phone/resources/providers/client/Client.ts @@ -72,6 +72,7 @@ export class Providers { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -170,6 +171,7 @@ export class Providers { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -263,6 +265,7 @@ export class Providers { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -349,6 +352,7 @@ export class Providers { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -445,6 +449,7 @@ export class Providers { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -547,6 +552,7 @@ export class Providers { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/branding/resources/phone/resources/templates/client/Client.ts b/src/management/api/resources/branding/resources/phone/resources/templates/client/Client.ts index 5812dfa2f2..6d3f818a25 100644 --- a/src/management/api/resources/branding/resources/phone/resources/templates/client/Client.ts +++ b/src/management/api/resources/branding/resources/phone/resources/templates/client/Client.ts @@ -70,6 +70,7 @@ export class Templates { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -160,6 +161,7 @@ export class Templates { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -251,6 +253,7 @@ export class Templates { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -336,6 +339,7 @@ export class Templates { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -430,6 +434,7 @@ export class Templates { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -528,6 +533,7 @@ export class Templates { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -625,6 +631,7 @@ export class Templates { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/branding/resources/templates/client/Client.ts b/src/management/api/resources/branding/resources/templates/client/Client.ts index 0b95f228eb..43875fcff0 100644 --- a/src/management/api/resources/branding/resources/templates/client/Client.ts +++ b/src/management/api/resources/branding/resources/templates/client/Client.ts @@ -60,6 +60,7 @@ export class Templates { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -180,6 +181,7 @@ export class Templates { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -264,6 +266,7 @@ export class Templates { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/branding/resources/themes/client/Client.ts b/src/management/api/resources/branding/resources/themes/client/Client.ts index e878249fa3..46ed53c6e4 100644 --- a/src/management/api/resources/branding/resources/themes/client/Client.ts +++ b/src/management/api/resources/branding/resources/themes/client/Client.ts @@ -139,6 +139,7 @@ export class Themes { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -226,6 +227,7 @@ export class Themes { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -314,6 +316,7 @@ export class Themes { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -401,6 +404,7 @@ export class Themes { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -566,6 +570,7 @@ export class Themes { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/clientGrants/client/Client.ts b/src/management/api/resources/clientGrants/client/Client.ts index 91a26b3d25..d4f7a54970 100644 --- a/src/management/api/resources/clientGrants/client/Client.ts +++ b/src/management/api/resources/clientGrants/client/Client.ts @@ -100,6 +100,7 @@ export class ClientGrants { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -213,6 +214,7 @@ export class ClientGrants { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -302,6 +304,7 @@ export class ClientGrants { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -394,6 +397,7 @@ export class ClientGrants { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/clientGrants/resources/organizations/client/Client.ts b/src/management/api/resources/clientGrants/resources/organizations/client/Client.ts index f5734f8063..f2f38d721d 100644 --- a/src/management/api/resources/clientGrants/resources/organizations/client/Client.ts +++ b/src/management/api/resources/clientGrants/resources/organizations/client/Client.ts @@ -72,6 +72,7 @@ export class Organizations { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/clients/client/Client.ts b/src/management/api/resources/clients/client/Client.ts index cc28de579b..73909f2c14 100644 --- a/src/management/api/resources/clients/client/Client.ts +++ b/src/management/api/resources/clients/client/Client.ts @@ -154,6 +154,7 @@ export class Clients { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -282,6 +283,7 @@ export class Clients { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -419,6 +421,7 @@ export class Clients { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.GetClientResponseContent, rawResponse: _response.rawResponse }; @@ -500,6 +503,7 @@ export class Clients { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -600,6 +604,7 @@ export class Clients { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -695,6 +700,7 @@ export class Clients { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/clients/resources/connections/client/Client.ts b/src/management/api/resources/clients/resources/connections/client/Client.ts index 2a32aeb069..4348e138a4 100644 --- a/src/management/api/resources/clients/resources/connections/client/Client.ts +++ b/src/management/api/resources/clients/resources/connections/client/Client.ts @@ -98,6 +98,7 @@ export class Connections { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/clients/resources/credentials/client/Client.ts b/src/management/api/resources/clients/resources/credentials/client/Client.ts index aa8e33b1fe..5edd454075 100644 --- a/src/management/api/resources/clients/resources/credentials/client/Client.ts +++ b/src/management/api/resources/clients/resources/credentials/client/Client.ts @@ -66,6 +66,7 @@ export class Credentials { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.ClientCredential[], rawResponse: _response.rawResponse }; @@ -194,6 +195,7 @@ export class Credentials { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -291,6 +293,7 @@ export class Credentials { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -384,6 +387,7 @@ export class Credentials { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -481,6 +485,7 @@ export class Credentials { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/connections/client/Client.ts b/src/management/api/resources/connections/client/Client.ts index 5891d0c2cf..303179add3 100644 --- a/src/management/api/resources/connections/client/Client.ts +++ b/src/management/api/resources/connections/client/Client.ts @@ -133,6 +133,7 @@ export class Connections { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -251,6 +252,7 @@ export class Connections { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -358,6 +360,7 @@ export class Connections { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -445,6 +448,7 @@ export class Connections { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -540,6 +544,7 @@ export class Connections { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -630,6 +635,7 @@ export class Connections { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/connections/resources/clients/client/Client.ts b/src/management/api/resources/connections/resources/clients/client/Client.ts index 60923d7169..e3c87d62c1 100644 --- a/src/management/api/resources/connections/resources/clients/client/Client.ts +++ b/src/management/api/resources/connections/resources/clients/client/Client.ts @@ -77,6 +77,7 @@ export class Clients { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -199,6 +200,7 @@ export class Clients { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/connections/resources/keys/client/Client.ts b/src/management/api/resources/connections/resources/keys/client/Client.ts index 8a9df9dde6..d9d2c563cf 100644 --- a/src/management/api/resources/connections/resources/keys/client/Client.ts +++ b/src/management/api/resources/connections/resources/keys/client/Client.ts @@ -62,6 +62,7 @@ export class Keys { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.ConnectionKey[], rawResponse: _response.rawResponse }; @@ -156,6 +157,7 @@ export class Keys { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/connections/resources/scimConfiguration/client/Client.ts b/src/management/api/resources/connections/resources/scimConfiguration/client/Client.ts index aba5d908c1..c8a0ff1689 100644 --- a/src/management/api/resources/connections/resources/scimConfiguration/client/Client.ts +++ b/src/management/api/resources/connections/resources/scimConfiguration/client/Client.ts @@ -68,6 +68,7 @@ export class ScimConfiguration { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -158,6 +159,7 @@ export class ScimConfiguration { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -239,6 +241,7 @@ export class ScimConfiguration { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -329,6 +332,7 @@ export class ScimConfiguration { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -413,6 +417,7 @@ export class ScimConfiguration { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.ts b/src/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.ts index 1a8877044e..0302264e85 100644 --- a/src/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.ts +++ b/src/management/api/resources/connections/resources/scimConfiguration/resources/tokens/client/Client.ts @@ -62,6 +62,7 @@ export class Tokens { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -153,6 +154,7 @@ export class Tokens { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -238,6 +240,7 @@ export class Tokens { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/connections/resources/users/client/Client.ts b/src/management/api/resources/connections/resources/users/client/Client.ts index 1525c94aa6..6e42a59187 100644 --- a/src/management/api/resources/connections/resources/users/client/Client.ts +++ b/src/management/api/resources/connections/resources/users/client/Client.ts @@ -72,6 +72,7 @@ export class Users { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/customDomains/client/Client.ts b/src/management/api/resources/customDomains/client/Client.ts index b37af7bdb9..3a7192ab48 100644 --- a/src/management/api/resources/customDomains/client/Client.ts +++ b/src/management/api/resources/customDomains/client/Client.ts @@ -60,6 +60,7 @@ export class CustomDomains { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -166,6 +167,7 @@ export class CustomDomains { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -257,6 +259,7 @@ export class CustomDomains { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -344,6 +347,7 @@ export class CustomDomains { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -458,6 +462,7 @@ export class CustomDomains { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -547,6 +552,7 @@ export class CustomDomains { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -647,6 +653,7 @@ export class CustomDomains { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/deviceCredentials/client/Client.ts b/src/management/api/resources/deviceCredentials/client/Client.ts index 772dd81bf2..cc68b6b4e4 100644 --- a/src/management/api/resources/deviceCredentials/client/Client.ts +++ b/src/management/api/resources/deviceCredentials/client/Client.ts @@ -105,6 +105,7 @@ export class DeviceCredentials { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -229,6 +230,7 @@ export class DeviceCredentials { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -316,6 +318,7 @@ export class DeviceCredentials { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/emailTemplates/client/Client.ts b/src/management/api/resources/emailTemplates/client/Client.ts index 826888071a..c388ba25ec 100644 --- a/src/management/api/resources/emailTemplates/client/Client.ts +++ b/src/management/api/resources/emailTemplates/client/Client.ts @@ -70,6 +70,7 @@ export class EmailTemplates { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -160,6 +161,7 @@ export class EmailTemplates { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -259,6 +261,7 @@ export class EmailTemplates { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -358,6 +361,7 @@ export class EmailTemplates { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/emails/resources/provider/client/Client.ts b/src/management/api/resources/emails/resources/provider/client/Client.ts index 59030f9853..c58e97d202 100644 --- a/src/management/api/resources/emails/resources/provider/client/Client.ts +++ b/src/management/api/resources/emails/resources/provider/client/Client.ts @@ -78,6 +78,7 @@ export class Provider { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -218,6 +219,7 @@ export class Provider { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -302,6 +304,7 @@ export class Provider { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -433,6 +436,7 @@ export class Provider { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/eventStreams/client/Client.ts b/src/management/api/resources/eventStreams/client/Client.ts index 83efc627d9..9f7dedd753 100644 --- a/src/management/api/resources/eventStreams/client/Client.ts +++ b/src/management/api/resources/eventStreams/client/Client.ts @@ -87,6 +87,7 @@ export class EventStreams { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -188,6 +189,7 @@ export class EventStreams { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -276,6 +278,7 @@ export class EventStreams { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -359,6 +362,7 @@ export class EventStreams { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -448,6 +452,7 @@ export class EventStreams { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -541,6 +546,7 @@ export class EventStreams { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/eventStreams/resources/deliveries/client/Client.ts b/src/management/api/resources/eventStreams/resources/deliveries/client/Client.ts index 8ab8d1d9d7..ffb956e8b5 100644 --- a/src/management/api/resources/eventStreams/resources/deliveries/client/Client.ts +++ b/src/management/api/resources/eventStreams/resources/deliveries/client/Client.ts @@ -106,6 +106,7 @@ export class Deliveries { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.EventStreamDelivery[], rawResponse: _response.rawResponse }; @@ -196,6 +197,7 @@ export class Deliveries { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/eventStreams/resources/redeliveries/client/Client.ts b/src/management/api/resources/eventStreams/resources/redeliveries/client/Client.ts index ec58bf5b25..6cc536a78f 100644 --- a/src/management/api/resources/eventStreams/resources/redeliveries/client/Client.ts +++ b/src/management/api/resources/eventStreams/resources/redeliveries/client/Client.ts @@ -69,6 +69,7 @@ export class Redeliveries { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -163,6 +164,7 @@ export class Redeliveries { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/flows/client/Client.ts b/src/management/api/resources/flows/client/Client.ts index a6b827e510..ce9d7a8639 100644 --- a/src/management/api/resources/flows/client/Client.ts +++ b/src/management/api/resources/flows/client/Client.ts @@ -103,6 +103,7 @@ export class Flows { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -215,6 +216,7 @@ export class Flows { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.CreateFlowResponseContent, rawResponse: _response.rawResponse }; @@ -312,6 +314,7 @@ export class Flows { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.GetFlowResponseContent, rawResponse: _response.rawResponse }; @@ -392,6 +395,7 @@ export class Flows { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -483,6 +487,7 @@ export class Flows { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.UpdateFlowResponseContent, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/flows/resources/executions/client/Client.ts b/src/management/api/resources/flows/resources/executions/client/Client.ts index de8e77095b..76d717d5ce 100644 --- a/src/management/api/resources/flows/resources/executions/client/Client.ts +++ b/src/management/api/resources/flows/resources/executions/client/Client.ts @@ -72,6 +72,7 @@ export class Executions { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -196,6 +197,7 @@ export class Executions { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -287,6 +289,7 @@ export class Executions { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/flows/resources/vault/resources/connections/client/Client.ts b/src/management/api/resources/flows/resources/vault/resources/connections/client/Client.ts index 27561686d6..38a5f2cbd5 100644 --- a/src/management/api/resources/flows/resources/vault/resources/connections/client/Client.ts +++ b/src/management/api/resources/flows/resources/vault/resources/connections/client/Client.ts @@ -79,6 +79,7 @@ export class Connections { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -202,6 +203,7 @@ export class Connections { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -289,6 +291,7 @@ export class Connections { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -376,6 +379,7 @@ export class Connections { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -468,6 +472,7 @@ export class Connections { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/forms/client/Client.ts b/src/management/api/resources/forms/client/Client.ts index ee2820a126..074ecdbab3 100644 --- a/src/management/api/resources/forms/client/Client.ts +++ b/src/management/api/resources/forms/client/Client.ts @@ -81,6 +81,7 @@ export class Forms { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -193,6 +194,7 @@ export class Forms { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.CreateFormResponseContent, rawResponse: _response.rawResponse }; @@ -290,6 +292,7 @@ export class Forms { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.GetFormResponseContent, rawResponse: _response.rawResponse }; @@ -369,6 +372,7 @@ export class Forms { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -457,6 +461,7 @@ export class Forms { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.UpdateFormResponseContent, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/guardian/resources/enrollments/client/Client.ts b/src/management/api/resources/guardian/resources/enrollments/client/Client.ts index 4caf146844..993ecc11fd 100644 --- a/src/management/api/resources/guardian/resources/enrollments/client/Client.ts +++ b/src/management/api/resources/guardian/resources/enrollments/client/Client.ts @@ -72,6 +72,7 @@ export class Enrollments { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -161,6 +162,7 @@ export class Enrollments { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -245,6 +247,7 @@ export class Enrollments { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/guardian/resources/factors/client/Client.ts b/src/management/api/resources/guardian/resources/factors/client/Client.ts index 842552463f..fd6bbe98aa 100644 --- a/src/management/api/resources/guardian/resources/factors/client/Client.ts +++ b/src/management/api/resources/guardian/resources/factors/client/Client.ts @@ -82,6 +82,7 @@ export class Factors { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.GuardianFactor[], rawResponse: _response.rawResponse }; @@ -172,6 +173,7 @@ export class Factors { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/client/Client.ts b/src/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/client/Client.ts index f3d7a4825a..5dbd33b8ff 100644 --- a/src/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/client/Client.ts +++ b/src/management/api/resources/guardian/resources/factors/resources/duo/resources/settings/client/Client.ts @@ -60,6 +60,7 @@ export class Settings { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -150,6 +151,7 @@ export class Settings { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -238,6 +240,7 @@ export class Settings { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/guardian/resources/factors/resources/phone/client/Client.ts b/src/management/api/resources/guardian/resources/factors/resources/phone/client/Client.ts index 17f07c89c6..43872a7931 100644 --- a/src/management/api/resources/guardian/resources/factors/resources/phone/client/Client.ts +++ b/src/management/api/resources/guardian/resources/factors/resources/phone/client/Client.ts @@ -60,6 +60,7 @@ export class Phone { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -153,6 +154,7 @@ export class Phone { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -239,6 +241,7 @@ export class Phone { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -329,6 +332,7 @@ export class Phone { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -413,6 +417,7 @@ export class Phone { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -503,6 +508,7 @@ export class Phone { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -587,6 +593,7 @@ export class Phone { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -680,6 +687,7 @@ export class Phone { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.ts b/src/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.ts index edb52e64aa..c391418f4c 100644 --- a/src/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.ts +++ b/src/management/api/resources/guardian/resources/factors/resources/pushNotification/client/Client.ts @@ -60,6 +60,7 @@ export class PushNotification { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -150,6 +151,7 @@ export class PushNotification { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -240,6 +242,7 @@ export class PushNotification { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -330,6 +333,7 @@ export class PushNotification { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -414,6 +418,7 @@ export class PushNotification { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -504,6 +509,7 @@ export class PushNotification { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -594,6 +600,7 @@ export class PushNotification { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -678,6 +685,7 @@ export class PushNotification { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -770,6 +778,7 @@ export class PushNotification { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/guardian/resources/factors/resources/sms/client/Client.ts b/src/management/api/resources/guardian/resources/factors/resources/sms/client/Client.ts index 1fc79cc7bb..9311d8571c 100644 --- a/src/management/api/resources/guardian/resources/factors/resources/sms/client/Client.ts +++ b/src/management/api/resources/guardian/resources/factors/resources/sms/client/Client.ts @@ -62,6 +62,7 @@ export class Sms { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -154,6 +155,7 @@ export class Sms { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -240,6 +242,7 @@ export class Sms { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -334,6 +337,7 @@ export class Sms { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -420,6 +424,7 @@ export class Sms { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -515,6 +520,7 @@ export class Sms { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/guardian/resources/policies/client/Client.ts b/src/management/api/resources/guardian/resources/policies/client/Client.ts index c19d03e995..970d4ad343 100644 --- a/src/management/api/resources/guardian/resources/policies/client/Client.ts +++ b/src/management/api/resources/guardian/resources/policies/client/Client.ts @@ -68,6 +68,7 @@ export class Policies { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -164,6 +165,7 @@ export class Policies { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/hooks/client/Client.ts b/src/management/api/resources/hooks/client/Client.ts index bd5a91f2bb..6e808bd181 100644 --- a/src/management/api/resources/hooks/client/Client.ts +++ b/src/management/api/resources/hooks/client/Client.ts @@ -102,6 +102,7 @@ export class Hooks { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -221,6 +222,7 @@ export class Hooks { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.CreateHookResponseContent, rawResponse: _response.rawResponse }; @@ -320,6 +322,7 @@ export class Hooks { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.GetHookResponseContent, rawResponse: _response.rawResponse }; @@ -401,6 +404,7 @@ export class Hooks { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -494,6 +498,7 @@ export class Hooks { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.UpdateHookResponseContent, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/hooks/resources/secrets/client/Client.ts b/src/management/api/resources/hooks/resources/secrets/client/Client.ts index 6d00c82986..6c6dd4e84e 100644 --- a/src/management/api/resources/hooks/resources/secrets/client/Client.ts +++ b/src/management/api/resources/hooks/resources/secrets/client/Client.ts @@ -65,6 +65,7 @@ export class Secrets { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -164,6 +165,7 @@ export class Secrets { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -257,6 +259,7 @@ export class Secrets { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -352,6 +355,7 @@ export class Secrets { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/jobs/client/Client.ts b/src/management/api/resources/jobs/client/Client.ts index 9d0ef33724..bb33565333 100644 --- a/src/management/api/resources/jobs/client/Client.ts +++ b/src/management/api/resources/jobs/client/Client.ts @@ -89,6 +89,7 @@ export class Jobs { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.GetJobResponseContent, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/jobs/resources/errors/client/Client.ts b/src/management/api/resources/jobs/resources/errors/client/Client.ts index 09befb3d23..8e24a484cf 100644 --- a/src/management/api/resources/jobs/resources/errors/client/Client.ts +++ b/src/management/api/resources/jobs/resources/errors/client/Client.ts @@ -65,6 +65,7 @@ export class Errors { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.jobs.ErrorsGetResponse, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/jobs/resources/usersExports/client/Client.ts b/src/management/api/resources/jobs/resources/usersExports/client/Client.ts index 63b515a5d6..4b6935ced1 100644 --- a/src/management/api/resources/jobs/resources/usersExports/client/Client.ts +++ b/src/management/api/resources/jobs/resources/usersExports/client/Client.ts @@ -67,6 +67,7 @@ export class UsersExports { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/jobs/resources/usersImports/client/Client.ts b/src/management/api/resources/jobs/resources/usersImports/client/Client.ts index 997ccc2e51..4ab0654ff5 100644 --- a/src/management/api/resources/jobs/resources/usersImports/client/Client.ts +++ b/src/management/api/resources/jobs/resources/usersImports/client/Client.ts @@ -93,6 +93,7 @@ export class UsersImports { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/jobs/resources/verificationEmail/client/Client.ts b/src/management/api/resources/jobs/resources/verificationEmail/client/Client.ts index 0036c6c32b..4d96a497f1 100644 --- a/src/management/api/resources/jobs/resources/verificationEmail/client/Client.ts +++ b/src/management/api/resources/jobs/resources/verificationEmail/client/Client.ts @@ -71,6 +71,7 @@ export class VerificationEmail { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/keys/resources/customSigning/client/Client.ts b/src/management/api/resources/keys/resources/customSigning/client/Client.ts index 5e9cb52551..91dcf0ed51 100644 --- a/src/management/api/resources/keys/resources/customSigning/client/Client.ts +++ b/src/management/api/resources/keys/resources/customSigning/client/Client.ts @@ -61,6 +61,7 @@ export class CustomSigning { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -156,6 +157,7 @@ export class CustomSigning { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -236,6 +238,7 @@ export class CustomSigning { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/keys/resources/encryption/client/Client.ts b/src/management/api/resources/keys/resources/encryption/client/Client.ts index 2e995aa84c..ccea79d454 100644 --- a/src/management/api/resources/keys/resources/encryption/client/Client.ts +++ b/src/management/api/resources/keys/resources/encryption/client/Client.ts @@ -76,6 +76,7 @@ export class Encryption { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -191,6 +192,7 @@ export class Encryption { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -273,6 +275,7 @@ export class Encryption { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -357,6 +360,7 @@ export class Encryption { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -456,6 +460,7 @@ export class Encryption { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -543,6 +548,7 @@ export class Encryption { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -629,6 +635,7 @@ export class Encryption { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/keys/resources/signing/client/Client.ts b/src/management/api/resources/keys/resources/signing/client/Client.ts index 41466129e1..615ce1c81f 100644 --- a/src/management/api/resources/keys/resources/signing/client/Client.ts +++ b/src/management/api/resources/keys/resources/signing/client/Client.ts @@ -59,6 +59,7 @@ export class Signing { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.SigningKeys[], rawResponse: _response.rawResponse }; @@ -140,6 +141,7 @@ export class Signing { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -226,6 +228,7 @@ export class Signing { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -314,6 +317,7 @@ export class Signing { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/logStreams/client/Client.ts b/src/management/api/resources/logStreams/client/Client.ts index 8271cffff9..48bea67ae0 100644 --- a/src/management/api/resources/logStreams/client/Client.ts +++ b/src/management/api/resources/logStreams/client/Client.ts @@ -126,6 +126,7 @@ export class LogStreams { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.LogStreamResponseSchema[], rawResponse: _response.rawResponse }; @@ -345,6 +346,7 @@ export class LogStreams { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -536,6 +538,7 @@ export class LogStreams { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -622,6 +625,7 @@ export class LogStreams { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -749,6 +753,7 @@ export class LogStreams { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/logs/client/Client.ts b/src/management/api/resources/logs/client/Client.ts index ce4731f23a..1397786e74 100644 --- a/src/management/api/resources/logs/client/Client.ts +++ b/src/management/api/resources/logs/client/Client.ts @@ -128,6 +128,7 @@ export class Logs { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -238,6 +239,7 @@ export class Logs { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.GetLogResponseContent, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/networkAcls/client/Client.ts b/src/management/api/resources/networkAcls/client/Client.ts index e31cededf4..7899a275eb 100644 --- a/src/management/api/resources/networkAcls/client/Client.ts +++ b/src/management/api/resources/networkAcls/client/Client.ts @@ -78,6 +78,7 @@ export class NetworkAcls { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -200,6 +201,7 @@ export class NetworkAcls { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -289,6 +291,7 @@ export class NetworkAcls { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -392,6 +395,7 @@ export class NetworkAcls { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -480,6 +484,7 @@ export class NetworkAcls { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -574,6 +579,7 @@ export class NetworkAcls { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/organizations/client/Client.ts b/src/management/api/resources/organizations/client/Client.ts index d14c63b877..d03e9cccc7 100644 --- a/src/management/api/resources/organizations/client/Client.ts +++ b/src/management/api/resources/organizations/client/Client.ts @@ -124,6 +124,7 @@ export class Organizations { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -238,6 +239,7 @@ export class Organizations { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -328,6 +330,7 @@ export class Organizations { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -418,6 +421,7 @@ export class Organizations { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -506,6 +510,7 @@ export class Organizations { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -599,6 +604,7 @@ export class Organizations { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/organizations/resources/clientGrants/client/Client.ts b/src/management/api/resources/organizations/resources/clientGrants/client/Client.ts index 714b65826e..f7eee13dcc 100644 --- a/src/management/api/resources/organizations/resources/clientGrants/client/Client.ts +++ b/src/management/api/resources/organizations/resources/clientGrants/client/Client.ts @@ -103,6 +103,7 @@ export class ClientGrants { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -225,6 +226,7 @@ export class ClientGrants { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -321,6 +323,7 @@ export class ClientGrants { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/organizations/resources/discoveryDomains/client/Client.ts b/src/management/api/resources/organizations/resources/discoveryDomains/client/Client.ts index ea71194376..5b17c808bb 100644 --- a/src/management/api/resources/organizations/resources/discoveryDomains/client/Client.ts +++ b/src/management/api/resources/organizations/resources/discoveryDomains/client/Client.ts @@ -77,6 +77,7 @@ export class DiscoveryDomains { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -202,6 +203,7 @@ export class DiscoveryDomains { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -300,6 +302,7 @@ export class DiscoveryDomains { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -395,6 +398,7 @@ export class DiscoveryDomains { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -489,6 +493,7 @@ export class DiscoveryDomains { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/organizations/resources/enabledConnections/client/Client.ts b/src/management/api/resources/organizations/resources/enabledConnections/client/Client.ts index 732ea5bf15..ce62f18961 100644 --- a/src/management/api/resources/organizations/resources/enabledConnections/client/Client.ts +++ b/src/management/api/resources/organizations/resources/enabledConnections/client/Client.ts @@ -83,6 +83,7 @@ export class EnabledConnections { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -207,6 +208,7 @@ export class EnabledConnections { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -299,6 +301,7 @@ export class EnabledConnections { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -392,6 +395,7 @@ export class EnabledConnections { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -488,6 +492,7 @@ export class EnabledConnections { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/organizations/resources/invitations/client/Client.ts b/src/management/api/resources/organizations/resources/invitations/client/Client.ts index 9533c07ce6..7ad4775088 100644 --- a/src/management/api/resources/organizations/resources/invitations/client/Client.ts +++ b/src/management/api/resources/organizations/resources/invitations/client/Client.ts @@ -103,6 +103,7 @@ export class Invitations { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -234,6 +235,7 @@ export class Invitations { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -344,6 +346,7 @@ export class Invitations { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -437,6 +440,7 @@ export class Invitations { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/organizations/resources/members/client/Client.ts b/src/management/api/resources/organizations/resources/members/client/Client.ts index 4b791c3493..b596060f78 100644 --- a/src/management/api/resources/organizations/resources/members/client/Client.ts +++ b/src/management/api/resources/organizations/resources/members/client/Client.ts @@ -109,6 +109,7 @@ export class Members { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -231,6 +232,7 @@ export class Members { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -324,6 +326,7 @@ export class Members { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/organizations/resources/members/resources/roles/client/Client.ts b/src/management/api/resources/organizations/resources/members/resources/roles/client/Client.ts index c7e1c7c4dd..ad8d600cd8 100644 --- a/src/management/api/resources/organizations/resources/members/resources/roles/client/Client.ts +++ b/src/management/api/resources/organizations/resources/members/resources/roles/client/Client.ts @@ -82,6 +82,7 @@ export class Roles { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -207,6 +208,7 @@ export class Roles { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -309,6 +311,7 @@ export class Roles { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/prompts/client/Client.ts b/src/management/api/resources/prompts/client/Client.ts index 22b51a1d40..a329ff37b5 100644 --- a/src/management/api/resources/prompts/client/Client.ts +++ b/src/management/api/resources/prompts/client/Client.ts @@ -78,6 +78,7 @@ export class Prompts { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -167,6 +168,7 @@ export class Prompts { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/prompts/resources/customText/client/Client.ts b/src/management/api/resources/prompts/resources/customText/client/Client.ts index ac17d70cbb..05d5082458 100644 --- a/src/management/api/resources/prompts/resources/customText/client/Client.ts +++ b/src/management/api/resources/prompts/resources/customText/client/Client.ts @@ -68,6 +68,7 @@ export class CustomText { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -171,6 +172,7 @@ export class CustomText { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/prompts/resources/partials/client/Client.ts b/src/management/api/resources/prompts/resources/partials/client/Client.ts index 51d614d63c..e161b0c6b3 100644 --- a/src/management/api/resources/prompts/resources/partials/client/Client.ts +++ b/src/management/api/resources/prompts/resources/partials/client/Client.ts @@ -65,6 +65,7 @@ export class Partials { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -165,6 +166,7 @@ export class Partials { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/prompts/resources/rendering/client/Client.ts b/src/management/api/resources/prompts/resources/rendering/client/Client.ts index c49809ce78..9c06a4b7d0 100644 --- a/src/management/api/resources/prompts/resources/rendering/client/Client.ts +++ b/src/management/api/resources/prompts/resources/rendering/client/Client.ts @@ -106,6 +106,7 @@ export class Rendering { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -260,6 +261,7 @@ export class Rendering { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -355,6 +357,7 @@ export class Rendering { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.GetAculResponseContent, rawResponse: _response.rawResponse }; @@ -486,6 +489,7 @@ export class Rendering { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.UpdateAculResponseContent, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/refreshTokens/client/Client.ts b/src/management/api/resources/refreshTokens/client/Client.ts index 2a4bf9430b..d25cce0cdc 100644 --- a/src/management/api/resources/refreshTokens/client/Client.ts +++ b/src/management/api/resources/refreshTokens/client/Client.ts @@ -64,6 +64,7 @@ export class RefreshTokens { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -149,6 +150,7 @@ export class RefreshTokens { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/resourceServers/client/Client.ts b/src/management/api/resources/resourceServers/client/Client.ts index 5ef63de3ee..51d07813d2 100644 --- a/src/management/api/resources/resourceServers/client/Client.ts +++ b/src/management/api/resources/resourceServers/client/Client.ts @@ -93,6 +93,7 @@ export class ResourceServers { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -208,6 +209,7 @@ export class ResourceServers { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -310,6 +312,7 @@ export class ResourceServers { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -397,6 +400,7 @@ export class ResourceServers { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -489,6 +493,7 @@ export class ResourceServers { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/riskAssessments/resources/settings/client/Client.ts b/src/management/api/resources/riskAssessments/resources/settings/client/Client.ts index 44aa72b612..1abaa08d68 100644 --- a/src/management/api/resources/riskAssessments/resources/settings/client/Client.ts +++ b/src/management/api/resources/riskAssessments/resources/settings/client/Client.ts @@ -67,6 +67,7 @@ export class Settings { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -163,6 +164,7 @@ export class Settings { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/riskAssessments/resources/settings/resources/newDevice/client/Client.ts b/src/management/api/resources/riskAssessments/resources/settings/resources/newDevice/client/Client.ts index ab245f7513..8f00ec7a1e 100644 --- a/src/management/api/resources/riskAssessments/resources/settings/resources/newDevice/client/Client.ts +++ b/src/management/api/resources/riskAssessments/resources/settings/resources/newDevice/client/Client.ts @@ -61,6 +61,7 @@ export class NewDevice { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -157,6 +158,7 @@ export class NewDevice { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/roles/client/Client.ts b/src/management/api/resources/roles/client/Client.ts index 1896ced357..30adc88a28 100644 --- a/src/management/api/resources/roles/client/Client.ts +++ b/src/management/api/resources/roles/client/Client.ts @@ -99,6 +99,7 @@ export class Roles { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -215,6 +216,7 @@ export class Roles { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.CreateRoleResponseContent, rawResponse: _response.rawResponse }; @@ -301,6 +303,7 @@ export class Roles { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.GetRoleResponseContent, rawResponse: _response.rawResponse }; @@ -383,6 +386,7 @@ export class Roles { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -476,6 +480,7 @@ export class Roles { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.UpdateRoleResponseContent, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/roles/resources/permissions/client/Client.ts b/src/management/api/resources/roles/resources/permissions/client/Client.ts index 8bafa8176c..4c5feeb776 100644 --- a/src/management/api/resources/roles/resources/permissions/client/Client.ts +++ b/src/management/api/resources/roles/resources/permissions/client/Client.ts @@ -81,6 +81,7 @@ export class Permissions { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -208,6 +209,7 @@ export class Permissions { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -304,6 +306,7 @@ export class Permissions { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/roles/resources/users/client/Client.ts b/src/management/api/resources/roles/resources/users/client/Client.ts index 9200395657..bc76904469 100644 --- a/src/management/api/resources/roles/resources/users/client/Client.ts +++ b/src/management/api/resources/roles/resources/users/client/Client.ts @@ -93,6 +93,7 @@ export class Users { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -214,6 +215,7 @@ export class Users { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/rules/client/Client.ts b/src/management/api/resources/rules/client/Client.ts index 0550a34ef3..f7f7ce271e 100644 --- a/src/management/api/resources/rules/client/Client.ts +++ b/src/management/api/resources/rules/client/Client.ts @@ -96,6 +96,7 @@ export class Rules { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -216,6 +217,7 @@ export class Rules { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.CreateRuleResponseContent, rawResponse: _response.rawResponse }; @@ -320,6 +322,7 @@ export class Rules { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.GetRuleResponseContent, rawResponse: _response.rawResponse }; @@ -401,6 +404,7 @@ export class Rules { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -494,6 +498,7 @@ export class Rules { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.UpdateRuleResponseContent, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/rulesConfigs/client/Client.ts b/src/management/api/resources/rulesConfigs/client/Client.ts index 89f5938f81..f855978d84 100644 --- a/src/management/api/resources/rulesConfigs/client/Client.ts +++ b/src/management/api/resources/rulesConfigs/client/Client.ts @@ -60,6 +60,7 @@ export class RulesConfigs { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.RulesConfig[], rawResponse: _response.rawResponse }; @@ -150,6 +151,7 @@ export class RulesConfigs { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -232,6 +234,7 @@ export class RulesConfigs { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/selfServiceProfiles/client/Client.ts b/src/management/api/resources/selfServiceProfiles/client/Client.ts index 69dea0ae38..c9b39edd6f 100644 --- a/src/management/api/resources/selfServiceProfiles/client/Client.ts +++ b/src/management/api/resources/selfServiceProfiles/client/Client.ts @@ -88,6 +88,7 @@ export class SelfServiceProfiles { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -208,6 +209,7 @@ export class SelfServiceProfiles { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -302,6 +304,7 @@ export class SelfServiceProfiles { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -394,6 +397,7 @@ export class SelfServiceProfiles { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -491,6 +495,7 @@ export class SelfServiceProfiles { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/selfServiceProfiles/resources/customText/client/Client.ts b/src/management/api/resources/selfServiceProfiles/resources/customText/client/Client.ts index 890f93fdf3..cbceede097 100644 --- a/src/management/api/resources/selfServiceProfiles/resources/customText/client/Client.ts +++ b/src/management/api/resources/selfServiceProfiles/resources/customText/client/Client.ts @@ -70,6 +70,7 @@ export class CustomText { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -174,6 +175,7 @@ export class CustomText { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.ts b/src/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.ts index dc194c06a9..b8db79f01c 100644 --- a/src/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.ts +++ b/src/management/api/resources/selfServiceProfiles/resources/ssoTicket/client/Client.ts @@ -70,6 +70,7 @@ export class SsoTicket { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -163,6 +164,7 @@ export class SsoTicket { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/sessions/client/Client.ts b/src/management/api/resources/sessions/client/Client.ts index 9d2a7d6fc3..2cbc1a8bae 100644 --- a/src/management/api/resources/sessions/client/Client.ts +++ b/src/management/api/resources/sessions/client/Client.ts @@ -64,6 +64,7 @@ export class Sessions { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.GetSessionResponseContent, rawResponse: _response.rawResponse }; @@ -143,6 +144,7 @@ export class Sessions { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -235,6 +237,7 @@ export class Sessions { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -320,6 +323,7 @@ export class Sessions { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/stats/client/Client.ts b/src/management/api/resources/stats/client/Client.ts index ce97562763..9bd348c409 100644 --- a/src/management/api/resources/stats/client/Client.ts +++ b/src/management/api/resources/stats/client/Client.ts @@ -60,6 +60,7 @@ export class Stats { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -159,6 +160,7 @@ export class Stats { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.DailyStats[], rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/supplementalSignals/client/Client.ts b/src/management/api/resources/supplementalSignals/client/Client.ts index 7b9b28592e..fc44afbe05 100644 --- a/src/management/api/resources/supplementalSignals/client/Client.ts +++ b/src/management/api/resources/supplementalSignals/client/Client.ts @@ -61,6 +61,7 @@ export class SupplementalSignals { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -154,6 +155,7 @@ export class SupplementalSignals { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/tenants/resources/settings/client/Client.ts b/src/management/api/resources/tenants/resources/settings/client/Client.ts index 1d3cbff8e9..7e905eb378 100644 --- a/src/management/api/resources/tenants/resources/settings/client/Client.ts +++ b/src/management/api/resources/tenants/resources/settings/client/Client.ts @@ -77,6 +77,7 @@ export class Settings { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -168,6 +169,7 @@ export class Settings { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/tickets/client/Client.ts b/src/management/api/resources/tickets/client/Client.ts index f7e2e9a40c..dfbfeea54b 100644 --- a/src/management/api/resources/tickets/client/Client.ts +++ b/src/management/api/resources/tickets/client/Client.ts @@ -70,6 +70,7 @@ export class Tickets { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -168,6 +169,7 @@ export class Tickets { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/tokenExchangeProfiles/client/Client.ts b/src/management/api/resources/tokenExchangeProfiles/client/Client.ts index 78392f6e59..7a4ac58f2a 100644 --- a/src/management/api/resources/tokenExchangeProfiles/client/Client.ts +++ b/src/management/api/resources/tokenExchangeProfiles/client/Client.ts @@ -82,6 +82,7 @@ export class TokenExchangeProfiles { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -203,6 +204,7 @@ export class TokenExchangeProfiles { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -294,6 +296,7 @@ export class TokenExchangeProfiles { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -382,6 +385,7 @@ export class TokenExchangeProfiles { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -474,6 +478,7 @@ export class TokenExchangeProfiles { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/userAttributeProfiles/client/Client.ts b/src/management/api/resources/userAttributeProfiles/client/Client.ts index 253d3d2bd1..4d45a8300f 100644 --- a/src/management/api/resources/userAttributeProfiles/client/Client.ts +++ b/src/management/api/resources/userAttributeProfiles/client/Client.ts @@ -74,6 +74,7 @@ export class UserAttributeProfiles { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -201,6 +202,7 @@ export class UserAttributeProfiles { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -287,6 +289,7 @@ export class UserAttributeProfiles { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -375,6 +378,7 @@ export class UserAttributeProfiles { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -465,6 +469,7 @@ export class UserAttributeProfiles { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -551,6 +556,7 @@ export class UserAttributeProfiles { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -642,6 +648,7 @@ export class UserAttributeProfiles { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/userBlocks/client/Client.ts b/src/management/api/resources/userBlocks/client/Client.ts index c340b7741d..2e4cea4969 100644 --- a/src/management/api/resources/userBlocks/client/Client.ts +++ b/src/management/api/resources/userBlocks/client/Client.ts @@ -74,6 +74,7 @@ export class UserBlocks { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -169,6 +170,7 @@ export class UserBlocks { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -266,6 +268,7 @@ export class UserBlocks { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -356,6 +359,7 @@ export class UserBlocks { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/userGrants/client/Client.ts b/src/management/api/resources/userGrants/client/Client.ts index a2211effd7..d9a4002ad4 100644 --- a/src/management/api/resources/userGrants/client/Client.ts +++ b/src/management/api/resources/userGrants/client/Client.ts @@ -94,6 +94,7 @@ export class UserGrants { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -202,6 +203,7 @@ export class UserGrants { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -281,6 +283,7 @@ export class UserGrants { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/users/client/Client.ts b/src/management/api/resources/users/client/Client.ts index 52cbdebe51..40831650ef 100644 --- a/src/management/api/resources/users/client/Client.ts +++ b/src/management/api/resources/users/client/Client.ts @@ -213,6 +213,7 @@ export class Users { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -335,6 +336,7 @@ export class Users { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.CreateUserResponseContent, rawResponse: _response.rawResponse }; @@ -441,6 +443,7 @@ export class Users { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.UserResponseSchema[], rawResponse: _response.rawResponse }; @@ -543,6 +546,7 @@ export class Users { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.GetUserResponseContent, rawResponse: _response.rawResponse }; @@ -624,6 +628,7 @@ export class Users { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -785,6 +790,7 @@ export class Users { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.UpdateUserResponseContent, rawResponse: _response.rawResponse }; @@ -872,6 +878,7 @@ export class Users { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -968,6 +975,7 @@ export class Users { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/users/resources/authenticationMethods/client/Client.ts b/src/management/api/resources/users/resources/authenticationMethods/client/Client.ts index 150c635b8e..489f0f6657 100644 --- a/src/management/api/resources/users/resources/authenticationMethods/client/Client.ts +++ b/src/management/api/resources/users/resources/authenticationMethods/client/Client.ts @@ -86,6 +86,7 @@ export class AuthenticationMethods { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -212,6 +213,7 @@ export class AuthenticationMethods { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -317,6 +319,7 @@ export class AuthenticationMethods { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -409,6 +412,7 @@ export class AuthenticationMethods { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -498,6 +502,7 @@ export class AuthenticationMethods { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -594,6 +599,7 @@ export class AuthenticationMethods { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -693,6 +699,7 @@ export class AuthenticationMethods { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/users/resources/authenticators/client/Client.ts b/src/management/api/resources/users/resources/authenticators/client/Client.ts index a37730e3e3..a9beada3b2 100644 --- a/src/management/api/resources/users/resources/authenticators/client/Client.ts +++ b/src/management/api/resources/users/resources/authenticators/client/Client.ts @@ -61,6 +61,7 @@ export class Authenticators { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/users/resources/connectedAccounts/client/Client.ts b/src/management/api/resources/users/resources/connectedAccounts/client/Client.ts index 14bcef1b0d..e0a0f726c7 100644 --- a/src/management/api/resources/users/resources/connectedAccounts/client/Client.ts +++ b/src/management/api/resources/users/resources/connectedAccounts/client/Client.ts @@ -74,6 +74,7 @@ export class ConnectedAccounts { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/users/resources/enrollments/client/Client.ts b/src/management/api/resources/users/resources/enrollments/client/Client.ts index 8781617f4b..c9f942a1f7 100644 --- a/src/management/api/resources/users/resources/enrollments/client/Client.ts +++ b/src/management/api/resources/users/resources/enrollments/client/Client.ts @@ -65,6 +65,7 @@ export class Enrollments { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.UsersEnrollment[], rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/users/resources/federatedConnectionsTokensets/client/Client.ts b/src/management/api/resources/users/resources/federatedConnectionsTokensets/client/Client.ts index 846c6b62d1..e8fa1b20e3 100644 --- a/src/management/api/resources/users/resources/federatedConnectionsTokensets/client/Client.ts +++ b/src/management/api/resources/users/resources/federatedConnectionsTokensets/client/Client.ts @@ -64,6 +64,7 @@ export class FederatedConnectionsTokensets { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -155,6 +156,7 @@ export class FederatedConnectionsTokensets { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/users/resources/identities/client/Client.ts b/src/management/api/resources/users/resources/identities/client/Client.ts index ff2331e4c8..5eae6562e3 100644 --- a/src/management/api/resources/users/resources/identities/client/Client.ts +++ b/src/management/api/resources/users/resources/identities/client/Client.ts @@ -98,6 +98,7 @@ export class Identities { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: _response.body as Management.UserIdentity[], rawResponse: _response.rawResponse }; @@ -193,6 +194,7 @@ export class Identities { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/users/resources/logs/client/Client.ts b/src/management/api/resources/users/resources/logs/client/Client.ts index 3ee0641ebc..859da3f43f 100644 --- a/src/management/api/resources/users/resources/logs/client/Client.ts +++ b/src/management/api/resources/users/resources/logs/client/Client.ts @@ -88,6 +88,7 @@ export class Logs { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/users/resources/multifactor/client/Client.ts b/src/management/api/resources/users/resources/multifactor/client/Client.ts index 11257dfd20..02a8af9369 100644 --- a/src/management/api/resources/users/resources/multifactor/client/Client.ts +++ b/src/management/api/resources/users/resources/multifactor/client/Client.ts @@ -63,6 +63,7 @@ export class Multifactor { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -152,6 +153,7 @@ export class Multifactor { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/users/resources/organizations/client/Client.ts b/src/management/api/resources/users/resources/organizations/client/Client.ts index bf370edad5..8120582015 100644 --- a/src/management/api/resources/users/resources/organizations/client/Client.ts +++ b/src/management/api/resources/users/resources/organizations/client/Client.ts @@ -77,6 +77,7 @@ export class Organizations { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/api/resources/users/resources/permissions/client/Client.ts b/src/management/api/resources/users/resources/permissions/client/Client.ts index b6c2d350c6..29f3730675 100644 --- a/src/management/api/resources/users/resources/permissions/client/Client.ts +++ b/src/management/api/resources/users/resources/permissions/client/Client.ts @@ -81,6 +81,7 @@ export class Permissions { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -208,6 +209,7 @@ export class Permissions { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -304,6 +306,7 @@ export class Permissions { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/users/resources/refreshToken/client/Client.ts b/src/management/api/resources/users/resources/refreshToken/client/Client.ts index 8bd4a257d5..0006b67b8a 100644 --- a/src/management/api/resources/users/resources/refreshToken/client/Client.ts +++ b/src/management/api/resources/users/resources/refreshToken/client/Client.ts @@ -76,6 +76,7 @@ export class RefreshToken { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -184,6 +185,7 @@ export class RefreshToken { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/users/resources/riskAssessments/client/Client.ts b/src/management/api/resources/users/resources/riskAssessments/client/Client.ts index 643a053acd..d45a88e2fa 100644 --- a/src/management/api/resources/users/resources/riskAssessments/client/Client.ts +++ b/src/management/api/resources/users/resources/riskAssessments/client/Client.ts @@ -73,6 +73,7 @@ export class RiskAssessments { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/users/resources/roles/client/Client.ts b/src/management/api/resources/users/resources/roles/client/Client.ts index f03b5c733d..b8852b79eb 100644 --- a/src/management/api/resources/users/resources/roles/client/Client.ts +++ b/src/management/api/resources/users/resources/roles/client/Client.ts @@ -79,6 +79,7 @@ export class Roles { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -193,6 +194,7 @@ export class Roles { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -287,6 +289,7 @@ export class Roles { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/users/resources/sessions/client/Client.ts b/src/management/api/resources/users/resources/sessions/client/Client.ts index 141a626c6d..2d7d433b75 100644 --- a/src/management/api/resources/users/resources/sessions/client/Client.ts +++ b/src/management/api/resources/users/resources/sessions/client/Client.ts @@ -74,6 +74,7 @@ export class Sessions { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -179,6 +180,7 @@ export class Sessions { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; diff --git a/src/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.ts b/src/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.ts index 5e71b7a289..e90139232a 100644 --- a/src/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.ts +++ b/src/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.ts @@ -77,6 +77,7 @@ export class Templates { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -204,6 +205,7 @@ export class Templates { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -297,6 +299,7 @@ export class Templates { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { @@ -383,6 +386,7 @@ export class Templates { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { data: undefined, rawResponse: _response.rawResponse }; @@ -477,6 +481,7 @@ export class Templates { maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries, abortSignal: requestOptions?.abortSignal, fetchFn: this._options?.fetch, + logging: this._options.logging, }); if (_response.ok) { return { diff --git a/src/management/core/exports.ts b/src/management/core/exports.ts index d6a3f3bc75..701cccfe6d 100644 --- a/src/management/core/exports.ts +++ b/src/management/core/exports.ts @@ -1,2 +1,3 @@ export * from "./pagination/exports.js"; +export * from "./logging/exports.js"; export * from "./file/exports.js"; diff --git a/src/management/core/fetcher/Fetcher.ts b/src/management/core/fetcher/Fetcher.ts index b9dc3715e5..ef020d4d60 100644 --- a/src/management/core/fetcher/Fetcher.ts +++ b/src/management/core/fetcher/Fetcher.ts @@ -1,4 +1,5 @@ import { toJson } from "../json.js"; +import { createLogger, type LogConfig, type Logger } from "../logging/logger.js"; import type { APIResponse } from "./APIResponse.js"; import { createRequestUrl } from "./createRequestUrl.js"; import type { EndpointMetadata } from "./EndpointMetadata.js"; @@ -30,6 +31,7 @@ export declare namespace Fetcher { duplex?: "half"; endpointMetadata?: EndpointMetadata; fetchFn?: typeof fetch; + logging?: LogConfig | Logger; } export type Error = FailedStatusCodeError | NonJsonError | TimeoutError | UnknownError; @@ -56,6 +58,141 @@ export declare namespace Fetcher { } } +const SENSITIVE_HEADERS = new Set([ + "authorization", + "x-api-key", + "api-key", + "x-auth-token", + "cookie", + "set-cookie", + "proxy-authorization", + "x-csrf-token", + "x-xsrf-token", +]); + +function redactHeaders(headers: Record): Record { + const filtered: Record = {}; + for (const [key, value] of Object.entries(headers)) { + if (SENSITIVE_HEADERS.has(key.toLowerCase())) { + filtered[key] = "[REDACTED]"; + } else { + filtered[key] = value; + } + } + return filtered; +} + +const SENSITIVE_QUERY_PARAMS = new Set([ + "api_key", + "api-key", + "apikey", + "token", + "access_token", + "access-token", + "auth_token", + "auth-token", + "password", + "passwd", + "secret", + "api_secret", + "api-secret", + "apisecret", + "key", + "session", + "session_id", + "session-id", +]); + +function redactQueryParameters(queryParameters?: Record): Record | undefined { + if (queryParameters == null) { + return queryParameters; + } + const redacted: Record = {}; + for (const [key, value] of Object.entries(queryParameters)) { + if (SENSITIVE_QUERY_PARAMS.has(key.toLowerCase())) { + redacted[key] = "[REDACTED]"; + } else { + redacted[key] = value; + } + } + return redacted; +} + +function redactUrl(url: string): string { + const protocolIndex = url.indexOf("://"); + if (protocolIndex === -1) return url; + + const afterProtocol = protocolIndex + 3; + const atIndex = url.indexOf("@", afterProtocol); + + if (atIndex !== -1) { + const pathStart = url.indexOf("/", afterProtocol); + const queryStart = url.indexOf("?", afterProtocol); + const fragmentStart = url.indexOf("#", afterProtocol); + + const firstDelimiter = Math.min( + pathStart === -1 ? url.length : pathStart, + queryStart === -1 ? url.length : queryStart, + fragmentStart === -1 ? url.length : fragmentStart, + ); + + if (atIndex < firstDelimiter) { + url = `${url.slice(0, afterProtocol)}[REDACTED]@${url.slice(atIndex + 1)}`; + } + } + + const queryStart = url.indexOf("?"); + if (queryStart === -1) return url; + + const fragmentStart = url.indexOf("#", queryStart); + const queryEnd = fragmentStart !== -1 ? fragmentStart : url.length; + const queryString = url.slice(queryStart + 1, queryEnd); + + if (queryString.length === 0) return url; + + // FAST PATH: Quick check if any sensitive keywords present + // Using indexOf is faster than regex for simple substring matching + const lower = queryString.toLowerCase(); + const hasSensitive = + lower.includes("token") || // catches token, access_token, auth_token, etc. + lower.includes("key") || // catches key, api_key, apikey, api-key, etc. + lower.includes("password") || // catches password + lower.includes("passwd") || // catches passwd + lower.includes("secret") || // catches secret, api_secret, etc. + lower.includes("session") || // catches session, session_id, session-id + lower.includes("auth"); // catches auth_token, auth-token, etc. + + if (!hasSensitive) { + return url; // Early exit - no sensitive params + } + + // SLOW PATH: Parse and redact + const redactedParams: string[] = []; + const params = queryString.split("&"); + + for (const param of params) { + const equalIndex = param.indexOf("="); + if (equalIndex === -1) { + redactedParams.push(param); + continue; + } + + const key = param.slice(0, equalIndex); + let shouldRedact = SENSITIVE_QUERY_PARAMS.has(key.toLowerCase()); + + if (!shouldRedact && key.includes("%")) { + try { + const decodedKey = decodeURIComponent(key); + shouldRedact = SENSITIVE_QUERY_PARAMS.has(decodedKey.toLowerCase()); + } catch {} + } + + redactedParams.push(shouldRedact ? `${key}=[REDACTED]` : param); + } + + return url.slice(0, queryStart + 1) + redactedParams.join("&") + url.slice(queryEnd); +} + async function getHeaders(args: Fetcher.Args): Promise> { const newHeaders: Record = {}; if (args.body !== undefined && args.contentType != null) { @@ -87,6 +224,19 @@ export async function fetcherImpl(args: Fetcher.Args): Promise(args: Fetcher.Args): Promise(args: Fetcher.Args): Promise= 200 && response.status < 400) { + if (logger.isDebug()) { + const metadata = { + method: args.method, + url: redactUrl(url), + statusCode: response.status, + }; + logger.debug("HTTP request succeeded", metadata); + } return { ok: true, body: (await getResponseBody(response, args.responseType)) as R, @@ -113,6 +271,14 @@ export async function fetcherImpl(args: Fetcher.Args): Promise(args: Fetcher.Args): Promise(args: Fetcher.Args): Promise(args: Fetcher.Args): Promise(args: Fetcher.Args): Promise = { + [LogLevel.Debug]: 1, + [LogLevel.Info]: 2, + [LogLevel.Warn]: 3, + [LogLevel.Error]: 4, +}; + +export interface ILogger { + /** + * Logs a debug message. + * @param message - The message to log + * @param args - Additional arguments to log + */ + debug(message: string, ...args: unknown[]): void; + /** + * Logs an info message. + * @param message - The message to log + * @param args - Additional arguments to log + */ + info(message: string, ...args: unknown[]): void; + /** + * Logs a warning message. + * @param message - The message to log + * @param args - Additional arguments to log + */ + warn(message: string, ...args: unknown[]): void; + /** + * Logs an error message. + * @param message - The message to log + * @param args - Additional arguments to log + */ + error(message: string, ...args: unknown[]): void; +} + +/** + * Configuration for logger initialization. + */ +export interface LogConfig { + /** + * Minimum log level to output. + * @default LogLevel.Info + */ + level?: LogLevel; + /** + * Logger implementation to use. + * @default new ConsoleLogger() + */ + logger?: ILogger; + /** + * Whether logging should be silenced. + * @default true + */ + silent?: boolean; +} + +/** + * Default console-based logger implementation. + */ +export class ConsoleLogger implements ILogger { + debug(message: string, ...args: unknown[]): void { + console.debug(message, ...args); + } + info(message: string, ...args: unknown[]): void { + console.info(message, ...args); + } + warn(message: string, ...args: unknown[]): void { + console.warn(message, ...args); + } + error(message: string, ...args: unknown[]): void { + console.error(message, ...args); + } +} + +/** + * Logger class that provides level-based logging functionality. + */ +export class Logger { + private readonly level: number; + private readonly logger: ILogger; + private readonly silent: boolean; + + /** + * Creates a new logger instance. + * @param config - Logger configuration + */ + constructor(config: Required) { + this.level = logLevelMap[config.level]; + this.logger = config.logger; + this.silent = config.silent; + } + + /** + * Checks if a log level should be output based on configuration. + * @param level - The log level to check + * @returns True if the level should be logged + */ + public shouldLog(level: LogLevel): boolean { + return !this.silent && this.level >= logLevelMap[level]; + } + + /** + * Checks if debug logging is enabled. + * @returns True if debug logs should be output + */ + public isDebug(): boolean { + return this.shouldLog(LogLevel.Debug); + } + + /** + * Logs a debug message if debug logging is enabled. + * @param message - The message to log + * @param args - Additional arguments to log + */ + public debug(message: string, ...args: unknown[]): void { + if (this.isDebug()) { + this.logger.debug(message, ...args); + } + } + + /** + * Checks if info logging is enabled. + * @returns True if info logs should be output + */ + public isInfo(): boolean { + return this.shouldLog(LogLevel.Info); + } + + /** + * Logs an info message if info logging is enabled. + * @param message - The message to log + * @param args - Additional arguments to log + */ + public info(message: string, ...args: unknown[]): void { + if (this.isInfo()) { + this.logger.info(message, ...args); + } + } + + /** + * Checks if warning logging is enabled. + * @returns True if warning logs should be output + */ + public isWarn(): boolean { + return this.shouldLog(LogLevel.Warn); + } + + /** + * Logs a warning message if warning logging is enabled. + * @param message - The message to log + * @param args - Additional arguments to log + */ + public warn(message: string, ...args: unknown[]): void { + if (this.isWarn()) { + this.logger.warn(message, ...args); + } + } + + /** + * Checks if error logging is enabled. + * @returns True if error logs should be output + */ + public isError(): boolean { + return this.shouldLog(LogLevel.Error); + } + + /** + * Logs an error message if error logging is enabled. + * @param message - The message to log + * @param args - Additional arguments to log + */ + public error(message: string, ...args: unknown[]): void { + if (this.isError()) { + this.logger.error(message, ...args); + } + } +} + +export function createLogger(config?: LogConfig | Logger): Logger { + if (config == null) { + return defaultLogger; + } + if (config instanceof Logger) { + return config; + } + config = config ?? {}; + config.level ??= LogLevel.Info; + config.logger ??= new ConsoleLogger(); + config.silent ??= true; + return new Logger(config as Required); +} + +const defaultLogger: Logger = new Logger({ + level: LogLevel.Info, + logger: new ConsoleLogger(), + silent: true, +}); diff --git a/yarn.lock b/yarn.lock index d6cfacbcda..ec9f93decd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -735,31 +735,31 @@ integrity sha512-S+9ANAvUmjutrshV4jZjaiG8XQyuJIZ8a4utWmN/vW1sgQ9IfBnPndwkmQYw53QmouOIytT874u65HEmu6H5jw== "@shikijs/engine-oniguruma@^3.14.0": - version "3.14.0" - resolved "https://registry.yarnpkg.com/@shikijs/engine-oniguruma/-/engine-oniguruma-3.14.0.tgz#562bcce2f69cc65c92bcf2ccb637b2a7021f3d7b" - integrity sha512-TNcYTYMbJyy+ZjzWtt0bG5y4YyMIWC2nyePz+CFMWqm+HnZZyy9SWMgo8Z6KBJVIZnx8XUXS8U2afO6Y0g1Oug== + version "3.15.0" + resolved "https://registry.yarnpkg.com/@shikijs/engine-oniguruma/-/engine-oniguruma-3.15.0.tgz#bc5fe6484d64b2daacdfbb248f06732fbc78c8e2" + integrity sha512-HnqFsV11skAHvOArMZdLBZZApRSYS4LSztk2K3016Y9VCyZISnlYUYsL2hzlS7tPqKHvNqmI5JSUJZprXloMvA== dependencies: - "@shikijs/types" "3.14.0" + "@shikijs/types" "3.15.0" "@shikijs/vscode-textmate" "^10.0.2" "@shikijs/langs@^3.14.0": - version "3.14.0" - resolved "https://registry.yarnpkg.com/@shikijs/langs/-/langs-3.14.0.tgz#71e6ca44e661b405209eb63d4449b57b9de529d0" - integrity sha512-DIB2EQY7yPX1/ZH7lMcwrK5pl+ZkP/xoSpUzg9YC8R+evRCCiSQ7yyrvEyBsMnfZq4eBzLzBlugMyTAf13+pzg== + version "3.15.0" + resolved "https://registry.yarnpkg.com/@shikijs/langs/-/langs-3.15.0.tgz#d8385a9ca66ce9923149c650336444b1d25fc248" + integrity sha512-WpRvEFvkVvO65uKYW4Rzxs+IG0gToyM8SARQMtGGsH4GDMNZrr60qdggXrFOsdfOVssG/QQGEl3FnJ3EZ+8w8A== dependencies: - "@shikijs/types" "3.14.0" + "@shikijs/types" "3.15.0" "@shikijs/themes@^3.14.0": - version "3.14.0" - resolved "https://registry.yarnpkg.com/@shikijs/themes/-/themes-3.14.0.tgz#2b516c19caf63f78f81f5df9c087800c3b2c7404" - integrity sha512-fAo/OnfWckNmv4uBoUu6dSlkcBc+SA1xzj5oUSaz5z3KqHtEbUypg/9xxgJARtM6+7RVm0Q6Xnty41xA1ma1IA== + version "3.15.0" + resolved "https://registry.yarnpkg.com/@shikijs/themes/-/themes-3.15.0.tgz#6093a90191b89654045c72636ddd35c04273658f" + integrity sha512-8ow2zWb1IDvCKjYb0KiLNrK4offFdkfNVPXb1OZykpLCzRU6j+efkY+Y7VQjNlNFXonSw+4AOdGYtmqykDbRiQ== dependencies: - "@shikijs/types" "3.14.0" + "@shikijs/types" "3.15.0" -"@shikijs/types@3.14.0", "@shikijs/types@^3.14.0": - version "3.14.0" - resolved "https://registry.yarnpkg.com/@shikijs/types/-/types-3.14.0.tgz#4e666f8d31e319494daf23efcc19a32a5fdaa341" - integrity sha512-bQGgC6vrY8U/9ObG1Z/vTro+uclbjjD/uG58RvfxKZVD5p9Yc1ka3tVyEFy7BNJLzxuWyHH5NWynP9zZZS59eQ== +"@shikijs/types@3.15.0", "@shikijs/types@^3.14.0": + version "3.15.0" + resolved "https://registry.yarnpkg.com/@shikijs/types/-/types-3.15.0.tgz#4e025b4dea98e1603243b1f00677854e07e5eda1" + integrity sha512-BnP+y/EQnhihgHy4oIAN+6FFtmfTekwOLsQbRw9hOKwqgNy8Bdsjq8B05oAt/ZgvIWWFrshV71ytOrlPfYjIJw== dependencies: "@shikijs/vscode-textmate" "^10.0.2" "@types/hast" "^3.0.4" @@ -1402,9 +1402,9 @@ balanced-match@^1.0.0: integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== baseline-browser-mapping@^2.8.19: - version "2.8.23" - resolved "https://registry.yarnpkg.com/baseline-browser-mapping/-/baseline-browser-mapping-2.8.23.tgz#cd43e17eff5cbfb67c92153e7fe856cf6d426421" - integrity sha512-616V5YX4bepJFzNyOfce5Fa8fDJMfoxzOIzDCZwaGL8MKVpFrXqfNUoIpRn9YMI5pXf/VKgzjB4htFMsFKKdiQ== + version "2.8.25" + resolved "https://registry.yarnpkg.com/baseline-browser-mapping/-/baseline-browser-mapping-2.8.25.tgz#947dc6f81778e0fa0424a2ab9ea09a3033e71109" + integrity sha512-2NovHVesVF5TXefsGX1yzx1xgr7+m9JQenvz6FQY3qd+YXkKkYiv+vTCc7OriP9mcDZpTC5mAOYN4ocd29+erA== brace-expansion@^1.1.7: version "1.1.12" @@ -1709,9 +1709,9 @@ dunder-proto@^1.0.1: gopd "^1.2.0" electron-to-chromium@^1.5.238: - version "1.5.244" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.244.tgz#b9b61e3d24ef4203489951468614f2a360763820" - integrity sha512-OszpBN7xZX4vWMPJwB9illkN/znA8M36GQqQxi6MNy9axWxhOfJyZZJtSLQCpEFLHP2xK33BiWx9aIuIEXVCcw== + version "1.5.245" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.245.tgz#81aea81adf1e06b6f703b4b35ac6d543421d0fd9" + integrity sha512-rdmGfW47ZhL/oWEJAY4qxRtdly2B98ooTJ0pdEI4jhVLZ6tNf8fPtov2wS1IRKwFJT92le3x4Knxiwzl7cPPpQ== emittery@^0.13.1: version "0.13.1" @@ -3812,9 +3812,9 @@ terser-webpack-plugin@^5.3.11: terser "^5.31.1" terser@^5.31.1: - version "5.44.0" - resolved "https://registry.yarnpkg.com/terser/-/terser-5.44.0.tgz#ebefb8e5b8579d93111bfdfc39d2cf63879f4a82" - integrity sha512-nIVck8DK+GM/0Frwd+nIhZ84pR/BX7rmXMfYwyg+Sri5oGVE99/E3KvXqpC2xHFxyqXyGHTKBSioxxplrO4I4w== + version "5.44.1" + resolved "https://registry.yarnpkg.com/terser/-/terser-5.44.1.tgz#e391e92175c299b8c284ad6ded609e37303b0a9c" + integrity sha512-t/R3R/n0MSwnnazuPpPNVO60LX0SKL45pyl9YlvxIdkH0Of7D5qM2EVe+yASRIlY5pZ73nclYJfNANGWPwFDZw== dependencies: "@jridgewell/source-map" "^0.3.3" acorn "^8.15.0" From 864de46d55a3538044eba9003b743500acfbbec3 Mon Sep 17 00:00:00 2001 From: Kunal Dawar Date: Thu, 6 Nov 2025 12:29:42 +0530 Subject: [PATCH 2/4] fix: remove metadata.json and update .fernignore to include .fern directory --- .fern/metadata.json | 87 --------------------------------------------- .fernignore | 3 +- 2 files changed, 2 insertions(+), 88 deletions(-) delete mode 100644 .fern/metadata.json diff --git a/.fern/metadata.json b/.fern/metadata.json deleted file mode 100644 index aca92fa728..0000000000 --- a/.fern/metadata.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "cliVersion": "0.107.3", - "generatorName": "fernapi/fern-typescript-sdk", - "generatorVersion": "3.28.0", - "generatorConfig": { - "packagePath": "src/management", - "namespaceExport": "Management", - "allowCustomFetcher": true, - "omitFernHeaders": true, - "exportAllRequestsAtRoot": true, - "useDefaultRequestParameterValues": true, - "consolidateTypeFiles": true, - "linter": "none", - "formatter": "prettier", - "packageManager": "yarn", - "testFramework": "jest", - "packageJson": { - "bugs": { - "url": "https://github.com/auth0/node-auth0/issues" - }, - "homepage": "https://github.com/auth0/node-auth0", - "repository": { - "type": "git", - "url": "git+https://github.com/auth0/node-auth0.git" - }, - "keywords": ["auth0", "authentication", "login", "auth", "jwt", "management api", "json web token"], - "files": ["legacy", "package.json"], - "description": "Auth0 Node.js SDK for the Management API v2.", - "engines": { - "node": "^20.19.0 || ^22.12.0 || ^24.0.0" - }, - "lint-staged": { - "*.{js,ts,tsx}": ["eslint --fix", "prettier --write"], - "*.{json,md,yml,yaml}": ["prettier --write"] - }, - "scripts": { - "prepare": "husky", - "lint": "eslint . --ext .js,.ts,.tsx", - "lint:fix": "eslint . --ext .js,.ts,.tsx --fix", - "lint:check": "eslint . --ext .js,.ts,.tsx", - "lint:package": "publint --pack npm", - "test:coverage": "jest --config jest.config.mjs --coverage", - "test:coverage:unit": "jest --selectProjects unit --coverage", - "test:coverage:browser": "jest --selectProjects browser --coverage", - "test:coverage:wire": "jest --selectProjects wire --coverage", - "docs": "typedoc", - "docs:clean": "rm -rf docs", - "docs:build": "yarn docs:clean && yarn docs", - "precommit": "lint-staged", - "validate": "yarn lint:check && yarn format --check && yarn build && yarn test && yarn lint:package" - }, - "dependencies": { - "uuid": "^11.1.0", - "jose": "^4.13.2", - "auth0-legacy": "npm:auth0@^4.27.0" - }, - "devDependencies": { - "typedoc": "^0.28.7", - "typedoc-plugin-missing-exports": "^4.0.0", - "nock": "^14.0.6", - "undici": "^7.12.0", - "@eslint/js": "^9.32.0", - "@typescript-eslint/eslint-plugin": "^8.38.0", - "@typescript-eslint/parser": "^8.38.0", - "eslint": "^9.32.0", - "eslint-config-prettier": "^10.1.8", - "eslint-plugin-prettier": "^5.5.3", - "husky": "^9.1.7", - "lint-staged": "^16.1.4", - "publint": "^0.3.12" - }, - "exports": { - "./legacy": { - "types": "./legacy/exports/index.d.ts", - "import": { - "types": "./legacy/exports/index.d.mts", - "default": "./legacy/exports/index.mjs" - }, - "require": { - "types": "./legacy/exports/index.d.ts", - "default": "./legacy/exports/index.js" - } - } - } - } - } -} diff --git a/.fernignore b/.fernignore index dfcc2caa4d..54eb941da2 100644 --- a/.fernignore +++ b/.fernignore @@ -47,4 +47,5 @@ eslint.config.mjs .husky/ .prettierignore -CONTRIBUTING.md \ No newline at end of file +CONTRIBUTING.md +.fern/ \ No newline at end of file From 2b5baf24f8c2661f620bafb7276d0644d85744be Mon Sep 17 00:00:00 2001 From: Kunal Dawar Date: Thu, 6 Nov 2025 14:34:00 +0530 Subject: [PATCH 3/4] feat: Export logging namespace and add documentation - Export logging namespace from src/management/index.ts - Add comprehensive logging documentation to README.md - Include examples for debug logging, custom loggers, and ConsoleLogger - Document log levels and security features (automatic redaction) --- README.md | 94 +++++++++++++++++++++++++++++++++++++++++ src/management/index.ts | 1 + 2 files changed, 95 insertions(+) diff --git a/README.md b/README.md index 166f844880..b2c80b2843 100644 --- a/README.md +++ b/README.md @@ -469,6 +469,100 @@ const response = await client.actions.create( controller.abort(); // aborts the request ``` +### Logging + +The SDK provides built-in logging support to help with debugging and monitoring API requests. Logging is disabled by default to avoid noise in production environments. + +#### Enable Debug Logging + +```typescript +import { ManagementClient, logging } from "auth0"; + +const management = new ManagementClient({ + domain: "{YOUR_TENANT_AND REGION}.auth0.com", + clientId: "{YOUR_CLIENT_ID}", + clientSecret: "{YOUR_CLIENT_SECRET}", + logging: { + level: logging.LogLevel.Debug, + silent: false, // Enable logging output + }, +}); + +// All API calls will now log request/response details +const users = await management.users.list(); +``` + +#### Log Levels + +The SDK supports four log levels: + +- `logging.LogLevel.Debug` - Detailed debugging information +- `logging.LogLevel.Info` - General informational messages +- `logging.LogLevel.Warn` - Warning messages +- `logging.LogLevel.Error` - Error messages only + +#### Custom Logger + +You can provide your own logger implementation to integrate with your existing logging infrastructure: + +```typescript +import { ManagementClient, logging } from "auth0"; + +class CustomLogger implements logging.ILogger { + debug(message: string, ...args: unknown[]) { + // Send to your logging service + console.debug(`[AUTH0]`, message, ...args); + } + info(message: string, ...args: unknown[]) { + console.info(`[AUTH0]`, message, ...args); + } + warn(message: string, ...args: unknown[]) { + console.warn(`[AUTH0]`, message, ...args); + } + error(message: string, ...args: unknown[]) { + console.error(`[AUTH0]`, message, ...args); + } +} + +const management = new ManagementClient({ + domain: "{YOUR_TENANT_AND REGION}.auth0.com", + clientId: "{YOUR_CLIENT_ID}", + clientSecret: "{YOUR_CLIENT_SECRET}", + logging: { + level: logging.LogLevel.Info, + logger: new CustomLogger(), + silent: false, + }, +}); +``` + +#### Using the Built-in ConsoleLogger + +```typescript +import { ManagementClient, logging } from "auth0"; + +const management = new ManagementClient({ + domain: "{YOUR_TENANT_AND REGION}.auth0.com", + clientId: "{YOUR_CLIENT_ID}", + clientSecret: "{YOUR_CLIENT_SECRET}", + logging: { + level: logging.LogLevel.Warn, + logger: new logging.ConsoleLogger(), + silent: false, + }, +}); +``` + +#### Security Note + +The SDK automatically redacts sensitive information from logs, including: + +- Authorization headers and tokens +- API keys and secrets +- Passwords and credentials in URLs +- Session identifiers +- Authentication tokens in query parameters + ### Access Raw Response Data The SDK provides access to raw response data, including headers, through the `.withRawResponse()` method. diff --git a/src/management/index.ts b/src/management/index.ts index 6ee26ded35..92695d1d58 100644 --- a/src/management/index.ts +++ b/src/management/index.ts @@ -3,3 +3,4 @@ export { ManagementError, ManagementTimeoutError } from "./errors/index.js"; export { ManagementClient } from "./wrapper/ManagementClient.js"; export { ManagementEnvironment } from "./environments.js"; export { CustomDomainHeader, withTimeout, withRetries, withHeaders, withAbortSignal } from "./request-options.js"; +export * from "./core/logging/exports.js"; From 1024238d2b5cd22c77d3997f80d623a28bdabe87 Mon Sep 17 00:00:00 2001 From: Kunal Dawar Date: Thu, 6 Nov 2025 14:41:48 +0530 Subject: [PATCH 4/4] fix: Update exports to use the correct logging module path --- src/management/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/management/index.ts b/src/management/index.ts index 92695d1d58..69c868a67f 100644 --- a/src/management/index.ts +++ b/src/management/index.ts @@ -3,4 +3,4 @@ export { ManagementError, ManagementTimeoutError } from "./errors/index.js"; export { ManagementClient } from "./wrapper/ManagementClient.js"; export { ManagementEnvironment } from "./environments.js"; export { CustomDomainHeader, withTimeout, withRetries, withHeaders, withAbortSignal } from "./request-options.js"; -export * from "./core/logging/exports.js"; +export * from "./exports.js";