@workos-inc/node 10.14.0 → 11.0.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.
@@ -1,3 +1,4 @@
1
+ //#endregion
1
2
  //#region src/common/crypto/crypto-provider.d.ts
2
3
  /**
3
4
  * Interface encapsulating the various crypto computations used by the library,
@@ -3012,29 +3013,82 @@ interface SerializedUpdateGroupOptions {
3012
3013
  description?: string | null;
3013
3014
  }
3014
3015
  //#endregion
3015
- //#region src/pipes/interfaces/authorize-data-integration-options.interface.d.ts
3016
- interface AuthorizeDataIntegrationOptions {
3017
- /** The slug identifier of the provider (e.g., `github`, `slack`, `notion`). */
3018
- slug: string;
3019
- /** The ID of the user to authorize. */
3016
+ //#region src/pipes/interfaces/api-key-installation.interface.d.ts
3017
+ interface ApiKeyInstallation {
3018
+ /** The API key secret to store for the tenant. */
3019
+ secret: string;
3020
+ /** The User identifier the API key is installed for. */
3021
+ userId: string;
3022
+ /** An Organization identifier to scope the installation to a specific organization. */
3023
+ organizationId?: string;
3024
+ }
3025
+ interface ApiKeyInstallationResponse {
3026
+ secret: string;
3027
+ user_id: string;
3028
+ organization_id?: string;
3029
+ }
3030
+ //#endregion
3031
+ //#region src/pipes/interfaces/data-integrations-get-data-integration-authorize-url-request-connection-owner.interface.d.ts
3032
+ declare const DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner: {
3033
+ readonly User: "user";
3034
+ readonly Organization: "organization";
3035
+ };
3036
+ type DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner = (typeof DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner)[keyof typeof DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner];
3037
+ //#endregion
3038
+ //#region src/pipes/interfaces/data-integrations-get-data-integration-authorize-url-request.interface.d.ts
3039
+ interface DataIntegrationsGetDataIntegrationAuthorizeUrlRequest {
3040
+ /** The ID of the user to authorize. When `connection_owner` is `organization`, this is the user authorizing on behalf of the organization; they must be an active member of the organization and do not become the owner of the resulting connected account. */
3020
3041
  userId: string;
3021
- /** An organization ID to scope the authorization to a specific organization. */
3042
+ /** An organization ID to scope the authorization to a specific organization. Required when `connection_owner` is `organization`. */
3022
3043
  organizationId?: string;
3044
+ /** Who will own the connected account. `user` (the default) connects the user's own account. `organization` connects the organization's shared account and requires `organization_id`. */
3045
+ connectionOwner?: DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner;
3023
3046
  /** The URL to redirect the user to after authorization. */
3024
3047
  returnTo?: string;
3048
+ /** Connect-time config values for the provider-declared `installation`-scope fields (e.g. a Zendesk `subdomain`), keyed by the config field. Only fields the provider declares may be supplied, and required fields must be provided unless already pinned on the integration. */
3049
+ config?: Record<string, string>;
3050
+ }
3051
+ interface DataIntegrationsGetDataIntegrationAuthorizeUrlRequestResponse {
3052
+ user_id: string;
3053
+ organization_id?: string;
3054
+ connection_owner?: DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner;
3055
+ return_to?: string;
3056
+ config?: Record<string, string>;
3057
+ }
3058
+ //#endregion
3059
+ //#region src/pipes/interfaces/authorize-data-integration-options.interface.d.ts
3060
+ interface AuthorizeDataIntegrationOptions extends DataIntegrationsGetDataIntegrationAuthorizeUrlRequest {
3061
+ /** The slug identifier of the provider (e.g., `github`, `slack`, `notion`). */
3062
+ slug: string;
3025
3063
  }
3026
3064
  //#endregion
3027
3065
  //#region src/pipes/interfaces/connected-account-auth-method.interface.d.ts
3028
3066
  declare const ConnectedAccountAuthMethod: {
3029
3067
  readonly OAuth: "oauth";
3030
3068
  readonly ApiKey: "api_key";
3069
+ readonly ClientCredentials: "client_credentials";
3031
3070
  };
3032
3071
  type ConnectedAccountAuthMethod = (typeof ConnectedAccountAuthMethod)[keyof typeof ConnectedAccountAuthMethod];
3033
3072
  //#endregion
3073
+ //#region src/pipes/interfaces/connected-account-connection-role.interface.d.ts
3074
+ declare const ConnectedAccountConnectionRole: {
3075
+ readonly Compatibility: "compatibility";
3076
+ readonly Standard: "standard";
3077
+ };
3078
+ type ConnectedAccountConnectionRole = (typeof ConnectedAccountConnectionRole)[keyof typeof ConnectedAccountConnectionRole];
3079
+ //#endregion
3080
+ //#region src/pipes/interfaces/connected-account-input-state.interface.d.ts
3081
+ declare const ConnectedAccountInputState: {
3082
+ readonly Connected: "connected";
3083
+ readonly NeedsReauthorization: "needs_reauthorization";
3084
+ };
3085
+ type ConnectedAccountInputState = (typeof ConnectedAccountInputState)[keyof typeof ConnectedAccountInputState];
3086
+ //#endregion
3034
3087
  //#region src/pipes/interfaces/connected-account-state.interface.d.ts
3035
3088
  declare const ConnectedAccountState: {
3036
3089
  readonly Connected: "connected";
3037
3090
  readonly NeedsReauthorization: "needs_reauthorization";
3091
+ readonly Disconnected: "disconnected";
3038
3092
  };
3039
3093
  type ConnectedAccountState = (typeof ConnectedAccountState)[keyof typeof ConnectedAccountState];
3040
3094
  //#endregion
@@ -3044,16 +3098,28 @@ interface ConnectedAccount {
3044
3098
  object: 'connected_account';
3045
3099
  /** The unique identifier of the connected account. */
3046
3100
  id: string;
3101
+ /** Whether this row is the compatibility connection visible to undeclared clients or a standard peer for plural-aware clients. The role does not indicate preference or creation order. */
3102
+ connectionRole?: ConnectedAccountConnectionRole;
3103
+ /** A best-effort identifier for the provider account this connection points at. It is correlation metadata, not the connection identifier or a selector. */
3104
+ accountIdentifier?: string | null;
3105
+ /** A mutable, non-unique display name for the provider account connection. */
3106
+ accountDisplayName?: string | null;
3047
3107
  /** The [User](https://workos.com/docs/reference/authkit/user) identifier associated with this connection. */
3048
3108
  userId: string | null;
3049
3109
  /** The [Organization](https://workos.com/docs/reference/organization) identifier associated with this connection, or `null` if not scoped to an organization. */
3050
3110
  organizationId: string | null;
3051
3111
  /** The OAuth scopes granted for this connection. */
3052
3112
  scopes: string[];
3053
- /** The authentication method used for this connection (`oauth` or `api_key`). Defaults to `oauth` if absent. */
3113
+ /** The authentication method used for this connection (`oauth`, `api_key`, or `client_credentials`). Defaults to `oauth` if absent. */
3054
3114
  authMethod?: ConnectedAccountAuthMethod;
3055
3115
  /** The last four characters of the API key, or `null` for OAuth connections. */
3056
3116
  apiKeyLast4?: string | null;
3117
+ /** The client ID supplied for this connection. Only present when `auth_method` is `client_credentials`. */
3118
+ clientId?: string | null;
3119
+ /** The last four characters of the client secret supplied for this connection, or `null` when it can't be read. Only present when `auth_method` is `client_credentials`. */
3120
+ clientSecretLast4?: string | null;
3121
+ /** The connection-level configuration values stored for this connection — the fields the provider declares at `installation` scope, excluding secret and undeclared fields. Returned for every authentication method; empty when no stored values can be disclosed. */
3122
+ config?: Record<string, string>;
3057
3123
  /**
3058
3124
  * The state of the connected account:
3059
3125
  * - `connected`: The connection is active and tokens are valid.
@@ -3069,44 +3135,132 @@ interface ConnectedAccount {
3069
3135
  interface ConnectedAccountResponse {
3070
3136
  object: 'connected_account';
3071
3137
  id: string;
3138
+ connection_role?: ConnectedAccountConnectionRole;
3139
+ account_identifier?: string | null;
3140
+ account_display_name?: string | null;
3072
3141
  user_id: string | null;
3073
3142
  organization_id: string | null;
3074
3143
  scopes: string[];
3075
3144
  auth_method?: ConnectedAccountAuthMethod;
3076
3145
  api_key_last_4?: string | null;
3146
+ client_id?: string | null;
3147
+ client_secret_last_4?: string | null;
3148
+ config?: Record<string, string>;
3077
3149
  state: ConnectedAccountState;
3078
3150
  created_at: string;
3079
3151
  updated_at: string;
3080
3152
  }
3081
3153
  //#endregion
3082
- //#region src/pipes/interfaces/create-data-integration-credential-options.interface.d.ts
3083
- interface CreateDataIntegrationCredentialOptions {
3154
+ //#region src/pipes/interfaces/data-integrations-create-api-key-connection-request-connection-owner.interface.d.ts
3155
+ declare const DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner: {
3156
+ readonly User: "user";
3157
+ readonly Organization: "organization";
3158
+ };
3159
+ type DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner = (typeof DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner)[keyof typeof DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner];
3160
+ //#endregion
3161
+ //#region src/pipes/interfaces/create-data-integration-api-key-options.interface.d.ts
3162
+ interface CreateDataIntegrationApiKeyOptions {
3163
+ /** The identifier of the integration. */
3164
+ slug: string;
3165
+ /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
3166
+ userId: string;
3167
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. Required when `connection_owner` is `organization`. */
3168
+ organizationId?: string;
3169
+ /** Whose connection to create or rotate. `user` (the default) addresses the connection owned by `user_id`. `organization` addresses the connection shared by every member of `organization_id`; `user_id` then identifies the member performing the request and must be an active member of the organization. */
3170
+ connectionOwner?: DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner;
3171
+ /** The API key secret to store for this integration. */
3172
+ secret: string;
3173
+ /** Must be `add`: this endpoint only creates another connection. The first connection for an owner shape fills the compatibility slot; later connections are standard. Creating an additional connection is not yet available: until it is, `add` succeeds only when the owner has no connection for this integration and otherwise returns 404 `multiple_connections_unavailable`. */
3174
+ connectionIntent: 'add';
3175
+ }
3176
+ //#endregion
3177
+ //#region src/pipes/interfaces/create-data-integration-auth-methods.interface.d.ts
3178
+ declare const CreateDataIntegrationAuthMethods: {
3179
+ readonly OAuth: "oauth";
3180
+ readonly ApiKey: "api_key";
3181
+ readonly ClientCredentials: "client_credentials";
3182
+ };
3183
+ type CreateDataIntegrationAuthMethods = (typeof CreateDataIntegrationAuthMethods)[keyof typeof CreateDataIntegrationAuthMethods];
3184
+ //#endregion
3185
+ //#region src/pipes/interfaces/data-integrations-create-client-credentials-connection-request-connection-owner.interface.d.ts
3186
+ declare const DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner: {
3187
+ readonly User: "user";
3188
+ readonly Organization: "organization";
3189
+ };
3190
+ type DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner = (typeof DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner)[keyof typeof DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner];
3191
+ //#endregion
3192
+ //#region src/pipes/interfaces/create-data-integration-client-credential-options.interface.d.ts
3193
+ interface CreateDataIntegrationClientCredentialOptions {
3084
3194
  /** The identifier of the integration. */
3085
3195
  slug: string;
3086
3196
  /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
3087
3197
  userId: string;
3088
- /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. */
3198
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. Required when `connection_owner` is `organization`. */
3199
+ organizationId?: string;
3200
+ /** Whose connection to create or rotate. `user` (the default) addresses the connection owned by `user_id`. `organization` addresses the connection shared by every member of `organization_id`; `user_id` then identifies the member performing the request and must be an active member of the organization. */
3201
+ connectionOwner?: DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner;
3202
+ /** The OAuth client ID to store for this integration. */
3203
+ clientId: string;
3204
+ /** The OAuth client secret to store for this integration. */
3205
+ clientSecret: string;
3206
+ /** Provider-specific configuration values collected for this installation, keyed by the provider's config field descriptors. */
3207
+ config?: Record<string, string>;
3208
+ /** Must be `add`: this endpoint only creates another connection. The first connection for an owner shape fills the compatibility slot; later connections are standard. Creating an additional connection is not yet available: until it is, `add` succeeds only when the owner has no connection for this integration and otherwise returns 404 `multiple_connections_unavailable`. */
3209
+ connectionIntent: 'add';
3210
+ }
3211
+ //#endregion
3212
+ //#region src/pipes/interfaces/data-integrations-vend-credentials-request-connection-owner.interface.d.ts
3213
+ declare const DataIntegrationsVendCredentialsRequestConnectionOwner: {
3214
+ readonly User: "user";
3215
+ readonly Organization: "organization";
3216
+ };
3217
+ type DataIntegrationsVendCredentialsRequestConnectionOwner = (typeof DataIntegrationsVendCredentialsRequestConnectionOwner)[keyof typeof DataIntegrationsVendCredentialsRequestConnectionOwner];
3218
+ //#endregion
3219
+ //#region src/pipes/interfaces/data-integrations-vend-credentials-request.interface.d.ts
3220
+ interface DataIntegrationsVendCredentialsRequest {
3221
+ /** A [User](https://workos.com/docs/reference/authkit/user) identifier. When `connection_owner` is `organization`, this is the user the credentials are vended on behalf of; they must be an active member of the organization. */
3222
+ userId: string;
3223
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. Required when `connection_owner` is `organization`. */
3089
3224
  organizationId?: string;
3225
+ /** A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to select a specific connection when the user has several for this provider. */
3226
+ connectedAccountId?: string;
3227
+ /** Which connection to vend from. `user` (the default) vends the user's own connection and requires `user_id`. `organization` vends the organization's shared connection and requires `organization_id`. */
3228
+ connectionOwner?: DataIntegrationsVendCredentialsRequestConnectionOwner;
3229
+ /** Set to `true` to use the plural connection contract. If no `connected_account_id` is supplied and several connections match, the request returns `account_selection_required`. When omitted or `false`, only the compatibility connection is considered. */
3230
+ supportsMultipleConnections?: boolean;
3231
+ }
3232
+ interface DataIntegrationsVendCredentialsRequestResponse {
3233
+ user_id: string;
3234
+ organization_id?: string;
3235
+ connected_account_id?: string;
3236
+ connection_owner?: DataIntegrationsVendCredentialsRequestConnectionOwner;
3237
+ supports_multiple_connections?: boolean;
3238
+ }
3239
+ //#endregion
3240
+ //#region src/pipes/interfaces/create-data-integration-credential-options.interface.d.ts
3241
+ interface CreateDataIntegrationCredentialOptions extends DataIntegrationsVendCredentialsRequest {
3242
+ /** The identifier of the integration. */
3243
+ slug: string;
3090
3244
  }
3091
3245
  //#endregion
