@workos-inc/node 10.6.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
@@ -608,6 +637,16 @@ interface RoleAssignmentResourceResponse {
608
637
  external_id: string;
609
638
  resource_type_slug: string;
610
639
  }
640
+ interface RoleAssignmentSource {
641
+ /** Whether the role was assigned directly or derived from a group. */
642
+ type: 'direct' | 'group';
643
+ /** The ID of the group role assignment the role was derived from, or null if direct. */
644
+ groupRoleAssignmentId: string | null;
645
+ }
646
+ interface RoleAssignmentSourceResponse {
647
+ type: 'direct' | 'group';
648
+ group_role_assignment_id: string | null;
649
+ }
611
650
  interface RoleAssignment {
612
651
  /** Distinguishes the role assignment object. */
613
652
  object: 'role_assignment';
@@ -619,6 +658,8 @@ interface RoleAssignment {
619
658
  role: RoleAssignmentRole;
620
659
  /** The resource to which the role is assigned. */
621
660
  resource: RoleAssignmentResource;
661
+ /** The origin of the role assignment. */
662
+ source: RoleAssignmentSource;
622
663
  /** An ISO 8601 timestamp. */
623
664
  createdAt: string;
624
665
  /** An ISO 8601 timestamp. */
@@ -630,6 +671,7 @@ interface RoleAssignmentResponse {
630
671
  organization_membership_id: string;
631
672
  role: RoleAssignmentRole;
632
673
  resource: RoleAssignmentResourceResponse;
674
+ source: RoleAssignmentSourceResponse;
633
675
  created_at: string;
634
676
  updated_at: string;
635
677
  }
@@ -2397,6 +2439,10 @@ interface ApiKey {
2397
2439
  owner: {
2398
2440
  type: 'organization';
2399
2441
  id: string;
2442
+ } | {
2443
+ type: 'user';
2444
+ id: string;
2445
+ organizationId: string;
2400
2446
  };
2401
2447
  /** A descriptive name for the API Key. */
2402
2448
  name: string;
@@ -2417,6 +2463,10 @@ interface SerializedApiKey {
2417
2463
  owner: {
2418
2464
  type: 'organization';
2419
2465
  id: string;
2466
+ } | {
2467
+ type: 'user';
2468
+ id: string;
2469
+ organization_id: string;
2420
2470
  };
2421
2471
  name: string;
2422
2472
  obfuscated_value: string;
@@ -2481,9 +2531,15 @@ interface ValidateApiKeyOptions {
2481
2531
  }
2482
2532
  interface ValidateApiKeyResponse {
2483
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;
2484
2539
  }
2485
2540
  interface SerializedValidateApiKeyResponse {
2486
2541
  api_key: SerializedApiKey | null;
2542
+ agent_registration_id?: string;
2487
2543
  }
2488
2544
  //#endregion
2489
2545
  //#region src/feature-flags/interfaces/add-flag-target-options.interface.d.ts
@@ -3478,6 +3534,8 @@ interface GetOptions {
3478
3534
  warrantToken?: string;
3479
3535
  /** Skip API key requirement check (for PKCE-safe methods) */
3480
3536
  skipApiKeyCheck?: boolean;
3537
+ /** Maximum number of retries for this request, overriding the client-wide `maxRetries`. */
3538
+ maxRetries?: number;
3481
3539
  }
3482
3540
  //#endregion
3483
3541
  //#region src/common/interfaces/list.interface.d.ts
@@ -3506,6 +3564,8 @@ interface PatchOptions {
3506
3564
  idempotencyKey?: string;
3507
3565
  /** Skip API key requirement check (for PKCE-safe methods) */
3508
3566
  skipApiKeyCheck?: boolean;
3567
+ /** Maximum number of retries for this request, overriding the client-wide `maxRetries`. */
3568
+ maxRetries?: number;
3509
3569
  }
3510
3570
  //#endregion
3511
3571
  //#region src/common/interfaces/post-options.interface.d.ts
@@ -3517,6 +3577,8 @@ interface PostOptions {
3517
3577
  warrantToken?: string;
3518
3578
  /** Skip API key requirement check (for PKCE-safe methods) */
3519
3579
  skipApiKeyCheck?: boolean;
3580
+ /** Maximum number of retries for this request, overriding the client-wide `maxRetries`. */
3581
+ maxRetries?: number;
3520
3582
  }
3521
3583
  //#endregion
3522
3584
  //#region src/common/interfaces/put-options.interface.d.ts
@@ -3527,6 +3589,8 @@ interface PutOptions {
3527
3589
  idempotencyKey?: string;
3528
3590
  /** Skip API key requirement check (for PKCE-safe methods) */
3529
3591
  skipApiKeyCheck?: boolean;
3592
+ /** Maximum number of retries for this request, overriding the client-wide `maxRetries`. */
3593
+ maxRetries?: number;
3530
3594
  }
3531
3595
  //#endregion
3532
3596
  //#region src/common/interfaces/unprocessable-entity-error.interface.d.ts
@@ -3552,6 +3616,13 @@ interface WorkOSOptions {
3552
3616
  fetchFn?: typeof fetch;
3553
3617
  clientId?: string;
3554
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;
3555
3626
  }
3556
3627
  //#endregion
3557
3628
  //#region src/common/interfaces/workos-response-error.interface.d.ts
@@ -3743,12 +3814,7 @@ declare class Actions {
3743
3814
  private signatureProvider;
3744
3815
  constructor(cryptoProvider: CryptoProvider);
3745
3816
  private get computeSignature();
3746
- get verifyHeader(): ({
3747
- payload,
3748
- sigHeader,
3749
- secret,
3750
- tolerance
3751
- }: {
3817
+ get verifyHeader(): ({ payload, sigHeader, secret, tolerance }: {
3752
3818
  payload: WebhookPayload;
3753
3819
  sigHeader: string;
3754
3820
  secret: string;
@@ -3760,12 +3826,7 @@ declare class Actions {
3760
3826
  payload: ResponsePayload;
3761
3827
  signature: string;
3762
3828
  }>;
3763
- constructAction({
3764
- payload,
3765
- sigHeader,
3766
- secret,
3767
- tolerance
3768
- }: {
3829
+ constructAction({ payload, sigHeader, secret, tolerance }: {
3769
3830
  payload: WebhookPayload;
3770
3831
  sigHeader: string;
3771
3832
  secret: string;
@@ -3809,6 +3870,263 @@ declare class PKCE {
3809
3870
  private base64UrlEncode;
3810
3871
  }
3811
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
3812
4130
  //#region src/common/utils/pagination.d.ts
3813
4131
  declare class AutoPaginatable<ResourceType, ParametersType extends PaginationOptions = PaginationOptions> {
3814
4132
  protected list: List<ResourceType>;
@@ -4694,23 +5012,527 @@ interface SendSessionResponse {
4694
5012
  declare class Passwordless {
4695
5013
  private readonly workos;
4696
5014
  constructor(workos: WorkOS);
4697
- createSession({
4698
- redirectURI,
4699
- expiresIn,
4700
- ...options
4701
- }: CreatePasswordlessSessionOptions): Promise<PasswordlessSession>;
5015
+ createSession({ redirectURI, expiresIn, ...options }: CreatePasswordlessSessionOptions): Promise<PasswordlessSession>;
4702
5016
  sendSession(sessionId: string): Promise<SendSessionResponse>;
4703
5017
  }
4704
5018
  //#endregion
4705
- //#region src/pipes/interfaces/access-token.interface.d.ts
4706
- 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. */
4707
5525
  object: 'access_token';
5526
+ /** The OAuth access token for the connected integration. */
4708
5527
  accessToken: string;
5528
+ /** The ISO-8601 formatted timestamp indicating when the access token expires. */
4709
5529
  expiresAt: Date | null;
5530
+ /** The scopes granted to the access token. */
4710
5531
  scopes: string[];
5532
+ /** If the integration has requested scopes that aren't present on the access token, they're listed here. */
4711
5533
  missingScopes: string[];
4712
5534
  }
4713
- interface SerializedAccessToken {
5535
+ interface DataIntegrationAccessTokenResponseAccessTokenResponse {
4714
5536
  object: 'access_token';
4715
5537
  access_token: string;
4716
5538
  expires_at: string | null;
@@ -4718,44 +5540,412 @@ interface SerializedAccessToken {
4718
5540
  missing_scopes: string[];
4719
5541
  }
4720
5542
  //#endregion
4721
- //#region src/pipes/interfaces/get-access-token.interface.d.ts
4722
- interface GetAccessTokenOptions {
4723
- userId: string;
4724
- 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;
4725
5606
  }
4726
- interface SerializedGetAccessTokenOptions {
4727
- user_id: string;
4728
- 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;
4729
5619
  }
4730
- interface GetAccessTokenSuccessResponse {
4731
- active: true;
4732
- 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;
4733
5663
  }
4734
- interface GetAccessTokenFailureResponse {
4735
- active: false;
4736
- 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;
4737
5678
  }
4738
- type GetAccessTokenResponse = GetAccessTokenSuccessResponse | GetAccessTokenFailureResponse;
4739
- interface SerializedGetAccessTokenSuccessResponse {
4740
- active: true;
4741
- 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[];
4742
5686
  }
4743
- interface SerializedGetAccessTokenFailureResponse {
4744
- active: false;
4745
- error: 'not_installed' | 'needs_reauthorization';
5687
+ interface DataIntegrationsListResponseWire {
5688
+ object: 'list';
5689
+ data: DataIntegrationsListResponseDataResponse[];
4746
5690
  }
4747
- type SerializedGetAccessTokenResponse = SerializedGetAccessTokenSuccessResponse | SerializedGetAccessTokenFailureResponse;
4748
5691
  //#endregion
4749
5692
  //#region src/pipes/pipes.d.ts
4750
5693
  declare class Pipes {
4751
5694
  private readonly workos;
4752
5695
  constructor(workos: WorkOS);
4753
- getAccessToken({
4754
- provider,
4755
- ...options
4756
- }: GetAccessTokenOptions & {
4757
- provider: string;
4758
- }): 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>;
4759
5949
  }
4760
5950
  //#endregion
4761
5951
  //#region src/radar/interfaces/radar-standalone-assess-request-auth-method.interface.d.ts
@@ -4991,14 +6181,7 @@ declare class AdminPortal {
4991
6181
  * @throws {NotFoundException} 404
4992
6182
  * @throws {UnprocessableEntityException} 422
4993
6183
  */
4994
- generateLink({
4995
- intent,
4996
- organization,
4997
- returnUrl,
4998
- successUrl,
4999
- intentOptions,
5000
- adminEmails
5001
- }: {
6184
+ generateLink({ intent, organization, returnUrl, successUrl, intentOptions, adminEmails }: {
5002
6185
  intent?: GenerateLinkIntent;
5003
6186
  organization: string;
5004
6187
  returnUrl?: string;
@@ -5096,11 +6279,7 @@ declare class SSO {
5096
6279
  *
5097
6280
  * @throws Error if neither codeVerifier nor API key is available
5098
6281
  */
5099
- getProfileAndToken<CustomAttributesType extends UnknownRecord = UnknownRecord>({
5100
- code,
5101
- clientId,
5102
- codeVerifier
5103
- }: GetProfileAndTokenOptions): Promise<ProfileAndToken<CustomAttributesType>>;
6282
+ getProfileAndToken<CustomAttributesType extends UnknownRecord = UnknownRecord>({ code, clientId, codeVerifier }: GetProfileAndTokenOptions): Promise<ProfileAndToken<CustomAttributesType>>;
5104
6283
  /**
5105
6284
  * Get a User Profile
5106
6285
  *
@@ -5109,9 +6288,7 @@ declare class SSO {
5109
6288
  * @throws {UnauthorizedException} 401
5110
6289
  * @throws {NotFoundException} 404
5111
6290
  */
5112
- getProfile<CustomAttributesType extends UnknownRecord = UnknownRecord>({
5113
- accessToken
5114
- }: GetProfileOptions): Promise<Profile<CustomAttributesType>>;
6291
+ getProfile<CustomAttributesType extends UnknownRecord = UnknownRecord>({ accessToken }: GetProfileOptions): Promise<Profile<CustomAttributesType>>;
5115
6292
  }
5116
6293
  //#endregion
5117
6294
  //#region src/multi-factor-auth/interfaces/challenge-factor-options.d.ts
@@ -5762,13 +6939,16 @@ type CryptoKey = Extract<Awaited<ReturnType<typeof crypto.subtle.generateKey>>,
5762
6939
  */
5763
6940
  declare const customFetch: unique symbol;
5764
6941
  /** See {@link customFetch}. */
5765
- type FetchImplementation = (/** URL the request is being made sent to {@link !fetch} as the `resource` argument */
5766
-
5767
- url: string, /** Options otherwise sent to {@link !fetch} as the `options` argument */
5768
-
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 */
5769
6946
  options: {
5770
- /** HTTP Headers */headers: Headers; /** The {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods request method} */
5771
- 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} */
5772
6952
  redirect: 'manual';
5773
6953
  signal: AbortSignal;
5774
6954
  }) => Promise<Response>;
@@ -5883,11 +7063,16 @@ type JWKSCacheInput = ExportedJWKSCache | Record<string, never>;
5883
7063
  * @param options Options for the remote JSON Web Key Set.
5884
7064
  */
5885
7065
  declare function createRemoteJWKSet(url: URL, options?: RemoteJWKSetOptions): {
5886
- (protectedHeader?: JWSHeaderParameters, token?: FlattenedJWSInput): Promise<CryptoKey>; /** @ignore */
5887
- coolingDown: boolean; /** @ignore */
5888
- fresh: boolean; /** @ignore */
5889
- reloading: boolean; /** @ignore */
5890
- 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 */
5891
7076
  jwks: () => JSONWebKeySet | undefined;
5892
7077
  };
5893
7078
  //#endregion
@@ -5928,9 +7113,7 @@ declare class CookieSession {
5928
7113
  *
5929
7114
  * @returns The URL to redirect the user to for logging out.
5930
7115
  */
5931
- getLogoutUrl({
5932
- returnTo
5933
- }?: {
7116
+ getLogoutUrl({ returnTo }?: {
5934
7117
  returnTo?: string;
5935
7118
  }): Promise<string>;
5936
7119
  private isValidJwt;
@@ -6048,17 +7231,11 @@ declare class UserManagement {
6048
7231
  authenticateWithRadarSmsChallenge(payload: AuthenticateWithRadarSmsChallengeOptions): Promise<AuthenticationResponse>;
6049
7232
  /** Authenticate with Radar email challenge. */
6050
7233
  authenticateWithRadarEmailChallenge(payload: AuthenticateWithRadarEmailChallengeOptions): Promise<AuthenticationResponse>;
6051
- authenticateWithSessionCookie({
6052
- sessionData,
6053
- cookiePassword
6054
- }: AuthenticateWithSessionCookieOptions): Promise<AuthenticateWithSessionCookieSuccessResponse | AuthenticateWithSessionCookieFailedResponse>;
7234
+ authenticateWithSessionCookie({ sessionData, cookiePassword }: AuthenticateWithSessionCookieOptions): Promise<AuthenticateWithSessionCookieSuccessResponse | AuthenticateWithSessionCookieFailedResponse>;
6055
7235
  private isValidJwt;
6056
7236
  private prepareAuthenticationResponse;
6057
7237
  private sealSessionDataFromAuthenticationResponse;
6058
- getSessionFromCookie({
6059
- sessionData,
6060
- cookiePassword
6061
- }: SessionHandlerOptions): Promise<SessionCookieData | undefined>;
7238
+ getSessionFromCookie({ sessionData, cookiePassword }: SessionHandlerOptions): Promise<SessionCookieData | undefined>;
6062
7239
  /**
6063
7240
  * Get an email verification code
6064
7241
  *
@@ -6076,9 +7253,7 @@ declare class UserManagement {
6076
7253
  * @throws {NotFoundException} 404
6077
7254
  * @throws {RateLimitExceededException} 429
6078
7255
  */
6079
- sendVerificationEmail({
6080
- userId
6081
- }: SendVerificationEmailOptions): Promise<{
7256
+ sendVerificationEmail({ userId }: SendVerificationEmailOptions): Promise<{
6082
7257
  user: User;
6083
7258
  }>;
6084
7259
  /**
@@ -6110,10 +7285,7 @@ declare class UserManagement {
6110
7285
  * @throws {NotFoundException} 404
6111
7286
  * @throws {UnprocessableEntityException} 422
6112
7287
  */
6113
- verifyEmail({
6114
- code,
6115
- userId
6116
- }: VerifyEmailOptions): Promise<{
7288
+ verifyEmail({ code, userId }: VerifyEmailOptions): Promise<{
6117
7289
  user: User;
6118
7290
  }>;
6119
7291
  /**
@@ -7859,6 +9031,7 @@ declare class WorkOS {
7859
9031
  readonly pkce: PKCE;
7860
9032
  private readonly hasApiKey;
7861
9033
  readonly actions: Actions;
9034
+ readonly agents: Agents;
7862
9035
  readonly apiKeys: ApiKeys;
7863
9036
  readonly auditLogs: AuditLogs;
7864
9037
  readonly authorization: Authorization;
@@ -8229,12 +9402,7 @@ declare class Webhooks {
8229
9402
  deleteWebhookEndpoint(options: DeleteWebhookEndpointOptions): Promise<void>;
8230
9403
  private _signatureProvider?;
8231
9404
  private get signatureProvider();
8232
- get verifyHeader(): ({
8233
- payload,
8234
- sigHeader,
8235
- secret,
8236
- tolerance
8237
- }: {
9405
+ get verifyHeader(): ({ payload, sigHeader, secret, tolerance }: {
8238
9406
  payload: WebhookPayload;
8239
9407
  sigHeader: string;
8240
9408
  secret: string;
@@ -8242,12 +9410,7 @@ declare class Webhooks {
8242
9410
  }) => Promise<boolean>;
8243
9411
  get computeSignature(): (timestamp: any, payload: WebhookPayload, secret: string) => Promise<string>;
8244
9412
  get getTimestampAndSignatureHash(): (sigHeader: string) => [string, string];
8245
- constructEvent({
8246
- payload,
8247
- sigHeader,
8248
- secret,
8249
- tolerance
8250
- }: {
9413
+ constructEvent({ payload, sigHeader, secret, tolerance }: {
8251
9414
  payload: WebhookPayload;
8252
9415
  sigHeader: string;
8253
9416
  secret: string;
@@ -8323,12 +9486,7 @@ declare class BadRequestException extends Error implements RequestException {
8323
9486
  readonly code?: string;
8324
9487
  readonly errors?: unknown[];
8325
9488
  readonly requestID: string;
8326
- constructor({
8327
- code,
8328
- errors,
8329
- message,
8330
- requestID
8331
- }: {
9489
+ constructor({ code, errors, message, requestID }: {
8332
9490
  code?: string;
8333
9491
  errors?: unknown[];
8334
9492
  message?: string;
@@ -8342,12 +9500,7 @@ declare class ConflictException extends Error implements RequestException {
8342
9500
  readonly name = "ConflictException";
8343
9501
  readonly requestID: string;
8344
9502
  readonly code?: string;
8345
- constructor({
8346
- error,
8347
- message,
8348
- requestID,
8349
- code
8350
- }: {
9503
+ constructor({ error, message, requestID, code }: {
8351
9504
  error?: string;
8352
9505
  message?: string;
8353
9506
  requestID: string;
@@ -8369,12 +9522,7 @@ declare class NotFoundException extends Error implements RequestException {
8369
9522
  readonly message: string;
8370
9523
  readonly code?: string;
8371
9524
  readonly requestID: string;
8372
- constructor({
8373
- code,
8374
- message,
8375
- path,
8376
- requestID
8377
- }: {
9525
+ constructor({ code, message, path, requestID }: {
8378
9526
  code?: string;
8379
9527
  message?: string;
8380
9528
  path: string;
@@ -8404,7 +9552,6 @@ declare class RateLimitExceededException extends GenericServerException {
8404
9552
  /**
8405
9553
  * The number of seconds to wait before retrying the request.
8406
9554
  */
8407
-
8408
9555
  retryAfter: number | null);
8409
9556
  }
8410
9557
  //#endregion
@@ -8430,12 +9577,7 @@ declare class UnprocessableEntityException extends Error implements RequestExcep
8430
9577
  readonly message: string;
8431
9578
  readonly code?: string;
8432
9579
  readonly requestID: string;
8433
- constructor({
8434
- code,
8435
- errors,
8436
- message,
8437
- requestID
8438
- }: {
9580
+ constructor({ code, errors, message, requestID }: {
8439
9581
  code?: string;
8440
9582
  errors?: UnprocessableEntityError[];
8441
9583
  message?: string;
@@ -8581,5 +9723,5 @@ interface ConfidentialClientOptions extends WorkOSOptions {
8581
9723
  declare function createWorkOS(options: PublicClientOptions): PublicWorkOS;
8582
9724
  declare function createWorkOS(options: ConfidentialClientOptions): WorkOS;
8583
9725
  //#endregion
8584
- export { ReadObjectMetadataResponse as $, PermissionUpdatedEventResponse as $a, SerializedCreateMagicAuthOptions as $c, AuthorizationResource as $d, CryptoProvider 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, EnvironmentRoleListResponse 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, ListResourcesForMembershipOptionsWithParentId as Bd, DirectoryResponse 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, SetEnvironmentRolePermissionsOptions 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, SerializedCreateEnvironmentRoleOptions 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, CreateEnvironmentRoleOptions 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, SerializedListDirectoriesOptions 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, AuthorizationCheckResult as Gd, EventDirectoryResponse 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, AuthorizationCheckOptions as Hd, DirectoryStateResponse 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, ListMembershipsForResourceByExternalIdOptions as Id, PaginationOptions 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, DeleteAuthorizationResourceByExternalIdOptions as Jd, HttpClientResponseInterface 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, SerializedAuthorizationCheckOptions as Kd, HttpClient 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, ListMembershipsForResourceOptions as Ld, DirectoryGroup 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, ListDirectoryUsersOptions 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, ListDirectoryGroupsOptions 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, EnvironmentRole 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, ListDirectoriesOptions 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, SerializedListAuthorizationResourcesOptions as Qd, ResponseHeaders 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, ListResourcesForMembershipOptions as Rd, DirectoryGroupResponse 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, AddEnvironmentRolePermissionOptions 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, UpdateEnvironmentRoleOptions 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, AuthorizationCheckOptionsWithResourceExternalId as Ud, DirectoryType 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, SerializedListResourcesForMembershipOptions as Vd, DirectoryState 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, AuthorizationCheckOptionsWithResourceId as Wd, EventDirectory 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, GetAuthorizationResourceByExternalIdOptions as Xd, RequestOptions 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, UpdateAuthorizationResourceByExternalIdOptions as Yd, RequestHeaders 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, ListAuthorizationResourcesOptions as Zd, ResponseHeaderValue 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, SerializedUpdateOrganizationRoleOptions 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, SerializedUpdateAuthorizationResourceOptions 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, SerializedCreateOrganizationRoleOptions 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, SerializedUpdatePermissionOptions 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, SerializedCreatePermissionOptions 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, AuthorizationResourceResponse as ef, AuthenticationPasswordSucceededEvent as ei, PKCEAuthorizationURLResult as el, RadarStandaloneAssessRequestAuthMethod as en, RoleCreatedEvent as eo, PKCE as er, RuntimeClientLogger as es, ReadObjectOptions as et, AuthenticateWithEmailVerificationOptions as eu, IntentOptionsResponse as f, InvitationRevokedEvent as fa, MagicAuthEvent as fc, ListGroupRoleAssignmentsOptions as fd, Permission 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, SetOrganizationRolePermissionsOptions 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, AddOrganizationRolePermissionOptions 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, SerializedCreateAuthorizationResourceOptions 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, EnvironmentRoleResponse 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, EnvironmentRoleList 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, UpdatePermissionOptions 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, RemoveOrganizationRolePermissionOptions 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, CreateOptionsWithParentExternalId 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, UpdateAuthorizationResourceOptions 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, PermissionResponse 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, DeleteAuthorizationResourceOptions as qd, HttpClientInterface 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, CreateOptionsWithParentResourceId 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, ListPermissionsOptions 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, CreateAuthorizationResourceOptions as tf, AuthenticationPasswordSucceededEventResponse as ti, UserManagementAuthorizationURLOptions as tl, GetAccessTokenFailureResponse as tn, RoleCreatedEventResponse as to, PKCEPair as tr, RuntimeClientOptions as ts, ReadObjectResponse as tt, SerializedAuthenticateWithEmailVerificationOptions as tu, GenerateLinkResponse as u, InvitationResentEvent as ua, CreateMagicAuthResponseResponse as uc, SerializedCreateGroupRoleAssignmentOptions as ud, CreatePermissionOptions 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, UpdateOrganizationRoleOptions 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, SerializedUpdateEnvironmentRoleOptions 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, OrganizationRole 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, CreateOrganizationRoleOptions 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, ListResourcesForMembershipOptionsWithParentExternalId as zd, Directory 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 };
8585
- //# sourceMappingURL=factory-nPldaSjn.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.cts.map