From 966c3f9f00341087aac937221796726ebd502a52 Mon Sep 17 00:00:00 2001
From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com>
Date: Tue, 23 Jun 2026 04:56:22 +0000
Subject: [PATCH] SDK regeneration
---
reference.md | 130 +++++++-
src/management/api/requests/requests.ts | 19 +-
.../attackProtection/client/Client.ts | 6 +
.../attackProtection/resources/index.ts | 1 +
.../phoneProviderProtection/client/Client.ts | 185 +++++++++++
.../phoneProviderProtection/client/index.ts | 1 +
.../phoneProviderProtection/index.ts | 1 +
.../api/resources/clients/client/Client.ts | 3 +
.../resources/emailTemplates/client/Client.ts | 8 +-
.../keys/resources/signing/client/Client.ts | 3 +
.../connectedAccounts/client/Client.ts | 3 +
src/management/api/types/types.ts | 197 ++++++++++--
.../phoneProviderProtection.test.ts | 188 +++++++++++
src/management/tests/wire/clients.test.ts | 37 ++-
.../tests/wire/clients/connections.test.ts | 1 +
src/management/tests/wire/connections.test.ts | 4 +
.../tests/wire/keys/signing.test.ts | 13 +
src/management/tests/wire/users.test.ts | 50 +--
.../wire/users/connectedAccounts.test.ts | 19 ++
yarn.lock | 297 +++++++++---------
20 files changed, 948 insertions(+), 218 deletions(-)
create mode 100644 src/management/api/resources/attackProtection/resources/phoneProviderProtection/client/Client.ts
create mode 100644 src/management/api/resources/attackProtection/resources/phoneProviderProtection/client/index.ts
create mode 100644 src/management/api/resources/attackProtection/resources/phoneProviderProtection/index.ts
create mode 100644 src/management/tests/wire/attackProtection/phoneProviderProtection.test.ts
diff --git a/reference.md b/reference.md
index 5ec6fe1390..97fe9f5a45 100644
--- a/reference.md
+++ b/reference.md
@@ -3477,7 +3477,7 @@ await client.emailTemplates.create({
-
-Retrieve an email template by pre-defined name. These names are `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, and `async_approval`. The names `change_password`, and `password_reset` are also supported for legacy scenarios.
+Retrieve an email template by pre-defined name. These names are `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, and `async_approval`. The names `change_password`, and `password_reset` are also supported for legacy scenarios.
@@ -3509,7 +3509,7 @@ await client.emailTemplates.get("verify_email");
-
-**templateName:** `Management.EmailTemplateNameEnum` — Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
+**templateName:** `Management.EmailTemplateNameEnum` — Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
@@ -3574,7 +3574,7 @@ await client.emailTemplates.set("verify_email", {
-
-**templateName:** `Management.EmailTemplateNameEnum` — Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
+**templateName:** `Management.EmailTemplateNameEnum` — Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
@@ -3645,7 +3645,7 @@ await client.emailTemplates.update("verify_email");
-
-**templateName:** `Management.EmailTemplateNameEnum` — Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
+**templateName:** `Management.EmailTemplateNameEnum` — Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
@@ -14061,6 +14061,128 @@ await client.attackProtection.captcha.update();
+## AttackProtection PhoneProviderProtection
+
+client.attackProtection.phoneProviderProtection.get() -> Management.GetPhoneProviderProtectionResponseContent
+
+-
+
+#### 📝 Description
+
+
+-
+
+
+-
+
+Get the phone provider protection configuration for a tenant.
+
+
+
+
+
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```typescript
+await client.attackProtection.phoneProviderProtection.get();
+```
+
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**requestOptions:** `PhoneProviderProtectionClient.RequestOptions`
+
+
+
+
+
+
+
+
+
+
+client.attackProtection.phoneProviderProtection.patch({ ...params }) -> Management.PatchPhoneProviderProtectionResponseContent
+
+-
+
+#### 📝 Description
+
+
+-
+
+
+-
+
+Update the phone provider protection configuration for a tenant.
+
+
+
+
+
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```typescript
+await client.attackProtection.phoneProviderProtection.patch({
+ type: "exponential",
+});
+```
+
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `Management.PatchPhoneProviderProtectionRequestContent`
+
+
+
+
+
+-
+
+**requestOptions:** `PhoneProviderProtectionClient.RequestOptions`
+
+
+
+
+
+
+
+
+
+
## AttackProtection SuspiciousIpThrottling
client.attackProtection.suspiciousIpThrottling.get() -> Management.GetSuspiciousIpThrottlingSettingsResponseContent
diff --git a/src/management/api/requests/requests.ts b/src/management/api/requests/requests.ts
index 1152cb9b06..6fd101f045 100644
--- a/src/management/api/requests/requests.ts
+++ b/src/management/api/requests/requests.ts
@@ -298,6 +298,7 @@ export interface CreateClientRequestContent {
/** Makes the use of Proof-of-Possession mandatory for this client */
require_proof_of_possession?: boolean;
signed_request_object?: Management.ClientSignedRequestObjectWithPublicKey;
+ token_vault_privileged_access?: Management.ClientTokenVaultPrivilegedAccessWithPublicKey;
compliance_level?: Management.ClientComplianceLevelEnum | null;
/**
* Controls whether a confirmation prompt is shown during login flows when the redirect URI uses non-verifiable callback URIs (for example, a custom URI schema such as `myapp://`, or `localhost`).
@@ -419,8 +420,8 @@ export interface UpdateClientRequestContent {
mobile?: Management.ClientMobile;
/** Initiate login uri, must be https */
initiate_login_uri?: string;
- native_social_login?: Management.NativeSocialLogin;
- fedcm_login?: Management.FedCmLogin;
+ native_social_login?: Management.NativeSocialLoginPatch | null;
+ fedcm_login?: Management.FedCmLoginPatch | null;
refresh_token?: Management.ClientRefreshTokenConfiguration | null;
default_organization?: Management.ClientDefaultOrganization | null;
organization_usage?: Management.ClientOrganizationUsagePatchEnum | null;
@@ -433,6 +434,7 @@ export interface UpdateClientRequestContent {
/** Makes the use of Proof-of-Possession mandatory for this client */
require_proof_of_possession?: boolean;
signed_request_object?: Management.ClientSignedRequestObjectWithCredentialId;
+ token_vault_privileged_access?: Management.ClientTokenVaultPrivilegedAccessWithCredentialId;
compliance_level?: Management.ClientComplianceLevelEnum | null;
/**
* Controls whether a confirmation prompt is shown during login flows when the redirect URI uses non-verifiable callback URIs (for example, a custom URI schema such as `myapp://`, or `localhost`).
@@ -545,6 +547,7 @@ export interface CreateConnectionRequestContent {
metadata?: Management.ConnectionsMetadata;
authentication?: Management.ConnectionAuthenticationPurpose;
connected_accounts?: Management.ConnectionConnectedAccountsPurpose;
+ cross_app_access_requesting_app?: Management.CrossAppAccessRequestingApp;
}
/**
@@ -580,6 +583,7 @@ export interface UpdateConnectionRequestContent {
metadata?: Management.ConnectionsMetadata;
authentication?: Management.ConnectionAuthenticationPurpose;
connected_accounts?: Management.ConnectionConnectedAccountsPurpose;
+ cross_app_access_requesting_app?: Management.CrossAppAccessRequestingApp;
}
/**
@@ -2236,6 +2240,16 @@ export interface UpdateAttackProtectionCaptchaRequestContent {
simple_captcha?: Management.AttackProtectionCaptchaSimpleCaptchaResponseContent;
}
+/**
+ * @example
+ * {
+ * type: "exponential"
+ * }
+ */
+export interface PatchPhoneProviderProtectionRequestContent {
+ type: Management.PhoneProviderProtectionBackoffStrategyEnum;
+}
+
/**
* @example
* {}
@@ -4079,6 +4093,7 @@ export interface LinkUserIdentityRequestContent {
provider?: Management.UserIdentityProviderEnum;
/** connection_id of the secondary user account being linked when more than one `auth0` database provider exists. */
connection_id?: string;
+ /** user_id of the secondary user account being linked. */
user_id?: Management.UserId;
/** JWT for the secondary account being linked. If sending this parameter, `provider`, `user_id`, and `connection_id` must not be sent. */
link_with?: string;
diff --git a/src/management/api/resources/attackProtection/client/Client.ts b/src/management/api/resources/attackProtection/client/Client.ts
index 9295fe76c7..7458d7f1b9 100644
--- a/src/management/api/resources/attackProtection/client/Client.ts
+++ b/src/management/api/resources/attackProtection/client/Client.ts
@@ -8,6 +8,7 @@ import { BotDetectionClient } from "../resources/botDetection/client/Client.js";
import { BreachedPasswordDetectionClient } from "../resources/breachedPasswordDetection/client/Client.js";
import { BruteForceProtectionClient } from "../resources/bruteForceProtection/client/Client.js";
import { CaptchaClient } from "../resources/captcha/client/Client.js";
+import { PhoneProviderProtectionClient } from "../resources/phoneProviderProtection/client/Client.js";
import { SuspiciousIpThrottlingClient } from "../resources/suspiciousIpThrottling/client/Client.js";
export declare namespace AttackProtectionClient {
@@ -20,6 +21,7 @@ export class AttackProtectionClient {
protected _breachedPasswordDetection: BreachedPasswordDetectionClient | undefined;
protected _bruteForceProtection: BruteForceProtectionClient | undefined;
protected _captcha: CaptchaClient | undefined;
+ protected _phoneProviderProtection: PhoneProviderProtectionClient | undefined;
protected _suspiciousIpThrottling: SuspiciousIpThrottlingClient | undefined;
constructor(options: AttackProtectionClient.Options) {
@@ -42,6 +44,10 @@ export class AttackProtectionClient {
return (this._captcha ??= new CaptchaClient(this._options));
}
+ public get phoneProviderProtection(): PhoneProviderProtectionClient {
+ return (this._phoneProviderProtection ??= new PhoneProviderProtectionClient(this._options));
+ }
+
public get suspiciousIpThrottling(): SuspiciousIpThrottlingClient {
return (this._suspiciousIpThrottling ??= new SuspiciousIpThrottlingClient(this._options));
}
diff --git a/src/management/api/resources/attackProtection/resources/index.ts b/src/management/api/resources/attackProtection/resources/index.ts
index 22cff326c9..0e56ff80f4 100644
--- a/src/management/api/resources/attackProtection/resources/index.ts
+++ b/src/management/api/resources/attackProtection/resources/index.ts
@@ -2,4 +2,5 @@ export * as botDetection from "./botDetection/index.js";
export * as breachedPasswordDetection from "./breachedPasswordDetection/index.js";
export * as bruteForceProtection from "./bruteForceProtection/index.js";
export * as captcha from "./captcha/index.js";
+export * as phoneProviderProtection from "./phoneProviderProtection/index.js";
export * as suspiciousIpThrottling from "./suspiciousIpThrottling/index.js";
diff --git a/src/management/api/resources/attackProtection/resources/phoneProviderProtection/client/Client.ts b/src/management/api/resources/attackProtection/resources/phoneProviderProtection/client/Client.ts
new file mode 100644
index 0000000000..be6dd8541f
--- /dev/null
+++ b/src/management/api/resources/attackProtection/resources/phoneProviderProtection/client/Client.ts
@@ -0,0 +1,185 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient.js";
+import { normalizeClientOptionsWithAuth, type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.js";
+import * as core from "../../../../../../core/index.js";
+import { mergeHeaders } from "../../../../../../core/headers.js";
+import * as environments from "../../../../../../environments.js";
+import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError.js";
+import * as errors from "../../../../../../errors/index.js";
+import * as Management from "../../../../../index.js";
+
+export declare namespace PhoneProviderProtectionClient {
+ export type Options = BaseClientOptions;
+
+ export interface RequestOptions extends BaseRequestOptions {}
+}
+
+export class PhoneProviderProtectionClient {
+ protected readonly _options: NormalizedClientOptionsWithAuth;
+
+ constructor(options: PhoneProviderProtectionClient.Options) {
+ this._options = normalizeClientOptionsWithAuth(options);
+ }
+
+ /**
+ * Get the phone provider protection configuration for a tenant.
+ *
+ * @param {PhoneProviderProtectionClient.RequestOptions} requestOptions - Request-specific configuration.
+ *
+ * @throws {@link Management.UnauthorizedError}
+ * @throws {@link Management.ForbiddenError}
+ * @throws {@link Management.NotFoundError}
+ * @throws {@link Management.TooManyRequestsError}
+ *
+ * @example
+ * await client.attackProtection.phoneProviderProtection.get()
+ */
+ public get(
+ requestOptions?: PhoneProviderProtectionClient.RequestOptions,
+ ): core.HttpResponsePromise {
+ return core.HttpResponsePromise.fromPromise(this.__get(requestOptions));
+ }
+
+ private async __get(
+ requestOptions?: PhoneProviderProtectionClient.RequestOptions,
+ ): Promise> {
+ const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest();
+ let _headers: core.Fetcher.Args["headers"] = mergeHeaders(
+ _authRequest.headers,
+ this._options?.headers,
+ requestOptions?.headers,
+ );
+ const _response = await (this._options.fetcher ?? core.fetcher)({
+ url: core.url.join(
+ (await core.Supplier.get(this._options.baseUrl)) ??
+ (await core.Supplier.get(this._options.environment)) ??
+ environments.ManagementEnvironment.Default,
+ "attack-protection/phone-provider-protection",
+ ),
+ method: "GET",
+ headers: _headers,
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
+ 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.GetPhoneProviderProtectionResponseContent,
+ rawResponse: _response.rawResponse,
+ };
+ }
+
+ if (_response.error.reason === "status-code") {
+ switch (_response.error.statusCode) {
+ case 401:
+ throw new Management.UnauthorizedError(_response.error.body as unknown, _response.rawResponse);
+ case 403:
+ throw new Management.ForbiddenError(_response.error.body as unknown, _response.rawResponse);
+ case 404:
+ throw new Management.NotFoundError(_response.error.body as unknown, _response.rawResponse);
+ case 429:
+ throw new Management.TooManyRequestsError(_response.error.body as unknown, _response.rawResponse);
+ default:
+ throw new errors.ManagementError({
+ statusCode: _response.error.statusCode,
+ body: _response.error.body,
+ rawResponse: _response.rawResponse,
+ });
+ }
+ }
+
+ return handleNonStatusCodeError(
+ _response.error,
+ _response.rawResponse,
+ "GET",
+ "/attack-protection/phone-provider-protection",
+ );
+ }
+
+ /**
+ * Update the phone provider protection configuration for a tenant.
+ *
+ * @param {Management.PatchPhoneProviderProtectionRequestContent} request
+ * @param {PhoneProviderProtectionClient.RequestOptions} requestOptions - Request-specific configuration.
+ *
+ * @throws {@link Management.UnauthorizedError}
+ * @throws {@link Management.ForbiddenError}
+ * @throws {@link Management.TooManyRequestsError}
+ *
+ * @example
+ * await client.attackProtection.phoneProviderProtection.patch({
+ * type: "exponential"
+ * })
+ */
+ public patch(
+ request: Management.PatchPhoneProviderProtectionRequestContent,
+ requestOptions?: PhoneProviderProtectionClient.RequestOptions,
+ ): core.HttpResponsePromise {
+ return core.HttpResponsePromise.fromPromise(this.__patch(request, requestOptions));
+ }
+
+ private async __patch(
+ request: Management.PatchPhoneProviderProtectionRequestContent,
+ requestOptions?: PhoneProviderProtectionClient.RequestOptions,
+ ): Promise> {
+ const _authRequest: core.AuthRequest = await this._options.authProvider.getAuthRequest();
+ let _headers: core.Fetcher.Args["headers"] = mergeHeaders(
+ _authRequest.headers,
+ this._options?.headers,
+ requestOptions?.headers,
+ );
+ const _response = await (this._options.fetcher ?? core.fetcher)({
+ url: core.url.join(
+ (await core.Supplier.get(this._options.baseUrl)) ??
+ (await core.Supplier.get(this._options.environment)) ??
+ environments.ManagementEnvironment.Default,
+ "attack-protection/phone-provider-protection",
+ ),
+ method: "PATCH",
+ headers: _headers,
+ contentType: "application/json",
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
+ requestType: "json",
+ body: request,
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
+ 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.PatchPhoneProviderProtectionResponseContent,
+ rawResponse: _response.rawResponse,
+ };
+ }
+
+ if (_response.error.reason === "status-code") {
+ switch (_response.error.statusCode) {
+ case 401:
+ throw new Management.UnauthorizedError(_response.error.body as unknown, _response.rawResponse);
+ case 403:
+ throw new Management.ForbiddenError(_response.error.body as unknown, _response.rawResponse);
+ case 429:
+ throw new Management.TooManyRequestsError(_response.error.body as unknown, _response.rawResponse);
+ default:
+ throw new errors.ManagementError({
+ statusCode: _response.error.statusCode,
+ body: _response.error.body,
+ rawResponse: _response.rawResponse,
+ });
+ }
+ }
+
+ return handleNonStatusCodeError(
+ _response.error,
+ _response.rawResponse,
+ "PATCH",
+ "/attack-protection/phone-provider-protection",
+ );
+ }
+}
diff --git a/src/management/api/resources/attackProtection/resources/phoneProviderProtection/client/index.ts b/src/management/api/resources/attackProtection/resources/phoneProviderProtection/client/index.ts
new file mode 100644
index 0000000000..cb0ff5c3b5
--- /dev/null
+++ b/src/management/api/resources/attackProtection/resources/phoneProviderProtection/client/index.ts
@@ -0,0 +1 @@
+export {};
diff --git a/src/management/api/resources/attackProtection/resources/phoneProviderProtection/index.ts b/src/management/api/resources/attackProtection/resources/phoneProviderProtection/index.ts
new file mode 100644
index 0000000000..914b8c3c72
--- /dev/null
+++ b/src/management/api/resources/attackProtection/resources/phoneProviderProtection/index.ts
@@ -0,0 +1 @@
+export * from "./client/index.js";
diff --git a/src/management/api/resources/clients/client/Client.ts b/src/management/api/resources/clients/client/Client.ts
index 05f24f8565..a8e3578679 100644
--- a/src/management/api/resources/clients/client/Client.ts
+++ b/src/management/api/resources/clients/client/Client.ts
@@ -213,6 +213,7 @@ export class ClientsClient {
* @throws {@link Management.BadRequestError}
* @throws {@link Management.UnauthorizedError}
* @throws {@link Management.ForbiddenError}
+ * @throws {@link Management.NotFoundError}
* @throws {@link Management.ConflictError}
* @throws {@link Management.TooManyRequestsError}
*
@@ -272,6 +273,8 @@ export class ClientsClient {
throw new Management.UnauthorizedError(_response.error.body as unknown, _response.rawResponse);
case 403:
throw new Management.ForbiddenError(_response.error.body as unknown, _response.rawResponse);
+ case 404:
+ throw new Management.NotFoundError(_response.error.body as unknown, _response.rawResponse);
case 409:
throw new Management.ConflictError(_response.error.body as unknown, _response.rawResponse);
case 429:
diff --git a/src/management/api/resources/emailTemplates/client/Client.ts b/src/management/api/resources/emailTemplates/client/Client.ts
index 46e9e098d6..d2c3df0aec 100644
--- a/src/management/api/resources/emailTemplates/client/Client.ts
+++ b/src/management/api/resources/emailTemplates/client/Client.ts
@@ -107,9 +107,9 @@ export class EmailTemplatesClient {
}
/**
- * Retrieve an email template by pre-defined name. These names are `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, and `async_approval`. The names `change_password`, and `password_reset` are also supported for legacy scenarios.
+ * Retrieve an email template by pre-defined name. These names are `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, and `async_approval`. The names `change_password`, and `password_reset` are also supported for legacy scenarios.
*
- * @param {Management.EmailTemplateNameEnum} templateName - Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
+ * @param {Management.EmailTemplateNameEnum} templateName - Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
* @param {EmailTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
*
* @throws {@link Management.BadRequestError}
@@ -190,7 +190,7 @@ export class EmailTemplatesClient {
/**
* Update an email template.
*
- * @param {Management.EmailTemplateNameEnum} templateName - Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
+ * @param {Management.EmailTemplateNameEnum} templateName - Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
* @param {Management.SetEmailTemplateRequestContent} request
* @param {EmailTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
*
@@ -282,7 +282,7 @@ export class EmailTemplatesClient {
/**
* Modify an email template.
*
- * @param {Management.EmailTemplateNameEnum} templateName - Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
+ * @param {Management.EmailTemplateNameEnum} templateName - Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy).
* @param {Management.UpdateEmailTemplateRequestContent} request
* @param {EmailTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
*
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 67b4245170..6b55abee95 100644
--- a/src/management/api/resources/keys/resources/signing/client/Client.ts
+++ b/src/management/api/resources/keys/resources/signing/client/Client.ts
@@ -169,6 +169,7 @@ export class SigningClient {
* @throws {@link Management.BadRequestError}
* @throws {@link Management.UnauthorizedError}
* @throws {@link Management.ForbiddenError}
+ * @throws {@link Management.NotFoundError}
* @throws {@link Management.TooManyRequestsError}
*
* @example
@@ -222,6 +223,8 @@ export class SigningClient {
throw new Management.UnauthorizedError(_response.error.body as unknown, _response.rawResponse);
case 403:
throw new Management.ForbiddenError(_response.error.body as unknown, _response.rawResponse);
+ case 404:
+ throw new Management.NotFoundError(_response.error.body as unknown, _response.rawResponse);
case 429:
throw new Management.TooManyRequestsError(_response.error.body as unknown, _response.rawResponse);
default:
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 213c4c8f7d..02f7944d8d 100644
--- a/src/management/api/resources/users/resources/connectedAccounts/client/Client.ts
+++ b/src/management/api/resources/users/resources/connectedAccounts/client/Client.ts
@@ -32,6 +32,7 @@ export class ConnectedAccountsClient {
* @throws {@link Management.BadRequestError}
* @throws {@link Management.UnauthorizedError}
* @throws {@link Management.ForbiddenError}
+ * @throws {@link Management.NotFoundError}
* @throws {@link Management.TooManyRequestsError}
*
* @example
@@ -100,6 +101,8 @@ export class ConnectedAccountsClient {
);
case 403:
throw new Management.ForbiddenError(_response.error.body as unknown, _response.rawResponse);
+ case 404:
+ throw new Management.NotFoundError(_response.error.body as unknown, _response.rawResponse);
case 429:
throw new Management.TooManyRequestsError(
_response.error.body as unknown,
diff --git a/src/management/api/types/types.ts b/src/management/api/types/types.ts
index a91d8619f1..8eef937ed3 100644
--- a/src/management/api/types/types.ts
+++ b/src/management/api/types/types.ts
@@ -2074,6 +2074,8 @@ export interface Client {
mobile?: Management.ClientMobile | undefined;
/** Initiate login uri, must be https */
initiate_login_uri?: string | undefined;
+ native_social_login?: Management.NativeSocialLogin | undefined;
+ fedcm_login?: Management.FedCmLogin | undefined;
refresh_token?: (Management.ClientRefreshTokenConfiguration | null) | undefined;
default_organization?: (Management.ClientDefaultOrganization | null) | undefined;
organization_usage?: Management.ClientOrganizationUsageEnum | undefined;
@@ -2086,6 +2088,7 @@ export interface Client {
/** Makes the use of Proof-of-Possession mandatory for this client */
require_proof_of_possession?: boolean | undefined;
signed_request_object?: Management.ClientSignedRequestObjectWithCredentialId | undefined;
+ token_vault_privileged_access?: Management.ClientTokenVaultPrivilegedAccessWithCredentialId | undefined;
compliance_level?: (Management.ClientComplianceLevelEnum | null) | undefined;
/**
* Controls whether a confirmation prompt is shown during login flows when the redirect URI uses non-verifiable callback URIs (for example, a custom URI schema such as `myapp://`, or `localhost`).
@@ -3191,6 +3194,22 @@ export const ClientTokenExchangeTypeEnum = {
export type ClientTokenExchangeTypeEnum =
(typeof ClientTokenExchangeTypeEnum)[keyof typeof ClientTokenExchangeTypeEnum];
+/**
+ * Settings for Token Vault Privileged Access.
+ */
+export interface ClientTokenVaultPrivilegedAccessWithCredentialId {
+ credentials: Management.CredentialId[];
+ ip_allowlist?: Management.TokenVaultPrivilegedAccessIpAllowlistEntry[] | undefined;
+}
+
+/**
+ * Settings for Token Vault Privileged Access.
+ */
+export interface ClientTokenVaultPrivilegedAccessWithPublicKey {
+ credentials: Management.PublicKeyCredential[];
+ ip_allowlist?: Management.TokenVaultPrivilegedAccessIpAllowlistEntry[] | undefined;
+}
+
export interface ConnectedAccount {
/** The unique identifier for the connected account. */
id: string;
@@ -3942,6 +3961,7 @@ export interface ConnectionForList {
metadata?: Management.ConnectionsMetadata | undefined;
authentication?: Management.ConnectionAuthenticationPurpose | undefined;
connected_accounts?: Management.ConnectionConnectedAccountsPurpose | undefined;
+ cross_app_access_requesting_app?: Management.CrossAppAccessRequestingApp | undefined;
}
/**
@@ -6701,6 +6721,7 @@ export interface ConnectionResponseContentOidc extends Management.ConnectionResp
strategy: ConnectionResponseContentOidc.Strategy;
authentication?: Management.ConnectionAuthenticationPurpose | undefined;
connected_accounts?: Management.ConnectionConnectedAccountsPurposeXaa | undefined;
+ cross_app_access_requesting_app?: Management.CrossAppAccessRequestingApp | undefined;
options?: Management.ConnectionOptionsOidc | undefined;
show_as_button?: Management.ConnectionShowAsButton | undefined;
}
@@ -6736,6 +6757,7 @@ export namespace ConnectionResponseContentOffice365 {
export interface ConnectionResponseContentOkta
extends Management.ConnectionPurposes, Management.ConnectionResponseCommon {
strategy: ConnectionResponseContentOkta.Strategy;
+ cross_app_access_requesting_app?: Management.CrossAppAccessRequestingApp | undefined;
options?: Management.ConnectionOptionsOkta | undefined;
show_as_button?: Management.ConnectionShowAsButton | undefined;
}
@@ -7905,6 +7927,8 @@ export interface CreateClientResponseContent {
mobile?: Management.ClientMobile | undefined;
/** Initiate login uri, must be https */
initiate_login_uri?: string | undefined;
+ native_social_login?: Management.NativeSocialLogin | undefined;
+ fedcm_login?: Management.FedCmLogin | undefined;
refresh_token?: (Management.ClientRefreshTokenConfiguration | null) | undefined;
default_organization?: (Management.ClientDefaultOrganization | null) | undefined;
organization_usage?: Management.ClientOrganizationUsageEnum | undefined;
@@ -7917,6 +7941,7 @@ export interface CreateClientResponseContent {
/** Makes the use of Proof-of-Possession mandatory for this client */
require_proof_of_possession?: boolean | undefined;
signed_request_object?: Management.ClientSignedRequestObjectWithCredentialId | undefined;
+ token_vault_privileged_access?: Management.ClientTokenVaultPrivilegedAccessWithCredentialId | undefined;
compliance_level?: (Management.ClientComplianceLevelEnum | null) | undefined;
/**
* Controls whether a confirmation prompt is shown during login flows when the redirect URI uses non-verifiable callback URIs (for example, a custom URI schema such as `myapp://`, or `localhost`).
@@ -8432,6 +8457,7 @@ export interface CreateConnectionRequestContentOidc extends Management.CreateCon
strategy: CreateConnectionRequestContentOidc.Strategy;
authentication?: Management.ConnectionAuthenticationPurpose | undefined;
connected_accounts?: Management.ConnectionConnectedAccountsPurposeXaa | undefined;
+ cross_app_access_requesting_app?: Management.CrossAppAccessRequestingApp | undefined;
options?: Management.ConnectionOptionsOidc | undefined;
show_as_button?: Management.ConnectionShowAsButton | undefined;
}
@@ -8464,6 +8490,7 @@ export namespace CreateConnectionRequestContentOffice365 {
*/
export interface CreateConnectionRequestContentOkta extends Management.CreateConnectionCommon {
strategy: CreateConnectionRequestContentOkta.Strategy;
+ cross_app_access_requesting_app?: Management.CrossAppAccessRequestingApp | undefined;
options?: Management.ConnectionOptionsOkta | undefined;
show_as_button?: Management.ConnectionShowAsButton | undefined;
}
@@ -8830,6 +8857,7 @@ export interface CreateConnectionResponseContent {
metadata?: Management.ConnectionsMetadata | undefined;
authentication?: Management.ConnectionAuthenticationPurpose | undefined;
connected_accounts?: Management.ConnectionConnectedAccountsPurpose | undefined;
+ cross_app_access_requesting_app?: Management.CrossAppAccessRequestingApp | undefined;
}
export interface CreateCustomDomainResponseContent {
@@ -10038,8 +10066,10 @@ export interface CreateUserResponseContent {
phone_number?: string | undefined;
/** Whether this phone number has been verified (true) or not (false). */
phone_verified?: boolean | undefined;
- created_at?: Management.UserDateSchema | undefined;
- updated_at?: Management.UserDateSchema | undefined;
+ /** Date and time when this user was created. */
+ created_at?: string | undefined;
+ /** Date and time when this user was last updated/modified. */
+ updated_at?: string | undefined;
/** Array of user identity objects when accounts are linked. */
identities?: Management.UserIdentitySchema[] | undefined;
app_metadata?: Management.UserAppMetadataSchema | undefined;
@@ -10052,11 +10082,14 @@ export interface CreateUserResponseContent {
nickname?: string | undefined;
/** List of multi-factor authentication providers with which this user has enrolled. */
multifactor?: string[] | undefined;
- multifactor_last_modified?: Management.UserDateSchema | undefined;
+ /** Last date and time this user's multi-factor authentication providers were updated. */
+ multifactor_last_modified?: string | undefined;
/** Last IP address from which this user logged in. */
last_ip?: string | undefined;
- last_login?: Management.UserDateSchema | undefined;
- last_password_reset?: Management.UserDateSchema | undefined;
+ /** Last date and time this user logged in. */
+ last_login?: string | undefined;
+ /** Last date and time this user had their password reset. */
+ last_password_reset?: string | undefined;
/** Total number of logins this user has performed. */
logins_count?: number | undefined;
/** Whether this user was blocked by an administrator (true) or is not (false). */
@@ -10135,6 +10168,14 @@ export interface CredentialId {
id: string;
}
+/**
+ * Configure the connection to be used as a Requesting Application for Cross App Access.
+ */
+export interface CrossAppAccessRequestingApp {
+ /** Set to `true` to enable the connection as a Requesting Application for Cross App Access. */
+ active: boolean;
+}
+
/**
* CSP directives map. Keys are directive names, values are arrays of directive values.
*/
@@ -10421,7 +10462,7 @@ export interface DeleteUserIdentityResponseContentItem {
/** The name of the connection for the identity. */
connection: string;
/** The unique identifier for the user for the identity. */
- user_id: string;
+ user_id: Management.UserId;
/** The type of identity provider. */
provider: string;
/** true if the identity provider is a social provider, falses otherwise */
@@ -10753,10 +10794,11 @@ export type EmailSparkPostRegionEnum = (typeof EmailSparkPostRegionEnum)[keyof t
*/
export type EmailSpecificProviderSettingsWithAdditionalProperties = (Record | null) | undefined;
-/** Template name. Can be `verify_email`, `verify_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy). */
+/** Template name. Can be `verify_email`, `verify_email_by_code`, `auth_email_by_code`, `reset_email`, `reset_email_by_code`, `welcome_email`, `blocked_account`, `stolen_credentials`, `enrollment_email`, `mfa_oob_code`, `user_invitation`, `async_approval`, `change_password` (legacy), or `password_reset` (legacy). */
export const EmailTemplateNameEnum = {
VerifyEmail: "verify_email",
VerifyEmailByCode: "verify_email_by_code",
+ AuthEmailByCode: "auth_email_by_code",
ResetEmail: "reset_email",
ResetEmailByCode: "reset_email_by_code",
WelcomeEmail: "welcome_email",
@@ -14960,6 +15002,21 @@ export interface FedCmLoginGoogle {
is_enabled?: boolean | undefined;
}
+/**
+ * Google FedCM configuration for this client
+ */
+export interface FedCmLoginGooglePatch {
+ /** When true, shows the Google FedCM prompt on New Universal Login for this client */
+ is_enabled?: boolean | undefined;
+}
+
+/**
+ * Configure FedCM login settings for New Universal Login
+ */
+export interface FedCmLoginPatch {
+ google?: (Management.FedCmLoginGooglePatch | null) | undefined;
+}
+
export interface FederatedConnectionTokenSet {
id?: string | undefined;
connection?: string | undefined;
@@ -18802,6 +18859,8 @@ export interface GetClientResponseContent {
mobile?: Management.ClientMobile | undefined;
/** Initiate login uri, must be https */
initiate_login_uri?: string | undefined;
+ native_social_login?: Management.NativeSocialLogin | undefined;
+ fedcm_login?: Management.FedCmLogin | undefined;
refresh_token?: (Management.ClientRefreshTokenConfiguration | null) | undefined;
default_organization?: (Management.ClientDefaultOrganization | null) | undefined;
organization_usage?: Management.ClientOrganizationUsageEnum | undefined;
@@ -18814,6 +18873,7 @@ export interface GetClientResponseContent {
/** Makes the use of Proof-of-Possession mandatory for this client */
require_proof_of_possession?: boolean | undefined;
signed_request_object?: Management.ClientSignedRequestObjectWithCredentialId | undefined;
+ token_vault_privileged_access?: Management.ClientTokenVaultPrivilegedAccessWithCredentialId | undefined;
compliance_level?: (Management.ClientComplianceLevelEnum | null) | undefined;
/**
* Controls whether a confirmation prompt is shown during login flows when the redirect URI uses non-verifiable callback URIs (for example, a custom URI schema such as `myapp://`, or `localhost`).
@@ -18892,6 +18952,7 @@ export interface GetConnectionResponseContent {
metadata?: Management.ConnectionsMetadata | undefined;
authentication?: Management.ConnectionAuthenticationPurpose | undefined;
connected_accounts?: Management.ConnectionConnectedAccountsPurpose | undefined;
+ cross_app_access_requesting_app?: Management.CrossAppAccessRequestingApp | undefined;
}
export interface GetCustomDomainResponseContent {
@@ -19538,6 +19599,12 @@ export interface GetOrganizationResponseContent {
*/
export type GetPartialsResponseContent = Record;
+export interface GetPhoneProviderProtectionResponseContent {
+ type: Management.PhoneProviderProtectionBackoffStrategyEnum;
+ /** Accepts any additional properties */
+ [key: string]: any;
+}
+
export interface GetPhoneTemplateResponseContent {
id?: string | undefined;
channel?: string | undefined;
@@ -19974,8 +20041,10 @@ export interface GetUserResponseContent {
phone_number?: string | undefined;
/** Whether this phone number has been verified (true) or not (false). */
phone_verified?: boolean | undefined;
- created_at?: Management.UserDateSchema | undefined;
- updated_at?: Management.UserDateSchema | undefined;
+ /** Date and time when this user was created. */
+ created_at?: string | undefined;
+ /** Date and time when this user was last updated/modified. */
+ updated_at?: string | undefined;
/** Array of user identity objects when accounts are linked. */
identities?: Management.UserIdentitySchema[] | undefined;
app_metadata?: Management.UserAppMetadataSchema | undefined;
@@ -19988,11 +20057,14 @@ export interface GetUserResponseContent {
nickname?: string | undefined;
/** List of multi-factor authentication providers with which this user has enrolled. */
multifactor?: string[] | undefined;
- multifactor_last_modified?: Management.UserDateSchema | undefined;
+ /** Last date and time this user's multi-factor authentication providers were updated. */
+ multifactor_last_modified?: string | undefined;
/** Last IP address from which this user logged in. */
last_ip?: string | undefined;
- last_login?: Management.UserDateSchema | undefined;
- last_password_reset?: Management.UserDateSchema | undefined;
+ /** Last date and time this user logged in. */
+ last_login?: string | undefined;
+ /** Last date and time this user had their password reset. */
+ last_password_reset?: string | undefined;
/** Total number of logins this user has performed. */
logins_count?: number | undefined;
/** Whether this user was blocked by an administrator (true) or is not (false). */
@@ -21552,6 +21624,14 @@ export interface NativeSocialLoginApple {
enabled?: boolean | undefined;
}
+/**
+ * Native Social Login support for the Apple connection
+ */
+export interface NativeSocialLoginApplePatch {
+ /** Determine whether or not to allow signing in natively using an Apple authorization code */
+ enabled?: boolean | undefined;
+}
+
/**
* Native Social Login support for the Facebook connection
*/
@@ -21560,6 +21640,14 @@ export interface NativeSocialLoginFacebook {
enabled?: boolean | undefined;
}
+/**
+ * Native Social Login support for the Facebook connection
+ */
+export interface NativeSocialLoginFacebookPatch {
+ /** Determine whether or not to allow signing in natively using Facebook */
+ enabled?: boolean | undefined;
+}
+
/**
* Native Social Login support for the google-oauth2 connection
*/
@@ -21568,6 +21656,23 @@ export interface NativeSocialLoginGoogle {
enabled?: boolean | undefined;
}
+/**
+ * Native Social Login support for the google-oauth2 connection
+ */
+export interface NativeSocialLoginGooglePatch {
+ /** Determine whether or not to allow signing in natively using a Google ID token */
+ enabled?: boolean | undefined;
+}
+
+/**
+ * Configure native social settings
+ */
+export interface NativeSocialLoginPatch {
+ apple?: (Management.NativeSocialLoginApplePatch | null) | undefined;
+ facebook?: (Management.NativeSocialLoginFacebookPatch | null) | undefined;
+ google?: (Management.NativeSocialLoginGooglePatch | null) | undefined;
+}
+
export type NetworkAclMatchConnectingIpv4Cidr = string;
export type NetworkAclMatchConnectingIpv6Cidr = string;
@@ -21966,6 +22071,12 @@ export interface PatchClientCredentialResponseContent {
[key: string]: any;
}
+export interface PatchPhoneProviderProtectionResponseContent {
+ type: Management.PhoneProviderProtectionBackoffStrategyEnum;
+ /** Accepts any additional properties */
+ [key: string]: any;
+}
+
export type PatchRateLimitPolicyConfigurationRequestContent =
| {
action: "allow";
@@ -22045,6 +22156,14 @@ export const PhoneProviderNameEnum = {
} as const;
export type PhoneProviderNameEnum = (typeof PhoneProviderNameEnum)[keyof typeof PhoneProviderNameEnum];
+/** The type of backoff strategy to use. */
+export const PhoneProviderProtectionBackoffStrategyEnum = {
+ Exponential: "exponential",
+ None: "none",
+} as const;
+export type PhoneProviderProtectionBackoffStrategyEnum =
+ (typeof PhoneProviderProtectionBackoffStrategyEnum)[keyof typeof PhoneProviderProtectionBackoffStrategyEnum];
+
/**
* Phone provider configuration schema
*/
@@ -22808,6 +22927,8 @@ export interface RotateClientSecretResponseContent {
mobile?: Management.ClientMobile | undefined;
/** Initiate login uri, must be https */
initiate_login_uri?: string | undefined;
+ native_social_login?: Management.NativeSocialLogin | undefined;
+ fedcm_login?: Management.FedCmLogin | undefined;
refresh_token?: (Management.ClientRefreshTokenConfiguration | null) | undefined;
default_organization?: (Management.ClientDefaultOrganization | null) | undefined;
organization_usage?: Management.ClientOrganizationUsageEnum | undefined;
@@ -22820,6 +22941,7 @@ export interface RotateClientSecretResponseContent {
/** Makes the use of Proof-of-Possession mandatory for this client */
require_proof_of_possession?: boolean | undefined;
signed_request_object?: Management.ClientSignedRequestObjectWithCredentialId | undefined;
+ token_vault_privileged_access?: Management.ClientTokenVaultPrivilegedAccessWithCredentialId | undefined;
compliance_level?: (Management.ClientComplianceLevelEnum | null) | undefined;
/**
* Controls whether a confirmation prompt is shown during login flows when the redirect URI uses non-verifiable callback URIs (for example, a custom URI schema such as `myapp://`, or `localhost`).
@@ -24149,6 +24271,8 @@ export interface TokenQuotaConfiguration {
[key: string]: any;
}
+export type TokenVaultPrivilegedAccessIpAllowlistEntry = string;
+
/**
* Too Many Requests
*/
@@ -24496,6 +24620,8 @@ export interface UpdateClientResponseContent {
mobile?: Management.ClientMobile | undefined;
/** Initiate login uri, must be https */
initiate_login_uri?: string | undefined;
+ native_social_login?: Management.NativeSocialLogin | undefined;
+ fedcm_login?: Management.FedCmLogin | undefined;
refresh_token?: (Management.ClientRefreshTokenConfiguration | null) | undefined;
default_organization?: (Management.ClientDefaultOrganization | null) | undefined;
organization_usage?: Management.ClientOrganizationUsageEnum | undefined;
@@ -24508,6 +24634,7 @@ export interface UpdateClientResponseContent {
/** Makes the use of Proof-of-Possession mandatory for this client */
require_proof_of_possession?: boolean | undefined;
signed_request_object?: Management.ClientSignedRequestObjectWithCredentialId | undefined;
+ token_vault_privileged_access?: Management.ClientTokenVaultPrivilegedAccessWithCredentialId | undefined;
compliance_level?: (Management.ClientComplianceLevelEnum | null) | undefined;
/**
* Controls whether a confirmation prompt is shown during login flows when the redirect URI uses non-verifiable callback URIs (for example, a custom URI schema such as `myapp://`, or `localhost`).
@@ -24825,6 +24952,7 @@ export interface UpdateConnectionRequestContentOidc extends Management.Connectio
options?: Management.ConnectionOptionsOidc | undefined;
authentication?: Management.ConnectionAuthenticationPurpose | undefined;
connected_accounts?: Management.ConnectionConnectedAccountsPurposeXaa | undefined;
+ cross_app_access_requesting_app?: Management.CrossAppAccessRequestingApp | undefined;
show_as_button?: Management.ConnectionShowAsButton | undefined;
}
@@ -24840,6 +24968,7 @@ export interface UpdateConnectionRequestContentOffice365 extends Management.Conn
* Update a connection with strategy=okta
*/
export interface UpdateConnectionRequestContentOkta extends Management.ConnectionCommon {
+ cross_app_access_requesting_app?: Management.CrossAppAccessRequestingApp | undefined;
options?: Management.ConnectionOptionsOkta | undefined;
show_as_button?: Management.ConnectionShowAsButton | undefined;
}
@@ -25023,6 +25152,7 @@ export interface UpdateConnectionResponseContent {
metadata?: Management.ConnectionsMetadata | undefined;
authentication?: Management.ConnectionAuthenticationPurpose | undefined;
connected_accounts?: Management.ConnectionConnectedAccountsPurpose | undefined;
+ cross_app_access_requesting_app?: Management.CrossAppAccessRequestingApp | undefined;
}
export interface UpdateCustomDomainResponseContent {
@@ -25687,8 +25817,10 @@ export interface UpdateUserResponseContent {
phone_number?: string | undefined;
/** Whether this phone number has been verified (true) or not (false). */
phone_verified?: boolean | undefined;
- created_at?: Management.UserDateSchema | undefined;
- updated_at?: Management.UserDateSchema | undefined;
+ /** Date and time when this user was created. */
+ created_at?: string | undefined;
+ /** Date and time when this user was last updated/modified. */
+ updated_at?: string | undefined;
/** Array of user identity objects when accounts are linked. */
identities?: Management.UserIdentitySchema[] | undefined;
app_metadata?: Management.UserAppMetadataSchema | undefined;
@@ -25701,11 +25833,14 @@ export interface UpdateUserResponseContent {
nickname?: string | undefined;
/** List of multi-factor authentication providers with which this user has enrolled. */
multifactor?: string[] | undefined;
- multifactor_last_modified?: Management.UserDateSchema | undefined;
+ /** Last date and time this user's multi-factor authentication providers were updated. */
+ multifactor_last_modified?: string | undefined;
/** Last IP address from which this user logged in. */
last_ip?: string | undefined;
- last_login?: Management.UserDateSchema | undefined;
- last_password_reset?: Management.UserDateSchema | undefined;
+ /** Last date and time this user logged in. */
+ last_login?: string | undefined;
+ /** Last date and time this user had their password reset. */
+ last_password_reset?: string | undefined;
/** Total number of logins this user has performed. */
logins_count?: number | undefined;
/** Whether this user was blocked by an administrator (true) or is not (false). */
@@ -25967,14 +26102,6 @@ export interface UserBlockIdentifier {
[key: string]: any;
}
-export type UserDateSchema =
- /**
- * Date and time when this user was created (ISO_8601 format). */
- | string
- /**
- * Date and time when this user was created (ISO_8601 format). */
- | Record;
-
export interface UserEffectivePermissionResponseContent {
/** Resource server (API) identifier that this permission is for. */
resource_server_identifier?: string | undefined;
@@ -26069,7 +26196,7 @@ export interface UserGroupsResponseSchema extends Management.Group {
}
/**
- * user_id of the secondary user account being linked.
+ * Unique identifier of the user for this identity.
*/
export type UserId = string | number;
@@ -26154,8 +26281,7 @@ export type UserIdentityProviderEnum = (typeof UserIdentityProviderEnum)[keyof t
export interface UserIdentitySchema {
/** Name of the connection containing this identity. */
connection?: string | undefined;
- /** Unique identifier of the user user for this identity. */
- user_id?: string | undefined;
+ user_id?: Management.UserId | undefined;
provider?: Management.UserIdentityProviderEnum | undefined;
/** Whether this identity is from a social provider (true) or not (false). */
isSocial?: boolean | undefined;
@@ -26239,8 +26365,10 @@ export interface UserResponseSchema {
phone_number?: string | undefined;
/** Whether this phone number has been verified (true) or not (false). */
phone_verified?: boolean | undefined;
- created_at?: Management.UserDateSchema | undefined;
- updated_at?: Management.UserDateSchema | undefined;
+ /** Date and time when this user was created. */
+ created_at?: string | undefined;
+ /** Date and time when this user was last updated/modified. */
+ updated_at?: string | undefined;
/** Array of user identity objects when accounts are linked. */
identities?: Management.UserIdentitySchema[] | undefined;
app_metadata?: Management.UserAppMetadataSchema | undefined;
@@ -26253,11 +26381,14 @@ export interface UserResponseSchema {
nickname?: string | undefined;
/** List of multi-factor authentication providers with which this user has enrolled. */
multifactor?: string[] | undefined;
- multifactor_last_modified?: Management.UserDateSchema | undefined;
+ /** Last date and time this user's multi-factor authentication providers were updated. */
+ multifactor_last_modified?: string | undefined;
/** Last IP address from which this user logged in. */
last_ip?: string | undefined;
- last_login?: Management.UserDateSchema | undefined;
- last_password_reset?: Management.UserDateSchema | undefined;
+ /** Last date and time this user logged in. */
+ last_login?: string | undefined;
+ /** Last date and time this user had their password reset. */
+ last_password_reset?: string | undefined;
/** Total number of logins this user has performed. */
logins_count?: number | undefined;
/** Whether this user was blocked by an administrator (true) or is not (false). */
diff --git a/src/management/tests/wire/attackProtection/phoneProviderProtection.test.ts b/src/management/tests/wire/attackProtection/phoneProviderProtection.test.ts
new file mode 100644
index 0000000000..c824388df9
--- /dev/null
+++ b/src/management/tests/wire/attackProtection/phoneProviderProtection.test.ts
@@ -0,0 +1,188 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import * as Management from "../../../api/index";
+import { ManagementClient } from "../../../Client";
+import { mockServerPool } from "../../mock-server/MockServerPool";
+
+describe("PhoneProviderProtectionClient", () => {
+ test("get (1)", async () => {
+ const server = mockServerPool.createServer();
+ const client = new ManagementClient({ maxRetries: 0, token: "test", environment: server.baseUrl });
+
+ const rawResponseBody = { type: "exponential" };
+
+ server
+ .mockEndpoint()
+ .get("/attack-protection/phone-provider-protection")
+ .respondWith()
+ .statusCode(200)
+ .jsonBody(rawResponseBody)
+ .build();
+
+ const response = await client.attackProtection.phoneProviderProtection.get();
+ expect(response).toEqual(rawResponseBody);
+ });
+
+ test("get (2)", async () => {
+ const server = mockServerPool.createServer();
+ const client = new ManagementClient({ maxRetries: 0, token: "test", environment: server.baseUrl });
+
+ const rawResponseBody = { key: "value" };
+
+ server
+ .mockEndpoint()
+ .get("/attack-protection/phone-provider-protection")
+ .respondWith()
+ .statusCode(401)
+ .jsonBody(rawResponseBody)
+ .build();
+
+ await expect(async () => {
+ return await client.attackProtection.phoneProviderProtection.get();
+ }).rejects.toThrow(Management.UnauthorizedError);
+ });
+
+ test("get (3)", async () => {
+ const server = mockServerPool.createServer();
+ const client = new ManagementClient({ maxRetries: 0, token: "test", environment: server.baseUrl });
+
+ const rawResponseBody = { key: "value" };
+
+ server
+ .mockEndpoint()
+ .get("/attack-protection/phone-provider-protection")
+ .respondWith()
+ .statusCode(403)
+ .jsonBody(rawResponseBody)
+ .build();
+
+ await expect(async () => {
+ return await client.attackProtection.phoneProviderProtection.get();
+ }).rejects.toThrow(Management.ForbiddenError);
+ });
+
+ test("get (4)", async () => {
+ const server = mockServerPool.createServer();
+ const client = new ManagementClient({ maxRetries: 0, token: "test", environment: server.baseUrl });
+
+ const rawResponseBody = { key: "value" };
+
+ server
+ .mockEndpoint()
+ .get("/attack-protection/phone-provider-protection")
+ .respondWith()
+ .statusCode(404)
+ .jsonBody(rawResponseBody)
+ .build();
+
+ await expect(async () => {
+ return await client.attackProtection.phoneProviderProtection.get();
+ }).rejects.toThrow(Management.NotFoundError);
+ });
+
+ test("get (5)", async () => {
+ const server = mockServerPool.createServer();
+ const client = new ManagementClient({ maxRetries: 0, token: "test", environment: server.baseUrl });
+
+ const rawResponseBody = { key: "value" };
+
+ server
+ .mockEndpoint()
+ .get("/attack-protection/phone-provider-protection")
+ .respondWith()
+ .statusCode(429)
+ .jsonBody(rawResponseBody)
+ .build();
+
+ await expect(async () => {
+ return await client.attackProtection.phoneProviderProtection.get();
+ }).rejects.toThrow(Management.TooManyRequestsError);
+ });
+
+ test("patch (1)", async () => {
+ const server = mockServerPool.createServer();
+ const client = new ManagementClient({ maxRetries: 0, token: "test", environment: server.baseUrl });
+ const rawRequestBody = { type: "exponential" };
+ const rawResponseBody = { type: "exponential" };
+
+ server
+ .mockEndpoint()
+ .patch("/attack-protection/phone-provider-protection")
+ .jsonBody(rawRequestBody)
+ .respondWith()
+ .statusCode(200)
+ .jsonBody(rawResponseBody)
+ .build();
+
+ const response = await client.attackProtection.phoneProviderProtection.patch({
+ type: "exponential",
+ });
+ expect(response).toEqual(rawResponseBody);
+ });
+
+ test("patch (2)", async () => {
+ const server = mockServerPool.createServer();
+ const client = new ManagementClient({ maxRetries: 0, token: "test", environment: server.baseUrl });
+ const rawRequestBody = { type: "exponential" };
+ const rawResponseBody = { key: "value" };
+
+ server
+ .mockEndpoint()
+ .patch("/attack-protection/phone-provider-protection")
+ .jsonBody(rawRequestBody)
+ .respondWith()
+ .statusCode(401)
+ .jsonBody(rawResponseBody)
+ .build();
+
+ await expect(async () => {
+ return await client.attackProtection.phoneProviderProtection.patch({
+ type: "exponential",
+ });
+ }).rejects.toThrow(Management.UnauthorizedError);
+ });
+
+ test("patch (3)", async () => {
+ const server = mockServerPool.createServer();
+ const client = new ManagementClient({ maxRetries: 0, token: "test", environment: server.baseUrl });
+ const rawRequestBody = { type: "exponential" };
+ const rawResponseBody = { key: "value" };
+
+ server
+ .mockEndpoint()
+ .patch("/attack-protection/phone-provider-protection")
+ .jsonBody(rawRequestBody)
+ .respondWith()
+ .statusCode(403)
+ .jsonBody(rawResponseBody)
+ .build();
+
+ await expect(async () => {
+ return await client.attackProtection.phoneProviderProtection.patch({
+ type: "exponential",
+ });
+ }).rejects.toThrow(Management.ForbiddenError);
+ });
+
+ test("patch (4)", async () => {
+ const server = mockServerPool.createServer();
+ const client = new ManagementClient({ maxRetries: 0, token: "test", environment: server.baseUrl });
+ const rawRequestBody = { type: "exponential" };
+ const rawResponseBody = { key: "value" };
+
+ server
+ .mockEndpoint()
+ .patch("/attack-protection/phone-provider-protection")
+ .jsonBody(rawRequestBody)
+ .respondWith()
+ .statusCode(429)
+ .jsonBody(rawResponseBody)
+ .build();
+
+ await expect(async () => {
+ return await client.attackProtection.phoneProviderProtection.patch({
+ type: "exponential",
+ });
+ }).rejects.toThrow(Management.TooManyRequestsError);
+ });
+});
diff --git a/src/management/tests/wire/clients.test.ts b/src/management/tests/wire/clients.test.ts
index bbe4eb4849..31e455476b 100644
--- a/src/management/tests/wire/clients.test.ts
+++ b/src/management/tests/wire/clients.test.ts
@@ -52,6 +52,7 @@ describe("ClientsClient", () => {
organization_discovery_methods: ["email"],
require_pushed_authorization_requests: true,
require_proof_of_possession: true,
+ token_vault_privileged_access: { credentials: [{ id: "id" }] },
compliance_level: "none",
skip_non_verifiable_callback_uri_confirmation_prompt: true,
par_request_expiry: 1,
@@ -340,6 +341,8 @@ describe("ClientsClient", () => {
ios: { team_id: "team_id", app_bundle_identifier: "app_bundle_identifier" },
},
initiate_login_uri: "initiate_login_uri",
+ native_social_login: { apple: { enabled: true }, facebook: { enabled: true }, google: { enabled: true } },
+ fedcm_login: { google: { is_enabled: true } },
refresh_token: {
rotation_type: "rotating",
expiration_type: "expiring",
@@ -362,6 +365,7 @@ describe("ClientsClient", () => {
require_pushed_authorization_requests: true,
require_proof_of_possession: true,
signed_request_object: { required: true, credentials: [{ id: "id" }] },
+ token_vault_privileged_access: { credentials: [{ id: "id" }], ip_allowlist: ["ip_allowlist"] },
compliance_level: "none",
skip_non_verifiable_callback_uri_confirmation_prompt: true,
token_exchange: { allow_any_profile_of_type: ["custom_authentication"] },
@@ -482,6 +486,28 @@ describe("ClientsClient", () => {
const rawRequestBody = { name: "name" };
const rawResponseBody = { key: "value" };
+ server
+ .mockEndpoint()
+ .post("/clients")
+ .jsonBody(rawRequestBody)
+ .respondWith()
+ .statusCode(404)
+ .jsonBody(rawResponseBody)
+ .build();
+
+ await expect(async () => {
+ return await client.clients.create({
+ name: "name",
+ });
+ }).rejects.toThrow(Management.NotFoundError);
+ });
+
+ test("create (6)", async () => {
+ const server = mockServerPool.createServer();
+ const client = new ManagementClient({ maxRetries: 0, token: "test", environment: server.baseUrl });
+ const rawRequestBody = { name: "name" };
+ const rawResponseBody = { key: "value" };
+
server
.mockEndpoint()
.post("/clients")
@@ -498,7 +524,7 @@ describe("ClientsClient", () => {
}).rejects.toThrow(Management.ConflictError);
});
- test("create (6)", async () => {
+ test("create (7)", async () => {
const server = mockServerPool.createServer();
const client = new ManagementClient({ maxRetries: 0, token: "test", environment: server.baseUrl });
const rawRequestBody = { name: "name" };
@@ -972,6 +998,8 @@ describe("ClientsClient", () => {
ios: { team_id: "team_id", app_bundle_identifier: "app_bundle_identifier" },
},
initiate_login_uri: "initiate_login_uri",
+ native_social_login: { apple: { enabled: true }, facebook: { enabled: true }, google: { enabled: true } },
+ fedcm_login: { google: { is_enabled: true } },
refresh_token: {
rotation_type: "rotating",
expiration_type: "expiring",
@@ -994,6 +1022,7 @@ describe("ClientsClient", () => {
require_pushed_authorization_requests: true,
require_proof_of_possession: true,
signed_request_object: { required: true, credentials: [{ id: "id" }] },
+ token_vault_privileged_access: { credentials: [{ id: "id" }], ip_allowlist: ["ip_allowlist"] },
compliance_level: "none",
skip_non_verifiable_callback_uri_confirmation_prompt: true,
token_exchange: { allow_any_profile_of_type: ["custom_authentication"] },
@@ -1318,6 +1347,8 @@ describe("ClientsClient", () => {
ios: { team_id: "team_id", app_bundle_identifier: "app_bundle_identifier" },
},
initiate_login_uri: "initiate_login_uri",
+ native_social_login: { apple: { enabled: true }, facebook: { enabled: true }, google: { enabled: true } },
+ fedcm_login: { google: { is_enabled: true } },
refresh_token: {
rotation_type: "rotating",
expiration_type: "expiring",
@@ -1340,6 +1371,7 @@ describe("ClientsClient", () => {
require_pushed_authorization_requests: true,
require_proof_of_possession: true,
signed_request_object: { required: true, credentials: [{ id: "id" }] },
+ token_vault_privileged_access: { credentials: [{ id: "id" }], ip_allowlist: ["ip_allowlist"] },
compliance_level: "none",
skip_non_verifiable_callback_uri_confirmation_prompt: true,
token_exchange: { allow_any_profile_of_type: ["custom_authentication"] },
@@ -1641,6 +1673,8 @@ describe("ClientsClient", () => {
ios: { team_id: "team_id", app_bundle_identifier: "app_bundle_identifier" },
},
initiate_login_uri: "initiate_login_uri",
+ native_social_login: { apple: { enabled: true }, facebook: { enabled: true }, google: { enabled: true } },
+ fedcm_login: { google: { is_enabled: true } },
refresh_token: {
rotation_type: "rotating",
expiration_type: "expiring",
@@ -1663,6 +1697,7 @@ describe("ClientsClient", () => {
require_pushed_authorization_requests: true,
require_proof_of_possession: true,
signed_request_object: { required: true, credentials: [{ id: "id" }] },
+ token_vault_privileged_access: { credentials: [{ id: "id" }], ip_allowlist: ["ip_allowlist"] },
compliance_level: "none",
skip_non_verifiable_callback_uri_confirmation_prompt: true,
token_exchange: { allow_any_profile_of_type: ["custom_authentication"] },
diff --git a/src/management/tests/wire/clients/connections.test.ts b/src/management/tests/wire/clients/connections.test.ts
index 53bdb06332..bc673dd956 100644
--- a/src/management/tests/wire/clients/connections.test.ts
+++ b/src/management/tests/wire/clients/connections.test.ts
@@ -22,6 +22,7 @@ describe("ConnectionsClient", () => {
show_as_button: true,
authentication: { active: true },
connected_accounts: { active: true },
+ cross_app_access_requesting_app: { active: true },
},
],
next: "next",
diff --git a/src/management/tests/wire/connections.test.ts b/src/management/tests/wire/connections.test.ts
index 590465433f..15729b2162 100644
--- a/src/management/tests/wire/connections.test.ts
+++ b/src/management/tests/wire/connections.test.ts
@@ -23,6 +23,7 @@ describe("ConnectionsClient", () => {
show_as_button: true,
authentication: { active: true },
connected_accounts: { active: true },
+ cross_app_access_requesting_app: { active: true },
},
],
};
@@ -120,6 +121,7 @@ describe("ConnectionsClient", () => {
metadata: { key: "value" },
authentication: { active: true },
connected_accounts: { active: true, cross_app_access: true },
+ cross_app_access_requesting_app: { active: true },
};
server
@@ -270,6 +272,7 @@ describe("ConnectionsClient", () => {
metadata: { key: "value" },
authentication: { active: true },
connected_accounts: { active: true, cross_app_access: true },
+ cross_app_access_requesting_app: { active: true },
};
server.mockEndpoint().get("/connections/id").respondWith().statusCode(200).jsonBody(rawResponseBody).build();
@@ -425,6 +428,7 @@ describe("ConnectionsClient", () => {
metadata: { key: "value" },
authentication: { active: true },
connected_accounts: { active: true, cross_app_access: true },
+ cross_app_access_requesting_app: { active: true },
};
server
diff --git a/src/management/tests/wire/keys/signing.test.ts b/src/management/tests/wire/keys/signing.test.ts
index b8ad7cce1c..9895ad7f09 100644
--- a/src/management/tests/wire/keys/signing.test.ts
+++ b/src/management/tests/wire/keys/signing.test.ts
@@ -229,6 +229,19 @@ describe("SigningClient", () => {
const rawResponseBody = { key: "value" };
+ server.mockEndpoint().get("/keys/signing/kid").respondWith().statusCode(404).jsonBody(rawResponseBody).build();
+
+ await expect(async () => {
+ return await client.keys.signing.get("kid");
+ }).rejects.toThrow(Management.NotFoundError);
+ });
+
+ test("get (6)", async () => {
+ const server = mockServerPool.createServer();
+ const client = new ManagementClient({ maxRetries: 0, token: "test", environment: server.baseUrl });
+
+ const rawResponseBody = { key: "value" };
+
server.mockEndpoint().get("/keys/signing/kid").respondWith().statusCode(429).jsonBody(rawResponseBody).build();
await expect(async () => {
diff --git a/src/management/tests/wire/users.test.ts b/src/management/tests/wire/users.test.ts
index ab986d8ca2..0fb5757e74 100644
--- a/src/management/tests/wire/users.test.ts
+++ b/src/management/tests/wire/users.test.ts
@@ -22,8 +22,8 @@ describe("UsersClient", () => {
username: "username",
phone_number: "phone_number",
phone_verified: true,
- created_at: "created_at",
- updated_at: "updated_at",
+ created_at: "2024-01-15T09:30:00Z",
+ updated_at: "2024-01-15T09:30:00Z",
identities: [{}],
app_metadata: { key: "value" },
user_metadata: { key: "value" },
@@ -31,10 +31,10 @@ describe("UsersClient", () => {
name: "name",
nickname: "nickname",
multifactor: ["multifactor"],
- multifactor_last_modified: "multifactor_last_modified",
+ multifactor_last_modified: "2024-01-15T09:30:00Z",
last_ip: "last_ip",
- last_login: "last_login",
- last_password_reset: "last_password_reset",
+ last_login: "2024-01-15T09:30:00Z",
+ last_password_reset: "2024-01-15T09:30:00Z",
logins_count: 1,
blocked: true,
given_name: "given_name",
@@ -177,8 +177,8 @@ describe("UsersClient", () => {
username: "username",
phone_number: "phone_number",
phone_verified: true,
- created_at: "created_at",
- updated_at: "updated_at",
+ created_at: "2024-01-15T09:30:00Z",
+ updated_at: "2024-01-15T09:30:00Z",
identities: [
{
connection: "connection",
@@ -196,10 +196,10 @@ describe("UsersClient", () => {
name: "name",
nickname: "nickname",
multifactor: ["multifactor"],
- multifactor_last_modified: "multifactor_last_modified",
+ multifactor_last_modified: "2024-01-15T09:30:00Z",
last_ip: "last_ip",
- last_login: "last_login",
- last_password_reset: "last_password_reset",
+ last_login: "2024-01-15T09:30:00Z",
+ last_password_reset: "2024-01-15T09:30:00Z",
logins_count: 1,
blocked: true,
given_name: "given_name",
@@ -343,8 +343,8 @@ describe("UsersClient", () => {
username: "username",
phone_number: "phone_number",
phone_verified: true,
- created_at: "created_at",
- updated_at: "updated_at",
+ created_at: "2024-01-15T09:30:00Z",
+ updated_at: "2024-01-15T09:30:00Z",
identities: [{}],
app_metadata: { key: "value" },
user_metadata: { key: "value" },
@@ -352,10 +352,10 @@ describe("UsersClient", () => {
name: "name",
nickname: "nickname",
multifactor: ["multifactor"],
- multifactor_last_modified: "multifactor_last_modified",
+ multifactor_last_modified: "2024-01-15T09:30:00Z",
last_ip: "last_ip",
- last_login: "last_login",
- last_password_reset: "last_password_reset",
+ last_login: "2024-01-15T09:30:00Z",
+ last_password_reset: "2024-01-15T09:30:00Z",
logins_count: 1,
blocked: true,
given_name: "given_name",
@@ -444,8 +444,8 @@ describe("UsersClient", () => {
username: "username",
phone_number: "phone_number",
phone_verified: true,
- created_at: "created_at",
- updated_at: "updated_at",
+ created_at: "2024-01-15T09:30:00Z",
+ updated_at: "2024-01-15T09:30:00Z",
identities: [
{
connection: "connection",
@@ -463,10 +463,10 @@ describe("UsersClient", () => {
name: "name",
nickname: "nickname",
multifactor: ["multifactor"],
- multifactor_last_modified: "multifactor_last_modified",
+ multifactor_last_modified: "2024-01-15T09:30:00Z",
last_ip: "last_ip",
- last_login: "last_login",
- last_password_reset: "last_password_reset",
+ last_login: "2024-01-15T09:30:00Z",
+ last_password_reset: "2024-01-15T09:30:00Z",
logins_count: 1,
blocked: true,
given_name: "given_name",
@@ -620,8 +620,8 @@ describe("UsersClient", () => {
username: "username",
phone_number: "phone_number",
phone_verified: true,
- created_at: "created_at",
- updated_at: "updated_at",
+ created_at: "2024-01-15T09:30:00Z",
+ updated_at: "2024-01-15T09:30:00Z",
identities: [
{
connection: "connection",
@@ -639,10 +639,10 @@ describe("UsersClient", () => {
name: "name",
nickname: "nickname",
multifactor: ["multifactor"],
- multifactor_last_modified: "multifactor_last_modified",
+ multifactor_last_modified: "2024-01-15T09:30:00Z",
last_ip: "last_ip",
- last_login: "last_login",
- last_password_reset: "last_password_reset",
+ last_login: "2024-01-15T09:30:00Z",
+ last_password_reset: "2024-01-15T09:30:00Z",
logins_count: 1,
blocked: true,
given_name: "given_name",
diff --git a/src/management/tests/wire/users/connectedAccounts.test.ts b/src/management/tests/wire/users/connectedAccounts.test.ts
index 238138ab1c..b94f9bd3c1 100644
--- a/src/management/tests/wire/users/connectedAccounts.test.ts
+++ b/src/management/tests/wire/users/connectedAccounts.test.ts
@@ -109,6 +109,25 @@ describe("ConnectedAccountsClient", () => {
const rawResponseBody = { key: "value" };
+ server
+ .mockEndpoint()
+ .get("/users/id/connected-accounts")
+ .respondWith()
+ .statusCode(404)
+ .jsonBody(rawResponseBody)
+ .build();
+
+ await expect(async () => {
+ return await client.users.connectedAccounts.list("id");
+ }).rejects.toThrow(Management.NotFoundError);
+ });
+
+ test("list (6)", async () => {
+ const server = mockServerPool.createServer();
+ const client = new ManagementClient({ maxRetries: 0, token: "test", environment: server.baseUrl });
+
+ const rawResponseBody = { key: "value" };
+
server
.mockEndpoint()
.get("/users/id/connected-accounts")
diff --git a/yarn.lock b/yarn.lock
index a149901606..a6ca2b4044 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -729,9 +729,11 @@
integrity sha512-SEeaJLb3qBNF/OaXnaR1NmmBbFYk1zC0ZH/52fATcRPLFg/p791YrcyFFy44Bo9sLaGuSuLp5Q6axbb/O+v/RA==
"@publint/pack@^0.1.4":
- version "0.1.4"
- resolved "https://registry.yarnpkg.com/@publint/pack/-/pack-0.1.4.tgz#866a82a1a8ab52329ae08baec6f3969ed99a30bf"
- integrity sha512-HDVTWq3H0uTXiU0eeSQntcVUTPP3GamzeXI41+x7uU9J65JgWQh3qWZHblR1i0npXfFtF+mxBiU2nJH8znxWnQ==
+ version "0.1.5"
+ resolved "https://registry.yarnpkg.com/@publint/pack/-/pack-0.1.5.tgz#3b87dbcc086560944c3564bf9d05c5a1d115fe85"
+ integrity sha512-edgyN2pP07uXiP4tJs0s8KVmU8M8i60YPbbI0/WDeok1mIJHRXz+CgD8I0nelwDkoCh3EWL/G5kGfbuHjsdbvw==
+ dependencies:
+ tinyexec "^1.2.4"
"@shikijs/engine-oniguruma@^3.23.0":
version "3.23.0"
@@ -891,16 +893,16 @@
integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==
"@types/node@*":
- version "25.9.2"
- resolved "https://registry.yarnpkg.com/@types/node/-/node-25.9.2.tgz#fc8958e757994b71fee516f9634bdb03d1b19e9f"
- integrity sha512-G05zqtJhcDLb8uslf5EjCxXg9G1KQxiV8OS0R26IC//Eoyitzqe8z37I7cqvnZlrlSfgocQRfSn/AHBZJJFyGw==
+ version "26.0.0"
+ resolved "https://registry.yarnpkg.com/@types/node/-/node-26.0.0.tgz#d4aece9e9412e9f2008d59bc2d74f5279316b665"
+ integrity sha512-vf2YFi1iY9lHGwNJMs01biZFbKJkrZR1T6/MlzjhJLPdntOHLhTrDSnSVcdtvjihi4VQNlrFRIxLsDBlQpAipA==
dependencies:
- undici-types ">=7.24.0 <7.24.7"
+ undici-types "~8.3.0"
"@types/node@^20.0.0":
- version "20.19.42"
- resolved "https://registry.yarnpkg.com/@types/node/-/node-20.19.42.tgz#002109ec605f2a73f46e9677139d8b27a2d88394"
- integrity sha512-5L7SUaFC1RyDraj2yRhyBzHTobyXHmohD100CChNtyPyleoq37Mqab5Gn8XEKI04dfN/oqPdpHk38MgcQWHbZg==
+ version "20.19.43"
+ resolved "https://registry.yarnpkg.com/@types/node/-/node-20.19.43.tgz#fcecf580ba42a0db55cf404c372c97973c376c97"
+ integrity sha512-6oYBAi5ikg4Pl+kGsoYtawUMBT2zZMCvPNF7pVLnHZfd1zf38DRiWn/gT01RYCdUqkv7Fhr+C9ot4/tb+2sVvA==
dependencies:
undici-types "~6.21.0"
@@ -937,99 +939,99 @@
"@types/yargs-parser" "*"
"@typescript-eslint/eslint-plugin@^8.38.0":
- version "8.61.0"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.61.0.tgz#db20271974b94a3a54d3b9544e5f5b3481448400"
- integrity sha512-bFNvl9ZczlVb+wR2Akszf3gHfKVj/8WanXaGJ3UstTA7brNKg0cNdk6X1Psu5V7MZ2oQtzZKOEzIUehaoxbDGw==
+ version "8.62.0"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.62.0.tgz#ef482aab65b9b2c0abf92d36d670a0d270bcef4c"
+ integrity sha512-o+mpz7EYiMzXoySXiKmzlabIvTVqUuK5yLrAedRPRDA0IpPFMUV1IXt6OqljIxX/kumN6EjUYp41Hqelh6p/Dw==
dependencies:
"@eslint-community/regexpp" "^4.12.2"
- "@typescript-eslint/scope-manager" "8.61.0"
- "@typescript-eslint/type-utils" "8.61.0"
- "@typescript-eslint/utils" "8.61.0"
- "@typescript-eslint/visitor-keys" "8.61.0"
+ "@typescript-eslint/scope-manager" "8.62.0"
+ "@typescript-eslint/type-utils" "8.62.0"
+ "@typescript-eslint/utils" "8.62.0"
+ "@typescript-eslint/visitor-keys" "8.62.0"
ignore "^7.0.5"
natural-compare "^1.4.0"
ts-api-utils "^2.5.0"
"@typescript-eslint/parser@^8.38.0":
- version "8.61.0"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.61.0.tgz#1afe73c9ccce16b7a26d6b95f9400b0ccc34af87"
- integrity sha512-5B7PfA2e1NQGCnDHd/0lW7W3gvp3d59Ryw54FYO8Uswxo9f6ikw3AZV+Xj/TvpImmpsiYyUqAfhC6kJID1jF6w==
- dependencies:
- "@typescript-eslint/scope-manager" "8.61.0"
- "@typescript-eslint/types" "8.61.0"
- "@typescript-eslint/typescript-estree" "8.61.0"
- "@typescript-eslint/visitor-keys" "8.61.0"
+ version "8.62.0"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.62.0.tgz#8533094fb44427f50b82813c6d3876782f20dc3e"
+ integrity sha512-dzHeT2gySzZtLDsuqxU9AkYgIsQoHAHtRBpOqM+Ofzx1Bwrd2RcCjQJ+6iQbsHOIR6NS33bF2W1k3blN1zLDrA==
+ dependencies:
+ "@typescript-eslint/scope-manager" "8.62.0"
+ "@typescript-eslint/types" "8.62.0"
+ "@typescript-eslint/typescript-estree" "8.62.0"
+ "@typescript-eslint/visitor-keys" "8.62.0"
debug "^4.4.3"
-"@typescript-eslint/project-service@8.61.0":
- version "8.61.0"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/project-service/-/project-service-8.61.0.tgz#417a2feac32e8ebd336d63f068c3b42b736ea1ac"
- integrity sha512-DV42F7MLJO6Rax7SK1yg43tcnEfGUrurSpSxKuVX+a3RCTzBlH3fuxprrOJXKCJGAaw82xXocikJ0uQaqwXgGA==
+"@typescript-eslint/project-service@8.62.0":
+ version "8.62.0"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/project-service/-/project-service-8.62.0.tgz#ab74c1abb4959fb4c3ba7d7edc6554ee245db990"
+ integrity sha512-wexnCqiTg7BOGtbLDftYpRWlmLq4xfoMd7BKFR6Y75sZS3QmRKLdN3yWLhmIYgqMmP/OXWpj3H8odkb5nGURCQ==
dependencies:
- "@typescript-eslint/tsconfig-utils" "^8.61.0"
- "@typescript-eslint/types" "^8.61.0"
+ "@typescript-eslint/tsconfig-utils" "^8.62.0"
+ "@typescript-eslint/types" "^8.62.0"
debug "^4.4.3"
-"@typescript-eslint/scope-manager@8.61.0":
- version "8.61.0"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-8.61.0.tgz#93c2520d05653fe65eb9ee98efc74fd0134a7852"
- integrity sha512-IWdXFHFSb6mlC3HPc7QsLDm5zYEbUla6trDEHf32D3/dnuUyXd87plScSNXSbm0/RxMvObpI17sv/EDTGrGZkA==
+"@typescript-eslint/scope-manager@8.62.0":
+ version "8.62.0"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-8.62.0.tgz#a7a7b428d32444bc9a4fe16f24a78fc124283fd4"
+ integrity sha512-1lX38kNxXIRb8mEc3lbq5mdHq1Pf2+U0nFU65KfT18mtPxxl0fvjuEE92mHuXPuCtElJhOrddOpyMlM3Z0umEA==
dependencies:
- "@typescript-eslint/types" "8.61.0"
- "@typescript-eslint/visitor-keys" "8.61.0"
+ "@typescript-eslint/types" "8.62.0"
+ "@typescript-eslint/visitor-keys" "8.62.0"
-"@typescript-eslint/tsconfig-utils@8.61.0", "@typescript-eslint/tsconfig-utils@^8.61.0":
- version "8.61.0"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.61.0.tgz#05d6e3ff20001674ebcd22d03dac29ee448043ba"
- integrity sha512-O5Amvdv9ztMpxpf+vmFULGG78IE6Qwdr3bCGvqwG4nwc9H2qXkOYJJnRbRHyMkQTjv1d03olqwwwzHLMqpFePQ==
+"@typescript-eslint/tsconfig-utils@8.62.0", "@typescript-eslint/tsconfig-utils@^8.62.0":
+ version "8.62.0"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.62.0.tgz#9440a673581c6d9de308c4d5803dd52ed5d71729"
+ integrity sha512-y2GAdB6ykaXUvuspbYnizQc4oDDz0Tz/Yc7iWrXf9mx8vm/L/0vLHCe0tS2boG96Zy+DivnVDQ9ZUEWoHqqx1g==
-"@typescript-eslint/type-utils@8.61.0":
- version "8.61.0"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-8.61.0.tgz#50219b57e6b89cecfb1a15f093b15ec9ee019974"
- integrity sha512-TuBiQYIkd97yBfInHCTKVYMbX4kvEmpOEuixIuzCU9p8BGT1SfyyO0d0IfDMbPIHcjn/hWnusUX5e8v5Xg+X8A==
+"@typescript-eslint/type-utils@8.62.0":
+ version "8.62.0"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-8.62.0.tgz#6f64d813ed9f340d796baed40cdab86b8e9a491a"
+ integrity sha512-+g5O3j0w2ldzC86Pv6fvbO/xhAonbJFIdf/MKQ1d30gndlsVzUOE83ldfSE15Qrl9fhFjK6AovHs5Wpp6vx86w==
dependencies:
- "@typescript-eslint/types" "8.61.0"
- "@typescript-eslint/typescript-estree" "8.61.0"
- "@typescript-eslint/utils" "8.61.0"
+ "@typescript-eslint/types" "8.62.0"
+ "@typescript-eslint/typescript-estree" "8.62.0"
+ "@typescript-eslint/utils" "8.62.0"
debug "^4.4.3"
ts-api-utils "^2.5.0"
-"@typescript-eslint/types@8.61.0", "@typescript-eslint/types@^8.61.0":
- version "8.61.0"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.61.0.tgz#0ddb46e012a4288292950bdd253db42f278ce64d"
- integrity sha512-9QTQpZ5Iin4CdIodfbDQFSeiSJKidgYJYug1P9CC2xWgUTvlmixViqDZNciMjwLBZyJnG4tGmPl97rVAFb1AJg==
+"@typescript-eslint/types@8.62.0", "@typescript-eslint/types@^8.62.0":
+ version "8.62.0"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.62.0.tgz#601427c10203d9f0f34f0b3e474df735eb12b593"
+ integrity sha512-KvAclkktORPvM54TgLgA4z9HIV1M8zOgw9ZVNXl9f/8dLYfXYX1wkMXP7qmabpijQRV5bHJLOmoyGQbLMaUYeg==
-"@typescript-eslint/typescript-estree@8.61.0":
- version "8.61.0"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.61.0.tgz#98ca47260bbf627fc28f018b3a0abf00e3090690"
- integrity sha512-42zatd5qSvvcV1JdDBCLxYRznvP4eIHpPoZXdkPFnAmanA4FuZ5dibSnCBggY8hQnqajPpoGjXFdZ7fIJKQnlA==
+"@typescript-eslint/typescript-estree@8.62.0":
+ version "8.62.0"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.62.0.tgz#b96b55d02e26aa09434421c3fa678e525ca09a4c"
+ integrity sha512-+hVbNxtW64pIcZWDPGbyaKF7vp2IBTVY5ma1blwwksrjdsbdqqEKvJWMGbBofei4F6Dovx1M0RJgoFeNu2279A==
dependencies:
- "@typescript-eslint/project-service" "8.61.0"
- "@typescript-eslint/tsconfig-utils" "8.61.0"
- "@typescript-eslint/types" "8.61.0"
- "@typescript-eslint/visitor-keys" "8.61.0"
+ "@typescript-eslint/project-service" "8.62.0"
+ "@typescript-eslint/tsconfig-utils" "8.62.0"
+ "@typescript-eslint/types" "8.62.0"
+ "@typescript-eslint/visitor-keys" "8.62.0"
debug "^4.4.3"
minimatch "^10.2.2"
semver "^7.7.3"
tinyglobby "^0.2.15"
ts-api-utils "^2.5.0"
-"@typescript-eslint/utils@8.61.0":
- version "8.61.0"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.61.0.tgz#ed3546a052787e84ea6c5064d0919fc5eea8522f"
- integrity sha512-3bzFt7ImFMW/jVYwJamDoe/dMOdFLSC6pom6rRjdh4SZJEYupyMzem8e7vKZLclLfpHjlwSAXOUxtKxGXUiLqA==
+"@typescript-eslint/utils@8.62.0":
+ version "8.62.0"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.62.0.tgz#b5228524ca1ee51af40e156c82d425dec3e01cfe"
+ integrity sha512-82r66fi9zYwZ+mTq3vKgwjbZ1PVk/DJzrXFLpG6RnBbdvH8TEGVHIs9H4d2drhkOzf0syZuD/OZvvlu6GDbP4g==
dependencies:
"@eslint-community/eslint-utils" "^4.9.1"
- "@typescript-eslint/scope-manager" "8.61.0"
- "@typescript-eslint/types" "8.61.0"
- "@typescript-eslint/typescript-estree" "8.61.0"
+ "@typescript-eslint/scope-manager" "8.62.0"
+ "@typescript-eslint/types" "8.62.0"
+ "@typescript-eslint/typescript-estree" "8.62.0"
-"@typescript-eslint/visitor-keys@8.61.0":
- version "8.61.0"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.61.0.tgz#39b4e1ab8936d23bea973d39fd092f9aa21f275e"
- integrity sha512-QVLZu3ZPQEE+HICQyAMZ2yLQhxf0meY/wx6Hx14YcTNj13JB3qHlX3lJ02L3fLGHgERRH71kvYDwiXIguT3AjQ==
+"@typescript-eslint/visitor-keys@8.62.0":
+ version "8.62.0"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.62.0.tgz#b6daab190bf8f18612f5b86323469a12288c6b31"
+ integrity sha512-CY3uyFSRbcQv3nnSv8S0+lDftMVz6P963PoRlxrV7ew/Md564g9ut60PYzdLM5qW4jFn93GBF+Soi90ISAN+GQ==
dependencies:
- "@typescript-eslint/types" "8.61.0"
+ "@typescript-eslint/types" "8.62.0"
eslint-visitor-keys "^5.0.0"
"@webassemblyjs/ast@1.14.1", "@webassemblyjs/ast@^1.14.1":
@@ -1194,9 +1196,9 @@ acorn-walk@^8.0.2:
acorn "^8.11.0"
acorn@^8.1.0, acorn@^8.11.0, acorn@^8.15.0, acorn@^8.16.0, acorn@^8.8.1:
- version "8.16.0"
- resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.16.0.tgz#4ce79c89be40afe7afe8f3adb902a1f1ce9ac08a"
- integrity sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==
+ version "8.17.0"
+ resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.17.0.tgz#1785adb84faf8d8add10369b93826fc2bd08f1fe"
+ integrity sha512-xRQbDb9BnwDafYNn6Vwl839DYVjqXYb1XVGtWAZ1kcDc6iwAL4hg3B1dZlRiuENFeO2H53gFG3in621AdERVAg==
agent-base@6:
version "6.0.2"
@@ -1387,10 +1389,10 @@ balanced-match@^4.0.2:
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-4.0.4.tgz#bfb10662feed8196a2c62e7c68e17720c274179a"
integrity sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==
-baseline-browser-mapping@^2.10.12:
- version "2.10.35"
- resolved "https://registry.yarnpkg.com/baseline-browser-mapping/-/baseline-browser-mapping-2.10.35.tgz#f0f2232e0de2d2f82cc491bcf830b05ed05937c6"
- integrity sha512-honAfLBde0HAFLdNyBEfuuENkF6zR+ozxqxa/2zJKHBe1qzLqyTSeRKpdPEHAP03rlDGyQOPnCSxnVpVqQo9Mg==
+baseline-browser-mapping@^2.10.38:
+ version "2.10.38"
+ resolved "https://registry.yarnpkg.com/baseline-browser-mapping/-/baseline-browser-mapping-2.10.38.tgz#c84d093c4bf7325c5053c279d90f153c66526042"
+ integrity sha512-31/02mVB4yuQU6adKk5SlY6m+mxDwUq5KZkyYgnLrrKl7TEm1+3PyDtDBz2kOv/wxZz41GHsvV1A/u6RmiyBvw==
brace-expansion@^1.1.7:
version "1.1.15"
@@ -1415,14 +1417,14 @@ braces@^3.0.3:
fill-range "^7.1.1"
browserslist@^4.24.0, browserslist@^4.28.1:
- version "4.28.2"
- resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.28.2.tgz#f50b65362ef48974ca9f50b3680566d786b811d2"
- integrity sha512-48xSriZYYg+8qXna9kwqjIVzuQxi+KYWp2+5nCYnYKPTr0LvD89Jqk2Or5ogxz0NUMfIjhh2lIUX/LyX9B4oIg==
- dependencies:
- baseline-browser-mapping "^2.10.12"
- caniuse-lite "^1.0.30001782"
- electron-to-chromium "^1.5.328"
- node-releases "^2.0.36"
+ version "4.28.4"
+ resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.28.4.tgz#dd8b8167a32845ff5f8cd6ce13f5abba16cd04c9"
+ integrity sha512-MTc8i/x9jBQd1iMw2CFGS+rwMa07eYjLR0CCTLDACl9xhxy+nIs3KeML/biicXtk9JrZ6dnnTatmc7ErPXIxqw==
+ dependencies:
+ baseline-browser-mapping "^2.10.38"
+ caniuse-lite "^1.0.30001799"
+ electron-to-chromium "^1.5.376"
+ node-releases "^2.0.48"
update-browserslist-db "^1.2.3"
bs-logger@^0.2.6:
@@ -1467,10 +1469,10 @@ camelcase@^6.2.0:
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a"
integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==
-caniuse-lite@^1.0.30001782:
- version "1.0.30001797"
- resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001797.tgz#1332709e1439f01ff92085dd17001e0a45897ec0"
- integrity sha512-l8xKG+gwAIExZGl9FrF7KUwuOmk6wbEPC9Xoy/RtnWv1XG0Q4LFlagaLpUv3Kiza3W/wm27zy0yWJEieYKAP6w==
+caniuse-lite@^1.0.30001799:
+ version "1.0.30001799"
+ resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001799.tgz#5c909138c27f1a61219d3e092071c1cc7d32dc55"
+ integrity sha512-hG1bReV+OUU+MOqK4t/ZWI0tZOyz3rqS9XuhOUz1cIcbwBKjOyJEJuw9ER5JuNyqxNk8u/JUVbGibBOL1yrjFw==
chalk@^4.0.0, chalk@^4.1.0:
version "4.1.2"
@@ -1694,10 +1696,10 @@ dunder-proto@^1.0.1:
es-errors "^1.3.0"
gopd "^1.2.0"
-electron-to-chromium@^1.5.328:
- version "1.5.371"
- resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.371.tgz#fa5684f2a514c57368823f9e75553f9a7c5ef0be"
- integrity sha512-e9htk9mAYL6AzmkEhSvVVw7IWGSBJ/Bqdn2eRyRLrj1g6sncN4WbFt5qnILYoCktktr45pyjIrOiRvBThQ808w==
+electron-to-chromium@^1.5.376:
+ version "1.5.377"
+ resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.377.tgz#69c8fed266cdd088aa6b7ede7f06cff283bb492c"
+ integrity sha512-cH1jZgJHoezfTnKfKwnScpHywTFVnJUNITDPREFdhNjiuD502+QFpG0Qk7G8jhsV/f+CEAFlIrzP1fT+IMb92g==
emittery@^0.13.1:
version "0.13.1"
@@ -1714,10 +1716,10 @@ emoji-regex@^8.0.0:
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37"
integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==
-enhanced-resolve@^5.0.0, enhanced-resolve@^5.22.0:
- version "5.23.0"
- resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.23.0.tgz#dfdf8d1c9065e4b52f8a598356138931c07305f9"
- integrity sha512-yJN/BOOLxcOW2aQgeif9mSnaUB8KtvmMMp56oA1kx1CRfBKbhZm2pJ+NBY+3eOboHxix8lfjWpHE0Ei5U8RbSA==
+enhanced-resolve@^5.22.0:
+ version "5.24.0"
+ resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.24.0.tgz#cf14b9768a774cb6a5087220c0dc6e55df6ec35a"
+ integrity sha512-SkE2t82KlkkxQRVMVLAGKxLfORGQfrkx5dkj+vlgXRVNEdPc4eZcR+J/Fvj8C+yKSFH5L0q3NFlyufOVQnCcYQ==
dependencies:
graceful-fs "^4.2.4"
tapable "^2.3.3"
@@ -2051,15 +2053,15 @@ flatted@^3.2.9:
integrity sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==
form-data@^4.0.0:
- version "4.0.5"
- resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.5.tgz#b49e48858045ff4cbf6b03e1805cebcad3679053"
- integrity sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==
+ version "4.0.6"
+ resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.6.tgz#28e864e1b786dbebb68db1f452f9635278665827"
+ integrity sha512-vKatAh4SlVfgbv+YtmhiRjhEMJsYpsG1Y2rMQtR+SVSbytsSD1YGzDIcrAJmdFec88u/+VoGmxnl+80gL1tRCQ==
dependencies:
asynckit "^0.4.0"
combined-stream "^1.0.8"
es-set-tostringtag "^2.1.0"
- hasown "^2.0.2"
- mime-types "^2.1.12"
+ hasown "^2.0.4"
+ mime-types "^2.1.35"
fs.realpath@^1.0.0:
version "1.0.0"
@@ -2198,7 +2200,7 @@ has-tostringtag@^1.0.2:
dependencies:
has-symbols "^1.0.3"
-hasown@^2.0.2, hasown@^2.0.3:
+hasown@^2.0.2, hasown@^2.0.3, hasown@^2.0.4:
version "2.0.4"
resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.4.tgz#8c62d8cb90beb2aad5d0a5b67581ad9854c3f003"
integrity sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==
@@ -3056,7 +3058,7 @@ merge-stream@^2.0.0:
resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60"
integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==
-micromatch@^4.0.0, micromatch@^4.0.4:
+micromatch@^4.0.4:
version "4.0.8"
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.8.tgz#d66fa18f3a47076789320b9b1af32bd86d9fa202"
integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==
@@ -3074,7 +3076,7 @@ mime-db@^1.54.0:
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.54.0.tgz#cddb3ee4f9c64530dff640236661d42cb6a314f5"
integrity sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==
-mime-types@^2.1.12:
+mime-types@^2.1.35:
version "2.1.35"
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a"
integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==
@@ -3174,10 +3176,10 @@ node-int64@^0.4.0:
resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b"
integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==
-node-releases@^2.0.36:
- version "2.0.47"
- resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.47.tgz#521bb2786da8eb140b748841c0b3b3a75334ffc4"
- integrity sha512-Uzmd6LXpouKo8EUK68IjH4+E01w/hXyV3R3g/geCJo+rXLNfh1xucB+LOzYEOQPSiUK3h/xZf0cQGcSsmyL2Og==
+node-releases@^2.0.48:
+ version "2.0.48"
+ resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.48.tgz#4da73d040ada751fc9959d993f27de48792e3b7d"
+ integrity sha512-1uz8041X6LoI6ZSdZacM9lVY28vuzDlSKitnpbSNK0RfKoIJkX29NBPVEFXhnuSuEOA9Ww0xnPJ+ILWbGAv8DA==
normalize-path@^3.0.0:
version "3.0.0"
@@ -3331,7 +3333,7 @@ picomatch@^2.0.4, picomatch@^2.2.3, picomatch@^2.3.1:
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.2.tgz#5a942915e26b372dc0f0e6753149a16e6b1c5601"
integrity sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==
-picomatch@^4.0.3, picomatch@^4.0.4:
+picomatch@^4.0.0, picomatch@^4.0.3, picomatch@^4.0.4:
version "4.0.4"
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.4.tgz#fd6f5e00a143086e074dffe4c924b8fb293b0589"
integrity sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==
@@ -3528,10 +3530,10 @@ semver@^6.3.0, semver@^6.3.1:
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4"
integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==
-semver@^7.3.4, semver@^7.5.3, semver@^7.5.4, semver@^7.7.3, semver@^7.8.0:
- version "7.8.4"
- resolved "https://registry.yarnpkg.com/semver/-/semver-7.8.4.tgz#c73eceebae0616934be8dff28a7fd70757c8e696"
- integrity sha512-rUCObTnP32Q08R2uuIrt7r9PlEonuTmtuXYcW6s5kjdlj3xbnwe+21yXptAUYcMAABLkYYTtnmzb3w3EDZfueA==
+semver@^7.5.3, semver@^7.5.4, semver@^7.7.3, semver@^7.8.0:
+ version "7.8.5"
+ resolved "https://registry.yarnpkg.com/semver/-/semver-7.8.5.tgz#39b646037dd50c14fb451e7e4cac58ed8b863f69"
+ integrity sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==
shebang-command@^2.0.0:
version "2.0.0"
@@ -3762,7 +3764,7 @@ test-exclude@^6.0.0:
glob "^7.1.4"
minimatch "^3.0.4"
-tinyexec@^1.0.4:
+tinyexec@^1.0.4, tinyexec@^1.2.4:
version "1.2.4"
resolved "https://registry.yarnpkg.com/tinyexec/-/tinyexec-1.2.4.tgz#ae45bb2edebda94c70f4ea897e0f1243e470db71"
integrity sha512-SHf/r48b7vOrjve9PxJo3MN5v5yuyjHvdUcrQffT3WXMUfnGmHDVbC4k3sHJaJTgZCwpUplIaAo5ANtMyp3YHg==
@@ -3775,17 +3777,17 @@ tinyglobby@^0.2.15:
fdir "^6.5.0"
picomatch "^4.0.4"
-tldts-core@^7.4.2:
- version "7.4.2"
- resolved "https://registry.yarnpkg.com/tldts-core/-/tldts-core-7.4.2.tgz#3aff536b3783a4592f8692b2d38458f620a71316"
- integrity sha512-nwEyF4vl4RSJjwSjBUmOSxc3BFPoIFdlRthJ6e+5v9P3bHNsoD06UjuqMUspqp7vsEZ1beaHi1km+optiE17yA==
+tldts-core@^7.4.3:
+ version "7.4.3"
+ resolved "https://registry.yarnpkg.com/tldts-core/-/tldts-core-7.4.3.tgz#d43401c0499cd884eeaf1ccf073df841a1e4e2dd"
+ integrity sha512-27ep5H9PzdBrNd5OFM/j3WCU8F3kPwM9D0BOaOf7uYfxMJfyr0K5Tjj69Gri+sZlh2WXd5buIm47NuPF29CDiw==
tldts@^7.0.5:
- version "7.4.2"
- resolved "https://registry.yarnpkg.com/tldts/-/tldts-7.4.2.tgz#e27863cd1910c7f7a4f4b9f14e5903113ed20066"
- integrity sha512-kCwffuaH8ntKtygnWe1b4BJKWiCUH30n5KfoTr6IchcXOwR7chAOFJxFrH3vjANafUYrIA4a7SDL+nn7SiR4Sw==
+ version "7.4.3"
+ resolved "https://registry.yarnpkg.com/tldts/-/tldts-7.4.3.tgz#536c93aecffc96d41ce5627a4b7e12f9c2cfceb5"
+ integrity sha512-A3BDQBeeukYPzB4QdQ1DtdlUmp4x2OCH8n5UVhEWbyANxNep8GavottKzd1xYKFJKjUgMyPT7EzOfnBO55s8Sg==
dependencies:
- tldts-core "^7.4.2"
+ tldts-core "^7.4.3"
tmpl@1.0.5:
version "1.0.5"
@@ -3844,14 +3846,12 @@ ts-jest@^29.3.4:
yargs-parser "^21.1.1"
ts-loader@^9.5.4:
- version "9.6.0"
- resolved "https://registry.yarnpkg.com/ts-loader/-/ts-loader-9.6.0.tgz#50dfdea9c63ff9c5f4e89b04c1e3ce0d5d2946a1"
- integrity sha512-dsJO0S+T7grTDWTc4a0nTygXGjKncVUpx8Y+af8EvI/D5WgTJby5UEk5eoMCB9EcLQmnvitqh99MqtjtHgAwFQ==
+ version "9.6.2"
+ resolved "https://registry.yarnpkg.com/ts-loader/-/ts-loader-9.6.2.tgz#a08f4935ddb87edbd58ce33b7b2558c2a77fdd47"
+ integrity sha512-R4iuczmtgxvtuI556s+hTZ6/7Ee03VCAk/l/M8LY1OAsUgB7YydsCxkgq9D9pKRaD7GJqUi2u8fp9zZP/ufjKA==
dependencies:
chalk "^4.1.0"
- enhanced-resolve "^5.0.0"
- micromatch "^4.0.0"
- semver "^7.3.4"
+ picomatch "^4.0.0"
source-map "^0.7.4"
type-check@^0.4.0, type-check@~0.4.0:
@@ -3907,25 +3907,25 @@ uglify-js@^3.1.4:
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.19.3.tgz#82315e9bbc6f2b25888858acd1fff8441035b77f"
integrity sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==
-"undici-types@>=7.24.0 <7.24.7":
- version "7.24.6"
- resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.24.6.tgz#61275b485d7fd4e9d269c7cf04ec2873c9cc0f91"
- integrity sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==
-
undici-types@^6.15.0:
- version "6.26.0"
- resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.26.0.tgz#8d1e5746a8bf2fc76d009d917ec79a246be1b308"
- integrity sha512-anbjel3h0aEs7QuwKb3qbvApZmBE4lD0xonwP/6fOHvOj/1D3wmBWula2MOjOV2RRPOLnE9istBSlA+mqVhzMA==
+ version "6.27.0"
+ resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.27.0.tgz#0ea0e14354ec9eb84599b6a362428e9de1fbde44"
+ integrity sha512-HDBmCak1Ccswl7xS6/blapTYRVsqva4skTCeeJPLiDn6qCszeqiPGDljQBH2Kf/S0BI6EN14FQsgKVyGid9xnA==
undici-types@~6.21.0:
version "6.21.0"
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.21.0.tgz#691d00af3909be93a7faa13be61b3a5b50ef12cb"
integrity sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==
+undici-types@~8.3.0:
+ version "8.3.0"
+ resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-8.3.0.tgz#44e9fc9f3244648cdea35e4f9bb2d681e9410809"
+ integrity sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ==
+
undici@^7.12.0:
- version "7.27.2"
- resolved "https://registry.yarnpkg.com/undici/-/undici-7.27.2.tgz#f8fae968ee68377cfc61713d9cd152773716804f"
- integrity sha512-uZsKNuzQxDMUY6M3pIMvy5tvlGmtq8XJ2oLAkfRKGNu+1VQAIvLy2xIVG5ATZl5wDXl/tddByAWCizRbOme+TA==
+ version "7.28.0"
+ resolved "https://registry.yarnpkg.com/undici/-/undici-7.28.0.tgz#97d64564198b285bc281f0e8e29597e3d11fe7ec"
+ integrity sha512-cRZYrTDwWznlnRiPjggAGxZXanty6M8RV1ff8Wm4LWXBp7/IG8v5DnOm74DtUBp9OONpK75YlPnIjQqX0dBDtA==
universalify@^0.2.0:
version "0.2.0"
@@ -3984,11 +3984,10 @@ walker@^1.0.8:
makeerror "1.0.12"
watchpack@^2.5.1:
- version "2.5.1"
- resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.5.1.tgz#dd38b601f669e0cbf567cb802e75cead82cde102"
- integrity sha512-Zn5uXdcFNIA1+1Ei5McRd+iRzfhENPCe7LeABkJtNulSxjma+l7ltNx55BWZkRlwRnpOgHqxnjyaDgJnNXnqzg==
+ version "2.5.2"
+ resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.5.2.tgz#e12e82d84674266fc1c6dbfe38891b92ff0522ec"
+ integrity sha512-6i/00NBjP4yGPs+caKSyRfpTF/8Torsu0MOW3mMzIbhgISFder8i7xbqgHlLMwJrdiN8ndBV3UA1/AfzPSr+jg==
dependencies:
- glob-to-regexp "^0.4.1"
graceful-fs "^4.1.2"
webidl-conversions@^7.0.0:
@@ -4143,9 +4142,9 @@ yargs-parser@^21.1.1:
integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==
yargs@^17.3.1, yargs@^17.7.2:
- version "17.7.2"
- resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269"
- integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==
+ version "17.7.3"
+ resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.3.tgz#779dffe6bcafec596a7172e983289a588647faaa"
+ integrity sha512-GZtjxm/J/4TSxuL3FNYjCmLktBTnIw/rVmKSIyKeYAZpmJB2ig9VauCC5xsa82GNKVKDAqpOn3KVzNt0zmrU0g==
dependencies:
cliui "^8.0.1"
escalade "^3.1.1"