3092
- //#region src/pipes/interfaces/data-integration-credentials-type.interface.d.ts
3093
- declare const DataIntegrationCredentialsType: {
3246
+ //#region src/pipes/interfaces/data-integration-credentials-input-type.interface.d.ts
3247
+ declare const DataIntegrationCredentialsInputType: {
3094
3248
  readonly Custom: "custom";
3095
3249
  readonly Organization: "organization";
3096
3250
  };
3097
- type DataIntegrationCredentialsType = (typeof DataIntegrationCredentialsType)[keyof typeof DataIntegrationCredentialsType];
3251
+ type DataIntegrationCredentialsInputType = (typeof DataIntegrationCredentialsInputType)[keyof typeof DataIntegrationCredentialsInputType];
3098
3252
  //#endregion
3099
- //#region src/pipes/interfaces/data-integration-credentials-dto.interface.d.ts
3100
- interface DataIntegrationCredentialsDto {
3253
+ //#region src/pipes/interfaces/data-integration-credentials-input.interface.d.ts
3254
+ interface DataIntegrationCredentialsInput {
3101
3255
  /** The credentials type. `custom` uses your own OAuth app credentials; `organization` has each organization supply its own credentials (configured per-organization). */
3102
- type: DataIntegrationCredentialsType;
3256
+ type: DataIntegrationCredentialsInputType;
3103
3257
  /** OAuth client ID for the provider app. Required when `type` is `custom`; omit for `organization`. */
3104
3258
  clientId?: string;
3105
3259
  /** OAuth client secret for the provider app. Required when `type` is `custom`; omit for `organization`. */
3106
3260
  clientSecret?: string;
3107
3261
  }
3108
- interface DataIntegrationCredentialsDtoResponse {
3109
- type: DataIntegrationCredentialsType;
3262
+ interface DataIntegrationCredentialsInputResponse {
3263
+ type: DataIntegrationCredentialsInputType;
3110
3264
  client_id?: string;
3111
3265
  client_secret?: string;
3112
3266
  }
@@ -3122,11 +3276,11 @@ type CustomProviderDefinitionAuthenticateVia = (typeof CustomProviderDefinitionA
3122
3276
  interface CustomProviderDefinition {
3123
3277
  /** A descriptive name for the custom provider. */
3124
3278
  name: string;
3125
- /** The provider's OAuth authorization endpoint. */
3126
- authorizationUrl: string;
3127
- /** The provider's OAuth token endpoint. */
3128
- tokenUrl: string;
3129
- /** The endpoint used to refresh tokens, if different from the token endpoint. */
3279
+ /** The provider's OAuth authorization endpoint. Required for OAuth providers; omit for `api_key` providers. Must be a static URL: `${config.…}` placeholders are resolved against a provider's declared config fields, which custom providers cannot declare. */
3280
+ authorizationUrl?: string;
3281
+ /** The provider's OAuth token endpoint. Required for OAuth and `client_credentials` providers; omit for `api_key` providers. Must be a static URL: `${config.…}` placeholders are resolved against a provider's declared config fields, which custom providers cannot declare. */
3282
+ tokenUrl?: string;
3283
+ /** The endpoint used to refresh tokens, if different from the token endpoint. Must be a static URL, like the other endpoints. */
3130
3284
  refreshTokenUrl?: string | null;
3131
3285
  /** Whether PKCE is used during the authorization code flow. Defaults to `true`. */
3132
3286
  pkceEnabled?: boolean;
@@ -3145,8 +3299,8 @@ interface CustomProviderDefinition {
3145
3299
  }
3146
3300
  interface CustomProviderDefinitionResponse {
3147
3301
  name: string;
3148
- authorization_url: string;
3149
- token_url: string;
3302
+ authorization_url?: string;
3303
+ token_url?: string;
3150
3304
  refresh_token_url?: string | null;
3151
3305
  pkce_enabled?: boolean;
3152
3306
  request_scope_separator?: string;
@@ -3157,21 +3311,82 @@ interface CustomProviderDefinitionResponse {
3157
3311
  authenticate_via?: CustomProviderDefinitionAuthenticateVia;
3158
3312
  }
3159
3313
  //#endregion
3160
- //#region src/pipes/interfaces/create-data-integration-options.interface.d.ts
3161
- interface CreateDataIntegrationOptions {
3314
+ //#region src/pipes/interfaces/create-data-integration-ownership.interface.d.ts
3315
+ declare const CreateDataIntegrationOwnership: {
3316
+ readonly User: "user";
3317
+ readonly Organization: "organization";
3318
+ };
3319
+ type CreateDataIntegrationOwnership = (typeof CreateDataIntegrationOwnership)[keyof typeof CreateDataIntegrationOwnership];
3320
+ //#endregion
3321
+ //#region src/pipes/interfaces/create-data-integration.interface.d.ts
3322
+ interface CreateDataIntegration {
3162
3323
  /** 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. */
3163
3324
  provider: string;
3325
+ /** Who owns the Data Integration. `user` (the default) creates the integration users connect their own accounts to; `organization` creates the root organizations connect to. Ownership is fixed at creation, and one integration of each ownership may exist per provider. Independent of `credentials.type`. */
3326
+ ownership?: CreateDataIntegrationOwnership;
3164
3327
  /** An optional description of the Data Integration. */
3165
3328
  description?: string | null;
3166
3329
  /** Whether the Data Integration is enabled. Defaults to `false`. */
3167
3330
  enabled?: boolean;
3168
3331
  /** The OAuth scopes to request for the Data Integration. Defaults to the provider's configured scopes when omitted. */
3169
3332
  scopes?: string[] | null;
3170
- /** The credentials to configure for the Data Integration. Required for both built-in and custom providers. */
3171
- credentials?: DataIntegrationCredentialsDto;
3333
+ /** How accounts authenticate with the provider. Defaults to `["oauth"]`. Use `["api_key"]` to declare an API key integration; `credentials` is then not required and keys are supplied per-tenant (optionally via `api_key` on this request). Use `["client_credentials"]` to declare a client-credentials integration; `credentials` is likewise not required and client credentials are supplied per-tenant. */
3334
+ authMethods?: CreateDataIntegrationAuthMethods[];
3335
+ /** Provider-specific config values (e.g. a Snowflake `account`), keyed by the config field. Only fields the built-in provider declares are accepted. */
3336
+ config?: Record<string, string>;
3337
+ /** The OAuth credentials to configure for the Data Integration. Required for OAuth integrations; omit when `auth_methods` is `["api_key"]`. */
3338
+ credentials?: DataIntegrationCredentialsInput;
3339
+ /** An optional API key to install for the first tenant on an `api_key` integration. Omit to declare a keyless integration; tenants can be added later via the per-installation API key path. */
3340
+ apiKey?: ApiKeyInstallation;
3172
3341
  /** 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. */
3173
3342
  customProvider?: CustomProviderDefinition;
3174
3343
  }
3344
+ interface CreateDataIntegrationResponse {
3345
+ provider: string;
3346
+ ownership?: CreateDataIntegrationOwnership;
3347
+ description?: string | null;
3348
+ enabled?: boolean;
3349
+ scopes?: string[] | null;
3350
+ auth_methods?: CreateDataIntegrationAuthMethods[];
3351
+ config?: Record<string, string>;
3352
+ credentials?: DataIntegrationCredentialsInputResponse;
3353
+ api_key?: ApiKeyInstallationResponse;
3354
+ custom_provider?: CustomProviderDefinitionResponse;
3355
+ }
3356
+ //#endregion
3357
+ //#region src/pipes/interfaces/create-data-integration-options.interface.d.ts
3358
+ interface CreateDataIntegrationOptions extends CreateDataIntegration {
3359
+ provider: string;
3360
+ }
3361
+ //#endregion
3362
+ //#region src/pipes/interfaces/organization-connected-account-state.interface.d.ts
3363
+ declare const OrganizationConnectedAccountState: {
3364
+ readonly Connected: "connected";
3365
+ readonly NeedsReauthorization: "needs_reauthorization";
3366
+ };
3367
+ type OrganizationConnectedAccountState = (typeof OrganizationConnectedAccountState)[keyof typeof OrganizationConnectedAccountState];
3368
+ //#endregion
3369
+ //#region src/pipes/interfaces/create-organization-connected-account-options.interface.d.ts
3370
+ interface CreateOrganizationConnectedAccountOptions {
3371
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. */
3372
+ organizationId: string;
3373
+ /** The slug identifier of the provider (e.g., `github`, `slack`, `notion`). */
3374
+ slug: string;
3375
+ /** The OAuth access token for the connected account. */
3376
+ accessToken?: string;
3377
+ /** The OAuth refresh token for the connected account. */
3378
+ refreshToken?: string;
3379
+ /** The ISO-8601 timestamp when the access token expires. Required when `access_token` is provided for tokens that expire. */
3380
+ expiresAt?: Date;
3381
+ /** The OAuth scopes granted for this connection. */
3382
+ scopes?: string[];
3383
+ /** Explicitly set the state of the connected account. When omitted, the state is derived from the token combination provided. */
3384
+ state?: OrganizationConnectedAccountState;
3385
+ /** The [User](https://workos.com/docs/reference/authkit/user) identifier of the organization member on whose behalf the connected account is being imported or updated. The user must be an active member of the organization. */
3386
+ userId: string;
3387
+ /** Explicitly create a connection. Omit for compatibility behavior. Until additional connections are available, `add` returns 404 `multiple_connections_unavailable` if the owner already has a connection. */
3388
+ connectionIntent?: 'add';
3389
+ }
3175
3390
  //#endregion
3176
3391
  //#region src/pipes/interfaces/create-user-connected-account-options.interface.d.ts
3177
3392
  interface CreateUserConnectedAccountOptions {
@@ -3190,7 +3405,9 @@ interface CreateUserConnectedAccountOptions {
3190
3405
  /** The OAuth scopes granted for this connection. */
3191
3406
  scopes?: string[];
3192
3407
  /** Explicitly set the state of the connected account. When omitted, the state is derived from the token combination provided. */
3193
- state?: ConnectedAccountState;
3408
+ state?: ConnectedAccountInputState;
3409
+ /** Explicitly create a connection. Omit for compatibility behavior. Until additional connections are available, `add` returns 404 `multiple_connections_unavailable` if the owner already has a connection. */
3410
+ connectionIntent?: 'add';
3194
3411
  }
3195
3412
  //#endregion
3196
3413
  //#region src/pipes/interfaces/data-integration-access-token-response-access-token.interface.d.ts
@@ -3231,6 +3448,14 @@ type DataIntegrationAccessTokenResponseWire = {
3231
3448
  error: 'needs_reauthorization' | 'not_installed';
3232
3449
  };
3233
3450
  //#endregion
3451
+ //#region src/pipes/interfaces/data-integration-auth-methods.interface.d.ts
3452
+ declare const DataIntegrationAuthMethods: {
3453
+ readonly OAuth: "oauth";
3454
+ readonly ApiKey: "api_key";
3455
+ readonly ClientCredentials: "client_credentials";
3456
+ };
3457
+ type DataIntegrationAuthMethods = (typeof DataIntegrationAuthMethods)[keyof typeof DataIntegrationAuthMethods];
3458
+ //#endregion
3234
3459
  //#region src/pipes/interfaces/data-integration-authorize-url-response.interface.d.ts
3235
3460
  interface DataIntegrationAuthorizeUrlResponse {
3236
3461
  /** The OAuth authorization URL to redirect the user to. */
@@ -3263,30 +3488,69 @@ interface DataIntegrationCredentialResponse {
3263
3488
  redacted_client_secret: string | null;
3264
3489
  }
3265
3490
  //#endregion
3266
- //#region src/pipes/interfaces/data-integration-credentials-response-credential.interface.d.ts
3267
- /** The credential object containing the vended secret. */
3268
- interface DataIntegrationCredentialsResponseCredential {
3269
- /** Distinguishes the credential object. */
3491
+ //#region src/pipes/interfaces/data-integration-vended-credential.interface.d.ts
3492
+ /**
3493
+ * A vended credential, discriminated by its authentication method.
3494
+ * `config` contains provider-declared, non-secret snapshot values with live
3495
+ * defaults. It is optional for compatibility with older API responses.
3496
+ */
3497
+ type DataIntegrationVendedCredential = {
3270
3498
  object: 'credential';
3271
- /** The authentication method for this credential. Additional values may be added in the future; handle unknown values gracefully. */
3272
3499
  authMethod: 'oauth';
3273
- /** The OAuth access token. */
3274
3500
  value: string;
3275
- /** The ISO-8601 formatted timestamp indicating when the credential expires. */
3501
+ config?: Record<string, string>;
3276
3502
  expiresAt: string | null;
3277
- /** The scopes granted to the access token. */
3278
3503
  scopes: string[];
3279
- /** If the integration has requested scopes that aren't present on the access token, they're listed here. */
3280
3504
  missingScopes: string[];
3281
- }
3282
- interface DataIntegrationCredentialsResponseCredentialResponse {
3505
+ metadata?: undefined;
3506
+ } | {
3507
+ object: 'credential';
3508
+ authMethod: 'api_key';
3509
+ value: string;
3510
+ config?: Record<string, string>;
3511
+ expiresAt?: undefined;
3512
+ scopes?: undefined;
3513
+ missingScopes?: undefined;
3514
+ metadata?: undefined;
3515
+ } | {
3516
+ object: 'credential';
3517
+ authMethod: 'client_credentials';
3518
+ value: string;
3519
+ config?: Record<string, string>;
3520
+ expiresAt: string | null;
3521
+ scopes: string[];
3522
+ missingScopes: string[];
3523
+ /** Non-sensitive provider token response fields, such as an instance URL. */
3524
+ metadata: Record<string, unknown>;
3525
+ };
3526
+ type DataIntegrationVendedCredentialResponse = {
3283
3527
  object: 'credential';
3284
3528
  auth_method: 'oauth';
3285
3529
  value: string;
3530
+ config?: Record<string, string>;
3286
3531
  expires_at: string | null;
3287
3532
  scopes: string[];
3288
3533
  missing_scopes: string[];
3289
- }
3534
+ metadata?: undefined;
3535
+ } | {
3536
+ object: 'credential';
3537
+ auth_method: 'api_key';
3538
+ value: string;
3539
+ config?: Record<string, string>;
3540
+ expires_at?: undefined;
3541
+ scopes?: undefined;
3542
+ missing_scopes?: undefined;
3543
+ metadata?: undefined;
3544
+ } | {
3545
+ object: 'credential';
3546
+ auth_method: 'client_credentials';
3547
+ value: string;
3548
+ config?: Record<string, string>;
3549
+ expires_at: string | null;
3550
+ scopes: string[];
3551
+ missing_scopes: string[];
3552
+ metadata: Record<string, unknown>;
3553
+ };
3290
3554
  //#endregion
3291
3555
  //#region src/pipes/interfaces/data-integration-credentials-response-error.interface.d.ts
3292
3556
  declare const DataIntegrationCredentialsResponseError: {
@@ -3295,6 +3559,26 @@ declare const DataIntegrationCredentialsResponseError: {
3295
3559
  };
3296
3560
  type DataIntegrationCredentialsResponseError = (typeof DataIntegrationCredentialsResponseError)[keyof typeof DataIntegrationCredentialsResponseError];
3297
3561
  //#endregion
3562
+ //#region src/pipes/interfaces/data-integration-credentials-response.interface.d.ts
3563
+ type DataIntegrationCredentialsResponse = {
3564
+ active: true;
3565
+ credential: DataIntegrationVendedCredential;
3566
+ error?: undefined;
3567
+ } | {
3568
+ active: false;
3569
+ error: DataIntegrationCredentialsResponseError;
3570
+ credential?: undefined;
3571
+ };
3572
+ type DataIntegrationCredentialsResponseWire = {
3573
+ active: true;
3574
+ credential: DataIntegrationVendedCredentialResponse;
3575
+ error?: undefined;
3576
+ } | {
3577
+ active: false;
3578
+ error: DataIntegrationCredentialsResponseError;
3579
+ credential?: undefined;
3580
+ };
3581
+ //#endregion
3298
3582
  //#region src/pipes/interfaces/data-integration-custom-provider-authenticate-via.interface.d.ts
3299
3583
  declare const DataIntegrationCustomProviderAuthenticateVia: {
3300
3584
  readonly RequestBody: "request_body";
@@ -3341,6 +3625,47 @@ interface DataIntegrationCustomProviderResponse {
3341
3625
  authenticate_via: DataIntegrationCustomProviderAuthenticateVia;
3342
3626
  }
3343
3627
  //#endregion
3628
+ //#region src/pipes/interfaces/data-integration-installation-connection-role.interface.d.ts
3629
+ declare const DataIntegrationInstallationConnectionRole: {
3630
+ readonly Compatibility: "compatibility";
3631
+ readonly Standard: "standard";
3632
+ };
3633
+ type DataIntegrationInstallationConnectionRole = (typeof DataIntegrationInstallationConnectionRole)[keyof typeof DataIntegrationInstallationConnectionRole];
3634
+ //#endregion
3635
+ //#region src/pipes/interfaces/data-integration-installation.interface.d.ts
3636
+ interface DataIntegrationInstallation {
3637
+ /** Unique identifier of the installation. */
3638
+ id: string;
3639
+ /** Whether this is the compatibility connection visible to undeclared clients or a standard connection for plural-aware clients. */
3640
+ connectionRole: DataIntegrationInstallationConnectionRole;
3641
+ /** A best-effort provider account identifier used for correlation, not connection selection. */
3642
+ accountIdentifier: string | null;
3643
+ /** A mutable, non-unique display name for this connection. */
3644
+ accountDisplayName: string | null;
3645
+ /** The User the API key was installed for. Null on an `organization`-owned integration, whose installations belong to the organization. */
3646
+ userId: string | null;
3647
+ /** The Organization the installation is scoped to (or owned by, on an `organization`-owned integration), or null when unscoped. */
3648
+ organizationId: string | null;
3649
+ /** The last four characters of the stored API key. The full key is never returned. */
3650
+ apiKeyLast4: string | null;
3651
+ }
3652
+ interface DataIntegrationInstallationResponse {
3653
+ id: string;
3654
+ connection_role: DataIntegrationInstallationConnectionRole;
3655
+ account_identifier: string | null;
3656
+ account_display_name: string | null;
3657
+ user_id: string | null;
3658
+ organization_id: string | null;
3659
+ api_key_last_4: string | null;
3660
+ }
3661
+ //#endregion
3662
+ //#region src/pipes/interfaces/data-integration-ownership.interface.d.ts
3663
+ declare const DataIntegrationOwnership: {
3664
+ readonly User: "user";
3665
+ readonly Organization: "organization";
3666
+ };
3667
+ type DataIntegrationOwnership = (typeof DataIntegrationOwnership)[keyof typeof DataIntegrationOwnership];
3668
+ //#endregion
3344
3669
  //#region src/pipes/interfaces/data-integration-state.interface.d.ts
3345
3670
  declare const DataIntegrationState: {
3346
3671
  readonly Valid: "valid";
@@ -3359,6 +3684,8 @@ interface DataIntegration {
3359
3684
  slug: string;
3360
3685
  /** The integration type derived from the provider. */
3361
3686
  integrationType: string;
3687
+ /** Who owns the Data Integration: `user` when users connect their own accounts, `organization` when organizations connect. Fixed at creation. */
3688
+ ownership?: DataIntegrationOwnership;
3362
3689
  /** An optional description of the Data Integration. */
3363
3690
  description: string | null;
3364
3691
  /** Whether the Data Integration is enabled. */
@@ -3367,10 +3694,16 @@ interface DataIntegration {
3367
3694
  state: DataIntegrationState;
3368
3695
  /** The OAuth scopes configured for the Data Integration. `null` when the provider's configured scopes are used. */
3369
3696
  scopes: string[] | null;
3370
- /** The OAuth redirect URI to register with the provider when configuring the custom application. */
3697
+ /** The OAuth redirect URI to register with the provider when configuring the custom application. Empty for `api_key` and `client_credentials` integrations, which run no authorization redirect. */
3371
3698
  redirectUri: string;
3372
- /** The credentials configured for the Data Integration. */
3373
- credentials: DataIntegrationCredential;
3699
+ /** How accounts authenticate with the provider for this Data Integration. */
3700
+ authMethods?: DataIntegrationAuthMethods[];
3701
+ /** The integration-level OAuth app credentials. `null` for `api_key` and `client_credentials` integrations, which hold no integration-level credentials (secrets are installed per-tenant). */
3702
+ credentials: DataIntegrationCredential | null;
3703
+ /** The tenant installation created when an API key was supplied at creation time; `null` otherwise. Not populated on list/get responses. */
3704
+ installation?: DataIntegrationInstallation | null;
3705
+ /** Provider-specific config values set on the Data Integration (e.g. a Snowflake `account`), keyed by config field. Only fields the provider declares are accepted. */
3706
+ config?: Record<string, string>;
3374
3707
  /** The OAuth definition when this is a custom provider; `null` for built-in providers. */
3375
3708
  customProvider: DataIntegrationCustomProvider | null;
3376
3709
  /** An ISO 8601 timestamp. */
@@ -3383,21 +3716,54 @@ interface DataIntegrationResponse {
3383
3716
  id: string;
3384
3717
  slug: string;
3385
3718
  integration_type: string;
3719
+ ownership?: DataIntegrationOwnership;
3386
3720
  description: string | null;
3387
3721
  enabled: boolean;
3388
3722
  state: DataIntegrationState;
3389
3723
  scopes: string[] | null;
3390
3724
  redirect_uri: string;
3391
- credentials: DataIntegrationCredentialResponse;
3725
+ auth_methods?: DataIntegrationAuthMethods[];
3726
+ credentials: DataIntegrationCredentialResponse | null;
3727
+ installation?: DataIntegrationInstallationResponse | null;
3728
+ config?: Record<string, string>;
3392
3729
  custom_provider: DataIntegrationCustomProviderResponse | null;
3393
3730
  created_at: string;
3394
3731
  updated_at: string;
3395
3732
  }
3396
3733
  //#endregion
3734
+ //#region src/pipes/interfaces/data-integrations-get-user-token-request-connection-owner.interface.d.ts
3735
+ declare const DataIntegrationsGetUserTokenRequestConnectionOwner: {
3736
+ readonly User: "user";
3737
+ readonly Organization: "organization";
3738
+ };
3739
+ type DataIntegrationsGetUserTokenRequestConnectionOwner = (typeof DataIntegrationsGetUserTokenRequestConnectionOwner)[keyof typeof DataIntegrationsGetUserTokenRequestConnectionOwner];
3740
+ //#endregion
3741
+ //#region src/pipes/interfaces/data-integrations-get-user-token-request.interface.d.ts
3742
+ interface DataIntegrationsGetUserTokenRequest {
3743
+ /** A [User](https://workos.com/docs/reference/authkit/user) identifier. When `connection_owner` is `organization`, this is the user the credentials are vended on behalf of; they must be an active member of the organization. */
3744
+ userId: string;
3745
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. Required when `connection_owner` is `organization`. */
3746
+ organizationId?: string | null;
3747
+ /** A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to select a specific connection when the user has several for this provider. */
3748
+ connectedAccountId?: string;
3749
+ /** Which connection to vend from. `user` (the default) vends the user's own connection and requires `user_id`. `organization` vends the organization's shared connection and requires `organization_id`. */
3750
+ connectionOwner?: DataIntegrationsGetUserTokenRequestConnectionOwner;
3751
+ /** Set to `true` to use the plural connection contract. If no `connected_account_id` is supplied and several connections match, the request returns `account_selection_required`. When omitted or `false`, only the compatibility connection is considered. */
3752
+ supportsMultipleConnections?: boolean;
3753
+ }
3754
+ interface DataIntegrationsGetUserTokenRequestResponse {
3755
+ user_id: string;
3756
+ organization_id?: string | null;
3757
+ connected_account_id?: string;
3758
+ connection_owner?: DataIntegrationsGetUserTokenRequestConnectionOwner;
3759
+ supports_multiple_connections?: boolean;
3760
+ }
3761
+ //#endregion
3397
3762
  //#region src/pipes/interfaces/data-integrations-list-response-data-auth-methods.interface.d.ts
3398
3763
  declare const DataIntegrationsListResponseDataAuthMethods: {
3399
3764
  readonly OAuth: "oauth";
3400
3765
  readonly ApiKey: "api_key";
3766
+ readonly ClientCredentials: "client_credentials";
3401
3767
  };
3402
3768
  type DataIntegrationsListResponseDataAuthMethods = (typeof DataIntegrationsListResponseDataAuthMethods)[keyof typeof DataIntegrationsListResponseDataAuthMethods];
3403
3769
  //#endregion
@@ -3405,9 +3771,17 @@ type DataIntegrationsListResponseDataAuthMethods = (typeof DataIntegrationsListR
3405
3771
  declare const DataIntegrationsListResponseDataConnectedAccountAuthMethod: {
3406
3772
  readonly OAuth: "oauth";
3407
3773
  readonly ApiKey: "api_key";
3774
+ readonly ClientCredentials: "client_credentials";
3408
3775
  };
3409
3776
  type DataIntegrationsListResponseDataConnectedAccountAuthMethod = (typeof DataIntegrationsListResponseDataConnectedAccountAuthMethod)[keyof typeof DataIntegrationsListResponseDataConnectedAccountAuthMethod];
3410
3777
  //#endregion
3778
+ //#region src/pipes/interfaces/data-integrations-list-response-data-connected-account-connection-role.interface.d.ts
3779
+ declare const DataIntegrationsListResponseDataConnectedAccountConnectionRole: {
3780
+ readonly Compatibility: "compatibility";
3781
+ readonly Standard: "standard";
3782
+ };
3783
+ type DataIntegrationsListResponseDataConnectedAccountConnectionRole = (typeof DataIntegrationsListResponseDataConnectedAccountConnectionRole)[keyof typeof DataIntegrationsListResponseDataConnectedAccountConnectionRole];
3784
+ //#endregion
3411
3785
  //#region src/pipes/interfaces/data-integrations-list-response-data-connected-account-state.interface.d.ts
3412
3786
  declare const DataIntegrationsListResponseDataConnectedAccountState: {
3413
3787
  readonly Connected: "connected";
@@ -3422,16 +3796,28 @@ interface DataIntegrationsListResponseDataConnectedAccount {
3422
3796
  object: 'connected_account';
3423
3797
  /** The unique identifier of the connected account. */
3424
3798
  id: string;
3799
+ /** Whether this row is the compatibility connection visible to undeclared clients or a standard peer for plural-aware clients. The role does not indicate preference or creation order. */
3800
+ connectionRole?: DataIntegrationsListResponseDataConnectedAccountConnectionRole;
3801
+ /** A best-effort identifier for the provider account this connection points at. It is correlation metadata, not the connection identifier or a selector. */
3802
+ accountIdentifier?: string | null;
3803
+ /** A mutable, non-unique display name for the provider account connection. */
3804
+ accountDisplayName?: string | null;
3425
3805
  /** The [User](https://workos.com/docs/reference/authkit/user) identifier associated with this connection. */
3426
3806
  userId: string | null;
3427
3807
  /** The [Organization](https://workos.com/docs/reference/organization) identifier associated with this connection, or `null` if not scoped to an organization. */
3428
3808
  organizationId: string | null;
3429
3809
  /** The OAuth scopes granted for this connection. */
3430
3810
  scopes: string[];
3431
- /** The authentication method used for this connection (`oauth` or `api_key`). Defaults to `oauth` if absent. */
3811
+ /** The authentication method used for this connection (`oauth`, `api_key`, or `client_credentials`). Defaults to `oauth` if absent. */
3432
3812
  authMethod?: DataIntegrationsListResponseDataConnectedAccountAuthMethod;
3433
3813
  /** The last four characters of the API key, or `null` for OAuth connections. */
3434
3814
  apiKeyLast4?: string | null;
3815
+ /** The client ID supplied for this connection. Only present when `auth_method` is `client_credentials`. */
3816
+ clientId?: string | null;
3817
+ /** The last four characters of the client secret supplied for this connection, or `null` when it can't be read. Only present when `auth_method` is `client_credentials`. */
3818
+ clientSecretLast4?: string | null;
3819
+ /** The connection-level configuration values stored for this connection — the fields the provider declares at `installation` scope, excluding secret and undeclared fields. Returned for every authentication method; empty when no stored values can be disclosed. */
3820
+ config?: Record<string, string>;
3435
3821
  /**
3436
3822
  * The state of the connected account:
3437
3823
  * - `connected`: The connection is active and tokens are valid.
@@ -3452,17 +3838,30 @@ interface DataIntegrationsListResponseDataConnectedAccount {
3452
3838
  interface DataIntegrationsListResponseDataConnectedAccountResponse {
3453
3839
  object: 'connected_account';
3454
3840
  id: string;
3841
+ connection_role?: DataIntegrationsListResponseDataConnectedAccountConnectionRole;
3842
+ account_identifier?: string | null;
3843
+ account_display_name?: string | null;
3455
3844
  user_id: string | null;
3456
3845
  organization_id: string | null;
3457
3846
  scopes: string[];
3458
3847
  auth_method?: DataIntegrationsListResponseDataConnectedAccountAuthMethod;
3459
3848
  api_key_last_4?: string | null;
3849
+ client_id?: string | null;
3850
+ client_secret_last_4?: string | null;
3851
+ config?: Record<string, string>;
3460
3852
  state: DataIntegrationsListResponseDataConnectedAccountState;
3461
3853
  created_at: string;
3462
3854
  updated_at: string;
3463
3855
  userland_user_id: string | null;
3464
3856
  }
3465
3857
  //#endregion
3858
+ //#region src/pipes/interfaces/data-integrations-list-response-data-connection-owner.interface.d.ts
3859
+ declare const DataIntegrationsListResponseDataConnectionOwner: {
3860
+ readonly User: "user";
3861
+ readonly Organization: "organization";
3862
+ };
3863
+ type DataIntegrationsListResponseDataConnectionOwner = (typeof DataIntegrationsListResponseDataConnectionOwner)[keyof typeof DataIntegrationsListResponseDataConnectionOwner];
3864
+ //#endregion
3466
3865
  //#region src/pipes/interfaces/data-integrations-list-response-data-ownership.interface.d.ts
3467
3866
  declare const DataIntegrationsListResponseDataOwnership: {
3468
3867
  readonly UserlandUser: "userland_user";
@@ -3488,16 +3887,23 @@ interface DataIntegrationsListResponseData {
3488
3887
  credentialsType: string;
3489
3888
  /** The OAuth scopes configured for this provider, or `null` if none are configured. */
3490
3889
  scopes: string[] | null;
3491
- /** The authentication methods supported by this provider (`oauth`, `api_key`, or both). Defaults to `["oauth"]` if absent. */
3890
+ /** The authentication methods supported by this provider (`oauth`, `api_key`, `client_credentials`, or a combination). Defaults to `["oauth"]` if absent. */
3492
3891
  authMethods?: DataIntegrationsListResponseDataAuthMethods[];
3493
- /** Whether the provider is owned by a user or organization. */
3892
+ /** Who owns connections made through this provider: `user` for connections owned by individual users, or `organization` for a connection shared by every member of the organization. A provider row can exist before any connected account does. */
3893
+ connectionOwner?: DataIntegrationsListResponseDataConnectionOwner;
3894
+ /**
3895
+ * Use `connection_owner` instead. Legacy spelling of the same value: `userland_user` corresponds to `connection_owner: "user"` and `organization` to `connection_owner: "organization"`.
3896
+ * @deprecated
3897
+ */
3494
3898
  ownership: DataIntegrationsListResponseDataOwnership;
3495
3899
  /** The timestamp when the provider was created. */
3496
3900
  createdAt: string;
3497
3901
  /** The timestamp when the provider was last updated. */
3498
3902
  updatedAt: string;
3499
- /** The user's [connected account](https://workos.com/docs/reference/pipes/connected-account) for this provider, or `null` if the user has not connected. */
3903
+ /** The user's compatibility [connected account](https://workos.com/docs/reference/pipes/connected-account) for this provider, or `null` when the compatibility slot is empty. This legacy field never selects a standard connection. */
3500
3904
  connectedAccount: DataIntegrationsListResponseDataConnectedAccount | null;
3905
+ /** The user's connected accounts for this provider in the requested ownership context. This contains only the compatibility connection unless `supports_multiple_connections` is `true`. */
3906
+ connectedAccounts?: DataIntegrationsListResponseDataConnectedAccount[];
3501
3907
  }
3502
3908
  interface DataIntegrationsListResponseDataResponse {
3503
3909
  object: 'data_provider';
@@ -3509,17 +3915,19 @@ interface DataIntegrationsListResponseDataResponse {
3509
3915
  credentials_type: string;
3510
3916
  scopes: string[] | null;
3511
3917
  auth_methods?: DataIntegrationsListResponseDataAuthMethods[];
3918
+ connection_owner?: DataIntegrationsListResponseDataConnectionOwner;
3512
3919
  ownership: DataIntegrationsListResponseDataOwnership;
3513
3920
  created_at: string;
3514
3921
  updated_at: string;
3515
3922
  connected_account: DataIntegrationsListResponseDataConnectedAccountResponse | null;
3923
+ connected_accounts?: DataIntegrationsListResponseDataConnectedAccountResponse[];
3516
3924
  }
3517
3925
  //#endregion
3518
3926
  //#region src/pipes/interfaces/data-integrations-list-response.interface.d.ts
3519
3927
  interface DataIntegrationsListResponse {
3520
3928
  /** Indicates this is a list response. */
3521
3929
  object: 'list';
3522
- /** 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. */
3930
+ /** A list of [providers](https://workos.com/docs/reference/pipes/provider), each including the legacy `connected_account` field and the additive `connected_accounts` collection. */
3523
3931
  data: DataIntegrationsListResponseData[];
3524
3932
  }
3525
3933
  interface DataIntegrationsListResponseWire {
@@ -3527,12 +3935,98 @@ interface DataIntegrationsListResponseWire {
3527
3935
  data: DataIntegrationsListResponseDataResponse[];
3528
3936
  }
3529
3937
  //#endregion
3938
+ //#region src/pipes/interfaces/data-integrations-upsert-api-key-request-connection-owner.interface.d.ts
3939
+ declare const DataIntegrationsUpsertApiKeyRequestConnectionOwner: {
3940
+ readonly User: "user";
3941
+ readonly Organization: "organization";
3942
+ };
3943
+ type DataIntegrationsUpsertApiKeyRequestConnectionOwner = (typeof DataIntegrationsUpsertApiKeyRequestConnectionOwner)[keyof typeof DataIntegrationsUpsertApiKeyRequestConnectionOwner];
3944
+ //#endregion
3945
+ //#region src/pipes/interfaces/data-integrations-upsert-api-key-request.interface.d.ts
3946
+ interface DataIntegrationsUpsertApiKeyRequest {
3947
+ /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
3948
+ userId: string;
3949
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. Required when `connection_owner` is `organization`. */
3950
+ organizationId?: string;
3951
+ /** A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to rotate a specific existing connection. */
3952
+ connectedAccountId?: string;
3953
+ /** Reauthorize the named connected account. Requires `connectedAccountId`; omit both to upsert the compatibility connection. Use POST to add a connection. */
3954
+ connectionIntent?: 'reauthorize';
3955
+ /** Whose connection to create or rotate. `user` (the default) addresses the connection owned by `user_id`. `organization` addresses the connection shared by every member of `organization_id`; `user_id` then identifies the member performing the request and must be an active member of the organization. */
3956
+ connectionOwner?: DataIntegrationsUpsertApiKeyRequestConnectionOwner;
3957
+ /** The API key secret to store for this integration. */
3958
+ secret: string;
3959
+ }
3960
+ interface DataIntegrationsUpsertApiKeyRequestResponse {
3961
+ user_id: string;
3962
+ organization_id?: string;
3963
+ connected_account_id?: string;
3964
+ connection_intent?: 'reauthorize';
3965
+ connection_owner?: DataIntegrationsUpsertApiKeyRequestConnectionOwner;
3966
+ secret: string;
3967
+ }
3968
+ //#endregion
3969
+ //#region src/pipes/interfaces/data-integrations-upsert-client-credentials-request-connection-owner.interface.d.ts
3970
+ declare const DataIntegrationsUpsertClientCredentialsRequestConnectionOwner: {
3971
+ readonly User: "user";
3972
+ readonly Organization: "organization";
3973
+ };
3974
+ type DataIntegrationsUpsertClientCredentialsRequestConnectionOwner = (typeof DataIntegrationsUpsertClientCredentialsRequestConnectionOwner)[keyof typeof DataIntegrationsUpsertClientCredentialsRequestConnectionOwner];
3975
+ //#endregion
3976
+ //#region src/pipes/interfaces/data-integrations-upsert-client-credentials-request.interface.d.ts
3977
+ interface DataIntegrationsUpsertClientCredentialsRequest {
3978
+ /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
3979
+ userId: string;
3980
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. Required when `connection_owner` is `organization`. */
3981
+ organizationId?: string;
3982
+ /** A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to rotate a specific existing connection. */
3983
+ connectedAccountId?: string;
3984
+ /** Reauthorize the named connected account. Requires `connectedAccountId`; omit both to upsert the compatibility connection. Use POST to add a connection. */
3985
+ connectionIntent?: 'reauthorize';
3986
+ /** Whose connection to create or rotate. `user` (the default) addresses the connection owned by `user_id`. `organization` addresses the connection shared by every member of `organization_id`; `user_id` then identifies the member performing the request and must be an active member of the organization. */
3987
+ connectionOwner?: DataIntegrationsUpsertClientCredentialsRequestConnectionOwner;
3988
+ /** The OAuth client ID to store for this integration. */
3989
+ clientId: string;
3990
+ /** The OAuth client secret to store for this integration. */
3991
+ clientSecret: string;
3992
+ /** Provider-specific configuration values collected for this installation, keyed by the provider's config field descriptors. */
3993
+ config?: Record<string, string>;
3994
+ }
3995
+ interface DataIntegrationsUpsertClientCredentialsRequestResponse {
3996
+ user_id: string;
3997
+ organization_id?: string;
3998
+ connected_account_id?: string;
3999
+ connection_intent?: 'reauthorize';
4000
+ connection_owner?: DataIntegrationsUpsertClientCredentialsRequestConnectionOwner;
4001
+ client_id: string;
4002
+ client_secret: string;
4003
+ config?: Record<string, string>;
4004
+ }
4005
+ //#endregion
3530
4006
  //#region src/pipes/interfaces/delete-data-integration-options.interface.d.ts
3531
4007
  interface DeleteDataIntegrationOptions {
3532
4008
  /** The slug identifier of the data integration. */
3533
4009
  slug: string;
3534
4010
  }
3535
4011
  //#endregion
4012
+ //#region src/pipes/interfaces/delete-organization-connected-account-options.interface.d.ts
4013
+ interface DeleteOrganizationConnectedAccountOptions {
4014
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. */
4015
+ organizationId: string;
4016
+ /** The slug identifier of the provider (e.g., `github`, `slack`, `notion`). */
4017
+ slug: string;
4018
+ /** Set to `true` to use the plural connection contract. When omitted or `false`, only the compatibility connection is considered. */
4019
+ supportsMultipleConnections?: boolean;
4020
+ /** A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to select the connection to delete. */
4021
+ connectedAccountId?: string;
4022
+ }
4023
+ //#endregion
4024
+ //#region src/pipes/interfaces/delete-organization-data-integration-options.interface.d.ts
4025
+ interface DeleteOrganizationDataIntegrationOptions {
4026
+ /** The slug identifier of the data integration. */
4027
+ slug: string;
4028
+ }
4029
+ //#endregion
3536
4030
  //#region src/pipes/interfaces/delete-user-connected-account-options.interface.d.ts
3537
4031
  interface DeleteUserConnectedAccountOptions {
3538
4032
  /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
@@ -3541,16 +4035,16 @@ interface DeleteUserConnectedAccountOptions {
3541
4035
  slug: string;
3542
4036
  /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter if the connection is scoped to an organization. */
3543
4037
  organizationId?: string;
4038
+ /** Set to `true` to use the plural connection contract. Defaults to the compatibility connection. */
4039
+ supportsMultipleConnections?: boolean;
4040
+ /** Select the connected account to delete. */
4041
+ connectedAccountId?: string;
3544
4042
  }
3545
4043
  //#endregion
3546
4044
  //#region src/pipes/interfaces/get-access-token-options.interface.d.ts
3547
- interface GetAccessTokenOptions {
4045
+ interface GetAccessTokenOptions extends DataIntegrationsGetUserTokenRequest {
3548
4046
  /** The identifier of the integration. */
3549
4047
  provider: string;
3550
- /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
3551
- userId: string;
3552
- /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. */
3553
- organizationId?: string | null;
3554
4048
  }
3555
4049
  //#endregion
3556
4050
  //#region src/pipes/interfaces/get-data-integration-options.interface.d.ts
@@ -3559,6 +4053,24 @@ interface GetDataIntegrationOptions {
3559
4053
  slug: string;
3560
4054
  }
3561
4055
  //#endregion
4056
+ //#region src/pipes/interfaces/get-organization-connected-account-options.interface.d.ts
4057
+ interface GetOrganizationConnectedAccountOptions {
4058
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. */
4059
+ organizationId: string;
4060
+ /** The slug identifier of the provider (e.g., `github`, `slack`, `notion`). */
4061
+ slug: string;
4062
+ /** Set to `true` to use the plural connection contract. When omitted or `false`, only the compatibility connection is considered. */
4063
+ supportsMultipleConnections?: boolean;
4064
+ /** A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to select a specific connection when the organization has several for this provider. */
4065
+ connectedAccountId?: string;
4066
+ }
4067
+ //#endregion
4068
+ //#region src/pipes/interfaces/get-organization-data-integration-options.interface.d.ts
4069
+ interface GetOrganizationDataIntegrationOptions {
4070
+ /** The slug identifier of the data integration. */
4071
+ slug: string;
4072
+ }
4073
+ //#endregion
3562
4074
  //#region src/pipes/interfaces/get-user-connected-account-options.interface.d.ts
3563
4075
  interface GetUserConnectedAccountOptions {
3564
4076
  /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
@@ -3567,6 +4079,31 @@ interface GetUserConnectedAccountOptions {
3567
4079
  slug: string;
3568
4080
  /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter if the connection is scoped to an organization. */
3569
4081
  organizationId?: string;
4082
+ /** Set to `true` to use the plural connection contract. Defaults to the compatibility connection. */
4083
+ supportsMultipleConnections?: boolean;
4084
+ /** Select a specific connected account when the user has several for this provider. */
4085
+ connectedAccountId?: string;
4086
+ }
4087
+ //#endregion
4088
+ //#region src/pipes/interfaces/pipes-ownership.interface.d.ts
4089
+ declare const PipesOwnership: {
4090
+ readonly User: "user";
4091
+ readonly Organization: "organization";
4092
+ };
4093
+ type PipesOwnership = (typeof PipesOwnership)[keyof typeof PipesOwnership];
4094
+ //#endregion
4095
+ //#region src/pipes/interfaces/list-data-integrations-options.interface.d.ts
4096
+ interface ListDataIntegrationsOptions extends PaginationOptions {
4097
+ /** Filter integrations by who owns their connected accounts. */
4098
+ ownership?: PipesOwnership;
4099
+ }
4100
+ //#endregion
4101
+ //#region src/pipes/interfaces/list-organization-data-providers-options.interface.d.ts
4102
+ interface ListOrganizationDataProvidersOptions {
4103
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier to list providers and connected accounts for. */
4104
+ organizationId: string;
4105
+ /** Set to `true` to use the plural connection contract. When omitted or `false`, only the compatibility connection is considered. */
4106
+ supportsMultipleConnections?: boolean;
3570
4107
  }
3571
4108
  //#endregion
3572
4109
  //#region src/pipes/interfaces/list-user-data-providers-options.interface.d.ts
@@ -3575,6 +4112,8 @@ interface ListUserDataProvidersOptions {
3575
4112
  userId: string;
3576
4113
  /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to filter connections for a specific organization. */
3577
4114
  organizationId?: string;
4115
+ /** Set to `true` to include all connected accounts rather than only the compatibility connection. */
4116
+ supportsMultipleConnections?: boolean;
3578
4117
  }
3579
4118
  //#endregion
3580
4119
  //#region src/pipes/interfaces/update-custom-provider-definition-authenticate-via.interface.d.ts
@@ -3588,11 +4127,11 @@ type UpdateCustomProviderDefinitionAuthenticateVia = (typeof UpdateCustomProvide
3588
4127
  interface UpdateCustomProviderDefinition {
3589
4128
  /** A descriptive name for the custom provider. */
3590
4129
  name?: string;
3591
- /** The provider's OAuth authorization endpoint. */
4130
+ /** The provider's OAuth authorization endpoint. Must be a static URL: `${config.…}` placeholders are resolved against a provider's declared config fields, which custom providers cannot declare. */
3592
4131
  authorizationUrl?: string;
3593
- /** The provider's OAuth token endpoint. */
4132
+ /** The provider's OAuth token endpoint. Must be a static URL: `${config.…}` placeholders are resolved against a provider's declared config fields, which custom providers cannot declare. */
3594
4133
  tokenUrl?: string;
3595
- /** The endpoint used to refresh tokens, if different from the token endpoint. */
4134
+ /** The endpoint used to refresh tokens, if different from the token endpoint. Must be a static URL, like the other endpoints. */
3596
4135
  refreshTokenUrl?: string | null;
3597
4136
  /** Whether PKCE is used during the authorization code flow. */
3598
4137
  pkceEnabled?: boolean;
@@ -3624,32 +4163,75 @@ interface UpdateCustomProviderDefinitionResponse {
3624
4163
  }
3625
4164
  //#endregion
3626
4165
  //#region src/pipes/interfaces/update-data-integration-api-key-options.interface.d.ts
3627
- interface UpdateDataIntegrationApiKeyOptions {
4166
+ interface UpdateDataIntegrationApiKeyOptions extends DataIntegrationsUpsertApiKeyRequest {
3628
4167
  /** The identifier of the integration. */
3629
4168
  slug: string;
3630
- /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
3631
- userId: string;
3632
- /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. */
3633
- organizationId?: string;
3634
- /** The API key secret to store for this integration. */
3635
- secret: string;
3636
4169
  }
3637
4170
  //#endregion
3638
- //#region src/pipes/interfaces/update-data-integration-options.interface.d.ts
3639
- interface UpdateDataIntegrationOptions {
3640
- /** The slug identifier of the data integration. */
4171
+ //#region src/pipes/interfaces/update-data-integration-client-credentials-options.interface.d.ts
4172
+ interface UpdateDataIntegrationClientCredentialsOptions extends DataIntegrationsUpsertClientCredentialsRequest {
4173
+ /** The identifier of the integration. */
3641
4174
  slug: string;
4175
+ }
4176
+ //#endregion
4177
+ //#region src/pipes/interfaces/update-data-integration.interface.d.ts
4178
+ interface UpdateDataIntegration {
3642
4179
  /** An optional description of the Data Integration. */
3643
4180
  description?: string | null;
3644
4181
  /** Whether the Data Integration is enabled. */
3645
4182
  enabled?: boolean;
3646
4183
  /** The OAuth scopes to request for the Data Integration. Pass `null` to reset to the provider's configured scopes. */
3647
4184
  scopes?: string[] | null;
3648
- /** New credentials for the Data Integration. When provided, rotates the stored client secret. */
3649
- credentials?: DataIntegrationCredentialsDto;
4185
+ /** New OAuth credentials for the Data Integration. When provided, rotates the stored client secret. Mutually exclusive with `api_key`. */
4186
+ credentials?: DataIntegrationCredentialsInput;
4187
+ /** An API key to install or rotate for a tenant on an `api_key` integration. Upserts the tenant installation identified by `user_id` (and optional `organization_id`). */
4188
+ apiKey?: ApiKeyInstallation;
3650
4189
  /** Updates to a custom provider's OAuth definition. Only valid for custom-provider integrations. */
3651
4190
  customProvider?: UpdateCustomProviderDefinition;
3652
4191
  }
4192
+ interface UpdateDataIntegrationResponse {
4193
+ description?: string | null;
4194
+ enabled?: boolean;
4195
+ scopes?: string[] | null;
4196
+ credentials?: DataIntegrationCredentialsInputResponse;
4197
+ api_key?: ApiKeyInstallationResponse;
4198
+ custom_provider?: UpdateCustomProviderDefinitionResponse;
4199
+ }
4200
+ //#endregion
4201
+ //#region src/pipes/interfaces/update-data-integration-options.interface.d.ts
4202
+ interface UpdateDataIntegrationOptions extends UpdateDataIntegration {
4203
+ /** The slug identifier of the data integration. */
4204
+ slug: string;
4205
+ }
4206
+ //#endregion
4207
+ //#region src/pipes/interfaces/update-organization-connected-account-options.interface.d.ts
4208
+ interface UpdateOrganizationConnectedAccountOptions {
4209
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. */
4210
+ organizationId: string;
4211
+ /** The slug identifier of the provider (e.g., `github`, `slack`, `notion`). */
4212
+ slug: string;
4213
+ /** Accepted for compatibility; does not change update targeting. Supply `connectedAccountId` to select a connection. */
4214
+ supportsMultipleConnections?: boolean;
4215
+ /** A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to select the connection to update. */
4216
+ connectedAccountId?: string;
4217
+ /** Set to `reauthorize` with `connectedAccountId` to update an exact connection. Omit both for compatibility behavior. */
4218
+ connectionIntent?: 'reauthorize';
4219
+ /** The OAuth access token for the connected account. */
4220
+ accessToken?: string;
4221
+ /** The OAuth refresh token for the connected account. */
4222
+ refreshToken?: string;
4223
+ /** The ISO-8601 timestamp when the access token expires. Required when `access_token` is provided for tokens that expire. */
4224
+ expiresAt?: Date;
4225
+ /** The OAuth scopes granted for this connection. */
4226
+ scopes?: string[];
4227
+ /** Explicitly set the state of the connected account. When omitted, the state is derived from the token combination provided. */
4228
+ state?: OrganizationConnectedAccountState;
4229
+ /** The [User](https://workos.com/docs/reference/authkit/user) identifier of the organization member on whose behalf the connected account is being imported or updated. The user must be an active member of the organization. */
4230
+ userId: string;
4231
+ }
4232
+ //#endregion
4233
+ //#region src/pipes/interfaces/update-organization-data-integration-options.interface.d.ts
4234
+ type UpdateOrganizationDataIntegrationOptions = UpdateDataIntegrationOptions;
3653
4235
  //#endregion
3654
4236
  //#region src/pipes/interfaces/update-user-connected-account-options.interface.d.ts
3655
4237
  interface UpdateUserConnectedAccountOptions {
@@ -3659,6 +4241,12 @@ interface UpdateUserConnectedAccountOptions {
3659
4241
  slug: string;
3660
4242
  /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter if the connection is scoped to an organization. */
3661
4243
  organizationId?: string;
4244
+ /** Accepted for compatibility; does not change update targeting. Supply `connectedAccountId` to select a connection. */
4245
+ supportsMultipleConnections?: boolean;
4246
+ /** Select the connected account to update. */
4247
+ connectedAccountId?: string;
4248
+ /** Set to `reauthorize` with `connectedAccountId` to update an exact connection. Omit both for compatibility behavior. */
4249
+ connectionIntent?: 'reauthorize';
3662
4250
  /** The OAuth access token for the connected account. */
3663
4251
  accessToken?: string;
3664
4252
  /** The OAuth refresh token for the connected account. */
@@ -3668,7 +4256,7 @@ interface UpdateUserConnectedAccountOptions {
3668
4256
  /** The OAuth scopes granted for this connection. */
3669
4257
  scopes?: string[];
3670
4258
  /** Explicitly set the state of the connected account. When omitted, the state is derived from the token combination provided. */
3671
- state?: ConnectedAccountState;
4259
+ state?: ConnectedAccountInputState;
3672
4260
  }
3673
4261
  //#endregion
3674
4262
  //#region src/vault/interfaces/key.interface.d.ts
@@ -6699,20 +7287,6 @@ declare class Passwordless {
6699
7287
  sendSession(sessionId: string): Promise<SendSessionResponse>;
6700
7288
  }
6701
7289
  //#endregion
6702
- //#region src/pipes/interfaces/data-integration-credentials-response.interface.d.ts
6703
- interface DataIntegrationCredentialsResponse {
6704
- /** Indicates credentials are available. */
6705
- active?: true;
6706
- /** The credential object containing the vended secret. */
6707
- credential?: DataIntegrationCredentialsResponseCredential;
6708
- /**
6709
- * The reason credentials are unavailable. Additional values may be added in the future; handle unknown values gracefully.
6710
- * - `"not_installed"`: The user does not have the integration installed.
6711
- * - `"needs_reauthorization"`: The user needs to reauthorize the integration.
6712
- */
6713
- error?: DataIntegrationCredentialsResponseError;
6714
- }
6715
- //#endregion
6716
7290
  //#region src/pipes/pipes.d.ts
6717
7291
  declare class Pipes {
6718
7292
  private readonly workos;
@@ -6720,38 +7294,49 @@ declare class Pipes {
6720
7294
  /**
6721
7295
  * List data integrations
6722
7296
  *
6723
- * Lists the environment's data integrations configured with `custom` or `organization` credentials, including custom providers.
7297
+ * Lists the environment's data integrations configured with `custom` or `organization` credentials, including custom providers and API key integrations. Both user-owned and organization-owned roots are returned, each as its own row with an `ownership`; filter with `ownership` to return only one kind.
6724
7298
  * @param options - Pagination and filter options.
6725
- * @returns {Promise<AutoPaginatable<DataIntegration, PaginationOptions>>}
7299
+ * @returns {Promise<AutoPaginatable<DataIntegration, ListDataIntegrationsOptions>>}
6726
7300
  * @throws {UnauthorizedException} 401
7301
+ * @throws {NotFoundException} 404
7302
+ * @throws {UnprocessableEntityException} 422
6727
7303
  */
6728
- listDataIntegrations(options?: PaginationOptions): Promise<AutoPaginatable<DataIntegration, PaginationOptions>>;
7304
+ listDataIntegrations(options?: ListDataIntegrationsOptions): Promise<AutoPaginatable<DataIntegration, ListDataIntegrationsOptions>>;
6729
7305
  /**
6730
7306
  * Create a data integration
6731
7307
  *
6732
- * 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.
7308
+ * 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. Set `auth_methods` to `["api_key"]` to create an API key integration; you may optionally supply an `api_key` block to install a first tenant in the same call. Set `auth_methods` to `["client_credentials"]` to create a client-credentials integration; client credentials are installed per-tenant afterwards. Set `ownership` to `organization` to create the integration organizations connect to instead of the default user-owned one; a provider may have one of each. For a built-in provider, pass its slug as `provider`. For a custom provider, pass a new slug plus a `custom_provider` definition, or the slug of an existing custom provider (without `custom_provider`) to add the other ownership.
6733
7309
  * @param options - Object containing provider.
6734
7310
  * @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.
6735
7311
  * @example "github"
7312
+ * @param options.ownership - Who owns the Data Integration. `user` (the default) creates the integration users connect their own accounts to; `organization` creates the root organizations connect to. Ownership is fixed at creation, and one integration of each ownership may exist per provider. Independent of `credentials.type`.
7313
+ * @example "user"
6736
7314
  * @param options.description - An optional description of the Data Integration.
6737
7315
  * @example "Production GitHub app"
6738
7316
  * @param options.enabled - Whether the Data Integration is enabled. Defaults to `false`.
6739
7317
  * @example true
6740
7318
  * @param options.scopes - The OAuth scopes to request for the Data Integration. Defaults to the provider's configured scopes when omitted.
6741
7319
  * @example ["repo","read:org"]
6742
- * @param options.credentials - The credentials to configure for the Data Integration. Required for both built-in and custom providers.
7320
+ * @param options.authMethods - How accounts authenticate with the provider. Defaults to `["oauth"]`. Use `["api_key"]` to declare an API key integration; `credentials` is then not required and keys are supplied per-tenant (optionally via `api_key` on this request). Use `["client_credentials"]` to declare a client-credentials integration; `credentials` is likewise not required and client credentials are supplied per-tenant.
7321
+ * @example ["oauth"]
7322
+ * @param options.config - Provider-specific config values (e.g. a Snowflake `account`), keyed by the config field. Only fields the built-in provider declares are accepted.
7323
+ * @example {"account":"myorg-myaccount"}
7324
+ * @param options.credentials - The OAuth credentials to configure for the Data Integration. Required for OAuth integrations; omit when `auth_methods` is `["api_key"]`.
7325
+ * @param options.apiKey - An optional API key to install for the first tenant on an `api_key` integration. Omit to declare a keyless integration; tenants can be added later via the per-installation API key path.
6743
7326
  * @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.
6744
7327
  * @returns {Promise<DataIntegration>}
6745
7328
  * @throws {BadRequestException} 400
6746
7329
  * @throws {UnauthorizedException} 401
7330
+ * @throws {AuthorizationException} 403
6747
7331
  * @throws {NotFoundException} 404
7332
+ * @throws {ConflictException} 409
6748
7333
  * @throws {UnprocessableEntityException} 422
6749
7334
  */
6750
7335
  createDataIntegration(options: CreateDataIntegrationOptions): Promise<DataIntegration>;
6751
7336
  /**
6752
7337
  * Get a data integration
6753
7338
  *
6754
- * Retrieves a data integration by its slug.
7339
+ * Retrieves the user-owned data integration by its slug.
6755
7340
  * @param options - The request options.
6756
7341
  * @param options.slug - The slug identifier of the data integration.
6757
7342
  * @example "github"
@@ -6763,7 +7348,7 @@ declare class Pipes {
6763
7348
  /**
6764
7349
  * Update a data integration
6765
7350
  *
6766
- * Updates the description, enabled state, or custom credentials of a data integration. For custom providers, `custom_provider` updates the OAuth definition.
7351
+ * Updates the description, enabled state, or custom credentials of the user-owned data integration. For custom providers, `custom_provider` updates the OAuth definition.
6767
7352
  * @param options - The request body.
6768
7353
  * @param options.slug - The slug identifier of the data integration.
6769
7354
  * @example "github"
@@ -6773,19 +7358,22 @@ declare class Pipes {
6773
7358
  * @example true
6774
7359
  * @param options.scopes - The OAuth scopes to request for the Data Integration. Pass `null` to reset to the provider's configured scopes.
6775
7360
  * @example ["repo","read:org"]
6776
- * @param options.credentials - New credentials for the Data Integration. When provided, rotates the stored client secret.
7361
+ * @param options.credentials - New OAuth credentials for the Data Integration. When provided, rotates the stored client secret. Mutually exclusive with `api_key`.
7362
+ * @param options.apiKey - An API key to install or rotate for a tenant on an `api_key` integration. Upserts the tenant installation identified by `user_id` (and optional `organization_id`).
6777
7363
  * @param options.customProvider - Updates to a custom provider's OAuth definition. Only valid for custom-provider integrations.
6778
7364
  * @returns {Promise<DataIntegration>}
6779
7365
  * @throws {BadRequestException} 400
6780
7366
  * @throws {UnauthorizedException} 401
7367
+ * @throws {AuthorizationException} 403
6781
7368
  * @throws {NotFoundException} 404
7369
+ * @throws {ConflictException} 409
6782
7370
  * @throws {UnprocessableEntityException} 422
6783
7371
  */
6784
7372
  updateDataIntegration(options: UpdateDataIntegrationOptions): Promise<DataIntegration>;
6785
7373
  /**
6786
7374
  * Delete a data integration
6787
7375
  *
6788
- * Deletes a data integration and all of its connected installations. For a custom provider, also deletes the custom provider definition.
7376
+ * Deletes the user-owned data integration and all of its connected installations. For a custom provider, the provider definition is deleted once no organization-owned root references it either.
6789
7377
  * @param options - The request options.
6790
7378
  * @param options.slug - The slug identifier of the data integration.
6791
7379
  * @example "github"
@@ -6794,17 +7382,31 @@ declare class Pipes {
6794
7382
  * @throws {NotFoundException} 404
6795
7383
  */
6796
7384
  deleteDataIntegration(options: DeleteDataIntegrationOptions): Promise<void>;
7385
+ /**
7386
+ * Create another API key connected account
7387
+ *
7388
+ * Requires `connectionIntent: 'add'` and does not accept an account selector.
7389
+ * Until additional connections are available, this creates the first connection
7390
+ * or returns 404 `multiple_connections_unavailable` if one already exists.
7391
+ * Use `updateDataIntegrationApiKey` to rotate the compatibility connection or
7392
+ * update an exact connection.
7393
+ */
7394
+ createDataIntegrationApiKey(options: CreateDataIntegrationApiKeyOptions): Promise<ConnectedAccount>;
6797
7395
  /**
6798
7396
  * Upsert an API key for a connected account
6799
7397
  *
6800
- * 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.
7398
+ * Creates or updates an API-key-based installation for the specified integration, owned by the user or, when `connection_owner` is `organization`, shared by the organization. If an installation already exists, the stored API key is rotated to the new value.
6801
7399
  * @param options - Object containing userId, secret.
6802
7400
  * @param options.slug - The identifier of the integration.
6803
7401
  * @example "github"
6804
7402
  * @param options.userId - A [User](https://workos.com/docs/reference/authkit/user) identifier.
6805
7403
  * @example "user_01EHZNVPK3SFK441A1RGBFSHRT"
6806
- * @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization.
7404
+ * @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. Required when `connection_owner` is `organization`.
6807
7405
  * @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
7406
+ * @param options.connectedAccountId - A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to rotate a specific existing connection.
7407
+ * @example "data_installation_01EHZNVPK3SFK441A1RGBFSHRT"
7408
+ * @param options.connectionOwner - Whose connection to create or rotate. `user` (the default) addresses the connection owned by `user_id`. `organization` addresses the connection shared by every member of `organization_id`; `user_id` then identifies the member performing the request and must be an active member of the organization.
7409
+ * @example "user"
6808
7410
  * @param options.secret - The API key secret to store for this integration.
6809
7411
  * @example "sk-1234567890abcdef"
6810
7412
  * @returns {Promise<ConnectedAccount>}
@@ -6812,6 +7414,7 @@ declare class Pipes {
6812
7414
  * @throws {UnauthorizedException} 401
6813
7415
  * @throws {AuthorizationException} 403
6814
7416
  * @throws {NotFoundException} 404
7417
+ * @throws {ConflictException} 409
6815
7418
  * @throws {UnprocessableEntityException} 422
6816
7419
  */
6817
7420
  updateDataIntegrationApiKey(options: UpdateDataIntegrationApiKeyOptions): Promise<ConnectedAccount>;
@@ -6822,12 +7425,16 @@ declare class Pipes {
6822
7425
  * @param options - Object containing userId.
6823
7426
  * @param options.slug - The slug identifier of the provider (e.g., `github`, `slack`, `notion`).
6824
7427
  * @example "github"
6825
- * @param options.userId - The ID of the user to authorize.
7428
+ * @param options.userId - The ID of the user to authorize. When `connection_owner` is `organization`, this is the user authorizing on behalf of the organization; they must be an active member of the organization and do not become the owner of the resulting connected account.
6826
7429
  * @example "user_01EHZNVPK3SFK441A1RGBFSHRT"
6827
- * @param options.organizationId - An organization ID to scope the authorization to a specific organization.
7430
+ * @param options.organizationId - An organization ID to scope the authorization to a specific organization. Required when `connection_owner` is `organization`.
6828
7431
  * @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
7432
+ * @param options.connectionOwner - Who will own the connected account. `user` (the default) connects the user's own account. `organization` connects the organization's shared account and requires `organization_id`.
7433
+ * @example "user"
6829
7434
  * @param options.returnTo - The URL to redirect the user to after authorization.
6830
7435
  * @example "https://example.com/callback"
7436
+ * @param options.config - Connect-time config values for the provider-declared `installation`-scope fields (e.g. a Zendesk `subdomain`), keyed by the config field. Only fields the provider declares may be supplied, and required fields must be provided unless already pinned on the integration.
7437
+ * @example {"subdomain":"acme"}
6831
7438
  * @returns {Promise<DataIntegrationAuthorizeUrlResponse>}
6832
7439
  * @throws {BadRequestException} 400
6833
7440
  * @throws {UnauthorizedException} 401
@@ -6835,23 +7442,98 @@ declare class Pipes {
6835
7442
  * @throws {NotFoundException} 404
6836
7443
  */
6837
7444
  authorizeDataIntegration(options: AuthorizeDataIntegrationOptions): Promise<DataIntegrationAuthorizeUrlResponse>;
7445
+ /**
7446
+ * Create another client credentials connected account
7447
+ *
7448
+ * Requires `connectionIntent: 'add'` and does not accept an account selector.
7449
+ * Until additional connections are available, this creates the first connection
7450
+ * or returns 404 `multiple_connections_unavailable` if one already exists.
7451
+ * Use `updateDataIntegrationClientCredentials` to rotate the compatibility
7452
+ * connection or update an exact connection.
7453
+ */
7454
+ createDataIntegrationClientCredential(options: CreateDataIntegrationClientCredentialOptions): Promise<ConnectedAccount>;
7455
+ /**
7456
+ * Upsert client credentials for a connected account
7457
+ *
7458
+ * Creates or updates a client-credentials-based installation for the specified integration, owned by the user or, when `connection_owner` is `organization`, shared by the organization. If an installation already exists, the stored client credentials are rotated to the new values.
7459
+ * @param options - The request options.
7460
+ * @param options.slug - The identifier of the integration.
7461
+ * @example "salesforce"
7462
+ * @returns {Promise<ConnectedAccount>}
7463
+ * @throws {BadRequestException} 400
7464
+ * @throws {UnauthorizedException} 401
7465
+ * @throws {AuthorizationException} 403
7466
+ * @throws {NotFoundException} 404
7467
+ * @throws {ConflictException} 409
7468
+ * @throws {UnprocessableEntityException} 422
7469
+ */
7470
+ updateDataIntegrationClientCredentials(options: UpdateDataIntegrationClientCredentialsOptions): Promise<ConnectedAccount>;
6838
7471
  /**
6839
7472
  * Vend credentials for a connected account
6840
7473
  *
6841
- * 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.
7474
+ * Returns credentials for a user-owned or organization-owned connected account. OAuth and client-credentials installations return an access token; API-key installations return the stored secret. Every active credential includes provider-declared, non-secret `config` from the connection snapshot with current defaults. Client-credentials responses also include provider token `metadata`.
6842
7475
  * @param options - Object containing userId.
6843
7476
  * @param options.slug - The identifier of the integration.
6844
7477
  * @example "github"
6845
- * @param options.userId - A [User](https://workos.com/docs/reference/authkit/user) identifier.
7478
+ * @param options.userId - A [User](https://workos.com/docs/reference/authkit/user) identifier. When `connection_owner` is `organization`, this is the user the credentials are vended on behalf of; they must be an active member of the organization.
6846
7479
  * @example "user_01EHZNVPK3SFK441A1RGBFSHRT"
6847
- * @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization.
7480
+ * @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. Required when `connection_owner` is `organization`.
6848
7481
  * @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
7482
+ * @param options.connectedAccountId - A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to select a specific connection when the user has several for this provider.
7483
+ * @example "data_installation_01EHZNVPK3SFK441A1RGBFSHRT"
7484
+ * @param options.connectionOwner - Which connection to vend from. `user` (the default) vends the user's own connection and requires `user_id`. `organization` vends the organization's shared connection and requires `organization_id`.
7485
+ * @example "user"
7486
+ * @param options.supportsMultipleConnections - Set to `true` to use the plural connection contract. If no `connected_account_id` is supplied and several connections match, the request returns `account_selection_required`. When omitted or `false`, only the compatibility connection is considered.
7487
+ * @example true
6849
7488
  * @returns {Promise<DataIntegrationCredentialsResponse>}
6850
7489
  * @throws {BadRequestException} 400
6851
7490
  * @throws {UnauthorizedException} 401
7491
+ * @throws {AuthorizationException} 403
6852
7492
  * @throws {NotFoundException} 404
7493
+ * @throws {ConflictException} 409
7494
+ * @throws {UnprocessableEntityException} 422
6853
7495
  */
6854
7496
  createDataIntegrationCredential(options: CreateDataIntegrationCredentialOptions): Promise<DataIntegrationCredentialsResponse>;
7497
+ /**
7498
+ * Get an organization-owned data integration
7499
+ *
7500
+ * Retrieves the organization-owned data integration for a provider by its slug. The `/organization` suffix selects the environment-level organization-owned root for the provider; it does not name a particular organization.
7501
+ * @param options - The request options.
7502
+ * @param options.slug - The slug identifier of the data integration.
7503
+ * @example "github"
7504
+ * @returns {Promise<DataIntegration>}
7505
+ * @throws {UnauthorizedException} 401
7506
+ * @throws {NotFoundException} 404
7507
+ */
7508
+ getOrganizationDataIntegration(options: GetOrganizationDataIntegrationOptions): Promise<DataIntegration>;
7509
+ /**
7510
+ * Update an organization-owned data integration
7511
+ *
7512
+ * Updates the description, enabled state, or custom credentials of the organization-owned data integration for a provider. For custom providers, `custom_provider` updates the OAuth definition, which is shared with the user-owned root. The `/organization` suffix selects the environment-level organization-owned root for the provider; it does not name a particular organization.
7513
+ * @param options - The request options.
7514
+ * @param options.slug - The slug identifier of the data integration.
7515
+ * @example "github"
7516
+ * @returns {Promise<DataIntegration>}
7517
+ * @throws {BadRequestException} 400
7518
+ * @throws {UnauthorizedException} 401
7519
+ * @throws {AuthorizationException} 403
7520
+ * @throws {NotFoundException} 404
7521
+ * @throws {ConflictException} 409
7522
+ * @throws {UnprocessableEntityException} 422
7523
+ */
7524
+ updateOrganizationDataIntegration(options: UpdateOrganizationDataIntegrationOptions): Promise<DataIntegration>;
7525
+ /**
7526
+ * Delete an organization-owned data integration
7527
+ *
7528
+ * Deletes the organization-owned data integration for a provider and all of its connected installations. For a custom provider, the provider definition is deleted once no user-owned root references it either. The `/organization` suffix selects the environment-level organization-owned root for the provider; it does not name a particular organization.
7529
+ * @param options - The request options.
7530
+ * @param options.slug - The slug identifier of the data integration.
7531
+ * @example "github"
7532
+ * @returns {Promise<void>}
7533
+ * @throws {UnauthorizedException} 401
7534
+ * @throws {NotFoundException} 404
7535
+ */
7536
+ deleteOrganizationDataIntegration(options: DeleteOrganizationDataIntegrationOptions): Promise<void>;
6855
7537
  /**
6856
7538
  * Get an access token for a connected account
6857
7539
  *
@@ -6859,17 +7541,118 @@ declare class Pipes {
6859
7541
  * @param options - Object containing userId.
6860
7542
  * @param options.provider - The identifier of the integration.
6861
7543
  * @example "github"
6862
- * @param options.userId - A [User](https://workos.com/docs/reference/authkit/user) identifier.
7544
+ * @param options.userId - A [User](https://workos.com/docs/reference/authkit/user) identifier. When `connection_owner` is `organization`, this is the user the credentials are vended on behalf of; they must be an active member of the organization.
6863
7545
  * @example "user_01EHZNVPK3SFK441A1RGBFSHRT"
6864
- * @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization.
7546
+ * @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. Required when `connection_owner` is `organization`.
6865
7547
  * @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
7548
+ * @param options.connectedAccountId - A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to select a specific connection when the user has several for this provider.
7549
+ * @example "data_installation_01EHZNVPK3SFK441A1RGBFSHRT"
7550
+ * @param options.connectionOwner - Which connection to vend from. `user` (the default) vends the user's own connection and requires `user_id`. `organization` vends the organization's shared connection and requires `organization_id`.
7551
+ * @example "user"
7552
+ * @param options.supportsMultipleConnections - Set to `true` to use the plural connection contract. If no `connected_account_id` is supplied and several connections match, the request returns `account_selection_required`. When omitted or `false`, only the compatibility connection is considered.
7553
+ * @example true
6866
7554
  * @returns {Promise<DataIntegrationAccessTokenResponse>}
6867
7555
  * @throws {BadRequestException} 400
6868
7556
  * @throws {UnauthorizedException} 401
7557
+ * @throws {AuthorizationException} 403
6869
7558
  * @throws {NotFoundException} 404
7559
+ * @throws {ConflictException} 409
6870
7560
  * @throws {UnprocessableEntityException} 422
6871
7561
  */
6872
7562
  getAccessToken(options: GetAccessTokenOptions): Promise<DataIntegrationAccessTokenResponse>;
7563
+ /**
7564
+ * Get an organization connected account
7565
+ *
7566
+ * Retrieves an organization's [connected account](https://workos.com/docs/reference/pipes/connected-account) for a specific provider.
7567
+ * @param options - Additional query options.
7568
+ * @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier.
7569
+ * @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
7570
+ * @param options.slug - The slug identifier of the provider (e.g., `github`, `slack`, `notion`).
7571
+ * @example "github"
7572
+ * @param options.supportsMultipleConnections - Set to `true` to use the plural connection contract. When omitted or `false`, only the compatibility connection is considered.
7573
+ * @example true
7574
+ * @param options.connectedAccountId - A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to select a specific connection when the organization has several for this provider.
7575
+ * @example "data_installation_01EHZNVPK3SFK441A1RGBFSHRT"
7576
+ * @returns {Promise<ConnectedAccount>}
7577
+ * @throws {BadRequestException} 400
7578
+ * @throws {UnauthorizedException} 401
7579
+ * @throws {NotFoundException} 404
7580
+ * @throws {ConflictException} 409
7581
+ */
7582
+ getOrganizationConnectedAccount(options: GetOrganizationConnectedAccountOptions): Promise<ConnectedAccount>;
7583
+ /**
7584
+ * Import an organization connected account
7585
+ *
7586
+ * Imports an organization-owned [connected account](https://workos.com/docs/reference/pipes/connected-account) by providing OAuth tokens directly. Omit `connectionIntent` for compatibility behavior or set it to `add` to explicitly create a connection. Additional connection creation is subject to API availability.
7587
+ * @param options - The request options.
7588
+ * @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier.
7589
+ * @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
7590
+ * @param options.slug - The slug identifier of the provider (e.g., `github`, `slack`, `notion`).
7591
+ * @example "github"
7592
+ * @returns {Promise<ConnectedAccount>}
7593
+ * @throws {UnauthorizedException} 401
7594
+ * @throws {AuthorizationException} 403
7595
+ * @throws {NotFoundException} 404
7596
+ * @throws {ConflictException} 409
7597
+ * @throws {UnprocessableEntityException} 422
7598
+ */
7599
+ createOrganizationConnectedAccount(options: CreateOrganizationConnectedAccountOptions): Promise<ConnectedAccount>;
7600
+ /**
7601
+ * Update an organization connected account
7602
+ *
7603
+ * Updates an organization's [connected account](https://workos.com/docs/reference/pipes/connected-account) tokens, scopes, or state for a specific provider.
7604
+ * @param options - Additional query options.
7605
+ * @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier.
7606
+ * @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
7607
+ * @param options.slug - The slug identifier of the provider (e.g., `github`, `slack`, `notion`).
7608
+ * @example "github"
7609
+ * @param options.supportsMultipleConnections - Accepted for compatibility; does not change update targeting.
7610
+ * @param options.connectedAccountId - A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to select the connection to update.
7611
+ * @example "data_installation_01EHZNVPK3SFK441A1RGBFSHRT"
7612
+ * @param options.connectionIntent - Set to `reauthorize` with `connectedAccountId`, or omit both to update the compatibility connection.
7613
+ * @returns {Promise<ConnectedAccount>}
7614
+ * @throws {BadRequestException} 400
7615
+ * @throws {UnauthorizedException} 401
7616
+ * @throws {AuthorizationException} 403
7617
+ * @throws {NotFoundException} 404
7618
+ * @throws {ConflictException} 409
7619
+ * @throws {UnprocessableEntityException} 422
7620
+ */
7621
+ updateOrganizationConnectedAccount(options: UpdateOrganizationConnectedAccountOptions): Promise<ConnectedAccount>;
7622
+ /**
7623
+ * Delete an organization connected account
7624
+ *
7625
+ * Disconnects the organization's account for the provider, including removing any stored access and refresh tokens. A member will need to reauthorize if the organization wants to reconnect. This does not revoke access on the provider side.
7626
+ * @param options - Additional query options.
7627
+ * @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier.
7628
+ * @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
7629
+ * @param options.slug - The slug identifier of the provider (e.g., `github`, `slack`, `notion`).
7630
+ * @example "github"
7631
+ * @param options.supportsMultipleConnections - Set to `true` to use the plural connection contract. When omitted or `false`, only the compatibility connection is considered.
7632
+ * @example true
7633
+ * @param options.connectedAccountId - A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to select the connection to delete.
7634
+ * @example "data_installation_01EHZNVPK3SFK441A1RGBFSHRT"
7635
+ * @returns {Promise<void>}
7636
+ * @throws {BadRequestException} 400
7637
+ * @throws {UnauthorizedException} 401
7638
+ * @throws {NotFoundException} 404
7639
+ * @throws {ConflictException} 409
7640
+ */
7641
+ deleteOrganizationConnectedAccount(options: DeleteOrganizationConnectedAccountOptions): Promise<void>;
7642
+ /**
7643
+ * List providers for an organization
7644
+ *
7645
+ * Retrieves the organization-owned providers configured for your environment and the organization's [connected account](https://workos.com/docs/reference/pipes/connected-account) information for each. Providers owned by individual users are not included.
7646
+ * @param options - Additional query options.
7647
+ * @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier to list providers and connected accounts for.
7648
+ * @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
7649
+ * @param options.supportsMultipleConnections - Set to `true` to use the plural connection contract. When omitted or `false`, only the compatibility connection is considered.
7650
+ * @example true
7651
+ * @returns {Promise<DataIntegrationsListResponse>}
7652
+ * @throws {UnauthorizedException} 401
7653
+ * @throws {NotFoundException} 404
7654
+ */
7655
+ listOrganizationDataProviders(options: ListOrganizationDataProvidersOptions): Promise<DataIntegrationsListResponse>;
6873
7656
  /**
6874
7657
  * Get a connected account
6875
7658
  *
@@ -6881,15 +7664,21 @@ declare class Pipes {
6881
7664
  * @example "github"
6882
7665
  * @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter if the connection is scoped to an organization.
6883
7666
  * @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
7667
+ * @param options.supportsMultipleConnections - Set to `true` to use the plural connection contract. When omitted or `false`, only the compatibility connection is considered.
7668
+ * @example true
7669
+ * @param options.connectedAccountId - A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to select a specific connection when the user has several for this provider.
7670
+ * @example "data_installation_01EHZNVPK3SFK441A1RGBFSHRT"
6884
7671
  * @returns {Promise<ConnectedAccount>}
7672
+ * @throws {BadRequestException} 400
6885
7673
  * @throws {UnauthorizedException} 401
6886
7674
  * @throws {NotFoundException} 404
7675
+ * @throws {ConflictException} 409
6887
7676
  */
6888
7677
  getUserConnectedAccount(options: GetUserConnectedAccountOptions): Promise<ConnectedAccount>;
6889
7678
  /**
6890
7679
  * Import a connected account
6891
7680
  *
6892
- * 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.
7681
+ * Imports a [connected account](https://workos.com/docs/reference/pipes/connected-account) for a user by providing OAuth tokens directly. Omit `connectionIntent` for compatibility behavior or set it to `add` to explicitly create a connection. Additional connection creation is subject to API availability.
6893
7682
  * @param options - The request body.
6894
7683
  * @param options.userId - A [User](https://workos.com/docs/reference/authkit/user) identifier.
6895
7684
  * @example "user_01EHZNVPK3SFK441A1RGBFSHRT"
@@ -6925,6 +7714,10 @@ declare class Pipes {
6925
7714
  * @example "github"
6926
7715
  * @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter if the connection is scoped to an organization.
6927
7716
  * @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
7717
+ * @param options.supportsMultipleConnections - Accepted for compatibility; does not change update targeting.
7718
+ * @param options.connectedAccountId - A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to select the connection to update.
7719
+ * @example "data_installation_01EHZNVPK3SFK441A1RGBFSHRT"
7720
+ * @param options.connectionIntent - Set to `reauthorize` with `connectedAccountId`, or omit both to update the compatibility connection.
6928
7721
  * @param options.accessToken - The OAuth access token for the connected account.
6929
7722
  * @example "gho_16C7e42F292c6912E7710c838347Ae178B4a"
6930
7723
  * @param options.refreshToken - The OAuth refresh token for the connected account.
@@ -6936,14 +7729,17 @@ declare class Pipes {
6936
7729
  * @param options.state - Explicitly set the state of the connected account. When omitted, the state is derived from the token combination provided.
6937
7730
  * @example "connected"
6938
7731
  * @returns {Promise<ConnectedAccount>}
7732
+ * @throws {BadRequestException} 400
6939
7733
  * @throws {UnauthorizedException} 401
6940
7734
  * @throws {NotFoundException} 404
7735
+ * @throws {ConflictException} 409
7736
+ * @throws {UnprocessableEntityException} 422
6941
7737
  */
6942
7738
  updateUserConnectedAccount(options: UpdateUserConnectedAccountOptions): Promise<ConnectedAccount>;
6943
7739
  /**
6944
7740
  * Delete a connected account
6945
7741
  *
6946
- * 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.
7742
+ * 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. Access is not revoked on the provider side, except for the WorkOS OAuth provider, whose underlying AuthKit grant is revoked.
6947
7743
  * @param options - Additional query options.
6948
7744
  * @param options.userId - A [User](https://workos.com/docs/reference/authkit/user) identifier.
6949
7745
  * @example "user_01EHZNVPK3SFK441A1RGBFSHRT"
@@ -6951,9 +7747,15 @@ declare class Pipes {
6951
7747
  * @example "github"
6952
7748
  * @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter if the connection is scoped to an organization.
6953
7749
  * @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
7750
+ * @param options.supportsMultipleConnections - Set to `true` to use the plural connection contract. When omitted or `false`, only the compatibility connection is considered.
7751
+ * @example true
7752
+ * @param options.connectedAccountId - A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to select the connection to delete.
7753
+ * @example "data_installation_01EHZNVPK3SFK441A1RGBFSHRT"
6954
7754
  * @returns {Promise<void>}
7755
+ * @throws {BadRequestException} 400
6955
7756
  * @throws {UnauthorizedException} 401
6956
7757
  * @throws {NotFoundException} 404
7758
+ * @throws {ConflictException} 409
6957
7759
  */
6958
7760
  deleteUserConnectedAccount(options: DeleteUserConnectedAccountOptions): Promise<void>;
6959
7761
  /**
@@ -6965,6 +7767,8 @@ declare class Pipes {
6965
7767
  * @example "user_01EHZNVPK3SFK441A1RGBFSHRT"
6966
7768
  * @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to filter connections for a specific organization.
6967
7769
  * @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
7770
+ * @param options.supportsMultipleConnections - Set to `true` to use the plural connection contract. When omitted or `false`, only the compatibility connection is considered.
7771
+ * @example true
6968
7772
  * @returns {Promise<DataIntegrationsListResponse>}
6969
7773
  * @throws {UnauthorizedException} 401
6970
7774
  * @throws {NotFoundException} 404
@@ -11180,5 +11984,5 @@ interface ConfidentialClientOptions extends WorkOSOptions {
11180
11984
  declare function createWorkOS(options: PublicClientOptions): PublicWorkOS;
11181
11985
  declare function createWorkOS(options: ConfidentialClientOptions): WorkOS;
11182
11986
  //#endregion
11183
- export { ReadObjectMetadataResponse as $, GroupDeletedEventResponse as $a, ConnectedAccountAuthMethod as $c, Totp as $d, AuthenticateWithCodeOptions as $f, AuthenticationPasskeySucceededEventResponse as $i, VerifyEmailOptions as $l, CreateOptionsWithParentResourceId as $m, ValidateAgentApiKeyOptions as $n, PermissionDeletedEventResponse as $o, BaseCreateGroupRoleAssignmentOptions as $p, ActionPayload as $r, DataKeyPair as $s, RadarListType as $t, ListUserFeatureFlagsOptions as $u, ApiKeyRequiredException as A, DsyncUserCreatedEvent as Aa, DataIntegrationCredentialsResponseCredential as Ac, CreateUserApiKeyOptions as Ad, AuthenticateWithRefreshTokenOptions as Af, ListDirectoriesOptions as Ah, List as Ai, AddFlagTargetOptions as Al, RoleAssignmentSource as Am, CreateM2MApplication as An, OrganizationDomainVerifiedEvent as Ao, OrganizationRoleResponse as Ap, AgentInstanceSessionStatus as Ar, UserUpdatedEvent as As, AuditLogSchema as At, RetryableRefreshSessionFailureReason as Au, ObjectSummaryResponse as B, EventName as Ba, DataIntegrationAccessTokenResponseAccessTokenResponse as Bc, UserManagementAuthorizationURLOptions as Bd, SerializedAuthenticateWithRadarSmsChallengeOptions as Bf, EventDirectory as Bh, AuthenticationMagicAuthFailedEvent as Bi, ApiKey as Bl, AuthorizationCheckOptionsWithResourceId as Bm, UserConsentOptionChoice as Bn, OrganizationRoleDeletedEvent as Bo, GroupRoleAssignmentEntryForOrganization as Bp, SerializedAgentBlueprintInvocableBy as Br, VaultDataUpdatedEvent as Bs, VerifyChallengeOptions as Bt, MagicAuthEventResponse as Bu, BadRequestException as C, DsyncGroupDeletedEventResponse as Ca, DataIntegration as Cc, EmailVerificationEvent as Cd, User as Cf, SerializedCreateEnvironmentRoleOptions as Ch, DomainDataState as Ci, FlagTarget as Cl, ListRoleAssignmentsOptions as Cm, DeleteClientSecretOptions as Cn, OrganizationDomainCreatedEventResponse as Co, DirectoryUser as Cp, SerializedAgentRegistrationClaimCompletion as Cr, SessionRevokedEvent as Cs, AuditLogTarget as Ct, serializeRevokeSessionOptions as Cu, isAuthenticationErrorData as D, DsyncGroupUserAddedEventResponse as Da, DataIntegrationCustomProviderResponse as Dc, SerializedCreateWaitlistEntryOptions as Dd, AuthenticateWithRefreshTokenPublicClientOptions as Df, EnvironmentRoleResponse as Dh, PutOptions as Di, EvaluationResource as Dl, RoleAssignmentResourceResponse as Dm, UpdateApplicationOptions as Dn, OrganizationDomainUpdatedEventResponse as Do, ListOrganizationRolesResponse as Dp, SerializedAgentInstance as Dr, UserCreatedEventResponse as Ds, AuditLogsRetention as Dt, SerializedResendInvitationOptions as Du, AuthenticationException as E, DsyncGroupUserAddedEvent as Ea, DataIntegrationCustomProvider as Ec, CreateWaitlistEntryOptions as Ed, ImpersonatorResponse as Ef, EnvironmentRoleListResponse as Eh, UnprocessableEntityError as Ei, EvaluationContext as El, RoleAssignmentResource as Em, DeleteApplicationOptions as En, OrganizationDomainUpdatedEvent as Eo, DirectoryUserWithGroupsResponse as Ep, ListAgentInstancesOptions as Er, UserCreatedEvent as Es, SerializedCreateAuditLogEventOptions as Et, ResendInvitationOptions as Eu, UpdateWebhookEndpointEvents as F, DsyncUserUpdatedEventResponse as Fa, DataIntegrationAuthorizeUrlResponse as Fc, CreateOrganizationMembershipOptions as Fd, AuthenticateUserWithOrganizationSelectionCredentials as Ff, Directory as Fh, ApiKeyCreatedEventResponse as Fi, CreatedApiKey as Fl, ListResourcesForMembershipOptionsWithParentExternalId as Fm, RedirectUriInputResponse as Fn, OrganizationMembershipDeletedResponse as Fo, RoleResponse as Fp, AgentBlueprintInvocableBy as Fr, VaultDataCreatedEventResponse as Fs, AuditLogExportResponse as Ft, PasswordResetResponse as Fu, ObjectMetadata as G, FlagDeletedEventResponse as Ga, CustomProviderDefinitionAuthenticateVia as Gc, AuthenticationFactorType as Gd, AuthenticateWithMagicAuthOptions as Gf, RequestHeaders as Gh, AuthenticationMfaSucceededEventResponse as Gi, OrganizationDomainResponse as Gl, UpdateAuthorizationResourceByExternalIdOptions as Gm, AgentCredentialType as Gn, OrganizationUpdatedResponse as Go, SerializedReplaceGroupRoleAssignmentsOptions as Gp, AutoPaginatable as Gr, VaultDekReadEventResponse as Gs, RadarListEntryAlreadyPresentResponse as Gt, SerializedListWaitlistEntriesOptions as Gu, ObjectVersionResponse as H, FlagCreatedEvent as Ha, CreateDataIntegrationOptions as Hc, AuthenticationRadarRiskDetectedEventResponseData as Hd, AuthenticateWithRadarEmailChallengeOptions as Hf, HttpClient as Hh, AuthenticationMagicAuthSucceededEvent as Hi, OrganizationDomainVerificationFailed as Hl, SerializedAuthorizationCheckOptions as Hm, UserObject as Hn, OrganizationRoleUpdatedEvent as Ho, GroupRoleAssignmentEntryWithResourceId as Hp, SerializedCreateAgentBlueprintOptions as Hr, VaultDekDecryptedEvent as Hs, Challenge as Ht, LogoutURLOptions as Hu, UpdateWebhookEndpointStatus as I, EmailVerificationCreatedEvent as Ia, DataIntegrationAuthorizeUrlResponseWire as Ic, SerializedCreateOrganizationMembershipOptions as Id, AuthenticateWithOrganizationSelectionOptions as If, DirectoryResponse as Ih, ApiKeyRevokedEvent as Ii, SerializedCreatedApiKey as Il, ListResourcesForMembershipOptionsWithParentId as Im, ListApplicationsOptions as In, OrganizationMembershipUpdated as Io, ListEffectivePermissionsByExternalIdOptions as Ip, AgentBlueprintSessionSettings as Ir, VaultDataDeletedEvent as Is, AuditLogExportOptions as It, CreateMagicAuthResponse as Iu, ActorResponse as J, FlagUpdatedEvent as Ja, DataIntegrationCredentialsType as Jc, Factor as Jd, AuthenticateWithEmailVerificationOptions as Jf, ResponseHeaders as Jh, AuthenticationOAuthSucceededEvent as Ji, CreateOrganizationDomainOptions as Jl, SerializedListAuthorizationResourcesOptions as Jm, SerializedAgentAccessTokenClaims as Jn, PasswordResetSucceededEvent as Jo, RemoveGroupRoleAssignmentsOptionsForOrganization as Jp, Actions as Jr, VaultMetadataReadEvent as Js, RadarStandaloneResponseWire as Jt, WaitlistEntryState as Ju, ObjectMetadataResponse as K, FlagRuleUpdatedEvent as Ka, DataIntegrationCredentialsDto as Kc, AuthenticationFactorWithSecrets as Kd, SerializedAuthenticateWithMagicAuthOptions as Kf, RequestOptions as Kh, AuthenticationOAuthFailedEvent as Ki, OrganizationDomainState as Kl, GetAuthorizationResourceByExternalIdOptions as Km, AgentCredentialValidation as Kn, PasswordResetCreatedEvent as Ko, BaseRemoveGroupRoleAssignmentsOptions as Kp, PKCE as Kr, VaultKekCreatedEvent as Ks, RadarListEntryAlreadyPresentResponseWire as Kt, WaitlistEntry as Ku, CreateWebhookEndpointEvents as L, EmailVerificationCreatedEventResponse as La, DataIntegrationAccessTokenResponse as Lc, CreateMagicAuthOptions as Ld, SerializedAuthenticateWithOrganizationSelectionOptions as Lf, DirectoryState as Lh, ApiKeyRevokedEventResponse as Li, CreateOrganizationApiKeyOptions as Ll, SerializedListResourcesForMembershipOptions as Lm, CompleteOAuth2Options as Ln, OrganizationMembershipUpdatedResponse as Lo, ListEffectivePermissionsOptions as Lp, CreateAgentBlueprintOptions as Lr, VaultDataDeletedEventResponse as Ls, SerializedAuditLogExportOptions as Lt, CreateMagicAuthResponseResponse as Lu, WebhookEndpoint as M, DsyncUserDeletedEvent as Ma, DataIntegrationCredential as Mc, SerializedCreateUserApiKeyOptions as Md, AuthenticateUserWithPasswordCredentials as Mf, PaginationOptions as Mh, GetOptions as Mi, ValidateApiKeyOptions as Ml, ListMembershipsForResourceByExternalIdOptions as Mm, CreateOAuthApplication as Mn, OrganizationMembershipCreated as Mo, RoleEvent as Mp, SerializedAgentInstanceSession as Mr, VaultByokKeyVerificationCompletedEvent as Ms, AuditLogSchemaResponse as Mt, PasswordReset as Mu, WebhookEndpointResponse as N, DsyncUserDeletedEventResponse as Na, DataIntegrationCredentialResponse as Nc, CreatePasswordResetOptions as Nd, AuthenticateWithPasswordOptions as Nf, DirectoryGroup as Nh, GenerateLinkIntent as Ni, ValidateApiKeyResponse as Nl, ListMembershipsForResourceOptions as Nm, CreateOAuthApplicationResponse as Nn, OrganizationMembershipCreatedResponse as No, RoleEventResponse as Np, SerializedListAgentInstanceSessionsOptions as Nr, VaultByokKeyVerificationCompletedEventResponse as Ns, AuditLogTargetSchema as Nt, PasswordResetEvent as Nu, GenericServerException as O, DsyncGroupUserRemovedEvent as Oa, DataIntegrationCustomProviderAuthenticateVia as Oc, CreateUserOptions as Od, SerializedAuthenticateWithRefreshTokenPublicClientOptions as Of, ListDirectoryUsersOptions as Oh, PostOptions as Oi, LegacyEvaluationContext as Ol, RoleAssignmentResponse as Om, GetApplicationOptions as On, OrganizationDomainVerificationFailedEvent as Oo, OrganizationRoleEvent as Op, SerializedListAgentInstancesOptions as Or, UserDeletedEvent as Os, AuditLogsRetentionResponse as Ot, RefreshSessionFailureReason as Ou, WebhookEndpointStatus as P, DsyncUserUpdatedEvent as Pa, DataIntegrationCredentialType as Pc, SerializedCreatePasswordResetOptions as Pd, SerializedAuthenticateWithPasswordOptions as Pf, DirectoryGroupResponse as Ph, ApiKeyCreatedEvent as Pi, ListOrganizationApiKeysOptions as Pl, ListResourcesForMembershipOptions as Pm, RedirectUriInput as Pn, OrganizationMembershipDeleted as Po, RoleList as Pp, AgentBlueprint as Pr, VaultDataCreatedEvent as Ps, AuditLogExport as Pt, PasswordResetEventResponse as Pu, UpdateObjectOptions as Q, GroupDeletedEvent as Qa, ConnectedAccountState as Qc, FactorWithSecretsResponse as Qd, AuthenticateUserWithCodeCredentials as Qf, AuthenticationPasskeySucceededEvent as Qi, SerializedVerifyEmailOptions as Ql, CreateOptionsWithParentExternalId as Qm, ValidateAgentAccessTokenOptions as Qn, PermissionDeletedEvent as Qo, RemoveGroupRoleAssignmentOptions as Qp, ActionContext as Qr, DataKey as Qs, RadarListAction as Qt, SerializedListUserApiKeysOptions as Qu, WorkOS as R, Event as Ra, DataIntegrationAccessTokenResponseWire as Rc, SerializedCreateMagicAuthOptions as Rd, AuthenticateUserWithRadarSmsChallengeCredentials as Rf, DirectoryStateResponse as Rh, AuthenticationEmailVerificationSucceededEvent as Ri, CreateOrganizationApiKeyRequestOptions as Rl, AuthorizationCheckOptions as Rm, UserConsentOption as Rn, OrganizationRoleCreatedEvent as Ro, BaseGroupRoleAssignmentEntry as Rp, ListAgentBlueprintsOptions as Rr, VaultDataReadEvent as Rs, VerifyResponse as Rt, MagicAuth as Ru, ConflictException as S, DsyncGroupDeletedEvent as Sa, DataIntegrationsListResponseDataAuthMethods as Sc, EmailVerification as Sd, CreateUserResponseResponse as Sf, CreateEnvironmentRoleOptions as Sh, DomainData as Si, FlagPollResponse as Sl, SerializedListRoleAssignmentsForResourceOptions as Sm, ExternalAuthCompleteResponseWire as Sn, OrganizationDomainCreatedEvent as So, DefaultCustomAttributes as Sp, SerializedAgentRegistrationClaim as Sr, SessionCreatedEventResponse as Ss, AuditLogActor as St, SerializedRevokeSessionOptions as Su, AuthenticationErrorData as T, DsyncGroupUpdatedEventResponse as Ta, DataIntegrationState as Tc, EmailVerificationResponse as Td, Impersonator as Tf, EnvironmentRoleList as Th, WorkOSOptions as Ti, FeatureFlagResponse as Tl, RoleAssignment as Tm, ListApplicationClientSecretsOptions as Tn, OrganizationDomainDeletedEventResponse as To, DirectoryUserWithGroups as Tp, AgentInstanceType as Tr, UnknownEvent as Ts, CreateAuditLogEventRequestOptions as Tt, SerializedResetPasswordOptions as Tu, VaultObject as U, FlagCreatedEventResponse as Ua, CustomProviderDefinition as Uc, AuthenticationFactor as Ud, SerializedAuthenticateWithRadarEmailChallengeOptions as Uf, HttpClientInterface as Uh, AuthenticationMagicAuthSucceededEventResponse as Ui, OrganizationDomainVerificationFailedResponse as Ul, DeleteAuthorizationResourceOptions as Um, UserObjectResponse as Un, OrganizationRoleUpdatedEventResponse as Uo, ReplaceGroupRoleAssignmentsOptions as Up, SerializedUpdateAgentBlueprintOptions as Ur, VaultDekDecryptedEventResponse as Us, ChallengeResponse as Ut, Locale as Uu, ObjectVersion as V, EventResponse as Va, CreateUserConnectedAccountOptions as Vc, AuthenticationRadarRiskDetectedEventData as Vd, AuthenticateUserWithRadarEmailChallengeCredentials as Vf, EventDirectoryResponse as Vh, AuthenticationMagicAuthFailedEventResponse as Vi, SerializedApiKey as Vl, AuthorizationCheckResult as Vm, UserConsentOptionChoiceResponse as Vn, OrganizationRoleDeletedEventResponse as Vo, GroupRoleAssignmentEntryWithResourceExternalId as Vp, SerializedAgentBlueprintSessionSettings as Vr, VaultDataUpdatedEventResponse as Vs, EnrollFactorOptions as Vt, MagicAuthResponse as Vu, VaultObjectResponse as W, FlagDeletedEvent as Wa, CustomProviderDefinitionResponse as Wc, AuthenticationFactorResponse as Wd, AuthenticateUserWithMagicAuthCredentials as Wf, HttpClientResponseInterface as Wh, AuthenticationMfaSucceededEvent as Wi, OrganizationDomain as Wl, DeleteAuthorizationResourceByExternalIdOptions as Wm, AgentAccessTokenClaims as Wn, OrganizationUpdatedEvent as Wo, SerializedGroupRoleAssignmentEntry as Wp, UpdateAgentBlueprintOptions as Wr, VaultDekReadEvent as Ws, ChallengeFactorOptions as Wt, ListWaitlistEntriesOptions as Wu, CreateDataKeyResponseWire as X, GroupCreatedEvent as Xa, ConnectedAccount as Xc, FactorType as Xd, AuthenticateWithCodeAndVerifierOptions as Xf, AuthenticationPasskeyFailedEvent as Xi, Waitlist as Xl, AuthorizationResourceResponse as Xm, SerializedValidateAgentCredentialOptions as Xn, PermissionCreatedEvent as Xo, RemoveGroupRoleAssignmentsOptionsWithResourceId as Xp, ResponsePayload as Xr, VaultNamesListedEvent as Xs, RadarStandaloneResponseControl as Xt, SerializedListUsersOptions as Xu, CreateDataKeyResponse as Y, FlagUpdatedEventResponse as Ya, CreateDataIntegrationCredentialOptions as Yc, FactorResponse as Yd, SerializedAuthenticateWithEmailVerificationOptions as Yf, CryptoProvider as Yh, AuthenticationOAuthSucceededEventResponse as Yi, SerializedCreateOrganizationDomainOptions as Yl, AuthorizationResource as Ym, SerializedAgentCredentialValidation as Yn, PasswordResetSucceededEventResponse as Yo, RemoveGroupRoleAssignmentsOptionsWithResourceExternalId as Yp, AuthenticationActionResponseData as Yr, VaultMetadataReadEventResponse as Ys, RadarStandaloneResponseBlocklistType as Yt, ListUsersOptions as Yu, UpdateObjectEntity as Z, GroupCreatedEventResponse as Za, ConnectedAccountResponse as Zc, FactorWithSecrets as Zd, SerializedAuthenticateWithCodeAndVerifierOptions as Zf, AuthenticationPasskeyFailedEventResponse as Zi, WaitlistResponse as Zl, CreateAuthorizationResourceOptions as Zm, ValidAgentCredential as Zn, PermissionCreatedEventResponse as Zo, SerializedRemoveGroupRoleAssignmentsOptions as Zp, UserRegistrationActionResponseData as Zr, VaultNamesListedEventResponse as Zs, RadarStandaloneResponseVerdict as Zt, ListUserApiKeysOptions as Zu, SignatureVerificationException as _, DsyncActivatedEventResponse as _a, DataIntegrationsListResponseDataOwnership as _c, InvitationEventResponse as _d, UserManagementAccessToken as _f, OrganizationRole as _h, SerializedCreateItContactOptions as _i, RemoveFlagTargetOptions as _l, AssignRoleOptionsWithResourceId as _m, ConnectApplicationOAuthResponse as _n, MagicAuthCreatedEventResponse as _o, ConnectionDomain as _p, AgentRegistrationClaimCompletion as _r, RoleDeletedEvent as _s, GetOrganizationAuditLogsRetentionOptions as _t, SendRadarSmsChallengeResponseResponse as _u, PublicWorkOS as a, AuthenticationRadarRiskDetectedEventResponse as aa, UpdateCustomProviderDefinitionResponse as ac, AuthorizationOrganizationMembershipResponse as ad, AuthenticationEvent as af, UpdatePermissionOptions as ah, Organization as ai, ListGroupOrganizationMembershipsOptions as al, GetGroupRoleAssignmentOptions as am, PasswordlessSession as an, GroupMemberRemovedEventResponse as ao, WithResolvedClientId as ap, SerializedLinkClaimAttemptToExternalUserOptions as ar, PipesConnectedAccountConnectionFailedEvent as as, DecryptDataKeyResponse as at, UpdateUserPasswordOptions as au, NotFoundException as b, DsyncGroupCreatedEvent as ba, DataIntegrationsListResponseDataConnectedAccountState as bc, EnrollAuthFactorOptions as bd, AuthenticationResponseResponse as bf, SerializedUpdateEnvironmentRoleOptions as bh, CreateOrganizationRequestOptions as bi, FlagCustomTarget as bl, ListRoleAssignmentsForResourceByExternalIdOptions as bm, ConnectApplicationRedirectUriResponse as bn, OrganizationDeletedEvent as bo, SSOAuthorizationURLOptions as bp, SerializedAgentIdentity as br, RoleUpdatedEventResponse as bs, CreateAuditLogSchemaResponse as bt, SerializedSendInvitationOptions as bu, PortalLinkResponseWire as c, AuthenticationSSOSucceededEvent as ca, GetUserConnectedAccountOptions as cc, OrganizationMembership as cd, AuthenticationEventSsoResponse as cf, Permission as ch, ListOrganizationFeatureFlagsOptions as ci, GetGroupOptions as cl, GroupRoleAssignmentResponse as cm, SerializedListEventOptions as cn, InvitationAcceptedEvent as co, Profile as cp, MintAgentTokenOptions as cr, PipesConnectedAccountDisconnectedEventResponse as cs, WidgetSessionTokenResponseWire as ct, SerializedUpdateOrganizationMembershipOptions as cu, IntentOptions as d, ConnectionActivatedEventResponse as da, DeleteUserConnectedAccountOptions as dc, ListInvitationsOptions as dd, SerializedAuthenticateWithTotpOptions as df, AddOrganizationRolePermissionOptions as dh, CreateItContactOptions as di, SerializedCreateGroupOptions as dl, RemoveRoleOptions as dm, ApplicationCredentialsListItem as dn, InvitationCreatedEventResponse as do, OauthTokensResponse as dp, RefreshAgentTokenOptions as dr, PipesConnectedAccountResponse as ds, FeatureFlagsRuntimeClient as dt, Session as du, AuthenticationPasswordFailedEvent as ea, KeyContext as ec, ListSessionsOptions as ed, TotpResponse as ef, SerializedCreateAuthorizationResourceOptions as eh, UserData as ei, AuthorizeDataIntegrationOptions as el, CreateGroupRoleAssignmentOptions as em, RadarStandaloneAssessRequestAction as en, GroupMemberAddedEvent as eo, SerializedAuthenticateWithCodeOptions as ep, ValidateAgentCredentialOptions as er, PermissionUpdatedEvent as es, ReadObjectOptions as et, SerializedUserApiKeyWithValue as eu, IntentOptionsResponse as f, ConnectionDeactivatedEvent as fa, DeleteDataIntegrationOptions as fc, SerializedListInvitationsOptions as fd, AuthenticateWithSessionCookieFailedResponse as ff, SetOrganizationRolePermissionsOptions as fh, DeleteItContactOptions as fi, AddGroupOrganizationMembershipOptions as fl, RemoveRoleOptionsWithResourceExternalId as fm, ApplicationCredentialsListItemResponse as fn, InvitationResentEvent as fo, ListConnectionsOptions as fp, SerializedAgentToken as fr, PipesConnectedAccountState as fs, CookieSession as ft, SessionResponse as fu, UnauthorizedException as g, DsyncActivatedEvent as ga, DataIntegrationsListResponseDataResponse as gc, InvitationEvent as gd, SessionCookieData as gf, SerializedCreateOrganizationRoleOptions as gh, RevokeItContactOptions as gi, RuntimeClientOptions as gl, AssignRoleOptionsWithResourceExternalId as gm, ConnectApplicationOAuth as gn, MagicAuthCreatedEvent as go, Connection as gp, AgentRegistrationClaim as gr, RoleCreatedEventResponse as gs, UpdateAuditLogsRetentionRetentionPeriod as gt, SendRadarSmsChallengeResponse as gu, UnprocessableEntityException as h, ConnectionDeletedEventResponse as ha, DataIntegrationsListResponseData as hc, Invitation as hd, AuthenticateWithSessionCookieSuccessResponse as hf, CreateOrganizationRoleOptions as hh, ListItContactsOptions as hi, RuntimeClientLogger as hl, AssignRoleOptions as hm, ConnectApplicationM2MResponse as hn, InvitationRevokedEventResponse as ho, GetProfileOptions as hp, AgentRegistration as hr, RoleCreatedEvent as hs, UpdateAuditLogsRetentionResponse as ht, SendRadarSmsChallengeOptions as hu, PublicUserManagement as i, AuthenticationRadarRiskDetectedEvent as ia, UpdateCustomProviderDefinition as ic, AuthorizationOrganizationMembership as id, SmsResponse as if, SerializedUpdatePermissionOptions as ih, UpdateOrganizationOptions as ii, ListGroupsOptions as il, SerializedCreateGroupRoleAssignmentOptions as im, SerializedCreatePasswordlessSessionOptions as in, GroupMemberRemovedEvent as io, SerializedAuthenticateWithOptionsBase as ip, SerializedClaimAttemptResponse as ir, PipesConnectedAccountConnectedEventResponse as is, DecryptDataKeyOptions as it, SerializedUpdateUserPasswordOptions as iu, Webhooks as j, DsyncUserCreatedEventResponse as ja, DataIntegrationCredentialsResponseCredentialResponse as jc, CreateUserApiKeyRequestOptions as jd, SerializedAuthenticateWithRefreshTokenOptions as jf, SerializedListDirectoriesOptions as jh, ListResponse as ji, SerializedValidateApiKeyResponse as jl, RoleAssignmentSourceResponse as jm, CreateM2MApplicationResponse as jn, OrganizationDomainVerifiedEventResponse as jo, Role as jp, ListAgentInstanceSessionsOptions as jr, UserUpdatedEventResponse as js, AuditLogSchemaMetadata as jt, TerminalRefreshSessionFailureReason as ju, WorkOSErrorData as k, DsyncGroupUserRemovedEventResponse as ka, DataIntegrationCredentialsResponseError as kc, SerializedCreateUserOptions as kd, AuthenticateUserWithRefreshTokenCredentials as kf, ListDirectoryGroupsOptions as kh, PatchOptions as ki, TypedEvaluationContext as kl, RoleAssignmentRole as km, CreateApplicationOptions as kn, OrganizationDomainVerificationFailedEventResponse as ko, OrganizationRoleEventResponse as kp, AgentInstanceSession as kr, UserDeletedEventResponse as ks, AuditLogActorSchema as kt, RefreshSessionResponse as ku, GenerateLink as l, AuthenticationSSOSucceededEventResponse as la, GetDataIntegrationOptions as lc, OrganizationMembershipResponse as ld, AuthenticateUserWithTotpCredentials as lf, PermissionResponse as lh, ItContact as li, DeleteGroupOptions as ll, RemoveRoleAssignmentOptions as lm, NewConnectApplicationSecret as ln, InvitationAcceptedEventResponse as lo, ProfileResponse as lp, MintAutonomousAgentTokenOptions as lr, PipesConnectedAccountReauthorizationNeededEvent as ls, CreateTokenOptions as lt, UpdateOrganizationMembershipOptions as lu, SSOIntentOptionsResponse as m, ConnectionDeletedEvent as ma, DataIntegrationsListResponseWire as mc, ListAuthFactorsOptions as md, AuthenticateWithSessionCookieOptions as mf, UpdateOrganizationRoleOptions as mh, ItContactIntent as mi, RuntimeClientStats as ml, SerializedRemoveRoleOptions as mm, ConnectApplicationM2M as mn, InvitationRevokedEvent as mo, GetProfileAndTokenOptions as mp, AgentIdentity as mr, PipesConnectionFailedResponse as ms, UpdateAuditLogsRetention as mt, SendVerificationEmailOptions as mu, PublicClientOptions as n, AuthenticationPasswordSucceededEvent as na, UpdateDataIntegrationOptions as nc, ListOrganizationMembershipsOptions as nd, TotpWithSecretsResponse as nf, UpdateAuthorizationResourceOptions as nh, UserRegistrationActionPayload as ni, UpdateGroupOptions as nl, CreateGroupRoleAssignmentOptionsWithResourceExternalId as nm, SendSessionResponse as nn, GroupMemberEventData as no, AuthenticateWithSessionOptions as np, ClaimAttemptResponse as nr, PipesConnectedAccount as ns, CreateObjectEntity as nt, SerializedUserApiKey as nu, createWorkOS as o, AuthenticationSSOFailedEvent as oa, UpdateCustomProviderDefinitionAuthenticateVia as oc, BaseOrganizationMembership as od, AuthenticationEventResponse as of, CreatePermissionOptions as oh, OrganizationResponse as oi, Group as ol, ListGroupRoleAssignmentsOptions as om, PasswordlessSessionResponse as on, GroupUpdatedEvent as oo, ProfileAndToken as op, AgentToken as or, PipesConnectedAccountConnectionFailedEventResponse as os, CreateDataKeyOptions as ot, SerializedUpdateUserOptions as ou, SSOIntentOptions as p, ConnectionDeactivatedEventResponse as pa, DataIntegrationsListResponse as pc, ListGroupsForOrganizationMembershipOptions as pd, AuthenticateWithSessionCookieFailureReason as pf, SerializedUpdateOrganizationRoleOptions as ph, InviteItContactOptions as pi, SerializedAddGroupOrganizationMembershipOptions as pl, RemoveRoleOptionsWithResourceId as pm, ConnectApplication as pn, InvitationResentEventResponse as po, SerializedListConnectionsOptions as pp, SerializedMintAgentTokenOptions as pr, PipesConnectionFailed as ps, UpdateOrganizationAuditLogsRetentionOptions as pt, SessionStatus as pu, Actor as q, FlagRuleUpdatedEventResponse as qa, DataIntegrationCredentialsDtoResponse as qc, AuthenticationFactorWithSecretsResponse as qd, AuthenticateUserWithEmailVerificationCredentials as qf, ResponseHeaderValue as qh, AuthenticationOAuthFailedEventResponse as qi, OrganizationDomainVerificationStrategy as ql, ListAuthorizationResourcesOptions as qm, InvalidAgentCredential as qn, PasswordResetCreatedEventResponse as qo, RemoveGroupRoleAssignmentsOptions as qp, PKCEPair as qr, VaultKekCreatedEventResponse as qs, RadarStandaloneResponse as qt, WaitlistEntryResponse as qu, PublicSSO as r, AuthenticationPasswordSucceededEventResponse as ra, UpdateDataIntegrationApiKeyOptions as rc, SerializedListOrganizationMembershipsOptions as rd, Sms as rf, ListPermissionsOptions as rh, SerializedUpdateOrganizationOptions as ri, RemoveGroupOrganizationMembershipOptions as rl, CreateGroupRoleAssignmentOptionsWithResourceId as rm, CreatePasswordlessSessionOptions as rn, GroupMemberEventResponseData as ro, SerializedAuthenticatePublicClientBase as rp, LinkClaimAttemptToExternalUserOptions as rr, PipesConnectedAccountConnectedEvent as rs, CreateObjectOptions as rt, UserApiKey as ru, PortalLinkResponse as s, AuthenticationSSOFailedEventResponse as sa, ListUserDataProvidersOptions as sc, BaseOrganizationMembershipResponse as sd, AuthenticationEventSso as sf, SerializedCreatePermissionOptions as sh, ListOrganizationsOptions as si, GroupResponse as sl, GroupRoleAssignment as sm, ListEventOptions as sn, GroupUpdatedEventResponse as so, ProfileAndTokenResponse as sp, MintAgentDelegatedAgentTokenOptions as sr, PipesConnectedAccountDisconnectedEvent as ss, WidgetSessionTokenResponse as st, UpdateUserOptions as su, ConfidentialClientOptions as t, AuthenticationPasswordFailedEventResponse as ta, UpdateUserConnectedAccountOptions as tc, SerializedListSessionsOptions as td, TotpWithSecrets as tf, SerializedUpdateAuthorizationResourceOptions as th, UserDataPayload as ti, SerializedUpdateGroupOptions as tl, CreateGroupRoleAssignmentOptionsForOrganization as tm, RadarStandaloneAssessRequestAuthMethod as tn, GroupMemberAddedEventResponse as to, AuthenticateWithOptionsBase as tp, ClaimAttemptOrganization as tr, PermissionUpdatedEventResponse as ts, ReadObjectResponse as tt, UserApiKeyWithValue as tu, GenerateLinkResponse as u, ConnectionActivatedEvent as ua, GetAccessTokenOptions as uc, OrganizationMembershipStatus as ud, AuthenticateWithTotpOptions as uf, RemoveOrganizationRolePermissionOptions as uh, ItContactResponse as ui, CreateGroupOptions as ul, BaseRemoveRoleOptions as um, NewConnectApplicationSecretResponse as un, InvitationCreatedEvent as uo, OauthTokens as up, MintUserDelegatedAgentTokenOptions as ur, PipesConnectedAccountReauthorizationNeededEventResponse as us, WidgetSessionTokenScopes as ut, AuthMethod as uu, RateLimitExceededException as v, DsyncDeletedEvent as va, DataIntegrationsListResponseDataConnectedAccount as vc, InvitationResponse as vd, AuthenticationMethod as vf, AddEnvironmentRolePermissionOptions as vh, SerializedInviteItContactOptions as vi, ListFeatureFlagsOptions as vl, BaseAssignRoleOptions as vm, ConnectApplicationResponse as vn, OrganizationCreatedEvent as vo, ConnectionResponse as vp, AgentRegistrationKind as vr, RoleDeletedEventResponse as vs, CreateAuditLogSchemaOptions as vt, SerializedSendRadarSmsChallengeOptions as vu, AuthenticationErrorCode as w, DsyncGroupUpdatedEvent as wa, DataIntegrationResponse as wc, EmailVerificationEventResponse as wd, UserResponse as wf, EnvironmentRole as wh, WorkOSResponseError as wi, FeatureFlag as wl, SerializedListRoleAssignmentsOptions as wm, CreateApplicationClientSecretOptions as wn, OrganizationDomainDeletedEvent as wo, DirectoryUserResponse as wp, AgentInstance as wr, SessionRevokedEventResponse as ws, CreateAuditLogEventOptions as wt, ResetPasswordOptions as wu, NoApiKeyProvidedException as x, DsyncGroupCreatedEventResponse as xa, DataIntegrationsListResponseDataConnectedAccountAuthMethod as xc, SerializedEnrollUserInMfaFactorOptions as xd, CreateUserResponse as xf, UpdateEnvironmentRoleOptions as xh, SerializedCreateOrganizationOptions as xi, FlagPollEntry as xl, ListRoleAssignmentsForResourceOptions as xm, ExternalAuthCompleteResponse as xn, OrganizationDeletedResponse as xo, SSOPKCEAuthorizationURLResult as xp, SerializedAgentRegistration as xr, SessionCreatedEvent as xs, SerializedCreateAuditLogSchemaOptions as xt, RevokeSessionOptions as xu, OauthException as y, DsyncDeletedEventResponse as ya, DataIntegrationsListResponseDataConnectedAccountResponse as yc, Identity as yd, AuthenticationResponse as yf, SetEnvironmentRolePermissionsOptions as yh, CreateOrganizationOptions as yi, FlagChange as yl, SerializedAssignRoleOptions as ym, ConnectApplicationRedirectUri as yn, OrganizationCreatedResponse as yo, ConnectionType as yp, AgentRegistrationStatus as yr, RoleUpdatedEvent as ys, CreateAuditLogSchemaRequestOptions as yt, SendInvitationOptions as yu, ObjectSummary as z, EventBase as za, DataIntegrationAccessTokenResponseAccessToken as zc, PKCEAuthorizationURLResult as zd, AuthenticateWithRadarSmsChallengeOptions as zf, DirectoryType as zh, AuthenticationEmailVerificationSucceededEventResponse as zi, SerializedCreateOrganizationApiKeyOptions as zl, AuthorizationCheckOptionsWithResourceExternalId as zm, UserConsentOptionResponse as zn, OrganizationRoleCreatedEventResponse as zo, GroupRoleAssignmentEntry as zp, SerializedAgentBlueprint as zr, VaultDataReadEventResponse as zs, VerifyResponseResponse as zt, MagicAuthEvent as zu };
11184
- //# sourceMappingURL=factory-CW0E3JEC.d.mts.map
11987
+ export { ReadObjectMetadataResponse as $, GroupDeletedEventResponse as $a, DataIntegrationCustomProvider as $c, SerializedListOrganizationMembershipsOptions as $d, Sms as $f, ListPermissionsOptions as $h, AuthenticationPasskeySucceededEventResponse as $i, RemoveGroupOrganizationMembershipOptions as $l, CreateGroupRoleAssignmentOptionsWithResourceId as $m, ValidateAgentApiKeyOptions as $n, PermissionDeletedEventResponse as $o, SerializedAuthenticatePublicClientBase as $p, ActionPayload as $r, DataKeyPair as $s, RadarListType as $t, UserApiKey as $u, ApiKeyRequiredException as A, DsyncUserCreatedEvent as Aa, DataIntegrationsUpsertApiKeyRequestConnectionOwner as Ac, PasswordResetEventResponse as Ad, SerializedCreatePasswordResetOptions as Af, DirectoryGroupResponse as Ag, ListResourcesForMembershipOptions as Ah, List as Ai, CreateDataIntegrationCredentialOptions as Al, RoleList as Am, CreateM2MApplication as An, OrganizationDomainVerifiedEvent as Ao, SerializedAuthenticateWithPasswordOptions as Ap, AgentInstanceSessionStatus as Ar, UserUpdatedEvent as As, AuditLogSchema as At, ListOrganizationApiKeysOptions as Au, ObjectSummaryResponse as B, EventName as Ba, DataIntegrationsListResponseDataConnectedAccountConnectionRole as Bc, ListWaitlistEntriesOptions as Bd, AuthenticationFactorResponse as Bf, HttpClientResponseInterface as Bg, DeleteAuthorizationResourceByExternalIdOptions as Bh, AuthenticationMagicAuthFailedEvent as Bi, ConnectedAccountResponse as Bl, SerializedGroupRoleAssignmentEntry as Bm, UserConsentOptionChoice as Bn, OrganizationRoleDeletedEvent as Bo, AuthenticateUserWithMagicAuthCredentials as Bp, SerializedAgentBlueprintInvocableBy as Br, VaultDataUpdatedEvent as Bs, VerifyChallengeOptions as Bt, OrganizationDomain as Bu, BadRequestException as C, DsyncGroupDeletedEventResponse as Ca, DeleteOrganizationConnectedAccountOptions as Cc, SerializedResendInvitationOptions as Cd, SerializedCreateWaitlistEntryOptions as Cf, EnvironmentRoleResponse as Cg, RoleAssignmentResourceResponse as Ch, DomainDataState as Ci, CreateDataIntegrationOwnership as Cl, ListOrganizationRolesResponse as Cm, DeleteClientSecretOptions as Cn, OrganizationDomainCreatedEventResponse as Co, AuthenticateWithRefreshTokenPublicClientOptions as Cp, SerializedAgentRegistrationClaimCompletion as Cr, SessionRevokedEvent as Cs, AuditLogTarget as Ct, EvaluationResource as Cu, isAuthenticationErrorData as D, DsyncGroupUserAddedEventResponse as Da, DataIntegrationsUpsertClientCredentialsRequestConnectionOwner as Dc, TerminalRefreshSessionFailureReason as Dd, CreateUserApiKeyRequestOptions as Df, SerializedListDirectoriesOptions as Dg, RoleAssignmentSourceResponse as Dh, PutOptions as Di, DataIntegrationCredentialsInput as Dl, Role as Dm, UpdateApplicationOptions as Dn, OrganizationDomainUpdatedEventResponse as Do, SerializedAuthenticateWithRefreshTokenOptions as Dp, SerializedAgentInstance as Dr, UserCreatedEventResponse as Ds, AuditLogsRetention as Dt, SerializedValidateApiKeyResponse as Du, AuthenticationException as E, DsyncGroupUserAddedEvent as Ea, DataIntegrationsUpsertClientCredentialsRequestResponse as Ec, RetryableRefreshSessionFailureReason as Ed, CreateUserApiKeyOptions as Ef, ListDirectoriesOptions as Eg, RoleAssignmentSource as Eh, UnprocessableEntityError as Ei, CustomProviderDefinitionAuthenticateVia as El, OrganizationRoleResponse as Em, DeleteApplicationOptions as En, OrganizationDomainUpdatedEvent as Eo, AuthenticateWithRefreshTokenOptions as Ep, ListAgentInstancesOptions as Er, UserCreatedEvent as Es, SerializedCreateAuditLogEventOptions as Et, AddFlagTargetOptions as Eu, UpdateWebhookEndpointEvents as F, DsyncUserUpdatedEventResponse as Fa, DataIntegrationsListResponseDataOwnership as Fc, MagicAuthEvent as Fd, PKCEAuthorizationURLResult as Ff, DirectoryType as Fg, AuthorizationCheckOptionsWithResourceExternalId as Fh, ApiKeyCreatedEventResponse as Fi, DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner as Fl, GroupRoleAssignmentEntry as Fm, RedirectUriInputResponse as Fn, OrganizationMembershipDeletedResponse as Fo, AuthenticateWithRadarSmsChallengeOptions as Fp, AgentBlueprintInvocableBy as Fr, VaultDataCreatedEventResponse as Fs, AuditLogExportResponse as Ft, SerializedCreateOrganizationApiKeyOptions as Fu, ObjectMetadata as G, FlagDeletedEventResponse as Ga, DataIntegrationsGetUserTokenRequestConnectionOwner as Gc, ListUsersOptions as Gd, FactorResponse as Gf, CryptoProvider as Gg, AuthorizationResource as Gh, AuthenticationMfaSucceededEventResponse as Gi, AuthorizeDataIntegrationOptions as Gl, RemoveGroupRoleAssignmentsOptionsWithResourceExternalId as Gm, AgentCredentialType as Gn, OrganizationUpdatedResponse as Go, SerializedAuthenticateWithEmailVerificationOptions as Gp, AutoPaginatable as Gr, VaultDekReadEventResponse as Gs, RadarListEntryAlreadyPresentResponse as Gt, SerializedCreateOrganizationDomainOptions as Gu, ObjectVersionResponse as H, FlagCreatedEvent as Ha, DataIntegrationsListResponseDataAuthMethods as Hc, WaitlistEntry as Hd, AuthenticationFactorWithSecrets as Hf, RequestOptions as Hg, GetAuthorizationResourceByExternalIdOptions as Hh, AuthenticationMagicAuthSucceededEvent as Hi, ConnectedAccountInputState as Hl, BaseRemoveGroupRoleAssignmentsOptions as Hm, UserObject as Hn, OrganizationRoleUpdatedEvent as Ho, SerializedAuthenticateWithMagicAuthOptions as Hp, SerializedCreateAgentBlueprintOptions as Hr, VaultDekDecryptedEvent as Hs, Challenge as Ht, OrganizationDomainState as Hu, UpdateWebhookEndpointStatus as I, EmailVerificationCreatedEvent as Ia, DataIntegrationsListResponseDataConnectionOwner as Ic, MagicAuthEventResponse as Id, UserManagementAuthorizationURLOptions as If, EventDirectory as Ig, AuthorizationCheckOptionsWithResourceId as Ih, ApiKeyRevokedEvent as Ii, CreateDataIntegrationAuthMethods as Il, GroupRoleAssignmentEntryForOrganization as Im, ListApplicationsOptions as In, OrganizationMembershipUpdated as Io, SerializedAuthenticateWithRadarSmsChallengeOptions as Ip, AgentBlueprintSessionSettings as Ir, VaultDataDeletedEvent as Is, AuditLogExportOptions as It, ApiKey as Iu, ActorResponse as J, FlagUpdatedEvent as Ja, DataIntegrationState as Jc, SerializedListUserApiKeysOptions as Jd, FactorWithSecretsResponse as Jf, CreateOptionsWithParentExternalId as Jh, AuthenticationOAuthSucceededEvent as Ji, DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner as Jl, RemoveGroupRoleAssignmentOptions as Jm, SerializedAgentAccessTokenClaims as Jn, PasswordResetSucceededEvent as Jo, AuthenticateUserWithCodeCredentials as Jp, Actions as Jr, VaultMetadataReadEvent as Js, RadarStandaloneResponseWire as Jt, SerializedVerifyEmailOptions as Ju, ObjectMetadataResponse as K, FlagRuleUpdatedEvent as Ka, DataIntegration as Kc, SerializedListUsersOptions as Kd, FactorType as Kf, AuthorizationResourceResponse as Kh, AuthenticationOAuthFailedEvent as Ki, DataIntegrationsGetDataIntegrationAuthorizeUrlRequest as Kl, RemoveGroupRoleAssignmentsOptionsWithResourceId as Km, AgentCredentialValidation as Kn, PasswordResetCreatedEvent as Ko, AuthenticateWithCodeAndVerifierOptions as Kp, PKCE as Kr, VaultKekCreatedEvent as Ks, RadarListEntryAlreadyPresentResponseWire as Kt, Waitlist as Ku, CreateWebhookEndpointEvents as L, EmailVerificationCreatedEventResponse as La, DataIntegrationsListResponseDataConnectedAccount as Lc, MagicAuthResponse as Ld, AuthenticationRadarRiskDetectedEventData as Lf, EventDirectoryResponse as Lg, AuthorizationCheckResult as Lh, ApiKeyRevokedEventResponse as Li, CreateDataIntegrationApiKeyOptions as Ll, GroupRoleAssignmentEntryWithResourceExternalId as Lm, CompleteOAuth2Options as Ln, OrganizationMembershipUpdatedResponse as Lo, AuthenticateUserWithRadarEmailChallengeCredentials as Lp, CreateAgentBlueprintOptions as Lr, VaultDataDeletedEventResponse as Ls, SerializedAuditLogExportOptions as Lt, SerializedApiKey as Lu, WebhookEndpoint as M, DsyncUserDeletedEvent as Ma, DataIntegrationsListResponseWire as Mc, CreateMagicAuthResponse as Md, SerializedCreateOrganizationMembershipOptions as Mf, DirectoryResponse as Mg, ListResourcesForMembershipOptionsWithParentId as Mh, GetOptions as Mi, DataIntegrationsVendCredentialsRequestResponse as Ml, ListEffectivePermissionsByExternalIdOptions as Mm, CreateOAuthApplication as Mn, OrganizationMembershipCreated as Mo, AuthenticateWithOrganizationSelectionOptions as Mp, SerializedAgentInstanceSession as Mr, VaultByokKeyVerificationCompletedEvent as Ms, AuditLogSchemaResponse as Mt, SerializedCreatedApiKey as Mu, WebhookEndpointResponse as N, DsyncUserDeletedEventResponse as Na, DataIntegrationsListResponseData as Nc, CreateMagicAuthResponseResponse as Nd, CreateMagicAuthOptions as Nf, DirectoryState as Ng, SerializedListResourcesForMembershipOptions as Nh, GenerateLinkIntent as Ni, DataIntegrationsVendCredentialsRequestConnectionOwner as Nl, ListEffectivePermissionsOptions as Nm, CreateOAuthApplicationResponse as Nn, OrganizationMembershipCreatedResponse as No, SerializedAuthenticateWithOrganizationSelectionOptions as Np, SerializedListAgentInstanceSessionsOptions as Nr, VaultByokKeyVerificationCompletedEventResponse as Ns, AuditLogTargetSchema as Nt, CreateOrganizationApiKeyOptions as Nu, GenericServerException as O, DsyncGroupUserRemovedEvent as Oa, DataIntegrationsUpsertApiKeyRequest as Oc, PasswordReset as Od, SerializedCreateUserApiKeyOptions as Of, PaginationOptions as Og, ListMembershipsForResourceByExternalIdOptions as Oh, PostOptions as Oi, DataIntegrationCredentialsInputResponse as Ol, RoleEvent as Om, GetApplicationOptions as On, OrganizationDomainVerificationFailedEvent as Oo, AuthenticateUserWithPasswordCredentials as Op, SerializedListAgentInstancesOptions as Or, UserDeletedEvent as Os, AuditLogsRetentionResponse as Ot, ValidateApiKeyOptions as Ou, WebhookEndpointStatus as P, DsyncUserUpdatedEvent as Pa, DataIntegrationsListResponseDataResponse as Pc, MagicAuth as Pd, SerializedCreateMagicAuthOptions as Pf, DirectoryStateResponse as Pg, AuthorizationCheckOptions as Ph, ApiKeyCreatedEvent as Pi, CreateDataIntegrationClientCredentialOptions as Pl, BaseGroupRoleAssignmentEntry as Pm, RedirectUriInput as Pn, OrganizationMembershipDeleted as Po, AuthenticateUserWithRadarSmsChallengeCredentials as Pp, AgentBlueprint as Pr, VaultDataCreatedEvent as Ps, AuditLogExport as Pt, CreateOrganizationApiKeyRequestOptions as Pu, UpdateObjectOptions as Q, GroupDeletedEvent as Qa, DataIntegrationInstallationConnectionRole as Qc, ListOrganizationMembershipsOptions as Qd, TotpWithSecretsResponse as Qf, UpdateAuthorizationResourceOptions as Qh, AuthenticationPasskeySucceededEvent as Qi, UpdateGroupOptions as Ql, CreateGroupRoleAssignmentOptionsWithResourceExternalId as Qm, ValidateAgentAccessTokenOptions as Qn, PermissionDeletedEvent as Qo, AuthenticateWithSessionOptions as Qp, ActionContext as Qr, DataKey as Qs, RadarListAction as Qt, SerializedUserApiKey as Qu, WorkOS as R, Event as Ra, DataIntegrationsListResponseDataConnectedAccountResponse as Rc, LogoutURLOptions as Rd, AuthenticationRadarRiskDetectedEventResponseData as Rf, HttpClient as Rg, SerializedAuthorizationCheckOptions as Rh, AuthenticationEmailVerificationSucceededEvent as Ri, DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner as Rl, GroupRoleAssignmentEntryWithResourceId as Rm, UserConsentOption as Rn, OrganizationRoleCreatedEvent as Ro, AuthenticateWithRadarEmailChallengeOptions as Rp, ListAgentBlueprintsOptions as Rr, VaultDataReadEvent as Rs, VerifyResponse as Rt, OrganizationDomainVerificationFailed as Ru, ConflictException as S, DsyncGroupDeletedEvent as Sa, DeleteOrganizationDataIntegrationOptions as Sc, ResendInvitationOptions as Sd, CreateWaitlistEntryOptions as Sf, EnvironmentRoleListResponse as Sg, RoleAssignmentResource as Sh, DomainData as Si, CreateDataIntegrationResponse as Sl, DirectoryUserWithGroupsResponse as Sm, ExternalAuthCompleteResponseWire as Sn, OrganizationDomainCreatedEvent as So, ImpersonatorResponse as Sp, SerializedAgentRegistrationClaim as Sr, SessionCreatedEventResponse as Ss, AuditLogActor as St, EvaluationContext as Su, AuthenticationErrorData as T, DsyncGroupUpdatedEventResponse as Ta, DataIntegrationsUpsertClientCredentialsRequest as Tc, RefreshSessionResponse as Td, SerializedCreateUserOptions as Tf, ListDirectoryGroupsOptions as Tg, RoleAssignmentRole as Th, WorkOSOptions as Ti, CustomProviderDefinitionResponse as Tl, OrganizationRoleEventResponse as Tm, ListApplicationClientSecretsOptions as Tn, OrganizationDomainDeletedEventResponse as To, AuthenticateUserWithRefreshTokenCredentials as Tp, AgentInstanceType as Tr, UnknownEvent as Ts, CreateAuditLogEventRequestOptions as Tt, TypedEvaluationContext as Tu, VaultObject as U, FlagCreatedEventResponse as Ua, DataIntegrationsGetUserTokenRequest as Uc, WaitlistEntryResponse as Ud, AuthenticationFactorWithSecretsResponse as Uf, ResponseHeaderValue as Ug, ListAuthorizationResourcesOptions as Uh, AuthenticationMagicAuthSucceededEventResponse as Ui, ConnectedAccountConnectionRole as Ul, RemoveGroupRoleAssignmentsOptions as Um, UserObjectResponse as Un, OrganizationRoleUpdatedEventResponse as Uo, AuthenticateUserWithEmailVerificationCredentials as Up, SerializedUpdateAgentBlueprintOptions as Ur, VaultDekDecryptedEventResponse as Us, ChallengeResponse as Ut, OrganizationDomainVerificationStrategy as Uu, ObjectVersion as V, EventResponse as Va, DataIntegrationsListResponseDataConnectedAccountAuthMethod as Vc, SerializedListWaitlistEntriesOptions as Vd, AuthenticationFactorType as Vf, RequestHeaders as Vg, UpdateAuthorizationResourceByExternalIdOptions as Vh, AuthenticationMagicAuthFailedEventResponse as Vi, ConnectedAccountState as Vl, SerializedReplaceGroupRoleAssignmentsOptions as Vm, UserConsentOptionChoiceResponse as Vn, OrganizationRoleDeletedEventResponse as Vo, AuthenticateWithMagicAuthOptions as Vp, SerializedAgentBlueprintSessionSettings as Vr, VaultDataUpdatedEventResponse as Vs, EnrollFactorOptions as Vt, OrganizationDomainResponse as Vu, VaultObjectResponse as W, FlagDeletedEvent as Wa, DataIntegrationsGetUserTokenRequestResponse as Wc, WaitlistEntryState as Wd, Factor as Wf, ResponseHeaders as Wg, SerializedListAuthorizationResourcesOptions as Wh, AuthenticationMfaSucceededEvent as Wi, ConnectedAccountAuthMethod as Wl, RemoveGroupRoleAssignmentsOptionsForOrganization as Wm, AgentAccessTokenClaims as Wn, OrganizationUpdatedEvent as Wo, AuthenticateWithEmailVerificationOptions as Wp, UpdateAgentBlueprintOptions as Wr, VaultDekReadEvent as Ws, ChallengeFactorOptions as Wt, CreateOrganizationDomainOptions as Wu, CreateDataKeyResponseWire as X, GroupCreatedEvent as Xa, DataIntegrationInstallation as Xc, ListSessionsOptions as Xd, TotpResponse as Xf, SerializedCreateAuthorizationResourceOptions as Xh, AuthenticationPasskeyFailedEvent as Xi, ApiKeyInstallationResponse as Xl, CreateGroupRoleAssignmentOptions as Xm, SerializedValidateAgentCredentialOptions as Xn, PermissionCreatedEvent as Xo, SerializedAuthenticateWithCodeOptions as Xp, ResponsePayload as Xr, VaultNamesListedEvent as Xs, RadarStandaloneResponseControl as Xt, SerializedUserApiKeyWithValue as Xu, CreateDataKeyResponse as Y, FlagUpdatedEventResponse as Ya, DataIntegrationOwnership as Yc, ListUserFeatureFlagsOptions as Yd, Totp as Yf, CreateOptionsWithParentResourceId as Yh, AuthenticationOAuthSucceededEventResponse as Yi, ApiKeyInstallation as Yl, BaseCreateGroupRoleAssignmentOptions as Ym, SerializedAgentCredentialValidation as Yn, PasswordResetSucceededEventResponse as Yo, AuthenticateWithCodeOptions as Yp, AuthenticationActionResponseData as Yr, VaultMetadataReadEventResponse as Ys, RadarStandaloneResponseBlocklistType as Yt, VerifyEmailOptions as Yu, UpdateObjectEntity as Z, GroupCreatedEventResponse as Za, DataIntegrationInstallationResponse as Zc, SerializedListSessionsOptions as Zd, TotpWithSecrets as Zf, SerializedUpdateAuthorizationResourceOptions as Zh, AuthenticationPasskeyFailedEventResponse as Zi, SerializedUpdateGroupOptions as Zl, CreateGroupRoleAssignmentOptionsForOrganization as Zm, ValidAgentCredential as Zn, PermissionCreatedEventResponse as Zo, AuthenticateWithOptionsBase as Zp, UserRegistrationActionResponseData as Zr, VaultNamesListedEventResponse as Zs, RadarStandaloneResponseVerdict as Zt, UserApiKeyWithValue as Zu, SignatureVerificationException as _, DsyncActivatedEventResponse as _a, GetOrganizationDataIntegrationOptions as _c, RevokeSessionOptions as _d, SerializedEnrollUserInMfaFactorOptions as _f, UpdateEnvironmentRoleOptions as _g, ListRoleAssignmentsForResourceOptions as _h, SerializedCreateItContactOptions as _i, CreateUserConnectedAccountOptions as _l, SSOPKCEAuthorizationURLResult as _m, ConnectApplicationOAuthResponse as _n, MagicAuthCreatedEventResponse as _o, CreateUserResponse as _p, AgentRegistrationClaimCompletion as _r, RoleDeletedEvent as _s, GetOrganizationAuditLogsRetentionOptions as _t, FlagPollEntry as _u, PublicWorkOS as a, AuthenticationRadarRiskDetectedEventResponse as aa, UpdateDataIntegration as ac, UpdateOrganizationMembershipOptions as ad, OrganizationMembershipResponse as af, PermissionResponse as ag, RemoveRoleAssignmentOptions as ah, Organization as ai, DataIntegrationVendedCredential as al, ProfileResponse as am, PasswordlessSession as an, GroupMemberRemovedEventResponse as ao, AuthenticateUserWithTotpCredentials as ap, SerializedLinkClaimAttemptToExternalUserOptions as ar, PipesConnectedAccountConnectionFailedEvent as as, DecryptDataKeyResponse as at, DeleteGroupOptions as au, NotFoundException as b, DsyncGroupCreatedEvent as ba, GetAccessTokenOptions as bc, ResetPasswordOptions as bd, EmailVerificationEventResponse as bf, EnvironmentRole as bg, SerializedListRoleAssignmentsOptions as bh, CreateOrganizationRequestOptions as bi, CreateDataIntegrationOptions as bl, DirectoryUserResponse as bm, ConnectApplicationRedirectUriResponse as bn, OrganizationDeletedEvent as bo, UserResponse as bp, SerializedAgentIdentity as br, RoleUpdatedEventResponse as bs, CreateAuditLogSchemaResponse as bt, FeatureFlag as bu, PortalLinkResponseWire as c, AuthenticationSSOSucceededEvent as ca, UpdateDataIntegrationApiKeyOptions as cc, SessionResponse as cd, SerializedListInvitationsOptions as cf, SetOrganizationRolePermissionsOptions as cg, RemoveRoleOptionsWithResourceExternalId as ch, ListOrganizationFeatureFlagsOptions as ci, DataIntegrationCredentialResponse as cl, ListConnectionsOptions as cm, SerializedListEventOptions as cn, InvitationAcceptedEvent as co, AuthenticateWithSessionCookieFailedResponse as cp, MintAgentTokenOptions as cr, PipesConnectedAccountDisconnectedEventResponse as cs, WidgetSessionTokenResponseWire as ct, AddGroupOrganizationMembershipOptions as cu, IntentOptions as d, ConnectionActivatedEventResponse as da, UpdateCustomProviderDefinitionAuthenticateVia as dc, SendRadarSmsChallengeOptions as dd, Invitation as df, CreateOrganizationRoleOptions as dg, AssignRoleOptions as dh, CreateItContactOptions as di, DataIntegrationAuthorizeUrlResponseWire as dl, GetProfileOptions as dm, ApplicationCredentialsListItem as dn, InvitationCreatedEventResponse as do, AuthenticateWithSessionCookieSuccessResponse as dp, RefreshAgentTokenOptions as dr, PipesConnectedAccountResponse as ds, FeatureFlagsRuntimeClient as dt, RuntimeClientLogger as du, AuthenticationPasswordFailedEvent as ea, KeyContext as ec, SerializedUpdateUserPasswordOptions as ed, AuthorizationOrganizationMembership as ef, SerializedUpdatePermissionOptions as eg, SerializedCreateGroupRoleAssignmentOptions as eh, UserData as ei, DataIntegrationCustomProviderResponse as el, SerializedAuthenticateWithOptionsBase as em, RadarStandaloneAssessRequestAction as en, GroupMemberAddedEvent as eo, SmsResponse as ep, ValidateAgentCredentialOptions as er, PermissionUpdatedEvent as es, ReadObjectOptions as et, ListGroupsOptions as eu, IntentOptionsResponse as f, ConnectionDeactivatedEvent as fa, ListUserDataProvidersOptions as fc, SendRadarSmsChallengeResponse as fd, InvitationEvent as ff, SerializedCreateOrganizationRoleOptions as fg, AssignRoleOptionsWithResourceExternalId as fh, DeleteItContactOptions as fi, DataIntegrationAuthMethods as fl, Connection as fm, ApplicationCredentialsListItemResponse as fn, InvitationResentEvent as fo, SessionCookieData as fp, SerializedAgentToken as fr, PipesConnectedAccountState as fs, CookieSession as ft, RuntimeClientOptions as fu, UnauthorizedException as g, DsyncActivatedEvent as ga, GetUserConnectedAccountOptions as gc, SerializedSendInvitationOptions as gd, EnrollAuthFactorOptions as gf, SerializedUpdateEnvironmentRoleOptions as gg, ListRoleAssignmentsForResourceByExternalIdOptions as gh, RevokeItContactOptions as gi, DataIntegrationAccessTokenResponseAccessTokenResponse as gl, SSOAuthorizationURLOptions as gm, ConnectApplicationOAuth as gn, MagicAuthCreatedEvent as go, AuthenticationResponseResponse as gp, AgentRegistrationClaim as gr, RoleCreatedEventResponse as gs, UpdateAuditLogsRetentionRetentionPeriod as gt, FlagCustomTarget as gu, UnprocessableEntityException as h, ConnectionDeletedEventResponse as ha, PipesOwnership as hc, SendInvitationOptions as hd, Identity as hf, SetEnvironmentRolePermissionsOptions as hg, SerializedAssignRoleOptions as hh, ListItContactsOptions as hi, DataIntegrationAccessTokenResponseAccessToken as hl, ConnectionType as hm, ConnectApplicationM2MResponse as hn, InvitationRevokedEventResponse as ho, AuthenticationResponse as hp, AgentRegistration as hr, RoleCreatedEvent as hs, UpdateAuditLogsRetentionResponse as ht, FlagChange as hu, PublicUserManagement as i, AuthenticationRadarRiskDetectedEvent as ia, UpdateDataIntegrationOptions as ic, SerializedUpdateOrganizationMembershipOptions as id, OrganizationMembership as if, Permission as ig, GroupRoleAssignmentResponse as ih, UpdateOrganizationOptions as ii, DataIntegrationCredentialsResponseError as il, Profile as im, SerializedCreatePasswordlessSessionOptions as in, GroupMemberRemovedEvent as io, AuthenticationEventSsoResponse as ip, SerializedClaimAttemptResponse as ir, PipesConnectedAccountConnectedEventResponse as is, DecryptDataKeyOptions as it, GetGroupOptions as iu, Webhooks as j, DsyncUserCreatedEventResponse as ja, DataIntegrationsListResponse as jc, PasswordResetResponse as jd, CreateOrganizationMembershipOptions as jf, Directory as jg, ListResourcesForMembershipOptionsWithParentExternalId as jh, ListResponse as ji, DataIntegrationsVendCredentialsRequest as jl, RoleResponse as jm, CreateM2MApplicationResponse as jn, OrganizationDomainVerifiedEventResponse as jo, AuthenticateUserWithOrganizationSelectionCredentials as jp, ListAgentInstanceSessionsOptions as jr, UserUpdatedEventResponse as js, AuditLogSchemaMetadata as jt, CreatedApiKey as ju, WorkOSErrorData as k, DsyncGroupUserRemovedEventResponse as ka, DataIntegrationsUpsertApiKeyRequestResponse as kc, PasswordResetEvent as kd, CreatePasswordResetOptions as kf, DirectoryGroup as kg, ListMembershipsForResourceOptions as kh, PatchOptions as ki, DataIntegrationCredentialsInputType as kl, RoleEventResponse as km, CreateApplicationOptions as kn, OrganizationDomainVerificationFailedEventResponse as ko, AuthenticateWithPasswordOptions as kp, AgentInstanceSession as kr, UserDeletedEventResponse as ks, AuditLogActorSchema as kt, ValidateApiKeyResponse as ku, GenerateLink as l, AuthenticationSSOSucceededEventResponse as la, UpdateCustomProviderDefinition as lc, SessionStatus as ld, ListGroupsForOrganizationMembershipOptions as lf, SerializedUpdateOrganizationRoleOptions as lg, RemoveRoleOptionsWithResourceId as lh, ItContact as li, DataIntegrationCredentialType as ll, SerializedListConnectionsOptions as lm, NewConnectApplicationSecret as ln, InvitationAcceptedEventResponse as lo, AuthenticateWithSessionCookieFailureReason as lp, MintAutonomousAgentTokenOptions as lr, PipesConnectedAccountReauthorizationNeededEvent as ls, CreateTokenOptions as lt, SerializedAddGroupOrganizationMembershipOptions as lu, SSOIntentOptionsResponse as m, ConnectionDeletedEvent as ma, ListDataIntegrationsOptions as mc, SerializedSendRadarSmsChallengeOptions as md, InvitationResponse as mf, AddEnvironmentRolePermissionOptions as mg, BaseAssignRoleOptions as mh, ItContactIntent as mi, DataIntegrationAccessTokenResponseWire as ml, ConnectionResponse as mm, ConnectApplicationM2M as mn, InvitationRevokedEvent as mo, AuthenticationMethod as mp, AgentIdentity as mr, PipesConnectionFailedResponse as ms, UpdateAuditLogsRetention as mt, ListFeatureFlagsOptions as mu, PublicClientOptions as n, AuthenticationPasswordSucceededEvent as na, UpdateOrganizationDataIntegrationOptions as nc, SerializedUpdateUserOptions as nd, BaseOrganizationMembership as nf, CreatePermissionOptions as ng, ListGroupRoleAssignmentsOptions as nh, UserRegistrationActionPayload as ni, DataIntegrationCredentialsResponse as nl, ProfileAndToken as nm, SendSessionResponse as nn, GroupMemberEventData as no, AuthenticationEventResponse as np, ClaimAttemptResponse as nr, PipesConnectedAccount as ns, CreateObjectEntity as nt, Group as nu, createWorkOS as o, AuthenticationSSOFailedEvent as oa, UpdateDataIntegrationResponse as oc, AuthMethod as od, OrganizationMembershipStatus as of, RemoveOrganizationRolePermissionOptions as og, BaseRemoveRoleOptions as oh, OrganizationResponse as oi, DataIntegrationVendedCredentialResponse as ol, OauthTokens as om, PasswordlessSessionResponse as on, GroupUpdatedEvent as oo, AuthenticateWithTotpOptions as op, AgentToken as or, PipesConnectedAccountConnectionFailedEventResponse as os, CreateDataKeyOptions as ot, CreateGroupOptions as ou, SSOIntentOptions as p, ConnectionDeactivatedEventResponse as pa, ListOrganizationDataProvidersOptions as pc, SendRadarSmsChallengeResponseResponse as pd, InvitationEventResponse as pf, OrganizationRole as pg, AssignRoleOptionsWithResourceId as ph, InviteItContactOptions as pi, DataIntegrationAccessTokenResponse as pl, ConnectionDomain as pm, ConnectApplication as pn, InvitationResentEventResponse as po, UserManagementAccessToken as pp, SerializedMintAgentTokenOptions as pr, PipesConnectionFailed as ps, UpdateOrganizationAuditLogsRetentionOptions as pt, RemoveFlagTargetOptions as pu, Actor as q, FlagRuleUpdatedEventResponse as qa, DataIntegrationResponse as qc, ListUserApiKeysOptions as qd, FactorWithSecrets as qf, CreateAuthorizationResourceOptions as qh, AuthenticationOAuthFailedEventResponse as qi, DataIntegrationsGetDataIntegrationAuthorizeUrlRequestResponse as ql, SerializedRemoveGroupRoleAssignmentsOptions as qm, InvalidAgentCredential as qn, PasswordResetCreatedEventResponse as qo, SerializedAuthenticateWithCodeAndVerifierOptions as qp, PKCEPair as qr, VaultKekCreatedEventResponse as qs, RadarStandaloneResponse as qt, WaitlistResponse as qu, PublicSSO as r, AuthenticationPasswordSucceededEventResponse as ra, UpdateOrganizationConnectedAccountOptions as rc, UpdateUserOptions as rd, BaseOrganizationMembershipResponse as rf, SerializedCreatePermissionOptions as rg, GroupRoleAssignment as rh, SerializedUpdateOrganizationOptions as ri, DataIntegrationCredentialsResponseWire as rl, ProfileAndTokenResponse as rm, CreatePasswordlessSessionOptions as rn, GroupMemberEventResponseData as ro, AuthenticationEventSso as rp, LinkClaimAttemptToExternalUserOptions as rr, PipesConnectedAccountConnectedEvent as rs, CreateObjectOptions as rt, GroupResponse as ru, PortalLinkResponse as s, AuthenticationSSOFailedEventResponse as sa, UpdateDataIntegrationClientCredentialsOptions as sc, Session as sd, ListInvitationsOptions as sf, AddOrganizationRolePermissionOptions as sg, RemoveRoleOptions as sh, ListOrganizationsOptions as si, DataIntegrationCredential as sl, OauthTokensResponse as sm, ListEventOptions as sn, GroupUpdatedEventResponse as so, SerializedAuthenticateWithTotpOptions as sp, MintAgentDelegatedAgentTokenOptions as sr, PipesConnectedAccountDisconnectedEvent as ss, WidgetSessionTokenResponse as st, SerializedCreateGroupOptions as su, ConfidentialClientOptions as t, AuthenticationPasswordFailedEventResponse as ta, UpdateUserConnectedAccountOptions as tc, UpdateUserPasswordOptions as td, AuthorizationOrganizationMembershipResponse as tf, UpdatePermissionOptions as tg, GetGroupRoleAssignmentOptions as th, UserDataPayload as ti, DataIntegrationCustomProviderAuthenticateVia as tl, WithResolvedClientId as tm, RadarStandaloneAssessRequestAuthMethod as tn, GroupMemberAddedEventResponse as to, AuthenticationEvent as tp, ClaimAttemptOrganization as tr, PermissionUpdatedEventResponse as ts, ReadObjectResponse as tt, ListGroupOrganizationMembershipsOptions as tu, GenerateLinkResponse as u, ConnectionActivatedEvent as ua, UpdateCustomProviderDefinitionResponse as uc, SendVerificationEmailOptions as ud, ListAuthFactorsOptions as uf, UpdateOrganizationRoleOptions as ug, SerializedRemoveRoleOptions as uh, ItContactResponse as ui, DataIntegrationAuthorizeUrlResponse as ul, GetProfileAndTokenOptions as um, NewConnectApplicationSecretResponse as un, InvitationCreatedEvent as uo, AuthenticateWithSessionCookieOptions as up, MintUserDelegatedAgentTokenOptions as ur, PipesConnectedAccountReauthorizationNeededEventResponse as us, WidgetSessionTokenScopes as ut, RuntimeClientStats as uu, RateLimitExceededException as v, DsyncDeletedEvent as va, GetOrganizationConnectedAccountOptions as vc, SerializedRevokeSessionOptions as vd, EmailVerification as vf, CreateEnvironmentRoleOptions as vg, SerializedListRoleAssignmentsForResourceOptions as vh, SerializedInviteItContactOptions as vi, CreateOrganizationConnectedAccountOptions as vl, DefaultCustomAttributes as vm, ConnectApplicationResponse as vn, OrganizationCreatedEvent as vo, CreateUserResponseResponse as vp, AgentRegistrationKind as vr, RoleDeletedEventResponse as vs, CreateAuditLogSchemaOptions as vt, FlagPollResponse as vu, AuthenticationErrorCode as w, DsyncGroupUpdatedEvent as wa, DeleteDataIntegrationOptions as wc, RefreshSessionFailureReason as wd, CreateUserOptions as wf, ListDirectoryUsersOptions as wg, RoleAssignmentResponse as wh, WorkOSResponseError as wi, CustomProviderDefinition as wl, OrganizationRoleEvent as wm, CreateApplicationClientSecretOptions as wn, OrganizationDomainDeletedEvent as wo, SerializedAuthenticateWithRefreshTokenPublicClientOptions as wp, AgentInstance as wr, SessionRevokedEventResponse as ws, CreateAuditLogEventOptions as wt, LegacyEvaluationContext as wu, NoApiKeyProvidedException as x, DsyncGroupCreatedEventResponse as xa, DeleteUserConnectedAccountOptions as xc, SerializedResetPasswordOptions as xd, EmailVerificationResponse as xf, EnvironmentRoleList as xg, RoleAssignment as xh, SerializedCreateOrganizationOptions as xi, CreateDataIntegration as xl, DirectoryUserWithGroups as xm, ExternalAuthCompleteResponse as xn, OrganizationDeletedResponse as xo, Impersonator as xp, SerializedAgentRegistration as xr, SessionCreatedEvent as xs, SerializedCreateAuditLogSchemaOptions as xt, FeatureFlagResponse as xu, OauthException as y, DsyncDeletedEventResponse as ya, GetDataIntegrationOptions as yc, serializeRevokeSessionOptions as yd, EmailVerificationEvent as yf, SerializedCreateEnvironmentRoleOptions as yg, ListRoleAssignmentsOptions as yh, CreateOrganizationOptions as yi, OrganizationConnectedAccountState as yl, DirectoryUser as ym, ConnectApplicationRedirectUri as yn, OrganizationCreatedResponse as yo, User as yp, AgentRegistrationStatus as yr, RoleUpdatedEvent as ys, CreateAuditLogSchemaRequestOptions as yt, FlagTarget as yu, ObjectSummary as z, EventBase as za, DataIntegrationsListResponseDataConnectedAccountState as zc, Locale as zd, AuthenticationFactor as zf, HttpClientInterface as zg, DeleteAuthorizationResourceOptions as zh, AuthenticationEmailVerificationSucceededEventResponse as zi, ConnectedAccount as zl, ReplaceGroupRoleAssignmentsOptions as zm, UserConsentOptionResponse as zn, OrganizationRoleCreatedEventResponse as zo, SerializedAuthenticateWithRadarEmailChallengeOptions as zp, SerializedAgentBlueprint as zr, VaultDataReadEventResponse as zs, VerifyResponseResponse as zt, OrganizationDomainVerificationFailedResponse as zu };
11988
+ //# sourceMappingURL=factory-C86kGSc7.d.cts.map