@workos-inc/node 10.11.0 → 10.12.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.
@@ -2917,198 +2917,857 @@ interface SerializedUpdateGroupOptions {
2917
2917
  description?: string | null;
2918
2918
  }
2919
2919
  //#endregion
2920
- //#region src/vault/interfaces/key.interface.d.ts
2921
- interface KeyContext {
2922
- [key: string]: any;
2920
+ //#region src/pipes/interfaces/authorize-data-integration-options.interface.d.ts
2921
+ interface AuthorizeDataIntegrationOptions {
2922
+ /** The slug identifier of the provider (e.g., `github`, `slack`, `notion`). */
2923
+ slug: string;
2924
+ /** The ID of the user to authorize. */
2925
+ userId: string;
2926
+ /** An organization ID to scope the authorization to a specific organization. */
2927
+ organizationId?: string;
2928
+ /** The URL to redirect the user to after authorization. */
2929
+ returnTo?: string;
2923
2930
  }
2924
- interface DataKeyPair {
2925
- context: KeyContext;
2926
- dataKey: DataKey;
2927
- encryptedKeys: string;
2931
+ //#endregion
2932
+ //#region src/pipes/interfaces/connected-account-auth-method.interface.d.ts
2933
+ declare const ConnectedAccountAuthMethod: {
2934
+ readonly OAuth: "oauth";
2935
+ readonly ApiKey: "api_key";
2936
+ };
2937
+ type ConnectedAccountAuthMethod = (typeof ConnectedAccountAuthMethod)[keyof typeof ConnectedAccountAuthMethod];
2938
+ //#endregion
2939
+ //#region src/pipes/interfaces/connected-account-state.interface.d.ts
2940
+ declare const ConnectedAccountState: {
2941
+ readonly Connected: "connected";
2942
+ readonly NeedsReauthorization: "needs_reauthorization";
2943
+ };
2944
+ type ConnectedAccountState = (typeof ConnectedAccountState)[keyof typeof ConnectedAccountState];
2945
+ //#endregion
2946
+ //#region src/pipes/interfaces/connected-account.interface.d.ts
2947
+ interface ConnectedAccount {
2948
+ /** Distinguishes the connected account object. */
2949
+ object: 'connected_account';
2950
+ /** The unique identifier of the connected account. */
2951
+ id: string;
2952
+ /** The [User](https://workos.com/docs/reference/authkit/user) identifier associated with this connection. */
2953
+ userId: string | null;
2954
+ /** The [Organization](https://workos.com/docs/reference/organization) identifier associated with this connection, or `null` if not scoped to an organization. */
2955
+ organizationId: string | null;
2956
+ /** The OAuth scopes granted for this connection. */
2957
+ scopes: string[];
2958
+ /** The authentication method used for this connection (`oauth` or `api_key`). Defaults to `oauth` if absent. */
2959
+ authMethod?: ConnectedAccountAuthMethod;
2960
+ /** The last four characters of the API key, or `null` for OAuth connections. */
2961
+ apiKeyLast4?: string | null;
2962
+ /**
2963
+ * The state of the connected account:
2964
+ * - `connected`: The connection is active and tokens are valid.
2965
+ * - `needs_reauthorization`: The user needs to reauthorize the connection, typically because required scopes have changed.
2966
+ * - `disconnected`: The connection has been disconnected.
2967
+ */
2968
+ state: ConnectedAccountState;
2969
+ /** The timestamp when the connection was created. */
2970
+ createdAt: string;
2971
+ /** The timestamp when the connection was last updated. */
2972
+ updatedAt: string;
2928
2973
  }
2929
- interface DataKey {
2930
- key: string;
2974
+ interface ConnectedAccountResponse {
2975
+ object: 'connected_account';
2931
2976
  id: string;
2977
+ user_id: string | null;
2978
+ organization_id: string | null;
2979
+ scopes: string[];
2980
+ auth_method?: ConnectedAccountAuthMethod;
2981
+ api_key_last_4?: string | null;
2982
+ state: ConnectedAccountState;
2983
+ created_at: string;
2984
+ updated_at: string;
2932
2985
  }
2933
2986
  //#endregion
2934
- //#region src/vault/interfaces/vault-event.interface.d.ts
2935
- type VaultActorSource = 'api' | 'dashboard';
2936
- interface VaultActor {
2937
- actorId: string;
2938
- actorSource: VaultActorSource;
2939
- actorName: string;
2987
+ //#region src/pipes/interfaces/create-data-integration-credential-options.interface.d.ts
2988
+ interface CreateDataIntegrationCredentialOptions {
2989
+ /** The identifier of the integration. */
2990
+ slug: string;
2991
+ /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
2992
+ userId: string;
2993
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. */
2994
+ organizationId?: string;
2940
2995
  }
2941
- interface VaultActorResponse {
2942
- actor_id: string;
2943
- actor_source: VaultActorSource;
2944
- actor_name: string;
2996
+ //#endregion
2997
+ //#region src/pipes/interfaces/data-integration-credentials-type.interface.d.ts
2998
+ declare const DataIntegrationCredentialsType: {
2999
+ readonly Custom: "custom";
3000
+ readonly Organization: "organization";
3001
+ };
3002
+ type DataIntegrationCredentialsType = (typeof DataIntegrationCredentialsType)[keyof typeof DataIntegrationCredentialsType];
3003
+ //#endregion
3004
+ //#region src/pipes/interfaces/data-integration-credentials-dto.interface.d.ts
3005
+ interface DataIntegrationCredentialsDto {
3006
+ /** The credentials type. `custom` uses your own OAuth app credentials; `organization` has each organization supply its own credentials (configured per-organization). */
3007
+ type: DataIntegrationCredentialsType;
3008
+ /** OAuth client ID for the provider app. Required when `type` is `custom`; omit for `organization`. */
3009
+ clientId?: string;
3010
+ /** OAuth client secret for the provider app. Required when `type` is `custom`; omit for `organization`. */
3011
+ clientSecret?: string;
2945
3012
  }
2946
- interface VaultDataMutatedEventData extends VaultActor {
2947
- kvName: string;
2948
- keyId: string;
2949
- keyContext: KeyContext;
3013
+ interface DataIntegrationCredentialsDtoResponse {
3014
+ type: DataIntegrationCredentialsType;
3015
+ client_id?: string;
3016
+ client_secret?: string;
2950
3017
  }
2951
- interface VaultDataMutatedEventResponseData extends VaultActorResponse {
2952
- kv_name: string;
2953
- key_id: string;
2954
- key_context: KeyContext;
3018
+ //#endregion
3019
+ //#region src/pipes/interfaces/custom-provider-definition-authenticate-via.interface.d.ts
3020
+ declare const CustomProviderDefinitionAuthenticateVia: {
3021
+ readonly RequestBody: "request_body";
3022
+ readonly BasicAuthHeader: "basic_auth_header";
3023
+ };
3024
+ type CustomProviderDefinitionAuthenticateVia = (typeof CustomProviderDefinitionAuthenticateVia)[keyof typeof CustomProviderDefinitionAuthenticateVia];
3025
+ //#endregion
3026
+ //#region src/pipes/interfaces/custom-provider-definition.interface.d.ts
3027
+ interface CustomProviderDefinition {
3028
+ /** A descriptive name for the custom provider. */
3029
+ name: string;
3030
+ /** The provider's OAuth authorization endpoint. */
3031
+ authorizationUrl: string;
3032
+ /** The provider's OAuth token endpoint. */
3033
+ tokenUrl: string;
3034
+ /** The endpoint used to refresh tokens, if different from the token endpoint. */
3035
+ refreshTokenUrl?: string | null;
3036
+ /** Whether PKCE is used during the authorization code flow. Defaults to `true`. */
3037
+ pkceEnabled?: boolean;
3038
+ /** The separator used to join requested scopes. Defaults to a space. */
3039
+ requestScopeSeparator?: string;
3040
+ /** Whether at least one scope must be selected when connecting an account. Defaults to `false`. */
3041
+ scopesRequired?: boolean;
3042
+ /** Whether a client secret is required for this provider. Defaults to `true`. */
3043
+ clientSecretRequired?: boolean;
3044
+ /** Additional static query parameters appended to the authorization request. */
3045
+ additionalAuthorizationParameters?: Record<string, string>;
3046
+ /** The Content-Type used when exchanging the token request. */
3047
+ tokenBodyContentType?: string;
3048
+ /** How client credentials are sent when exchanging authorization codes and refreshing tokens. */
3049
+ authenticateVia?: CustomProviderDefinitionAuthenticateVia;
2955
3050
  }
2956
- type VaultDataCreatedEventData = VaultDataMutatedEventData;
2957
- type VaultDataUpdatedEventData = VaultDataMutatedEventData;
2958
- type VaultDataCreatedEventResponseData = VaultDataMutatedEventResponseData;
2959
- type VaultDataUpdatedEventResponseData = VaultDataMutatedEventResponseData;
2960
- interface VaultDataReadEventData extends VaultActor {
2961
- kvName: string;
2962
- keyId: string;
3051
+ interface CustomProviderDefinitionResponse {
3052
+ name: string;
3053
+ authorization_url: string;
3054
+ token_url: string;
3055
+ refresh_token_url?: string | null;
3056
+ pkce_enabled?: boolean;
3057
+ request_scope_separator?: string;
3058
+ scopes_required?: boolean;
3059
+ client_secret_required?: boolean;
3060
+ additional_authorization_parameters?: Record<string, string>;
3061
+ token_body_content_type?: string;
3062
+ authenticate_via?: CustomProviderDefinitionAuthenticateVia;
2963
3063
  }
2964
- interface VaultDataReadEventResponseData extends VaultActorResponse {
2965
- kv_name: string;
2966
- key_id: string;
3064
+ //#endregion
3065
+ //#region src/pipes/interfaces/create-data-integration-options.interface.d.ts
3066
+ interface CreateDataIntegrationOptions {
3067
+ /** 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. */
3068
+ provider: string;
3069
+ /** An optional description of the Data Integration. */
3070
+ description?: string | null;
3071
+ /** Whether the Data Integration is enabled. Defaults to `false`. */
3072
+ enabled?: boolean;
3073
+ /** The OAuth scopes to request for the Data Integration. Defaults to the provider's configured scopes when omitted. */
3074
+ scopes?: string[] | null;
3075
+ /** The credentials to configure for the Data Integration. Required for both built-in and custom providers. */
3076
+ credentials?: DataIntegrationCredentialsDto;
3077
+ /** 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. */
3078
+ customProvider?: CustomProviderDefinition;
2967
3079
  }
2968
- interface VaultDataDeletedEventData extends VaultActor {
2969
- kvName: string;
3080
+ //#endregion
3081
+ //#region src/pipes/interfaces/create-user-connected-account-options.interface.d.ts
3082
+ interface CreateUserConnectedAccountOptions {
3083
+ /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
3084
+ userId: string;
3085
+ /** The slug identifier of the provider (e.g., `github`, `slack`, `notion`). */
3086
+ slug: string;
3087
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter if the connection is scoped to an organization. */
3088
+ organizationId?: string;
3089
+ /** The OAuth access token for the connected account. */
3090
+ accessToken?: string;
3091
+ /** The OAuth refresh token for the connected account. */
3092
+ refreshToken?: string;
3093
+ /** The ISO-8601 timestamp when the access token expires. Required when `access_token` is provided for tokens that expire. */
3094
+ expiresAt?: Date;
3095
+ /** The OAuth scopes granted for this connection. */
3096
+ scopes?: string[];
3097
+ /** Explicitly set the state of the connected account. When omitted, the state is derived from the token combination provided. */
3098
+ state?: ConnectedAccountState;
2970
3099
  }
2971
- interface VaultDataDeletedEventResponseData extends VaultActorResponse {
2972
- kv_name: string;
3100
+ //#endregion
3101
+ //#region src/pipes/interfaces/data-integration-access-token-response-access-token.interface.d.ts
3102
+ /** The [access token](https://workos.com/docs/reference/pipes/access-token) object, present when `active` is `true`. */
3103
+ interface DataIntegrationAccessTokenResponseAccessToken {
3104
+ /** Distinguishes the access token object. */
3105
+ object: 'access_token';
3106
+ /** The OAuth access token for the connected integration. */
3107
+ accessToken: string;
3108
+ /** The ISO-8601 formatted timestamp indicating when the access token expires. */
3109
+ expiresAt: Date | null;
3110
+ /** The scopes granted to the access token. */
3111
+ scopes: string[];
3112
+ /** If the integration has requested scopes that aren't present on the access token, they're listed here. */
3113
+ missingScopes: string[];
2973
3114
  }
2974
- interface VaultMetadataReadEventData extends VaultActor {
2975
- kvName: string;
3115
+ interface DataIntegrationAccessTokenResponseAccessTokenResponse {
3116
+ object: 'access_token';
3117
+ access_token: string;
3118
+ expires_at: string | null;
3119
+ scopes: string[];
3120
+ missing_scopes: string[];
2976
3121
  }
2977
- interface VaultMetadataReadEventResponseData extends VaultActorResponse {
2978
- kv_name: string;
3122
+ //#endregion
3123
+ //#region src/pipes/interfaces/data-integration-access-token-response.interface.d.ts
3124
+ type DataIntegrationAccessTokenResponse = {
3125
+ active: true;
3126
+ accessToken: DataIntegrationAccessTokenResponseAccessToken;
3127
+ } | {
3128
+ active: false;
3129
+ error: 'needs_reauthorization' | 'not_installed';
3130
+ };
3131
+ type DataIntegrationAccessTokenResponseWire = {
3132
+ active: true;
3133
+ access_token: DataIntegrationAccessTokenResponseAccessTokenResponse;
3134
+ } | {
3135
+ active: false;
3136
+ error: 'needs_reauthorization' | 'not_installed';
3137
+ };
3138
+ //#endregion
3139
+ //#region src/pipes/interfaces/data-integration-authorize-url-response.interface.d.ts
3140
+ interface DataIntegrationAuthorizeUrlResponse {
3141
+ /** The OAuth authorization URL to redirect the user to. */
3142
+ url: string;
2979
3143
  }
2980
- type VaultNamesListedEventData = VaultActor;
2981
- type VaultNamesListedEventResponseData = VaultActorResponse;
2982
- interface VaultKekCreatedEventData extends VaultActor {
2983
- keyName: string;
2984
- keyId: string;
2985
- }
2986
- interface VaultKekCreatedEventResponseData extends VaultActorResponse {
2987
- key_name: string;
2988
- key_id: string;
3144
+ interface DataIntegrationAuthorizeUrlResponseWire {
3145
+ url: string;
2989
3146
  }
2990
- interface VaultDekReadEventData extends VaultActor {
2991
- keyIds: string[];
2992
- keyContext: KeyContext;
3147
+ //#endregion
3148
+ //#region src/pipes/interfaces/data-integration-credential-type.interface.d.ts
3149
+ declare const DataIntegrationCredentialType: {
3150
+ readonly Custom: "custom";
3151
+ readonly Organization: "organization";
3152
+ };
3153
+ type DataIntegrationCredentialType = (typeof DataIntegrationCredentialType)[keyof typeof DataIntegrationCredentialType];
3154
+ //#endregion
3155
+ //#region src/pipes/interfaces/data-integration-credential.interface.d.ts
3156
+ /** The credentials configured for the Data Integration. */
3157
+ interface DataIntegrationCredential {
3158
+ /** The credentials type. `custom` uses your own OAuth app credentials; `organization` has each organization supply its own credentials (so `client_id`/`redacted_client_secret` are null on the integration itself). */
3159
+ type: DataIntegrationCredentialType;
3160
+ /** The OAuth client ID configured for the provider app. Null for `organization` credentials. */
3161
+ clientId: string | null;
3162
+ /** The last four characters of the OAuth client secret. The full secret is never returned. Null for `organization` credentials. */
3163
+ redactedClientSecret: string | null;
2993
3164
  }
2994
- interface VaultDekReadEventResponseData extends VaultActorResponse {
2995
- key_ids: string[];
2996
- key_context: KeyContext;
3165
+ interface DataIntegrationCredentialResponse {
3166
+ type: DataIntegrationCredentialType;
3167
+ client_id: string | null;
3168
+ redacted_client_secret: string | null;
2997
3169
  }
2998
- interface VaultDekDecryptedEventData extends VaultActor {
2999
- keyId: string;
3170
+ //#endregion
3171
+ //#region src/pipes/interfaces/data-integration-credentials-response-credential.interface.d.ts
3172
+ /** The credential object containing the vended secret. */
3173
+ interface DataIntegrationCredentialsResponseCredential {
3174
+ /** Distinguishes the credential object. */
3175
+ object: 'credential';
3176
+ /** The authentication method for this credential. Additional values may be added in the future; handle unknown values gracefully. */
3177
+ authMethod: 'oauth';
3178
+ /** The OAuth access token. */
3179
+ value: string;
3180
+ /** The ISO-8601 formatted timestamp indicating when the credential expires. */
3181
+ expiresAt: string | null;
3182
+ /** The scopes granted to the access token. */
3183
+ scopes: string[];
3184
+ /** If the integration has requested scopes that aren't present on the access token, they're listed here. */
3185
+ missingScopes: string[];
3000
3186
  }
3001
- interface VaultDekDecryptedEventResponseData extends VaultActorResponse {
3002
- key_id: string;
3187
+ interface DataIntegrationCredentialsResponseCredentialResponse {
3188
+ object: 'credential';
3189
+ auth_method: 'oauth';
3190
+ value: string;
3191
+ expires_at: string | null;
3192
+ scopes: string[];
3193
+ missing_scopes: string[];
3003
3194
  }
3004
- type VaultByokKeyProvider = 'AWS_KMS' | 'GCP_KMS' | 'AZURE_KEY_VAULT';
3005
- interface VaultByokKeyVerificationCompletedEventData {
3006
- organizationId: string;
3007
- keyProvider: VaultByokKeyProvider;
3008
- verified: boolean;
3195
+ //#endregion
3196
+ //#region src/pipes/interfaces/data-integration-credentials-response-error.interface.d.ts
3197
+ declare const DataIntegrationCredentialsResponseError: {
3198
+ readonly NotInstalled: "not_installed";
3199
+ readonly NeedsReauthorization: "needs_reauthorization";
3200
+ };
3201
+ type DataIntegrationCredentialsResponseError = (typeof DataIntegrationCredentialsResponseError)[keyof typeof DataIntegrationCredentialsResponseError];
3202
+ //#endregion
3203
+ //#region src/pipes/interfaces/data-integration-custom-provider-authenticate-via.interface.d.ts
3204
+ declare const DataIntegrationCustomProviderAuthenticateVia: {
3205
+ readonly RequestBody: "request_body";
3206
+ readonly BasicAuthHeader: "basic_auth_header";
3207
+ };
3208
+ type DataIntegrationCustomProviderAuthenticateVia = (typeof DataIntegrationCustomProviderAuthenticateVia)[keyof typeof DataIntegrationCustomProviderAuthenticateVia];
3209
+ //#endregion
3210
+ //#region src/pipes/interfaces/data-integration-custom-provider.interface.d.ts
3211
+ interface DataIntegrationCustomProvider {
3212
+ /** A descriptive name for the custom provider. */
3213
+ name: string;
3214
+ /** The provider's OAuth authorization endpoint. */
3215
+ authorizationUrl: string | null;
3216
+ /** The provider's OAuth token endpoint. */
3217
+ tokenUrl: string | null;
3218
+ /** The endpoint used to refresh tokens, if different from the token endpoint. */
3219
+ refreshTokenUrl: string | null;
3220
+ /** Whether PKCE is used during the authorization code flow. */
3221
+ pkceEnabled: boolean;
3222
+ /** The separator used to join requested scopes. */
3223
+ requestScopeSeparator: string;
3224
+ /** Whether at least one scope must be selected when connecting an account. */
3225
+ scopesRequired: boolean;
3226
+ /** Whether a client secret is required for this provider. */
3227
+ clientSecretRequired: boolean;
3228
+ /** Additional static query parameters appended to the authorization request. */
3229
+ additionalAuthorizationParameters: Record<string, string>;
3230
+ /** The Content-Type used when exchanging the token request. */
3231
+ tokenBodyContentType: string;
3232
+ /** How client credentials are sent when exchanging authorization codes and refreshing tokens. */
3233
+ authenticateVia: DataIntegrationCustomProviderAuthenticateVia;
3009
3234
  }
3010
- interface VaultByokKeyVerificationCompletedEventResponseData {
3011
- organization_id: string;
3012
- key_provider: VaultByokKeyProvider;
3013
- verified: boolean;
3235
+ interface DataIntegrationCustomProviderResponse {
3236
+ name: string;
3237
+ authorization_url: string | null;
3238
+ token_url: string | null;
3239
+ refresh_token_url: string | null;
3240
+ pkce_enabled: boolean;
3241
+ request_scope_separator: string;
3242
+ scopes_required: boolean;
3243
+ client_secret_required: boolean;
3244
+ additional_authorization_parameters: Record<string, string>;
3245
+ token_body_content_type: string;
3246
+ authenticate_via: DataIntegrationCustomProviderAuthenticateVia;
3014
3247
  }
3015
3248
  //#endregion
3016
- //#region src/common/interfaces/event.interface.d.ts
3017
- interface EventBase {
3249
+ //#region src/pipes/interfaces/data-integration-state.interface.d.ts
3250
+ declare const DataIntegrationState: {
3251
+ readonly Valid: "valid";
3252
+ readonly Invalid: "invalid";
3253
+ readonly Requested: "requested";
3254
+ };
3255
+ type DataIntegrationState = (typeof DataIntegrationState)[keyof typeof DataIntegrationState];
3256
+ //#endregion
3257
+ //#region src/pipes/interfaces/data-integration.interface.d.ts
3258
+ interface DataIntegration {
3259
+ /** Distinguishes the Data Integration object. */
3260
+ object: 'data_integration';
3261
+ /** Unique identifier of the Data Integration. */
3018
3262
  id: string;
3019
- createdAt: string;
3020
- context: Record<string, unknown> | undefined;
3263
+ /** The provider slug for this Data Integration. */
3264
+ slug: string;
3265
+ /** The integration type derived from the provider. */
3266
+ integrationType: string;
3267
+ /** An optional description of the Data Integration. */
3268
+ description: string | null;
3269
+ /** Whether the Data Integration is enabled. */
3270
+ enabled: boolean;
3271
+ /** The state of the Data Integration. */
3272
+ state: DataIntegrationState;
3273
+ /** The OAuth scopes configured for the Data Integration. `null` when the provider's configured scopes are used. */
3274
+ scopes: string[] | null;
3275
+ /** The OAuth redirect URI to register with the provider when configuring the custom application. */
3276
+ redirectUri: string;
3277
+ /** The credentials configured for the Data Integration. */
3278
+ credentials: DataIntegrationCredential;
3279
+ /** The OAuth definition when this is a custom provider; `null` for built-in providers. */
3280
+ customProvider: DataIntegrationCustomProvider | null;
3281
+ /** An ISO 8601 timestamp. */
3282
+ createdAt: Date;
3283
+ /** An ISO 8601 timestamp. */
3284
+ updatedAt: Date;
3021
3285
  }
3022
- interface EventResponseBase {
3286
+ interface DataIntegrationResponse {
3287
+ object: 'data_integration';
3023
3288
  id: string;
3289
+ slug: string;
3290
+ integration_type: string;
3291
+ description: string | null;
3292
+ enabled: boolean;
3293
+ state: DataIntegrationState;
3294
+ scopes: string[] | null;
3295
+ redirect_uri: string;
3296
+ credentials: DataIntegrationCredentialResponse;
3297
+ custom_provider: DataIntegrationCustomProviderResponse | null;
3024
3298
  created_at: string;
3025
- context?: Record<string, unknown>;
3026
- }
3027
- interface AuthenticationEmailVerificationSucceededEvent extends EventBase {
3028
- event: 'authentication.email_verification_succeeded';
3029
- data: AuthenticationEvent;
3299
+ updated_at: string;
3030
3300
  }
3031
- interface AuthenticationEmailVerificationSucceededEventResponse extends EventResponseBase {
3032
- event: 'authentication.email_verification_succeeded';
3033
- data: AuthenticationEventResponse;
3301
+ //#endregion
3302
+ //#region src/pipes/interfaces/data-integrations-list-response-data-auth-methods.interface.d.ts
3303
+ declare const DataIntegrationsListResponseDataAuthMethods: {
3304
+ readonly OAuth: "oauth";
3305
+ readonly ApiKey: "api_key";
3306
+ };
3307
+ type DataIntegrationsListResponseDataAuthMethods = (typeof DataIntegrationsListResponseDataAuthMethods)[keyof typeof DataIntegrationsListResponseDataAuthMethods];
3308
+ //#endregion
3309
+ //#region src/pipes/interfaces/data-integrations-list-response-data-connected-account-auth-method.interface.d.ts
3310
+ declare const DataIntegrationsListResponseDataConnectedAccountAuthMethod: {
3311
+ readonly OAuth: "oauth";
3312
+ readonly ApiKey: "api_key";
3313
+ };
3314
+ type DataIntegrationsListResponseDataConnectedAccountAuthMethod = (typeof DataIntegrationsListResponseDataConnectedAccountAuthMethod)[keyof typeof DataIntegrationsListResponseDataConnectedAccountAuthMethod];
3315
+ //#endregion
3316
+ //#region src/pipes/interfaces/data-integrations-list-response-data-connected-account-state.interface.d.ts
3317
+ declare const DataIntegrationsListResponseDataConnectedAccountState: {
3318
+ readonly Connected: "connected";
3319
+ readonly NeedsReauthorization: "needs_reauthorization";
3320
+ readonly Disconnected: "disconnected";
3321
+ };
3322
+ type DataIntegrationsListResponseDataConnectedAccountState = (typeof DataIntegrationsListResponseDataConnectedAccountState)[keyof typeof DataIntegrationsListResponseDataConnectedAccountState];
3323
+ //#endregion
3324
+ //#region src/pipes/interfaces/data-integrations-list-response-data-connected-account.interface.d.ts
3325
+ interface DataIntegrationsListResponseDataConnectedAccount {
3326
+ /** Distinguishes the connected account object. */
3327
+ object: 'connected_account';
3328
+ /** The unique identifier of the connected account. */
3329
+ id: string;
3330
+ /** The [User](https://workos.com/docs/reference/authkit/user) identifier associated with this connection. */
3331
+ userId: string | null;
3332
+ /** The [Organization](https://workos.com/docs/reference/organization) identifier associated with this connection, or `null` if not scoped to an organization. */
3333
+ organizationId: string | null;
3334
+ /** The OAuth scopes granted for this connection. */
3335
+ scopes: string[];
3336
+ /** The authentication method used for this connection (`oauth` or `api_key`). Defaults to `oauth` if absent. */
3337
+ authMethod?: DataIntegrationsListResponseDataConnectedAccountAuthMethod;
3338
+ /** The last four characters of the API key, or `null` for OAuth connections. */
3339
+ apiKeyLast4?: string | null;
3340
+ /**
3341
+ * The state of the connected account:
3342
+ * - `connected`: The connection is active and tokens are valid.
3343
+ * - `needs_reauthorization`: The user needs to reauthorize the connection, typically because required scopes have changed.
3344
+ * - `disconnected`: The connection has been disconnected.
3345
+ */
3346
+ state: DataIntegrationsListResponseDataConnectedAccountState;
3347
+ /** The timestamp when the connection was created. */
3348
+ createdAt: string;
3349
+ /** The timestamp when the connection was last updated. */
3350
+ updatedAt: string;
3351
+ /**
3352
+ * Use `user_id` instead.
3353
+ * @deprecated
3354
+ */
3355
+ userlandUserId: string | null;
3034
3356
  }
3035
- interface AuthenticationMagicAuthFailedEvent extends EventBase {
3036
- event: 'authentication.magic_auth_failed';
3037
- data: AuthenticationEvent;
3357
+ interface DataIntegrationsListResponseDataConnectedAccountResponse {
3358
+ object: 'connected_account';
3359
+ id: string;
3360
+ user_id: string | null;
3361
+ organization_id: string | null;
3362
+ scopes: string[];
3363
+ auth_method?: DataIntegrationsListResponseDataConnectedAccountAuthMethod;
3364
+ api_key_last_4?: string | null;
3365
+ state: DataIntegrationsListResponseDataConnectedAccountState;
3366
+ created_at: string;
3367
+ updated_at: string;
3368
+ userland_user_id: string | null;
3038
3369
  }
3039
- interface AuthenticationMagicAuthFailedEventResponse extends EventResponseBase {
3040
- event: 'authentication.magic_auth_failed';
3041
- data: AuthenticationEventResponse;
3370
+ //#endregion
3371
+ //#region src/pipes/interfaces/data-integrations-list-response-data-ownership.interface.d.ts
3372
+ declare const DataIntegrationsListResponseDataOwnership: {
3373
+ readonly UserlandUser: "userland_user";
3374
+ readonly Organization: "organization";
3375
+ };
3376
+ type DataIntegrationsListResponseDataOwnership = (typeof DataIntegrationsListResponseDataOwnership)[keyof typeof DataIntegrationsListResponseDataOwnership];
3377
+ //#endregion
3378
+ //#region src/pipes/interfaces/data-integrations-list-response-data.interface.d.ts
3379
+ interface DataIntegrationsListResponseData {
3380
+ /** Distinguishes the data provider object. */
3381
+ object: 'data_provider';
3382
+ /** The unique identifier of the provider. */
3383
+ id: string;
3384
+ /** The display name of the provider (e.g., "GitHub", "Slack"). */
3385
+ name: string;
3386
+ /** A description of the provider explaining how it will be used, if configured. */
3387
+ description: string | null;
3388
+ /** The slug identifier used in API calls (e.g., `github`, `slack`, `notion`). */
3389
+ slug: string;
3390
+ /** The type of integration (e.g., `github`, `slack`). */
3391
+ integrationType: string;
3392
+ /** The type of credentials used by the provider (e.g., `oauth2`). */
3393
+ credentialsType: string;
3394
+ /** The OAuth scopes configured for this provider, or `null` if none are configured. */
3395
+ scopes: string[] | null;
3396
+ /** The authentication methods supported by this provider (`oauth`, `api_key`, or both). Defaults to `["oauth"]` if absent. */
3397
+ authMethods?: DataIntegrationsListResponseDataAuthMethods[];
3398
+ /** Whether the provider is owned by a user or organization. */
3399
+ ownership: DataIntegrationsListResponseDataOwnership;
3400
+ /** The timestamp when the provider was created. */
3401
+ createdAt: string;
3402
+ /** The timestamp when the provider was last updated. */
3403
+ updatedAt: string;
3404
+ /** The user's [connected account](https://workos.com/docs/reference/pipes/connected-account) for this provider, or `null` if the user has not connected. */
3405
+ connectedAccount: DataIntegrationsListResponseDataConnectedAccount | null;
3042
3406
  }
3043
- interface AuthenticationMagicAuthSucceededEvent extends EventBase {
3044
- event: 'authentication.magic_auth_succeeded';
3045
- data: AuthenticationEvent;
3407
+ interface DataIntegrationsListResponseDataResponse {
3408
+ object: 'data_provider';
3409
+ id: string;
3410
+ name: string;
3411
+ description: string | null;
3412
+ slug: string;
3413
+ integration_type: string;
3414
+ credentials_type: string;
3415
+ scopes: string[] | null;
3416
+ auth_methods?: DataIntegrationsListResponseDataAuthMethods[];
3417
+ ownership: DataIntegrationsListResponseDataOwnership;
3418
+ created_at: string;
3419
+ updated_at: string;
3420
+ connected_account: DataIntegrationsListResponseDataConnectedAccountResponse | null;
3046
3421
  }
3047
- interface AuthenticationMagicAuthSucceededEventResponse extends EventResponseBase {
3048
- event: 'authentication.magic_auth_succeeded';
3049
- data: AuthenticationEventResponse;
3422
+ //#endregion
3423
+ //#region src/pipes/interfaces/data-integrations-list-response.interface.d.ts
3424
+ interface DataIntegrationsListResponse {
3425
+ /** Indicates this is a list response. */
3426
+ object: 'list';
3427
+ /** A list of [providers](https://workos.com/docs/reference/pipes/provider), each including a [`connected_account`](https://workos.com/docs/reference/pipes/connected-account) field with the user's connection status. */
3428
+ data: DataIntegrationsListResponseData[];
3050
3429
  }
3051
- interface AuthenticationMfaSucceededEvent extends EventBase {
3052
- event: 'authentication.mfa_succeeded';
3053
- data: AuthenticationEvent;
3430
+ interface DataIntegrationsListResponseWire {
3431
+ object: 'list';
3432
+ data: DataIntegrationsListResponseDataResponse[];
3054
3433
  }
3055
- interface AuthenticationMfaSucceededEventResponse extends EventResponseBase {
3056
- event: 'authentication.mfa_succeeded';
3057
- data: AuthenticationEventResponse;
3434
+ //#endregion
3435
+ //#region src/pipes/interfaces/delete-data-integration-options.interface.d.ts
3436
+ interface DeleteDataIntegrationOptions {
3437
+ /** The slug identifier of the data integration. */
3438
+ slug: string;
3058
3439
  }
3059
- interface AuthenticationOAuthFailedEvent extends EventBase {
3060
- event: 'authentication.oauth_failed';
3061
- data: AuthenticationEvent;
3440
+ //#endregion
3441
+ //#region src/pipes/interfaces/delete-user-connected-account-options.interface.d.ts
3442
+ interface DeleteUserConnectedAccountOptions {
3443
+ /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
3444
+ userId: string;
3445
+ /** The slug identifier of the provider (e.g., `github`, `slack`, `notion`). */
3446
+ slug: string;
3447
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter if the connection is scoped to an organization. */
3448
+ organizationId?: string;
3062
3449
  }
3063
- interface AuthenticationOAuthFailedEventResponse extends EventResponseBase {
3064
- event: 'authentication.oauth_failed';
3065
- data: AuthenticationEventResponse;
3450
+ //#endregion
3451
+ //#region src/pipes/interfaces/get-access-token-options.interface.d.ts
3452
+ interface GetAccessTokenOptions {
3453
+ /** The identifier of the integration. */
3454
+ provider: string;
3455
+ /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
3456
+ userId: string;
3457
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. */
3458
+ organizationId?: string | null;
3066
3459
  }
3067
- interface AuthenticationOAuthSucceededEvent extends EventBase {
3068
- event: 'authentication.oauth_succeeded';
3069
- data: AuthenticationEvent;
3460
+ //#endregion
3461
+ //#region src/pipes/interfaces/get-data-integration-options.interface.d.ts
3462
+ interface GetDataIntegrationOptions {
3463
+ /** The slug identifier of the data integration. */
3464
+ slug: string;
3070
3465
  }
3071
- interface AuthenticationOAuthSucceededEventResponse extends EventResponseBase {
3072
- event: 'authentication.oauth_succeeded';
3073
- data: AuthenticationEventResponse;
3466
+ //#endregion
3467
+ //#region src/pipes/interfaces/get-user-connected-account-options.interface.d.ts
3468
+ interface GetUserConnectedAccountOptions {
3469
+ /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
3470
+ userId: string;
3471
+ /** The slug identifier of the provider (e.g., `github`, `slack`, `notion`). */
3472
+ slug: string;
3473
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter if the connection is scoped to an organization. */
3474
+ organizationId?: string;
3074
3475
  }
3075
- interface AuthenticationPasskeyFailedEvent extends EventBase {
3076
- event: 'authentication.passkey_failed';
3077
- data: AuthenticationEvent;
3476
+ //#endregion
3477
+ //#region src/pipes/interfaces/list-user-data-providers-options.interface.d.ts
3478
+ interface ListUserDataProvidersOptions {
3479
+ /** A [User](https://workos.com/docs/reference/authkit/user) identifier to list providers and connected accounts for. */
3480
+ userId: string;
3481
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to filter connections for a specific organization. */
3482
+ organizationId?: string;
3078
3483
  }
3079
- interface AuthenticationPasskeyFailedEventResponse extends EventResponseBase {
3080
- event: 'authentication.passkey_failed';
3081
- data: AuthenticationEventResponse;
3484
+ //#endregion
3485
+ //#region src/pipes/interfaces/update-custom-provider-definition-authenticate-via.interface.d.ts
3486
+ declare const UpdateCustomProviderDefinitionAuthenticateVia: {
3487
+ readonly RequestBody: "request_body";
3488
+ readonly BasicAuthHeader: "basic_auth_header";
3489
+ };
3490
+ type UpdateCustomProviderDefinitionAuthenticateVia = (typeof UpdateCustomProviderDefinitionAuthenticateVia)[keyof typeof UpdateCustomProviderDefinitionAuthenticateVia];
3491
+ //#endregion
3492
+ //#region src/pipes/interfaces/update-custom-provider-definition.interface.d.ts
3493
+ interface UpdateCustomProviderDefinition {
3494
+ /** A descriptive name for the custom provider. */
3495
+ name?: string;
3496
+ /** The provider's OAuth authorization endpoint. */
3497
+ authorizationUrl?: string;
3498
+ /** The provider's OAuth token endpoint. */
3499
+ tokenUrl?: string;
3500
+ /** The endpoint used to refresh tokens, if different from the token endpoint. */
3501
+ refreshTokenUrl?: string | null;
3502
+ /** Whether PKCE is used during the authorization code flow. */
3503
+ pkceEnabled?: boolean;
3504
+ /** The separator used to join requested scopes. */
3505
+ requestScopeSeparator?: string;
3506
+ /** Whether at least one scope must be selected when connecting an account. */
3507
+ scopesRequired?: boolean;
3508
+ /** Whether a client secret is required for this provider. */
3509
+ clientSecretRequired?: boolean;
3510
+ /** Additional static query parameters appended to the authorization request. */
3511
+ additionalAuthorizationParameters?: Record<string, string>;
3512
+ /** The Content-Type used when exchanging the token request. */
3513
+ tokenBodyContentType?: string;
3514
+ /** How client credentials are sent when exchanging authorization codes and refreshing tokens. */
3515
+ authenticateVia?: UpdateCustomProviderDefinitionAuthenticateVia;
3082
3516
  }
3083
- interface AuthenticationPasskeySucceededEvent extends EventBase {
3084
- event: 'authentication.passkey_succeeded';
3085
- data: AuthenticationEvent;
3517
+ interface UpdateCustomProviderDefinitionResponse {
3518
+ name?: string;
3519
+ authorization_url?: string;
3520
+ token_url?: string;
3521
+ refresh_token_url?: string | null;
3522
+ pkce_enabled?: boolean;
3523
+ request_scope_separator?: string;
3524
+ scopes_required?: boolean;
3525
+ client_secret_required?: boolean;
3526
+ additional_authorization_parameters?: Record<string, string>;
3527
+ token_body_content_type?: string;
3528
+ authenticate_via?: UpdateCustomProviderDefinitionAuthenticateVia;
3086
3529
  }
3087
- interface AuthenticationPasskeySucceededEventResponse extends EventResponseBase {
3088
- event: 'authentication.passkey_succeeded';
3089
- data: AuthenticationEventResponse;
3530
+ //#endregion
3531
+ //#region src/pipes/interfaces/update-data-integration-api-key-options.interface.d.ts
3532
+ interface UpdateDataIntegrationApiKeyOptions {
3533
+ /** The identifier of the integration. */
3534
+ slug: string;
3535
+ /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
3536
+ userId: string;
3537
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. */
3538
+ organizationId?: string;
3539
+ /** The API key secret to store for this integration. */
3540
+ secret: string;
3090
3541
  }
3091
- interface AuthenticationPasswordFailedEvent extends EventBase {
3092
- event: 'authentication.password_failed';
3093
- data: AuthenticationEvent;
3542
+ //#endregion
3543
+ //#region src/pipes/interfaces/update-data-integration-options.interface.d.ts
3544
+ interface UpdateDataIntegrationOptions {
3545
+ /** The slug identifier of the data integration. */
3546
+ slug: string;
3547
+ /** An optional description of the Data Integration. */
3548
+ description?: string | null;
3549
+ /** Whether the Data Integration is enabled. */
3550
+ enabled?: boolean;
3551
+ /** The OAuth scopes to request for the Data Integration. Pass `null` to reset to the provider's configured scopes. */
3552
+ scopes?: string[] | null;
3553
+ /** New credentials for the Data Integration. When provided, rotates the stored client secret. */
3554
+ credentials?: DataIntegrationCredentialsDto;
3555
+ /** Updates to a custom provider's OAuth definition. Only valid for custom-provider integrations. */
3556
+ customProvider?: UpdateCustomProviderDefinition;
3094
3557
  }
3095
- interface AuthenticationPasswordFailedEventResponse extends EventResponseBase {
3096
- event: 'authentication.password_failed';
3097
- data: AuthenticationEventResponse;
3558
+ //#endregion
3559
+ //#region src/pipes/interfaces/update-user-connected-account-options.interface.d.ts
3560
+ interface UpdateUserConnectedAccountOptions {
3561
+ /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
3562
+ userId: string;
3563
+ /** The slug identifier of the provider (e.g., `github`, `slack`, `notion`). */
3564
+ slug: string;
3565
+ /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter if the connection is scoped to an organization. */
3566
+ organizationId?: string;
3567
+ /** The OAuth access token for the connected account. */
3568
+ accessToken?: string;
3569
+ /** The OAuth refresh token for the connected account. */
3570
+ refreshToken?: string;
3571
+ /** The ISO-8601 timestamp when the access token expires. Required when `access_token` is provided for tokens that expire. */
3572
+ expiresAt?: Date;
3573
+ /** The OAuth scopes granted for this connection. */
3574
+ scopes?: string[];
3575
+ /** Explicitly set the state of the connected account. When omitted, the state is derived from the token combination provided. */
3576
+ state?: ConnectedAccountState;
3098
3577
  }
3099
- interface AuthenticationPasswordSucceededEvent extends EventBase {
3100
- event: 'authentication.password_succeeded';
3101
- data: AuthenticationEvent;
3578
+ //#endregion
3579
+ //#region src/vault/interfaces/key.interface.d.ts
3580
+ interface KeyContext {
3581
+ [key: string]: any;
3102
3582
  }
3103
- interface AuthenticationPasswordSucceededEventResponse extends EventResponseBase {
3104
- event: 'authentication.password_succeeded';
3105
- data: AuthenticationEventResponse;
3583
+ interface DataKeyPair {
3584
+ context: KeyContext;
3585
+ dataKey: DataKey;
3586
+ encryptedKeys: string;
3106
3587
  }
3107
- interface AuthenticationRadarRiskDetectedEvent extends EventBase {
3108
- event: 'authentication.radar_risk_detected';
3109
- data: AuthenticationRadarRiskDetectedEventData;
3588
+ interface DataKey {
3589
+ key: string;
3590
+ id: string;
3110
3591
  }
3111
- interface AuthenticationRadarRiskDetectedEventResponse extends EventResponseBase {
3592
+ //#endregion
3593
+ //#region src/vault/interfaces/vault-event.interface.d.ts
3594
+ type VaultActorSource = 'api' | 'dashboard';
3595
+ interface VaultActor {
3596
+ actorId: string;
3597
+ actorSource: VaultActorSource;
3598
+ actorName: string;
3599
+ }
3600
+ interface VaultActorResponse {
3601
+ actor_id: string;
3602
+ actor_source: VaultActorSource;
3603
+ actor_name: string;
3604
+ }
3605
+ interface VaultDataMutatedEventData extends VaultActor {
3606
+ kvName: string;
3607
+ keyId: string;
3608
+ keyContext: KeyContext;
3609
+ }
3610
+ interface VaultDataMutatedEventResponseData extends VaultActorResponse {
3611
+ kv_name: string;
3612
+ key_id: string;
3613
+ key_context: KeyContext;
3614
+ }
3615
+ type VaultDataCreatedEventData = VaultDataMutatedEventData;
3616
+ type VaultDataUpdatedEventData = VaultDataMutatedEventData;
3617
+ type VaultDataCreatedEventResponseData = VaultDataMutatedEventResponseData;
3618
+ type VaultDataUpdatedEventResponseData = VaultDataMutatedEventResponseData;
3619
+ interface VaultDataReadEventData extends VaultActor {
3620
+ kvName: string;
3621
+ keyId: string;
3622
+ }
3623
+ interface VaultDataReadEventResponseData extends VaultActorResponse {
3624
+ kv_name: string;
3625
+ key_id: string;
3626
+ }
3627
+ interface VaultDataDeletedEventData extends VaultActor {
3628
+ kvName: string;
3629
+ }
3630
+ interface VaultDataDeletedEventResponseData extends VaultActorResponse {
3631
+ kv_name: string;
3632
+ }
3633
+ interface VaultMetadataReadEventData extends VaultActor {
3634
+ kvName: string;
3635
+ }
3636
+ interface VaultMetadataReadEventResponseData extends VaultActorResponse {
3637
+ kv_name: string;
3638
+ }
3639
+ type VaultNamesListedEventData = VaultActor;
3640
+ type VaultNamesListedEventResponseData = VaultActorResponse;
3641
+ interface VaultKekCreatedEventData extends VaultActor {
3642
+ keyName: string;
3643
+ keyId: string;
3644
+ }
3645
+ interface VaultKekCreatedEventResponseData extends VaultActorResponse {
3646
+ key_name: string;
3647
+ key_id: string;
3648
+ }
3649
+ interface VaultDekReadEventData extends VaultActor {
3650
+ keyIds: string[];
3651
+ keyContext: KeyContext;
3652
+ }
3653
+ interface VaultDekReadEventResponseData extends VaultActorResponse {
3654
+ key_ids: string[];
3655
+ key_context: KeyContext;
3656
+ }
3657
+ interface VaultDekDecryptedEventData extends VaultActor {
3658
+ keyId: string;
3659
+ }
3660
+ interface VaultDekDecryptedEventResponseData extends VaultActorResponse {
3661
+ key_id: string;
3662
+ }
3663
+ type VaultByokKeyProvider = 'AWS_KMS' | 'GCP_KMS' | 'AZURE_KEY_VAULT';
3664
+ interface VaultByokKeyVerificationCompletedEventData {
3665
+ organizationId: string;
3666
+ keyProvider: VaultByokKeyProvider;
3667
+ verified: boolean;
3668
+ }
3669
+ interface VaultByokKeyVerificationCompletedEventResponseData {
3670
+ organization_id: string;
3671
+ key_provider: VaultByokKeyProvider;
3672
+ verified: boolean;
3673
+ }
3674
+ //#endregion
3675
+ //#region src/common/interfaces/event.interface.d.ts
3676
+ interface EventBase {
3677
+ id: string;
3678
+ createdAt: string;
3679
+ context: Record<string, unknown> | undefined;
3680
+ }
3681
+ interface EventResponseBase {
3682
+ id: string;
3683
+ created_at: string;
3684
+ context?: Record<string, unknown>;
3685
+ }
3686
+ interface AuthenticationEmailVerificationSucceededEvent extends EventBase {
3687
+ event: 'authentication.email_verification_succeeded';
3688
+ data: AuthenticationEvent;
3689
+ }
3690
+ interface AuthenticationEmailVerificationSucceededEventResponse extends EventResponseBase {
3691
+ event: 'authentication.email_verification_succeeded';
3692
+ data: AuthenticationEventResponse;
3693
+ }
3694
+ interface AuthenticationMagicAuthFailedEvent extends EventBase {
3695
+ event: 'authentication.magic_auth_failed';
3696
+ data: AuthenticationEvent;
3697
+ }
3698
+ interface AuthenticationMagicAuthFailedEventResponse extends EventResponseBase {
3699
+ event: 'authentication.magic_auth_failed';
3700
+ data: AuthenticationEventResponse;
3701
+ }
3702
+ interface AuthenticationMagicAuthSucceededEvent extends EventBase {
3703
+ event: 'authentication.magic_auth_succeeded';
3704
+ data: AuthenticationEvent;
3705
+ }
3706
+ interface AuthenticationMagicAuthSucceededEventResponse extends EventResponseBase {
3707
+ event: 'authentication.magic_auth_succeeded';
3708
+ data: AuthenticationEventResponse;
3709
+ }
3710
+ interface AuthenticationMfaSucceededEvent extends EventBase {
3711
+ event: 'authentication.mfa_succeeded';
3712
+ data: AuthenticationEvent;
3713
+ }
3714
+ interface AuthenticationMfaSucceededEventResponse extends EventResponseBase {
3715
+ event: 'authentication.mfa_succeeded';
3716
+ data: AuthenticationEventResponse;
3717
+ }
3718
+ interface AuthenticationOAuthFailedEvent extends EventBase {
3719
+ event: 'authentication.oauth_failed';
3720
+ data: AuthenticationEvent;
3721
+ }
3722
+ interface AuthenticationOAuthFailedEventResponse extends EventResponseBase {
3723
+ event: 'authentication.oauth_failed';
3724
+ data: AuthenticationEventResponse;
3725
+ }
3726
+ interface AuthenticationOAuthSucceededEvent extends EventBase {
3727
+ event: 'authentication.oauth_succeeded';
3728
+ data: AuthenticationEvent;
3729
+ }
3730
+ interface AuthenticationOAuthSucceededEventResponse extends EventResponseBase {
3731
+ event: 'authentication.oauth_succeeded';
3732
+ data: AuthenticationEventResponse;
3733
+ }
3734
+ interface AuthenticationPasskeyFailedEvent extends EventBase {
3735
+ event: 'authentication.passkey_failed';
3736
+ data: AuthenticationEvent;
3737
+ }
3738
+ interface AuthenticationPasskeyFailedEventResponse extends EventResponseBase {
3739
+ event: 'authentication.passkey_failed';
3740
+ data: AuthenticationEventResponse;
3741
+ }
3742
+ interface AuthenticationPasskeySucceededEvent extends EventBase {
3743
+ event: 'authentication.passkey_succeeded';
3744
+ data: AuthenticationEvent;
3745
+ }
3746
+ interface AuthenticationPasskeySucceededEventResponse extends EventResponseBase {
3747
+ event: 'authentication.passkey_succeeded';
3748
+ data: AuthenticationEventResponse;
3749
+ }
3750
+ interface AuthenticationPasswordFailedEvent extends EventBase {
3751
+ event: 'authentication.password_failed';
3752
+ data: AuthenticationEvent;
3753
+ }
3754
+ interface AuthenticationPasswordFailedEventResponse extends EventResponseBase {
3755
+ event: 'authentication.password_failed';
3756
+ data: AuthenticationEventResponse;
3757
+ }
3758
+ interface AuthenticationPasswordSucceededEvent extends EventBase {
3759
+ event: 'authentication.password_succeeded';
3760
+ data: AuthenticationEvent;
3761
+ }
3762
+ interface AuthenticationPasswordSucceededEventResponse extends EventResponseBase {
3763
+ event: 'authentication.password_succeeded';
3764
+ data: AuthenticationEventResponse;
3765
+ }
3766
+ interface AuthenticationRadarRiskDetectedEvent extends EventBase {
3767
+ event: 'authentication.radar_risk_detected';
3768
+ data: AuthenticationRadarRiskDetectedEventData;
3769
+ }
3770
+ interface AuthenticationRadarRiskDetectedEventResponse extends EventResponseBase {
3112
3771
  event: 'authentication.radar_risk_detected';
3113
3772
  data: AuthenticationRadarRiskDetectedEventResponseData;
3114
3773
  }
@@ -3608,6 +4267,87 @@ interface GroupMemberRemovedEventResponse extends EventResponseBase {
3608
4267
  event: 'group.member_removed';
3609
4268
  data: GroupMemberEventResponseData;
3610
4269
  }
4270
+ type PipesConnectedAccountState = ConnectedAccountState | 'disconnected';
4271
+ interface PipesConnectedAccount {
4272
+ object: 'connected_account';
4273
+ id: string;
4274
+ dataIntegrationId: string;
4275
+ providerSlug: string;
4276
+ userId: string | null;
4277
+ organizationId: string | null;
4278
+ scopes: string[];
4279
+ state: PipesConnectedAccountState;
4280
+ createdAt: string;
4281
+ updatedAt: string;
4282
+ }
4283
+ interface PipesConnectedAccountResponse {
4284
+ object: 'connected_account';
4285
+ id: string;
4286
+ data_integration_id: string;
4287
+ provider_slug: string;
4288
+ user_id: string | null;
4289
+ organization_id: string | null;
4290
+ scopes: string[];
4291
+ state: PipesConnectedAccountState;
4292
+ created_at: string;
4293
+ updated_at: string;
4294
+ }
4295
+ interface PipesConnectionFailed {
4296
+ object: 'connection_failed';
4297
+ dataIntegrationId: string;
4298
+ providerSlug: string;
4299
+ userId: string | null;
4300
+ organizationId: string | null;
4301
+ errorCode: string;
4302
+ errorReason: string | null;
4303
+ providerError: string | null;
4304
+ providerErrorDescription: string | null;
4305
+ createdAt: string;
4306
+ }
4307
+ interface PipesConnectionFailedResponse {
4308
+ object: 'connection_failed';
4309
+ data_integration_id: string;
4310
+ provider_slug: string;
4311
+ user_id: string | null;
4312
+ organization_id: string | null;
4313
+ error_code: string;
4314
+ error_reason: string | null;
4315
+ provider_error: string | null;
4316
+ provider_error_description: string | null;
4317
+ created_at: string;
4318
+ }
4319
+ interface PipesConnectedAccountConnectedEvent extends EventBase {
4320
+ event: 'pipes.connected_account.connected';
4321
+ data: PipesConnectedAccount;
4322
+ }
4323
+ interface PipesConnectedAccountConnectedEventResponse extends EventResponseBase {
4324
+ event: 'pipes.connected_account.connected';
4325
+ data: PipesConnectedAccountResponse;
4326
+ }
4327
+ interface PipesConnectedAccountConnectionFailedEvent extends EventBase {
4328
+ event: 'pipes.connected_account.connection_failed';
4329
+ data: PipesConnectionFailed;
4330
+ }
4331
+ interface PipesConnectedAccountConnectionFailedEventResponse extends EventResponseBase {
4332
+ event: 'pipes.connected_account.connection_failed';
4333
+ data: PipesConnectionFailedResponse;
4334
+ }
4335
+ interface PipesConnectedAccountDisconnectedEvent extends EventBase {
4336
+ event: 'pipes.connected_account.disconnected';
4337
+ data: PipesConnectedAccount;
4338
+ }
4339
+ interface PipesConnectedAccountDisconnectedEventResponse extends EventResponseBase {
4340
+ event: 'pipes.connected_account.disconnected';
4341
+ data: PipesConnectedAccountResponse;
4342
+ }
4343
+ interface PipesConnectedAccountReauthorizationNeededEvent extends EventBase {
4344
+ event: 'pipes.connected_account.reauthorization_needed';
4345
+ data: PipesConnectedAccount;
4346
+ }
4347
+ interface PipesConnectedAccountReauthorizationNeededEventResponse extends EventResponseBase {
4348
+ event: 'pipes.connected_account.reauthorization_needed';
4349
+ data: PipesConnectedAccountResponse;
4350
+ }
3611
4351
  interface VaultDataCreatedEvent extends EventBase {
3612
4352
  event: 'vault.data.created';
3613
4353
  data: VaultDataCreatedEventData;
@@ -3692,8 +4432,8 @@ interface UnknownEvent extends EventBase {
3692
4432
  event: string;
3693
4433
  data: Record<string, unknown>;
3694
4434
  }
3695
- type Event = AuthenticationEmailVerificationSucceededEvent | AuthenticationMfaSucceededEvent | AuthenticationOAuthFailedEvent | AuthenticationOAuthSucceededEvent | AuthenticationSSOFailedEvent | AuthenticationSSOSucceededEvent | AuthenticationPasskeyFailedEvent | AuthenticationPasskeySucceededEvent | AuthenticationPasswordFailedEvent | AuthenticationPasswordSucceededEvent | AuthenticationMagicAuthFailedEvent | AuthenticationMagicAuthSucceededEvent | AuthenticationRadarRiskDetectedEvent | ConnectionActivatedEvent | ConnectionDeactivatedEvent | ConnectionDeletedEvent | DsyncActivatedEvent | DsyncDeletedEvent | DsyncGroupCreatedEvent | DsyncGroupUpdatedEvent | DsyncGroupDeletedEvent | DsyncGroupUserAddedEvent | DsyncGroupUserRemovedEvent | DsyncUserCreatedEvent | DsyncUserUpdatedEvent | DsyncUserDeletedEvent | EmailVerificationCreatedEvent | InvitationAcceptedEvent | InvitationCreatedEvent | InvitationRevokedEvent | InvitationResentEvent | MagicAuthCreatedEvent | PasswordResetCreatedEvent | PasswordResetSucceededEvent | UserCreatedEvent | UserUpdatedEvent | UserDeletedEvent | OrganizationMembershipCreated | OrganizationMembershipDeleted | OrganizationMembershipUpdated | RoleCreatedEvent | RoleDeletedEvent | RoleUpdatedEvent | OrganizationRoleCreatedEvent | OrganizationRoleUpdatedEvent | OrganizationRoleDeletedEvent | PermissionCreatedEvent | PermissionUpdatedEvent | PermissionDeletedEvent | SessionCreatedEvent | SessionRevokedEvent | OrganizationCreatedEvent | OrganizationUpdatedEvent | OrganizationDeletedEvent | OrganizationDomainVerifiedEvent | OrganizationDomainVerificationFailedEvent | OrganizationDomainCreatedEvent | OrganizationDomainUpdatedEvent | OrganizationDomainDeletedEvent | ApiKeyCreatedEvent | ApiKeyRevokedEvent | FlagCreatedEvent | FlagUpdatedEvent | FlagDeletedEvent | FlagRuleUpdatedEvent | GroupCreatedEvent | GroupUpdatedEvent | GroupDeletedEvent | GroupMemberAddedEvent | GroupMemberRemovedEvent | VaultDataCreatedEvent | VaultDataUpdatedEvent | VaultDataReadEvent | VaultDataDeletedEvent | VaultNamesListedEvent | VaultMetadataReadEvent | VaultKekCreatedEvent | VaultDekReadEvent | VaultDekDecryptedEvent | VaultByokKeyVerificationCompletedEvent;
3696
- type EventResponse = AuthenticationEmailVerificationSucceededEventResponse | AuthenticationMagicAuthFailedEventResponse | AuthenticationMagicAuthSucceededEventResponse | AuthenticationMfaSucceededEventResponse | AuthenticationOAuthFailedEventResponse | AuthenticationOAuthSucceededEventResponse | AuthenticationPasskeyFailedEventResponse | AuthenticationPasskeySucceededEventResponse | AuthenticationPasswordFailedEventResponse | AuthenticationPasswordSucceededEventResponse | AuthenticationSSOFailedEventResponse | AuthenticationSSOSucceededEventResponse | AuthenticationRadarRiskDetectedEventResponse | ConnectionActivatedEventResponse | ConnectionDeactivatedEventResponse | ConnectionDeletedEventResponse | DsyncActivatedEventResponse | DsyncDeletedEventResponse | DsyncGroupCreatedEventResponse | DsyncGroupUpdatedEventResponse | DsyncGroupDeletedEventResponse | DsyncGroupUserAddedEventResponse | DsyncGroupUserRemovedEventResponse | DsyncUserCreatedEventResponse | DsyncUserUpdatedEventResponse | DsyncUserDeletedEventResponse | EmailVerificationCreatedEventResponse | InvitationAcceptedEventResponse | InvitationCreatedEventResponse | InvitationRevokedEventResponse | InvitationResentEventResponse | MagicAuthCreatedEventResponse | PasswordResetCreatedEventResponse | PasswordResetSucceededEventResponse | UserCreatedEventResponse | UserUpdatedEventResponse | UserDeletedEventResponse | OrganizationMembershipCreatedResponse | OrganizationMembershipDeletedResponse | OrganizationMembershipUpdatedResponse | RoleCreatedEventResponse | RoleDeletedEventResponse | RoleUpdatedEventResponse | OrganizationRoleCreatedEventResponse | OrganizationRoleUpdatedEventResponse | OrganizationRoleDeletedEventResponse | PermissionCreatedEventResponse | PermissionUpdatedEventResponse | PermissionDeletedEventResponse | SessionCreatedEventResponse | SessionRevokedEventResponse | OrganizationCreatedResponse | OrganizationUpdatedResponse | OrganizationDeletedResponse | OrganizationDomainVerifiedEventResponse | OrganizationDomainVerificationFailedEventResponse | OrganizationDomainCreatedEventResponse | OrganizationDomainUpdatedEventResponse | OrganizationDomainDeletedEventResponse | ApiKeyCreatedEventResponse | ApiKeyRevokedEventResponse | FlagCreatedEventResponse | FlagUpdatedEventResponse | FlagDeletedEventResponse | FlagRuleUpdatedEventResponse | GroupCreatedEventResponse | GroupUpdatedEventResponse | GroupDeletedEventResponse | GroupMemberAddedEventResponse | GroupMemberRemovedEventResponse | VaultDataCreatedEventResponse | VaultDataUpdatedEventResponse | VaultDataReadEventResponse | VaultDataDeletedEventResponse | VaultNamesListedEventResponse | VaultMetadataReadEventResponse | VaultKekCreatedEventResponse | VaultDekReadEventResponse | VaultDekDecryptedEventResponse | VaultByokKeyVerificationCompletedEventResponse;
4435
+ type Event = AuthenticationEmailVerificationSucceededEvent | AuthenticationMfaSucceededEvent | AuthenticationOAuthFailedEvent | AuthenticationOAuthSucceededEvent | AuthenticationSSOFailedEvent | AuthenticationSSOSucceededEvent | AuthenticationPasskeyFailedEvent | AuthenticationPasskeySucceededEvent | AuthenticationPasswordFailedEvent | AuthenticationPasswordSucceededEvent | AuthenticationMagicAuthFailedEvent | AuthenticationMagicAuthSucceededEvent | AuthenticationRadarRiskDetectedEvent | ConnectionActivatedEvent | ConnectionDeactivatedEvent | ConnectionDeletedEvent | DsyncActivatedEvent | DsyncDeletedEvent | DsyncGroupCreatedEvent | DsyncGroupUpdatedEvent | DsyncGroupDeletedEvent | DsyncGroupUserAddedEvent | DsyncGroupUserRemovedEvent | DsyncUserCreatedEvent | DsyncUserUpdatedEvent | DsyncUserDeletedEvent | EmailVerificationCreatedEvent | InvitationAcceptedEvent | InvitationCreatedEvent | InvitationRevokedEvent | InvitationResentEvent | MagicAuthCreatedEvent | PasswordResetCreatedEvent | PasswordResetSucceededEvent | UserCreatedEvent | UserUpdatedEvent | UserDeletedEvent | OrganizationMembershipCreated | OrganizationMembershipDeleted | OrganizationMembershipUpdated | RoleCreatedEvent | RoleDeletedEvent | RoleUpdatedEvent | OrganizationRoleCreatedEvent | OrganizationRoleUpdatedEvent | OrganizationRoleDeletedEvent | PermissionCreatedEvent | PermissionUpdatedEvent | PermissionDeletedEvent | SessionCreatedEvent | SessionRevokedEvent | OrganizationCreatedEvent | OrganizationUpdatedEvent | OrganizationDeletedEvent | OrganizationDomainVerifiedEvent | OrganizationDomainVerificationFailedEvent | OrganizationDomainCreatedEvent | OrganizationDomainUpdatedEvent | OrganizationDomainDeletedEvent | ApiKeyCreatedEvent | ApiKeyRevokedEvent | FlagCreatedEvent | FlagUpdatedEvent | FlagDeletedEvent | FlagRuleUpdatedEvent | GroupCreatedEvent | GroupUpdatedEvent | GroupDeletedEvent | GroupMemberAddedEvent | GroupMemberRemovedEvent | PipesConnectedAccountConnectedEvent | PipesConnectedAccountConnectionFailedEvent | PipesConnectedAccountDisconnectedEvent | PipesConnectedAccountReauthorizationNeededEvent | VaultDataCreatedEvent | VaultDataUpdatedEvent | VaultDataReadEvent | VaultDataDeletedEvent | VaultNamesListedEvent | VaultMetadataReadEvent | VaultKekCreatedEvent | VaultDekReadEvent | VaultDekDecryptedEvent | VaultByokKeyVerificationCompletedEvent;
4436
+ type EventResponse = AuthenticationEmailVerificationSucceededEventResponse | AuthenticationMagicAuthFailedEventResponse | AuthenticationMagicAuthSucceededEventResponse | AuthenticationMfaSucceededEventResponse | AuthenticationOAuthFailedEventResponse | AuthenticationOAuthSucceededEventResponse | AuthenticationPasskeyFailedEventResponse | AuthenticationPasskeySucceededEventResponse | AuthenticationPasswordFailedEventResponse | AuthenticationPasswordSucceededEventResponse | AuthenticationSSOFailedEventResponse | AuthenticationSSOSucceededEventResponse | AuthenticationRadarRiskDetectedEventResponse | ConnectionActivatedEventResponse | ConnectionDeactivatedEventResponse | ConnectionDeletedEventResponse | DsyncActivatedEventResponse | DsyncDeletedEventResponse | DsyncGroupCreatedEventResponse | DsyncGroupUpdatedEventResponse | DsyncGroupDeletedEventResponse | DsyncGroupUserAddedEventResponse | DsyncGroupUserRemovedEventResponse | DsyncUserCreatedEventResponse | DsyncUserUpdatedEventResponse | DsyncUserDeletedEventResponse | EmailVerificationCreatedEventResponse | InvitationAcceptedEventResponse | InvitationCreatedEventResponse | InvitationRevokedEventResponse | InvitationResentEventResponse | MagicAuthCreatedEventResponse | PasswordResetCreatedEventResponse | PasswordResetSucceededEventResponse | UserCreatedEventResponse | UserUpdatedEventResponse | UserDeletedEventResponse | OrganizationMembershipCreatedResponse | OrganizationMembershipDeletedResponse | OrganizationMembershipUpdatedResponse | RoleCreatedEventResponse | RoleDeletedEventResponse | RoleUpdatedEventResponse | OrganizationRoleCreatedEventResponse | OrganizationRoleUpdatedEventResponse | OrganizationRoleDeletedEventResponse | PermissionCreatedEventResponse | PermissionUpdatedEventResponse | PermissionDeletedEventResponse | SessionCreatedEventResponse | SessionRevokedEventResponse | OrganizationCreatedResponse | OrganizationUpdatedResponse | OrganizationDeletedResponse | OrganizationDomainVerifiedEventResponse | OrganizationDomainVerificationFailedEventResponse | OrganizationDomainCreatedEventResponse | OrganizationDomainUpdatedEventResponse | OrganizationDomainDeletedEventResponse | ApiKeyCreatedEventResponse | ApiKeyRevokedEventResponse | FlagCreatedEventResponse | FlagUpdatedEventResponse | FlagDeletedEventResponse | FlagRuleUpdatedEventResponse | GroupCreatedEventResponse | GroupUpdatedEventResponse | GroupDeletedEventResponse | GroupMemberAddedEventResponse | GroupMemberRemovedEventResponse | PipesConnectedAccountConnectedEventResponse | PipesConnectedAccountConnectionFailedEventResponse | PipesConnectedAccountDisconnectedEventResponse | PipesConnectedAccountReauthorizationNeededEventResponse | VaultDataCreatedEventResponse | VaultDataUpdatedEventResponse | VaultDataReadEventResponse | VaultDataDeletedEventResponse | VaultNamesListedEventResponse | VaultMetadataReadEventResponse | VaultKekCreatedEventResponse | VaultDekReadEventResponse | VaultDekDecryptedEventResponse | VaultByokKeyVerificationCompletedEventResponse;
3697
4437
  type EventName = Event['event'];
3698
4438
  //#endregion
3699
4439
  //#region src/common/interfaces/generate-link-intent.interface.d.ts
@@ -3841,6 +4581,73 @@ interface SerializedCreateOrganizationOptions {
3841
4581
  }
3842
4582
  type CreateOrganizationRequestOptions = Pick<PostOptions, 'idempotencyKey'>;
3843
4583
  //#endregion
4584
+ //#region src/organizations/interfaces/it-contact-options.interface.d.ts
4585
+ declare const ItContactIntent: {
4586
+ readonly SSO: "sso";
4587
+ readonly DirectorySync: "directory_sync";
4588
+ readonly LogStreams: "log_streams";
4589
+ readonly DomainVerification: "domain_verification";
4590
+ readonly BringYourOwnKey: "bring_your_own_key";
4591
+ };
4592
+ type ItContactIntent = (typeof ItContactIntent)[keyof typeof ItContactIntent];
4593
+ interface ListItContactsOptions {
4594
+ /** Unique identifier of the Organization. */
4595
+ organizationId: string;
4596
+ }
4597
+ interface CreateItContactOptions {
4598
+ /** Unique identifier of the Organization. */
4599
+ organizationId: string;
4600
+ /** The email address of the IT Contact. */
4601
+ email: string;
4602
+ }
4603
+ interface SerializedCreateItContactOptions {
4604
+ email: string;
4605
+ }
4606
+ interface DeleteItContactOptions {
4607
+ /** Unique identifier of the Organization. */
4608
+ organizationId: string;
4609
+ /** Unique identifier of the IT Contact. */
4610
+ contactId: string;
4611
+ }
4612
+ interface InviteItContactOptions {
4613
+ /** Unique identifier of the Organization. */
4614
+ organizationId: string;
4615
+ /** Unique identifier of the IT Contact. */
4616
+ contactId: string;
4617
+ /** The Admin Portal features that the IT Contact can configure. */
4618
+ intents: ItContactIntent[];
4619
+ }
4620
+ interface SerializedInviteItContactOptions {
4621
+ intents: ItContactIntent[];
4622
+ }
4623
+ interface RevokeItContactOptions {
4624
+ /** Unique identifier of the Organization. */
4625
+ organizationId: string;
4626
+ /** Unique identifier of the IT Contact. */
4627
+ contactId: string;
4628
+ }
4629
+ //#endregion
4630
+ //#region src/organizations/interfaces/it-contact.interface.d.ts
4631
+ interface ItContact {
4632
+ /** Distinguishes the IT Contact object. */
4633
+ object: 'it_contact';
4634
+ /** Unique identifier of the IT Contact. */
4635
+ id: string;
4636
+ /** The email address of the IT Contact. */
4637
+ email: string;
4638
+ /** An ISO 8601 timestamp. */
4639
+ createdAt: string;
4640
+ /** An ISO 8601 timestamp. */
4641
+ updatedAt: string;
4642
+ }
4643
+ interface ItContactResponse {
4644
+ object: 'it_contact';
4645
+ id: string;
4646
+ email: string;
4647
+ created_at: string;
4648
+ updated_at: string;
4649
+ }
4650
+ //#endregion
3844
4651
  //#region src/organizations/interfaces/list-organization-feature-flags-options.interface.d.ts
3845
4652
  interface ListOrganizationFeatureFlagsOptions extends PaginationOptions {
3846
4653
  organizationId: string;
@@ -5162,14 +5969,72 @@ declare class Organizations {
5162
5969
  * @throws {UnprocessableEntityException} 422
5163
5970
  */
5164
5971
  updateOrganization(options: UpdateOrganizationOptions): Promise<Organization>;
5165
- }
5166
- //#endregion
5167
- //#region src/organization-domains/organization-domains.d.ts
5168
- declare class OrganizationDomains {
5169
- private readonly workos;
5170
- constructor(workos: WorkOS);
5171
5972
  /**
5172
- * Get an Organization Domain
5973
+ * List IT Contacts
5974
+ *
5975
+ * Get the IT Contacts for an Organization.
5976
+ * @param options - Object containing the Organization ID.
5977
+ * @returns {Promise<List<ItContact>>}
5978
+ * @throws {AuthorizationException} 403
5979
+ * @throws {NotFoundException} 404
5980
+ */
5981
+ listItContacts(options: ListItContactsOptions): Promise<List<ItContact>>;
5982
+ /**
5983
+ * Create an IT Contact
5984
+ *
5985
+ * Add an IT Contact to an Organization. No Admin Portal invitation is sent,
5986
+ * though the contact is notified if the Organization has a connection
5987
+ * certificate nearing expiry.
5988
+ * @param options - Object containing the Organization ID and the email address.
5989
+ * @returns {Promise<ItContact>}
5990
+ * @throws {AuthorizationException} 403
5991
+ * @throws {NotFoundException} 404
5992
+ * @throws {ConflictException} 409
5993
+ * @throws {UnprocessableEntityException} 422
5994
+ */
5995
+ createItContact(options: CreateItContactOptions): Promise<ItContact>;
5996
+ /**
5997
+ * Delete an IT Contact
5998
+ *
5999
+ * Remove an IT Contact from an Organization and revoke the contact's active
6000
+ * setup links.
6001
+ * @param options - Object containing the Organization ID and the IT Contact ID.
6002
+ * @returns {Promise<void>}
6003
+ * @throws {AuthorizationException} 403
6004
+ * @throws {NotFoundException} 404
6005
+ */
6006
+ deleteItContact(options: DeleteItContactOptions): Promise<void>;
6007
+ /**
6008
+ * Invite an IT Contact
6009
+ *
6010
+ * Create an Admin Portal setup link and email it to the IT Contact. An
6011
+ * Organization can have at most one active invitation.
6012
+ * @param options - Object containing the Organization ID, the IT Contact ID and the intents.
6013
+ * @returns {Promise<void>}
6014
+ * @throws {AuthorizationException} 403
6015
+ * @throws {NotFoundException} 404
6016
+ * @throws {ConflictException} 409
6017
+ * @throws {UnprocessableEntityException} 422
6018
+ */
6019
+ inviteItContact(options: InviteItContactOptions): Promise<void>;
6020
+ /**
6021
+ * Revoke an IT Contact's invitation
6022
+ *
6023
+ * Revoke the Organization's active Admin Portal invitation.
6024
+ * @param options - Object containing the Organization ID and the IT Contact ID.
6025
+ * @returns {Promise<void>}
6026
+ * @throws {AuthorizationException} 403
6027
+ * @throws {NotFoundException} 404
6028
+ */
6029
+ revokeItContact(options: RevokeItContactOptions): Promise<void>;
6030
+ }
6031
+ //#endregion
6032
+ //#region src/organization-domains/organization-domains.d.ts
6033
+ declare class OrganizationDomains {
6034
+ private readonly workos;
6035
+ constructor(workos: WorkOS);
6036
+ /**
6037
+ * Get an Organization Domain
5173
6038
  *
5174
6039
  * Get the details of an existing organization domain.
5175
6040
  * @param id - Unique identifier of the organization domain.
@@ -5218,541 +6083,53 @@ declare class OrganizationDomains {
5218
6083
  deleteOrganizationDomain(id: string): Promise<void>;
5219
6084
  }
5220
6085
  //#endregion
5221
- //#region src/passwordless/interfaces/passwordless-session.interface.d.ts
5222
- interface PasswordlessSession {
5223
- id: string;
5224
- email: string;
5225
- expiresAt: Date;
5226
- link: string;
5227
- object: 'passwordless_session';
5228
- }
5229
- interface PasswordlessSessionResponse {
5230
- id: string;
5231
- email: string;
5232
- expires_at: Date;
5233
- link: string;
5234
- object: 'passwordless_session';
5235
- }
5236
- //#endregion
5237
- //#region src/passwordless/interfaces/create-passwordless-session-options.interface.d.ts
5238
- interface CreatePasswordlessSessionOptions {
5239
- type: 'MagicLink';
5240
- email: string;
5241
- redirectURI?: string;
5242
- state?: string;
5243
- connection?: string;
5244
- expiresIn?: number;
5245
- }
5246
- interface SerializedCreatePasswordlessSessionOptions {
5247
- type: 'MagicLink';
5248
- email: string;
5249
- redirect_uri?: string;
5250
- state?: string;
5251
- connection?: string;
5252
- expires_in?: number;
5253
- }
5254
- //#endregion
5255
- //#region src/passwordless/interfaces/send-session-response.interface.d.ts
5256
- interface SendSessionResponse {
5257
- message?: string;
5258
- success?: boolean;
5259
- }
5260
- //#endregion
5261
- //#region src/passwordless/passwordless.d.ts
5262
- declare class Passwordless {
5263
- private readonly workos;
5264
- constructor(workos: WorkOS);
5265
- createSession({ redirectURI, expiresIn, ...options }: CreatePasswordlessSessionOptions): Promise<PasswordlessSession>;
5266
- sendSession(sessionId: string): Promise<SendSessionResponse>;
5267
- }
5268
- //#endregion
5269
- //#region src/pipes/interfaces/data-integration-credentials-type.interface.d.ts
5270
- declare const DataIntegrationCredentialsType: {
5271
- readonly Custom: "custom";
5272
- readonly Organization: "organization";
5273
- };
5274
- type DataIntegrationCredentialsType = (typeof DataIntegrationCredentialsType)[keyof typeof DataIntegrationCredentialsType];
5275
- //#endregion
5276
- //#region src/pipes/interfaces/data-integration-credentials-dto.interface.d.ts
5277
- interface DataIntegrationCredentialsDto {
5278
- /** The credentials type. `custom` uses your own OAuth app credentials; `organization` has each organization supply its own credentials (configured per-organization). */
5279
- type: DataIntegrationCredentialsType;
5280
- /** OAuth client ID for the provider app. Required when `type` is `custom`; omit for `organization`. */
5281
- clientId?: string;
5282
- /** OAuth client secret for the provider app. Required when `type` is `custom`; omit for `organization`. */
5283
- clientSecret?: string;
5284
- }
5285
- interface DataIntegrationCredentialsDtoResponse {
5286
- type: DataIntegrationCredentialsType;
5287
- client_id?: string;
5288
- client_secret?: string;
5289
- }
5290
- //#endregion
5291
- //#region src/pipes/interfaces/custom-provider-definition-authenticate-via.interface.d.ts
5292
- declare const CustomProviderDefinitionAuthenticateVia: {
5293
- readonly RequestBody: "request_body";
5294
- readonly BasicAuthHeader: "basic_auth_header";
5295
- };
5296
- type CustomProviderDefinitionAuthenticateVia = (typeof CustomProviderDefinitionAuthenticateVia)[keyof typeof CustomProviderDefinitionAuthenticateVia];
5297
- //#endregion
5298
- //#region src/pipes/interfaces/custom-provider-definition.interface.d.ts
5299
- interface CustomProviderDefinition {
5300
- /** A descriptive name for the custom provider. */
5301
- name: string;
5302
- /** The provider's OAuth authorization endpoint. */
5303
- authorizationUrl: string;
5304
- /** The provider's OAuth token endpoint. */
5305
- tokenUrl: string;
5306
- /** The endpoint used to refresh tokens, if different from the token endpoint. */
5307
- refreshTokenUrl?: string | null;
5308
- /** Whether PKCE is used during the authorization code flow. Defaults to `true`. */
5309
- pkceEnabled?: boolean;
5310
- /** The separator used to join requested scopes. Defaults to a space. */
5311
- requestScopeSeparator?: string;
5312
- /** Whether at least one scope must be selected when connecting an account. Defaults to `false`. */
5313
- scopesRequired?: boolean;
5314
- /** Whether a client secret is required for this provider. Defaults to `true`. */
5315
- clientSecretRequired?: boolean;
5316
- /** Additional static query parameters appended to the authorization request. */
5317
- additionalAuthorizationParameters?: Record<string, string>;
5318
- /** The Content-Type used when exchanging the token request. */
5319
- tokenBodyContentType?: string;
5320
- /** How client credentials are sent when exchanging authorization codes and refreshing tokens. */
5321
- authenticateVia?: CustomProviderDefinitionAuthenticateVia;
5322
- }
5323
- interface CustomProviderDefinitionResponse {
5324
- name: string;
5325
- authorization_url: string;
5326
- token_url: string;
5327
- refresh_token_url?: string | null;
5328
- pkce_enabled?: boolean;
5329
- request_scope_separator?: string;
5330
- scopes_required?: boolean;
5331
- client_secret_required?: boolean;
5332
- additional_authorization_parameters?: Record<string, string>;
5333
- token_body_content_type?: string;
5334
- authenticate_via?: CustomProviderDefinitionAuthenticateVia;
5335
- }
5336
- //#endregion
5337
- //#region src/pipes/interfaces/create-data-integration-options.interface.d.ts
5338
- interface CreateDataIntegrationOptions {
5339
- /** 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. */
5340
- provider: string;
5341
- /** An optional description of the Data Integration. */
5342
- description?: string | null;
5343
- /** Whether the Data Integration is enabled. Defaults to `false`. */
5344
- enabled?: boolean;
5345
- /** The OAuth scopes to request for the Data Integration. Defaults to the provider's configured scopes when omitted. */
5346
- scopes?: string[] | null;
5347
- /** The credentials to configure for the Data Integration. Required for both built-in and custom providers. */
5348
- credentials?: DataIntegrationCredentialsDto;
5349
- /** 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. */
5350
- customProvider?: CustomProviderDefinition;
5351
- }
5352
- //#endregion
5353
- //#region src/pipes/interfaces/get-data-integration-options.interface.d.ts
5354
- interface GetDataIntegrationOptions {
5355
- /** The slug identifier of the data integration. */
5356
- slug: string;
5357
- }
5358
- //#endregion
5359
- //#region src/pipes/interfaces/update-custom-provider-definition-authenticate-via.interface.d.ts
5360
- declare const UpdateCustomProviderDefinitionAuthenticateVia: {
5361
- readonly RequestBody: "request_body";
5362
- readonly BasicAuthHeader: "basic_auth_header";
5363
- };
5364
- type UpdateCustomProviderDefinitionAuthenticateVia = (typeof UpdateCustomProviderDefinitionAuthenticateVia)[keyof typeof UpdateCustomProviderDefinitionAuthenticateVia];
5365
- //#endregion
5366
- //#region src/pipes/interfaces/update-custom-provider-definition.interface.d.ts
5367
- interface UpdateCustomProviderDefinition {
5368
- /** A descriptive name for the custom provider. */
5369
- name?: string;
5370
- /** The provider's OAuth authorization endpoint. */
5371
- authorizationUrl?: string;
5372
- /** The provider's OAuth token endpoint. */
5373
- tokenUrl?: string;
5374
- /** The endpoint used to refresh tokens, if different from the token endpoint. */
5375
- refreshTokenUrl?: string | null;
5376
- /** Whether PKCE is used during the authorization code flow. */
5377
- pkceEnabled?: boolean;
5378
- /** The separator used to join requested scopes. */
5379
- requestScopeSeparator?: string;
5380
- /** Whether at least one scope must be selected when connecting an account. */
5381
- scopesRequired?: boolean;
5382
- /** Whether a client secret is required for this provider. */
5383
- clientSecretRequired?: boolean;
5384
- /** Additional static query parameters appended to the authorization request. */
5385
- additionalAuthorizationParameters?: Record<string, string>;
5386
- /** The Content-Type used when exchanging the token request. */
5387
- tokenBodyContentType?: string;
5388
- /** How client credentials are sent when exchanging authorization codes and refreshing tokens. */
5389
- authenticateVia?: UpdateCustomProviderDefinitionAuthenticateVia;
5390
- }
5391
- interface UpdateCustomProviderDefinitionResponse {
5392
- name?: string;
5393
- authorization_url?: string;
5394
- token_url?: string;
5395
- refresh_token_url?: string | null;
5396
- pkce_enabled?: boolean;
5397
- request_scope_separator?: string;
5398
- scopes_required?: boolean;
5399
- client_secret_required?: boolean;
5400
- additional_authorization_parameters?: Record<string, string>;
5401
- token_body_content_type?: string;
5402
- authenticate_via?: UpdateCustomProviderDefinitionAuthenticateVia;
5403
- }
5404
- //#endregion
5405
- //#region src/pipes/interfaces/update-data-integration-options.interface.d.ts
5406
- interface UpdateDataIntegrationOptions {
5407
- /** The slug identifier of the data integration. */
5408
- slug: string;
5409
- /** An optional description of the Data Integration. */
5410
- description?: string | null;
5411
- /** Whether the Data Integration is enabled. */
5412
- enabled?: boolean;
5413
- /** The OAuth scopes to request for the Data Integration. Pass `null` to reset to the provider's configured scopes. */
5414
- scopes?: string[] | null;
5415
- /** New credentials for the Data Integration. When provided, rotates the stored client secret. */
5416
- credentials?: DataIntegrationCredentialsDto;
5417
- /** Updates to a custom provider's OAuth definition. Only valid for custom-provider integrations. */
5418
- customProvider?: UpdateCustomProviderDefinition;
5419
- }
5420
- //#endregion
5421
- //#region src/pipes/interfaces/delete-data-integration-options.interface.d.ts
5422
- interface DeleteDataIntegrationOptions {
5423
- /** The slug identifier of the data integration. */
5424
- slug: string;
5425
- }
5426
- //#endregion
5427
- //#region src/pipes/interfaces/update-data-integration-api-key-options.interface.d.ts
5428
- interface UpdateDataIntegrationApiKeyOptions {
5429
- /** The identifier of the integration. */
5430
- slug: string;
5431
- /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
5432
- userId: string;
5433
- /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. */
5434
- organizationId?: string;
5435
- /** The API key secret to store for this integration. */
5436
- secret: string;
5437
- }
5438
- //#endregion
5439
- //#region src/pipes/interfaces/authorize-data-integration-options.interface.d.ts
5440
- interface AuthorizeDataIntegrationOptions {
5441
- /** The slug identifier of the provider (e.g., `github`, `slack`, `notion`). */
5442
- slug: string;
5443
- /** The ID of the user to authorize. */
5444
- userId: string;
5445
- /** An organization ID to scope the authorization to a specific organization. */
5446
- organizationId?: string;
5447
- /** The URL to redirect the user to after authorization. */
5448
- returnTo?: string;
5449
- }
5450
- //#endregion
5451
- //#region src/pipes/interfaces/create-data-integration-credential-options.interface.d.ts
5452
- interface CreateDataIntegrationCredentialOptions {
5453
- /** The identifier of the integration. */
5454
- slug: string;
5455
- /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
5456
- userId: string;
5457
- /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. */
5458
- organizationId?: string;
5459
- }
5460
- //#endregion
5461
- //#region src/pipes/interfaces/get-access-token-options.interface.d.ts
5462
- interface GetAccessTokenOptions {
5463
- /** The identifier of the integration. */
5464
- provider: string;
5465
- /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
5466
- userId: string;
5467
- /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization. */
5468
- organizationId?: string | null;
5469
- }
5470
- //#endregion
5471
- //#region src/pipes/interfaces/get-user-connected-account-options.interface.d.ts
5472
- interface GetUserConnectedAccountOptions {
5473
- /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
5474
- userId: string;
5475
- /** The slug identifier of the provider (e.g., `github`, `slack`, `notion`). */
5476
- slug: string;
5477
- /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter if the connection is scoped to an organization. */
5478
- organizationId?: string;
5479
- }
5480
- //#endregion
5481
- //#region src/pipes/interfaces/connected-account-state.interface.d.ts
5482
- declare const ConnectedAccountState: {
5483
- readonly Connected: "connected";
5484
- readonly NeedsReauthorization: "needs_reauthorization";
5485
- };
5486
- type ConnectedAccountState = (typeof ConnectedAccountState)[keyof typeof ConnectedAccountState];
5487
- //#endregion
5488
- //#region src/pipes/interfaces/create-user-connected-account-options.interface.d.ts
5489
- interface CreateUserConnectedAccountOptions {
5490
- /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
5491
- userId: string;
5492
- /** The slug identifier of the provider (e.g., `github`, `slack`, `notion`). */
5493
- slug: string;
5494
- /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter if the connection is scoped to an organization. */
5495
- organizationId?: string;
5496
- /** The OAuth access token for the connected account. */
5497
- accessToken?: string;
5498
- /** The OAuth refresh token for the connected account. */
5499
- refreshToken?: string;
5500
- /** The ISO-8601 timestamp when the access token expires. Required when `access_token` is provided for tokens that expire. */
5501
- expiresAt?: Date;
5502
- /** The OAuth scopes granted for this connection. */
5503
- scopes?: string[];
5504
- /** Explicitly set the state of the connected account. When omitted, the state is derived from the token combination provided. */
5505
- state?: ConnectedAccountState;
5506
- }
5507
- //#endregion
5508
- //#region src/pipes/interfaces/update-user-connected-account-options.interface.d.ts
5509
- interface UpdateUserConnectedAccountOptions {
5510
- /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
5511
- userId: string;
5512
- /** The slug identifier of the provider (e.g., `github`, `slack`, `notion`). */
5513
- slug: string;
5514
- /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter if the connection is scoped to an organization. */
5515
- organizationId?: string;
5516
- /** The OAuth access token for the connected account. */
5517
- accessToken?: string;
5518
- /** The OAuth refresh token for the connected account. */
5519
- refreshToken?: string;
5520
- /** The ISO-8601 timestamp when the access token expires. Required when `access_token` is provided for tokens that expire. */
5521
- expiresAt?: Date;
5522
- /** The OAuth scopes granted for this connection. */
5523
- scopes?: string[];
5524
- /** Explicitly set the state of the connected account. When omitted, the state is derived from the token combination provided. */
5525
- state?: ConnectedAccountState;
5526
- }
5527
- //#endregion
5528
- //#region src/pipes/interfaces/delete-user-connected-account-options.interface.d.ts
5529
- interface DeleteUserConnectedAccountOptions {
5530
- /** A [User](https://workos.com/docs/reference/authkit/user) identifier. */
5531
- userId: string;
5532
- /** The slug identifier of the provider (e.g., `github`, `slack`, `notion`). */
5533
- slug: string;
5534
- /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter if the connection is scoped to an organization. */
5535
- organizationId?: string;
5536
- }
5537
- //#endregion
5538
- //#region src/pipes/interfaces/list-user-data-providers-options.interface.d.ts
5539
- interface ListUserDataProvidersOptions {
5540
- /** A [User](https://workos.com/docs/reference/authkit/user) identifier to list providers and connected accounts for. */
5541
- userId: string;
5542
- /** An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to filter connections for a specific organization. */
5543
- organizationId?: string;
5544
- }
5545
- //#endregion
5546
- //#region src/pipes/interfaces/data-integration-credential-type.interface.d.ts
5547
- declare const DataIntegrationCredentialType: {
5548
- readonly Custom: "custom";
5549
- readonly Organization: "organization";
5550
- };
5551
- type DataIntegrationCredentialType = (typeof DataIntegrationCredentialType)[keyof typeof DataIntegrationCredentialType];
5552
- //#endregion
5553
- //#region src/pipes/interfaces/data-integration-credential.interface.d.ts
5554
- /** The credentials configured for the Data Integration. */
5555
- interface DataIntegrationCredential {
5556
- /** The credentials type. `custom` uses your own OAuth app credentials; `organization` has each organization supply its own credentials (so `client_id`/`redacted_client_secret` are null on the integration itself). */
5557
- type: DataIntegrationCredentialType;
5558
- /** The OAuth client ID configured for the provider app. Null for `organization` credentials. */
5559
- clientId: string | null;
5560
- /** The last four characters of the OAuth client secret. The full secret is never returned. Null for `organization` credentials. */
5561
- redactedClientSecret: string | null;
5562
- }
5563
- interface DataIntegrationCredentialResponse {
5564
- type: DataIntegrationCredentialType;
5565
- client_id: string | null;
5566
- redacted_client_secret: string | null;
5567
- }
5568
- //#endregion
5569
- //#region src/pipes/interfaces/data-integration-custom-provider-authenticate-via.interface.d.ts
5570
- declare const DataIntegrationCustomProviderAuthenticateVia: {
5571
- readonly RequestBody: "request_body";
5572
- readonly BasicAuthHeader: "basic_auth_header";
5573
- };
5574
- type DataIntegrationCustomProviderAuthenticateVia = (typeof DataIntegrationCustomProviderAuthenticateVia)[keyof typeof DataIntegrationCustomProviderAuthenticateVia];
5575
- //#endregion
5576
- //#region src/pipes/interfaces/data-integration-custom-provider.interface.d.ts
5577
- interface DataIntegrationCustomProvider {
5578
- /** A descriptive name for the custom provider. */
5579
- name: string;
5580
- /** The provider's OAuth authorization endpoint. */
5581
- authorizationUrl: string | null;
5582
- /** The provider's OAuth token endpoint. */
5583
- tokenUrl: string | null;
5584
- /** The endpoint used to refresh tokens, if different from the token endpoint. */
5585
- refreshTokenUrl: string | null;
5586
- /** Whether PKCE is used during the authorization code flow. */
5587
- pkceEnabled: boolean;
5588
- /** The separator used to join requested scopes. */
5589
- requestScopeSeparator: string;
5590
- /** Whether at least one scope must be selected when connecting an account. */
5591
- scopesRequired: boolean;
5592
- /** Whether a client secret is required for this provider. */
5593
- clientSecretRequired: boolean;
5594
- /** Additional static query parameters appended to the authorization request. */
5595
- additionalAuthorizationParameters: Record<string, string>;
5596
- /** The Content-Type used when exchanging the token request. */
5597
- tokenBodyContentType: string;
5598
- /** How client credentials are sent when exchanging authorization codes and refreshing tokens. */
5599
- authenticateVia: DataIntegrationCustomProviderAuthenticateVia;
5600
- }
5601
- interface DataIntegrationCustomProviderResponse {
5602
- name: string;
5603
- authorization_url: string | null;
5604
- token_url: string | null;
5605
- refresh_token_url: string | null;
5606
- pkce_enabled: boolean;
5607
- request_scope_separator: string;
5608
- scopes_required: boolean;
5609
- client_secret_required: boolean;
5610
- additional_authorization_parameters: Record<string, string>;
5611
- token_body_content_type: string;
5612
- authenticate_via: DataIntegrationCustomProviderAuthenticateVia;
5613
- }
5614
- //#endregion
5615
- //#region src/pipes/interfaces/data-integration-state.interface.d.ts
5616
- declare const DataIntegrationState: {
5617
- readonly Valid: "valid";
5618
- readonly Invalid: "invalid";
5619
- readonly Requested: "requested";
5620
- };
5621
- type DataIntegrationState = (typeof DataIntegrationState)[keyof typeof DataIntegrationState];
5622
- //#endregion
5623
- //#region src/pipes/interfaces/data-integration.interface.d.ts
5624
- interface DataIntegration {
5625
- /** Distinguishes the Data Integration object. */
5626
- object: 'data_integration';
5627
- /** Unique identifier of the Data Integration. */
5628
- id: string;
5629
- /** The provider slug for this Data Integration. */
5630
- slug: string;
5631
- /** The integration type derived from the provider. */
5632
- integrationType: string;
5633
- /** An optional description of the Data Integration. */
5634
- description: string | null;
5635
- /** Whether the Data Integration is enabled. */
5636
- enabled: boolean;
5637
- /** The state of the Data Integration. */
5638
- state: DataIntegrationState;
5639
- /** The OAuth scopes configured for the Data Integration. `null` when the provider's configured scopes are used. */
5640
- scopes: string[] | null;
5641
- /** The OAuth redirect URI to register with the provider when configuring the custom application. */
5642
- redirectUri: string;
5643
- /** The credentials configured for the Data Integration. */
5644
- credentials: DataIntegrationCredential;
5645
- /** The OAuth definition when this is a custom provider; `null` for built-in providers. */
5646
- customProvider: DataIntegrationCustomProvider | null;
5647
- /** An ISO 8601 timestamp. */
5648
- createdAt: Date;
5649
- /** An ISO 8601 timestamp. */
5650
- updatedAt: Date;
5651
- }
5652
- interface DataIntegrationResponse {
5653
- object: 'data_integration';
5654
- id: string;
5655
- slug: string;
5656
- integration_type: string;
5657
- description: string | null;
5658
- enabled: boolean;
5659
- state: DataIntegrationState;
5660
- scopes: string[] | null;
5661
- redirect_uri: string;
5662
- credentials: DataIntegrationCredentialResponse;
5663
- custom_provider: DataIntegrationCustomProviderResponse | null;
5664
- created_at: string;
5665
- updated_at: string;
5666
- }
5667
- //#endregion
5668
- //#region src/pipes/interfaces/connected-account-auth-method.interface.d.ts
5669
- declare const ConnectedAccountAuthMethod: {
5670
- readonly OAuth: "oauth";
5671
- readonly ApiKey: "api_key";
5672
- };
5673
- type ConnectedAccountAuthMethod = (typeof ConnectedAccountAuthMethod)[keyof typeof ConnectedAccountAuthMethod];
5674
- //#endregion
5675
- //#region src/pipes/interfaces/connected-account.interface.d.ts
5676
- interface ConnectedAccount {
5677
- /** Distinguishes the connected account object. */
5678
- object: 'connected_account';
5679
- /** The unique identifier of the connected account. */
5680
- id: string;
5681
- /** The [User](https://workos.com/docs/reference/authkit/user) identifier associated with this connection. */
5682
- userId: string | null;
5683
- /** The [Organization](https://workos.com/docs/reference/organization) identifier associated with this connection, or `null` if not scoped to an organization. */
5684
- organizationId: string | null;
5685
- /** The OAuth scopes granted for this connection. */
5686
- scopes: string[];
5687
- /** The authentication method used for this connection (`oauth` or `api_key`). Defaults to `oauth` if absent. */
5688
- authMethod?: ConnectedAccountAuthMethod;
5689
- /** The last four characters of the API key, or `null` for OAuth connections. */
5690
- apiKeyLast4?: string | null;
5691
- /**
5692
- * The state of the connected account:
5693
- * - `connected`: The connection is active and tokens are valid.
5694
- * - `needs_reauthorization`: The user needs to reauthorize the connection, typically because required scopes have changed.
5695
- * - `disconnected`: The connection has been disconnected.
5696
- */
5697
- state: ConnectedAccountState;
5698
- /** The timestamp when the connection was created. */
5699
- createdAt: string;
5700
- /** The timestamp when the connection was last updated. */
5701
- updatedAt: string;
6086
+ //#region src/passwordless/interfaces/passwordless-session.interface.d.ts
6087
+ interface PasswordlessSession {
6088
+ id: string;
6089
+ email: string;
6090
+ expiresAt: Date;
6091
+ link: string;
6092
+ object: 'passwordless_session';
5702
6093
  }
5703
- interface ConnectedAccountResponse {
5704
- object: 'connected_account';
6094
+ interface PasswordlessSessionResponse {
5705
6095
  id: string;
5706
- user_id: string | null;
5707
- organization_id: string | null;
5708
- scopes: string[];
5709
- auth_method?: ConnectedAccountAuthMethod;
5710
- api_key_last_4?: string | null;
5711
- state: ConnectedAccountState;
5712
- created_at: string;
5713
- updated_at: string;
6096
+ email: string;
6097
+ expires_at: Date;
6098
+ link: string;
6099
+ object: 'passwordless_session';
5714
6100
  }
5715
6101
  //#endregion
5716
- //#region src/pipes/interfaces/data-integration-authorize-url-response.interface.d.ts
5717
- interface DataIntegrationAuthorizeUrlResponse {
5718
- /** The OAuth authorization URL to redirect the user to. */
5719
- url: string;
6102
+ //#region src/passwordless/interfaces/create-passwordless-session-options.interface.d.ts
6103
+ interface CreatePasswordlessSessionOptions {
6104
+ type: 'MagicLink';
6105
+ email: string;
6106
+ redirectURI?: string;
6107
+ state?: string;
6108
+ connection?: string;
6109
+ expiresIn?: number;
5720
6110
  }
5721
- interface DataIntegrationAuthorizeUrlResponseWire {
5722
- url: string;
6111
+ interface SerializedCreatePasswordlessSessionOptions {
6112
+ type: 'MagicLink';
6113
+ email: string;
6114
+ redirect_uri?: string;
6115
+ state?: string;
6116
+ connection?: string;
6117
+ expires_in?: number;
5723
6118
  }
5724
6119
  //#endregion
5725
- //#region src/pipes/interfaces/data-integration-credentials-response-credential.interface.d.ts
5726
- /** The credential object containing the vended secret. */
5727
- interface DataIntegrationCredentialsResponseCredential {
5728
- /** Distinguishes the credential object. */
5729
- object: 'credential';
5730
- /** The authentication method for this credential. Additional values may be added in the future; handle unknown values gracefully. */
5731
- authMethod: 'oauth';
5732
- /** The OAuth access token. */
5733
- value: string;
5734
- /** The ISO-8601 formatted timestamp indicating when the credential expires. */
5735
- expiresAt: string | null;
5736
- /** The scopes granted to the access token. */
5737
- scopes: string[];
5738
- /** If the integration has requested scopes that aren't present on the access token, they're listed here. */
5739
- missingScopes: string[];
5740
- }
5741
- interface DataIntegrationCredentialsResponseCredentialResponse {
5742
- object: 'credential';
5743
- auth_method: 'oauth';
5744
- value: string;
5745
- expires_at: string | null;
5746
- scopes: string[];
5747
- missing_scopes: string[];
6120
+ //#region src/passwordless/interfaces/send-session-response.interface.d.ts
6121
+ interface SendSessionResponse {
6122
+ message?: string;
6123
+ success?: boolean;
5748
6124
  }
5749
6125
  //#endregion
5750
- //#region src/pipes/interfaces/data-integration-credentials-response-error.interface.d.ts
5751
- declare const DataIntegrationCredentialsResponseError: {
5752
- readonly NotInstalled: "not_installed";
5753
- readonly NeedsReauthorization: "needs_reauthorization";
5754
- };
5755
- type DataIntegrationCredentialsResponseError = (typeof DataIntegrationCredentialsResponseError)[keyof typeof DataIntegrationCredentialsResponseError];
6126
+ //#region src/passwordless/passwordless.d.ts
6127
+ declare class Passwordless {
6128
+ private readonly workos;
6129
+ constructor(workos: WorkOS);
6130
+ createSession({ redirectURI, expiresIn, ...options }: CreatePasswordlessSessionOptions): Promise<PasswordlessSession>;
6131
+ sendSession(sessionId: string): Promise<SendSessionResponse>;
6132
+ }
5756
6133
  //#endregion
5757
6134
  //#region src/pipes/interfaces/data-integration-credentials-response.interface.d.ts
5758
6135
  interface DataIntegrationCredentialsResponse {
@@ -5768,177 +6145,6 @@ interface DataIntegrationCredentialsResponse {
5768
6145
  error?: DataIntegrationCredentialsResponseError;
5769
6146
  }
5770
6147
  //#endregion
5771
- //#region src/pipes/interfaces/data-integration-access-token-response-access-token.interface.d.ts
5772
- /** The [access token](https://workos.com/docs/reference/pipes/access-token) object, present when `active` is `true`. */
5773
- interface DataIntegrationAccessTokenResponseAccessToken {
5774
- /** Distinguishes the access token object. */
5775
- object: 'access_token';
5776
- /** The OAuth access token for the connected integration. */
5777
- accessToken: string;
5778
- /** The ISO-8601 formatted timestamp indicating when the access token expires. */
5779
- expiresAt: Date | null;
5780
- /** The scopes granted to the access token. */
5781
- scopes: string[];
5782
- /** If the integration has requested scopes that aren't present on the access token, they're listed here. */
5783
- missingScopes: string[];
5784
- }
5785
- interface DataIntegrationAccessTokenResponseAccessTokenResponse {
5786
- object: 'access_token';
5787
- access_token: string;
5788
- expires_at: string | null;
5789
- scopes: string[];
5790
- missing_scopes: string[];
5791
- }
5792
- //#endregion
5793
- //#region src/pipes/interfaces/data-integration-access-token-response.interface.d.ts
5794
- type DataIntegrationAccessTokenResponse = {
5795
- active: true;
5796
- accessToken: DataIntegrationAccessTokenResponseAccessToken;
5797
- } | {
5798
- active: false;
5799
- error: 'needs_reauthorization' | 'not_installed';
5800
- };
5801
- type DataIntegrationAccessTokenResponseWire = {
5802
- active: true;
5803
- access_token: DataIntegrationAccessTokenResponseAccessTokenResponse;
5804
- } | {
5805
- active: false;
5806
- error: 'needs_reauthorization' | 'not_installed';
5807
- };
5808
- //#endregion
5809
- //#region src/pipes/interfaces/data-integrations-list-response-data-connected-account-auth-method.interface.d.ts
5810
- declare const DataIntegrationsListResponseDataConnectedAccountAuthMethod: {
5811
- readonly OAuth: "oauth";
5812
- readonly ApiKey: "api_key";
5813
- };
5814
- type DataIntegrationsListResponseDataConnectedAccountAuthMethod = (typeof DataIntegrationsListResponseDataConnectedAccountAuthMethod)[keyof typeof DataIntegrationsListResponseDataConnectedAccountAuthMethod];
5815
- //#endregion
5816
- //#region src/pipes/interfaces/data-integrations-list-response-data-connected-account-state.interface.d.ts
5817
- declare const DataIntegrationsListResponseDataConnectedAccountState: {
5818
- readonly Connected: "connected";
5819
- readonly NeedsReauthorization: "needs_reauthorization";
5820
- readonly Disconnected: "disconnected";
5821
- };
5822
- type DataIntegrationsListResponseDataConnectedAccountState = (typeof DataIntegrationsListResponseDataConnectedAccountState)[keyof typeof DataIntegrationsListResponseDataConnectedAccountState];
5823
- //#endregion
5824
- //#region src/pipes/interfaces/data-integrations-list-response-data-connected-account.interface.d.ts
5825
- interface DataIntegrationsListResponseDataConnectedAccount {
5826
- /** Distinguishes the connected account object. */
5827
- object: 'connected_account';
5828
- /** The unique identifier of the connected account. */
5829
- id: string;
5830
- /** The [User](https://workos.com/docs/reference/authkit/user) identifier associated with this connection. */
5831
- userId: string | null;
5832
- /** The [Organization](https://workos.com/docs/reference/organization) identifier associated with this connection, or `null` if not scoped to an organization. */
5833
- organizationId: string | null;
5834
- /** The OAuth scopes granted for this connection. */
5835
- scopes: string[];
5836
- /** The authentication method used for this connection (`oauth` or `api_key`). Defaults to `oauth` if absent. */
5837
- authMethod?: DataIntegrationsListResponseDataConnectedAccountAuthMethod;
5838
- /** The last four characters of the API key, or `null` for OAuth connections. */
5839
- apiKeyLast4?: string | null;
5840
- /**
5841
- * The state of the connected account:
5842
- * - `connected`: The connection is active and tokens are valid.
5843
- * - `needs_reauthorization`: The user needs to reauthorize the connection, typically because required scopes have changed.
5844
- * - `disconnected`: The connection has been disconnected.
5845
- */
5846
- state: DataIntegrationsListResponseDataConnectedAccountState;
5847
- /** The timestamp when the connection was created. */
5848
- createdAt: string;
5849
- /** The timestamp when the connection was last updated. */
5850
- updatedAt: string;
5851
- /**
5852
- * Use `user_id` instead.
5853
- * @deprecated
5854
- */
5855
- userlandUserId: string | null;
5856
- }
5857
- interface DataIntegrationsListResponseDataConnectedAccountResponse {
5858
- object: 'connected_account';
5859
- id: string;
5860
- user_id: string | null;
5861
- organization_id: string | null;
5862
- scopes: string[];
5863
- auth_method?: DataIntegrationsListResponseDataConnectedAccountAuthMethod;
5864
- api_key_last_4?: string | null;
5865
- state: DataIntegrationsListResponseDataConnectedAccountState;
5866
- created_at: string;
5867
- updated_at: string;
5868
- userland_user_id: string | null;
5869
- }
5870
- //#endregion
5871
- //#region src/pipes/interfaces/data-integrations-list-response-data-auth-methods.interface.d.ts
5872
- declare const DataIntegrationsListResponseDataAuthMethods: {
5873
- readonly OAuth: "oauth";
5874
- readonly ApiKey: "api_key";
5875
- };
5876
- type DataIntegrationsListResponseDataAuthMethods = (typeof DataIntegrationsListResponseDataAuthMethods)[keyof typeof DataIntegrationsListResponseDataAuthMethods];
5877
- //#endregion
5878
- //#region src/pipes/interfaces/data-integrations-list-response-data-ownership.interface.d.ts
5879
- declare const DataIntegrationsListResponseDataOwnership: {
5880
- readonly UserlandUser: "userland_user";
5881
- readonly Organization: "organization";
5882
- };
5883
- type DataIntegrationsListResponseDataOwnership = (typeof DataIntegrationsListResponseDataOwnership)[keyof typeof DataIntegrationsListResponseDataOwnership];
5884
- //#endregion
5885
- //#region src/pipes/interfaces/data-integrations-list-response-data.interface.d.ts
5886
- interface DataIntegrationsListResponseData {
5887
- /** Distinguishes the data provider object. */
5888
- object: 'data_provider';
5889
- /** The unique identifier of the provider. */
5890
- id: string;
5891
- /** The display name of the provider (e.g., "GitHub", "Slack"). */
5892
- name: string;
5893
- /** A description of the provider explaining how it will be used, if configured. */
5894
- description: string | null;
5895
- /** The slug identifier used in API calls (e.g., `github`, `slack`, `notion`). */
5896
- slug: string;
5897
- /** The type of integration (e.g., `github`, `slack`). */
5898
- integrationType: string;
5899
- /** The type of credentials used by the provider (e.g., `oauth2`). */
5900
- credentialsType: string;
5901
- /** The OAuth scopes configured for this provider, or `null` if none are configured. */
5902
- scopes: string[] | null;
5903
- /** The authentication methods supported by this provider (`oauth`, `api_key`, or both). Defaults to `["oauth"]` if absent. */
5904
- authMethods?: DataIntegrationsListResponseDataAuthMethods[];
5905
- /** Whether the provider is owned by a user or organization. */
5906
- ownership: DataIntegrationsListResponseDataOwnership;
5907
- /** The timestamp when the provider was created. */
5908
- createdAt: string;
5909
- /** The timestamp when the provider was last updated. */
5910
- updatedAt: string;
5911
- /** The user's [connected account](https://workos.com/docs/reference/pipes/connected-account) for this provider, or `null` if the user has not connected. */
5912
- connectedAccount: DataIntegrationsListResponseDataConnectedAccount | null;
5913
- }
5914
- interface DataIntegrationsListResponseDataResponse {
5915
- object: 'data_provider';
5916
- id: string;
5917
- name: string;
5918
- description: string | null;
5919
- slug: string;
5920
- integration_type: string;
5921
- credentials_type: string;
5922
- scopes: string[] | null;
5923
- auth_methods?: DataIntegrationsListResponseDataAuthMethods[];
5924
- ownership: DataIntegrationsListResponseDataOwnership;
5925
- created_at: string;
5926
- updated_at: string;
5927
- connected_account: DataIntegrationsListResponseDataConnectedAccountResponse | null;
5928
- }
5929
- //#endregion
5930
- //#region src/pipes/interfaces/data-integrations-list-response.interface.d.ts
5931
- interface DataIntegrationsListResponse {
5932
- /** Indicates this is a list response. */
5933
- object: 'list';
5934
- /** A list of [providers](https://workos.com/docs/reference/pipes/provider), each including a [`connected_account`](https://workos.com/docs/reference/pipes/connected-account) field with the user's connection status. */
5935
- data: DataIntegrationsListResponseData[];
5936
- }
5937
- interface DataIntegrationsListResponseWire {
5938
- object: 'list';
5939
- data: DataIntegrationsListResponseDataResponse[];
5940
- }
5941
- //#endregion
5942
6148
  //#region src/pipes/pipes.d.ts
5943
6149
  declare class Pipes {
5944
6150
  private readonly workos;
@@ -9315,6 +9521,7 @@ declare const CreateWebhookEndpointEvents: {
9315
9521
  readonly PermissionDeleted: "permission.deleted";
9316
9522
  readonly PermissionUpdated: "permission.updated";
9317
9523
  readonly PipesConnectedAccountConnected: "pipes.connected_account.connected";
9524
+ readonly PipesConnectedAccountConnectionFailed: "pipes.connected_account.connection_failed";
9318
9525
  readonly PipesConnectedAccountDisconnected: "pipes.connected_account.disconnected";
9319
9526
  readonly PipesConnectedAccountReauthorizationNeeded: "pipes.connected_account.reauthorization_needed";
9320
9527
  readonly SessionCreated: "session.created";
@@ -9415,6 +9622,7 @@ declare const UpdateWebhookEndpointEvents: {
9415
9622
  readonly PermissionDeleted: "permission.deleted";
9416
9623
  readonly PermissionUpdated: "permission.updated";
9417
9624
  readonly PipesConnectedAccountConnected: "pipes.connected_account.connected";
9625
+ readonly PipesConnectedAccountConnectionFailed: "pipes.connected_account.connection_failed";
9418
9626
  readonly PipesConnectedAccountDisconnected: "pipes.connected_account.disconnected";
9419
9627
  readonly PipesConnectedAccountReauthorizationNeeded: "pipes.connected_account.reauthorization_needed";
9420
9628
  readonly SessionCreated: "session.created";
@@ -9713,8 +9921,9 @@ declare class UnprocessableEntityException extends Error implements RequestExcep
9713
9921
  readonly message: string;
9714
9922
  readonly code?: string;
9715
9923
  readonly requestID: string;
9716
- constructor({ code, errors, message, requestID }: {
9924
+ constructor({ code, error, errors, message, requestID }: {
9717
9925
  code?: string;
9926
+ error?: string;
9718
9927
  errors?: UnprocessableEntityError[];
9719
9928
  message?: string;
9720
9929
  requestID: string;
@@ -9859,5 +10068,5 @@ interface ConfidentialClientOptions extends WorkOSOptions {
9859
10068
  declare function createWorkOS(options: PublicClientOptions): PublicWorkOS;
9860
10069
  declare function createWorkOS(options: ConfidentialClientOptions): WorkOS;
9861
10070
  //#endregion
9862
- export { ReadObjectMetadataResponse as $, FlagDeletedEventResponse as $a, SerializedUpdateUserOptions as $c, SerializedListConnectionsOptions as $d, RemoveRoleOptionsWithResourceId as $f, AuthenticationMfaSucceededEventResponse as $i, ListInvitationsOptions as $l, PasswordlessSessionResponse as $n, OrganizationUpdatedResponse as $o, SerializedUpdateOrganizationRoleOptions as $p, SerializedLinkClaimAttemptToExternalUserOptions as $r, ListGroupsOptions as $s, DataIntegrationsListResponseDataOwnership as $t, AuthenticateWithSessionCookieFailureReason as $u, ApiKeyRequiredException as A, DsyncGroupDeletedEvent as Aa, CreatedApiKey as Ac, AuthenticateUserWithMagicAuthCredentials as Ad, SerializedGroupRoleAssignmentEntry as Af, DomainData as Ai, CreateMagicAuthResponseResponse as Al, HttpClientResponseInterface as Am, ConnectedAccountState as An, OrganizationDomainCreatedEvent as Ao, DeleteAuthorizationResourceByExternalIdOptions as Ap, CompleteOAuth2Options as Ar, VaultDataCreatedEventResponse as As, SerializedAuditLogExportOptions as At, AuthenticationFactorResponse as Au, ObjectSummaryResponse as B, DsyncUserDeletedEvent as Ba, OrganizationDomainResponse as Bc, SerializedAuthenticateWithCodeOptions as Bd, CreateGroupRoleAssignmentOptions as Bf, GetOptions as Bi, SerializedListUserApiKeysOptions as Bl, UpdateCustomProviderDefinitionAuthenticateVia as Bn, OrganizationMembershipCreated as Bo, SerializedCreateAuthorizationResourceOptions as Bp, AgentCredentialValidation as Br, VaultDekReadEventResponse as Bs, RadarStandaloneResponse as Bt, TotpResponse as Bu, BadRequestException as C, ConnectionDeletedEventResponse as Ca, LegacyEvaluationContext as Cc, SerializedAuthenticateWithOrganizationSelectionOptions as Cd, ListEffectivePermissionsOptions as Cf, Organization as Ci, RetryableRefreshSessionFailureReason as Cl, DirectoryState as Cm, DataIntegrationCredential as Cn, InvitationRevokedEventResponse as Co, SerializedListResourcesForMembershipOptions as Cp, CreateM2MApplication as Cr, UserDeletedEvent as Cs, AuditLogSchema as Ct, CreateMagicAuthOptions as Cu, isAuthenticationErrorData as D, DsyncDeletedEventResponse as Da, ValidateApiKeyOptions as Dc, AuthenticateUserWithRadarEmailChallengeCredentials as Dd, GroupRoleAssignmentEntryWithResourceExternalId as Df, CreateOrganizationOptions as Di, PasswordResetEventResponse as Dl, EventDirectoryResponse as Dm, DeleteUserConnectedAccountOptions as Dn, OrganizationCreatedResponse as Do, AuthorizationCheckResult as Dp, RedirectUriInput as Dr, VaultByokKeyVerificationCompletedEvent as Ds, AuditLogExport as Dt, AuthenticationRadarRiskDetectedEventData as Du, AuthenticationException as E, DsyncDeletedEvent as Ea, SerializedValidateApiKeyResponse as Ec, SerializedAuthenticateWithRadarSmsChallengeOptions as Ed, GroupRoleAssignmentEntryForOrganization as Ef, ListOrganizationFeatureFlagsOptions as Ei, PasswordResetEvent as El, EventDirectory as Em, ListUserDataProvidersOptions as En, OrganizationCreatedEvent as Eo, AuthorizationCheckOptionsWithResourceId as Ep, CreateOAuthApplicationResponse as Er, UserUpdatedEventResponse as Es, AuditLogTargetSchema as Et, UserManagementAuthorizationURLOptions as Eu, UpdateWebhookEndpointEvents as F, DsyncGroupUserAddedEventResponse as Fa, ApiKey as Fc, SerializedAuthenticateWithEmailVerificationOptions as Fd, RemoveGroupRoleAssignmentsOptionsWithResourceExternalId as Ff, PutOptions as Fi, LogoutURLOptions as Fl, CryptoProvider as Fm, UpdateDataIntegrationApiKeyOptions as Fn, OrganizationDomainUpdatedEventResponse as Fo, AuthorizationResource as Fp, UserObject as Fr, VaultDataUpdatedEvent as Fs, Challenge as Ft, FactorResponse as Fu, ObjectMetadata as G, EmailVerificationCreatedEventResponse as Ga, SerializedVerifyEmailOptions as Gc, WithResolvedClientId as Gd, GetGroupRoleAssignmentOptions as Gf, ApiKeyRevokedEventResponse as Gi, SerializedListOrganizationMembershipsOptions as Gl, CustomProviderDefinitionAuthenticateVia as Gn, OrganizationMembershipUpdatedResponse as Go, UpdatePermissionOptions as Gp, ValidAgentCredential as Gr, VaultNamesListedEvent as Gs, RadarListAction as Gt, AuthenticationEvent as Gu, ObjectVersionResponse as H, DsyncUserUpdatedEvent as Ha, OrganizationDomainVerificationStrategy as Hc, AuthenticateWithSessionOptions as Hd, CreateGroupRoleAssignmentOptionsWithResourceExternalId as Hf, ApiKeyCreatedEvent as Hi, ListSessionsOptions as Hl, CreateDataIntegrationOptions as Hn, OrganizationMembershipDeleted as Ho, UpdateAuthorizationResourceOptions as Hp, SerializedAgentAccessTokenClaims as Hr, VaultKekCreatedEventResponse as Hs, RadarStandaloneResponseBlocklistType as Ht, TotpWithSecretsResponse as Hu, UpdateWebhookEndpointStatus as I, DsyncGroupUserRemovedEvent as Ia, SerializedApiKey as Ic, AuthenticateWithCodeAndVerifierOptions as Id, RemoveGroupRoleAssignmentsOptionsWithResourceId as If, PostOptions as Ii, Locale as Il, DeleteDataIntegrationOptions as In, OrganizationDomainVerificationFailedEvent as Io, AuthorizationResourceResponse as Ip, UserObjectResponse as Ir, VaultDataUpdatedEventResponse as Is, ChallengeResponse as It, FactorType as Iu, ActorResponse as J, EventName as Ja, UserApiKeyWithValue as Jc, Profile as Jd, GroupRoleAssignmentResponse as Jf, AuthenticationMagicAuthFailedEvent as Ji, BaseOrganizationMembership as Jl, DataIntegrationCredentialsType as Jn, OrganizationRoleDeletedEvent as Jo, Permission as Jp, ValidateAgentCredentialOptions as Jr, DataKeyPair as Js, RadarStandaloneAssessRequestAuthMethod as Jt, AuthenticationEventSsoResponse as Ju, ObjectMetadataResponse as K, Event as Ka, VerifyEmailOptions as Kc, ProfileAndToken as Kd, ListGroupRoleAssignmentsOptions as Kf, AuthenticationEmailVerificationSucceededEvent as Ki, AuthorizationOrganizationMembership as Kl, DataIntegrationCredentialsDto as Kn, OrganizationRoleCreatedEvent as Ko, CreatePermissionOptions as Kp, ValidateAgentAccessTokenOptions as Kr, VaultNamesListedEventResponse as Ks, RadarListType as Kt, AuthenticationEventResponse as Ku, CreateWebhookEndpointEvents as L, DsyncGroupUserRemovedEventResponse as La, OrganizationDomainVerificationFailed as Lc, SerializedAuthenticateWithCodeAndVerifierOptions as Ld, SerializedRemoveGroupRoleAssignmentsOptions as Lf, PatchOptions as Li, ListUsersOptions as Ll, UpdateDataIntegrationOptions as Ln, OrganizationDomainVerificationFailedEventResponse as Lo, CreateAuthorizationResourceOptions as Lp, AutoPaginatable as Lr, VaultDekDecryptedEvent as Ls, ChallengeFactorOptions as Lt, FactorWithSecrets as Lu, WebhookEndpoint as M, DsyncGroupUpdatedEvent as Ma, CreateOrganizationApiKeyOptions as Mc, SerializedAuthenticateWithMagicAuthOptions as Md, BaseRemoveGroupRoleAssignmentsOptions as Mf, WorkOSResponseError as Mi, MagicAuthEvent as Ml, RequestOptions as Mm, GetAccessTokenOptions as Mn, OrganizationDomainDeletedEvent as Mo, GetAuthorizationResourceByExternalIdOptions as Mp, UserConsentOptionResponse as Mr, VaultDataDeletedEventResponse as Ms, VerifyResponseResponse as Mt, AuthenticationFactorWithSecrets as Mu, WebhookEndpointResponse as N, DsyncGroupUpdatedEventResponse as Na, CreateOrganizationApiKeyRequestOptions as Nc, AuthenticateUserWithEmailVerificationCredentials as Nd, RemoveGroupRoleAssignmentsOptions as Nf, WorkOSOptions as Ni, MagicAuthEventResponse as Nl, ResponseHeaderValue as Nm, CreateDataIntegrationCredentialOptions as Nn, OrganizationDomainDeletedEventResponse as No, ListAuthorizationResourcesOptions as Np, UserConsentOptionChoice as Nr, VaultDataReadEvent as Ns, VerifyChallengeOptions as Nt, AuthenticationFactorWithSecretsResponse as Nu, GenericServerException as O, DsyncGroupCreatedEvent as Oa, ValidateApiKeyResponse as Oc, AuthenticateWithRadarEmailChallengeOptions as Od, GroupRoleAssignmentEntryWithResourceId as Of, CreateOrganizationRequestOptions as Oi, PasswordResetResponse as Ol, HttpClient as Om, UpdateUserConnectedAccountOptions as On, OrganizationDeletedEvent as Oo, SerializedAuthorizationCheckOptions as Op, RedirectUriInputResponse as Or, VaultByokKeyVerificationCompletedEventResponse as Os, AuditLogExportResponse as Ot, AuthenticationRadarRiskDetectedEventResponseData as Ou, WebhookEndpointStatus as P, DsyncGroupUserAddedEvent as Pa, SerializedCreateOrganizationApiKeyOptions as Pc, AuthenticateWithEmailVerificationOptions as Pd, RemoveGroupRoleAssignmentsOptionsForOrganization as Pf, UnprocessableEntityError as Pi, MagicAuthResponse as Pl, ResponseHeaders as Pm, AuthorizeDataIntegrationOptions as Pn, OrganizationDomainUpdatedEvent as Po, SerializedListAuthorizationResourcesOptions as Pp, UserConsentOptionChoiceResponse as Pr, VaultDataReadEventResponse as Ps, EnrollFactorOptions as Pt, Factor as Pu, UpdateObjectOptions as Q, FlagDeletedEvent as Qa, UpdateUserPasswordOptions as Qc, ListConnectionsOptions as Qd, RemoveRoleOptionsWithResourceExternalId as Qf, AuthenticationMfaSucceededEvent as Qi, OrganizationMembershipStatus as Ql, PasswordlessSession as Qn, OrganizationUpdatedEvent as Qo, SetOrganizationRolePermissionsOptions as Qp, SerializedClaimAttemptResponse as Qr, RemoveGroupOrganizationMembershipOptions as Qs, DataIntegrationsListResponseDataResponse as Qt, AuthenticateWithSessionCookieFailedResponse as Qu, WorkOS as R, DsyncUserCreatedEvent as Ra, OrganizationDomainVerificationFailedResponse as Rc, AuthenticateUserWithCodeCredentials as Rd, RemoveGroupRoleAssignmentOptions as Rf, List as Ri, SerializedListUsersOptions as Rl, UpdateCustomProviderDefinition as Rn, OrganizationDomainVerifiedEvent as Ro, CreateOptionsWithParentExternalId as Rp, AgentAccessTokenClaims as Rr, VaultDekDecryptedEventResponse as Rs, RadarListEntryAlreadyPresentResponse as Rt, FactorWithSecretsResponse as Ru, ConflictException as S, ConnectionDeletedEvent as Sa, EvaluationResource as Sc, AuthenticateWithOrganizationSelectionOptions as Sd, ListEffectivePermissionsByExternalIdOptions as Sf, UpdateOrganizationOptions as Si, RefreshSessionResponse as Sl, DirectoryResponse as Sm, DataIntegrationCustomProviderAuthenticateVia as Sn, InvitationRevokedEvent as So, ListResourcesForMembershipOptionsWithParentId as Sp, CreateApplicationOptions as Sr, UserCreatedEventResponse as Ss, AuditLogActorSchema as St, SerializedCreateOrganizationMembershipOptions as Su, AuthenticationErrorData as T, DsyncActivatedEventResponse as Ta, AddFlagTargetOptions as Tc, AuthenticateWithRadarSmsChallengeOptions as Td, GroupRoleAssignmentEntry as Tf, ListOrganizationsOptions as Ti, PasswordReset as Tl, DirectoryType as Tm, DataIntegrationCredentialType as Tn, MagicAuthCreatedEventResponse as To, AuthorizationCheckOptionsWithResourceExternalId as Tp, CreateOAuthApplication as Tr, UserUpdatedEvent as Ts, AuditLogSchemaResponse as Tt, PKCEAuthorizationURLResult as Tu, VaultObject as U, DsyncUserUpdatedEventResponse as Ua, CreateOrganizationDomainOptions as Uc, SerializedAuthenticatePublicClientBase as Ud, CreateGroupRoleAssignmentOptionsWithResourceId as Uf, ApiKeyCreatedEventResponse as Ui, SerializedListSessionsOptions as Ul, CustomProviderDefinition as Un, OrganizationMembershipDeletedResponse as Uo, ListPermissionsOptions as Up, SerializedAgentCredentialValidation as Ur, VaultMetadataReadEvent as Us, RadarStandaloneResponseControl as Ut, Sms as Uu, ObjectVersion as V, DsyncUserDeletedEventResponse as Va, OrganizationDomainState as Vc, AuthenticateWithOptionsBase as Vd, CreateGroupRoleAssignmentOptionsForOrganization as Vf, GenerateLinkIntent as Vi, ListUserFeatureFlagsOptions as Vl, GetDataIntegrationOptions as Vn, OrganizationMembershipCreatedResponse as Vo, SerializedUpdateAuthorizationResourceOptions as Vp, InvalidAgentCredential as Vr, VaultKekCreatedEvent as Vs, RadarStandaloneResponseWire as Vt, TotpWithSecrets as Vu, VaultObjectResponse as W, EmailVerificationCreatedEvent as Wa, SerializedCreateOrganizationDomainOptions as Wc, SerializedAuthenticateWithOptionsBase as Wd, SerializedCreateGroupRoleAssignmentOptions as Wf, ApiKeyRevokedEvent as Wi, ListOrganizationMembershipsOptions as Wl, CustomProviderDefinitionResponse as Wn, OrganizationMembershipUpdated as Wo, SerializedUpdatePermissionOptions as Wp, SerializedValidateAgentCredentialOptions as Wr, VaultMetadataReadEventResponse as Ws, RadarStandaloneResponseVerdict as Wt, SmsResponse as Wu, CreateDataKeyResponseWire as X, FlagCreatedEvent as Xa, UserApiKey as Xc, OauthTokens as Xd, BaseRemoveRoleOptions as Xf, AuthenticationMagicAuthSucceededEvent as Xi, OrganizationMembership as Xl, CreatePasswordlessSessionOptions as Xn, OrganizationRoleUpdatedEvent as Xo, RemoveOrganizationRolePermissionOptions as Xp, ClaimAttemptResponse as Xr, SerializedUpdateGroupOptions as Xs, DataIntegrationsListResponseWire as Xt, AuthenticateWithTotpOptions as Xu, CreateDataKeyResponse as Y, EventResponse as Ya, SerializedUserApiKey as Yc, ProfileResponse as Yd, RemoveRoleAssignmentOptions as Yf, AuthenticationMagicAuthFailedEventResponse as Yi, BaseOrganizationMembershipResponse as Yl, SendSessionResponse as Yn, OrganizationRoleDeletedEventResponse as Yo, PermissionResponse as Yp, ClaimAttemptOrganization as Yr, KeyContext as Ys, DataIntegrationsListResponse as Yt, AuthenticateUserWithTotpCredentials as Yu, UpdateObjectEntity as Z, FlagCreatedEventResponse as Za, SerializedUpdateUserPasswordOptions as Zc, OauthTokensResponse as Zd, RemoveRoleOptions as Zf, AuthenticationMagicAuthSucceededEventResponse as Zi, OrganizationMembershipResponse as Zl, SerializedCreatePasswordlessSessionOptions as Zn, OrganizationRoleUpdatedEventResponse as Zo, AddOrganizationRolePermissionOptions as Zp, LinkClaimAttemptToExternalUserOptions as Zr, UpdateGroupOptions as Zs, DataIntegrationsListResponseData as Zt, SerializedAuthenticateWithTotpOptions as Zu, SignatureVerificationException as _, AuthenticationSSOSucceededEventResponse as _a, FlagPollResponse as _c, SerializedAuthenticateWithRefreshTokenOptions as _d, Role as _f, ActionPayload as _i, ResetPasswordOptions as _l, SerializedListDirectoriesOptions as _m, DataIntegration as _n, InvitationAcceptedEventResponse as _o, RoleAssignmentSourceResponse as _p, CreateApplicationClientSecretOptions as _r, SessionCreatedEventResponse as _s, AuditLogActor as _t, CreateUserApiKeyRequestOptions as _u, PublicWorkOS as a, AuthenticationPasskeyFailedEventResponse as aa, CreateGroupOptions as ac, AuthenticationResponse as ad, ConnectionType as af, AgentRegistrationStatus as ai, SessionResponse as al, SetEnvironmentRolePermissionsOptions as am, DataIntegrationAccessTokenResponse as an, GroupCreatedEventResponse as ao, SerializedAssignRoleOptions as ap, ApplicationCredentialsListItemResponse as ar, PermissionCreatedEventResponse as as, DecryptDataKeyResponse as at, InvitationEventResponse as au, NotFoundException as b, ConnectionDeactivatedEvent as ba, FeatureFlagResponse as bc, SerializedAuthenticateWithPasswordOptions as bd, RoleList as bf, UserRegistrationActionPayload as bi, SerializedResendInvitationOptions as bl, DirectoryGroupResponse as bm, DataIntegrationCustomProvider as bn, InvitationResentEvent as bo, ListResourcesForMembershipOptions as bp, UpdateApplicationOptions as br, UnknownEvent as bs, CreateAuditLogEventRequestOptions as bt, SerializedCreatePasswordResetOptions as bu, PortalLinkResponseWire as c, AuthenticationPasswordFailedEvent as ca, SerializedAddGroupOrganizationMembershipOptions as cc, CreateUserResponseResponse as cd, DefaultCustomAttributes as cf, SerializedAgentRegistrationClaim as ci, SendRadarSmsChallengeOptions as cl, CreateEnvironmentRoleOptions as cm, DataIntegrationAccessTokenResponseAccessTokenResponse as cn, GroupMemberAddedEvent as co, SerializedListRoleAssignmentsForResourceOptions as cp, ConnectApplicationM2MResponse as cr, PermissionUpdatedEvent as cs, WidgetSessionTokenResponseWire as ct, EnrollAuthFactorOptions as cu, IntentOptions as d, AuthenticationPasswordSucceededEventResponse as da, RuntimeClientOptions as dc, Impersonator as dd, DirectoryUserWithGroups as df, PKCEPair as di, SerializedSendRadarSmsChallengeOptions as dl, EnvironmentRoleList as dm, DataIntegrationCredentialsResponseCredentialResponse as dn, GroupMemberEventResponseData as do, RoleAssignment as dp, ConnectApplicationResponse as dr, RoleCreatedEventResponse as ds, FeatureFlagsRuntimeClient as dt, EmailVerificationEvent as du, AuthenticationOAuthFailedEvent as ea, ListGroupOrganizationMembershipsOptions as ec, AuthenticateWithSessionCookieOptions as ed, GetProfileAndTokenOptions as ef, AgentIdentity as ei, UpdateUserOptions as el, UpdateOrganizationRoleOptions as em, DataIntegrationsListResponseDataAuthMethods as en, FlagRuleUpdatedEvent as eo, SerializedRemoveRoleOptions as ep, ListEventOptions as er, PasswordResetCreatedEvent as es, ReadObjectOptions as et, SerializedListInvitationsOptions as eu, IntentOptionsResponse as f, AuthenticationRadarRiskDetectedEvent as fa, RemoveFlagTargetOptions as fc, ImpersonatorResponse as fd, DirectoryUserWithGroupsResponse as ff, Actions as fi, SendInvitationOptions as fl, EnvironmentRoleListResponse as fm, DataIntegrationAuthorizeUrlResponse as fn, GroupMemberRemovedEvent as fo, RoleAssignmentResource as fp, ConnectApplicationRedirectUri as fr, RoleDeletedEvent as fs, CookieSession as ft, EmailVerificationEventResponse as fu, UnauthorizedException as g, AuthenticationSSOSucceededEvent as ga, FlagPollEntry as gc, AuthenticateWithRefreshTokenOptions as gd, OrganizationRoleResponse as gf, ActionContext as gi, serializeRevokeSessionOptions as gl, ListDirectoriesOptions as gm, ConnectedAccountAuthMethod as gn, InvitationAcceptedEvent as go, RoleAssignmentSource as gp, DeleteClientSecretOptions as gr, SessionCreatedEvent as gs, SerializedCreateAuditLogSchemaOptions as gt, CreateUserApiKeyOptions as gu, UnprocessableEntityException as h, AuthenticationSSOFailedEventResponse as ha, FlagCustomTarget as hc, AuthenticateUserWithRefreshTokenCredentials as hd, OrganizationRoleEventResponse as hf, UserRegistrationActionResponseData as hi, SerializedRevokeSessionOptions as hl, ListDirectoryGroupsOptions as hm, ConnectedAccountResponse as hn, GroupUpdatedEventResponse as ho, RoleAssignmentRole as hp, ExternalAuthCompleteResponseWire as hr, RoleUpdatedEventResponse as hs, CreateAuditLogSchemaResponse as ht, SerializedCreateUserOptions as hu, PublicUserManagement as i, AuthenticationPasskeyFailedEvent as ia, DeleteGroupOptions as ic, AuthenticationMethod as id, ConnectionResponse as if, AgentRegistrationKind as ii, Session as il, AddEnvironmentRolePermissionOptions as im, DataIntegrationsListResponseDataConnectedAccountAuthMethod as in, GroupCreatedEvent as io, BaseAssignRoleOptions as ip, ApplicationCredentialsListItem as ir, PermissionCreatedEvent as is, DecryptDataKeyOptions as it, InvitationEvent as iu, Webhooks as j, DsyncGroupDeletedEventResponse as ja, SerializedCreatedApiKey as jc, AuthenticateWithMagicAuthOptions as jd, SerializedReplaceGroupRoleAssignmentsOptions as jf, DomainDataState as ji, MagicAuth as jl, RequestHeaders as jm, GetUserConnectedAccountOptions as jn, OrganizationDomainCreatedEventResponse as jo, UpdateAuthorizationResourceByExternalIdOptions as jp, UserConsentOption as jr, VaultDataDeletedEvent as js, VerifyResponse as jt, AuthenticationFactorType as ju, WorkOSErrorData as k, DsyncGroupCreatedEventResponse as ka, ListOrganizationApiKeysOptions as kc, SerializedAuthenticateWithRadarEmailChallengeOptions as kd, ReplaceGroupRoleAssignmentsOptions as kf, SerializedCreateOrganizationOptions as ki, CreateMagicAuthResponse as kl, HttpClientInterface as km, CreateUserConnectedAccountOptions as kn, OrganizationDeletedResponse as ko, DeleteAuthorizationResourceOptions as kp, ListApplicationsOptions as kr, VaultDataCreatedEvent as ks, AuditLogExportOptions as kt, AuthenticationFactor as ku, GenerateLink as l, AuthenticationPasswordFailedEventResponse as la, RuntimeClientStats as lc, User as ld, DirectoryUser as lf, SerializedAgentRegistrationClaimCompletion as li, SendRadarSmsChallengeResponse as ll, SerializedCreateEnvironmentRoleOptions as lm, DataIntegrationCredentialsResponseError as ln, GroupMemberAddedEventResponse as lo, ListRoleAssignmentsOptions as lp, ConnectApplicationOAuth as lr, PermissionUpdatedEventResponse as ls, CreateTokenOptions as lt, SerializedEnrollUserInMfaFactorOptions as lu, SSOIntentOptionsResponse as m, AuthenticationSSOFailedEvent as ma, FlagChange as mc, SerializedAuthenticateWithRefreshTokenPublicClientOptions as md, OrganizationRoleEvent as mf, ResponsePayload as mi, RevokeSessionOptions as ml, ListDirectoryUsersOptions as mm, ConnectedAccount as mn, GroupUpdatedEvent as mo, RoleAssignmentResponse as mp, ExternalAuthCompleteResponse as mr, RoleUpdatedEvent as ms, CreateAuditLogSchemaRequestOptions as mt, CreateUserOptions as mu, PublicClientOptions as n, AuthenticationOAuthSucceededEvent as na, GroupResponse as nc, SessionCookieData as nd, Connection as nf, AgentRegistrationClaim as ni, UpdateOrganizationMembershipOptions as nl, SerializedCreateOrganizationRoleOptions as nm, DataIntegrationsListResponseDataConnectedAccountResponse as nn, FlagUpdatedEvent as no, AssignRoleOptionsWithResourceExternalId as np, NewConnectApplicationSecret as nr, PasswordResetSucceededEvent as ns, CreateObjectEntity as nt, ListAuthFactorsOptions as nu, createWorkOS as o, AuthenticationPasskeySucceededEvent as oa, SerializedCreateGroupOptions as oc, AuthenticationResponseResponse as od, SSOAuthorizationURLOptions as of, SerializedAgentIdentity as oi, SessionStatus as ol, SerializedUpdateEnvironmentRoleOptions as om, DataIntegrationAccessTokenResponseWire as on, GroupDeletedEvent as oo, ListRoleAssignmentsForResourceByExternalIdOptions as op, ConnectApplication as or, PermissionDeletedEvent as os, CreateDataKeyOptions as ot, InvitationResponse as ou, SSOIntentOptions as p, AuthenticationRadarRiskDetectedEventResponse as pa, ListFeatureFlagsOptions as pc, AuthenticateWithRefreshTokenPublicClientOptions as pd, ListOrganizationRolesResponse as pf, AuthenticationActionResponseData as pi, SerializedSendInvitationOptions as pl, EnvironmentRoleResponse as pm, DataIntegrationAuthorizeUrlResponseWire as pn, GroupMemberRemovedEventResponse as po, RoleAssignmentResourceResponse as pp, ConnectApplicationRedirectUriResponse as pr, RoleDeletedEventResponse as ps, CreateAuditLogSchemaOptions as pt, EmailVerificationResponse as pu, Actor as q, EventBase as qa, SerializedUserApiKeyWithValue as qc, ProfileAndTokenResponse as qd, GroupRoleAssignment as qf, AuthenticationEmailVerificationSucceededEventResponse as qi, AuthorizationOrganizationMembershipResponse as ql, DataIntegrationCredentialsDtoResponse as qn, OrganizationRoleCreatedEventResponse as qo, SerializedCreatePermissionOptions as qp, ValidateAgentApiKeyOptions as qr, DataKey as qs, RadarStandaloneAssessRequestAction as qt, AuthenticationEventSso as qu, PublicSSO as r, AuthenticationOAuthSucceededEventResponse as ra, GetGroupOptions as rc, UserManagementAccessToken as rd, ConnectionDomain as rf, AgentRegistrationClaimCompletion as ri, AuthMethod as rl, OrganizationRole as rm, DataIntegrationsListResponseDataConnectedAccountState as rn, FlagUpdatedEventResponse as ro, AssignRoleOptionsWithResourceId as rp, NewConnectApplicationSecretResponse as rr, PasswordResetSucceededEventResponse as rs, CreateObjectOptions as rt, Invitation as ru, PortalLinkResponse as s, AuthenticationPasskeySucceededEventResponse as sa, AddGroupOrganizationMembershipOptions as sc, CreateUserResponse as sd, SSOPKCEAuthorizationURLResult as sf, SerializedAgentRegistration as si, SendVerificationEmailOptions as sl, UpdateEnvironmentRoleOptions as sm, DataIntegrationAccessTokenResponseAccessToken as sn, GroupDeletedEventResponse as so, ListRoleAssignmentsForResourceOptions as sp, ConnectApplicationM2M as sr, PermissionDeletedEventResponse as ss, WidgetSessionTokenResponse as st, Identity as su, ConfidentialClientOptions as t, AuthenticationOAuthFailedEventResponse as ta, Group as tc, AuthenticateWithSessionCookieSuccessResponse as td, GetProfileOptions as tf, AgentRegistration as ti, SerializedUpdateOrganizationMembershipOptions as tl, CreateOrganizationRoleOptions as tm, DataIntegrationsListResponseDataConnectedAccount as tn, FlagRuleUpdatedEventResponse as to, AssignRoleOptions as tp, SerializedListEventOptions as tr, PasswordResetCreatedEventResponse as ts, ReadObjectResponse as tt, ListGroupsForOrganizationMembershipOptions as tu, GenerateLinkResponse as u, AuthenticationPasswordSucceededEvent as ua, RuntimeClientLogger as uc, UserResponse as ud, DirectoryUserResponse as uf, PKCE as ui, SendRadarSmsChallengeResponseResponse as ul, EnvironmentRole as um, DataIntegrationCredentialsResponseCredential as un, GroupMemberEventData as uo, SerializedListRoleAssignmentsOptions as up, ConnectApplicationOAuthResponse as ur, RoleCreatedEvent as us, WidgetSessionTokenScopes as ut, EmailVerification as uu, RateLimitExceededException as v, ConnectionActivatedEvent as va, FlagTarget as vc, AuthenticateUserWithPasswordCredentials as vd, RoleEvent as vf, UserData as vi, SerializedResetPasswordOptions as vl, PaginationOptions as vm, DataIntegrationResponse as vn, InvitationCreatedEvent as vo, ListMembershipsForResourceByExternalIdOptions as vp, ListApplicationClientSecretsOptions as vr, SessionRevokedEvent as vs, AuditLogTarget as vt, SerializedCreateUserApiKeyOptions as vu, AuthenticationErrorCode as w, DsyncActivatedEvent as wa, TypedEvaluationContext as wc, AuthenticateUserWithRadarSmsChallengeCredentials as wd, BaseGroupRoleAssignmentEntry as wf, OrganizationResponse as wi, TerminalRefreshSessionFailureReason as wl, DirectoryStateResponse as wm, DataIntegrationCredentialResponse as wn, MagicAuthCreatedEvent as wo, AuthorizationCheckOptions as wp, CreateM2MApplicationResponse as wr, UserDeletedEventResponse as ws, AuditLogSchemaMetadata as wt, SerializedCreateMagicAuthOptions as wu, NoApiKeyProvidedException as x, ConnectionDeactivatedEventResponse as xa, EvaluationContext as xc, AuthenticateUserWithOrganizationSelectionCredentials as xd, RoleResponse as xf, SerializedUpdateOrganizationOptions as xi, RefreshSessionFailureReason as xl, Directory as xm, DataIntegrationCustomProviderResponse as xn, InvitationResentEventResponse as xo, ListResourcesForMembershipOptionsWithParentExternalId as xp, GetApplicationOptions as xr, UserCreatedEvent as xs, SerializedCreateAuditLogEventOptions as xt, CreateOrganizationMembershipOptions as xu, OauthException as y, ConnectionActivatedEventResponse as ya, FeatureFlag as yc, AuthenticateWithPasswordOptions as yd, RoleEventResponse as yf, UserDataPayload as yi, ResendInvitationOptions as yl, DirectoryGroup as ym, DataIntegrationState as yn, InvitationCreatedEventResponse as yo, ListMembershipsForResourceOptions as yp, DeleteApplicationOptions as yr, SessionRevokedEventResponse as ys, CreateAuditLogEventOptions as yt, CreatePasswordResetOptions as yu, ObjectSummary as z, DsyncUserCreatedEventResponse as za, OrganizationDomain as zc, AuthenticateWithCodeOptions as zd, BaseCreateGroupRoleAssignmentOptions as zf, ListResponse as zi, ListUserApiKeysOptions as zl, UpdateCustomProviderDefinitionResponse as zn, OrganizationDomainVerifiedEventResponse as zo, CreateOptionsWithParentResourceId as zp, AgentCredentialType as zr, VaultDekReadEvent as zs, RadarListEntryAlreadyPresentResponseWire as zt, Totp as zu };
9863
- //# sourceMappingURL=factory-VM3aexOH.d.cts.map
10071
+ export { ReadObjectMetadataResponse as $, OrganizationMembershipDeletedResponse as $a, CreatedApiKey as $c, AuthenticateUserWithMagicAuthCredentials as $d, SerializedGroupRoleAssignmentEntry as $f, DsyncUserUpdatedEventResponse as $i, CreateMagicAuthResponseResponse as $l, HttpClientResponseInterface as $m, SerializedLinkClaimAttemptToExternalUserOptions as $n, VaultDataCreatedEventResponse as $o, DeleteAuthorizationResourceByExternalIdOptions as $p, ApiKeyCreatedEventResponse as $r, DataIntegrationAuthorizeUrlResponse as $s, PasswordlessSessionResponse as $t, AuthenticationFactorResponse as $u, ApiKeyRequiredException as A, InvitationResentEvent as Aa, AddGroupOrganizationMembershipOptions as Ac, CreateUserResponse as Ad, SSOPKCEAuthorizationURLResult as Af, ConnectionDeactivatedEvent as Ai, SendVerificationEmailOptions as Al, UpdateEnvironmentRoleOptions as Am, CompleteOAuth2Options as An, PipesConnectedAccountState as Ao, ListRoleAssignmentsForResourceOptions as Ap, DeleteItContactOptions as Ar, DeleteDataIntegrationOptions as As, SerializedAuditLogExportOptions as At, Identity as Au, ObjectSummaryResponse as B, OrganizationDomainCreatedEvent as Ba, FlagPollResponse as Bc, SerializedAuthenticateWithRefreshTokenOptions as Bd, Role as Bf, DsyncGroupDeletedEvent as Bi, ResetPasswordOptions as Bl, SerializedListDirectoriesOptions as Bm, AgentCredentialValidation as Bn, SessionCreatedEventResponse as Bo, RoleAssignmentSourceResponse as Bp, DomainData as Br, DataIntegrationsListResponseDataAuthMethods as Bs, RadarStandaloneResponse as Bt, CreateUserApiKeyRequestOptions as Bu, BadRequestException as C, GroupMemberRemovedEventResponse as Ca, ListGroupOrganizationMembershipsOptions as Cc, AuthenticateWithSessionCookieOptions as Cd, GetProfileAndTokenOptions as Cf, AuthenticationRadarRiskDetectedEventResponse as Ci, UpdateUserOptions as Cl, UpdateOrganizationRoleOptions as Cm, CreateM2MApplication as Cn, PipesConnectedAccountConnectionFailedEvent as Co, SerializedRemoveRoleOptions as Cp, Organization as Cr, UpdateCustomProviderDefinitionResponse as Cs, AuditLogSchema as Ct, SerializedListInvitationsOptions as Cu, isAuthenticationErrorData as D, InvitationAcceptedEventResponse as Da, DeleteGroupOptions as Dc, AuthenticationMethod as Dd, ConnectionResponse as Df, AuthenticationSSOSucceededEventResponse as Di, Session as Dl, AddEnvironmentRolePermissionOptions as Dm, RedirectUriInput as Dn, PipesConnectedAccountReauthorizationNeededEvent as Do, BaseAssignRoleOptions as Dp, ItContact as Dr, GetDataIntegrationOptions as Ds, AuditLogExport as Dt, InvitationEvent as Du, AuthenticationException as E, InvitationAcceptedEvent as Ea, GetGroupOptions as Ec, UserManagementAccessToken as Ed, ConnectionDomain as Ef, AuthenticationSSOSucceededEvent as Ei, AuthMethod as El, OrganizationRole as Em, CreateOAuthApplicationResponse as En, PipesConnectedAccountDisconnectedEventResponse as Eo, AssignRoleOptionsWithResourceId as Ep, ListOrganizationFeatureFlagsOptions as Er, GetUserConnectedAccountOptions as Es, AuditLogTargetSchema as Et, Invitation as Eu, UpdateWebhookEndpointEvents as F, MagicAuthCreatedEventResponse as Fa, RemoveFlagTargetOptions as Fc, ImpersonatorResponse as Fd, DirectoryUserWithGroupsResponse as Ff, DsyncActivatedEventResponse as Fi, SendInvitationOptions as Fl, EnvironmentRoleListResponse as Fm, UserObject as Fn, RoleDeletedEvent as Fo, RoleAssignmentResource as Fp, SerializedCreateItContactOptions as Fr, DataIntegrationsListResponseDataOwnership as Fs, Challenge as Ft, EmailVerificationEventResponse as Fu, ObjectMetadata as G, OrganizationDomainUpdatedEventResponse as Ga, EvaluationResource as Gc, AuthenticateWithOrganizationSelectionOptions as Gd, ListEffectivePermissionsByExternalIdOptions as Gf, DsyncGroupUserAddedEventResponse as Gi, RefreshSessionResponse as Gl, DirectoryResponse as Gm, ValidAgentCredential as Gn, UserCreatedEventResponse as Go, ListResourcesForMembershipOptionsWithParentId as Gp, PutOptions as Gr, DataIntegrationCustomProviderResponse as Gs, RadarListAction as Gt, SerializedCreateOrganizationMembershipOptions as Gu, ObjectVersionResponse as H, OrganizationDomainDeletedEvent as Ha, FeatureFlag as Hc, AuthenticateWithPasswordOptions as Hd, RoleEventResponse as Hf, DsyncGroupUpdatedEvent as Hi, ResendInvitationOptions as Hl, DirectoryGroup as Hm, SerializedAgentAccessTokenClaims as Hn, SessionRevokedEventResponse as Ho, ListMembershipsForResourceOptions as Hp, WorkOSResponseError as Hr, DataIntegrationResponse as Hs, RadarStandaloneResponseBlocklistType as Ht, CreatePasswordResetOptions as Hu, UpdateWebhookEndpointStatus as I, OrganizationCreatedEvent as Ia, ListFeatureFlagsOptions as Ic, AuthenticateWithRefreshTokenPublicClientOptions as Id, ListOrganizationRolesResponse as If, DsyncDeletedEvent as Ii, SerializedSendInvitationOptions as Il, EnvironmentRoleResponse as Im, UserObjectResponse as In, RoleDeletedEventResponse as Io, RoleAssignmentResourceResponse as Ip, SerializedInviteItContactOptions as Ir, DataIntegrationsListResponseDataConnectedAccount as Is, ChallengeResponse as It, EmailVerificationResponse as Iu, ActorResponse as J, OrganizationDomainVerifiedEvent as Ja, AddFlagTargetOptions as Jc, AuthenticateWithRadarSmsChallengeOptions as Jd, GroupRoleAssignmentEntry as Jf, DsyncUserCreatedEvent as Ji, PasswordReset as Jl, DirectoryType as Jm, ValidateAgentCredentialOptions as Jn, UserUpdatedEvent as Jo, AuthorizationCheckOptionsWithResourceExternalId as Jp, List as Jr, DataIntegrationCredentialsResponseCredential as Js, RadarStandaloneAssessRequestAuthMethod as Jt, PKCEAuthorizationURLResult as Ju, ObjectMetadataResponse as K, OrganizationDomainVerificationFailedEvent as Ka, LegacyEvaluationContext as Kc, SerializedAuthenticateWithOrganizationSelectionOptions as Kd, ListEffectivePermissionsOptions as Kf, DsyncGroupUserRemovedEvent as Ki, RetryableRefreshSessionFailureReason as Kl, DirectoryState as Km, ValidateAgentAccessTokenOptions as Kn, UserDeletedEvent as Ko, SerializedListResourcesForMembershipOptions as Kp, PostOptions as Kr, DataIntegrationCustomProviderAuthenticateVia as Ks, RadarListType as Kt, CreateMagicAuthOptions as Ku, CreateWebhookEndpointEvents as L, OrganizationCreatedResponse as La, FlagChange as Lc, SerializedAuthenticateWithRefreshTokenPublicClientOptions as Ld, OrganizationRoleEvent as Lf, DsyncDeletedEventResponse as Li, RevokeSessionOptions as Ll, ListDirectoryUsersOptions as Lm, AutoPaginatable as Ln, RoleUpdatedEvent as Lo, RoleAssignmentResponse as Lp, CreateOrganizationOptions as Lr, DataIntegrationsListResponseDataConnectedAccountResponse as Ls, ChallengeFactorOptions as Lt, CreateUserOptions as Lu, WebhookEndpoint as M, InvitationRevokedEvent as Ma, RuntimeClientStats as Mc, User as Md, DirectoryUser as Mf, ConnectionDeletedEvent as Mi, SendRadarSmsChallengeResponse as Ml, SerializedCreateEnvironmentRoleOptions as Mm, UserConsentOptionResponse as Mn, PipesConnectionFailedResponse as Mo, ListRoleAssignmentsOptions as Mp, ItContactIntent as Mr, DataIntegrationsListResponseWire as Ms, VerifyResponseResponse as Mt, SerializedEnrollUserInMfaFactorOptions as Mu, WebhookEndpointResponse as N, InvitationRevokedEventResponse as Na, RuntimeClientLogger as Nc, UserResponse as Nd, DirectoryUserResponse as Nf, ConnectionDeletedEventResponse as Ni, SendRadarSmsChallengeResponseResponse as Nl, EnvironmentRole as Nm, UserConsentOptionChoice as Nn, RoleCreatedEvent as No, SerializedListRoleAssignmentsOptions as Np, ListItContactsOptions as Nr, DataIntegrationsListResponseData as Ns, VerifyChallengeOptions as Nt, EmailVerification as Nu, GenericServerException as O, InvitationCreatedEvent as Oa, CreateGroupOptions as Oc, AuthenticationResponse as Od, ConnectionType as Of, ConnectionActivatedEvent as Oi, SessionResponse as Ol, SetEnvironmentRolePermissionsOptions as Om, RedirectUriInputResponse as On, PipesConnectedAccountReauthorizationNeededEventResponse as Oo, SerializedAssignRoleOptions as Op, ItContactResponse as Or, GetAccessTokenOptions as Os, AuditLogExportResponse as Ot, InvitationEventResponse as Ou, WebhookEndpointStatus as P, MagicAuthCreatedEvent as Pa, RuntimeClientOptions as Pc, Impersonator as Pd, DirectoryUserWithGroups as Pf, DsyncActivatedEvent as Pi, SerializedSendRadarSmsChallengeOptions as Pl, EnvironmentRoleList as Pm, UserConsentOptionChoiceResponse as Pn, RoleCreatedEventResponse as Po, RoleAssignment as Pp, RevokeItContactOptions as Pr, DataIntegrationsListResponseDataResponse as Ps, EnrollFactorOptions as Pt, EmailVerificationEvent as Pu, UpdateObjectOptions as Q, OrganizationMembershipDeleted as Qa, ListOrganizationApiKeysOptions as Qc, SerializedAuthenticateWithRadarEmailChallengeOptions as Qd, ReplaceGroupRoleAssignmentsOptions as Qf, DsyncUserUpdatedEvent as Qi, CreateMagicAuthResponse as Ql, HttpClientInterface as Qm, SerializedClaimAttemptResponse as Qn, VaultDataCreatedEvent as Qo, DeleteAuthorizationResourceOptions as Qp, ApiKeyCreatedEvent as Qr, DataIntegrationCredentialType as Qs, PasswordlessSession as Qt, AuthenticationFactor as Qu, WorkOS as R, OrganizationDeletedEvent as Ra, FlagCustomTarget as Rc, AuthenticateUserWithRefreshTokenCredentials as Rd, OrganizationRoleEventResponse as Rf, DsyncGroupCreatedEvent as Ri, SerializedRevokeSessionOptions as Rl, ListDirectoryGroupsOptions as Rm, AgentAccessTokenClaims as Rn, RoleUpdatedEventResponse as Ro, RoleAssignmentRole as Rp, CreateOrganizationRequestOptions as Rr, DataIntegrationsListResponseDataConnectedAccountState as Rs, RadarListEntryAlreadyPresentResponse as Rt, SerializedCreateUserOptions as Ru, ConflictException as S, GroupMemberRemovedEvent as Sa, ListGroupsOptions as Sc, AuthenticateWithSessionCookieFailureReason as Sd, SerializedListConnectionsOptions as Sf, AuthenticationRadarRiskDetectedEvent as Si, SerializedUpdateUserOptions as Sl, SerializedUpdateOrganizationRoleOptions as Sm, CreateApplicationOptions as Sn, PipesConnectedAccountConnectedEventResponse as So, RemoveRoleOptionsWithResourceId as Sp, UpdateOrganizationOptions as Sr, UpdateCustomProviderDefinition as Ss, AuditLogActorSchema as St, ListInvitationsOptions as Su, AuthenticationErrorData as T, GroupUpdatedEventResponse as Ta, GroupResponse as Tc, SessionCookieData as Td, Connection as Tf, AuthenticationSSOFailedEventResponse as Ti, UpdateOrganizationMembershipOptions as Tl, SerializedCreateOrganizationRoleOptions as Tm, CreateOAuthApplication as Tn, PipesConnectedAccountDisconnectedEvent as To, AssignRoleOptionsWithResourceExternalId as Tp, ListOrganizationsOptions as Tr, ListUserDataProvidersOptions as Ts, AuditLogSchemaResponse as Tt, ListAuthFactorsOptions as Tu, VaultObject as U, OrganizationDomainDeletedEventResponse as Ua, FeatureFlagResponse as Uc, SerializedAuthenticateWithPasswordOptions as Ud, RoleList as Uf, DsyncGroupUpdatedEventResponse as Ui, SerializedResendInvitationOptions as Ul, DirectoryGroupResponse as Um, SerializedAgentCredentialValidation as Un, UnknownEvent as Uo, ListResourcesForMembershipOptions as Up, WorkOSOptions as Ur, DataIntegrationState as Us, RadarStandaloneResponseControl as Ut, SerializedCreatePasswordResetOptions as Uu, ObjectVersion as V, OrganizationDomainCreatedEventResponse as Va, FlagTarget as Vc, AuthenticateUserWithPasswordCredentials as Vd, RoleEvent as Vf, DsyncGroupDeletedEventResponse as Vi, SerializedResetPasswordOptions as Vl, PaginationOptions as Vm, InvalidAgentCredential as Vn, SessionRevokedEvent as Vo, ListMembershipsForResourceByExternalIdOptions as Vp, DomainDataState as Vr, DataIntegration as Vs, RadarStandaloneResponseWire as Vt, SerializedCreateUserApiKeyOptions as Vu, VaultObjectResponse as W, OrganizationDomainUpdatedEvent as Wa, EvaluationContext as Wc, AuthenticateUserWithOrganizationSelectionCredentials as Wd, RoleResponse as Wf, DsyncGroupUserAddedEvent as Wi, RefreshSessionFailureReason as Wl, Directory as Wm, SerializedValidateAgentCredentialOptions as Wn, UserCreatedEvent as Wo, ListResourcesForMembershipOptionsWithParentExternalId as Wp, UnprocessableEntityError as Wr, DataIntegrationCustomProvider as Ws, RadarStandaloneResponseVerdict as Wt, CreateOrganizationMembershipOptions as Wu, CreateDataKeyResponseWire as X, OrganizationMembershipCreated as Xa, ValidateApiKeyOptions as Xc, AuthenticateUserWithRadarEmailChallengeCredentials as Xd, GroupRoleAssignmentEntryWithResourceExternalId as Xf, DsyncUserDeletedEvent as Xi, PasswordResetEventResponse as Xl, EventDirectoryResponse as Xm, ClaimAttemptResponse as Xn, VaultByokKeyVerificationCompletedEvent as Xo, AuthorizationCheckResult as Xp, GetOptions as Xr, DataIntegrationCredential as Xs, CreatePasswordlessSessionOptions as Xt, AuthenticationRadarRiskDetectedEventData as Xu, CreateDataKeyResponse as Y, OrganizationDomainVerifiedEventResponse as Ya, SerializedValidateApiKeyResponse as Yc, SerializedAuthenticateWithRadarSmsChallengeOptions as Yd, GroupRoleAssignmentEntryForOrganization as Yf, DsyncUserCreatedEventResponse as Yi, PasswordResetEvent as Yl, EventDirectory as Ym, ClaimAttemptOrganization as Yn, UserUpdatedEventResponse as Yo, AuthorizationCheckOptionsWithResourceId as Yp, ListResponse as Yr, DataIntegrationCredentialsResponseCredentialResponse as Ys, SendSessionResponse as Yt, UserManagementAuthorizationURLOptions as Yu, UpdateObjectEntity as Z, OrganizationMembershipCreatedResponse as Za, ValidateApiKeyResponse as Zc, AuthenticateWithRadarEmailChallengeOptions as Zd, GroupRoleAssignmentEntryWithResourceId as Zf, DsyncUserDeletedEventResponse as Zi, PasswordResetResponse as Zl, HttpClient as Zm, LinkClaimAttemptToExternalUserOptions as Zn, VaultByokKeyVerificationCompletedEventResponse as Zo, SerializedAuthorizationCheckOptions as Zp, GenerateLinkIntent as Zr, DataIntegrationCredentialResponse as Zs, SerializedCreatePasswordlessSessionOptions as Zt, AuthenticationRadarRiskDetectedEventResponseData as Zu, SignatureVerificationException as _, GroupDeletedEventResponse as _a, ConnectedAccountAuthMethod as _c, AuthenticationEventSsoResponse as _d, Profile as _f, AuthenticationPasskeySucceededEventResponse as _i, UserApiKeyWithValue as _l, Permission as _m, CreateApplicationClientSecretOptions as _n, PermissionDeletedEventResponse as _o, GroupRoleAssignmentResponse as _p, ActionPayload as _r, DataKeyPair as _s, AuditLogActor as _t, BaseOrganizationMembership as _u, PublicWorkOS as a, EventResponse as aa, CreateUserConnectedAccountOptions as ac, FactorType as ad, AuthenticateWithCodeAndVerifierOptions as af, AuthenticationMagicAuthFailedEventResponse as ai, SerializedApiKey as al, AuthorizationResourceResponse as am, ApplicationCredentialsListItemResponse as an, OrganizationRoleDeletedEventResponse as ao, RemoveGroupRoleAssignmentsOptionsWithResourceId as ap, AgentRegistrationStatus as ar, VaultDataUpdatedEventResponse as as, DecryptDataKeyResponse as at, Locale as au, NotFoundException as b, GroupMemberEventData as ba, UpdateGroupOptions as bc, SerializedAuthenticateWithTotpOptions as bd, OauthTokensResponse as bf, AuthenticationPasswordSucceededEvent as bi, SerializedUpdateUserPasswordOptions as bl, AddOrganizationRolePermissionOptions as bm, UpdateApplicationOptions as bn, PipesConnectedAccount as bo, RemoveRoleOptions as bp, UserRegistrationActionPayload as br, UpdateDataIntegrationOptions as bs, CreateAuditLogEventRequestOptions as bt, OrganizationMembershipResponse as bu, PortalLinkResponseWire as c, FlagDeletedEvent as ca, CustomProviderDefinitionResponse as cc, Totp as cd, AuthenticateWithCodeOptions as cf, AuthenticationMfaSucceededEvent as ci, OrganizationDomain as cl, CreateOptionsWithParentResourceId as cm, ConnectApplicationM2MResponse as cn, OrganizationUpdatedEvent as co, BaseCreateGroupRoleAssignmentOptions as cp, SerializedAgentRegistrationClaim as cr, VaultDekReadEvent as cs, WidgetSessionTokenResponseWire as ct, ListUserApiKeysOptions as cu, IntentOptions as d, FlagRuleUpdatedEventResponse as da, DataIntegrationCredentialsDtoResponse as dc, TotpWithSecretsResponse as dd, AuthenticateWithSessionOptions as df, AuthenticationOAuthFailedEventResponse as di, OrganizationDomainVerificationStrategy as dl, UpdateAuthorizationResourceOptions as dm, ConnectApplicationResponse as dn, PasswordResetCreatedEventResponse as do, CreateGroupRoleAssignmentOptionsWithResourceExternalId as dp, PKCEPair as dr, VaultKekCreatedEventResponse as ds, FeatureFlagsRuntimeClient as dt, ListSessionsOptions as du, EmailVerificationCreatedEvent as ea, DataIntegrationAuthorizeUrlResponseWire as ec, AuthenticationFactorType as ed, AuthenticateWithMagicAuthOptions as ef, RequestHeaders as eh, ApiKeyRevokedEvent as ei, SerializedCreatedApiKey as el, UpdateAuthorizationResourceByExternalIdOptions as em, ListEventOptions as en, OrganizationMembershipUpdated as eo, SerializedReplaceGroupRoleAssignmentsOptions as ep, AgentIdentity as er, VaultDataDeletedEvent as es, ReadObjectOptions as et, MagicAuth as eu, IntentOptionsResponse as f, FlagUpdatedEvent as fa, DataIntegrationCredentialsType as fc, Sms as fd, SerializedAuthenticatePublicClientBase as ff, AuthenticationOAuthSucceededEvent as fi, CreateOrganizationDomainOptions as fl, ListPermissionsOptions as fm, ConnectApplicationRedirectUri as fn, PasswordResetSucceededEvent as fo, CreateGroupRoleAssignmentOptionsWithResourceId as fp, Actions as fr, VaultMetadataReadEvent as fs, CookieSession as ft, SerializedListSessionsOptions as fu, UnauthorizedException as g, GroupDeletedEvent as ga, ConnectedAccountState as gc, AuthenticationEventSso as gd, ProfileAndTokenResponse as gf, AuthenticationPasskeySucceededEvent as gi, SerializedUserApiKeyWithValue as gl, SerializedCreatePermissionOptions as gm, DeleteClientSecretOptions as gn, PermissionDeletedEvent as go, GroupRoleAssignment as gp, ActionContext as gr, DataKey as gs, SerializedCreateAuditLogSchemaOptions as gt, AuthorizationOrganizationMembershipResponse as gu, UnprocessableEntityException as h, GroupCreatedEventResponse as ha, ConnectedAccountResponse as hc, AuthenticationEventResponse as hd, ProfileAndToken as hf, AuthenticationPasskeyFailedEventResponse as hi, VerifyEmailOptions as hl, CreatePermissionOptions as hm, ExternalAuthCompleteResponseWire as hn, PermissionCreatedEventResponse as ho, ListGroupRoleAssignmentsOptions as hp, UserRegistrationActionResponseData as hr, VaultNamesListedEventResponse as hs, CreateAuditLogSchemaResponse as ht, AuthorizationOrganizationMembership as hu, PublicUserManagement as i, EventName as ia, DataIntegrationAccessTokenResponseAccessTokenResponse as ic, FactorResponse as id, SerializedAuthenticateWithEmailVerificationOptions as if, CryptoProvider as ih, AuthenticationMagicAuthFailedEvent as ii, ApiKey as il, AuthorizationResource as im, ApplicationCredentialsListItem as in, OrganizationRoleDeletedEvent as io, RemoveGroupRoleAssignmentsOptionsWithResourceExternalId as ip, AgentRegistrationKind as ir, VaultDataUpdatedEvent as is, DecryptDataKeyOptions as it, LogoutURLOptions as iu, Webhooks as j, InvitationResentEventResponse as ja, SerializedAddGroupOrganizationMembershipOptions as jc, CreateUserResponseResponse as jd, DefaultCustomAttributes as jf, ConnectionDeactivatedEventResponse as ji, SendRadarSmsChallengeOptions as jl, CreateEnvironmentRoleOptions as jm, UserConsentOption as jn, PipesConnectionFailed as jo, SerializedListRoleAssignmentsForResourceOptions as jp, InviteItContactOptions as jr, DataIntegrationsListResponse as js, VerifyResponse as jt, EnrollAuthFactorOptions as ju, WorkOSErrorData as k, InvitationCreatedEventResponse as ka, SerializedCreateGroupOptions as kc, AuthenticationResponseResponse as kd, SSOAuthorizationURLOptions as kf, ConnectionActivatedEventResponse as ki, SessionStatus as kl, SerializedUpdateEnvironmentRoleOptions as km, ListApplicationsOptions as kn, PipesConnectedAccountResponse as ko, ListRoleAssignmentsForResourceByExternalIdOptions as kp, CreateItContactOptions as kr, DeleteUserConnectedAccountOptions as ks, AuditLogExportOptions as kt, InvitationResponse as ku, GenerateLink as l, FlagDeletedEventResponse as la, CustomProviderDefinitionAuthenticateVia as lc, TotpResponse as ld, SerializedAuthenticateWithCodeOptions as lf, AuthenticationMfaSucceededEventResponse as li, OrganizationDomainResponse as ll, SerializedCreateAuthorizationResourceOptions as lm, ConnectApplicationOAuth as ln, OrganizationUpdatedResponse as lo, CreateGroupRoleAssignmentOptions as lp, SerializedAgentRegistrationClaimCompletion as lr, VaultDekReadEventResponse as ls, CreateTokenOptions as lt, SerializedListUserApiKeysOptions as lu, SSOIntentOptionsResponse as m, GroupCreatedEvent as ma, ConnectedAccount as mc, AuthenticationEvent as md, WithResolvedClientId as mf, AuthenticationPasskeyFailedEvent as mi, SerializedVerifyEmailOptions as ml, UpdatePermissionOptions as mm, ExternalAuthCompleteResponse as mn, PermissionCreatedEvent as mo, GetGroupRoleAssignmentOptions as mp, ResponsePayload as mr, VaultNamesListedEvent as ms, CreateAuditLogSchemaRequestOptions as mt, SerializedListOrganizationMembershipsOptions as mu, PublicClientOptions as n, Event as na, DataIntegrationAccessTokenResponseWire as nc, AuthenticationFactorWithSecretsResponse as nd, AuthenticateUserWithEmailVerificationCredentials as nf, ResponseHeaderValue as nh, AuthenticationEmailVerificationSucceededEvent as ni, CreateOrganizationApiKeyRequestOptions as nl, ListAuthorizationResourcesOptions as nm, NewConnectApplicationSecret as nn, OrganizationRoleCreatedEvent as no, RemoveGroupRoleAssignmentsOptions as np, AgentRegistrationClaim as nr, VaultDataReadEvent as ns, CreateObjectEntity as nt, MagicAuthEventResponse as nu, createWorkOS as o, FlagCreatedEvent as oa, CreateDataIntegrationOptions as oc, FactorWithSecrets as od, SerializedAuthenticateWithCodeAndVerifierOptions as of, AuthenticationMagicAuthSucceededEvent as oi, OrganizationDomainVerificationFailed as ol, CreateAuthorizationResourceOptions as om, ConnectApplication as on, OrganizationRoleUpdatedEvent as oo, SerializedRemoveGroupRoleAssignmentsOptions as op, SerializedAgentIdentity as or, VaultDekDecryptedEvent as os, CreateDataKeyOptions as ot, ListUsersOptions as ou, SSOIntentOptions as p, FlagUpdatedEventResponse as pa, CreateDataIntegrationCredentialOptions as pc, SmsResponse as pd, SerializedAuthenticateWithOptionsBase as pf, AuthenticationOAuthSucceededEventResponse as pi, SerializedCreateOrganizationDomainOptions as pl, SerializedUpdatePermissionOptions as pm, ConnectApplicationRedirectUriResponse as pn, PasswordResetSucceededEventResponse as po, SerializedCreateGroupRoleAssignmentOptions as pp, AuthenticationActionResponseData as pr, VaultMetadataReadEventResponse as ps, CreateAuditLogSchemaOptions as pt, ListOrganizationMembershipsOptions as pu, Actor as q, OrganizationDomainVerificationFailedEventResponse as qa, TypedEvaluationContext as qc, AuthenticateUserWithRadarSmsChallengeCredentials as qd, BaseGroupRoleAssignmentEntry as qf, DsyncGroupUserRemovedEventResponse as qi, TerminalRefreshSessionFailureReason as ql, DirectoryStateResponse as qm, ValidateAgentApiKeyOptions as qn, UserDeletedEventResponse as qo, AuthorizationCheckOptions as qp, PatchOptions as qr, DataIntegrationCredentialsResponseError as qs, RadarStandaloneAssessRequestAction as qt, SerializedCreateMagicAuthOptions as qu, PublicSSO as r, EventBase as ra, DataIntegrationAccessTokenResponseAccessToken as rc, Factor as rd, AuthenticateWithEmailVerificationOptions as rf, ResponseHeaders as rh, AuthenticationEmailVerificationSucceededEventResponse as ri, SerializedCreateOrganizationApiKeyOptions as rl, SerializedListAuthorizationResourcesOptions as rm, NewConnectApplicationSecretResponse as rn, OrganizationRoleCreatedEventResponse as ro, RemoveGroupRoleAssignmentsOptionsForOrganization as rp, AgentRegistrationClaimCompletion as rr, VaultDataReadEventResponse as rs, CreateObjectOptions as rt, MagicAuthResponse as ru, PortalLinkResponse as s, FlagCreatedEventResponse as sa, CustomProviderDefinition as sc, FactorWithSecretsResponse as sd, AuthenticateUserWithCodeCredentials as sf, AuthenticationMagicAuthSucceededEventResponse as si, OrganizationDomainVerificationFailedResponse as sl, CreateOptionsWithParentExternalId as sm, ConnectApplicationM2M as sn, OrganizationRoleUpdatedEventResponse as so, RemoveGroupRoleAssignmentOptions as sp, SerializedAgentRegistration as sr, VaultDekDecryptedEventResponse as ss, WidgetSessionTokenResponse as st, SerializedListUsersOptions as su, ConfidentialClientOptions as t, EmailVerificationCreatedEventResponse as ta, DataIntegrationAccessTokenResponse as tc, AuthenticationFactorWithSecrets as td, SerializedAuthenticateWithMagicAuthOptions as tf, RequestOptions as th, ApiKeyRevokedEventResponse as ti, CreateOrganizationApiKeyOptions as tl, GetAuthorizationResourceByExternalIdOptions as tm, SerializedListEventOptions as tn, OrganizationMembershipUpdatedResponse as to, BaseRemoveGroupRoleAssignmentsOptions as tp, AgentRegistration as tr, VaultDataDeletedEventResponse as ts, ReadObjectResponse as tt, MagicAuthEvent as tu, GenerateLinkResponse as u, FlagRuleUpdatedEvent as ua, DataIntegrationCredentialsDto as uc, TotpWithSecrets as ud, AuthenticateWithOptionsBase as uf, AuthenticationOAuthFailedEvent as ui, OrganizationDomainState as ul, SerializedUpdateAuthorizationResourceOptions as um, ConnectApplicationOAuthResponse as un, PasswordResetCreatedEvent as uo, CreateGroupRoleAssignmentOptionsForOrganization as up, PKCE as ur, VaultKekCreatedEvent as us, WidgetSessionTokenScopes as ut, ListUserFeatureFlagsOptions as uu, RateLimitExceededException as v, GroupMemberAddedEvent as va, AuthorizeDataIntegrationOptions as vc, AuthenticateUserWithTotpCredentials as vd, ProfileResponse as vf, AuthenticationPasswordFailedEvent as vi, SerializedUserApiKey as vl, PermissionResponse as vm, ListApplicationClientSecretsOptions as vn, PermissionUpdatedEvent as vo, RemoveRoleAssignmentOptions as vp, UserData as vr, KeyContext as vs, AuditLogTarget as vt, BaseOrganizationMembershipResponse as vu, AuthenticationErrorCode as w, GroupUpdatedEvent as wa, Group as wc, AuthenticateWithSessionCookieSuccessResponse as wd, GetProfileOptions as wf, AuthenticationSSOFailedEvent as wi, SerializedUpdateOrganizationMembershipOptions as wl, CreateOrganizationRoleOptions as wm, CreateM2MApplicationResponse as wn, PipesConnectedAccountConnectionFailedEventResponse as wo, AssignRoleOptions as wp, OrganizationResponse as wr, UpdateCustomProviderDefinitionAuthenticateVia as ws, AuditLogSchemaMetadata as wt, ListGroupsForOrganizationMembershipOptions as wu, NoApiKeyProvidedException as x, GroupMemberEventResponseData as xa, RemoveGroupOrganizationMembershipOptions as xc, AuthenticateWithSessionCookieFailedResponse as xd, ListConnectionsOptions as xf, AuthenticationPasswordSucceededEventResponse as xi, UpdateUserPasswordOptions as xl, SetOrganizationRolePermissionsOptions as xm, GetApplicationOptions as xn, PipesConnectedAccountConnectedEvent as xo, RemoveRoleOptionsWithResourceExternalId as xp, SerializedUpdateOrganizationOptions as xr, UpdateDataIntegrationApiKeyOptions as xs, SerializedCreateAuditLogEventOptions as xt, OrganizationMembershipStatus as xu, OauthException as y, GroupMemberAddedEventResponse as ya, SerializedUpdateGroupOptions as yc, AuthenticateWithTotpOptions as yd, OauthTokens as yf, AuthenticationPasswordFailedEventResponse as yi, UserApiKey as yl, RemoveOrganizationRolePermissionOptions as ym, DeleteApplicationOptions as yn, PermissionUpdatedEventResponse as yo, BaseRemoveRoleOptions as yp, UserDataPayload as yr, UpdateUserConnectedAccountOptions as ys, CreateAuditLogEventOptions as yt, OrganizationMembership as yu, ObjectSummary as z, OrganizationDeletedResponse as za, FlagPollEntry as zc, AuthenticateWithRefreshTokenOptions as zd, OrganizationRoleResponse as zf, DsyncGroupCreatedEventResponse as zi, serializeRevokeSessionOptions as zl, ListDirectoriesOptions as zm, AgentCredentialType as zn, SessionCreatedEvent as zo, RoleAssignmentSource as zp, SerializedCreateOrganizationOptions as zr, DataIntegrationsListResponseDataConnectedAccountAuthMethod as zs, RadarListEntryAlreadyPresentResponseWire as zt, CreateUserApiKeyOptions as zu };
10072
+ //# sourceMappingURL=factory-CCkRzS83.d.cts.map