@workos-inc/node 10.7.0 → 10.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -76,6 +76,11 @@ type RequestHeaders = Record<string, string | number | string[]>;
76
76
  type RequestOptions = {
77
77
  params?: Record<string, any>;
78
78
  headers?: RequestHeaders;
79
+ /**
80
+ * Maximum number of retries for this request, overriding the client-wide
81
+ * `maxRetries`. Set to `0` to disable retries for this request.
82
+ */
83
+ maxRetries?: number;
79
84
  };
80
85
  type ResponseHeaderValue = string | string[];
81
86
  type ResponseHeaders = Record<string, ResponseHeaderValue>;
@@ -93,14 +98,24 @@ interface HttpClientResponseInterface {
93
98
  }
94
99
  //#endregion
95
100
  //#region src/common/net/http-client.d.ts
101
+ interface HttpClientOptions extends RequestInit {
102
+ /** Per-request timeout in milliseconds. */
103
+ timeout?: number;
104
+ /**
105
+ * Maximum number of retries for transient failures. Set to `0` to disable
106
+ * automatic retries entirely. Defaults to {@link DEFAULT_MAX_RETRY_ATTEMPTS}.
107
+ */
108
+ maxRetries?: number;
109
+ }
96
110
  declare abstract class HttpClient implements HttpClientInterface {
97
111
  readonly baseURL: string;
98
- readonly options?: RequestInit | undefined;
99
- readonly MAX_RETRY_ATTEMPTS = 3;
112
+ readonly options?: HttpClientOptions | undefined;
113
+ readonly MAX_RETRY_ATTEMPTS: number;
100
114
  readonly BACKOFF_MULTIPLIER = 1.5;
101
115
  readonly MINIMUM_SLEEP_TIME_IN_MILLISECONDS = 500;
116
+ readonly MAXIMUM_SLEEP_TIME_IN_MILLISECONDS = 8000;
102
117
  readonly RETRY_STATUS_CODES: number[];
103
- constructor(baseURL: string, options?: RequestInit | undefined);
118
+ constructor(baseURL: string, options?: HttpClientOptions | undefined);
104
119
  abstract get(path: string, options: RequestOptions): Promise<HttpClientResponseInterface>;
105
120
  abstract post<Entity = any>(path: string, entity: Entity, options: RequestOptions): Promise<HttpClientResponseInterface>;
106
121
  abstract put<Entity = any>(path: string, entity: Entity, options: RequestOptions): Promise<HttpClientResponseInterface>;
@@ -111,9 +126,23 @@ declare abstract class HttpClient implements HttpClientInterface {
111
126
  static getQueryString(queryObj?: Record<string, any>): string | undefined;
112
127
  static getContentTypeHeader(entity: any): RequestHeaders | undefined;
113
128
  static getBody(entity: any): BodyInit | null | undefined;
114
- static isPathRetryable(path: string): boolean;
129
+ /**
130
+ * Generate a random idempotency key used to make retried write requests
131
+ * safe. Mirrors the behavior of the other WorkOS SDKs (Kotlin, Go), which
132
+ * attach an `Idempotency-Key` header to POST requests that did not already
133
+ * specify one, so a retried request is not applied more than once.
134
+ */
135
+ static generateIdempotencyKey(): string;
136
+ /**
137
+ * Parse a `Retry-After` header value into milliseconds. Supports both the
138
+ * delay-seconds form (e.g. `120`) and the HTTP-date form. The result is
139
+ * capped at {@link MAXIMUM_RETRY_AFTER_TIME_IN_MILLISECONDS}. Returns
140
+ * `null` when the value is absent or unparseable so the caller falls back
141
+ * to the computed exponential backoff.
142
+ */
143
+ static parseRetryAfter(headerValue: string | null | undefined): number | null;
115
144
  private getSleepTimeInMilliseconds;
116
- sleep: (retryAttempt: number) => Promise<unknown>;
145
+ sleep: (retryAttempt: number, retryAfterMs?: number | null) => Promise<unknown>;
117
146
  }
118
147
  //#endregion
119
148
  //#region src/common/crypto/decode-payload.d.ts
@@ -2410,6 +2439,10 @@ interface ApiKey {
2410
2439
  owner: {
2411
2440
  type: 'organization';
2412
2441
  id: string;
2442
+ } | {
2443
+ type: 'user';
2444
+ id: string;
2445
+ organizationId: string;
2413
2446
  };
2414
2447
  /** A descriptive name for the API Key. */
2415
2448
  name: string;
@@ -2430,6 +2463,10 @@ interface SerializedApiKey {
2430
2463
  owner: {
2431
2464
  type: 'organization';
2432
2465
  id: string;
2466
+ } | {
2467
+ type: 'user';
2468
+ id: string;
2469
+ organization_id: string;
2433
2470
  };
2434
2471
  name: string;
2435
2472
  obfuscated_value: string;
@@ -2494,9 +2531,15 @@ interface ValidateApiKeyOptions {
2494
2531
  }
2495
2532
  interface ValidateApiKeyResponse {
2496
2533
  apiKey: ApiKey | null;
2534
+ /**
2535
+ * The ID of the agent registration this API key was issued for. Present only
2536
+ * when the API key is assigned to an agent registration.
2537
+ */
2538
+ agentRegistrationId?: string;
2497
2539
  }
2498
2540
  interface SerializedValidateApiKeyResponse {
2499
2541
  api_key: SerializedApiKey | null;
2542
+ agent_registration_id?: string;
2500
2543
  }
2501
2544
  //#endregion
2502
2545
  //#region src/feature-flags/interfaces/add-flag-target-options.interface.d.ts
@@ -3491,6 +3534,8 @@ interface GetOptions {
3491
3534
  warrantToken?: string;
3492
3535
  /** Skip API key requirement check (for PKCE-safe methods) */
3493
3536
  skipApiKeyCheck?: boolean;
3537
+ /** Maximum number of retries for this request, overriding the client-wide `maxRetries`. */
3538
+ maxRetries?: number;
3494
3539
  }
3495
3540
  //#endregion
3496
3541
  //#region src/common/interfaces/list.interface.d.ts
@@ -3519,6 +3564,8 @@ interface PatchOptions {
3519
3564
  idempotencyKey?: string;
3520
3565
  /** Skip API key requirement check (for PKCE-safe methods) */
3521
3566
  skipApiKeyCheck?: boolean;
3567
+ /** Maximum number of retries for this request, overriding the client-wide `maxRetries`. */
3568
+ maxRetries?: number;
3522
3569
  }
3523
3570
  //#endregion
3524
3571
  //#region src/common/interfaces/post-options.interface.d.ts
@@ -3530,6 +3577,8 @@ interface PostOptions {
3530
3577
  warrantToken?: string;
3531
3578
  /** Skip API key requirement check (for PKCE-safe methods) */
3532
3579
  skipApiKeyCheck?: boolean;
3580
+ /** Maximum number of retries for this request, overriding the client-wide `maxRetries`. */
3581
+ maxRetries?: number;
3533
3582
  }
3534
3583
  //#endregion
3535
3584
  //#region src/common/interfaces/put-options.interface.d.ts
@@ -3540,6 +3589,8 @@ interface PutOptions {
3540
3589
  idempotencyKey?: string;
3541
3590
  /** Skip API key requirement check (for PKCE-safe methods) */
3542
3591
  skipApiKeyCheck?: boolean;
3592
+ /** Maximum number of retries for this request, overriding the client-wide `maxRetries`. */
3593
+ maxRetries?: number;
3543
3594
  }
3544
3595
  //#endregion
3545
3596
  //#region src/common/interfaces/unprocessable-entity-error.interface.d.ts
@@ -3565,6 +3616,13 @@ interface WorkOSOptions {
3565
3616
  fetchFn?: typeof fetch;
3566
3617
  clientId?: string;
3567
3618
  timeout?: number;
3619
+ /**
3620
+ * Maximum number of automatic retries for transient failures (network
3621
+ * errors and 408/429/5xx responses). Retries use exponential backoff with
3622
+ * jitter and honor the `Retry-After` header (capped at 60 seconds).
3623
+ * Defaults to 3. Set to `0` to disable automatic retries.
3624
+ */
3625
+ maxRetries?: number;
3568
3626
  }
3569
3627
  //#endregion
3570
3628
  //#region src/common/interfaces/workos-response-error.interface.d.ts
@@ -3756,12 +3814,7 @@ declare class Actions {
3756
3814
  private signatureProvider;
3757
3815
  constructor(cryptoProvider: CryptoProvider);
3758
3816
  private get computeSignature();
3759
- get verifyHeader(): ({
3760
- payload,
3761
- sigHeader,
3762
- secret,
3763
- tolerance
3764
- }: {
3817
+ get verifyHeader(): ({ payload, sigHeader, secret, tolerance }: {
3765
3818
  payload: WebhookPayload;
3766
3819
  sigHeader: string;
3767
3820
  secret: string;
@@ -3773,12 +3826,7 @@ declare class Actions {
3773
3826
  payload: ResponsePayload;
3774
3827
  signature: string;
3775
3828
  }>;
3776
- constructAction({
3777
- payload,
3778
- sigHeader,
3779
- secret,
3780
- tolerance
3781
- }: {
3829
+ constructAction({ payload, sigHeader, secret, tolerance }: {
3782
3830
  payload: WebhookPayload;
3783
3831
  sigHeader: string;
3784
3832
  secret: string;
@@ -3822,6 +3870,263 @@ declare class PKCE {
3822
3870
  private base64UrlEncode;
3823
3871
  }
3824
3872
  //#endregion
3873
+ //#region src/agents/interfaces/agent-registration.interface.d.ts
3874
+ /** The lifecycle status of an agent registration. */
3875
+ type AgentRegistrationStatus = 'unverified' | 'verified' | 'expired' | 'revoked';
3876
+ /** The kind of agent registration, derived from its authentication method. */
3877
+ type AgentRegistrationKind = 'anonymous' | 'service_auth' | 'identity_assertion';
3878
+ /** The agent identity an agent registration belongs to. */
3879
+ interface AgentIdentity {
3880
+ /** Unique identifier of the agent identity. */
3881
+ id: string;
3882
+ /** The Userland user the agent identity is associated with, if any. */
3883
+ userlandUserId: string | null;
3884
+ /** An ISO 8601 timestamp. */
3885
+ createdAt: string;
3886
+ /** An ISO 8601 timestamp. */
3887
+ updatedAt: string;
3888
+ }
3889
+ interface SerializedAgentIdentity {
3890
+ id: string;
3891
+ userland_user_id: string | null;
3892
+ created_at: string;
3893
+ updated_at: string;
3894
+ }
3895
+ /** The completion of an agent registration claim. */
3896
+ interface AgentRegistrationClaimCompletion {
3897
+ /** Unique identifier of the claim completion. */
3898
+ id: string;
3899
+ /** An ISO 8601 timestamp. */
3900
+ createdAt: string;
3901
+ /** An ISO 8601 timestamp. */
3902
+ updatedAt: string;
3903
+ /** An ISO 8601 timestamp. */
3904
+ expiresAt: string;
3905
+ /** An ISO 8601 timestamp of when the registration was claimed. */
3906
+ claimedAt: string;
3907
+ }
3908
+ interface SerializedAgentRegistrationClaimCompletion {
3909
+ id: string;
3910
+ created_at: string;
3911
+ updated_at: string;
3912
+ expires_at: string;
3913
+ claimed_at: string;
3914
+ }
3915
+ /** The claim state of an agent registration. */
3916
+ interface AgentRegistrationClaim {
3917
+ /** Unique identifier of the claim. */
3918
+ id: string;
3919
+ /** The completion of the claim, or `null` if it has not been claimed. */
3920
+ claimCompletion: AgentRegistrationClaimCompletion | null;
3921
+ /** An ISO 8601 timestamp. */
3922
+ createdAt: string;
3923
+ /** An ISO 8601 timestamp. */
3924
+ updatedAt: string;
3925
+ /** An ISO 8601 timestamp. */
3926
+ expiresAt: string;
3927
+ }
3928
+ interface SerializedAgentRegistrationClaim {
3929
+ id: string;
3930
+ claim_completion: SerializedAgentRegistrationClaimCompletion | null;
3931
+ created_at: string;
3932
+ updated_at: string;
3933
+ expires_at: string;
3934
+ }
3935
+ /** A single agent registration. */
3936
+ interface AgentRegistration {
3937
+ /** Unique identifier of the agent registration. */
3938
+ id: string;
3939
+ /** The agent identity the registration belongs to. */
3940
+ agentIdentity: AgentIdentity;
3941
+ /** Unique identifier of the Organization the registration belongs to. */
3942
+ organizationId: string;
3943
+ /** The lifecycle status of the registration. */
3944
+ status: AgentRegistrationStatus;
3945
+ /** The kind of registration. */
3946
+ kind: AgentRegistrationKind;
3947
+ /** The claim state of the registration, or `null` if it has none. */
3948
+ claim: AgentRegistrationClaim | null;
3949
+ /** An ISO 8601 timestamp. */
3950
+ createdAt: string;
3951
+ /** An ISO 8601 timestamp. */
3952
+ updatedAt: string;
3953
+ }
3954
+ interface SerializedAgentRegistration {
3955
+ id: string;
3956
+ agent_identity: SerializedAgentIdentity;
3957
+ organization_id: string;
3958
+ status: AgentRegistrationStatus;
3959
+ kind: AgentRegistrationKind;
3960
+ claim: SerializedAgentRegistrationClaim | null;
3961
+ created_at: string;
3962
+ updated_at: string;
3963
+ }
3964
+ //#endregion
3965
+ //#region src/agents/interfaces/validate-agent-credential.interface.d.ts
3966
+ /** The type of agent credential to validate. */
3967
+ type AgentCredentialType = 'api_key' | 'access_token';
3968
+ interface ValidateAgentApiKeyOptions {
3969
+ type: 'api_key';
3970
+ /** The opaque API key value to validate. */
3971
+ credential: string;
3972
+ }
3973
+ interface ValidateAgentAccessTokenOptions {
3974
+ type: 'access_token';
3975
+ /** The access token (JWT) to validate. */
3976
+ credential: string;
3977
+ /**
3978
+ * When `true`, additionally calls the WorkOS API to check whether the token
3979
+ * has been revoked. When `false` or omitted, the token is only decoded and
3980
+ * verified locally against the environment's JWKS — a revoked but
3981
+ * not-yet-expired token will still report as valid.
3982
+ */
3983
+ checkForRevoked?: boolean;
3984
+ /**
3985
+ * The expected token audience (`aud`). Defaults to the client ID the WorkOS
3986
+ * client was initialized with. Pass the resource indicator for
3987
+ * resource-scoped tokens, whose audience is the resource rather than the
3988
+ * client ID. When `checkForRevoked` is set, this is also forwarded to the
3989
+ * WorkOS API so the server verifies the `aud` claim against the same value.
3990
+ */
3991
+ audience?: string;
3992
+ }
3993
+ /**
3994
+ * Options for validating an agent credential. `checkForRevoked` and `audience`
3995
+ * are only available for `access_token` credentials.
3996
+ */
3997
+ type ValidateAgentCredentialOptions = ValidateAgentApiKeyOptions | ValidateAgentAccessTokenOptions;
3998
+ interface SerializedValidateAgentCredentialOptions {
3999
+ type: AgentCredentialType;
4000
+ credential: string;
4001
+ audience?: string;
4002
+ }
4003
+ /**
4004
+ * The decoded claims of an agent access token. The required fields are
4005
+ * guaranteed present: the SDK rejects a token that is missing any of them
4006
+ * rather than returning a partial result.
4007
+ */
4008
+ interface AgentAccessTokenClaims {
4009
+ /** The token issuer (`iss`). */
4010
+ issuer: string;
4011
+ /** The token audience (`aud`). */
4012
+ audience: string | string[];
4013
+ /** Unique identifier of the agent registration the token was issued for (`sub`). */
4014
+ registrationId: string;
4015
+ /** The token's unique identifier (`jti`). */
4016
+ jti: string;
4017
+ /** Unique identifier of the Organization the registration belongs to. */
4018
+ organizationId: string;
4019
+ /** The space-separated scopes granted to the token, if any (`scope`). */
4020
+ scope?: string;
4021
+ /** The actor the token acts on behalf of, if any (`act`). */
4022
+ actor?: {
4023
+ sub: string;
4024
+ };
4025
+ /** The time the token expires, in seconds since the epoch (`exp`). */
4026
+ expiresAt: number;
4027
+ /** The time the token was issued, in seconds since the epoch (`iat`). */
4028
+ issuedAt: number;
4029
+ }
4030
+ /**
4031
+ * A verified agent access token payload. The required claims are the ones the
4032
+ * SDK guarantees on a valid agent credential; `scope` and `act` are genuinely
4033
+ * optional on the token. A decoded payload missing any required claim is
4034
+ * rejected as invalid before it reaches this shape.
4035
+ */
4036
+ interface SerializedAgentAccessTokenClaims {
4037
+ iss: string;
4038
+ aud: string | string[];
4039
+ sub: string;
4040
+ jti: string;
4041
+ org_id: string;
4042
+ exp: number;
4043
+ iat: number;
4044
+ scope?: string;
4045
+ act?: {
4046
+ sub: string;
4047
+ };
4048
+ [claim: string]: unknown;
4049
+ }
4050
+ /** A valid agent credential. */
4051
+ interface ValidAgentCredential {
4052
+ valid: true;
4053
+ /** Unique identifier of the agent registration the credential was issued for. */
4054
+ registrationId: string;
4055
+ /**
4056
+ * An ISO 8601 timestamp of when the credential expires, or `null` when it
4057
+ * does not expire.
4058
+ */
4059
+ expiresAt: string | null;
4060
+ /**
4061
+ * The decoded claims of the access token. Populated for `access_token`
4062
+ * credentials; `null` for API keys.
4063
+ */
4064
+ claims: AgentAccessTokenClaims | null;
4065
+ }
4066
+ /** An invalid agent credential. */
4067
+ interface InvalidAgentCredential {
4068
+ valid: false;
4069
+ registrationId: null;
4070
+ expiresAt: null;
4071
+ claims: null;
4072
+ }
4073
+ /** The result of validating an agent credential. */
4074
+ type AgentCredentialValidation = ValidAgentCredential | InvalidAgentCredential;
4075
+ interface SerializedAgentCredentialValidation {
4076
+ valid: boolean;
4077
+ registration_id: string | null;
4078
+ expires_at: string | null;
4079
+ }
4080
+ //#endregion
4081
+ //#region src/agents/agents.d.ts
4082
+ declare class Agents {
4083
+ private readonly workos;
4084
+ private _jwks?;
4085
+ constructor(workos: WorkOS);
4086
+ /**
4087
+ * Get an agent registration
4088
+ *
4089
+ * Retrieve a single agent registration scoped to the API key's environment.
4090
+ * @param id - Unique identifier of the agent registration.
4091
+ *
4092
+ * @example
4093
+ * "agent_reg_01EHZNVPK3SFK441A1RGBFSHRT"
4094
+ *
4095
+ * @returns {Promise<AgentRegistration>}
4096
+ * @throws {NotFoundException} 404
4097
+ */
4098
+ getRegistration(id: string): Promise<AgentRegistration>;
4099
+ /**
4100
+ * Validate an agent credential
4101
+ *
4102
+ * For `access_token` credentials, the token is decoded and verified locally
4103
+ * against the environment's JWKS and its claims are returned — no network
4104
+ * request is made unless `checkForRevoked` is set, in which case the WorkOS
4105
+ * API is also called to confirm the token has not been revoked.
4106
+ *
4107
+ * For `api_key` credentials, the WorkOS API is always called to validate the
4108
+ * key against the environment.
4109
+ *
4110
+ * @param options - Object containing the credential type and value.
4111
+ * @returns {Promise<AgentCredentialValidation>}
4112
+ */
4113
+ validateCredential(options: ValidateAgentCredentialOptions): Promise<AgentCredentialValidation>;
4114
+ private validateAccessToken;
4115
+ private validateCredentialRemotely;
4116
+ /**
4117
+ * Verifies an access token's signature, audience, and time claims against the
4118
+ * environment's JWKS and returns its decoded claims, or `null` when the token
4119
+ * is invalid (bad signature, wrong audience, expired, malformed, or missing
4120
+ * the agent identity claims). Errors that are not JWT validation failures
4121
+ * (e.g. network errors fetching the JWKS) propagate.
4122
+ *
4123
+ * The audience defaults to the client ID; resource-scoped tokens carry the
4124
+ * resource as their audience and require it to be passed explicitly.
4125
+ */
4126
+ private verifyAccessTokenClaims;
4127
+ private getJWKS;
4128
+ }
4129
+ //#endregion
3825
4130
  //#region src/common/utils/pagination.d.ts
3826
4131
  declare class AutoPaginatable<ResourceType, ParametersType extends PaginationOptions = PaginationOptions> {
3827
4132
  protected list: List<ResourceType>;
@@ -4707,23 +5012,527 @@ interface SendSessionResponse {
4707
5012
  declare class Passwordless {
4708
5013
  private readonly workos;
4709
5014
  constructor(workos: WorkOS);
4710
- createSession({
4711
- redirectURI,
4712
- expiresIn,
4713
- ...options
4714
- }: CreatePasswordlessSessionOptions): Promise<PasswordlessSession>;
5015
+ createSession({ redirectURI, expiresIn, ...options }: CreatePasswordlessSessionOptions): Promise<PasswordlessSession>;
4715
5016
  sendSession(sessionId: string): Promise<SendSessionResponse>;
4716
5017
  }
4717
5018
  //#endregion
4718
- //#region src/pipes/interfaces/access-token.interface.d.ts
4719
- interface AccessToken {
5019
+ //#region src/pipes/interfaces/data-integration-credentials-type.interface.d.ts
5020
+ declare const DataIntegrationCredentialsType: {
5021
+ readonly Custom: "custom";
5022
+ readonly Organization: "organization";
5023
+ };
5024
+ type DataIntegrationCredentialsType = (typeof DataIntegrationCredentialsType)[keyof typeof DataIntegrationCredentialsType];
5025
+ //#endregion
5026
+ //#region src/pipes/interfaces/data-integration-credentials-dto.interface.d.ts
5027
+ interface DataIntegrationCredentialsDto {
5028
+ /** The credentials type. `custom` uses your own OAuth app credentials; `organization` has each organization supply its own credentials (configured per-organization). */
5029
+ type: DataIntegrationCredentialsType;
5030
+ /** OAuth client ID for the provider app. Required when `type` is `custom`; omit for `organization`. */
5031
+ clientId?: string;
5032
+ /** OAuth client secret for the provider app. Required when `type` is `custom`; omit for `organization`. */
5033
+ clientSecret?: string;
5034
+ }
5035
+ interface DataIntegrationCredentialsDtoResponse {
5036
+ type: DataIntegrationCredentialsType;
5037
+ client_id?: string;
5038
+ client_secret?: string;
5039
+ }
5040
+ //#endregion
5041
+ //#region src/pipes/interfaces/custom-provider-definition-authenticate-via.interface.d.ts
5042
+ declare const CustomProviderDefinitionAuthenticateVia: {
5043
+ readonly RequestBody: "request_body";
5044
+ readonly BasicAuthHeader: "basic_auth_header";
5045
+ };
5046
+ type CustomProviderDefinitionAuthenticateVia = (typeof CustomProviderDefinitionAuthenticateVia)[keyof typeof CustomProviderDefinitionAuthenticateVia];
5047
+ //#endregion
5048
+ //#region src/pipes/interfaces/custom-provider-definition.interface.d.ts
5049
+ interface CustomProviderDefinition {
5050
+ /** A descriptive name for the custom provider. */
5051
+ name: string;
5052
+ /** The provider's OAuth authorization endpoint. */
5053
+ authorizationUrl: string;
5054
+ /** The provider's OAuth token endpoint. */
5055
+ tokenUrl: string;
5056
+ /** The endpoint used to refresh tokens, if different from the token endpoint. */
5057
+ refreshTokenUrl?: string | null;
5058
+ /** Whether PKCE is used during the authorization code flow. Defaults to `true`. */
5059
+ pkceEnabled?: boolean;
5060
+ /** The separator used to join requested scopes. Defaults to a space. */
5061
+ requestScopeSeparator?: string;
5062
+ /** Whether at least one scope must be selected when connecting an account. Defaults to `false`. */
5063
+ scopesRequired?: boolean;
5064
+ /** Whether a client secret is required for this provider. Defaults to `true`. */
5065
+ clientSecretRequired?: boolean;
5066
+ /** Additional static query parameters appended to the authorization request. */
5067
+ additionalAuthorizationParameters?: Record<string, string>;
5068
+ /** The Content-Type used when exchanging the token request. */
5069
+ tokenBodyContentType?: string;
5070
+ /** How client credentials are sent when exchanging authorization codes and refreshing tokens. */
5071
+ authenticateVia?: CustomProviderDefinitionAuthenticateVia;
5072
+ }
5073
+ interface CustomProviderDefinitionResponse {
5074
+ name: string;
5075
+ authorization_url: string;
5076
+ token_url: string;
5077
+ refresh_token_url?: string | null;
5078
+ pkce_enabled?: boolean;
5079
+ request_scope_separator?: string;
5080
+ scopes_required?: boolean;
5081
+ client_secret_required?: boolean;
5082
+ additional_authorization_parameters?: Record<string, string>;
5083
+ token_body_content_type?: string;
5084
+ authenticate_via?: CustomProviderDefinitionAuthenticateVia;
5085
+ }
5086
+ //#endregion
5087
+ //#region src/pipes/interfaces/create-data-integration-options.interface.d.ts
5088
+ interface CreateDataIntegrationOptions {
5089
+ /** The provider to create a Data Integration for. For a built-in provider use its slug (e.g. `github`, `slack`). For a custom provider, this is the new provider slug and `custom_provider` must be supplied. A custom provider slug cannot shadow an existing global provider slug. */
5090
+ provider: string;
5091
+ /** An optional description of the Data Integration. */
5092
+ description?: string | null;
5093
+ /** Whether the Data Integration is enabled. Defaults to `false`. */
5094
+ enabled?: boolean;
5095
+ /** The OAuth scopes to request for the Data Integration. Defaults to the provider's configured scopes when omitted. */
5096
+ scopes?: string[] | null;
5097
+ /** The credentials to configure for the Data Integration. Required for both built-in and custom providers. */
5098
+ credentials?: DataIntegrationCredentialsDto;
5099
+ /** The OAuth definition for a custom provider. Supply this to define a custom provider; omit it to create an integration for a built-in provider. */
5100
+ customProvider?: CustomProviderDefinition;
5101
+ }
5102
+ //#endregion
5103
+ //#region src/pipes/interfaces/get-data-integration-options.interface.d.ts
5104
+ interface GetDataIntegrationOptions {
5105
+ /** The slug identifier of the data integration. */
5106
+ slug: string;
5107
+ }
5108
+ //#endregion
5109
+ //#region src/pipes/interfaces/update-custom-provider-definition-authenticate-via.interface.d.ts
5110
+ declare const UpdateCustomProviderDefinitionAuthenticateVia: {
5111
+ readonly RequestBody: "request_body";
5112
+ readonly BasicAuthHeader: "basic_auth_header";
5113
+ };
5114
+ type UpdateCustomProviderDefinitionAuthenticateVia = (typeof UpdateCustomProviderDefinitionAuthenticateVia)[keyof typeof UpdateCustomProviderDefinitionAuthenticateVia];
5115
+ //#endregion
5116
+ //#region src/pipes/interfaces/update-custom-provider-definition.interface.d.ts
5117
+ interface UpdateCustomProviderDefinition {
5118
+ /** A descriptive name for the custom provider. */
5119
+ name?: string;
5120
+ /** The provider's OAuth authorization endpoint. */
5121
+ authorizationUrl?: string;
5122
+ /** The provider's OAuth token endpoint. */
5123
+ tokenUrl?: string;
5124
+ /** The endpoint used to refresh tokens, if different from the token endpoint. */
5125
+ refreshTokenUrl?: string | null;
5126
+ /** Whether PKCE is used during the authorization code flow. */
5127
+ pkceEnabled?: boolean;
5128
+ /** The separator used to join requested scopes. */
5129
+ requestScopeSeparator?: string;
5130
+ /** Whether at least one scope must be selected when connecting an account. */
5131
+ scopesRequired?: boolean;
5132
+ /** Whether a client secret is required for this provider. */
5133
+ clientSecretRequired?: boolean;
5134
+ /** Additional static query parameters appended to the authorization request. */
5135
+ additionalAuthorizationParameters?: Record<string, string>;
5136
+ /** The Content-Type used when exchanging the token request. */
5137
+ tokenBodyContentType?: string;
5138
+ /** How client credentials are sent when exchanging authorization codes and refreshing tokens. */
5139
+ authenticateVia?: UpdateCustomProviderDefinitionAuthenticateVia;
5140
+ }
5141
+ interface UpdateCustomProviderDefinitionResponse {
5142
+ name?: string;
5143
+ authorization_url?: string;
5144
+ token_url?: string;
5145
+ refresh_token_url?: string | null;
5146
+ pkce_enabled?: boolean;
5147
+ request_scope_separator?: string;
5148
+ scopes_required?: boolean;
5149
+ client_secret_required?: boolean;
5150
+ additional_authorization_parameters?: Record<string, string>;
5151
+ token_body_content_type?: string;
5152
+ authenticate_via?: UpdateCustomProviderDefinitionAuthenticateVia;
5153
+ }
5154
+ //#endregion
5155
+ //#region src/pipes/interfaces/update-data-integration-options.interface.d.ts
5156
+ interface UpdateDataIntegrationOptions {
5157
+ /** The slug identifier of the data integration. */
5158
+ slug: string;
5159
+ /** An optional description of the Data Integration. */
5160
+ description?: string | null;
5161
+ /** Whether the Data Integration is enabled. */
5162
+ enabled?: boolean;
5163
+ /** The OAuth scopes to request for the Data Integration. Pass `null` to reset to the provider's configured scopes. */
5164
+ scopes?: string[] | null;
5165
+ /** New credentials for the Data Integration. When provided, rotates the stored client secret. */
5166
+ credentials?: DataIntegrationCredentialsDto;
5167
+ /** Updates to a custom provider's OAuth definition. Only valid for custom-provider integrations. */
5168
+ customProvider?: UpdateCustomProviderDefinition;
5169
+ }
5170
+ //#endregion
5171
+ //#region src/pipes/interfaces/delete-data-integration-options.interface.d.ts
5172
+ interface DeleteDataIntegrationOptions {
5173
+ /** The slug identifier of the data integration. */
5174
+ slug: string;
5175
+ }
5176
+ //#endregion
5177
+ //#region src/pipes/interfaces/update-data-integration-api-key-options.interface.d.ts
5178
+ interface UpdateDataIntegrationApiKeyOptions {
5179
+ /** The identifier of the integration. */
5180
+ slug: string;
5181
+ /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
5182
+ userId: string;
5183
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. */
5184
+ organizationId?: string;
5185
+ /** The API key secret to store for this integration. */
5186
+ secret: string;
5187
+ }
5188
+ //#endregion
5189
+ //#region src/pipes/interfaces/authorize-data-integration-options.interface.d.ts
5190
+ interface AuthorizeDataIntegrationOptions {
5191
+ /** The slug identifier of the provider (e.g., `github`, `slack`, `notion`). */
5192
+ slug: string;
5193
+ /** The ID of the user to authorize. */
5194
+ userId: string;
5195
+ /** An organization ID to scope the authorization to a specific organization. */
5196
+ organizationId?: string;
5197
+ /** The URL to redirect the user to after authorization. */
5198
+ returnTo?: string;
5199
+ }
5200
+ //#endregion
5201
+ //#region src/pipes/interfaces/create-data-integration-credential-options.interface.d.ts
5202
+ interface CreateDataIntegrationCredentialOptions {
5203
+ /** The identifier of the integration. */
5204
+ slug: string;
5205
+ /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
5206
+ userId: string;
5207
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. */
5208
+ organizationId?: string;
5209
+ }
5210
+ //#endregion
5211
+ //#region src/pipes/interfaces/get-access-token-options.interface.d.ts
5212
+ interface GetAccessTokenOptions {
5213
+ /** The identifier of the integration. */
5214
+ provider: string;
5215
+ /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
5216
+ userId: string;
5217
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. */
5218
+ organizationId?: string | null;
5219
+ }
5220
+ //#endregion
5221
+ //#region src/pipes/interfaces/get-user-connected-account-options.interface.d.ts
5222
+ interface GetUserConnectedAccountOptions {
5223
+ /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
5224
+ userId: string;
5225
+ /** The slug identifier of the provider (e.g., `github`, `slack`, `notion`). */
5226
+ slug: string;
5227
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter if the connection is scoped to an organization. */
5228
+ organizationId?: string;
5229
+ }
5230
+ //#endregion
5231
+ //#region src/pipes/interfaces/connected-account-state.interface.d.ts
5232
+ declare const ConnectedAccountState: {
5233
+ readonly Connected: "connected";
5234
+ readonly NeedsReauthorization: "needs_reauthorization";
5235
+ };
5236
+ type ConnectedAccountState = (typeof ConnectedAccountState)[keyof typeof ConnectedAccountState];
5237
+ //#endregion
5238
+ //#region src/pipes/interfaces/create-user-connected-account-options.interface.d.ts
5239
+ interface CreateUserConnectedAccountOptions {
5240
+ /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
5241
+ userId: string;
5242
+ /** The slug identifier of the provider (e.g., `github`, `slack`, `notion`). */
5243
+ slug: string;
5244
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter if the connection is scoped to an organization. */
5245
+ organizationId?: string;
5246
+ /** The OAuth access token for the connected account. */
5247
+ accessToken?: string;
5248
+ /** The OAuth refresh token for the connected account. */
5249
+ refreshToken?: string;
5250
+ /** The ISO-8601 timestamp when the access token expires. Required when `access_token` is provided for tokens that expire. */
5251
+ expiresAt?: Date;
5252
+ /** The OAuth scopes granted for this connection. */
5253
+ scopes?: string[];
5254
+ /** Explicitly set the state of the connected account. When omitted, the state is derived from the token combination provided. */
5255
+ state?: ConnectedAccountState;
5256
+ }
5257
+ //#endregion
5258
+ //#region src/pipes/interfaces/update-user-connected-account-options.interface.d.ts
5259
+ interface UpdateUserConnectedAccountOptions {
5260
+ /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
5261
+ userId: string;
5262
+ /** The slug identifier of the provider (e.g., `github`, `slack`, `notion`). */
5263
+ slug: string;
5264
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter if the connection is scoped to an organization. */
5265
+ organizationId?: string;
5266
+ /** The OAuth access token for the connected account. */
5267
+ accessToken?: string;
5268
+ /** The OAuth refresh token for the connected account. */
5269
+ refreshToken?: string;
5270
+ /** The ISO-8601 timestamp when the access token expires. Required when `access_token` is provided for tokens that expire. */
5271
+ expiresAt?: Date;
5272
+ /** The OAuth scopes granted for this connection. */
5273
+ scopes?: string[];
5274
+ /** Explicitly set the state of the connected account. When omitted, the state is derived from the token combination provided. */
5275
+ state?: ConnectedAccountState;
5276
+ }
5277
+ //#endregion
5278
+ //#region src/pipes/interfaces/delete-user-connected-account-options.interface.d.ts
5279
+ interface DeleteUserConnectedAccountOptions {
5280
+ /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
5281
+ userId: string;
5282
+ /** The slug identifier of the provider (e.g., `github`, `slack`, `notion`). */
5283
+ slug: string;
5284
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter if the connection is scoped to an organization. */
5285
+ organizationId?: string;
5286
+ }
5287
+ //#endregion
5288
+ //#region src/pipes/interfaces/list-user-data-providers-options.interface.d.ts
5289
+ interface ListUserDataProvidersOptions {
5290
+ /** A [User](https://workos.com/docs/reference/authkit/user) identifier to list providers and connected accounts for. */
5291
+ userId: string;
5292
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to filter connections for a specific organization. */
5293
+ organizationId?: string;
5294
+ }
5295
+ //#endregion
5296
+ //#region src/pipes/interfaces/data-integration-credential-type.interface.d.ts
5297
+ declare const DataIntegrationCredentialType: {
5298
+ readonly Custom: "custom";
5299
+ readonly Organization: "organization";
5300
+ };
5301
+ type DataIntegrationCredentialType = (typeof DataIntegrationCredentialType)[keyof typeof DataIntegrationCredentialType];
5302
+ //#endregion
5303
+ //#region src/pipes/interfaces/data-integration-credential.interface.d.ts
5304
+ /** The credentials configured for the Data Integration. */
5305
+ interface DataIntegrationCredential {
5306
+ /** The credentials type. `custom` uses your own OAuth app credentials; `organization` has each organization supply its own credentials (so `client_id`/`redacted_client_secret` are null on the integration itself). */
5307
+ type: DataIntegrationCredentialType;
5308
+ /** The OAuth client ID configured for the provider app. Null for `organization` credentials. */
5309
+ clientId: string | null;
5310
+ /** The last four characters of the OAuth client secret. The full secret is never returned. Null for `organization` credentials. */
5311
+ redactedClientSecret: string | null;
5312
+ }
5313
+ interface DataIntegrationCredentialResponse {
5314
+ type: DataIntegrationCredentialType;
5315
+ client_id: string | null;
5316
+ redacted_client_secret: string | null;
5317
+ }
5318
+ //#endregion
5319
+ //#region src/pipes/interfaces/data-integration-custom-provider-authenticate-via.interface.d.ts
5320
+ declare const DataIntegrationCustomProviderAuthenticateVia: {
5321
+ readonly RequestBody: "request_body";
5322
+ readonly BasicAuthHeader: "basic_auth_header";
5323
+ };
5324
+ type DataIntegrationCustomProviderAuthenticateVia = (typeof DataIntegrationCustomProviderAuthenticateVia)[keyof typeof DataIntegrationCustomProviderAuthenticateVia];
5325
+ //#endregion
5326
+ //#region src/pipes/interfaces/data-integration-custom-provider.interface.d.ts
5327
+ interface DataIntegrationCustomProvider {
5328
+ /** A descriptive name for the custom provider. */
5329
+ name: string;
5330
+ /** The provider's OAuth authorization endpoint. */
5331
+ authorizationUrl: string | null;
5332
+ /** The provider's OAuth token endpoint. */
5333
+ tokenUrl: string | null;
5334
+ /** The endpoint used to refresh tokens, if different from the token endpoint. */
5335
+ refreshTokenUrl: string | null;
5336
+ /** Whether PKCE is used during the authorization code flow. */
5337
+ pkceEnabled: boolean;
5338
+ /** The separator used to join requested scopes. */
5339
+ requestScopeSeparator: string;
5340
+ /** Whether at least one scope must be selected when connecting an account. */
5341
+ scopesRequired: boolean;
5342
+ /** Whether a client secret is required for this provider. */
5343
+ clientSecretRequired: boolean;
5344
+ /** Additional static query parameters appended to the authorization request. */
5345
+ additionalAuthorizationParameters: Record<string, string>;
5346
+ /** The Content-Type used when exchanging the token request. */
5347
+ tokenBodyContentType: string;
5348
+ /** How client credentials are sent when exchanging authorization codes and refreshing tokens. */
5349
+ authenticateVia: DataIntegrationCustomProviderAuthenticateVia;
5350
+ }
5351
+ interface DataIntegrationCustomProviderResponse {
5352
+ name: string;
5353
+ authorization_url: string | null;
5354
+ token_url: string | null;
5355
+ refresh_token_url: string | null;
5356
+ pkce_enabled: boolean;
5357
+ request_scope_separator: string;
5358
+ scopes_required: boolean;
5359
+ client_secret_required: boolean;
5360
+ additional_authorization_parameters: Record<string, string>;
5361
+ token_body_content_type: string;
5362
+ authenticate_via: DataIntegrationCustomProviderAuthenticateVia;
5363
+ }
5364
+ //#endregion
5365
+ //#region src/pipes/interfaces/data-integration-state.interface.d.ts
5366
+ declare const DataIntegrationState: {
5367
+ readonly Valid: "valid";
5368
+ readonly Invalid: "invalid";
5369
+ readonly Requested: "requested";
5370
+ };
5371
+ type DataIntegrationState = (typeof DataIntegrationState)[keyof typeof DataIntegrationState];
5372
+ //#endregion
5373
+ //#region src/pipes/interfaces/data-integration.interface.d.ts
5374
+ interface DataIntegration {
5375
+ /** Distinguishes the Data Integration object. */
5376
+ object: 'data_integration';
5377
+ /** Unique identifier of the Data Integration. */
5378
+ id: string;
5379
+ /** The provider slug for this Data Integration. */
5380
+ slug: string;
5381
+ /** The integration type derived from the provider. */
5382
+ integrationType: string;
5383
+ /** An optional description of the Data Integration. */
5384
+ description: string | null;
5385
+ /** Whether the Data Integration is enabled. */
5386
+ enabled: boolean;
5387
+ /** The state of the Data Integration. */
5388
+ state: DataIntegrationState;
5389
+ /** The OAuth scopes configured for the Data Integration. `null` when the provider's configured scopes are used. */
5390
+ scopes: string[] | null;
5391
+ /** The OAuth redirect URI to register with the provider when configuring the custom application. */
5392
+ redirectUri: string;
5393
+ /** The credentials configured for the Data Integration. */
5394
+ credentials: DataIntegrationCredential;
5395
+ /** The OAuth definition when this is a custom provider; `null` for built-in providers. */
5396
+ customProvider: DataIntegrationCustomProvider | null;
5397
+ /** An ISO 8601 timestamp. */
5398
+ createdAt: Date;
5399
+ /** An ISO 8601 timestamp. */
5400
+ updatedAt: Date;
5401
+ }
5402
+ interface DataIntegrationResponse {
5403
+ object: 'data_integration';
5404
+ id: string;
5405
+ slug: string;
5406
+ integration_type: string;
5407
+ description: string | null;
5408
+ enabled: boolean;
5409
+ state: DataIntegrationState;
5410
+ scopes: string[] | null;
5411
+ redirect_uri: string;
5412
+ credentials: DataIntegrationCredentialResponse;
5413
+ custom_provider: DataIntegrationCustomProviderResponse | null;
5414
+ created_at: string;
5415
+ updated_at: string;
5416
+ }
5417
+ //#endregion
5418
+ //#region src/pipes/interfaces/connected-account-auth-method.interface.d.ts
5419
+ declare const ConnectedAccountAuthMethod: {
5420
+ readonly OAuth: "oauth";
5421
+ readonly ApiKey: "api_key";
5422
+ };
5423
+ type ConnectedAccountAuthMethod = (typeof ConnectedAccountAuthMethod)[keyof typeof ConnectedAccountAuthMethod];
5424
+ //#endregion
5425
+ //#region src/pipes/interfaces/connected-account.interface.d.ts
5426
+ interface ConnectedAccount {
5427
+ /** Distinguishes the connected account object. */
5428
+ object: 'connected_account';
5429
+ /** The unique identifier of the connected account. */
5430
+ id: string;
5431
+ /** The [User](https://workos.com/docs/reference/authkit/user) identifier associated with this connection. */
5432
+ userId: string | null;
5433
+ /** The [Organization](https://workos.com/docs/reference/organization) identifier associated with this connection, or `null` if not scoped to an organization. */
5434
+ organizationId: string | null;
5435
+ /** The OAuth scopes granted for this connection. */
5436
+ scopes: string[];
5437
+ /** The authentication method used for this connection (`oauth` or `api_key`). Defaults to `oauth` if absent. */
5438
+ authMethod?: ConnectedAccountAuthMethod;
5439
+ /** The last four characters of the API key, or `null` for OAuth connections. */
5440
+ apiKeyLast4?: string | null;
5441
+ /**
5442
+ * The state of the connected account:
5443
+ * - `connected`: The connection is active and tokens are valid.
5444
+ * - `needs_reauthorization`: The user needs to reauthorize the connection, typically because required scopes have changed.
5445
+ * - `disconnected`: The connection has been disconnected.
5446
+ */
5447
+ state: ConnectedAccountState;
5448
+ /** The timestamp when the connection was created. */
5449
+ createdAt: string;
5450
+ /** The timestamp when the connection was last updated. */
5451
+ updatedAt: string;
5452
+ }
5453
+ interface ConnectedAccountResponse {
5454
+ object: 'connected_account';
5455
+ id: string;
5456
+ user_id: string | null;
5457
+ organization_id: string | null;
5458
+ scopes: string[];
5459
+ auth_method?: ConnectedAccountAuthMethod;
5460
+ api_key_last_4?: string | null;
5461
+ state: ConnectedAccountState;
5462
+ created_at: string;
5463
+ updated_at: string;
5464
+ }
5465
+ //#endregion
5466
+ //#region src/pipes/interfaces/data-integration-authorize-url-response.interface.d.ts
5467
+ interface DataIntegrationAuthorizeUrlResponse {
5468
+ /** The OAuth authorization URL to redirect the user to. */
5469
+ url: string;
5470
+ }
5471
+ interface DataIntegrationAuthorizeUrlResponseWire {
5472
+ url: string;
5473
+ }
5474
+ //#endregion
5475
+ //#region src/pipes/interfaces/data-integration-credentials-response-credential.interface.d.ts
5476
+ /** The credential object containing the vended secret. */
5477
+ interface DataIntegrationCredentialsResponseCredential {
5478
+ /** Distinguishes the credential object. */
5479
+ object: 'credential';
5480
+ /** The authentication method for this credential. Additional values may be added in the future; handle unknown values gracefully. */
5481
+ authMethod: 'oauth';
5482
+ /** The OAuth access token. */
5483
+ value: string;
5484
+ /** The ISO-8601 formatted timestamp indicating when the credential expires. */
5485
+ expiresAt: string | null;
5486
+ /** The scopes granted to the access token. */
5487
+ scopes: string[];
5488
+ /** If the integration has requested scopes that aren't present on the access token, they're listed here. */
5489
+ missingScopes: string[];
5490
+ }
5491
+ interface DataIntegrationCredentialsResponseCredentialResponse {
5492
+ object: 'credential';
5493
+ auth_method: 'oauth';
5494
+ value: string;
5495
+ expires_at: string | null;
5496
+ scopes: string[];
5497
+ missing_scopes: string[];
5498
+ }
5499
+ //#endregion
5500
+ //#region src/pipes/interfaces/data-integration-credentials-response-error.interface.d.ts
5501
+ declare const DataIntegrationCredentialsResponseError: {
5502
+ readonly NotInstalled: "not_installed";
5503
+ readonly NeedsReauthorization: "needs_reauthorization";
5504
+ };
5505
+ type DataIntegrationCredentialsResponseError = (typeof DataIntegrationCredentialsResponseError)[keyof typeof DataIntegrationCredentialsResponseError];
5506
+ //#endregion
5507
+ //#region src/pipes/interfaces/data-integration-credentials-response.interface.d.ts
5508
+ interface DataIntegrationCredentialsResponse {
5509
+ /** Indicates credentials are available. */
5510
+ active?: true;
5511
+ /** The credential object containing the vended secret. */
5512
+ credential?: DataIntegrationCredentialsResponseCredential;
5513
+ /**
5514
+ * The reason credentials are unavailable. Additional values may be added in the future; handle unknown values gracefully.
5515
+ * - `"not_installed"`: The user does not have the integration installed.
5516
+ * - `"needs_reauthorization"`: The user needs to reauthorize the integration.
5517
+ */
5518
+ error?: DataIntegrationCredentialsResponseError;
5519
+ }
5520
+ //#endregion
5521
+ //#region src/pipes/interfaces/data-integration-access-token-response-access-token.interface.d.ts
5522
+ /** The [access token](https://workos.com/docs/reference/pipes/access-token) object, present when `active` is `true`. */
5523
+ interface DataIntegrationAccessTokenResponseAccessToken {
5524
+ /** Distinguishes the access token object. */
4720
5525
  object: 'access_token';
5526
+ /** The OAuth access token for the connected integration. */
4721
5527
  accessToken: string;
5528
+ /** The ISO-8601 formatted timestamp indicating when the access token expires. */
4722
5529
  expiresAt: Date | null;
5530
+ /** The scopes granted to the access token. */
4723
5531
  scopes: string[];
5532
+ /** If the integration has requested scopes that aren't present on the access token, they're listed here. */
4724
5533
  missingScopes: string[];
4725
5534
  }
4726
- interface SerializedAccessToken {
5535
+ interface DataIntegrationAccessTokenResponseAccessTokenResponse {
4727
5536
  object: 'access_token';
4728
5537
  access_token: string;
4729
5538
  expires_at: string | null;
@@ -4731,44 +5540,412 @@ interface SerializedAccessToken {
4731
5540
  missing_scopes: string[];
4732
5541
  }
4733
5542
  //#endregion
4734
- //#region src/pipes/interfaces/get-access-token.interface.d.ts
4735
- interface GetAccessTokenOptions {
4736
- userId: string;
4737
- organizationId?: string | null;
5543
+ //#region src/pipes/interfaces/data-integration-access-token-response.interface.d.ts
5544
+ type DataIntegrationAccessTokenResponse = {
5545
+ active: true;
5546
+ accessToken: DataIntegrationAccessTokenResponseAccessToken;
5547
+ } | {
5548
+ active: false;
5549
+ error: 'needs_reauthorization' | 'not_installed';
5550
+ };
5551
+ type DataIntegrationAccessTokenResponseWire = {
5552
+ active: true;
5553
+ access_token: DataIntegrationAccessTokenResponseAccessTokenResponse;
5554
+ } | {
5555
+ active: false;
5556
+ error: 'needs_reauthorization' | 'not_installed';
5557
+ };
5558
+ //#endregion
5559
+ //#region src/pipes/interfaces/data-integrations-list-response-data-connected-account-auth-method.interface.d.ts
5560
+ declare const DataIntegrationsListResponseDataConnectedAccountAuthMethod: {
5561
+ readonly OAuth: "oauth";
5562
+ readonly ApiKey: "api_key";
5563
+ };
5564
+ type DataIntegrationsListResponseDataConnectedAccountAuthMethod = (typeof DataIntegrationsListResponseDataConnectedAccountAuthMethod)[keyof typeof DataIntegrationsListResponseDataConnectedAccountAuthMethod];
5565
+ //#endregion
5566
+ //#region src/pipes/interfaces/data-integrations-list-response-data-connected-account-state.interface.d.ts
5567
+ declare const DataIntegrationsListResponseDataConnectedAccountState: {
5568
+ readonly Connected: "connected";
5569
+ readonly NeedsReauthorization: "needs_reauthorization";
5570
+ readonly Disconnected: "disconnected";
5571
+ };
5572
+ type DataIntegrationsListResponseDataConnectedAccountState = (typeof DataIntegrationsListResponseDataConnectedAccountState)[keyof typeof DataIntegrationsListResponseDataConnectedAccountState];
5573
+ //#endregion
5574
+ //#region src/pipes/interfaces/data-integrations-list-response-data-connected-account.interface.d.ts
5575
+ interface DataIntegrationsListResponseDataConnectedAccount {
5576
+ /** Distinguishes the connected account object. */
5577
+ object: 'connected_account';
5578
+ /** The unique identifier of the connected account. */
5579
+ id: string;
5580
+ /** The [User](https://workos.com/docs/reference/authkit/user) identifier associated with this connection. */
5581
+ userId: string | null;
5582
+ /** The [Organization](https://workos.com/docs/reference/organization) identifier associated with this connection, or `null` if not scoped to an organization. */
5583
+ organizationId: string | null;
5584
+ /** The OAuth scopes granted for this connection. */
5585
+ scopes: string[];
5586
+ /** The authentication method used for this connection (`oauth` or `api_key`). Defaults to `oauth` if absent. */
5587
+ authMethod?: DataIntegrationsListResponseDataConnectedAccountAuthMethod;
5588
+ /** The last four characters of the API key, or `null` for OAuth connections. */
5589
+ apiKeyLast4?: string | null;
5590
+ /**
5591
+ * The state of the connected account:
5592
+ * - `connected`: The connection is active and tokens are valid.
5593
+ * - `needs_reauthorization`: The user needs to reauthorize the connection, typically because required scopes have changed.
5594
+ * - `disconnected`: The connection has been disconnected.
5595
+ */
5596
+ state: DataIntegrationsListResponseDataConnectedAccountState;
5597
+ /** The timestamp when the connection was created. */
5598
+ createdAt: string;
5599
+ /** The timestamp when the connection was last updated. */
5600
+ updatedAt: string;
5601
+ /**
5602
+ * Use `user_id` instead.
5603
+ * @deprecated
5604
+ */
5605
+ userlandUserId: string | null;
4738
5606
  }
4739
- interface SerializedGetAccessTokenOptions {
4740
- user_id: string;
4741
- organization_id?: string | null;
5607
+ interface DataIntegrationsListResponseDataConnectedAccountResponse {
5608
+ object: 'connected_account';
5609
+ id: string;
5610
+ user_id: string | null;
5611
+ organization_id: string | null;
5612
+ scopes: string[];
5613
+ auth_method?: DataIntegrationsListResponseDataConnectedAccountAuthMethod;
5614
+ api_key_last_4?: string | null;
5615
+ state: DataIntegrationsListResponseDataConnectedAccountState;
5616
+ created_at: string;
5617
+ updated_at: string;
5618
+ userland_user_id: string | null;
4742
5619
  }
4743
- interface GetAccessTokenSuccessResponse {
4744
- active: true;
4745
- accessToken: AccessToken;
5620
+ //#endregion
5621
+ //#region src/pipes/interfaces/data-integrations-list-response-data-auth-methods.interface.d.ts
5622
+ declare const DataIntegrationsListResponseDataAuthMethods: {
5623
+ readonly OAuth: "oauth";
5624
+ readonly ApiKey: "api_key";
5625
+ };
5626
+ type DataIntegrationsListResponseDataAuthMethods = (typeof DataIntegrationsListResponseDataAuthMethods)[keyof typeof DataIntegrationsListResponseDataAuthMethods];
5627
+ //#endregion
5628
+ //#region src/pipes/interfaces/data-integrations-list-response-data-ownership.interface.d.ts
5629
+ declare const DataIntegrationsListResponseDataOwnership: {
5630
+ readonly UserlandUser: "userland_user";
5631
+ readonly Organization: "organization";
5632
+ };
5633
+ type DataIntegrationsListResponseDataOwnership = (typeof DataIntegrationsListResponseDataOwnership)[keyof typeof DataIntegrationsListResponseDataOwnership];
5634
+ //#endregion
5635
+ //#region src/pipes/interfaces/data-integrations-list-response-data.interface.d.ts
5636
+ interface DataIntegrationsListResponseData {
5637
+ /** Distinguishes the data provider object. */
5638
+ object: 'data_provider';
5639
+ /** The unique identifier of the provider. */
5640
+ id: string;
5641
+ /** The display name of the provider (e.g., "GitHub", "Slack"). */
5642
+ name: string;
5643
+ /** A description of the provider explaining how it will be used, if configured. */
5644
+ description: string | null;
5645
+ /** The slug identifier used in API calls (e.g., `github`, `slack`, `notion`). */
5646
+ slug: string;
5647
+ /** The type of integration (e.g., `github`, `slack`). */
5648
+ integrationType: string;
5649
+ /** The type of credentials used by the provider (e.g., `oauth2`). */
5650
+ credentialsType: string;
5651
+ /** The OAuth scopes configured for this provider, or `null` if none are configured. */
5652
+ scopes: string[] | null;
5653
+ /** The authentication methods supported by this provider (`oauth`, `api_key`, or both). Defaults to `["oauth"]` if absent. */
5654
+ authMethods?: DataIntegrationsListResponseDataAuthMethods[];
5655
+ /** Whether the provider is owned by a user or organization. */
5656
+ ownership: DataIntegrationsListResponseDataOwnership;
5657
+ /** The timestamp when the provider was created. */
5658
+ createdAt: string;
5659
+ /** The timestamp when the provider was last updated. */
5660
+ updatedAt: string;
5661
+ /** The user's [connected account](https://workos.com/docs/reference/pipes/connected-account) for this provider, or `null` if the user has not connected. */
5662
+ connectedAccount: DataIntegrationsListResponseDataConnectedAccount | null;
4746
5663
  }
4747
- interface GetAccessTokenFailureResponse {
4748
- active: false;
4749
- error: 'not_installed' | 'needs_reauthorization';
5664
+ interface DataIntegrationsListResponseDataResponse {
5665
+ object: 'data_provider';
5666
+ id: string;
5667
+ name: string;
5668
+ description: string | null;
5669
+ slug: string;
5670
+ integration_type: string;
5671
+ credentials_type: string;
5672
+ scopes: string[] | null;
5673
+ auth_methods?: DataIntegrationsListResponseDataAuthMethods[];
5674
+ ownership: DataIntegrationsListResponseDataOwnership;
5675
+ created_at: string;
5676
+ updated_at: string;
5677
+ connected_account: DataIntegrationsListResponseDataConnectedAccountResponse | null;
4750
5678
  }
4751
- type GetAccessTokenResponse = GetAccessTokenSuccessResponse | GetAccessTokenFailureResponse;
4752
- interface SerializedGetAccessTokenSuccessResponse {
4753
- active: true;
4754
- access_token: SerializedAccessToken;
5679
+ //#endregion
5680
+ //#region src/pipes/interfaces/data-integrations-list-response.interface.d.ts
5681
+ interface DataIntegrationsListResponse {
5682
+ /** Indicates this is a list response. */
5683
+ object: 'list';
5684
+ /** A list of [providers](https://workos.com/docs/reference/pipes/provider), each including a [`connected_account`](https://workos.com/docs/reference/pipes/connected-account) field with the user's connection status. */
5685
+ data: DataIntegrationsListResponseData[];
4755
5686
  }
4756
- interface SerializedGetAccessTokenFailureResponse {
4757
- active: false;
4758
- error: 'not_installed' | 'needs_reauthorization';
5687
+ interface DataIntegrationsListResponseWire {
5688
+ object: 'list';
5689
+ data: DataIntegrationsListResponseDataResponse[];
4759
5690
  }
4760
- type SerializedGetAccessTokenResponse = SerializedGetAccessTokenSuccessResponse | SerializedGetAccessTokenFailureResponse;
4761
5691
  //#endregion
4762
5692
  //#region src/pipes/pipes.d.ts
4763
5693
  declare class Pipes {
4764
5694
  private readonly workos;
4765
5695
  constructor(workos: WorkOS);
4766
- getAccessToken({
4767
- provider,
4768
- ...options
4769
- }: GetAccessTokenOptions & {
4770
- provider: string;
4771
- }): Promise<GetAccessTokenResponse>;
5696
+ /**
5697
+ * List data integrations
5698
+ *
5699
+ * Lists the environment's data integrations configured with `custom` or `organization` credentials, including custom providers.
5700
+ * @param options - Pagination and filter options.
5701
+ * @returns {Promise<AutoPaginatable<DataIntegration, PaginationOptions>>}
5702
+ * @throws {UnauthorizedException} 401
5703
+ */
5704
+ listDataIntegrations(options?: PaginationOptions): Promise<AutoPaginatable<DataIntegration, PaginationOptions>>;
5705
+ /**
5706
+ * Create a data integration
5707
+ *
5708
+ * Creates a data integration for a provider. Set `credentials.type` to `custom` to use your own OAuth app credentials, or `organization` to have each organization supply its own. For a built-in provider, pass its slug as `provider`. For a custom provider, pass a new slug plus a `custom_provider` definition.
5709
+ * @param options - Object containing provider.
5710
+ * @param options.provider - The provider to create a Data Integration for. For a built-in provider use its slug (e.g. `github`, `slack`). For a custom provider, this is the new provider slug and `custom_provider` must be supplied. A custom provider slug cannot shadow an existing global provider slug.
5711
+ * @example "github"
5712
+ * @param options.description - An optional description of the Data Integration.
5713
+ * @example "Production GitHub app"
5714
+ * @param options.enabled - Whether the Data Integration is enabled. Defaults to `false`.
5715
+ * @example true
5716
+ * @param options.scopes - The OAuth scopes to request for the Data Integration. Defaults to the provider's configured scopes when omitted.
5717
+ * @example ["repo","read:org"]
5718
+ * @param options.credentials - The credentials to configure for the Data Integration. Required for both built-in and custom providers.
5719
+ * @param options.customProvider - The OAuth definition for a custom provider. Supply this to define a custom provider; omit it to create an integration for a built-in provider.
5720
+ * @returns {Promise<DataIntegration>}
5721
+ * @throws {BadRequestException} 400
5722
+ * @throws {UnauthorizedException} 401
5723
+ * @throws {NotFoundException} 404
5724
+ * @throws {UnprocessableEntityException} 422
5725
+ */
5726
+ createDataIntegration(options: CreateDataIntegrationOptions): Promise<DataIntegration>;
5727
+ /**
5728
+ * Get a data integration
5729
+ *
5730
+ * Retrieves a data integration by its slug.
5731
+ * @param options - The request options.
5732
+ * @param options.slug - The slug identifier of the data integration.
5733
+ * @example "github"
5734
+ * @returns {Promise<DataIntegration>}
5735
+ * @throws {UnauthorizedException} 401
5736
+ * @throws {NotFoundException} 404
5737
+ */
5738
+ getDataIntegration(options: GetDataIntegrationOptions): Promise<DataIntegration>;
5739
+ /**
5740
+ * Update a data integration
5741
+ *
5742
+ * Updates the description, enabled state, or custom credentials of a data integration. For custom providers, `custom_provider` updates the OAuth definition.
5743
+ * @param options - The request body.
5744
+ * @param options.slug - The slug identifier of the data integration.
5745
+ * @example "github"
5746
+ * @param options.description - An optional description of the Data Integration.
5747
+ * @example "Production GitHub app"
5748
+ * @param options.enabled - Whether the Data Integration is enabled.
5749
+ * @example true
5750
+ * @param options.scopes - The OAuth scopes to request for the Data Integration. Pass `null` to reset to the provider's configured scopes.
5751
+ * @example ["repo","read:org"]
5752
+ * @param options.credentials - New credentials for the Data Integration. When provided, rotates the stored client secret.
5753
+ * @param options.customProvider - Updates to a custom provider's OAuth definition. Only valid for custom-provider integrations.
5754
+ * @returns {Promise<DataIntegration>}
5755
+ * @throws {BadRequestException} 400
5756
+ * @throws {UnauthorizedException} 401
5757
+ * @throws {NotFoundException} 404
5758
+ * @throws {UnprocessableEntityException} 422
5759
+ */
5760
+ updateDataIntegration(options: UpdateDataIntegrationOptions): Promise<DataIntegration>;
5761
+ /**
5762
+ * Delete a data integration
5763
+ *
5764
+ * Deletes a data integration and all of its connected installations. For a custom provider, also deletes the custom provider definition.
5765
+ * @param options - The request options.
5766
+ * @param options.slug - The slug identifier of the data integration.
5767
+ * @example "github"
5768
+ * @returns {Promise<void>}
5769
+ * @throws {UnauthorizedException} 401
5770
+ * @throws {NotFoundException} 404
5771
+ */
5772
+ deleteDataIntegration(options: DeleteDataIntegrationOptions): Promise<void>;
5773
+ /**
5774
+ * Upsert an API key for a connected account
5775
+ *
5776
+ * Creates or updates an API-key-based installation for the specified integration and user. If an installation already exists, the stored API key is rotated to the new value.
5777
+ * @param options - Object containing userId, secret.
5778
+ * @param options.slug - The identifier of the integration.
5779
+ * @example "github"
5780
+ * @param options.userId - A [User](https://workos.com/docs/reference/authkit/user) identifier.
5781
+ * @example "user_01EHZNVPK3SFK441A1RGBFSHRT"
5782
+ * @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization.
5783
+ * @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
5784
+ * @param options.secret - The API key secret to store for this integration.
5785
+ * @example "sk-1234567890abcdef"
5786
+ * @returns {Promise<ConnectedAccount>}
5787
+ * @throws {BadRequestException} 400
5788
+ * @throws {UnauthorizedException} 401
5789
+ * @throws {AuthorizationException} 403
5790
+ * @throws {NotFoundException} 404
5791
+ * @throws {UnprocessableEntityException} 422
5792
+ */
5793
+ updateDataIntegrationApiKey(options: UpdateDataIntegrationApiKeyOptions): Promise<ConnectedAccount>;
5794
+ /**
5795
+ * Get authorization URL
5796
+ *
5797
+ * Generates an OAuth authorization URL to initiate the connection flow for a user. Redirect the user to the returned URL to begin the OAuth flow with the third-party provider.
5798
+ * @param options - Object containing userId.
5799
+ * @param options.slug - The slug identifier of the provider (e.g., `github`, `slack`, `notion`).
5800
+ * @example "github"
5801
+ * @param options.userId - The ID of the user to authorize.
5802
+ * @example "user_01EHZNVPK3SFK441A1RGBFSHRT"
5803
+ * @param options.organizationId - An organization ID to scope the authorization to a specific organization.
5804
+ * @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
5805
+ * @param options.returnTo - The URL to redirect the user to after authorization.
5806
+ * @example "https://example.com/callback"
5807
+ * @returns {Promise<DataIntegrationAuthorizeUrlResponse>}
5808
+ * @throws {BadRequestException} 400
5809
+ * @throws {UnauthorizedException} 401
5810
+ * @throws {AuthorizationException} 403
5811
+ * @throws {NotFoundException} 404
5812
+ */
5813
+ authorizeDataIntegration(options: AuthorizeDataIntegrationOptions): Promise<DataIntegrationAuthorizeUrlResponse>;
5814
+ /**
5815
+ * Vend credentials for a connected account
5816
+ *
5817
+ * Returns credentials for a user's connected account. Branches on the installation's `auth_method`: OAuth installations return an access token (refreshed if needed); API-key installations return the stored secret.
5818
+ * @param options - Object containing userId.
5819
+ * @param options.slug - The identifier of the integration.
5820
+ * @example "github"
5821
+ * @param options.userId - A [User](https://workos.com/docs/reference/authkit/user) identifier.
5822
+ * @example "user_01EHZNVPK3SFK441A1RGBFSHRT"
5823
+ * @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization.
5824
+ * @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
5825
+ * @returns {Promise<DataIntegrationCredentialsResponse>}
5826
+ * @throws {BadRequestException} 400
5827
+ * @throws {UnauthorizedException} 401
5828
+ * @throws {NotFoundException} 404
5829
+ */
5830
+ createDataIntegrationCredential(options: CreateDataIntegrationCredentialOptions): Promise<DataIntegrationCredentialsResponse>;
5831
+ /**
5832
+ * Get an access token for a connected account
5833
+ *
5834
+ * Fetches a valid OAuth access token for a user's connected account. WorkOS automatically handles token refresh, ensuring you always receive a valid, non-expired token.
5835
+ * @param options - Object containing userId.
5836
+ * @param options.provider - The identifier of the integration.
5837
+ * @example "github"
5838
+ * @param options.userId - A [User](https://workos.com/docs/reference/authkit/user) identifier.
5839
+ * @example "user_01EHZNVPK3SFK441A1RGBFSHRT"
5840
+ * @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization.
5841
+ * @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
5842
+ * @returns {Promise<DataIntegrationAccessTokenResponse>}
5843
+ * @throws {BadRequestException} 400
5844
+ * @throws {UnauthorizedException} 401
5845
+ * @throws {NotFoundException} 404
5846
+ * @throws {UnprocessableEntityException} 422
5847
+ */
5848
+ getAccessToken(options: GetAccessTokenOptions): Promise<DataIntegrationAccessTokenResponse>;
5849
+ /**
5850
+ * Get a connected account
5851
+ *
5852
+ * Retrieves a user's [connected account](https://workos.com/docs/reference/pipes/connected-account) for a specific provider.
5853
+ * @param options - Additional query options.
5854
+ * @param options.userId - A [User](https://workos.com/docs/reference/authkit/user) identifier.
5855
+ * @example "user_01EHZNVPK3SFK441A1RGBFSHRT"
5856
+ * @param options.slug - The slug identifier of the provider (e.g., `github`, `slack`, `notion`).
5857
+ * @example "github"
5858
+ * @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter if the connection is scoped to an organization.
5859
+ * @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
5860
+ * @returns {Promise<ConnectedAccount>}
5861
+ * @throws {UnauthorizedException} 401
5862
+ * @throws {NotFoundException} 404
5863
+ */
5864
+ getUserConnectedAccount(options: GetUserConnectedAccountOptions): Promise<ConnectedAccount>;
5865
+ /**
5866
+ * Import a connected account
5867
+ *
5868
+ * Imports a [connected account](https://workos.com/docs/reference/pipes/connected-account) for a user by providing OAuth tokens directly. Use this to migrate existing connections or set up connections without going through the OAuth flow.
5869
+ * @param options - The request body.
5870
+ * @param options.userId - A [User](https://workos.com/docs/reference/authkit/user) identifier.
5871
+ * @example "user_01EHZNVPK3SFK441A1RGBFSHRT"
5872
+ * @param options.slug - The slug identifier of the provider (e.g., `github`, `slack`, `notion`).
5873
+ * @example "github"
5874
+ * @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter if the connection is scoped to an organization.
5875
+ * @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
5876
+ * @param options.accessToken - The OAuth access token for the connected account.
5877
+ * @example "gho_16C7e42F292c6912E7710c838347Ae178B4a"
5878
+ * @param options.refreshToken - The OAuth refresh token for the connected account.
5879
+ * @example "ghr_xxxxxxxxxxxxxxxxxxxx"
5880
+ * @param options.expiresAt - The ISO-8601 timestamp when the access token expires. Required when `access_token` is provided for tokens that expire.
5881
+ * @example "2025-12-31T23:59:59.000Z"
5882
+ * @param options.scopes - The OAuth scopes granted for this connection.
5883
+ * @example ["repo","user:email"]
5884
+ * @param options.state - Explicitly set the state of the connected account. When omitted, the state is derived from the token combination provided.
5885
+ * @example "connected"
5886
+ * @returns {Promise<ConnectedAccount>}
5887
+ * @throws {UnauthorizedException} 401
5888
+ * @throws {NotFoundException} 404
5889
+ * @throws {ConflictException} 409
5890
+ * @throws {UnprocessableEntityException} 422
5891
+ */
5892
+ createUserConnectedAccount(options: CreateUserConnectedAccountOptions): Promise<ConnectedAccount>;
5893
+ /**
5894
+ * Update a connected account
5895
+ *
5896
+ * Updates a user's [connected account](https://workos.com/docs/reference/pipes/connected-account) tokens, scopes, or state for a specific provider.
5897
+ * @param options - The request body.
5898
+ * @param options.userId - A [User](https://workos.com/docs/reference/authkit/user) identifier.
5899
+ * @example "user_01EHZNVPK3SFK441A1RGBFSHRT"
5900
+ * @param options.slug - The slug identifier of the provider (e.g., `github`, `slack`, `notion`).
5901
+ * @example "github"
5902
+ * @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter if the connection is scoped to an organization.
5903
+ * @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
5904
+ * @param options.accessToken - The OAuth access token for the connected account.
5905
+ * @example "gho_16C7e42F292c6912E7710c838347Ae178B4a"
5906
+ * @param options.refreshToken - The OAuth refresh token for the connected account.
5907
+ * @example "ghr_xxxxxxxxxxxxxxxxxxxx"
5908
+ * @param options.expiresAt - The ISO-8601 timestamp when the access token expires. Required when `access_token` is provided for tokens that expire.
5909
+ * @example "2025-12-31T23:59:59.000Z"
5910
+ * @param options.scopes - The OAuth scopes granted for this connection.
5911
+ * @example ["repo","user:email"]
5912
+ * @param options.state - Explicitly set the state of the connected account. When omitted, the state is derived from the token combination provided.
5913
+ * @example "connected"
5914
+ * @returns {Promise<ConnectedAccount>}
5915
+ * @throws {UnauthorizedException} 401
5916
+ * @throws {NotFoundException} 404
5917
+ */
5918
+ updateUserConnectedAccount(options: UpdateUserConnectedAccountOptions): Promise<ConnectedAccount>;
5919
+ /**
5920
+ * Delete a connected account
5921
+ *
5922
+ * Disconnects WorkOS's account for the user, including removing any stored access and refresh tokens. The user will need to reauthorize if they want to reconnect. This does not revoke access on the provider side.
5923
+ * @param options - Additional query options.
5924
+ * @param options.userId - A [User](https://workos.com/docs/reference/authkit/user) identifier.
5925
+ * @example "user_01EHZNVPK3SFK441A1RGBFSHRT"
5926
+ * @param options.slug - The slug identifier of the provider (e.g., `github`, `slack`, `notion`).
5927
+ * @example "github"
5928
+ * @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter if the connection is scoped to an organization.
5929
+ * @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
5930
+ * @returns {Promise<void>}
5931
+ * @throws {UnauthorizedException} 401
5932
+ * @throws {NotFoundException} 404
5933
+ */
5934
+ deleteUserConnectedAccount(options: DeleteUserConnectedAccountOptions): Promise<void>;
5935
+ /**
5936
+ * List providers for a user
5937
+ *
5938
+ * Retrieves a list of available providers and the user's connection status for each. Returns all providers configured for your environment, along with the user's [connected account](https://workos.com/docs/reference/pipes/connected-account) information where applicable.
5939
+ * @param options - Additional query options.
5940
+ * @param options.userId - A [User](https://workos.com/docs/reference/authkit/user) identifier to list providers and connected accounts for.
5941
+ * @example "user_01EHZNVPK3SFK441A1RGBFSHRT"
5942
+ * @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to filter connections for a specific organization.
5943
+ * @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
5944
+ * @returns {Promise<DataIntegrationsListResponse>}
5945
+ * @throws {UnauthorizedException} 401
5946
+ * @throws {NotFoundException} 404
5947
+ */
5948
+ listUserDataProviders(options: ListUserDataProvidersOptions): Promise<DataIntegrationsListResponse>;
4772
5949
  }
4773
5950
  //#endregion
4774
5951
  //#region src/radar/interfaces/radar-standalone-assess-request-auth-method.interface.d.ts
@@ -5004,14 +6181,7 @@ declare class AdminPortal {
5004
6181
  * @throws {NotFoundException} 404
5005
6182
  * @throws {UnprocessableEntityException} 422
5006
6183
  */
5007
- generateLink({
5008
- intent,
5009
- organization,
5010
- returnUrl,
5011
- successUrl,
5012
- intentOptions,
5013
- adminEmails
5014
- }: {
6184
+ generateLink({ intent, organization, returnUrl, successUrl, intentOptions, adminEmails }: {
5015
6185
  intent?: GenerateLinkIntent;
5016
6186
  organization: string;
5017
6187
  returnUrl?: string;
@@ -5109,11 +6279,7 @@ declare class SSO {
5109
6279
  *
5110
6280
  * @throws Error if neither codeVerifier nor API key is available
5111
6281
  */
5112
- getProfileAndToken<CustomAttributesType extends UnknownRecord = UnknownRecord>({
5113
- code,
5114
- clientId,
5115
- codeVerifier
5116
- }: GetProfileAndTokenOptions): Promise<ProfileAndToken<CustomAttributesType>>;
6282
+ getProfileAndToken<CustomAttributesType extends UnknownRecord = UnknownRecord>({ code, clientId, codeVerifier }: GetProfileAndTokenOptions): Promise<ProfileAndToken<CustomAttributesType>>;
5117
6283
  /**
5118
6284
  * Get a User Profile
5119
6285
  *
@@ -5122,9 +6288,7 @@ declare class SSO {
5122
6288
  * @throws {UnauthorizedException} 401
5123
6289
  * @throws {NotFoundException} 404
5124
6290
  */
5125
- getProfile<CustomAttributesType extends UnknownRecord = UnknownRecord>({
5126
- accessToken
5127
- }: GetProfileOptions): Promise<Profile<CustomAttributesType>>;
6291
+ getProfile<CustomAttributesType extends UnknownRecord = UnknownRecord>({ accessToken }: GetProfileOptions): Promise<Profile<CustomAttributesType>>;
5128
6292
  }
5129
6293
  //#endregion
5130
6294
  //#region src/multi-factor-auth/interfaces/challenge-factor-options.d.ts
@@ -5775,13 +6939,16 @@ type CryptoKey = Extract<Awaited<ReturnType<typeof crypto.subtle.generateKey>>,
5775
6939
  */
5776
6940
  declare const customFetch: unique symbol;
5777
6941
  /** See {@link customFetch}. */
5778
- type FetchImplementation = (/** URL the request is being made sent to {@link !fetch} as the `resource` argument */
5779
-
5780
- url: string, /** Options otherwise sent to {@link !fetch} as the `options` argument */
5781
-
6942
+ type FetchImplementation = (
6943
+ /** URL the request is being made sent to {@link !fetch} as the `resource` argument */
6944
+ url: string,
6945
+ /** Options otherwise sent to {@link !fetch} as the `options` argument */
5782
6946
  options: {
5783
- /** HTTP Headers */headers: Headers; /** The {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods request method} */
5784
- method: 'GET'; /** See {@link !Request.redirect} */
6947
+ /** HTTP Headers */
6948
+ headers: Headers;
6949
+ /** The {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods request method} */
6950
+ method: 'GET';
6951
+ /** See {@link !Request.redirect} */
5785
6952
  redirect: 'manual';
5786
6953
  signal: AbortSignal;
5787
6954
  }) => Promise<Response>;
@@ -5896,11 +7063,16 @@ type JWKSCacheInput = ExportedJWKSCache | Record<string, never>;
5896
7063
  * @param options Options for the remote JSON Web Key Set.
5897
7064
  */
5898
7065
  declare function createRemoteJWKSet(url: URL, options?: RemoteJWKSetOptions): {
5899
- (protectedHeader?: JWSHeaderParameters, token?: FlattenedJWSInput): Promise<CryptoKey>; /** @ignore */
5900
- coolingDown: boolean; /** @ignore */
5901
- fresh: boolean; /** @ignore */
5902
- reloading: boolean; /** @ignore */
5903
- reload: () => Promise<void>; /** @ignore */
7066
+ (protectedHeader?: JWSHeaderParameters, token?: FlattenedJWSInput): Promise<CryptoKey>;
7067
+ /** @ignore */
7068
+ coolingDown: boolean;
7069
+ /** @ignore */
7070
+ fresh: boolean;
7071
+ /** @ignore */
7072
+ reloading: boolean;
7073
+ /** @ignore */
7074
+ reload: () => Promise<void>;
7075
+ /** @ignore */
5904
7076
  jwks: () => JSONWebKeySet | undefined;
5905
7077
  };
5906
7078
  //#endregion
@@ -5941,9 +7113,7 @@ declare class CookieSession {
5941
7113
  *
5942
7114
  * @returns The URL to redirect the user to for logging out.
5943
7115
  */
5944
- getLogoutUrl({
5945
- returnTo
5946
- }?: {
7116
+ getLogoutUrl({ returnTo }?: {
5947
7117
  returnTo?: string;
5948
7118
  }): Promise<string>;
5949
7119
  private isValidJwt;
@@ -6061,17 +7231,11 @@ declare class UserManagement {
6061
7231
  authenticateWithRadarSmsChallenge(payload: AuthenticateWithRadarSmsChallengeOptions): Promise<AuthenticationResponse>;
6062
7232
  /** Authenticate with Radar email challenge. */
6063
7233
  authenticateWithRadarEmailChallenge(payload: AuthenticateWithRadarEmailChallengeOptions): Promise<AuthenticationResponse>;
6064
- authenticateWithSessionCookie({
6065
- sessionData,
6066
- cookiePassword
6067
- }: AuthenticateWithSessionCookieOptions): Promise<AuthenticateWithSessionCookieSuccessResponse | AuthenticateWithSessionCookieFailedResponse>;
7234
+ authenticateWithSessionCookie({ sessionData, cookiePassword }: AuthenticateWithSessionCookieOptions): Promise<AuthenticateWithSessionCookieSuccessResponse | AuthenticateWithSessionCookieFailedResponse>;
6068
7235
  private isValidJwt;
6069
7236
  private prepareAuthenticationResponse;
6070
7237
  private sealSessionDataFromAuthenticationResponse;
6071
- getSessionFromCookie({
6072
- sessionData,
6073
- cookiePassword
6074
- }: SessionHandlerOptions): Promise<SessionCookieData | undefined>;
7238
+ getSessionFromCookie({ sessionData, cookiePassword }: SessionHandlerOptions): Promise<SessionCookieData | undefined>;
6075
7239
  /**
6076
7240
  * Get an email verification code
6077
7241
  *
@@ -6089,9 +7253,7 @@ declare class UserManagement {
6089
7253
  * @throws {NotFoundException} 404
6090
7254
  * @throws {RateLimitExceededException} 429
6091
7255
  */
6092
- sendVerificationEmail({
6093
- userId
6094
- }: SendVerificationEmailOptions): Promise<{
7256
+ sendVerificationEmail({ userId }: SendVerificationEmailOptions): Promise<{
6095
7257
  user: User;
6096
7258
  }>;
6097
7259
  /**
@@ -6123,10 +7285,7 @@ declare class UserManagement {
6123
7285
  * @throws {NotFoundException} 404
6124
7286
  * @throws {UnprocessableEntityException} 422
6125
7287
  */
6126
- verifyEmail({
6127
- code,
6128
- userId
6129
- }: VerifyEmailOptions): Promise<{
7288
+ verifyEmail({ code, userId }: VerifyEmailOptions): Promise<{
6130
7289
  user: User;
6131
7290
  }>;
6132
7291
  /**
@@ -7872,6 +9031,7 @@ declare class WorkOS {
7872
9031
  readonly pkce: PKCE;
7873
9032
  private readonly hasApiKey;
7874
9033
  readonly actions: Actions;
9034
+ readonly agents: Agents;
7875
9035
  readonly apiKeys: ApiKeys;
7876
9036
  readonly auditLogs: AuditLogs;
7877
9037
  readonly authorization: Authorization;
@@ -8242,12 +9402,7 @@ declare class Webhooks {
8242
9402
  deleteWebhookEndpoint(options: DeleteWebhookEndpointOptions): Promise<void>;
8243
9403
  private _signatureProvider?;
8244
9404
  private get signatureProvider();
8245
- get verifyHeader(): ({
8246
- payload,
8247
- sigHeader,
8248
- secret,
8249
- tolerance
8250
- }: {
9405
+ get verifyHeader(): ({ payload, sigHeader, secret, tolerance }: {
8251
9406
  payload: WebhookPayload;
8252
9407
  sigHeader: string;
8253
9408
  secret: string;
@@ -8255,12 +9410,7 @@ declare class Webhooks {
8255
9410
  }) => Promise<boolean>;
8256
9411
  get computeSignature(): (timestamp: any, payload: WebhookPayload, secret: string) => Promise<string>;
8257
9412
  get getTimestampAndSignatureHash(): (sigHeader: string) => [string, string];
8258
- constructEvent({
8259
- payload,
8260
- sigHeader,
8261
- secret,
8262
- tolerance
8263
- }: {
9413
+ constructEvent({ payload, sigHeader, secret, tolerance }: {
8264
9414
  payload: WebhookPayload;
8265
9415
  sigHeader: string;
8266
9416
  secret: string;
@@ -8336,12 +9486,7 @@ declare class BadRequestException extends Error implements RequestException {
8336
9486
  readonly code?: string;
8337
9487
  readonly errors?: unknown[];
8338
9488
  readonly requestID: string;
8339
- constructor({
8340
- code,
8341
- errors,
8342
- message,
8343
- requestID
8344
- }: {
9489
+ constructor({ code, errors, message, requestID }: {
8345
9490
  code?: string;
8346
9491
  errors?: unknown[];
8347
9492
  message?: string;
@@ -8355,12 +9500,7 @@ declare class ConflictException extends Error implements RequestException {
8355
9500
  readonly name = "ConflictException";
8356
9501
  readonly requestID: string;
8357
9502
  readonly code?: string;
8358
- constructor({
8359
- error,
8360
- message,
8361
- requestID,
8362
- code
8363
- }: {
9503
+ constructor({ error, message, requestID, code }: {
8364
9504
  error?: string;
8365
9505
  message?: string;
8366
9506
  requestID: string;
@@ -8382,12 +9522,7 @@ declare class NotFoundException extends Error implements RequestException {
8382
9522
  readonly message: string;
8383
9523
  readonly code?: string;
8384
9524
  readonly requestID: string;
8385
- constructor({
8386
- code,
8387
- message,
8388
- path,
8389
- requestID
8390
- }: {
9525
+ constructor({ code, message, path, requestID }: {
8391
9526
  code?: string;
8392
9527
  message?: string;
8393
9528
  path: string;
@@ -8417,7 +9552,6 @@ declare class RateLimitExceededException extends GenericServerException {
8417
9552
  /**
8418
9553
  * The number of seconds to wait before retrying the request.
8419
9554
  */
8420
-
8421
9555
  retryAfter: number | null);
8422
9556
  }
8423
9557
  //#endregion
@@ -8443,12 +9577,7 @@ declare class UnprocessableEntityException extends Error implements RequestExcep
8443
9577
  readonly message: string;
8444
9578
  readonly code?: string;
8445
9579
  readonly requestID: string;
8446
- constructor({
8447
- code,
8448
- errors,
8449
- message,
8450
- requestID
8451
- }: {
9580
+ constructor({ code, errors, message, requestID }: {
8452
9581
  code?: string;
8453
9582
  errors?: UnprocessableEntityError[];
8454
9583
  message?: string;
@@ -8594,5 +9723,5 @@ interface ConfidentialClientOptions extends WorkOSOptions {
8594
9723
  declare function createWorkOS(options: PublicClientOptions): PublicWorkOS;
8595
9724
  declare function createWorkOS(options: ConfidentialClientOptions): WorkOS;
8596
9725
  //#endregion
8597
- export { ReadObjectMetadataResponse as $, PermissionUpdatedEventResponse as $a, SerializedCreateMagicAuthOptions as $c, ListAuthorizationResourcesOptions as $d, ResponseHeaderValue as $f, GroupMemberAddedEventResponse as $i, AuthenticateUserWithEmailVerificationCredentials as $l, AutoPaginatable as $n, RuntimeClientStats as $o, AuthenticationPasswordFailedEventResponse as $r, ResetPasswordOptions as $s, RadarStandaloneAssessRequestAction as $t, RemoveGroupRoleAssignmentsOptions as $u, ApiKeyRequiredException as A, OrganizationMembershipCreated as Aa, OrganizationMembershipStatus as Ac, SerializedListRoleAssignmentsOptions as Ad, EnvironmentRole as Af, DsyncUserDeletedEvent as Ai, UserResponse as Al, ExternalAuthCompleteResponse as An, VaultDekReadEventResponse as Ao, GetOptions as Ar, SerializedCreateOrganizationDomainOptions as As, SerializedAuditLogExportOptions as At, DirectoryUserResponse as Au, ObjectSummaryResponse as B, OrganizationRoleUpdatedEvent as Ba, EnrollAuthFactorOptions as Bc, ListResourcesForMembershipOptions as Bd, DirectoryGroupResponse as Bf, FlagCreatedEvent as Bi, SerializedAuthenticateWithPasswordOptions as Bl, CreateM2MApplicationResponse as Bn, SerializedUpdateGroupOptions as Bo, AuthenticationMagicAuthSucceededEvent as Br, Session as Bs, EnrollFactorOptions as Bt, RoleList as Bu, BadRequestException as C, OrganizationDomainDeletedEventResponse as Ca, SerializedListOrganizationMembershipsOptions as Cc, AssignRoleOptionsWithResourceId as Cd, OrganizationRole as Cf, DsyncGroupUpdatedEventResponse as Ci, SessionCookieData as Cl, ConnectApplicationM2M as Cn, VaultDataReadEvent as Co, WorkOSOptions as Cr, OrganizationDomainVerificationFailed as Cs, AuditLogSchema as Ct, ConnectionDomain as Cu, isAuthenticationErrorData as D, OrganizationDomainVerificationFailedEventResponse as Da, BaseOrganizationMembershipResponse as Dc, ListRoleAssignmentsForResourceOptions as Dd, UpdateEnvironmentRoleOptions as Df, DsyncGroupUserRemovedEventResponse as Di, CreateUserResponse as Dl, ConnectApplicationResponse as Dn, VaultDekDecryptedEvent as Do, PatchOptions as Dr, OrganizationDomainState as Ds, AuditLogExport as Dt, SSOPKCEAuthorizationURLResult as Du, AuthenticationException as E, OrganizationDomainVerificationFailedEvent as Ea, BaseOrganizationMembership as Ec, ListRoleAssignmentsForResourceByExternalIdOptions as Ed, SerializedUpdateEnvironmentRoleOptions as Ef, DsyncGroupUserRemovedEvent as Ei, AuthenticationResponseResponse as El, ConnectApplicationOAuthResponse as En, VaultDataUpdatedEventResponse as Eo, PostOptions as Er, OrganizationDomainResponse as Es, AuditLogTargetSchema as Et, SSOAuthorizationURLOptions as Eu, UpdateWebhookEndpointEvents as F, OrganizationMembershipUpdatedResponse as Fa, Invitation as Fc, RoleAssignmentRole as Fd, ListDirectoryGroupsOptions as Ff, EmailVerificationCreatedEventResponse as Fi, AuthenticateUserWithRefreshTokenCredentials as Fl, DeleteApplicationOptions as Fn, VaultNamesListedEvent as Fo, ApiKeyRevokedEventResponse as Fr, SerializedUpdateUserOptions as Fs, FactorResponse as Ft, OrganizationRoleEventResponse as Fu, ObjectMetadata as G, PasswordResetCreatedEventResponse as Ga, EmailVerificationResponse as Gc, AuthorizationCheckOptionsWithResourceExternalId as Gd, DirectoryType as Gf, FlagRuleUpdatedEventResponse as Gi, AuthenticateWithRadarSmsChallengeOptions as Gl, ListApplicationsOptions as Gn, Group as Go, AuthenticationOAuthFailedEventResponse as Gr, SendRadarSmsChallengeResponse as Gs, RadarListEntryAlreadyPresentResponseWire as Gt, GroupRoleAssignmentEntry as Gu, ObjectVersionResponse as H, OrganizationUpdatedEvent as Ha, EmailVerification as Hc, ListResourcesForMembershipOptionsWithParentId as Hd, DirectoryResponse as Hf, FlagDeletedEvent as Hi, AuthenticateWithOrganizationSelectionOptions as Hl, CreateOAuthApplicationResponse as Hn, RemoveGroupOrganizationMembershipOptions as Ho, AuthenticationMfaSucceededEvent as Hr, SessionStatus as Hs, ChallengeResponse as Ht, ListEffectivePermissionsByExternalIdOptions as Hu, UpdateWebhookEndpointStatus as I, OrganizationRoleCreatedEvent as Ia, InvitationEvent as Ic, RoleAssignmentSource as Id, ListDirectoriesOptions as If, Event as Ii, AuthenticateWithRefreshTokenOptions as Il, UpdateApplicationOptions as In, VaultNamesListedEventResponse as Io, AuthenticationEmailVerificationSucceededEvent as Ir, UpdateUserOptions as Is, FactorWithSecrets as It, OrganizationRoleResponse as Iu, ActorResponse as J, PermissionCreatedEvent as Ja, CreatePasswordResetOptions as Jc, SerializedAuthorizationCheckOptions as Jd, HttpClient as Jf, GroupCreatedEvent as Ji, AuthenticateWithRadarEmailChallengeOptions as Jl, UserConsentOptionResponse as Jn, DeleteGroupOptions as Jo, AuthenticationPasskeyFailedEvent as Jr, SendInvitationOptions as Js, RadarStandaloneResponseBlocklistType as Jt, GroupRoleAssignmentEntryWithResourceId as Ju, ObjectMetadataResponse as K, PasswordResetSucceededEvent as Ka, CreateUserOptions as Kc, AuthorizationCheckOptionsWithResourceId as Kd, EventDirectory as Kf, FlagUpdatedEvent as Ki, SerializedAuthenticateWithRadarSmsChallengeOptions as Kl, CompleteOAuth2Options as Kn, GroupResponse as Ko, AuthenticationOAuthSucceededEvent as Kr, SendRadarSmsChallengeResponseResponse as Ks, RadarStandaloneResponse as Kt, GroupRoleAssignmentEntryForOrganization as Ku, CreateWebhookEndpointEvents as L, OrganizationRoleCreatedEventResponse as La, InvitationEventResponse as Lc, RoleAssignmentSourceResponse as Ld, SerializedListDirectoriesOptions as Lf, EventBase as Li, SerializedAuthenticateWithRefreshTokenOptions as Ll, GetApplicationOptions as Ln, DataKey as Lo, AuthenticationEmailVerificationSucceededEventResponse as Lr, SerializedUpdateOrganizationMembershipOptions as Ls, FactorWithSecretsResponse as Lt, Role as Lu, WebhookEndpoint as M, OrganizationMembershipDeleted as Ma, SerializedListInvitationsOptions as Mc, RoleAssignmentResource as Md, EnvironmentRoleListResponse as Mf, DsyncUserUpdatedEvent as Mi, ImpersonatorResponse as Ml, DeleteClientSecretOptions as Mn, VaultKekCreatedEventResponse as Mo, ApiKeyCreatedEvent as Mr, VerifyEmailOptions as Ms, VerifyResponseResponse as Mt, DirectoryUserWithGroupsResponse as Mu, WebhookEndpointResponse as N, OrganizationMembershipDeletedResponse as Na, ListGroupsForOrganizationMembershipOptions as Nc, RoleAssignmentResourceResponse as Nd, EnvironmentRoleResponse as Nf, DsyncUserUpdatedEventResponse as Ni, AuthenticateWithRefreshTokenPublicClientOptions as Nl, CreateApplicationClientSecretOptions as Nn, VaultMetadataReadEvent as No, ApiKeyCreatedEventResponse as Nr, SerializedUpdateUserPasswordOptions as Ns, VerifyChallengeOptions as Nt, ListOrganizationRolesResponse as Nu, GenericServerException as O, OrganizationDomainVerifiedEvent as Oa, OrganizationMembership as Oc, SerializedListRoleAssignmentsForResourceOptions as Od, CreateEnvironmentRoleOptions as Of, DsyncUserCreatedEvent as Oi, CreateUserResponseResponse as Ol, ConnectApplicationRedirectUri as On, VaultDekDecryptedEventResponse as Oo, List as Or, OrganizationDomainVerificationStrategy as Os, AuditLogExportResponse as Ot, DefaultCustomAttributes as Ou, WebhookEndpointStatus as P, OrganizationMembershipUpdated as Pa, ListAuthFactorsOptions as Pc, RoleAssignmentResponse as Pd, ListDirectoryUsersOptions as Pf, EmailVerificationCreatedEvent as Pi, SerializedAuthenticateWithRefreshTokenPublicClientOptions as Pl, ListApplicationClientSecretsOptions as Pn, VaultMetadataReadEventResponse as Po, ApiKeyRevokedEvent as Pr, UpdateUserPasswordOptions as Ps, Factor as Pt, OrganizationRoleEvent as Pu, UpdateObjectOptions as Q, PermissionUpdatedEvent as Qa, CreateMagicAuthOptions as Qc, GetAuthorizationResourceByExternalIdOptions as Qd, RequestOptions as Qf, GroupMemberAddedEvent as Qi, SerializedAuthenticateWithMagicAuthOptions as Ql, UserObjectResponse as Qn, SerializedAddGroupOrganizationMembershipOptions as Qo, AuthenticationPasswordFailedEvent as Qr, serializeRevokeSessionOptions as Qs, RadarListType as Qt, BaseRemoveGroupRoleAssignmentsOptions as Qu, WorkOS as R, OrganizationRoleDeletedEvent as Ra, InvitationResponse as Rc, ListMembershipsForResourceByExternalIdOptions as Rd, PaginationOptions as Rf, EventName as Ri, AuthenticateUserWithPasswordCredentials as Rl, CreateApplicationOptions as Rn, DataKeyPair as Ro, AuthenticationMagicAuthFailedEvent as Rr, UpdateOrganizationMembershipOptions as Rs, Sms as Rt, RoleEvent as Ru, ConflictException as S, OrganizationDomainDeletedEvent as Sa, ListOrganizationMembershipsOptions as Sc, AssignRoleOptionsWithResourceExternalId as Sd, SerializedCreateOrganizationRoleOptions as Sf, DsyncGroupUpdatedEvent as Si, AuthenticateWithSessionCookieSuccessResponse as Sl, ConnectApplication as Sn, VaultDataDeletedEventResponse as So, WorkOSResponseError as Sr, SerializedApiKey as Ss, AuditLogActorSchema as St, Connection as Su, AuthenticationErrorData as T, OrganizationDomainUpdatedEventResponse as Ta, AuthorizationOrganizationMembershipResponse as Tc, SerializedAssignRoleOptions as Td, SetEnvironmentRolePermissionsOptions as Tf, DsyncGroupUserAddedEventResponse as Ti, AuthenticationResponse as Tl, ConnectApplicationOAuth as Tn, VaultDataUpdatedEvent as To, PutOptions as Tr, OrganizationDomain as Ts, AuditLogSchemaResponse as Tt, ConnectionType as Tu, VaultObject as U, OrganizationUpdatedResponse as Ua, EmailVerificationEvent as Uc, SerializedListResourcesForMembershipOptions as Ud, DirectoryState as Uf, FlagDeletedEventResponse as Ui, SerializedAuthenticateWithOrganizationSelectionOptions as Ul, RedirectUriInput as Un, ListGroupsOptions as Uo, AuthenticationMfaSucceededEventResponse as Ur, SendVerificationEmailOptions as Us, ChallengeFactorOptions as Ut, ListEffectivePermissionsOptions as Uu, ObjectVersion as V, OrganizationRoleUpdatedEventResponse as Va, SerializedEnrollUserInMfaFactorOptions as Vc, ListResourcesForMembershipOptionsWithParentExternalId as Vd, Directory as Vf, FlagCreatedEventResponse as Vi, AuthenticateUserWithOrganizationSelectionCredentials as Vl, CreateOAuthApplication as Vn, UpdateGroupOptions as Vo, AuthenticationMagicAuthSucceededEventResponse as Vr, SessionResponse as Vs, Challenge as Vt, RoleResponse as Vu, VaultObjectResponse as W, PasswordResetCreatedEvent as Wa, EmailVerificationEventResponse as Wc, AuthorizationCheckOptions as Wd, DirectoryStateResponse as Wf, FlagRuleUpdatedEvent as Wi, AuthenticateUserWithRadarSmsChallengeCredentials as Wl, RedirectUriInputResponse as Wn, ListGroupOrganizationMembershipsOptions as Wo, AuthenticationOAuthFailedEvent as Wr, SendRadarSmsChallengeOptions as Ws, RadarListEntryAlreadyPresentResponse as Wt, BaseGroupRoleAssignmentEntry as Wu, CreateDataKeyResponseWire as X, PermissionDeletedEvent as Xa, CreateOrganizationMembershipOptions as Xc, DeleteAuthorizationResourceByExternalIdOptions as Xd, HttpClientResponseInterface as Xf, GroupDeletedEvent as Xi, AuthenticateUserWithMagicAuthCredentials as Xl, UserConsentOptionChoiceResponse as Xn, SerializedCreateGroupOptions as Xo, AuthenticationPasskeySucceededEvent as Xr, RevokeSessionOptions as Xs, RadarStandaloneResponseVerdict as Xt, SerializedGroupRoleAssignmentEntry as Xu, CreateDataKeyResponse as Y, PermissionCreatedEventResponse as Ya, SerializedCreatePasswordResetOptions as Yc, DeleteAuthorizationResourceOptions as Yd, HttpClientInterface as Yf, GroupCreatedEventResponse as Yi, SerializedAuthenticateWithRadarEmailChallengeOptions as Yl, UserConsentOptionChoice as Yn, CreateGroupOptions as Yo, AuthenticationPasskeyFailedEventResponse as Yr, SerializedSendInvitationOptions as Ys, RadarStandaloneResponseControl as Yt, ReplaceGroupRoleAssignmentsOptions as Yu, UpdateObjectEntity as Z, PermissionDeletedEventResponse as Za, SerializedCreateOrganizationMembershipOptions as Zc, UpdateAuthorizationResourceByExternalIdOptions as Zd, RequestHeaders as Zf, GroupDeletedEventResponse as Zi, AuthenticateWithMagicAuthOptions as Zl, UserObject as Zn, AddGroupOrganizationMembershipOptions as Zo, AuthenticationPasskeySucceededEventResponse as Zr, SerializedRevokeSessionOptions as Zs, RadarListAction as Zt, SerializedReplaceGroupRoleAssignmentsOptions as Zu, SignatureVerificationException as _, OrganizationCreatedResponse as _a, ListUsersOptions as _c, RemoveRoleOptions as _d, AddOrganizationRolePermissionOptions as _f, DsyncDeletedEventResponse as _i, AuthenticateWithTotpOptions as _l, SerializedListEventOptions as _n, VaultByokKeyVerificationCompletedEvent as _o, CreateOrganizationOptions as _r, SerializedCreatedApiKey as _s, AuditLogActor as _t, OauthTokensResponse as _u, PublicWorkOS as a, GroupUpdatedEventResponse as aa, PasswordReset as ac, BaseCreateGroupRoleAssignmentOptions as ad, CreateOptionsWithParentResourceId as af, AuthenticationSSOFailedEventResponse as ai, AuthenticationFactorResponse as al, SerializedGetAccessTokenFailureResponse as an, RoleUpdatedEventResponse as ao, UserRegistrationActionResponseData as ar, FlagPollEntry as as, DecryptDataKeyResponse as at, AuthenticateWithCodeOptions as au, NotFoundException as b, OrganizationDomainCreatedEvent as ba, ListSessionsOptions as bc, SerializedRemoveRoleOptions as bd, UpdateOrganizationRoleOptions as bf, DsyncGroupDeletedEvent as bi, AuthenticateWithSessionCookieFailureReason as bl, ApplicationCredentialsListItem as bn, VaultDataCreatedEventResponse as bo, DomainData as br, SerializedCreateOrganizationApiKeyOptions as bs, CreateAuditLogEventRequestOptions as bt, GetProfileAndTokenOptions as bu, PortalLinkResponseWire as c, InvitationCreatedEvent as ca, PasswordResetResponse as cc, CreateGroupRoleAssignmentOptionsWithResourceExternalId as cd, UpdateAuthorizationResourceOptions as cf, ConnectionActivatedEvent as ci, Totp as cl, SerializedGetAccessTokenSuccessResponse as cn, SessionRevokedEvent as co, UserData as cr, FeatureFlag as cs, WidgetSessionTokenResponseWire as ct, AuthenticateWithSessionOptions as cu, IntentOptions as d, InvitationResentEventResponse as da, MagicAuth as dc, GetGroupRoleAssignmentOptions as dd, UpdatePermissionOptions as df, ConnectionDeactivatedEventResponse as di, TotpWithSecretsResponse as dl, SendSessionResponse as dn, UserCreatedEvent as do, SerializedUpdateOrganizationOptions as dr, AddFlagTargetOptions as ds, FeatureFlagsRuntimeClient as dt, WithResolvedClientId as du, GroupMemberEventData as ea, SerializedResetPasswordOptions as ec, RemoveGroupRoleAssignmentsOptionsForOrganization as ed, SerializedListAuthorizationResourcesOptions as ef, AuthenticationPasswordSucceededEvent as ei, PKCEAuthorizationURLResult as el, RadarStandaloneAssessRequestAuthMethod as en, RoleCreatedEvent as eo, ResponseHeaders as ep, PKCE as er, RuntimeClientLogger as es, ReadObjectOptions as et, AuthenticateWithEmailVerificationOptions as eu, IntentOptionsResponse as f, InvitationRevokedEvent as fa, MagicAuthEvent as fc, ListGroupRoleAssignmentsOptions as fd, CreatePermissionOptions as ff, ConnectionDeletedEvent as fi, AuthenticationEvent as fl, CreatePasswordlessSessionOptions as fn, UserCreatedEventResponse as fo, UpdateOrganizationOptions as fr, SerializedValidateApiKeyResponse as fs, CookieSession as ft, ProfileAndToken as fu, UnauthorizedException as g, OrganizationCreatedEvent as ga, Locale as gc, BaseRemoveRoleOptions as gd, RemoveOrganizationRolePermissionOptions as gf, DsyncDeletedEvent as gi, AuthenticateUserWithTotpCredentials as gl, ListEventOptions as gn, UserUpdatedEventResponse as go, ListOrganizationFeatureFlagsOptions as gr, CreatedApiKey as gs, SerializedCreateAuditLogSchemaOptions as gt, OauthTokens as gu, UnprocessableEntityException as h, MagicAuthCreatedEventResponse as ha, LogoutURLOptions as hc, RemoveRoleAssignmentOptions as hd, PermissionResponse as hf, DsyncActivatedEventResponse as hi, AuthenticationEventSsoResponse as hl, PasswordlessSessionResponse as hn, UserUpdatedEvent as ho, ListOrganizationsOptions as hr, ListOrganizationApiKeysOptions as hs, CreateAuditLogSchemaResponse as ht, ProfileResponse as hu, PublicUserManagement as i, GroupUpdatedEvent as ia, RefreshSessionResponse as ic, RemoveGroupRoleAssignmentOptions as id, CreateOptionsWithParentExternalId as if, AuthenticationSSOFailedEvent as ii, AuthenticationFactor as il, GetAccessTokenSuccessResponse as in, RoleUpdatedEvent as io, ResponsePayload as ir, FlagChange as is, DecryptDataKeyOptions as it, AuthenticateUserWithCodeCredentials as iu, Webhooks as j, OrganizationMembershipCreatedResponse as ja, ListInvitationsOptions as jc, RoleAssignment as jd, EnvironmentRoleList as jf, DsyncUserDeletedEventResponse as ji, Impersonator as jl, ExternalAuthCompleteResponseWire as jn, VaultKekCreatedEvent as jo, GenerateLinkIntent as jr, SerializedVerifyEmailOptions as js, VerifyResponse as jt, DirectoryUserWithGroups as ju, WorkOSErrorData as k, OrganizationDomainVerifiedEventResponse as ka, OrganizationMembershipResponse as kc, ListRoleAssignmentsOptions as kd, SerializedCreateEnvironmentRoleOptions as kf, DsyncUserCreatedEventResponse as ki, User as kl, ConnectApplicationRedirectUriResponse as kn, VaultDekReadEvent as ko, ListResponse as kr, CreateOrganizationDomainOptions as ks, AuditLogExportOptions as kt, DirectoryUser as ku, GenerateLink as l, InvitationCreatedEventResponse as la, CreateMagicAuthResponse as lc, CreateGroupRoleAssignmentOptionsWithResourceId as ld, ListPermissionsOptions as lf, ConnectionActivatedEventResponse as li, TotpResponse as ll, AccessToken as ln, SessionRevokedEventResponse as lo, UserDataPayload as lr, FeatureFlagResponse as ls, CreateTokenOptions as lt, SerializedAuthenticatePublicClientBase as lu, SSOIntentOptionsResponse as m, MagicAuthCreatedEvent as ma, MagicAuthResponse as mc, GroupRoleAssignmentResponse as md, Permission as mf, DsyncActivatedEvent as mi, AuthenticationEventSso as ml, PasswordlessSession as mn, UserDeletedEventResponse as mo, OrganizationResponse as mr, ValidateApiKeyResponse as ms, CreateAuditLogSchemaRequestOptions as mt, Profile as mu, PublicClientOptions as n, GroupMemberRemovedEvent as na, SerializedResendInvitationOptions as nc, RemoveGroupRoleAssignmentsOptionsWithResourceId as nd, AuthorizationResourceResponse as nf, AuthenticationRadarRiskDetectedEvent as ni, AuthenticationRadarRiskDetectedEventData as nl, GetAccessTokenOptions as nn, RoleDeletedEvent as no, Actions as nr, RemoveFlagTargetOptions as ns, CreateObjectEntity as nt, AuthenticateWithCodeAndVerifierOptions as nu, createWorkOS as o, InvitationAcceptedEvent as oa, PasswordResetEvent as oc, CreateGroupRoleAssignmentOptions as od, SerializedCreateAuthorizationResourceOptions as of, AuthenticationSSOSucceededEvent as oi, AuthenticationFactorWithSecrets as ol, SerializedGetAccessTokenOptions as on, SessionCreatedEvent as oo, ActionContext as or, FlagPollResponse as os, CreateDataKeyOptions as ot, SerializedAuthenticateWithCodeOptions as ou, SSOIntentOptions as p, InvitationRevokedEventResponse as pa, MagicAuthEventResponse as pc, GroupRoleAssignment as pd, SerializedCreatePermissionOptions as pf, ConnectionDeletedEventResponse as pi, AuthenticationEventResponse as pl, SerializedCreatePasswordlessSessionOptions as pn, UserDeletedEvent as po, Organization as pr, ValidateApiKeyOptions as ps, CreateAuditLogSchemaOptions as pt, ProfileAndTokenResponse as pu, Actor as q, PasswordResetSucceededEventResponse as qa, SerializedCreateUserOptions as qc, AuthorizationCheckResult as qd, EventDirectoryResponse as qf, FlagUpdatedEventResponse as qi, AuthenticateUserWithRadarEmailChallengeCredentials as ql, UserConsentOption as qn, GetGroupOptions as qo, AuthenticationOAuthSucceededEventResponse as qr, SerializedSendRadarSmsChallengeOptions as qs, RadarStandaloneResponseWire as qt, GroupRoleAssignmentEntryWithResourceExternalId as qu, PublicSSO as r, GroupMemberRemovedEventResponse as ra, RefreshSessionFailureReason as rc, SerializedRemoveGroupRoleAssignmentsOptions as rd, CreateAuthorizationResourceOptions as rf, AuthenticationRadarRiskDetectedEventResponse as ri, AuthenticationRadarRiskDetectedEventResponseData as rl, GetAccessTokenResponse as rn, RoleDeletedEventResponse as ro, AuthenticationActionResponseData as rr, ListFeatureFlagsOptions as rs, CreateObjectOptions as rt, SerializedAuthenticateWithCodeAndVerifierOptions as ru, PortalLinkResponse as s, InvitationAcceptedEventResponse as sa, PasswordResetEventResponse as sc, CreateGroupRoleAssignmentOptionsForOrganization as sd, SerializedUpdateAuthorizationResourceOptions as sf, AuthenticationSSOSucceededEventResponse as si, AuthenticationFactorWithSecretsResponse as sl, SerializedGetAccessTokenResponse as sn, SessionCreatedEventResponse as so, ActionPayload as sr, FlagTarget as ss, WidgetSessionTokenResponse as st, AuthenticateWithOptionsBase as su, ConfidentialClientOptions as t, GroupMemberEventResponseData as ta, ResendInvitationOptions as tc, RemoveGroupRoleAssignmentsOptionsWithResourceExternalId as td, AuthorizationResource as tf, AuthenticationPasswordSucceededEventResponse as ti, UserManagementAuthorizationURLOptions as tl, GetAccessTokenFailureResponse as tn, RoleCreatedEventResponse as to, CryptoProvider as tp, PKCEPair as tr, RuntimeClientOptions as ts, ReadObjectResponse as tt, SerializedAuthenticateWithEmailVerificationOptions as tu, GenerateLinkResponse as u, InvitationResentEvent as ua, CreateMagicAuthResponseResponse as uc, SerializedCreateGroupRoleAssignmentOptions as ud, SerializedUpdatePermissionOptions as uf, ConnectionDeactivatedEvent as ui, TotpWithSecrets as ul, SerializedAccessToken as un, UnknownEvent as uo, UserRegistrationActionPayload as ur, EvaluationContext as us, WidgetSessionTokenScopes as ut, SerializedAuthenticateWithOptionsBase as uu, RateLimitExceededException as v, OrganizationDeletedEvent as va, SerializedListUsersOptions as vc, RemoveRoleOptionsWithResourceExternalId as vd, SetOrganizationRolePermissionsOptions as vf, DsyncGroupCreatedEvent as vi, SerializedAuthenticateWithTotpOptions as vl, NewConnectApplicationSecret as vn, VaultByokKeyVerificationCompletedEventResponse as vo, CreateOrganizationRequestOptions as vr, CreateOrganizationApiKeyOptions as vs, AuditLogTarget as vt, ListConnectionsOptions as vu, AuthenticationErrorCode as w, OrganizationDomainUpdatedEvent as wa, AuthorizationOrganizationMembership as wc, BaseAssignRoleOptions as wd, AddEnvironmentRolePermissionOptions as wf, DsyncGroupUserAddedEvent as wi, UserManagementAccessToken as wl, ConnectApplicationM2MResponse as wn, VaultDataReadEventResponse as wo, UnprocessableEntityError as wr, OrganizationDomainVerificationFailedResponse as ws, AuditLogSchemaMetadata as wt, ConnectionResponse as wu, NoApiKeyProvidedException as x, OrganizationDomainCreatedEventResponse as xa, SerializedListSessionsOptions as xc, AssignRoleOptions as xd, CreateOrganizationRoleOptions as xf, DsyncGroupDeletedEventResponse as xi, AuthenticateWithSessionCookieOptions as xl, ApplicationCredentialsListItemResponse as xn, VaultDataDeletedEvent as xo, DomainDataState as xr, ApiKey as xs, SerializedCreateAuditLogEventOptions as xt, GetProfileOptions as xu, OauthException as y, OrganizationDeletedResponse as ya, ListUserFeatureFlagsOptions as yc, RemoveRoleOptionsWithResourceId as yd, SerializedUpdateOrganizationRoleOptions as yf, DsyncGroupCreatedEventResponse as yi, AuthenticateWithSessionCookieFailedResponse as yl, NewConnectApplicationSecretResponse as yn, VaultDataCreatedEvent as yo, SerializedCreateOrganizationOptions as yr, CreateOrganizationApiKeyRequestOptions as ys, CreateAuditLogEventOptions as yt, SerializedListConnectionsOptions as yu, ObjectSummary as z, OrganizationRoleDeletedEventResponse as za, Identity as zc, ListMembershipsForResourceOptions as zd, DirectoryGroup as zf, EventResponse as zi, AuthenticateWithPasswordOptions as zl, CreateM2MApplication as zn, KeyContext as zo, AuthenticationMagicAuthFailedEventResponse as zr, AuthMethod as zs, SmsResponse as zt, RoleEventResponse as zu };
8598
- //# sourceMappingURL=factory-7zoKcOC2.d.mts.map
9726
+ export { ReadObjectMetadataResponse as $, FlagDeletedEvent as $a, SessionStatus as $c, ListEffectivePermissionsByExternalIdOptions as $d, ListResourcesForMembershipOptionsWithParentId as $f, AuthenticationMfaSucceededEvent as $i, EmailVerification as $l, DataIntegrationCredentialsDtoResponse as $n, OrganizationUpdatedEvent as $o, DirectoryResponse as $p, ValidateAgentApiKeyOptions as $r, RemoveGroupOrganizationMembershipOptions as $s, RadarStandaloneAssessRequestAction as $t, AuthenticateWithOrganizationSelectionOptions as $u, ApiKeyRequiredException as A, DsyncGroupCreatedEventResponse as Aa, CreateOrganizationApiKeyRequestOptions as Ac, SerializedListConnectionsOptions as Ad, RemoveRoleOptionsWithResourceId as Af, SerializedCreateOrganizationOptions as Ai, ListUserFeatureFlagsOptions as Al, DataIntegrationCredentialResponse as An, OrganizationDeletedResponse as Ao, SerializedUpdateOrganizationRoleOptions as Ap, CreateM2MApplicationResponse as Ar, VaultDataCreatedEvent as As, SerializedAuditLogExportOptions as At, AuthenticateWithSessionCookieFailedResponse as Au, ObjectSummaryResponse as B, DsyncUserCreatedEventResponse as Ba, CreateOrganizationDomainOptions as Bc, DirectoryUser as Bd, ListRoleAssignmentsOptions as Bf, ListResponse as Bi, OrganizationMembershipResponse as Bl, AuthorizeDataIntegrationOptions as Bn, OrganizationDomainVerifiedEventResponse as Bo, SerializedCreateEnvironmentRoleOptions as Bp, UserConsentOptionChoiceResponse as Br, VaultDekReadEvent as Bs, EnrollFactorOptions as Bt, User as Bu, BadRequestException as C, ConnectionDeletedEvent as Ca, SerializedValidateApiKeyResponse as Cc, ProfileAndToken as Cd, ListGroupRoleAssignmentsOptions as Cf, UpdateOrganizationOptions as Ci, MagicAuthEvent as Cl, DataIntegration as Cn, InvitationRevokedEvent as Co, CreatePermissionOptions as Cp, CreateApplicationClientSecretOptions as Cr, UserCreatedEventResponse as Cs, AuditLogSchema as Ct, AuthenticationEvent as Cu, isAuthenticationErrorData as D, DsyncDeletedEvent as Da, CreatedApiKey as Dc, OauthTokens as Dd, BaseRemoveRoleOptions as Df, ListOrganizationFeatureFlagsOptions as Di, Locale as Dl, DataIntegrationCustomProviderResponse as Dn, OrganizationCreatedEvent as Do, RemoveOrganizationRolePermissionOptions as Dp, GetApplicationOptions as Dr, UserUpdatedEventResponse as Ds, AuditLogExport as Dt, AuthenticateUserWithTotpCredentials as Du, AuthenticationException as E, DsyncActivatedEventResponse as Ea, ListOrganizationApiKeysOptions as Ec, ProfileResponse as Ed, RemoveRoleAssignmentOptions as Ef, ListOrganizationsOptions as Ei, LogoutURLOptions as El, DataIntegrationCustomProvider as En, MagicAuthCreatedEventResponse as Eo, PermissionResponse as Ep, UpdateApplicationOptions as Er, UserUpdatedEvent as Es, AuditLogTargetSchema as Et, AuthenticationEventSsoResponse as Eu, UpdateWebhookEndpointEvents as F, DsyncGroupUserAddedEvent as Fa, OrganizationDomainVerificationFailedResponse as Fc, ConnectionResponse as Fd, BaseAssignRoleOptions as Ff, UnprocessableEntityError as Fi, AuthorizationOrganizationMembership as Fl, CreateUserConnectedAccountOptions as Fn, OrganizationDomainUpdatedEvent as Fo, AddEnvironmentRolePermissionOptions as Fp, ListApplicationsOptions as Fr, VaultDataReadEventResponse as Fs, FactorResponse as Ft, UserManagementAccessToken as Fu, ObjectMetadata as G, EmailVerificationCreatedEvent as Ga, UpdateUserPasswordOptions as Gc, OrganizationRoleEvent as Gd, RoleAssignmentResponse as Gf, ApiKeyRevokedEvent as Gi, ListAuthFactorsOptions as Gl, UpdateCustomProviderDefinitionResponse as Gn, OrganizationMembershipUpdated as Go, ListDirectoryUsersOptions as Gp, AgentCredentialType as Gr, VaultMetadataReadEventResponse as Gs, RadarListEntryAlreadyPresentResponseWire as Gt, SerializedAuthenticateWithRefreshTokenPublicClientOptions as Gu, ObjectVersionResponse as H, DsyncUserDeletedEventResponse as Ha, SerializedVerifyEmailOptions as Hc, DirectoryUserWithGroups as Hd, RoleAssignment as Hf, GenerateLinkIntent as Hi, ListInvitationsOptions as Hl, DeleteDataIntegrationOptions as Hn, OrganizationMembershipCreatedResponse as Ho, EnvironmentRoleList as Hp, UserObjectResponse as Hr, VaultKekCreatedEvent as Hs, ChallengeResponse as Ht, Impersonator as Hu, UpdateWebhookEndpointStatus as I, DsyncGroupUserAddedEventResponse as Ia, OrganizationDomain as Ic, ConnectionType as Id, SerializedAssignRoleOptions as If, PutOptions as Ii, AuthorizationOrganizationMembershipResponse as Il, ConnectedAccountState as In, OrganizationDomainUpdatedEventResponse as Io, SetEnvironmentRolePermissionsOptions as Ip, CompleteOAuth2Options as Ir, VaultDataUpdatedEvent as Is, FactorWithSecrets as It, AuthenticationResponse as Iu, ActorResponse as J, EventBase as Ja, SerializedUpdateOrganizationMembershipOptions as Jc, Role as Jd, RoleAssignmentSourceResponse as Jf, AuthenticationEmailVerificationSucceededEventResponse as Ji, InvitationEventResponse as Jl, CreateDataIntegrationOptions as Jn, OrganizationRoleCreatedEventResponse as Jo, SerializedListDirectoriesOptions as Jp, SerializedAgentAccessTokenClaims as Jr, DataKey as Js, RadarStandaloneResponseBlocklistType as Jt, SerializedAuthenticateWithRefreshTokenOptions as Ju, ObjectMetadataResponse as K, EmailVerificationCreatedEventResponse as Ka, SerializedUpdateUserOptions as Kc, OrganizationRoleEventResponse as Kd, RoleAssignmentRole as Kf, ApiKeyRevokedEventResponse as Ki, Invitation as Kl, UpdateCustomProviderDefinitionAuthenticateVia as Kn, OrganizationMembershipUpdatedResponse as Ko, ListDirectoryGroupsOptions as Kp, AgentCredentialValidation as Kr, VaultNamesListedEvent as Ks, RadarStandaloneResponse as Kt, AuthenticateUserWithRefreshTokenCredentials as Ku, CreateWebhookEndpointEvents as L, DsyncGroupUserRemovedEvent as La, OrganizationDomainResponse as Lc, SSOAuthorizationURLOptions as Ld, ListRoleAssignmentsForResourceByExternalIdOptions as Lf, PostOptions as Li, BaseOrganizationMembership as Ll, GetUserConnectedAccountOptions as Ln, OrganizationDomainVerificationFailedEvent as Lo, SerializedUpdateEnvironmentRoleOptions as Lp, UserConsentOption as Lr, VaultDataUpdatedEventResponse as Ls, FactorWithSecretsResponse as Lt, AuthenticationResponseResponse as Lu, WebhookEndpoint as M, DsyncGroupDeletedEventResponse as Ma, ApiKey as Mc, GetProfileOptions as Md, AssignRoleOptions as Mf, DomainDataState as Mi, SerializedListSessionsOptions as Ml, ListUserDataProvidersOptions as Mn, OrganizationDomainCreatedEventResponse as Mo, CreateOrganizationRoleOptions as Mp, CreateOAuthApplicationResponse as Mr, VaultDataDeletedEvent as Ms, VerifyResponseResponse as Mt, AuthenticateWithSessionCookieOptions as Mu, WebhookEndpointResponse as N, DsyncGroupUpdatedEvent as Na, SerializedApiKey as Nc, Connection as Nd, AssignRoleOptionsWithResourceExternalId as Nf, WorkOSResponseError as Ni, ListOrganizationMembershipsOptions as Nl, DeleteUserConnectedAccountOptions as Nn, OrganizationDomainDeletedEvent as No, SerializedCreateOrganizationRoleOptions as Np, RedirectUriInput as Nr, VaultDataDeletedEventResponse as Ns, VerifyChallengeOptions as Nt, AuthenticateWithSessionCookieSuccessResponse as Nu, GenericServerException as O, DsyncDeletedEventResponse as Oa, SerializedCreatedApiKey as Oc, OauthTokensResponse as Od, RemoveRoleOptions as Of, CreateOrganizationOptions as Oi, ListUsersOptions as Ol, DataIntegrationCustomProviderAuthenticateVia as On, OrganizationCreatedResponse as Oo, AddOrganizationRolePermissionOptions as Op, CreateApplicationOptions as Or, VaultByokKeyVerificationCompletedEvent as Os, AuditLogExportResponse as Ot, AuthenticateWithTotpOptions as Ou, WebhookEndpointStatus as P, DsyncGroupUpdatedEventResponse as Pa, OrganizationDomainVerificationFailed as Pc, ConnectionDomain as Pd, AssignRoleOptionsWithResourceId as Pf, WorkOSOptions as Pi, SerializedListOrganizationMembershipsOptions as Pl, UpdateUserConnectedAccountOptions as Pn, OrganizationDomainDeletedEventResponse as Po, OrganizationRole as Pp, RedirectUriInputResponse as Pr, VaultDataReadEvent as Ps, Factor as Pt, SessionCookieData as Pu, UpdateObjectOptions as Q, FlagCreatedEventResponse as Qa, SessionResponse as Qc, RoleResponse as Qd, ListResourcesForMembershipOptionsWithParentExternalId as Qf, AuthenticationMagicAuthSucceededEventResponse as Qi, SerializedEnrollUserInMfaFactorOptions as Ql, DataIntegrationCredentialsDto as Qn, OrganizationRoleUpdatedEventResponse as Qo, Directory as Qp, ValidateAgentAccessTokenOptions as Qr, UpdateGroupOptions as Qs, RadarListType as Qt, AuthenticateUserWithOrganizationSelectionCredentials as Qu, WorkOS as R, DsyncGroupUserRemovedEventResponse as Ra, OrganizationDomainState as Rc, SSOPKCEAuthorizationURLResult as Rd, ListRoleAssignmentsForResourceOptions as Rf, PatchOptions as Ri, BaseOrganizationMembershipResponse as Rl, GetAccessTokenOptions as Rn, OrganizationDomainVerificationFailedEventResponse as Ro, UpdateEnvironmentRoleOptions as Rp, UserConsentOptionResponse as Rr, VaultDekDecryptedEvent as Rs, Sms as Rt, CreateUserResponse as Ru, ConflictException as S, ConnectionDeactivatedEventResponse as Sa, AddFlagTargetOptions as Sc, WithResolvedClientId as Sd, GetGroupRoleAssignmentOptions as Sf, SerializedUpdateOrganizationOptions as Si, MagicAuth as Sl, ConnectedAccountAuthMethod as Sn, InvitationResentEventResponse as So, UpdatePermissionOptions as Sp, DeleteClientSecretOptions as Sr, UserCreatedEvent as Ss, AuditLogActorSchema as St, TotpWithSecretsResponse as Su, AuthenticationErrorData as T, DsyncActivatedEvent as Ta, ValidateApiKeyResponse as Tc, Profile as Td, GroupRoleAssignmentResponse as Tf, OrganizationResponse as Ti, MagicAuthResponse as Tl, DataIntegrationState as Tn, MagicAuthCreatedEvent as To, Permission as Tp, DeleteApplicationOptions as Tr, UserDeletedEventResponse as Ts, AuditLogSchemaResponse as Tt, AuthenticationEventSso as Tu, VaultObject as U, DsyncUserUpdatedEvent as Ua, VerifyEmailOptions as Uc, DirectoryUserWithGroupsResponse as Ud, RoleAssignmentResource as Uf, ApiKeyCreatedEvent as Ui, SerializedListInvitationsOptions as Ul, UpdateDataIntegrationOptions as Un, OrganizationMembershipDeleted as Uo, EnvironmentRoleListResponse as Up, AutoPaginatable as Ur, VaultKekCreatedEventResponse as Us, ChallengeFactorOptions as Ut, ImpersonatorResponse as Uu, ObjectVersion as V, DsyncUserDeletedEvent as Va, SerializedCreateOrganizationDomainOptions as Vc, DirectoryUserResponse as Vd, SerializedListRoleAssignmentsOptions as Vf, GetOptions as Vi, OrganizationMembershipStatus as Vl, UpdateDataIntegrationApiKeyOptions as Vn, OrganizationMembershipCreated as Vo, EnvironmentRole as Vp, UserObject as Vr, VaultDekReadEventResponse as Vs, Challenge as Vt, UserResponse as Vu, VaultObjectResponse as W, DsyncUserUpdatedEventResponse as Wa, SerializedUpdateUserPasswordOptions as Wc, ListOrganizationRolesResponse as Wd, RoleAssignmentResourceResponse as Wf, ApiKeyCreatedEventResponse as Wi, ListGroupsForOrganizationMembershipOptions as Wl, UpdateCustomProviderDefinition as Wn, OrganizationMembershipDeletedResponse as Wo, EnvironmentRoleResponse as Wp, AgentAccessTokenClaims as Wr, VaultMetadataReadEvent as Ws, RadarListEntryAlreadyPresentResponse as Wt, AuthenticateWithRefreshTokenPublicClientOptions as Wu, CreateDataKeyResponseWire as X, EventResponse as Xa, AuthMethod as Xc, RoleEventResponse as Xd, ListMembershipsForResourceOptions as Xf, AuthenticationMagicAuthFailedEventResponse as Xi, Identity as Xl, CustomProviderDefinitionResponse as Xn, OrganizationRoleDeletedEventResponse as Xo, DirectoryGroup as Xp, SerializedValidateAgentCredentialOptions as Xr, KeyContext as Xs, RadarStandaloneResponseVerdict as Xt, AuthenticateWithPasswordOptions as Xu, CreateDataKeyResponse as Y, EventName as Ya, UpdateOrganizationMembershipOptions as Yc, RoleEvent as Yd, ListMembershipsForResourceByExternalIdOptions as Yf, AuthenticationMagicAuthFailedEvent as Yi, InvitationResponse as Yl, CustomProviderDefinition as Yn, OrganizationRoleDeletedEvent as Yo, PaginationOptions as Yp, SerializedAgentCredentialValidation as Yr, DataKeyPair as Ys, RadarStandaloneResponseControl as Yt, AuthenticateUserWithPasswordCredentials as Yu, UpdateObjectEntity as Z, FlagCreatedEvent as Za, Session as Zc, RoleList as Zd, ListResourcesForMembershipOptions as Zf, AuthenticationMagicAuthSucceededEvent as Zi, EnrollAuthFactorOptions as Zl, CustomProviderDefinitionAuthenticateVia as Zn, OrganizationRoleUpdatedEvent as Zo, DirectoryGroupResponse as Zp, ValidAgentCredential as Zr, SerializedUpdateGroupOptions as Zs, RadarListAction as Zt, SerializedAuthenticateWithPasswordOptions as Zu, SignatureVerificationException as _, AuthenticationSSOSucceededEvent as _a, FlagPollResponse as _c, SerializedAuthenticateWithCodeOptions as _d, CreateGroupRoleAssignmentOptions as _f, ActionContext as _i, PasswordResetEvent as _l, DataIntegrationCredentialsResponseCredentialResponse as _n, InvitationAcceptedEvent as _o, SerializedCreateAuthorizationResourceOptions as _p, ConnectApplicationResponse as _r, SessionCreatedEvent as _s, AuditLogActor as _t, AuthenticationFactorWithSecrets as _u, PublicWorkOS as a, AuthenticationPasskeyFailedEvent as aa, DeleteGroupOptions as ac, AuthenticateWithRadarEmailChallengeOptions as ad, GroupRoleAssignmentEntryWithResourceId as af, AgentRegistrationKind as ai, SendInvitationOptions as al, HttpClient as am, DataIntegrationsListResponseDataOwnership as an, GroupCreatedEvent as ao, SerializedAuthorizationCheckOptions as ap, PasswordlessSessionResponse as ar, PermissionCreatedEvent as as, DecryptDataKeyResponse as at, CreatePasswordResetOptions as au, NotFoundException as b, ConnectionActivatedEventResponse as ba, FeatureFlagResponse as bc, SerializedAuthenticatePublicClientBase as bd, CreateGroupRoleAssignmentOptionsWithResourceId as bf, UserDataPayload as bi, CreateMagicAuthResponse as bl, ConnectedAccount as bn, InvitationCreatedEventResponse as bo, ListPermissionsOptions as bp, ExternalAuthCompleteResponse as br, SessionRevokedEventResponse as bs, CreateAuditLogEventRequestOptions as bt, TotpResponse as bu, PortalLinkResponseWire as c, AuthenticationPasskeySucceededEventResponse as ca, AddGroupOrganizationMembershipOptions as cc, AuthenticateWithMagicAuthOptions as cd, SerializedReplaceGroupRoleAssignmentsOptions as cf, SerializedAgentRegistration as ci, SerializedRevokeSessionOptions as cl, RequestHeaders as cm, DataIntegrationsListResponseDataConnectedAccountResponse as cn, GroupDeletedEventResponse as co, UpdateAuthorizationResourceByExternalIdOptions as cp, NewConnectApplicationSecret as cr, PermissionDeletedEventResponse as cs, WidgetSessionTokenResponseWire as ct, SerializedCreateOrganizationMembershipOptions as cu, IntentOptions as d, AuthenticationPasswordSucceededEvent as da, RuntimeClientLogger as dc, AuthenticateWithEmailVerificationOptions as dd, RemoveGroupRoleAssignmentsOptionsForOrganization as df, PKCE as di, SerializedResetPasswordOptions as dl, ResponseHeaders as dm, DataIntegrationAccessTokenResponse as dn, GroupMemberEventData as do, SerializedListAuthorizationResourcesOptions as dp, ApplicationCredentialsListItemResponse as dr, RoleCreatedEvent as ds, FeatureFlagsRuntimeClient as dt, PKCEAuthorizationURLResult as du, AuthenticationMfaSucceededEventResponse as ea, ListGroupsOptions as ec, SerializedAuthenticateWithOrganizationSelectionOptions as ed, ListEffectivePermissionsOptions as ef, ValidateAgentCredentialOptions as ei, SendVerificationEmailOptions as el, DirectoryState as em, RadarStandaloneAssessRequestAuthMethod as en, FlagDeletedEventResponse as eo, SerializedListResourcesForMembershipOptions as ep, DataIntegrationCredentialsType as er, OrganizationUpdatedResponse as es, ReadObjectOptions as et, EmailVerificationEvent as eu, IntentOptionsResponse as f, AuthenticationPasswordSucceededEventResponse as fa, RuntimeClientOptions as fc, SerializedAuthenticateWithEmailVerificationOptions as fd, RemoveGroupRoleAssignmentsOptionsWithResourceExternalId as ff, PKCEPair as fi, ResendInvitationOptions as fl, CryptoProvider as fm, DataIntegrationAccessTokenResponseWire as fn, GroupMemberEventResponseData as fo, AuthorizationResource as fp, ConnectApplication as fr, RoleCreatedEventResponse as fs, CookieSession as ft, UserManagementAuthorizationURLOptions as fu, UnauthorizedException as g, AuthenticationSSOFailedEventResponse as ga, FlagPollEntry as gc, AuthenticateWithCodeOptions as gd, BaseCreateGroupRoleAssignmentOptions as gf, UserRegistrationActionResponseData as gi, PasswordReset as gl, DataIntegrationCredentialsResponseCredential as gn, GroupUpdatedEventResponse as go, CreateOptionsWithParentResourceId as gp, ConnectApplicationOAuthResponse as gr, RoleUpdatedEventResponse as gs, SerializedCreateAuditLogSchemaOptions as gt, AuthenticationFactorResponse as gu, UnprocessableEntityException as h, AuthenticationSSOFailedEvent as ha, FlagChange as hc, AuthenticateUserWithCodeCredentials as hd, RemoveGroupRoleAssignmentOptions as hf, ResponsePayload as hi, RefreshSessionResponse as hl, DataIntegrationCredentialsResponseError as hn, GroupUpdatedEvent as ho, CreateOptionsWithParentExternalId as hp, ConnectApplicationOAuth as hr, RoleUpdatedEvent as hs, CreateAuditLogSchemaResponse as ht, AuthenticationFactor as hu, PublicUserManagement as i, AuthenticationOAuthSucceededEventResponse as ia, GetGroupOptions as ic, AuthenticateUserWithRadarEmailChallengeCredentials as id, GroupRoleAssignmentEntryWithResourceExternalId as if, AgentRegistrationClaimCompletion as ii, SerializedSendRadarSmsChallengeOptions as il, EventDirectoryResponse as im, DataIntegrationsListResponseDataResponse as in, FlagUpdatedEventResponse as io, AuthorizationCheckResult as ip, PasswordlessSession as ir, PasswordResetSucceededEventResponse as is, DecryptDataKeyOptions as it, SerializedCreateUserOptions as iu, Webhooks as j, DsyncGroupDeletedEvent as ja, SerializedCreateOrganizationApiKeyOptions as jc, GetProfileAndTokenOptions as jd, SerializedRemoveRoleOptions as jf, DomainData as ji, ListSessionsOptions as jl, DataIntegrationCredentialType as jn, OrganizationDomainCreatedEvent as jo, UpdateOrganizationRoleOptions as jp, CreateOAuthApplication as jr, VaultDataCreatedEventResponse as js, VerifyResponse as jt, AuthenticateWithSessionCookieFailureReason as ju, WorkOSErrorData as k, DsyncGroupCreatedEvent as ka, CreateOrganizationApiKeyOptions as kc, ListConnectionsOptions as kd, RemoveRoleOptionsWithResourceExternalId as kf, CreateOrganizationRequestOptions as ki, SerializedListUsersOptions as kl, DataIntegrationCredential as kn, OrganizationDeletedEvent as ko, SetOrganizationRolePermissionsOptions as kp, CreateM2MApplication as kr, VaultByokKeyVerificationCompletedEventResponse as ks, AuditLogExportOptions as kt, SerializedAuthenticateWithTotpOptions as ku, GenerateLink as l, AuthenticationPasswordFailedEvent as la, SerializedAddGroupOrganizationMembershipOptions as lc, SerializedAuthenticateWithMagicAuthOptions as ld, BaseRemoveGroupRoleAssignmentsOptions as lf, SerializedAgentRegistrationClaim as li, serializeRevokeSessionOptions as ll, RequestOptions as lm, DataIntegrationsListResponseDataConnectedAccountState as ln, GroupMemberAddedEvent as lo, GetAuthorizationResourceByExternalIdOptions as lp, NewConnectApplicationSecretResponse as lr, PermissionUpdatedEvent as ls, CreateTokenOptions as lt, CreateMagicAuthOptions as lu, SSOIntentOptionsResponse as m, AuthenticationRadarRiskDetectedEventResponse as ma, ListFeatureFlagsOptions as mc, SerializedAuthenticateWithCodeAndVerifierOptions as md, SerializedRemoveGroupRoleAssignmentsOptions as mf, AuthenticationActionResponseData as mi, RefreshSessionFailureReason as ml, DataIntegrationAccessTokenResponseAccessTokenResponse as mn, GroupMemberRemovedEventResponse as mo, CreateAuthorizationResourceOptions as mp, ConnectApplicationM2MResponse as mr, RoleDeletedEventResponse as ms, CreateAuditLogSchemaRequestOptions as mt, AuthenticationRadarRiskDetectedEventResponseData as mu, PublicClientOptions as n, AuthenticationOAuthFailedEventResponse as na, Group as nc, AuthenticateWithRadarSmsChallengeOptions as nd, GroupRoleAssignmentEntry as nf, AgentRegistration as ni, SendRadarSmsChallengeResponse as nl, DirectoryType as nm, DataIntegrationsListResponseWire as nn, FlagRuleUpdatedEventResponse as no, AuthorizationCheckOptionsWithResourceExternalId as np, CreatePasswordlessSessionOptions as nr, PasswordResetCreatedEventResponse as ns, CreateObjectEntity as nt, EmailVerificationResponse as nu, createWorkOS as o, AuthenticationPasskeyFailedEventResponse as oa, CreateGroupOptions as oc, SerializedAuthenticateWithRadarEmailChallengeOptions as od, ReplaceGroupRoleAssignmentsOptions as of, AgentRegistrationStatus as oi, SerializedSendInvitationOptions as ol, HttpClientInterface as om, DataIntegrationsListResponseDataAuthMethods as on, GroupCreatedEventResponse as oo, DeleteAuthorizationResourceOptions as op, ListEventOptions as or, PermissionCreatedEventResponse as os, CreateDataKeyOptions as ot, SerializedCreatePasswordResetOptions as ou, SSOIntentOptions as p, AuthenticationRadarRiskDetectedEvent as pa, RemoveFlagTargetOptions as pc, AuthenticateWithCodeAndVerifierOptions as pd, RemoveGroupRoleAssignmentsOptionsWithResourceId as pf, Actions as pi, SerializedResendInvitationOptions as pl, DataIntegrationAccessTokenResponseAccessToken as pn, GroupMemberRemovedEvent as po, AuthorizationResourceResponse as pp, ConnectApplicationM2M as pr, RoleDeletedEvent as ps, CreateAuditLogSchemaOptions as pt, AuthenticationRadarRiskDetectedEventData as pu, Actor as q, Event as qa, UpdateUserOptions as qc, OrganizationRoleResponse as qd, RoleAssignmentSource as qf, AuthenticationEmailVerificationSucceededEvent as qi, InvitationEvent as ql, GetDataIntegrationOptions as qn, OrganizationRoleCreatedEvent as qo, ListDirectoriesOptions as qp, InvalidAgentCredential as qr, VaultNamesListedEventResponse as qs, RadarStandaloneResponseWire as qt, AuthenticateWithRefreshTokenOptions as qu, PublicSSO as r, AuthenticationOAuthSucceededEvent as ra, GroupResponse as rc, SerializedAuthenticateWithRadarSmsChallengeOptions as rd, GroupRoleAssignmentEntryForOrganization as rf, AgentRegistrationClaim as ri, SendRadarSmsChallengeResponseResponse as rl, EventDirectory as rm, DataIntegrationsListResponseData as rn, FlagUpdatedEvent as ro, AuthorizationCheckOptionsWithResourceId as rp, SerializedCreatePasswordlessSessionOptions as rr, PasswordResetSucceededEvent as rs, CreateObjectOptions as rt, CreateUserOptions as ru, PortalLinkResponse as s, AuthenticationPasskeySucceededEvent as sa, SerializedCreateGroupOptions as sc, AuthenticateUserWithMagicAuthCredentials as sd, SerializedGroupRoleAssignmentEntry as sf, SerializedAgentIdentity as si, RevokeSessionOptions as sl, HttpClientResponseInterface as sm, DataIntegrationsListResponseDataConnectedAccount as sn, GroupDeletedEvent as so, DeleteAuthorizationResourceByExternalIdOptions as sp, SerializedListEventOptions as sr, PermissionDeletedEvent as ss, WidgetSessionTokenResponse as st, CreateOrganizationMembershipOptions as su, ConfidentialClientOptions as t, AuthenticationOAuthFailedEvent as ta, ListGroupOrganizationMembershipsOptions as tc, AuthenticateUserWithRadarSmsChallengeCredentials as td, BaseGroupRoleAssignmentEntry as tf, AgentIdentity as ti, SendRadarSmsChallengeOptions as tl, DirectoryStateResponse as tm, DataIntegrationsListResponse as tn, FlagRuleUpdatedEvent as to, AuthorizationCheckOptions as tp, SendSessionResponse as tr, PasswordResetCreatedEvent as ts, ReadObjectResponse as tt, EmailVerificationEventResponse as tu, GenerateLinkResponse as u, AuthenticationPasswordFailedEventResponse as ua, RuntimeClientStats as uc, AuthenticateUserWithEmailVerificationCredentials as ud, RemoveGroupRoleAssignmentsOptions as uf, SerializedAgentRegistrationClaimCompletion as ui, ResetPasswordOptions as ul, ResponseHeaderValue as um, DataIntegrationsListResponseDataConnectedAccountAuthMethod as un, GroupMemberAddedEventResponse as uo, ListAuthorizationResourcesOptions as up, ApplicationCredentialsListItem as ur, PermissionUpdatedEventResponse as us, WidgetSessionTokenScopes as ut, SerializedCreateMagicAuthOptions as uu, RateLimitExceededException as v, AuthenticationSSOSucceededEventResponse as va, FlagTarget as vc, AuthenticateWithOptionsBase as vd, CreateGroupRoleAssignmentOptionsForOrganization as vf, ActionPayload as vi, PasswordResetEventResponse as vl, DataIntegrationAuthorizeUrlResponse as vn, InvitationAcceptedEventResponse as vo, SerializedUpdateAuthorizationResourceOptions as vp, ConnectApplicationRedirectUri as vr, SessionCreatedEventResponse as vs, AuditLogTarget as vt, AuthenticationFactorWithSecretsResponse as vu, AuthenticationErrorCode as w, ConnectionDeletedEventResponse as wa, ValidateApiKeyOptions as wc, ProfileAndTokenResponse as wd, GroupRoleAssignment as wf, Organization as wi, MagicAuthEventResponse as wl, DataIntegrationResponse as wn, InvitationRevokedEventResponse as wo, SerializedCreatePermissionOptions as wp, ListApplicationClientSecretsOptions as wr, UserDeletedEvent as ws, AuditLogSchemaMetadata as wt, AuthenticationEventResponse as wu, NoApiKeyProvidedException as x, ConnectionDeactivatedEvent as xa, EvaluationContext as xc, SerializedAuthenticateWithOptionsBase as xd, SerializedCreateGroupRoleAssignmentOptions as xf, UserRegistrationActionPayload as xi, CreateMagicAuthResponseResponse as xl, ConnectedAccountResponse as xn, InvitationResentEvent as xo, SerializedUpdatePermissionOptions as xp, ExternalAuthCompleteResponseWire as xr, UnknownEvent as xs, SerializedCreateAuditLogEventOptions as xt, TotpWithSecrets as xu, OauthException as y, ConnectionActivatedEvent as ya, FeatureFlag as yc, AuthenticateWithSessionOptions as yd, CreateGroupRoleAssignmentOptionsWithResourceExternalId as yf, UserData as yi, PasswordResetResponse as yl, DataIntegrationAuthorizeUrlResponseWire as yn, InvitationCreatedEvent as yo, UpdateAuthorizationResourceOptions as yp, ConnectApplicationRedirectUriResponse as yr, SessionRevokedEvent as ys, CreateAuditLogEventOptions as yt, Totp as yu, ObjectSummary as z, DsyncUserCreatedEvent as za, OrganizationDomainVerificationStrategy as zc, DefaultCustomAttributes as zd, SerializedListRoleAssignmentsForResourceOptions as zf, List as zi, OrganizationMembership as zl, CreateDataIntegrationCredentialOptions as zn, OrganizationDomainVerifiedEvent as zo, CreateEnvironmentRoleOptions as zp, UserConsentOptionChoice as zr, VaultDekDecryptedEventResponse as zs, SmsResponse as zt, CreateUserResponseResponse as zu };
9727
+ //# sourceMappingURL=factory-B8vTFojy.d.mts.map