@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.
- package/lib/{factory-Dqju-gCl.mjs → factory-BbGPjwhL.mjs} +495 -52
- package/lib/factory-BbGPjwhL.mjs.map +1 -0
- package/lib/{factory-CW0E3JEC.d.mts → factory-C86kGSc7.d.cts} +912 -108
- package/lib/{factory-BkKapXtb.cjs → factory-DJd6WXWm.cjs} +495 -52
- package/lib/factory-DJd6WXWm.cjs.map +1 -0
- package/lib/{factory-zrNVaAD9.d.cts → factory-G1JU2hJz.d.mts} +911 -109
- package/lib/index.cjs +157 -4
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +156 -78
- package/lib/index.d.mts +156 -78
- package/lib/index.mjs +137 -5
- package/lib/index.mjs.map +1 -1
- package/lib/index.worker.cjs +1 -1
- package/lib/index.worker.d.cts +1 -1
- package/lib/index.worker.d.mts +1 -1
- package/lib/index.worker.mjs +1 -1
- package/package.json +1 -1
- package/lib/factory-BkKapXtb.cjs.map +0 -1
- package/lib/factory-Dqju-gCl.mjs.map +0 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#endregion
|
|
2
1
|
//#region src/common/crypto/crypto-provider.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Interface encapsulating the various crypto computations used by the library,
|
|
@@ -3013,29 +3012,82 @@ interface SerializedUpdateGroupOptions {
|
|
|
3013
3012
|
description?: string | null;
|
|
3014
3013
|
}
|
|
3015
3014
|
//#endregion
|
|
3016
|
-
//#region src/pipes/interfaces/
|
|
3017
|
-
interface
|
|
3018
|
-
/** The
|
|
3019
|
-
|
|
3020
|
-
/** The
|
|
3015
|
+
//#region src/pipes/interfaces/api-key-installation.interface.d.ts
|
|
3016
|
+
interface ApiKeyInstallation {
|
|
3017
|
+
/** The API key secret to store for the tenant. */
|
|
3018
|
+
secret: string;
|
|
3019
|
+
/** The User identifier the API key is installed for. */
|
|
3020
|
+
userId: string;
|
|
3021
|
+
/** An Organization identifier to scope the installation to a specific organization. */
|
|
3022
|
+
organizationId?: string;
|
|
3023
|
+
}
|
|
3024
|
+
interface ApiKeyInstallationResponse {
|
|
3025
|
+
secret: string;
|
|
3026
|
+
user_id: string;
|
|
3027
|
+
organization_id?: string;
|
|
3028
|
+
}
|
|
3029
|
+
//#endregion
|
|
3030
|
+
//#region src/pipes/interfaces/data-integrations-get-data-integration-authorize-url-request-connection-owner.interface.d.ts
|
|
3031
|
+
declare const DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner: {
|
|
3032
|
+
readonly User: "user";
|
|
3033
|
+
readonly Organization: "organization";
|
|
3034
|
+
};
|
|
3035
|
+
type DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner = (typeof DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner)[keyof typeof DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner];
|
|
3036
|
+
//#endregion
|
|
3037
|
+
//#region src/pipes/interfaces/data-integrations-get-data-integration-authorize-url-request.interface.d.ts
|
|
3038
|
+
interface DataIntegrationsGetDataIntegrationAuthorizeUrlRequest {
|
|
3039
|
+
/** 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. */
|
|
3021
3040
|
userId: string;
|
|
3022
|
-
/** An organization ID to scope the authorization to a specific organization. */
|
|
3041
|
+
/** An organization ID to scope the authorization to a specific organization. Required when `connection_owner` is `organization`. */
|
|
3023
3042
|
organizationId?: string;
|
|
3043
|
+
/** 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`. */
|
|
3044
|
+
connectionOwner?: DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner;
|
|
3024
3045
|
/** The URL to redirect the user to after authorization. */
|
|
3025
3046
|
returnTo?: string;
|
|
3047
|
+
/** 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. */
|
|
3048
|
+
config?: Record<string, string>;
|
|
3049
|
+
}
|
|
3050
|
+
interface DataIntegrationsGetDataIntegrationAuthorizeUrlRequestResponse {
|
|
3051
|
+
user_id: string;
|
|
3052
|
+
organization_id?: string;
|
|
3053
|
+
connection_owner?: DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner;
|
|
3054
|
+
return_to?: string;
|
|
3055
|
+
config?: Record<string, string>;
|
|
3056
|
+
}
|
|
3057
|
+
//#endregion
|
|
3058
|
+
//#region src/pipes/interfaces/authorize-data-integration-options.interface.d.ts
|
|
3059
|
+
interface AuthorizeDataIntegrationOptions extends DataIntegrationsGetDataIntegrationAuthorizeUrlRequest {
|
|
3060
|
+
/** The slug identifier of the provider (e.g., `github`, `slack`, `notion`). */
|
|
3061
|
+
slug: string;
|
|
3026
3062
|
}
|
|
3027
3063
|
//#endregion
|
|
3028
3064
|
//#region src/pipes/interfaces/connected-account-auth-method.interface.d.ts
|
|
3029
3065
|
declare const ConnectedAccountAuthMethod: {
|
|
3030
3066
|
readonly OAuth: "oauth";
|
|
3031
3067
|
readonly ApiKey: "api_key";
|
|
3068
|
+
readonly ClientCredentials: "client_credentials";
|
|
3032
3069
|
};
|
|
3033
3070
|
type ConnectedAccountAuthMethod = (typeof ConnectedAccountAuthMethod)[keyof typeof ConnectedAccountAuthMethod];
|
|
3034
3071
|
//#endregion
|
|
3072
|
+
//#region src/pipes/interfaces/connected-account-connection-role.interface.d.ts
|
|
3073
|
+
declare const ConnectedAccountConnectionRole: {
|
|
3074
|
+
readonly Compatibility: "compatibility";
|
|
3075
|
+
readonly Standard: "standard";
|
|
3076
|
+
};
|
|
3077
|
+
type ConnectedAccountConnectionRole = (typeof ConnectedAccountConnectionRole)[keyof typeof ConnectedAccountConnectionRole];
|
|
3078
|
+
//#endregion
|
|
3079
|
+
//#region src/pipes/interfaces/connected-account-input-state.interface.d.ts
|
|
3080
|
+
declare const ConnectedAccountInputState: {
|
|
3081
|
+
readonly Connected: "connected";
|
|
3082
|
+
readonly NeedsReauthorization: "needs_reauthorization";
|
|
3083
|
+
};
|
|
3084
|
+
type ConnectedAccountInputState = (typeof ConnectedAccountInputState)[keyof typeof ConnectedAccountInputState];
|
|
3085
|
+
//#endregion
|
|
3035
3086
|
//#region src/pipes/interfaces/connected-account-state.interface.d.ts
|
|
3036
3087
|
declare const ConnectedAccountState: {
|
|
3037
3088
|
readonly Connected: "connected";
|
|
3038
3089
|
readonly NeedsReauthorization: "needs_reauthorization";
|
|
3090
|
+
readonly Disconnected: "disconnected";
|
|
3039
3091
|
};
|
|
3040
3092
|
type ConnectedAccountState = (typeof ConnectedAccountState)[keyof typeof ConnectedAccountState];
|
|
3041
3093
|
//#endregion
|
|
@@ -3045,16 +3097,28 @@ interface ConnectedAccount {
|
|
|
3045
3097
|
object: 'connected_account';
|
|
3046
3098
|
/** The unique identifier of the connected account. */
|
|
3047
3099
|
id: string;
|
|
3100
|
+
/** 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. */
|
|
3101
|
+
connectionRole?: ConnectedAccountConnectionRole;
|
|
3102
|
+
/** A best-effort identifier for the provider account this connection points at. It is correlation metadata, not the connection identifier or a selector. */
|
|
3103
|
+
accountIdentifier?: string | null;
|
|
3104
|
+
/** A mutable, non-unique display name for the provider account connection. */
|
|
3105
|
+
accountDisplayName?: string | null;
|
|
3048
3106
|
/** The [User](https://workos.com/docs/reference/authkit/user) identifier associated with this connection. */
|
|
3049
3107
|
userId: string | null;
|
|
3050
3108
|
/** The [Organization](https://workos.com/docs/reference/organization) identifier associated with this connection, or `null` if not scoped to an organization. */
|
|
3051
3109
|
organizationId: string | null;
|
|
3052
3110
|
/** The OAuth scopes granted for this connection. */
|
|
3053
3111
|
scopes: string[];
|
|
3054
|
-
/** The authentication method used for this connection (`oauth` or `
|
|
3112
|
+
/** The authentication method used for this connection (`oauth`, `api_key`, or `client_credentials`). Defaults to `oauth` if absent. */
|
|
3055
3113
|
authMethod?: ConnectedAccountAuthMethod;
|
|
3056
3114
|
/** The last four characters of the API key, or `null` for OAuth connections. */
|
|
3057
3115
|
apiKeyLast4?: string | null;
|
|
3116
|
+
/** The client ID supplied for this connection. Only present when `auth_method` is `client_credentials`. */
|
|
3117
|
+
clientId?: string | null;
|
|
3118
|
+
/** 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`. */
|
|
3119
|
+
clientSecretLast4?: string | null;
|
|
3120
|
+
/** 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. */
|
|
3121
|
+
config?: Record<string, string>;
|
|
3058
3122
|
/**
|
|
3059
3123
|
* The state of the connected account:
|
|
3060
3124
|
* - `connected`: The connection is active and tokens are valid.
|
|
@@ -3070,44 +3134,132 @@ interface ConnectedAccount {
|
|
|
3070
3134
|
interface ConnectedAccountResponse {
|
|
3071
3135
|
object: 'connected_account';
|
|
3072
3136
|
id: string;
|
|
3137
|
+
connection_role?: ConnectedAccountConnectionRole;
|
|
3138
|
+
account_identifier?: string | null;
|
|
3139
|
+
account_display_name?: string | null;
|
|
3073
3140
|
user_id: string | null;
|
|
3074
3141
|
organization_id: string | null;
|
|
3075
3142
|
scopes: string[];
|
|
3076
3143
|
auth_method?: ConnectedAccountAuthMethod;
|
|
3077
3144
|
api_key_last_4?: string | null;
|
|
3145
|
+
client_id?: string | null;
|
|
3146
|
+
client_secret_last_4?: string | null;
|
|
3147
|
+
config?: Record<string, string>;
|
|
3078
3148
|
state: ConnectedAccountState;
|
|
3079
3149
|
created_at: string;
|
|
3080
3150
|
updated_at: string;
|
|
3081
3151
|
}
|
|
3082
3152
|
//#endregion
|
|
3083
|
-
//#region src/pipes/interfaces/create-
|
|
3084
|
-
|
|
3153
|
+
//#region src/pipes/interfaces/data-integrations-create-api-key-connection-request-connection-owner.interface.d.ts
|
|
3154
|
+
declare const DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner: {
|
|
3155
|
+
readonly User: "user";
|
|
3156
|
+
readonly Organization: "organization";
|
|
3157
|
+
};
|
|
3158
|
+
type DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner = (typeof DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner)[keyof typeof DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner];
|
|
3159
|
+
//#endregion
|
|
3160
|
+
//#region src/pipes/interfaces/create-data-integration-api-key-options.interface.d.ts
|
|
3161
|
+
interface CreateDataIntegrationApiKeyOptions {
|
|
3162
|
+
/** The identifier of the integration. */
|
|
3163
|
+
slug: string;
|
|
3164
|
+
/** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
|
|
3165
|
+
userId: string;
|
|
3166
|
+
/** 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`. */
|
|
3167
|
+
organizationId?: string;
|
|
3168
|
+
/** 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. */
|
|
3169
|
+
connectionOwner?: DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner;
|
|
3170
|
+
/** The API key secret to store for this integration. */
|
|
3171
|
+
secret: string;
|
|
3172
|
+
/** 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`. */
|
|
3173
|
+
connectionIntent: 'add';
|
|
3174
|
+
}
|
|
3175
|
+
//#endregion
|
|
3176
|
+
//#region src/pipes/interfaces/create-data-integration-auth-methods.interface.d.ts
|
|
3177
|
+
declare const CreateDataIntegrationAuthMethods: {
|
|
3178
|
+
readonly OAuth: "oauth";
|
|
3179
|
+
readonly ApiKey: "api_key";
|
|
3180
|
+
readonly ClientCredentials: "client_credentials";
|
|
3181
|
+
};
|
|
3182
|
+
type CreateDataIntegrationAuthMethods = (typeof CreateDataIntegrationAuthMethods)[keyof typeof CreateDataIntegrationAuthMethods];
|
|
3183
|
+
//#endregion
|
|
3184
|
+
//#region src/pipes/interfaces/data-integrations-create-client-credentials-connection-request-connection-owner.interface.d.ts
|
|
3185
|
+
declare const DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner: {
|
|
3186
|
+
readonly User: "user";
|
|
3187
|
+
readonly Organization: "organization";
|
|
3188
|
+
};
|
|
3189
|
+
type DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner = (typeof DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner)[keyof typeof DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner];
|
|
3190
|
+
//#endregion
|
|
3191
|
+
//#region src/pipes/interfaces/create-data-integration-client-credential-options.interface.d.ts
|
|
3192
|
+
interface CreateDataIntegrationClientCredentialOptions {
|
|
3085
3193
|
/** The identifier of the integration. */
|
|
3086
3194
|
slug: string;
|
|
3087
3195
|
/** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
|
|
3088
3196
|
userId: string;
|
|
3089
|
-
/** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. */
|
|
3197
|
+
/** 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`. */
|
|
3198
|
+
organizationId?: string;
|
|
3199
|
+
/** 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. */
|
|
3200
|
+
connectionOwner?: DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner;
|
|
3201
|
+
/** The OAuth client ID to store for this integration. */
|
|
3202
|
+
clientId: string;
|
|
3203
|
+
/** The OAuth client secret to store for this integration. */
|
|
3204
|
+
clientSecret: string;
|
|
3205
|
+
/** Provider-specific configuration values collected for this installation, keyed by the provider's config field descriptors. */
|
|
3206
|
+
config?: Record<string, string>;
|
|
3207
|
+
/** 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`. */
|
|
3208
|
+
connectionIntent: 'add';
|
|
3209
|
+
}
|
|
3210
|
+
//#endregion
|
|
3211
|
+
//#region src/pipes/interfaces/data-integrations-vend-credentials-request-connection-owner.interface.d.ts
|
|
3212
|
+
declare const DataIntegrationsVendCredentialsRequestConnectionOwner: {
|
|
3213
|
+
readonly User: "user";
|
|
3214
|
+
readonly Organization: "organization";
|
|
3215
|
+
};
|
|
3216
|
+
type DataIntegrationsVendCredentialsRequestConnectionOwner = (typeof DataIntegrationsVendCredentialsRequestConnectionOwner)[keyof typeof DataIntegrationsVendCredentialsRequestConnectionOwner];
|
|
3217
|
+
//#endregion
|
|
3218
|
+
//#region src/pipes/interfaces/data-integrations-vend-credentials-request.interface.d.ts
|
|
3219
|
+
interface DataIntegrationsVendCredentialsRequest {
|
|
3220
|
+
/** 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. */
|
|
3221
|
+
userId: string;
|
|
3222
|
+
/** 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`. */
|
|
3090
3223
|
organizationId?: string;
|
|
3224
|
+
/** 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. */
|
|
3225
|
+
connectedAccountId?: string;
|
|
3226
|
+
/** 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`. */
|
|
3227
|
+
connectionOwner?: DataIntegrationsVendCredentialsRequestConnectionOwner;
|
|
3228
|
+
/** 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. */
|
|
3229
|
+
supportsMultipleConnections?: boolean;
|
|
3230
|
+
}
|
|
3231
|
+
interface DataIntegrationsVendCredentialsRequestResponse {
|
|
3232
|
+
user_id: string;
|
|
3233
|
+
organization_id?: string;
|
|
3234
|
+
connected_account_id?: string;
|
|
3235
|
+
connection_owner?: DataIntegrationsVendCredentialsRequestConnectionOwner;
|
|
3236
|
+
supports_multiple_connections?: boolean;
|
|
3237
|
+
}
|
|
3238
|
+
//#endregion
|
|
3239
|
+
//#region src/pipes/interfaces/create-data-integration-credential-options.interface.d.ts
|
|
3240
|
+
interface CreateDataIntegrationCredentialOptions extends DataIntegrationsVendCredentialsRequest {
|
|
3241
|
+
/** The identifier of the integration. */
|
|
3242
|
+
slug: string;
|
|
3091
3243
|
}
|
|
3092
3244
|
//#endregion
|
|
3093
|
-
//#region src/pipes/interfaces/data-integration-credentials-type.interface.d.ts
|
|
3094
|
-
declare const
|
|
3245
|
+
//#region src/pipes/interfaces/data-integration-credentials-input-type.interface.d.ts
|
|
3246
|
+
declare const DataIntegrationCredentialsInputType: {
|
|
3095
3247
|
readonly Custom: "custom";
|
|
3096
3248
|
readonly Organization: "organization";
|
|
3097
3249
|
};
|
|
3098
|
-
type
|
|
3250
|
+
type DataIntegrationCredentialsInputType = (typeof DataIntegrationCredentialsInputType)[keyof typeof DataIntegrationCredentialsInputType];
|
|
3099
3251
|
//#endregion
|
|
3100
|
-
//#region src/pipes/interfaces/data-integration-credentials-
|
|
3101
|
-
interface
|
|
3252
|
+
//#region src/pipes/interfaces/data-integration-credentials-input.interface.d.ts
|
|
3253
|
+
interface DataIntegrationCredentialsInput {
|
|
3102
3254
|
/** The credentials type. `custom` uses your own OAuth app credentials; `organization` has each organization supply its own credentials (configured per-organization). */
|
|
3103
|
-
type:
|
|
3255
|
+
type: DataIntegrationCredentialsInputType;
|
|
3104
3256
|
/** OAuth client ID for the provider app. Required when `type` is `custom`; omit for `organization`. */
|
|
3105
3257
|
clientId?: string;
|
|
3106
3258
|
/** OAuth client secret for the provider app. Required when `type` is `custom`; omit for `organization`. */
|
|
3107
3259
|
clientSecret?: string;
|
|
3108
3260
|
}
|
|
3109
|
-
interface
|
|
3110
|
-
type:
|
|
3261
|
+
interface DataIntegrationCredentialsInputResponse {
|
|
3262
|
+
type: DataIntegrationCredentialsInputType;
|
|
3111
3263
|
client_id?: string;
|
|
3112
3264
|
client_secret?: string;
|
|
3113
3265
|
}
|
|
@@ -3123,11 +3275,11 @@ type CustomProviderDefinitionAuthenticateVia = (typeof CustomProviderDefinitionA
|
|
|
3123
3275
|
interface CustomProviderDefinition {
|
|
3124
3276
|
/** A descriptive name for the custom provider. */
|
|
3125
3277
|
name: string;
|
|
3126
|
-
/** The provider's OAuth authorization endpoint. */
|
|
3127
|
-
authorizationUrl
|
|
3128
|
-
/** The provider's OAuth token endpoint. */
|
|
3129
|
-
tokenUrl
|
|
3130
|
-
/** The endpoint used to refresh tokens, if different from the token endpoint. */
|
|
3278
|
+
/** 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. */
|
|
3279
|
+
authorizationUrl?: string;
|
|
3280
|
+
/** 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. */
|
|
3281
|
+
tokenUrl?: string;
|
|
3282
|
+
/** The endpoint used to refresh tokens, if different from the token endpoint. Must be a static URL, like the other endpoints. */
|
|
3131
3283
|
refreshTokenUrl?: string | null;
|
|
3132
3284
|
/** Whether PKCE is used during the authorization code flow. Defaults to `true`. */
|
|
3133
3285
|
pkceEnabled?: boolean;
|
|
@@ -3146,8 +3298,8 @@ interface CustomProviderDefinition {
|
|
|
3146
3298
|
}
|
|
3147
3299
|
interface CustomProviderDefinitionResponse {
|
|
3148
3300
|
name: string;
|
|
3149
|
-
authorization_url
|
|
3150
|
-
token_url
|
|
3301
|
+
authorization_url?: string;
|
|
3302
|
+
token_url?: string;
|
|
3151
3303
|
refresh_token_url?: string | null;
|
|
3152
3304
|
pkce_enabled?: boolean;
|
|
3153
3305
|
request_scope_separator?: string;
|
|
@@ -3158,21 +3310,82 @@ interface CustomProviderDefinitionResponse {
|
|
|
3158
3310
|
authenticate_via?: CustomProviderDefinitionAuthenticateVia;
|
|
3159
3311
|
}
|
|
3160
3312
|
//#endregion
|
|
3161
|
-
//#region src/pipes/interfaces/create-data-integration-
|
|
3162
|
-
|
|
3313
|
+
//#region src/pipes/interfaces/create-data-integration-ownership.interface.d.ts
|
|
3314
|
+
declare const CreateDataIntegrationOwnership: {
|
|
3315
|
+
readonly User: "user";
|
|
3316
|
+
readonly Organization: "organization";
|
|
3317
|
+
};
|
|
3318
|
+
type CreateDataIntegrationOwnership = (typeof CreateDataIntegrationOwnership)[keyof typeof CreateDataIntegrationOwnership];
|
|
3319
|
+
//#endregion
|
|
3320
|
+
//#region src/pipes/interfaces/create-data-integration.interface.d.ts
|
|
3321
|
+
interface CreateDataIntegration {
|
|
3163
3322
|
/** 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. */
|
|
3164
3323
|
provider: string;
|
|
3324
|
+
/** 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`. */
|
|
3325
|
+
ownership?: CreateDataIntegrationOwnership;
|
|
3165
3326
|
/** An optional description of the Data Integration. */
|
|
3166
3327
|
description?: string | null;
|
|
3167
3328
|
/** Whether the Data Integration is enabled. Defaults to `false`. */
|
|
3168
3329
|
enabled?: boolean;
|
|
3169
3330
|
/** The OAuth scopes to request for the Data Integration. Defaults to the provider's configured scopes when omitted. */
|
|
3170
3331
|
scopes?: string[] | null;
|
|
3171
|
-
/**
|
|
3172
|
-
|
|
3332
|
+
/** 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. */
|
|
3333
|
+
authMethods?: CreateDataIntegrationAuthMethods[];
|
|
3334
|
+
/** Provider-specific config values (e.g. a Snowflake `account`), keyed by the config field. Only fields the built-in provider declares are accepted. */
|
|
3335
|
+
config?: Record<string, string>;
|
|
3336
|
+
/** The OAuth credentials to configure for the Data Integration. Required for OAuth integrations; omit when `auth_methods` is `["api_key"]`. */
|
|
3337
|
+
credentials?: DataIntegrationCredentialsInput;
|
|
3338
|
+
/** 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. */
|
|
3339
|
+
apiKey?: ApiKeyInstallation;
|
|
3173
3340
|
/** 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. */
|
|
3174
3341
|
customProvider?: CustomProviderDefinition;
|
|
3175
3342
|
}
|
|
3343
|
+
interface CreateDataIntegrationResponse {
|
|
3344
|
+
provider: string;
|
|
3345
|
+
ownership?: CreateDataIntegrationOwnership;
|
|
3346
|
+
description?: string | null;
|
|
3347
|
+
enabled?: boolean;
|
|
3348
|
+
scopes?: string[] | null;
|
|
3349
|
+
auth_methods?: CreateDataIntegrationAuthMethods[];
|
|
3350
|
+
config?: Record<string, string>;
|
|
3351
|
+
credentials?: DataIntegrationCredentialsInputResponse;
|
|
3352
|
+
api_key?: ApiKeyInstallationResponse;
|
|
3353
|
+
custom_provider?: CustomProviderDefinitionResponse;
|
|
3354
|
+
}
|
|
3355
|
+
//#endregion
|
|
3356
|
+
//#region src/pipes/interfaces/create-data-integration-options.interface.d.ts
|
|
3357
|
+
interface CreateDataIntegrationOptions extends CreateDataIntegration {
|
|
3358
|
+
provider: string;
|
|
3359
|
+
}
|
|
3360
|
+
//#endregion
|
|
3361
|
+
//#region src/pipes/interfaces/organization-connected-account-state.interface.d.ts
|
|
3362
|
+
declare const OrganizationConnectedAccountState: {
|
|
3363
|
+
readonly Connected: "connected";
|
|
3364
|
+
readonly NeedsReauthorization: "needs_reauthorization";
|
|
3365
|
+
};
|
|
3366
|
+
type OrganizationConnectedAccountState = (typeof OrganizationConnectedAccountState)[keyof typeof OrganizationConnectedAccountState];
|
|
3367
|
+
//#endregion
|
|
3368
|
+
//#region src/pipes/interfaces/create-organization-connected-account-options.interface.d.ts
|
|
3369
|
+
interface CreateOrganizationConnectedAccountOptions {
|
|
3370
|
+
/** An [Organization](https://workos.com/docs/reference/organization) identifier. */
|
|
3371
|
+
organizationId: string;
|
|
3372
|
+
/** The slug identifier of the provider (e.g., `github`, `slack`, `notion`). */
|
|
3373
|
+
slug: string;
|
|
3374
|
+
/** The OAuth access token for the connected account. */
|
|
3375
|
+
accessToken?: string;
|
|
3376
|
+
/** The OAuth refresh token for the connected account. */
|
|
3377
|
+
refreshToken?: string;
|
|
3378
|
+
/** The ISO-8601 timestamp when the access token expires. Required when `access_token` is provided for tokens that expire. */
|
|
3379
|
+
expiresAt?: Date;
|
|
3380
|
+
/** The OAuth scopes granted for this connection. */
|
|
3381
|
+
scopes?: string[];
|
|
3382
|
+
/** Explicitly set the state of the connected account. When omitted, the state is derived from the token combination provided. */
|
|
3383
|
+
state?: OrganizationConnectedAccountState;
|
|
3384
|
+
/** 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. */
|
|
3385
|
+
userId: string;
|
|
3386
|
+
/** 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. */
|
|
3387
|
+
connectionIntent?: 'add';
|
|
3388
|
+
}
|
|
3176
3389
|
//#endregion
|
|
3177
3390
|
//#region src/pipes/interfaces/create-user-connected-account-options.interface.d.ts
|
|
3178
3391
|
interface CreateUserConnectedAccountOptions {
|
|
@@ -3191,7 +3404,9 @@ interface CreateUserConnectedAccountOptions {
|
|
|
3191
3404
|
/** The OAuth scopes granted for this connection. */
|
|
3192
3405
|
scopes?: string[];
|
|
3193
3406
|
/** Explicitly set the state of the connected account. When omitted, the state is derived from the token combination provided. */
|
|
3194
|
-
state?:
|
|
3407
|
+
state?: ConnectedAccountInputState;
|
|
3408
|
+
/** 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. */
|
|
3409
|
+
connectionIntent?: 'add';
|
|
3195
3410
|
}
|
|
3196
3411
|
//#endregion
|
|
3197
3412
|
//#region src/pipes/interfaces/data-integration-access-token-response-access-token.interface.d.ts
|
|
@@ -3232,6 +3447,14 @@ type DataIntegrationAccessTokenResponseWire = {
|
|
|
3232
3447
|
error: 'needs_reauthorization' | 'not_installed';
|
|
3233
3448
|
};
|
|
3234
3449
|
//#endregion
|
|
3450
|
+
//#region src/pipes/interfaces/data-integration-auth-methods.interface.d.ts
|
|
3451
|
+
declare const DataIntegrationAuthMethods: {
|
|
3452
|
+
readonly OAuth: "oauth";
|
|
3453
|
+
readonly ApiKey: "api_key";
|
|
3454
|
+
readonly ClientCredentials: "client_credentials";
|
|
3455
|
+
};
|
|
3456
|
+
type DataIntegrationAuthMethods = (typeof DataIntegrationAuthMethods)[keyof typeof DataIntegrationAuthMethods];
|
|
3457
|
+
//#endregion
|
|
3235
3458
|
//#region src/pipes/interfaces/data-integration-authorize-url-response.interface.d.ts
|
|
3236
3459
|
interface DataIntegrationAuthorizeUrlResponse {
|
|
3237
3460
|
/** The OAuth authorization URL to redirect the user to. */
|
|
@@ -3264,30 +3487,69 @@ interface DataIntegrationCredentialResponse {
|
|
|
3264
3487
|
redacted_client_secret: string | null;
|
|
3265
3488
|
}
|
|
3266
3489
|
//#endregion
|
|
3267
|
-
//#region src/pipes/interfaces/data-integration-
|
|
3268
|
-
/**
|
|
3269
|
-
|
|
3270
|
-
|
|
3490
|
+
//#region src/pipes/interfaces/data-integration-vended-credential.interface.d.ts
|
|
3491
|
+
/**
|
|
3492
|
+
* A vended credential, discriminated by its authentication method.
|
|
3493
|
+
* `config` contains provider-declared, non-secret snapshot values with live
|
|
3494
|
+
* defaults. It is optional for compatibility with older API responses.
|
|
3495
|
+
*/
|
|
3496
|
+
type DataIntegrationVendedCredential = {
|
|
3271
3497
|
object: 'credential';
|
|
3272
|
-
/** The authentication method for this credential. Additional values may be added in the future; handle unknown values gracefully. */
|
|
3273
3498
|
authMethod: 'oauth';
|
|
3274
|
-
/** The OAuth access token. */
|
|
3275
3499
|
value: string;
|
|
3276
|
-
|
|
3500
|
+
config?: Record<string, string>;
|
|
3277
3501
|
expiresAt: string | null;
|
|
3278
|
-
/** The scopes granted to the access token. */
|
|
3279
3502
|
scopes: string[];
|
|
3280
|
-
/** If the integration has requested scopes that aren't present on the access token, they're listed here. */
|
|
3281
3503
|
missingScopes: string[];
|
|
3282
|
-
|
|
3283
|
-
|
|
3504
|
+
metadata?: undefined;
|
|
3505
|
+
} | {
|
|
3506
|
+
object: 'credential';
|
|
3507
|
+
authMethod: 'api_key';
|
|
3508
|
+
value: string;
|
|
3509
|
+
config?: Record<string, string>;
|
|
3510
|
+
expiresAt?: undefined;
|
|
3511
|
+
scopes?: undefined;
|
|
3512
|
+
missingScopes?: undefined;
|
|
3513
|
+
metadata?: undefined;
|
|
3514
|
+
} | {
|
|
3515
|
+
object: 'credential';
|
|
3516
|
+
authMethod: 'client_credentials';
|
|
3517
|
+
value: string;
|
|
3518
|
+
config?: Record<string, string>;
|
|
3519
|
+
expiresAt: string | null;
|
|
3520
|
+
scopes: string[];
|
|
3521
|
+
missingScopes: string[];
|
|
3522
|
+
/** Non-sensitive provider token response fields, such as an instance URL. */
|
|
3523
|
+
metadata: Record<string, unknown>;
|
|
3524
|
+
};
|
|
3525
|
+
type DataIntegrationVendedCredentialResponse = {
|
|
3284
3526
|
object: 'credential';
|
|
3285
3527
|
auth_method: 'oauth';
|
|
3286
3528
|
value: string;
|
|
3529
|
+
config?: Record<string, string>;
|
|
3287
3530
|
expires_at: string | null;
|
|
3288
3531
|
scopes: string[];
|
|
3289
3532
|
missing_scopes: string[];
|
|
3290
|
-
|
|
3533
|
+
metadata?: undefined;
|
|
3534
|
+
} | {
|
|
3535
|
+
object: 'credential';
|
|
3536
|
+
auth_method: 'api_key';
|
|
3537
|
+
value: string;
|
|
3538
|
+
config?: Record<string, string>;
|
|
3539
|
+
expires_at?: undefined;
|
|
3540
|
+
scopes?: undefined;
|
|
3541
|
+
missing_scopes?: undefined;
|
|
3542
|
+
metadata?: undefined;
|
|
3543
|
+
} | {
|
|
3544
|
+
object: 'credential';
|
|
3545
|
+
auth_method: 'client_credentials';
|
|
3546
|
+
value: string;
|
|
3547
|
+
config?: Record<string, string>;
|
|
3548
|
+
expires_at: string | null;
|
|
3549
|
+
scopes: string[];
|
|
3550
|
+
missing_scopes: string[];
|
|
3551
|
+
metadata: Record<string, unknown>;
|
|
3552
|
+
};
|
|
3291
3553
|
//#endregion
|
|
3292
3554
|
//#region src/pipes/interfaces/data-integration-credentials-response-error.interface.d.ts
|
|
3293
3555
|
declare const DataIntegrationCredentialsResponseError: {
|
|
@@ -3296,6 +3558,26 @@ declare const DataIntegrationCredentialsResponseError: {
|
|
|
3296
3558
|
};
|
|
3297
3559
|
type DataIntegrationCredentialsResponseError = (typeof DataIntegrationCredentialsResponseError)[keyof typeof DataIntegrationCredentialsResponseError];
|
|
3298
3560
|
//#endregion
|
|
3561
|
+
//#region src/pipes/interfaces/data-integration-credentials-response.interface.d.ts
|
|
3562
|
+
type DataIntegrationCredentialsResponse = {
|
|
3563
|
+
active: true;
|
|
3564
|
+
credential: DataIntegrationVendedCredential;
|
|
3565
|
+
error?: undefined;
|
|
3566
|
+
} | {
|
|
3567
|
+
active: false;
|
|
3568
|
+
error: DataIntegrationCredentialsResponseError;
|
|
3569
|
+
credential?: undefined;
|
|
3570
|
+
};
|
|
3571
|
+
type DataIntegrationCredentialsResponseWire = {
|
|
3572
|
+
active: true;
|
|
3573
|
+
credential: DataIntegrationVendedCredentialResponse;
|
|
3574
|
+
error?: undefined;
|
|
3575
|
+
} | {
|
|
3576
|
+
active: false;
|
|
3577
|
+
error: DataIntegrationCredentialsResponseError;
|
|
3578
|
+
credential?: undefined;
|
|
3579
|
+
};
|
|
3580
|
+
//#endregion
|
|
3299
3581
|
//#region src/pipes/interfaces/data-integration-custom-provider-authenticate-via.interface.d.ts
|
|
3300
3582
|
declare const DataIntegrationCustomProviderAuthenticateVia: {
|
|
3301
3583
|
readonly RequestBody: "request_body";
|
|
@@ -3342,6 +3624,47 @@ interface DataIntegrationCustomProviderResponse {
|
|
|
3342
3624
|
authenticate_via: DataIntegrationCustomProviderAuthenticateVia;
|
|
3343
3625
|
}
|
|
3344
3626
|
//#endregion
|
|
3627
|
+
//#region src/pipes/interfaces/data-integration-installation-connection-role.interface.d.ts
|
|
3628
|
+
declare const DataIntegrationInstallationConnectionRole: {
|
|
3629
|
+
readonly Compatibility: "compatibility";
|
|
3630
|
+
readonly Standard: "standard";
|
|
3631
|
+
};
|
|
3632
|
+
type DataIntegrationInstallationConnectionRole = (typeof DataIntegrationInstallationConnectionRole)[keyof typeof DataIntegrationInstallationConnectionRole];
|
|
3633
|
+
//#endregion
|
|
3634
|
+
//#region src/pipes/interfaces/data-integration-installation.interface.d.ts
|
|
3635
|
+
interface DataIntegrationInstallation {
|
|
3636
|
+
/** Unique identifier of the installation. */
|
|
3637
|
+
id: string;
|
|
3638
|
+
/** Whether this is the compatibility connection visible to undeclared clients or a standard connection for plural-aware clients. */
|
|
3639
|
+
connectionRole: DataIntegrationInstallationConnectionRole;
|
|
3640
|
+
/** A best-effort provider account identifier used for correlation, not connection selection. */
|
|
3641
|
+
accountIdentifier: string | null;
|
|
3642
|
+
/** A mutable, non-unique display name for this connection. */
|
|
3643
|
+
accountDisplayName: string | null;
|
|
3644
|
+
/** The User the API key was installed for. Null on an `organization`-owned integration, whose installations belong to the organization. */
|
|
3645
|
+
userId: string | null;
|
|
3646
|
+
/** The Organization the installation is scoped to (or owned by, on an `organization`-owned integration), or null when unscoped. */
|
|
3647
|
+
organizationId: string | null;
|
|
3648
|
+
/** The last four characters of the stored API key. The full key is never returned. */
|
|
3649
|
+
apiKeyLast4: string | null;
|
|
3650
|
+
}
|
|
3651
|
+
interface DataIntegrationInstallationResponse {
|
|
3652
|
+
id: string;
|
|
3653
|
+
connection_role: DataIntegrationInstallationConnectionRole;
|
|
3654
|
+
account_identifier: string | null;
|
|
3655
|
+
account_display_name: string | null;
|
|
3656
|
+
user_id: string | null;
|
|
3657
|
+
organization_id: string | null;
|
|
3658
|
+
api_key_last_4: string | null;
|
|
3659
|
+
}
|
|
3660
|
+
//#endregion
|
|
3661
|
+
//#region src/pipes/interfaces/data-integration-ownership.interface.d.ts
|
|
3662
|
+
declare const DataIntegrationOwnership: {
|
|
3663
|
+
readonly User: "user";
|
|
3664
|
+
readonly Organization: "organization";
|
|
3665
|
+
};
|
|
3666
|
+
type DataIntegrationOwnership = (typeof DataIntegrationOwnership)[keyof typeof DataIntegrationOwnership];
|
|
3667
|
+
//#endregion
|
|
3345
3668
|
//#region src/pipes/interfaces/data-integration-state.interface.d.ts
|
|
3346
3669
|
declare const DataIntegrationState: {
|
|
3347
3670
|
readonly Valid: "valid";
|
|
@@ -3360,6 +3683,8 @@ interface DataIntegration {
|
|
|
3360
3683
|
slug: string;
|
|
3361
3684
|
/** The integration type derived from the provider. */
|
|
3362
3685
|
integrationType: string;
|
|
3686
|
+
/** Who owns the Data Integration: `user` when users connect their own accounts, `organization` when organizations connect. Fixed at creation. */
|
|
3687
|
+
ownership?: DataIntegrationOwnership;
|
|
3363
3688
|
/** An optional description of the Data Integration. */
|
|
3364
3689
|
description: string | null;
|
|
3365
3690
|
/** Whether the Data Integration is enabled. */
|
|
@@ -3368,10 +3693,16 @@ interface DataIntegration {
|
|
|
3368
3693
|
state: DataIntegrationState;
|
|
3369
3694
|
/** The OAuth scopes configured for the Data Integration. `null` when the provider's configured scopes are used. */
|
|
3370
3695
|
scopes: string[] | null;
|
|
3371
|
-
/** The OAuth redirect URI to register with the provider when configuring the custom application. */
|
|
3696
|
+
/** 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. */
|
|
3372
3697
|
redirectUri: string;
|
|
3373
|
-
/**
|
|
3374
|
-
|
|
3698
|
+
/** How accounts authenticate with the provider for this Data Integration. */
|
|
3699
|
+
authMethods?: DataIntegrationAuthMethods[];
|
|
3700
|
+
/** 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). */
|
|
3701
|
+
credentials: DataIntegrationCredential | null;
|
|
3702
|
+
/** The tenant installation created when an API key was supplied at creation time; `null` otherwise. Not populated on list/get responses. */
|
|
3703
|
+
installation?: DataIntegrationInstallation | null;
|
|
3704
|
+
/** 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. */
|
|
3705
|
+
config?: Record<string, string>;
|
|
3375
3706
|
/** The OAuth definition when this is a custom provider; `null` for built-in providers. */
|
|
3376
3707
|
customProvider: DataIntegrationCustomProvider | null;
|
|
3377
3708
|
/** An ISO 8601 timestamp. */
|
|
@@ -3384,21 +3715,54 @@ interface DataIntegrationResponse {
|
|
|
3384
3715
|
id: string;
|
|
3385
3716
|
slug: string;
|
|
3386
3717
|
integration_type: string;
|
|
3718
|
+
ownership?: DataIntegrationOwnership;
|
|
3387
3719
|
description: string | null;
|
|
3388
3720
|
enabled: boolean;
|
|
3389
3721
|
state: DataIntegrationState;
|
|
3390
3722
|
scopes: string[] | null;
|
|
3391
3723
|
redirect_uri: string;
|
|
3392
|
-
|
|
3724
|
+
auth_methods?: DataIntegrationAuthMethods[];
|
|
3725
|
+
credentials: DataIntegrationCredentialResponse | null;
|
|
3726
|
+
installation?: DataIntegrationInstallationResponse | null;
|
|
3727
|
+
config?: Record<string, string>;
|
|
3393
3728
|
custom_provider: DataIntegrationCustomProviderResponse | null;
|
|
3394
3729
|
created_at: string;
|
|
3395
3730
|
updated_at: string;
|
|
3396
3731
|
}
|
|
3397
3732
|
//#endregion
|
|
3733
|
+
//#region src/pipes/interfaces/data-integrations-get-user-token-request-connection-owner.interface.d.ts
|
|
3734
|
+
declare const DataIntegrationsGetUserTokenRequestConnectionOwner: {
|
|
3735
|
+
readonly User: "user";
|
|
3736
|
+
readonly Organization: "organization";
|
|
3737
|
+
};
|
|
3738
|
+
type DataIntegrationsGetUserTokenRequestConnectionOwner = (typeof DataIntegrationsGetUserTokenRequestConnectionOwner)[keyof typeof DataIntegrationsGetUserTokenRequestConnectionOwner];
|
|
3739
|
+
//#endregion
|
|
3740
|
+
//#region src/pipes/interfaces/data-integrations-get-user-token-request.interface.d.ts
|
|
3741
|
+
interface DataIntegrationsGetUserTokenRequest {
|
|
3742
|
+
/** 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. */
|
|
3743
|
+
userId: string;
|
|
3744
|
+
/** 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`. */
|
|
3745
|
+
organizationId?: string | null;
|
|
3746
|
+
/** 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. */
|
|
3747
|
+
connectedAccountId?: string;
|
|
3748
|
+
/** 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`. */
|
|
3749
|
+
connectionOwner?: DataIntegrationsGetUserTokenRequestConnectionOwner;
|
|
3750
|
+
/** 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. */
|
|
3751
|
+
supportsMultipleConnections?: boolean;
|
|
3752
|
+
}
|
|
3753
|
+
interface DataIntegrationsGetUserTokenRequestResponse {
|
|
3754
|
+
user_id: string;
|
|
3755
|
+
organization_id?: string | null;
|
|
3756
|
+
connected_account_id?: string;
|
|
3757
|
+
connection_owner?: DataIntegrationsGetUserTokenRequestConnectionOwner;
|
|
3758
|
+
supports_multiple_connections?: boolean;
|
|
3759
|
+
}
|
|
3760
|
+
//#endregion
|
|
3398
3761
|
//#region src/pipes/interfaces/data-integrations-list-response-data-auth-methods.interface.d.ts
|
|
3399
3762
|
declare const DataIntegrationsListResponseDataAuthMethods: {
|
|
3400
3763
|
readonly OAuth: "oauth";
|
|
3401
3764
|
readonly ApiKey: "api_key";
|
|
3765
|
+
readonly ClientCredentials: "client_credentials";
|
|
3402
3766
|
};
|
|
3403
3767
|
type DataIntegrationsListResponseDataAuthMethods = (typeof DataIntegrationsListResponseDataAuthMethods)[keyof typeof DataIntegrationsListResponseDataAuthMethods];
|
|
3404
3768
|
//#endregion
|
|
@@ -3406,9 +3770,17 @@ type DataIntegrationsListResponseDataAuthMethods = (typeof DataIntegrationsListR
|
|
|
3406
3770
|
declare const DataIntegrationsListResponseDataConnectedAccountAuthMethod: {
|
|
3407
3771
|
readonly OAuth: "oauth";
|
|
3408
3772
|
readonly ApiKey: "api_key";
|
|
3773
|
+
readonly ClientCredentials: "client_credentials";
|
|
3409
3774
|
};
|
|
3410
3775
|
type DataIntegrationsListResponseDataConnectedAccountAuthMethod = (typeof DataIntegrationsListResponseDataConnectedAccountAuthMethod)[keyof typeof DataIntegrationsListResponseDataConnectedAccountAuthMethod];
|
|
3411
3776
|
//#endregion
|
|
3777
|
+
//#region src/pipes/interfaces/data-integrations-list-response-data-connected-account-connection-role.interface.d.ts
|
|
3778
|
+
declare const DataIntegrationsListResponseDataConnectedAccountConnectionRole: {
|
|
3779
|
+
readonly Compatibility: "compatibility";
|
|
3780
|
+
readonly Standard: "standard";
|
|
3781
|
+
};
|
|
3782
|
+
type DataIntegrationsListResponseDataConnectedAccountConnectionRole = (typeof DataIntegrationsListResponseDataConnectedAccountConnectionRole)[keyof typeof DataIntegrationsListResponseDataConnectedAccountConnectionRole];
|
|
3783
|
+
//#endregion
|
|
3412
3784
|
//#region src/pipes/interfaces/data-integrations-list-response-data-connected-account-state.interface.d.ts
|
|
3413
3785
|
declare const DataIntegrationsListResponseDataConnectedAccountState: {
|
|
3414
3786
|
readonly Connected: "connected";
|
|
@@ -3423,16 +3795,28 @@ interface DataIntegrationsListResponseDataConnectedAccount {
|
|
|
3423
3795
|
object: 'connected_account';
|
|
3424
3796
|
/** The unique identifier of the connected account. */
|
|
3425
3797
|
id: string;
|
|
3798
|
+
/** 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. */
|
|
3799
|
+
connectionRole?: DataIntegrationsListResponseDataConnectedAccountConnectionRole;
|
|
3800
|
+
/** A best-effort identifier for the provider account this connection points at. It is correlation metadata, not the connection identifier or a selector. */
|
|
3801
|
+
accountIdentifier?: string | null;
|
|
3802
|
+
/** A mutable, non-unique display name for the provider account connection. */
|
|
3803
|
+
accountDisplayName?: string | null;
|
|
3426
3804
|
/** The [User](https://workos.com/docs/reference/authkit/user) identifier associated with this connection. */
|
|
3427
3805
|
userId: string | null;
|
|
3428
3806
|
/** The [Organization](https://workos.com/docs/reference/organization) identifier associated with this connection, or `null` if not scoped to an organization. */
|
|
3429
3807
|
organizationId: string | null;
|
|
3430
3808
|
/** The OAuth scopes granted for this connection. */
|
|
3431
3809
|
scopes: string[];
|
|
3432
|
-
/** The authentication method used for this connection (`oauth` or `
|
|
3810
|
+
/** The authentication method used for this connection (`oauth`, `api_key`, or `client_credentials`). Defaults to `oauth` if absent. */
|
|
3433
3811
|
authMethod?: DataIntegrationsListResponseDataConnectedAccountAuthMethod;
|
|
3434
3812
|
/** The last four characters of the API key, or `null` for OAuth connections. */
|
|
3435
3813
|
apiKeyLast4?: string | null;
|
|
3814
|
+
/** The client ID supplied for this connection. Only present when `auth_method` is `client_credentials`. */
|
|
3815
|
+
clientId?: string | null;
|
|
3816
|
+
/** 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`. */
|
|
3817
|
+
clientSecretLast4?: string | null;
|
|
3818
|
+
/** 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. */
|
|
3819
|
+
config?: Record<string, string>;
|
|
3436
3820
|
/**
|
|
3437
3821
|
* The state of the connected account:
|
|
3438
3822
|
* - `connected`: The connection is active and tokens are valid.
|
|
@@ -3453,17 +3837,30 @@ interface DataIntegrationsListResponseDataConnectedAccount {
|
|
|
3453
3837
|
interface DataIntegrationsListResponseDataConnectedAccountResponse {
|
|
3454
3838
|
object: 'connected_account';
|
|
3455
3839
|
id: string;
|
|
3840
|
+
connection_role?: DataIntegrationsListResponseDataConnectedAccountConnectionRole;
|
|
3841
|
+
account_identifier?: string | null;
|
|
3842
|
+
account_display_name?: string | null;
|
|
3456
3843
|
user_id: string | null;
|
|
3457
3844
|
organization_id: string | null;
|
|
3458
3845
|
scopes: string[];
|
|
3459
3846
|
auth_method?: DataIntegrationsListResponseDataConnectedAccountAuthMethod;
|
|
3460
3847
|
api_key_last_4?: string | null;
|
|
3848
|
+
client_id?: string | null;
|
|
3849
|
+
client_secret_last_4?: string | null;
|
|
3850
|
+
config?: Record<string, string>;
|
|
3461
3851
|
state: DataIntegrationsListResponseDataConnectedAccountState;
|
|
3462
3852
|
created_at: string;
|
|
3463
3853
|
updated_at: string;
|
|
3464
3854
|
userland_user_id: string | null;
|
|
3465
3855
|
}
|
|
3466
3856
|
//#endregion
|
|
3857
|
+
//#region src/pipes/interfaces/data-integrations-list-response-data-connection-owner.interface.d.ts
|
|
3858
|
+
declare const DataIntegrationsListResponseDataConnectionOwner: {
|
|
3859
|
+
readonly User: "user";
|
|
3860
|
+
readonly Organization: "organization";
|
|
3861
|
+
};
|
|
3862
|
+
type DataIntegrationsListResponseDataConnectionOwner = (typeof DataIntegrationsListResponseDataConnectionOwner)[keyof typeof DataIntegrationsListResponseDataConnectionOwner];
|
|
3863
|
+
//#endregion
|
|
3467
3864
|
//#region src/pipes/interfaces/data-integrations-list-response-data-ownership.interface.d.ts
|
|
3468
3865
|
declare const DataIntegrationsListResponseDataOwnership: {
|
|
3469
3866
|
readonly UserlandUser: "userland_user";
|
|
@@ -3489,16 +3886,23 @@ interface DataIntegrationsListResponseData {
|
|
|
3489
3886
|
credentialsType: string;
|
|
3490
3887
|
/** The OAuth scopes configured for this provider, or `null` if none are configured. */
|
|
3491
3888
|
scopes: string[] | null;
|
|
3492
|
-
/** The authentication methods supported by this provider (`oauth`, `api_key`, or
|
|
3889
|
+
/** The authentication methods supported by this provider (`oauth`, `api_key`, `client_credentials`, or a combination). Defaults to `["oauth"]` if absent. */
|
|
3493
3890
|
authMethods?: DataIntegrationsListResponseDataAuthMethods[];
|
|
3494
|
-
/**
|
|
3891
|
+
/** 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. */
|
|
3892
|
+
connectionOwner?: DataIntegrationsListResponseDataConnectionOwner;
|
|
3893
|
+
/**
|
|
3894
|
+
* Use `connection_owner` instead. Legacy spelling of the same value: `userland_user` corresponds to `connection_owner: "user"` and `organization` to `connection_owner: "organization"`.
|
|
3895
|
+
* @deprecated
|
|
3896
|
+
*/
|
|
3495
3897
|
ownership: DataIntegrationsListResponseDataOwnership;
|
|
3496
3898
|
/** The timestamp when the provider was created. */
|
|
3497
3899
|
createdAt: string;
|
|
3498
3900
|
/** The timestamp when the provider was last updated. */
|
|
3499
3901
|
updatedAt: string;
|
|
3500
|
-
/** The user's [connected account](https://workos.com/docs/reference/pipes/connected-account) for this provider, or `null`
|
|
3902
|
+
/** 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. */
|
|
3501
3903
|
connectedAccount: DataIntegrationsListResponseDataConnectedAccount | null;
|
|
3904
|
+
/** 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`. */
|
|
3905
|
+
connectedAccounts?: DataIntegrationsListResponseDataConnectedAccount[];
|
|
3502
3906
|
}
|
|
3503
3907
|
interface DataIntegrationsListResponseDataResponse {
|
|
3504
3908
|
object: 'data_provider';
|
|
@@ -3510,17 +3914,19 @@ interface DataIntegrationsListResponseDataResponse {
|
|
|
3510
3914
|
credentials_type: string;
|
|
3511
3915
|
scopes: string[] | null;
|
|
3512
3916
|
auth_methods?: DataIntegrationsListResponseDataAuthMethods[];
|
|
3917
|
+
connection_owner?: DataIntegrationsListResponseDataConnectionOwner;
|
|
3513
3918
|
ownership: DataIntegrationsListResponseDataOwnership;
|
|
3514
3919
|
created_at: string;
|
|
3515
3920
|
updated_at: string;
|
|
3516
3921
|
connected_account: DataIntegrationsListResponseDataConnectedAccountResponse | null;
|
|
3922
|
+
connected_accounts?: DataIntegrationsListResponseDataConnectedAccountResponse[];
|
|
3517
3923
|
}
|
|
3518
3924
|
//#endregion
|
|
3519
3925
|
//#region src/pipes/interfaces/data-integrations-list-response.interface.d.ts
|
|
3520
3926
|
interface DataIntegrationsListResponse {
|
|
3521
3927
|
/** Indicates this is a list response. */
|
|
3522
3928
|
object: 'list';
|
|
3523
|
-
/** A list of [providers](https://workos.com/docs/reference/pipes/provider), each including
|
|
3929
|
+
/** A list of [providers](https://workos.com/docs/reference/pipes/provider), each including the legacy `connected_account` field and the additive `connected_accounts` collection. */
|
|
3524
3930
|
data: DataIntegrationsListResponseData[];
|
|
3525
3931
|
}
|
|
3526
3932
|
interface DataIntegrationsListResponseWire {
|
|
@@ -3528,12 +3934,98 @@ interface DataIntegrationsListResponseWire {
|
|
|
3528
3934
|
data: DataIntegrationsListResponseDataResponse[];
|
|
3529
3935
|
}
|
|
3530
3936
|
//#endregion
|
|
3937
|
+
//#region src/pipes/interfaces/data-integrations-upsert-api-key-request-connection-owner.interface.d.ts
|
|
3938
|
+
declare const DataIntegrationsUpsertApiKeyRequestConnectionOwner: {
|
|
3939
|
+
readonly User: "user";
|
|
3940
|
+
readonly Organization: "organization";
|
|
3941
|
+
};
|
|
3942
|
+
type DataIntegrationsUpsertApiKeyRequestConnectionOwner = (typeof DataIntegrationsUpsertApiKeyRequestConnectionOwner)[keyof typeof DataIntegrationsUpsertApiKeyRequestConnectionOwner];
|
|
3943
|
+
//#endregion
|
|
3944
|
+
//#region src/pipes/interfaces/data-integrations-upsert-api-key-request.interface.d.ts
|
|
3945
|
+
interface DataIntegrationsUpsertApiKeyRequest {
|
|
3946
|
+
/** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
|
|
3947
|
+
userId: string;
|
|
3948
|
+
/** 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`. */
|
|
3949
|
+
organizationId?: string;
|
|
3950
|
+
/** A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to rotate a specific existing connection. */
|
|
3951
|
+
connectedAccountId?: string;
|
|
3952
|
+
/** Reauthorize the named connected account. Requires `connectedAccountId`; omit both to upsert the compatibility connection. Use POST to add a connection. */
|
|
3953
|
+
connectionIntent?: 'reauthorize';
|
|
3954
|
+
/** 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. */
|
|
3955
|
+
connectionOwner?: DataIntegrationsUpsertApiKeyRequestConnectionOwner;
|
|
3956
|
+
/** The API key secret to store for this integration. */
|
|
3957
|
+
secret: string;
|
|
3958
|
+
}
|
|
3959
|
+
interface DataIntegrationsUpsertApiKeyRequestResponse {
|
|
3960
|
+
user_id: string;
|
|
3961
|
+
organization_id?: string;
|
|
3962
|
+
connected_account_id?: string;
|
|
3963
|
+
connection_intent?: 'reauthorize';
|
|
3964
|
+
connection_owner?: DataIntegrationsUpsertApiKeyRequestConnectionOwner;
|
|
3965
|
+
secret: string;
|
|
3966
|
+
}
|
|
3967
|
+
//#endregion
|
|
3968
|
+
//#region src/pipes/interfaces/data-integrations-upsert-client-credentials-request-connection-owner.interface.d.ts
|
|
3969
|
+
declare const DataIntegrationsUpsertClientCredentialsRequestConnectionOwner: {
|
|
3970
|
+
readonly User: "user";
|
|
3971
|
+
readonly Organization: "organization";
|
|
3972
|
+
};
|
|
3973
|
+
type DataIntegrationsUpsertClientCredentialsRequestConnectionOwner = (typeof DataIntegrationsUpsertClientCredentialsRequestConnectionOwner)[keyof typeof DataIntegrationsUpsertClientCredentialsRequestConnectionOwner];
|
|
3974
|
+
//#endregion
|
|
3975
|
+
//#region src/pipes/interfaces/data-integrations-upsert-client-credentials-request.interface.d.ts
|
|
3976
|
+
interface DataIntegrationsUpsertClientCredentialsRequest {
|
|
3977
|
+
/** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
|
|
3978
|
+
userId: string;
|
|
3979
|
+
/** 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`. */
|
|
3980
|
+
organizationId?: string;
|
|
3981
|
+
/** A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to rotate a specific existing connection. */
|
|
3982
|
+
connectedAccountId?: string;
|
|
3983
|
+
/** Reauthorize the named connected account. Requires `connectedAccountId`; omit both to upsert the compatibility connection. Use POST to add a connection. */
|
|
3984
|
+
connectionIntent?: 'reauthorize';
|
|
3985
|
+
/** 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. */
|
|
3986
|
+
connectionOwner?: DataIntegrationsUpsertClientCredentialsRequestConnectionOwner;
|
|
3987
|
+
/** The OAuth client ID to store for this integration. */
|
|
3988
|
+
clientId: string;
|
|
3989
|
+
/** The OAuth client secret to store for this integration. */
|
|
3990
|
+
clientSecret: string;
|
|
3991
|
+
/** Provider-specific configuration values collected for this installation, keyed by the provider's config field descriptors. */
|
|
3992
|
+
config?: Record<string, string>;
|
|
3993
|
+
}
|
|
3994
|
+
interface DataIntegrationsUpsertClientCredentialsRequestResponse {
|
|
3995
|
+
user_id: string;
|
|
3996
|
+
organization_id?: string;
|
|
3997
|
+
connected_account_id?: string;
|
|
3998
|
+
connection_intent?: 'reauthorize';
|
|
3999
|
+
connection_owner?: DataIntegrationsUpsertClientCredentialsRequestConnectionOwner;
|
|
4000
|
+
client_id: string;
|
|
4001
|
+
client_secret: string;
|
|
4002
|
+
config?: Record<string, string>;
|
|
4003
|
+
}
|
|
4004
|
+
//#endregion
|
|
3531
4005
|
//#region src/pipes/interfaces/delete-data-integration-options.interface.d.ts
|
|
3532
4006
|
interface DeleteDataIntegrationOptions {
|
|
3533
4007
|
/** The slug identifier of the data integration. */
|
|
3534
4008
|
slug: string;
|
|
3535
4009
|
}
|
|
3536
4010
|
//#endregion
|
|
4011
|
+
//#region src/pipes/interfaces/delete-organization-connected-account-options.interface.d.ts
|
|
4012
|
+
interface DeleteOrganizationConnectedAccountOptions {
|
|
4013
|
+
/** An [Organization](https://workos.com/docs/reference/organization) identifier. */
|
|
4014
|
+
organizationId: string;
|
|
4015
|
+
/** The slug identifier of the provider (e.g., `github`, `slack`, `notion`). */
|
|
4016
|
+
slug: string;
|
|
4017
|
+
/** Set to `true` to use the plural connection contract. When omitted or `false`, only the compatibility connection is considered. */
|
|
4018
|
+
supportsMultipleConnections?: boolean;
|
|
4019
|
+
/** A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to select the connection to delete. */
|
|
4020
|
+
connectedAccountId?: string;
|
|
4021
|
+
}
|
|
4022
|
+
//#endregion
|
|
4023
|
+
//#region src/pipes/interfaces/delete-organization-data-integration-options.interface.d.ts
|
|
4024
|
+
interface DeleteOrganizationDataIntegrationOptions {
|
|
4025
|
+
/** The slug identifier of the data integration. */
|
|
4026
|
+
slug: string;
|
|
4027
|
+
}
|
|
4028
|
+
//#endregion
|
|
3537
4029
|
//#region src/pipes/interfaces/delete-user-connected-account-options.interface.d.ts
|
|
3538
4030
|
interface DeleteUserConnectedAccountOptions {
|
|
3539
4031
|
/** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
|
|
@@ -3542,16 +4034,16 @@ interface DeleteUserConnectedAccountOptions {
|
|
|
3542
4034
|
slug: string;
|
|
3543
4035
|
/** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter if the connection is scoped to an organization. */
|
|
3544
4036
|
organizationId?: string;
|
|
4037
|
+
/** Set to `true` to use the plural connection contract. Defaults to the compatibility connection. */
|
|
4038
|
+
supportsMultipleConnections?: boolean;
|
|
4039
|
+
/** Select the connected account to delete. */
|
|
4040
|
+
connectedAccountId?: string;
|
|
3545
4041
|
}
|
|
3546
4042
|
//#endregion
|
|
3547
4043
|
//#region src/pipes/interfaces/get-access-token-options.interface.d.ts
|
|
3548
|
-
interface GetAccessTokenOptions {
|
|
4044
|
+
interface GetAccessTokenOptions extends DataIntegrationsGetUserTokenRequest {
|
|
3549
4045
|
/** The identifier of the integration. */
|
|
3550
4046
|
provider: string;
|
|
3551
|
-
/** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
|
|
3552
|
-
userId: string;
|
|
3553
|
-
/** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. */
|
|
3554
|
-
organizationId?: string | null;
|
|
3555
4047
|
}
|
|
3556
4048
|
//#endregion
|
|
3557
4049
|
//#region src/pipes/interfaces/get-data-integration-options.interface.d.ts
|
|
@@ -3560,6 +4052,24 @@ interface GetDataIntegrationOptions {
|
|
|
3560
4052
|
slug: string;
|
|
3561
4053
|
}
|
|
3562
4054
|
//#endregion
|
|
4055
|
+
//#region src/pipes/interfaces/get-organization-connected-account-options.interface.d.ts
|
|
4056
|
+
interface GetOrganizationConnectedAccountOptions {
|
|
4057
|
+
/** An [Organization](https://workos.com/docs/reference/organization) identifier. */
|
|
4058
|
+
organizationId: string;
|
|
4059
|
+
/** The slug identifier of the provider (e.g., `github`, `slack`, `notion`). */
|
|
4060
|
+
slug: string;
|
|
4061
|
+
/** Set to `true` to use the plural connection contract. When omitted or `false`, only the compatibility connection is considered. */
|
|
4062
|
+
supportsMultipleConnections?: boolean;
|
|
4063
|
+
/** 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. */
|
|
4064
|
+
connectedAccountId?: string;
|
|
4065
|
+
}
|
|
4066
|
+
//#endregion
|
|
4067
|
+
//#region src/pipes/interfaces/get-organization-data-integration-options.interface.d.ts
|
|
4068
|
+
interface GetOrganizationDataIntegrationOptions {
|
|
4069
|
+
/** The slug identifier of the data integration. */
|
|
4070
|
+
slug: string;
|
|
4071
|
+
}
|
|
4072
|
+
//#endregion
|
|
3563
4073
|
//#region src/pipes/interfaces/get-user-connected-account-options.interface.d.ts
|
|
3564
4074
|
interface GetUserConnectedAccountOptions {
|
|
3565
4075
|
/** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
|
|
@@ -3568,6 +4078,31 @@ interface GetUserConnectedAccountOptions {
|
|
|
3568
4078
|
slug: string;
|
|
3569
4079
|
/** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter if the connection is scoped to an organization. */
|
|
3570
4080
|
organizationId?: string;
|
|
4081
|
+
/** Set to `true` to use the plural connection contract. Defaults to the compatibility connection. */
|
|
4082
|
+
supportsMultipleConnections?: boolean;
|
|
4083
|
+
/** Select a specific connected account when the user has several for this provider. */
|
|
4084
|
+
connectedAccountId?: string;
|
|
4085
|
+
}
|
|
4086
|
+
//#endregion
|
|
4087
|
+
//#region src/pipes/interfaces/pipes-ownership.interface.d.ts
|
|
4088
|
+
declare const PipesOwnership: {
|
|
4089
|
+
readonly User: "user";
|
|
4090
|
+
readonly Organization: "organization";
|
|
4091
|
+
};
|
|
4092
|
+
type PipesOwnership = (typeof PipesOwnership)[keyof typeof PipesOwnership];
|
|
4093
|
+
//#endregion
|
|
4094
|
+
//#region src/pipes/interfaces/list-data-integrations-options.interface.d.ts
|
|
4095
|
+
interface ListDataIntegrationsOptions extends PaginationOptions {
|
|
4096
|
+
/** Filter integrations by who owns their connected accounts. */
|
|
4097
|
+
ownership?: PipesOwnership;
|
|
4098
|
+
}
|
|
4099
|
+
//#endregion
|
|
4100
|
+
//#region src/pipes/interfaces/list-organization-data-providers-options.interface.d.ts
|
|
4101
|
+
interface ListOrganizationDataProvidersOptions {
|
|
4102
|
+
/** An [Organization](https://workos.com/docs/reference/organization) identifier to list providers and connected accounts for. */
|
|
4103
|
+
organizationId: string;
|
|
4104
|
+
/** Set to `true` to use the plural connection contract. When omitted or `false`, only the compatibility connection is considered. */
|
|
4105
|
+
supportsMultipleConnections?: boolean;
|
|
3571
4106
|
}
|
|
3572
4107
|
//#endregion
|
|
3573
4108
|
//#region src/pipes/interfaces/list-user-data-providers-options.interface.d.ts
|
|
@@ -3576,6 +4111,8 @@ interface ListUserDataProvidersOptions {
|
|
|
3576
4111
|
userId: string;
|
|
3577
4112
|
/** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to filter connections for a specific organization. */
|
|
3578
4113
|
organizationId?: string;
|
|
4114
|
+
/** Set to `true` to include all connected accounts rather than only the compatibility connection. */
|
|
4115
|
+
supportsMultipleConnections?: boolean;
|
|
3579
4116
|
}
|
|
3580
4117
|
//#endregion
|
|
3581
4118
|
//#region src/pipes/interfaces/update-custom-provider-definition-authenticate-via.interface.d.ts
|
|
@@ -3589,11 +4126,11 @@ type UpdateCustomProviderDefinitionAuthenticateVia = (typeof UpdateCustomProvide
|
|
|
3589
4126
|
interface UpdateCustomProviderDefinition {
|
|
3590
4127
|
/** A descriptive name for the custom provider. */
|
|
3591
4128
|
name?: string;
|
|
3592
|
-
/** The provider's OAuth authorization endpoint. */
|
|
4129
|
+
/** 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. */
|
|
3593
4130
|
authorizationUrl?: string;
|
|
3594
|
-
/** The provider's OAuth token endpoint. */
|
|
4131
|
+
/** 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. */
|
|
3595
4132
|
tokenUrl?: string;
|
|
3596
|
-
/** The endpoint used to refresh tokens, if different from the token endpoint. */
|
|
4133
|
+
/** The endpoint used to refresh tokens, if different from the token endpoint. Must be a static URL, like the other endpoints. */
|
|
3597
4134
|
refreshTokenUrl?: string | null;
|
|
3598
4135
|
/** Whether PKCE is used during the authorization code flow. */
|
|
3599
4136
|
pkceEnabled?: boolean;
|
|
@@ -3625,32 +4162,75 @@ interface UpdateCustomProviderDefinitionResponse {
|
|
|
3625
4162
|
}
|
|
3626
4163
|
//#endregion
|
|
3627
4164
|
//#region src/pipes/interfaces/update-data-integration-api-key-options.interface.d.ts
|
|
3628
|
-
interface UpdateDataIntegrationApiKeyOptions {
|
|
4165
|
+
interface UpdateDataIntegrationApiKeyOptions extends DataIntegrationsUpsertApiKeyRequest {
|
|
3629
4166
|
/** The identifier of the integration. */
|
|
3630
4167
|
slug: string;
|
|
3631
|
-
/** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
|
|
3632
|
-
userId: string;
|
|
3633
|
-
/** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. */
|
|
3634
|
-
organizationId?: string;
|
|
3635
|
-
/** The API key secret to store for this integration. */
|
|
3636
|
-
secret: string;
|
|
3637
4168
|
}
|
|
3638
4169
|
//#endregion
|
|
3639
|
-
//#region src/pipes/interfaces/update-data-integration-options.interface.d.ts
|
|
3640
|
-
interface
|
|
3641
|
-
/** The
|
|
4170
|
+
//#region src/pipes/interfaces/update-data-integration-client-credentials-options.interface.d.ts
|
|
4171
|
+
interface UpdateDataIntegrationClientCredentialsOptions extends DataIntegrationsUpsertClientCredentialsRequest {
|
|
4172
|
+
/** The identifier of the integration. */
|
|
3642
4173
|
slug: string;
|
|
4174
|
+
}
|
|
4175
|
+
//#endregion
|
|
4176
|
+
//#region src/pipes/interfaces/update-data-integration.interface.d.ts
|
|
4177
|
+
interface UpdateDataIntegration {
|
|
3643
4178
|
/** An optional description of the Data Integration. */
|
|
3644
4179
|
description?: string | null;
|
|
3645
4180
|
/** Whether the Data Integration is enabled. */
|
|
3646
4181
|
enabled?: boolean;
|
|
3647
4182
|
/** The OAuth scopes to request for the Data Integration. Pass `null` to reset to the provider's configured scopes. */
|
|
3648
4183
|
scopes?: string[] | null;
|
|
3649
|
-
/** New credentials for the Data Integration. When provided, rotates the stored client secret. */
|
|
3650
|
-
credentials?:
|
|
4184
|
+
/** New OAuth credentials for the Data Integration. When provided, rotates the stored client secret. Mutually exclusive with `api_key`. */
|
|
4185
|
+
credentials?: DataIntegrationCredentialsInput;
|
|
4186
|
+
/** 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`). */
|
|
4187
|
+
apiKey?: ApiKeyInstallation;
|
|
3651
4188
|
/** Updates to a custom provider's OAuth definition. Only valid for custom-provider integrations. */
|
|
3652
4189
|
customProvider?: UpdateCustomProviderDefinition;
|
|
3653
4190
|
}
|
|
4191
|
+
interface UpdateDataIntegrationResponse {
|
|
4192
|
+
description?: string | null;
|
|
4193
|
+
enabled?: boolean;
|
|
4194
|
+
scopes?: string[] | null;
|
|
4195
|
+
credentials?: DataIntegrationCredentialsInputResponse;
|
|
4196
|
+
api_key?: ApiKeyInstallationResponse;
|
|
4197
|
+
custom_provider?: UpdateCustomProviderDefinitionResponse;
|
|
4198
|
+
}
|
|
4199
|
+
//#endregion
|
|
4200
|
+
//#region src/pipes/interfaces/update-data-integration-options.interface.d.ts
|
|
4201
|
+
interface UpdateDataIntegrationOptions extends UpdateDataIntegration {
|
|
4202
|
+
/** The slug identifier of the data integration. */
|
|
4203
|
+
slug: string;
|
|
4204
|
+
}
|
|
4205
|
+
//#endregion
|
|
4206
|
+
//#region src/pipes/interfaces/update-organization-connected-account-options.interface.d.ts
|
|
4207
|
+
interface UpdateOrganizationConnectedAccountOptions {
|
|
4208
|
+
/** An [Organization](https://workos.com/docs/reference/organization) identifier. */
|
|
4209
|
+
organizationId: string;
|
|
4210
|
+
/** The slug identifier of the provider (e.g., `github`, `slack`, `notion`). */
|
|
4211
|
+
slug: string;
|
|
4212
|
+
/** Accepted for compatibility; does not change update targeting. Supply `connectedAccountId` to select a connection. */
|
|
4213
|
+
supportsMultipleConnections?: boolean;
|
|
4214
|
+
/** A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to select the connection to update. */
|
|
4215
|
+
connectedAccountId?: string;
|
|
4216
|
+
/** Set to `reauthorize` with `connectedAccountId` to update an exact connection. Omit both for compatibility behavior. */
|
|
4217
|
+
connectionIntent?: 'reauthorize';
|
|
4218
|
+
/** The OAuth access token for the connected account. */
|
|
4219
|
+
accessToken?: string;
|
|
4220
|
+
/** The OAuth refresh token for the connected account. */
|
|
4221
|
+
refreshToken?: string;
|
|
4222
|
+
/** The ISO-8601 timestamp when the access token expires. Required when `access_token` is provided for tokens that expire. */
|
|
4223
|
+
expiresAt?: Date;
|
|
4224
|
+
/** The OAuth scopes granted for this connection. */
|
|
4225
|
+
scopes?: string[];
|
|
4226
|
+
/** Explicitly set the state of the connected account. When omitted, the state is derived from the token combination provided. */
|
|
4227
|
+
state?: OrganizationConnectedAccountState;
|
|
4228
|
+
/** 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. */
|
|
4229
|
+
userId: string;
|
|
4230
|
+
}
|
|
4231
|
+
//#endregion
|
|
4232
|
+
//#region src/pipes/interfaces/update-organization-data-integration-options.interface.d.ts
|
|
4233
|
+
type UpdateOrganizationDataIntegrationOptions = UpdateDataIntegrationOptions;
|
|
3654
4234
|
//#endregion
|
|
3655
4235
|
//#region src/pipes/interfaces/update-user-connected-account-options.interface.d.ts
|
|
3656
4236
|
interface UpdateUserConnectedAccountOptions {
|
|
@@ -3660,6 +4240,12 @@ interface UpdateUserConnectedAccountOptions {
|
|
|
3660
4240
|
slug: string;
|
|
3661
4241
|
/** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter if the connection is scoped to an organization. */
|
|
3662
4242
|
organizationId?: string;
|
|
4243
|
+
/** Accepted for compatibility; does not change update targeting. Supply `connectedAccountId` to select a connection. */
|
|
4244
|
+
supportsMultipleConnections?: boolean;
|
|
4245
|
+
/** Select the connected account to update. */
|
|
4246
|
+
connectedAccountId?: string;
|
|
4247
|
+
/** Set to `reauthorize` with `connectedAccountId` to update an exact connection. Omit both for compatibility behavior. */
|
|
4248
|
+
connectionIntent?: 'reauthorize';
|
|
3663
4249
|
/** The OAuth access token for the connected account. */
|
|
3664
4250
|
accessToken?: string;
|
|
3665
4251
|
/** The OAuth refresh token for the connected account. */
|
|
@@ -3669,7 +4255,7 @@ interface UpdateUserConnectedAccountOptions {
|
|
|
3669
4255
|
/** The OAuth scopes granted for this connection. */
|
|
3670
4256
|
scopes?: string[];
|
|
3671
4257
|
/** Explicitly set the state of the connected account. When omitted, the state is derived from the token combination provided. */
|
|
3672
|
-
state?:
|
|
4258
|
+
state?: ConnectedAccountInputState;
|
|
3673
4259
|
}
|
|
3674
4260
|
//#endregion
|
|
3675
4261
|
//#region src/vault/interfaces/key.interface.d.ts
|
|
@@ -6700,20 +7286,6 @@ declare class Passwordless {
|
|
|
6700
7286
|
sendSession(sessionId: string): Promise<SendSessionResponse>;
|
|
6701
7287
|
}
|
|
6702
7288
|
//#endregion
|
|
6703
|
-
//#region src/pipes/interfaces/data-integration-credentials-response.interface.d.ts
|
|
6704
|
-
interface DataIntegrationCredentialsResponse {
|
|
6705
|
-
/** Indicates credentials are available. */
|
|
6706
|
-
active?: true;
|
|
6707
|
-
/** The credential object containing the vended secret. */
|
|
6708
|
-
credential?: DataIntegrationCredentialsResponseCredential;
|
|
6709
|
-
/**
|
|
6710
|
-
* The reason credentials are unavailable. Additional values may be added in the future; handle unknown values gracefully.
|
|
6711
|
-
* - `"not_installed"`: The user does not have the integration installed.
|
|
6712
|
-
* - `"needs_reauthorization"`: The user needs to reauthorize the integration.
|
|
6713
|
-
*/
|
|
6714
|
-
error?: DataIntegrationCredentialsResponseError;
|
|
6715
|
-
}
|
|
6716
|
-
//#endregion
|
|
6717
7289
|
//#region src/pipes/pipes.d.ts
|
|
6718
7290
|
declare class Pipes {
|
|
6719
7291
|
private readonly workos;
|
|
@@ -6721,38 +7293,49 @@ declare class Pipes {
|
|
|
6721
7293
|
/**
|
|
6722
7294
|
* List data integrations
|
|
6723
7295
|
*
|
|
6724
|
-
* Lists the environment's data integrations configured with `custom` or `organization` credentials, including custom providers.
|
|
7296
|
+
* 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.
|
|
6725
7297
|
* @param options - Pagination and filter options.
|
|
6726
|
-
* @returns {Promise<AutoPaginatable<DataIntegration,
|
|
7298
|
+
* @returns {Promise<AutoPaginatable<DataIntegration, ListDataIntegrationsOptions>>}
|
|
6727
7299
|
* @throws {UnauthorizedException} 401
|
|
7300
|
+
* @throws {NotFoundException} 404
|
|
7301
|
+
* @throws {UnprocessableEntityException} 422
|
|
6728
7302
|
*/
|
|
6729
|
-
listDataIntegrations(options?:
|
|
7303
|
+
listDataIntegrations(options?: ListDataIntegrationsOptions): Promise<AutoPaginatable<DataIntegration, ListDataIntegrationsOptions>>;
|
|
6730
7304
|
/**
|
|
6731
7305
|
* Create a data integration
|
|
6732
7306
|
*
|
|
6733
|
-
* Creates a data integration for a provider. Set `credentials.type` to `custom` to use your own OAuth app credentials
|
|
7307
|
+
* 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.
|
|
6734
7308
|
* @param options - Object containing provider.
|
|
6735
7309
|
* @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.
|
|
6736
7310
|
* @example "github"
|
|
7311
|
+
* @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`.
|
|
7312
|
+
* @example "user"
|
|
6737
7313
|
* @param options.description - An optional description of the Data Integration.
|
|
6738
7314
|
* @example "Production GitHub app"
|
|
6739
7315
|
* @param options.enabled - Whether the Data Integration is enabled. Defaults to `false`.
|
|
6740
7316
|
* @example true
|
|
6741
7317
|
* @param options.scopes - The OAuth scopes to request for the Data Integration. Defaults to the provider's configured scopes when omitted.
|
|
6742
7318
|
* @example ["repo","read:org"]
|
|
6743
|
-
* @param options.
|
|
7319
|
+
* @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.
|
|
7320
|
+
* @example ["oauth"]
|
|
7321
|
+
* @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.
|
|
7322
|
+
* @example {"account":"myorg-myaccount"}
|
|
7323
|
+
* @param options.credentials - The OAuth credentials to configure for the Data Integration. Required for OAuth integrations; omit when `auth_methods` is `["api_key"]`.
|
|
7324
|
+
* @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.
|
|
6744
7325
|
* @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.
|
|
6745
7326
|
* @returns {Promise<DataIntegration>}
|
|
6746
7327
|
* @throws {BadRequestException} 400
|
|
6747
7328
|
* @throws {UnauthorizedException} 401
|
|
7329
|
+
* @throws {AuthorizationException} 403
|
|
6748
7330
|
* @throws {NotFoundException} 404
|
|
7331
|
+
* @throws {ConflictException} 409
|
|
6749
7332
|
* @throws {UnprocessableEntityException} 422
|
|
6750
7333
|
*/
|
|
6751
7334
|
createDataIntegration(options: CreateDataIntegrationOptions): Promise<DataIntegration>;
|
|
6752
7335
|
/**
|
|
6753
7336
|
* Get a data integration
|
|
6754
7337
|
*
|
|
6755
|
-
* Retrieves
|
|
7338
|
+
* Retrieves the user-owned data integration by its slug.
|
|
6756
7339
|
* @param options - The request options.
|
|
6757
7340
|
* @param options.slug - The slug identifier of the data integration.
|
|
6758
7341
|
* @example "github"
|
|
@@ -6764,7 +7347,7 @@ declare class Pipes {
|
|
|
6764
7347
|
/**
|
|
6765
7348
|
* Update a data integration
|
|
6766
7349
|
*
|
|
6767
|
-
* Updates the description, enabled state, or custom credentials of
|
|
7350
|
+
* Updates the description, enabled state, or custom credentials of the user-owned data integration. For custom providers, `custom_provider` updates the OAuth definition.
|
|
6768
7351
|
* @param options - The request body.
|
|
6769
7352
|
* @param options.slug - The slug identifier of the data integration.
|
|
6770
7353
|
* @example "github"
|
|
@@ -6774,19 +7357,22 @@ declare class Pipes {
|
|
|
6774
7357
|
* @example true
|
|
6775
7358
|
* @param options.scopes - The OAuth scopes to request for the Data Integration. Pass `null` to reset to the provider's configured scopes.
|
|
6776
7359
|
* @example ["repo","read:org"]
|
|
6777
|
-
* @param options.credentials - New credentials for the Data Integration. When provided, rotates the stored client secret.
|
|
7360
|
+
* @param options.credentials - New OAuth credentials for the Data Integration. When provided, rotates the stored client secret. Mutually exclusive with `api_key`.
|
|
7361
|
+
* @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`).
|
|
6778
7362
|
* @param options.customProvider - Updates to a custom provider's OAuth definition. Only valid for custom-provider integrations.
|
|
6779
7363
|
* @returns {Promise<DataIntegration>}
|
|
6780
7364
|
* @throws {BadRequestException} 400
|
|
6781
7365
|
* @throws {UnauthorizedException} 401
|
|
7366
|
+
* @throws {AuthorizationException} 403
|
|
6782
7367
|
* @throws {NotFoundException} 404
|
|
7368
|
+
* @throws {ConflictException} 409
|
|
6783
7369
|
* @throws {UnprocessableEntityException} 422
|
|
6784
7370
|
*/
|
|
6785
7371
|
updateDataIntegration(options: UpdateDataIntegrationOptions): Promise<DataIntegration>;
|
|
6786
7372
|
/**
|
|
6787
7373
|
* Delete a data integration
|
|
6788
7374
|
*
|
|
6789
|
-
* Deletes
|
|
7375
|
+
* 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.
|
|
6790
7376
|
* @param options - The request options.
|
|
6791
7377
|
* @param options.slug - The slug identifier of the data integration.
|
|
6792
7378
|
* @example "github"
|
|
@@ -6795,17 +7381,31 @@ declare class Pipes {
|
|
|
6795
7381
|
* @throws {NotFoundException} 404
|
|
6796
7382
|
*/
|
|
6797
7383
|
deleteDataIntegration(options: DeleteDataIntegrationOptions): Promise<void>;
|
|
7384
|
+
/**
|
|
7385
|
+
* Create another API key connected account
|
|
7386
|
+
*
|
|
7387
|
+
* Requires `connectionIntent: 'add'` and does not accept an account selector.
|
|
7388
|
+
* Until additional connections are available, this creates the first connection
|
|
7389
|
+
* or returns 404 `multiple_connections_unavailable` if one already exists.
|
|
7390
|
+
* Use `updateDataIntegrationApiKey` to rotate the compatibility connection or
|
|
7391
|
+
* update an exact connection.
|
|
7392
|
+
*/
|
|
7393
|
+
createDataIntegrationApiKey(options: CreateDataIntegrationApiKeyOptions): Promise<ConnectedAccount>;
|
|
6798
7394
|
/**
|
|
6799
7395
|
* Upsert an API key for a connected account
|
|
6800
7396
|
*
|
|
6801
|
-
* Creates or updates an API-key-based installation for the specified integration
|
|
7397
|
+
* 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.
|
|
6802
7398
|
* @param options - Object containing userId, secret.
|
|
6803
7399
|
* @param options.slug - The identifier of the integration.
|
|
6804
7400
|
* @example "github"
|
|
6805
7401
|
* @param options.userId - A [User](https://workos.com/docs/reference/authkit/user) identifier.
|
|
6806
7402
|
* @example "user_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
6807
|
-
* @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization.
|
|
7403
|
+
* @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`.
|
|
6808
7404
|
* @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
7405
|
+
* @param options.connectedAccountId - A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to rotate a specific existing connection.
|
|
7406
|
+
* @example "data_installation_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
7407
|
+
* @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.
|
|
7408
|
+
* @example "user"
|
|
6809
7409
|
* @param options.secret - The API key secret to store for this integration.
|
|
6810
7410
|
* @example "sk-1234567890abcdef"
|
|
6811
7411
|
* @returns {Promise<ConnectedAccount>}
|
|
@@ -6813,6 +7413,7 @@ declare class Pipes {
|
|
|
6813
7413
|
* @throws {UnauthorizedException} 401
|
|
6814
7414
|
* @throws {AuthorizationException} 403
|
|
6815
7415
|
* @throws {NotFoundException} 404
|
|
7416
|
+
* @throws {ConflictException} 409
|
|
6816
7417
|
* @throws {UnprocessableEntityException} 422
|
|
6817
7418
|
*/
|
|
6818
7419
|
updateDataIntegrationApiKey(options: UpdateDataIntegrationApiKeyOptions): Promise<ConnectedAccount>;
|
|
@@ -6823,12 +7424,16 @@ declare class Pipes {
|
|
|
6823
7424
|
* @param options - Object containing userId.
|
|
6824
7425
|
* @param options.slug - The slug identifier of the provider (e.g., `github`, `slack`, `notion`).
|
|
6825
7426
|
* @example "github"
|
|
6826
|
-
* @param options.userId - The ID of the user to authorize.
|
|
7427
|
+
* @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.
|
|
6827
7428
|
* @example "user_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
6828
|
-
* @param options.organizationId - An organization ID to scope the authorization to a specific organization.
|
|
7429
|
+
* @param options.organizationId - An organization ID to scope the authorization to a specific organization. Required when `connection_owner` is `organization`.
|
|
6829
7430
|
* @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
7431
|
+
* @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`.
|
|
7432
|
+
* @example "user"
|
|
6830
7433
|
* @param options.returnTo - The URL to redirect the user to after authorization.
|
|
6831
7434
|
* @example "https://example.com/callback"
|
|
7435
|
+
* @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.
|
|
7436
|
+
* @example {"subdomain":"acme"}
|
|
6832
7437
|
* @returns {Promise<DataIntegrationAuthorizeUrlResponse>}
|
|
6833
7438
|
* @throws {BadRequestException} 400
|
|
6834
7439
|
* @throws {UnauthorizedException} 401
|
|
@@ -6836,23 +7441,98 @@ declare class Pipes {
|
|
|
6836
7441
|
* @throws {NotFoundException} 404
|
|
6837
7442
|
*/
|
|
6838
7443
|
authorizeDataIntegration(options: AuthorizeDataIntegrationOptions): Promise<DataIntegrationAuthorizeUrlResponse>;
|
|
7444
|
+
/**
|
|
7445
|
+
* Create another client credentials connected account
|
|
7446
|
+
*
|
|
7447
|
+
* Requires `connectionIntent: 'add'` and does not accept an account selector.
|
|
7448
|
+
* Until additional connections are available, this creates the first connection
|
|
7449
|
+
* or returns 404 `multiple_connections_unavailable` if one already exists.
|
|
7450
|
+
* Use `updateDataIntegrationClientCredentials` to rotate the compatibility
|
|
7451
|
+
* connection or update an exact connection.
|
|
7452
|
+
*/
|
|
7453
|
+
createDataIntegrationClientCredential(options: CreateDataIntegrationClientCredentialOptions): Promise<ConnectedAccount>;
|
|
7454
|
+
/**
|
|
7455
|
+
* Upsert client credentials for a connected account
|
|
7456
|
+
*
|
|
7457
|
+
* 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.
|
|
7458
|
+
* @param options - The request options.
|
|
7459
|
+
* @param options.slug - The identifier of the integration.
|
|
7460
|
+
* @example "salesforce"
|
|
7461
|
+
* @returns {Promise<ConnectedAccount>}
|
|
7462
|
+
* @throws {BadRequestException} 400
|
|
7463
|
+
* @throws {UnauthorizedException} 401
|
|
7464
|
+
* @throws {AuthorizationException} 403
|
|
7465
|
+
* @throws {NotFoundException} 404
|
|
7466
|
+
* @throws {ConflictException} 409
|
|
7467
|
+
* @throws {UnprocessableEntityException} 422
|
|
7468
|
+
*/
|
|
7469
|
+
updateDataIntegrationClientCredentials(options: UpdateDataIntegrationClientCredentialsOptions): Promise<ConnectedAccount>;
|
|
6839
7470
|
/**
|
|
6840
7471
|
* Vend credentials for a connected account
|
|
6841
7472
|
*
|
|
6842
|
-
* Returns credentials for a user
|
|
7473
|
+
* 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`.
|
|
6843
7474
|
* @param options - Object containing userId.
|
|
6844
7475
|
* @param options.slug - The identifier of the integration.
|
|
6845
7476
|
* @example "github"
|
|
6846
|
-
* @param options.userId - A [User](https://workos.com/docs/reference/authkit/user) identifier.
|
|
7477
|
+
* @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.
|
|
6847
7478
|
* @example "user_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
6848
|
-
* @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization.
|
|
7479
|
+
* @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`.
|
|
6849
7480
|
* @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
7481
|
+
* @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.
|
|
7482
|
+
* @example "data_installation_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
7483
|
+
* @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`.
|
|
7484
|
+
* @example "user"
|
|
7485
|
+
* @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.
|
|
7486
|
+
* @example true
|
|
6850
7487
|
* @returns {Promise<DataIntegrationCredentialsResponse>}
|
|
6851
7488
|
* @throws {BadRequestException} 400
|
|
6852
7489
|
* @throws {UnauthorizedException} 401
|
|
7490
|
+
* @throws {AuthorizationException} 403
|
|
6853
7491
|
* @throws {NotFoundException} 404
|
|
7492
|
+
* @throws {ConflictException} 409
|
|
7493
|
+
* @throws {UnprocessableEntityException} 422
|
|
6854
7494
|
*/
|
|
6855
7495
|
createDataIntegrationCredential(options: CreateDataIntegrationCredentialOptions): Promise<DataIntegrationCredentialsResponse>;
|
|
7496
|
+
/**
|
|
7497
|
+
* Get an organization-owned data integration
|
|
7498
|
+
*
|
|
7499
|
+
* 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.
|
|
7500
|
+
* @param options - The request options.
|
|
7501
|
+
* @param options.slug - The slug identifier of the data integration.
|
|
7502
|
+
* @example "github"
|
|
7503
|
+
* @returns {Promise<DataIntegration>}
|
|
7504
|
+
* @throws {UnauthorizedException} 401
|
|
7505
|
+
* @throws {NotFoundException} 404
|
|
7506
|
+
*/
|
|
7507
|
+
getOrganizationDataIntegration(options: GetOrganizationDataIntegrationOptions): Promise<DataIntegration>;
|
|
7508
|
+
/**
|
|
7509
|
+
* Update an organization-owned data integration
|
|
7510
|
+
*
|
|
7511
|
+
* 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.
|
|
7512
|
+
* @param options - The request options.
|
|
7513
|
+
* @param options.slug - The slug identifier of the data integration.
|
|
7514
|
+
* @example "github"
|
|
7515
|
+
* @returns {Promise<DataIntegration>}
|
|
7516
|
+
* @throws {BadRequestException} 400
|
|
7517
|
+
* @throws {UnauthorizedException} 401
|
|
7518
|
+
* @throws {AuthorizationException} 403
|
|
7519
|
+
* @throws {NotFoundException} 404
|
|
7520
|
+
* @throws {ConflictException} 409
|
|
7521
|
+
* @throws {UnprocessableEntityException} 422
|
|
7522
|
+
*/
|
|
7523
|
+
updateOrganizationDataIntegration(options: UpdateOrganizationDataIntegrationOptions): Promise<DataIntegration>;
|
|
7524
|
+
/**
|
|
7525
|
+
* Delete an organization-owned data integration
|
|
7526
|
+
*
|
|
7527
|
+
* 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.
|
|
7528
|
+
* @param options - The request options.
|
|
7529
|
+
* @param options.slug - The slug identifier of the data integration.
|
|
7530
|
+
* @example "github"
|
|
7531
|
+
* @returns {Promise<void>}
|
|
7532
|
+
* @throws {UnauthorizedException} 401
|
|
7533
|
+
* @throws {NotFoundException} 404
|
|
7534
|
+
*/
|
|
7535
|
+
deleteOrganizationDataIntegration(options: DeleteOrganizationDataIntegrationOptions): Promise<void>;
|
|
6856
7536
|
/**
|
|
6857
7537
|
* Get an access token for a connected account
|
|
6858
7538
|
*
|
|
@@ -6860,17 +7540,118 @@ declare class Pipes {
|
|
|
6860
7540
|
* @param options - Object containing userId.
|
|
6861
7541
|
* @param options.provider - The identifier of the integration.
|
|
6862
7542
|
* @example "github"
|
|
6863
|
-
* @param options.userId - A [User](https://workos.com/docs/reference/authkit/user) identifier.
|
|
7543
|
+
* @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.
|
|
6864
7544
|
* @example "user_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
6865
|
-
* @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization.
|
|
7545
|
+
* @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`.
|
|
6866
7546
|
* @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
7547
|
+
* @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.
|
|
7548
|
+
* @example "data_installation_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
7549
|
+
* @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`.
|
|
7550
|
+
* @example "user"
|
|
7551
|
+
* @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.
|
|
7552
|
+
* @example true
|
|
6867
7553
|
* @returns {Promise<DataIntegrationAccessTokenResponse>}
|
|
6868
7554
|
* @throws {BadRequestException} 400
|
|
6869
7555
|
* @throws {UnauthorizedException} 401
|
|
7556
|
+
* @throws {AuthorizationException} 403
|
|
6870
7557
|
* @throws {NotFoundException} 404
|
|
7558
|
+
* @throws {ConflictException} 409
|
|
6871
7559
|
* @throws {UnprocessableEntityException} 422
|
|
6872
7560
|
*/
|
|
6873
7561
|
getAccessToken(options: GetAccessTokenOptions): Promise<DataIntegrationAccessTokenResponse>;
|
|
7562
|
+
/**
|
|
7563
|
+
* Get an organization connected account
|
|
7564
|
+
*
|
|
7565
|
+
* Retrieves an organization's [connected account](https://workos.com/docs/reference/pipes/connected-account) for a specific provider.
|
|
7566
|
+
* @param options - Additional query options.
|
|
7567
|
+
* @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier.
|
|
7568
|
+
* @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
7569
|
+
* @param options.slug - The slug identifier of the provider (e.g., `github`, `slack`, `notion`).
|
|
7570
|
+
* @example "github"
|
|
7571
|
+
* @param options.supportsMultipleConnections - Set to `true` to use the plural connection contract. When omitted or `false`, only the compatibility connection is considered.
|
|
7572
|
+
* @example true
|
|
7573
|
+
* @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.
|
|
7574
|
+
* @example "data_installation_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
7575
|
+
* @returns {Promise<ConnectedAccount>}
|
|
7576
|
+
* @throws {BadRequestException} 400
|
|
7577
|
+
* @throws {UnauthorizedException} 401
|
|
7578
|
+
* @throws {NotFoundException} 404
|
|
7579
|
+
* @throws {ConflictException} 409
|
|
7580
|
+
*/
|
|
7581
|
+
getOrganizationConnectedAccount(options: GetOrganizationConnectedAccountOptions): Promise<ConnectedAccount>;
|
|
7582
|
+
/**
|
|
7583
|
+
* Import an organization connected account
|
|
7584
|
+
*
|
|
7585
|
+
* 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.
|
|
7586
|
+
* @param options - The request options.
|
|
7587
|
+
* @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier.
|
|
7588
|
+
* @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
7589
|
+
* @param options.slug - The slug identifier of the provider (e.g., `github`, `slack`, `notion`).
|
|
7590
|
+
* @example "github"
|
|
7591
|
+
* @returns {Promise<ConnectedAccount>}
|
|
7592
|
+
* @throws {UnauthorizedException} 401
|
|
7593
|
+
* @throws {AuthorizationException} 403
|
|
7594
|
+
* @throws {NotFoundException} 404
|
|
7595
|
+
* @throws {ConflictException} 409
|
|
7596
|
+
* @throws {UnprocessableEntityException} 422
|
|
7597
|
+
*/
|
|
7598
|
+
createOrganizationConnectedAccount(options: CreateOrganizationConnectedAccountOptions): Promise<ConnectedAccount>;
|
|
7599
|
+
/**
|
|
7600
|
+
* Update an organization connected account
|
|
7601
|
+
*
|
|
7602
|
+
* Updates an organization's [connected account](https://workos.com/docs/reference/pipes/connected-account) tokens, scopes, or state for a specific provider.
|
|
7603
|
+
* @param options - Additional query options.
|
|
7604
|
+
* @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier.
|
|
7605
|
+
* @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
7606
|
+
* @param options.slug - The slug identifier of the provider (e.g., `github`, `slack`, `notion`).
|
|
7607
|
+
* @example "github"
|
|
7608
|
+
* @param options.supportsMultipleConnections - Accepted for compatibility; does not change update targeting.
|
|
7609
|
+
* @param options.connectedAccountId - A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to select the connection to update.
|
|
7610
|
+
* @example "data_installation_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
7611
|
+
* @param options.connectionIntent - Set to `reauthorize` with `connectedAccountId`, or omit both to update the compatibility connection.
|
|
7612
|
+
* @returns {Promise<ConnectedAccount>}
|
|
7613
|
+
* @throws {BadRequestException} 400
|
|
7614
|
+
* @throws {UnauthorizedException} 401
|
|
7615
|
+
* @throws {AuthorizationException} 403
|
|
7616
|
+
* @throws {NotFoundException} 404
|
|
7617
|
+
* @throws {ConflictException} 409
|
|
7618
|
+
* @throws {UnprocessableEntityException} 422
|
|
7619
|
+
*/
|
|
7620
|
+
updateOrganizationConnectedAccount(options: UpdateOrganizationConnectedAccountOptions): Promise<ConnectedAccount>;
|
|
7621
|
+
/**
|
|
7622
|
+
* Delete an organization connected account
|
|
7623
|
+
*
|
|
7624
|
+
* 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.
|
|
7625
|
+
* @param options - Additional query options.
|
|
7626
|
+
* @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier.
|
|
7627
|
+
* @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
7628
|
+
* @param options.slug - The slug identifier of the provider (e.g., `github`, `slack`, `notion`).
|
|
7629
|
+
* @example "github"
|
|
7630
|
+
* @param options.supportsMultipleConnections - Set to `true` to use the plural connection contract. When omitted or `false`, only the compatibility connection is considered.
|
|
7631
|
+
* @example true
|
|
7632
|
+
* @param options.connectedAccountId - A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to select the connection to delete.
|
|
7633
|
+
* @example "data_installation_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
7634
|
+
* @returns {Promise<void>}
|
|
7635
|
+
* @throws {BadRequestException} 400
|
|
7636
|
+
* @throws {UnauthorizedException} 401
|
|
7637
|
+
* @throws {NotFoundException} 404
|
|
7638
|
+
* @throws {ConflictException} 409
|
|
7639
|
+
*/
|
|
7640
|
+
deleteOrganizationConnectedAccount(options: DeleteOrganizationConnectedAccountOptions): Promise<void>;
|
|
7641
|
+
/**
|
|
7642
|
+
* List providers for an organization
|
|
7643
|
+
*
|
|
7644
|
+
* 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.
|
|
7645
|
+
* @param options - Additional query options.
|
|
7646
|
+
* @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier to list providers and connected accounts for.
|
|
7647
|
+
* @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
7648
|
+
* @param options.supportsMultipleConnections - Set to `true` to use the plural connection contract. When omitted or `false`, only the compatibility connection is considered.
|
|
7649
|
+
* @example true
|
|
7650
|
+
* @returns {Promise<DataIntegrationsListResponse>}
|
|
7651
|
+
* @throws {UnauthorizedException} 401
|
|
7652
|
+
* @throws {NotFoundException} 404
|
|
7653
|
+
*/
|
|
7654
|
+
listOrganizationDataProviders(options: ListOrganizationDataProvidersOptions): Promise<DataIntegrationsListResponse>;
|
|
6874
7655
|
/**
|
|
6875
7656
|
* Get a connected account
|
|
6876
7657
|
*
|
|
@@ -6882,15 +7663,21 @@ declare class Pipes {
|
|
|
6882
7663
|
* @example "github"
|
|
6883
7664
|
* @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter if the connection is scoped to an organization.
|
|
6884
7665
|
* @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
7666
|
+
* @param options.supportsMultipleConnections - Set to `true` to use the plural connection contract. When omitted or `false`, only the compatibility connection is considered.
|
|
7667
|
+
* @example true
|
|
7668
|
+
* @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.
|
|
7669
|
+
* @example "data_installation_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
6885
7670
|
* @returns {Promise<ConnectedAccount>}
|
|
7671
|
+
* @throws {BadRequestException} 400
|
|
6886
7672
|
* @throws {UnauthorizedException} 401
|
|
6887
7673
|
* @throws {NotFoundException} 404
|
|
7674
|
+
* @throws {ConflictException} 409
|
|
6888
7675
|
*/
|
|
6889
7676
|
getUserConnectedAccount(options: GetUserConnectedAccountOptions): Promise<ConnectedAccount>;
|
|
6890
7677
|
/**
|
|
6891
7678
|
* Import a connected account
|
|
6892
7679
|
*
|
|
6893
|
-
* Imports a [connected account](https://workos.com/docs/reference/pipes/connected-account) for a user by providing OAuth tokens directly.
|
|
7680
|
+
* 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.
|
|
6894
7681
|
* @param options - The request body.
|
|
6895
7682
|
* @param options.userId - A [User](https://workos.com/docs/reference/authkit/user) identifier.
|
|
6896
7683
|
* @example "user_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
@@ -6926,6 +7713,10 @@ declare class Pipes {
|
|
|
6926
7713
|
* @example "github"
|
|
6927
7714
|
* @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter if the connection is scoped to an organization.
|
|
6928
7715
|
* @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
7716
|
+
* @param options.supportsMultipleConnections - Accepted for compatibility; does not change update targeting.
|
|
7717
|
+
* @param options.connectedAccountId - A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to select the connection to update.
|
|
7718
|
+
* @example "data_installation_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
7719
|
+
* @param options.connectionIntent - Set to `reauthorize` with `connectedAccountId`, or omit both to update the compatibility connection.
|
|
6929
7720
|
* @param options.accessToken - The OAuth access token for the connected account.
|
|
6930
7721
|
* @example "gho_16C7e42F292c6912E7710c838347Ae178B4a"
|
|
6931
7722
|
* @param options.refreshToken - The OAuth refresh token for the connected account.
|
|
@@ -6937,14 +7728,17 @@ declare class Pipes {
|
|
|
6937
7728
|
* @param options.state - Explicitly set the state of the connected account. When omitted, the state is derived from the token combination provided.
|
|
6938
7729
|
* @example "connected"
|
|
6939
7730
|
* @returns {Promise<ConnectedAccount>}
|
|
7731
|
+
* @throws {BadRequestException} 400
|
|
6940
7732
|
* @throws {UnauthorizedException} 401
|
|
6941
7733
|
* @throws {NotFoundException} 404
|
|
7734
|
+
* @throws {ConflictException} 409
|
|
7735
|
+
* @throws {UnprocessableEntityException} 422
|
|
6942
7736
|
*/
|
|
6943
7737
|
updateUserConnectedAccount(options: UpdateUserConnectedAccountOptions): Promise<ConnectedAccount>;
|
|
6944
7738
|
/**
|
|
6945
7739
|
* Delete a connected account
|
|
6946
7740
|
*
|
|
6947
|
-
* 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.
|
|
7741
|
+
* 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.
|
|
6948
7742
|
* @param options - Additional query options.
|
|
6949
7743
|
* @param options.userId - A [User](https://workos.com/docs/reference/authkit/user) identifier.
|
|
6950
7744
|
* @example "user_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
@@ -6952,9 +7746,15 @@ declare class Pipes {
|
|
|
6952
7746
|
* @example "github"
|
|
6953
7747
|
* @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter if the connection is scoped to an organization.
|
|
6954
7748
|
* @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
7749
|
+
* @param options.supportsMultipleConnections - Set to `true` to use the plural connection contract. When omitted or `false`, only the compatibility connection is considered.
|
|
7750
|
+
* @example true
|
|
7751
|
+
* @param options.connectedAccountId - A [connected account](https://workos.com/docs/reference/pipes/connected-account) identifier. Use this to select the connection to delete.
|
|
7752
|
+
* @example "data_installation_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
6955
7753
|
* @returns {Promise<void>}
|
|
7754
|
+
* @throws {BadRequestException} 400
|
|
6956
7755
|
* @throws {UnauthorizedException} 401
|
|
6957
7756
|
* @throws {NotFoundException} 404
|
|
7757
|
+
* @throws {ConflictException} 409
|
|
6958
7758
|
*/
|
|
6959
7759
|
deleteUserConnectedAccount(options: DeleteUserConnectedAccountOptions): Promise<void>;
|
|
6960
7760
|
/**
|
|
@@ -6966,6 +7766,8 @@ declare class Pipes {
|
|
|
6966
7766
|
* @example "user_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
6967
7767
|
* @param options.organizationId - An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to filter connections for a specific organization.
|
|
6968
7768
|
* @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
|
|
7769
|
+
* @param options.supportsMultipleConnections - Set to `true` to use the plural connection contract. When omitted or `false`, only the compatibility connection is considered.
|
|
7770
|
+
* @example true
|
|
6969
7771
|
* @returns {Promise<DataIntegrationsListResponse>}
|
|
6970
7772
|
* @throws {UnauthorizedException} 401
|
|
6971
7773
|
* @throws {NotFoundException} 404
|
|
@@ -11181,5 +11983,5 @@ interface ConfidentialClientOptions extends WorkOSOptions {
|
|
|
11181
11983
|
declare function createWorkOS(options: PublicClientOptions): PublicWorkOS;
|
|
11182
11984
|
declare function createWorkOS(options: ConfidentialClientOptions): WorkOS;
|
|
11183
11985
|
//#endregion
|
|
11184
|
-
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 };
|
|
11185
|
-
//# sourceMappingURL=factory-
|
|
11986
|
+
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 };
|
|
11987
|
+
//# sourceMappingURL=factory-G1JU2hJz.d.mts.map
|