@workos-inc/node 10.12.0 → 10.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,4 @@
1
+ //#endregion
1
2
  //#region src/common/crypto/crypto-provider.d.ts
2
3
  /**
3
4
  * Interface encapsulating the various crypto computations used by the library,
@@ -123,6 +124,22 @@ declare abstract class HttpClient implements HttpClientInterface {
123
124
  abstract delete(path: string, options: RequestOptions): Promise<HttpClientResponseInterface>;
124
125
  abstract deleteWithBody<Entity = any>(path: string, entity: Entity, options: RequestOptions): Promise<HttpClientResponseInterface>;
125
126
  static getResourceURL(baseURL: string, path: string, params?: Record<string, any>): string;
127
+ /**
128
+ * Reject request paths that contain a single-dot or double-dot segment.
129
+ *
130
+ * SDK path templates never contain such segments themselves, but a
131
+ * caller-supplied identifier interpolated with bare `encodeURIComponent`
132
+ * (the form the generated modules use) passes `.` and `..` through
133
+ * unchanged, and the WHATWG `URL` parser then collapses them, retargeting
134
+ * the request to a different endpoint (for example
135
+ * `/organizations/../api_keys` resolves to `/api_keys`). The parser also
136
+ * treats the percent-encoded forms (`%2e`, case-insensitive) as dots, so
137
+ * those are matched as well. Encoded values never trip this check because
138
+ * `encodeURIComponent` turns `%` into `%25` and `/` into `%2F`, keeping
139
+ * each identifier inside its own segment. Fail closed before any request
140
+ * is built.
141
+ */
142
+ private static assertNoDotSegments;
126
143
  static getQueryString(queryObj?: Record<string, any>): string | undefined;
127
144
  static getContentTypeHeader(entity: any): RequestHeaders | undefined;
128
145
  static getBody(entity: any): BodyInit | null | undefined;
@@ -1886,6 +1903,21 @@ interface SerializedCreateUserOptions {
1886
1903
  signals_id?: string;
1887
1904
  }
1888
1905
  //#endregion
1906
+ //#region src/user-management/interfaces/create-waitlist-entry-options.interface.d.ts
1907
+ interface CreateWaitlistEntryOptions {
1908
+ /** The email address of the user joining the waitlist. */
1909
+ email: string;
1910
+ /** Additional key/value pairs collected with the waitlist entry. Supports up to 50 string pairs, with keys up to 40 characters and values up to 600 characters. */
1911
+ additionalFields?: Record<string, string>;
1912
+ /** Whether to send the waitlist confirmation email to the user. Defaults to `false`. No email is sent when the waitlist confirmation email is disabled in the environment, even if `sendConfirmationEmail` is `true`. */
1913
+ sendConfirmationEmail?: boolean;
1914
+ }
1915
+ interface SerializedCreateWaitlistEntryOptions {
1916
+ email: string;
1917
+ additional_fields?: Record<string, string>;
1918
+ send_confirmation_email?: boolean;
1919
+ }
1920
+ //#endregion
1889
1921
  //#region src/user-management/interfaces/email-verification.interface.d.ts
1890
1922
  interface EmailVerification {
1891
1923
  /** Distinguishes the email verification object. */
@@ -2143,6 +2175,52 @@ interface SerializedListUsersOptions extends PaginationOptions {
2143
2175
  organization_id?: string;
2144
2176
  }
2145
2177
  //#endregion
2178
+ //#region src/user-management/interfaces/waitlist-entry.interface.d.ts
2179
+ type WaitlistEntryState = 'pending' | 'approved' | 'denied';
2180
+ interface WaitlistEntry {
2181
+ /** Distinguishes the Waitlist Entry object. */
2182
+ object: 'waitlist_entry';
2183
+ /** The unique ID of the waitlist entry. */
2184
+ id: string;
2185
+ /** The email address of the user on the waitlist. */
2186
+ email: string;
2187
+ /** The state of the waitlist entry. */
2188
+ state: WaitlistEntryState;
2189
+ /** The timestamp when the entry was approved, or null if not yet approved. */
2190
+ approvedAt: string | null;
2191
+ /** Additional fields submitted when the user joined the waitlist. Values are user-provided — treat them as untrusted input when rendering or exporting. */
2192
+ additionalFields?: Record<string, string>;
2193
+ /** The unique ID of the waitlist the entry belongs to. */
2194
+ waitlistId: string | null;
2195
+ /** An ISO 8601 timestamp. */
2196
+ createdAt: string;
2197
+ /** An ISO 8601 timestamp. */
2198
+ updatedAt: string;
2199
+ }
2200
+ interface WaitlistEntryResponse {
2201
+ object: 'waitlist_entry';
2202
+ id: string;
2203
+ email: string;
2204
+ state: WaitlistEntryState;
2205
+ approved_at: string | null;
2206
+ additional_fields?: Record<string, string>;
2207
+ waitlist_id?: string | null;
2208
+ created_at: string;
2209
+ updated_at: string;
2210
+ }
2211
+ //#endregion
2212
+ //#region src/user-management/interfaces/list-waitlist-entries-options.interface.d.ts
2213
+ interface ListWaitlistEntriesOptions extends PaginationOptions {
2214
+ /** Filter entries by state. */
2215
+ state?: WaitlistEntryState;
2216
+ /** Filter entries by email address. */
2217
+ email?: string;
2218
+ }
2219
+ interface SerializedListWaitlistEntriesOptions extends PaginationOptions {
2220
+ state?: WaitlistEntryState;
2221
+ email?: string;
2222
+ }
2223
+ //#endregion
2146
2224
  //#region src/user-management/interfaces/locale.interface.d.ts
2147
2225
  type Locale = 'af' | 'am' | 'ar' | 'bg' | 'bn' | 'bs' | 'ca' | 'cs' | 'da' | 'de' | 'de-DE' | 'el' | 'en' | 'en-AU' | 'en-CA' | 'en-GB' | 'en-US' | 'es' | 'es-419' | 'es-ES' | 'es-US' | 'et' | 'fa' | 'fi' | 'fil' | 'fr' | 'fr-BE' | 'fr-CA' | 'fr-FR' | 'fy' | 'gl' | 'gu' | 'ha' | 'he' | 'hi' | 'hr' | 'hu' | 'hy' | 'id' | 'is' | 'it' | 'it-IT' | 'ja' | 'jv' | 'ka' | 'kk' | 'km' | 'kn' | 'ko' | 'lt' | 'lv' | 'mk' | 'ml' | 'mn' | 'mr' | 'ms' | 'my' | 'nb' | 'ne' | 'nl' | 'nl-BE' | 'nl-NL' | 'nn' | 'no' | 'pa' | 'pl' | 'pt' | 'pt-BR' | 'pt-PT' | 'ro' | 'ru' | 'sk' | 'sl' | 'sq' | 'sr' | 'sv' | 'sw' | 'ta' | 'te' | 'th' | 'tr' | 'uk' | 'ur' | 'uz' | 'vi' | 'zh' | 'zh-CN' | 'zh-HK' | 'zh-TW' | 'zu';
2148
2226
  //#endregion
@@ -2509,6 +2587,24 @@ interface SerializedVerifyEmailOptions {
2509
2587
  code: string;
2510
2588
  }
2511
2589
  //#endregion
2590
+ //#region src/user-management/interfaces/waitlist.interface.d.ts
2591
+ interface Waitlist {
2592
+ /** Distinguishes the Waitlist object. */
2593
+ object: 'waitlist';
2594
+ /** The unique ID of the Waitlist. */
2595
+ id: string;
2596
+ /** An ISO 8601 timestamp. */
2597
+ createdAt: string;
2598
+ /** An ISO 8601 timestamp. */
2599
+ updatedAt: string;
2600
+ }
2601
+ interface WaitlistResponse {
2602
+ object: 'waitlist';
2603
+ id: string;
2604
+ created_at: string;
2605
+ updated_at: string;
2606
+ }
2607
+ //#endregion
2512
2608
  //#region src/organization-domains/interfaces/create-organization-domain-options.interface.d.ts
2513
2609
  interface CreateOrganizationDomainOptions {
2514
2610
  domain: string;
@@ -4536,6 +4632,12 @@ interface WorkOSOptions {
4536
4632
  appInfo?: AppInfo;
4537
4633
  fetchFn?: typeof fetch;
4538
4634
  clientId?: string;
4635
+ /**
4636
+ * Expected `iss` claim of WorkOS access tokens, enforced when verifying
4637
+ * session access tokens. Accepts a single issuer or a list of allowed
4638
+ * issuers. When not set, the issuer claim is not validated.
4639
+ */
4640
+ issuer?: string | string[];
4539
4641
  timeout?: number;
4540
4642
  /**
4541
4643
  * Maximum number of automatic retries for transient failures (network
@@ -4862,6 +4964,265 @@ declare class PKCE {
4862
4964
  private base64UrlEncode;
4863
4965
  }
4864
4966
  //#endregion
4967
+ //#region src/common/utils/pagination.d.ts
4968
+ declare class AutoPaginatable<ResourceType, ParametersType extends PaginationOptions = PaginationOptions> {
4969
+ protected list: List<ResourceType>;
4970
+ private apiCall;
4971
+ readonly object: "list";
4972
+ readonly options: ParametersType;
4973
+ constructor(list: List<ResourceType>, apiCall: (params: PaginationOptions) => Promise<List<ResourceType>>, options?: ParametersType);
4974
+ get data(): ResourceType[];
4975
+ get listMetadata(): {
4976
+ before?: string | null;
4977
+ after?: string | null;
4978
+ };
4979
+ private generatePages;
4980
+ /**
4981
+ * Automatically paginates over the list of results, returning the complete data set.
4982
+ * Returns the first result if `options.limit` is passed to the first request.
4983
+ */
4984
+ autoPagination(): Promise<ResourceType[]>;
4985
+ }
4986
+ //#endregion
4987
+ //#region src/agents/interfaces/agent-blueprint.interface.d.ts
4988
+ /** Who may mint sessions from an agent blueprint. */
4989
+ interface AgentBlueprintInvocableBy {
4990
+ /**
4991
+ * Role slugs whose members may mint user-delegated sessions from the
4992
+ * blueprint. An empty list allows any member.
4993
+ */
4994
+ roleSlugs: string[];
4995
+ /**
4996
+ * Organizations in which sessions may be minted from the blueprint. An empty
4997
+ * list allows any organization in the environment.
4998
+ */
4999
+ organizationIds: string[];
5000
+ }
5001
+ interface SerializedAgentBlueprintInvocableBy {
5002
+ role_slugs: string[];
5003
+ organization_ids: string[];
5004
+ }
5005
+ /** Token and session lifetimes for sessions minted from an agent blueprint. */
5006
+ interface AgentBlueprintSessionSettings {
5007
+ /**
5008
+ * Maximum lifetime of a session in seconds; refreshes never extend a session
5009
+ * past this. At most 31,536,000 (365 days).
5010
+ */
5011
+ maxAgeSeconds: number;
5012
+ /** Lifetime of each minted access token in seconds. At most 3,600 (1 hour). */
5013
+ accessTokenTtlSeconds: number;
5014
+ /** Lifetime of each rotated refresh token in seconds. At most 5,184,000 (60 days). */
5015
+ refreshTokenTtlSeconds: number;
5016
+ }
5017
+ interface SerializedAgentBlueprintSessionSettings {
5018
+ max_age_seconds: number;
5019
+ access_token_ttl_seconds: number;
5020
+ refresh_token_ttl_seconds: number;
5021
+ }
5022
+ /**
5023
+ * An agent blueprint: the template describing what an agent may do (its
5024
+ * permission ceiling), who may invoke it, and the lifetimes of its sessions.
5025
+ */
5026
+ interface AgentBlueprint {
5027
+ object: 'agent_blueprint';
5028
+ /** Unique identifier of the agent blueprint. */
5029
+ id: string;
5030
+ /** Human-readable name of the agent blueprint. */
5031
+ name: string;
5032
+ /** Human-readable description of the agent blueprint. */
5033
+ description: string | null;
5034
+ /**
5035
+ * Permission slugs forming the ceiling on what sessions minted from the
5036
+ * blueprint may do.
5037
+ */
5038
+ permissions: string[];
5039
+ /** Who may mint sessions from the blueprint. */
5040
+ invocableBy: AgentBlueprintInvocableBy;
5041
+ /** Token and session lifetimes for sessions minted from the blueprint. */
5042
+ sessionSettings: AgentBlueprintSessionSettings;
5043
+ /** An ISO 8601 timestamp. */
5044
+ createdAt: string;
5045
+ /** An ISO 8601 timestamp. */
5046
+ updatedAt: string;
5047
+ }
5048
+ interface SerializedAgentBlueprint {
5049
+ object: 'agent_blueprint';
5050
+ id: string;
5051
+ name: string;
5052
+ description: string | null;
5053
+ permissions: string[];
5054
+ invocable_by: SerializedAgentBlueprintInvocableBy;
5055
+ session_settings: SerializedAgentBlueprintSessionSettings;
5056
+ created_at: string;
5057
+ updated_at: string;
5058
+ }
5059
+ /** Options for creating an agent blueprint. */
5060
+ interface CreateAgentBlueprintOptions {
5061
+ /** Human-readable name of the agent blueprint. */
5062
+ name: string;
5063
+ /** Human-readable description of the agent blueprint. */
5064
+ description?: string;
5065
+ /**
5066
+ * Permission slugs forming the ceiling on what sessions minted from the
5067
+ * blueprint may do. Each slug must exist in the environment.
5068
+ */
5069
+ permissions?: string[];
5070
+ /** Who may mint sessions from the blueprint. */
5071
+ invocableBy?: {
5072
+ roleSlugs?: string[];
5073
+ organizationIds?: string[];
5074
+ };
5075
+ /** Token and session lifetimes for sessions minted from the blueprint. */
5076
+ sessionSettings: {
5077
+ maxAgeSeconds: number;
5078
+ accessTokenTtlSeconds: number;
5079
+ refreshTokenTtlSeconds: number;
5080
+ };
5081
+ }
5082
+ interface SerializedCreateAgentBlueprintOptions {
5083
+ name: string;
5084
+ description?: string;
5085
+ permissions?: string[];
5086
+ invocable_by?: {
5087
+ role_slugs?: string[];
5088
+ organization_ids?: string[];
5089
+ };
5090
+ session_settings: SerializedAgentBlueprintSessionSettings;
5091
+ }
5092
+ /**
5093
+ * Options for updating an agent blueprint. Omitted fields are left unchanged;
5094
+ * provided lists replace the existing configuration.
5095
+ */
5096
+ interface UpdateAgentBlueprintOptions {
5097
+ /** Unique identifier of the agent blueprint. */
5098
+ agentBlueprintId: string;
5099
+ /** Human-readable name of the agent blueprint. */
5100
+ name?: string;
5101
+ /** Human-readable description of the agent blueprint, or `null` to clear it. */
5102
+ description?: string | null;
5103
+ /**
5104
+ * Permission slugs forming the ceiling on what sessions minted from the
5105
+ * blueprint may do. Each slug must exist in the environment.
5106
+ */
5107
+ permissions?: string[];
5108
+ /** Who may mint sessions from the blueprint. */
5109
+ invocableBy?: {
5110
+ roleSlugs?: string[];
5111
+ organizationIds?: string[];
5112
+ };
5113
+ /** Token and session lifetimes for sessions minted from the blueprint. */
5114
+ sessionSettings?: {
5115
+ maxAgeSeconds?: number;
5116
+ accessTokenTtlSeconds?: number;
5117
+ refreshTokenTtlSeconds?: number;
5118
+ };
5119
+ }
5120
+ interface SerializedUpdateAgentBlueprintOptions {
5121
+ name?: string;
5122
+ description?: string | null;
5123
+ permissions?: string[];
5124
+ invocable_by?: {
5125
+ role_slugs?: string[];
5126
+ organization_ids?: string[];
5127
+ };
5128
+ session_settings?: {
5129
+ max_age_seconds?: number;
5130
+ access_token_ttl_seconds?: number;
5131
+ refresh_token_ttl_seconds?: number;
5132
+ };
5133
+ }
5134
+ /** Options for listing agent blueprints. */
5135
+ type ListAgentBlueprintsOptions = PaginationOptions;
5136
+ //#endregion
5137
+ //#region src/agents/interfaces/agent-instance-session.interface.d.ts
5138
+ /** The lifecycle status of an agent instance session. */
5139
+ type AgentInstanceSessionStatus = 'active' | 'revoked' | 'expired';
5140
+ /** A session minted for an agent instance. */
5141
+ interface AgentInstanceSession {
5142
+ object: 'agent_instance_session';
5143
+ /** Unique identifier of the agent instance session. */
5144
+ id: string;
5145
+ /** Unique identifier of the agent instance the session belongs to. */
5146
+ agentInstanceId: string;
5147
+ /** The lifecycle status of the session. */
5148
+ status: AgentInstanceSessionStatus;
5149
+ /** An ISO 8601 timestamp of when the session expires. */
5150
+ expiresAt: string;
5151
+ /** An ISO 8601 timestamp of when the session was revoked, or `null`. */
5152
+ revokedAt: string | null;
5153
+ /** An ISO 8601 timestamp. */
5154
+ createdAt: string;
5155
+ /** An ISO 8601 timestamp. */
5156
+ updatedAt: string;
5157
+ }
5158
+ interface SerializedAgentInstanceSession {
5159
+ object: 'agent_instance_session';
5160
+ id: string;
5161
+ agent_instance_id: string;
5162
+ status: AgentInstanceSessionStatus;
5163
+ expires_at: string;
5164
+ revoked_at: string | null;
5165
+ created_at: string;
5166
+ updated_at: string;
5167
+ }
5168
+ /** Options for listing agent instance sessions. */
5169
+ interface ListAgentInstanceSessionsOptions extends PaginationOptions {
5170
+ /** Filter sessions to a single agent blueprint. */
5171
+ agentBlueprintId?: string;
5172
+ /** Filter sessions to a single agent instance. */
5173
+ agentInstanceId?: string;
5174
+ }
5175
+ interface SerializedListAgentInstanceSessionsOptions extends PaginationOptions {
5176
+ agent_blueprint_id?: string;
5177
+ agent_instance_id?: string;
5178
+ }
5179
+ //#endregion
5180
+ //#region src/agents/interfaces/agent-instance.interface.d.ts
5181
+ /** How an agent instance was minted. */
5182
+ type AgentInstanceType = 'delegated' | 'autonomous';
5183
+ /** A concrete agent minted from an agent blueprint. */
5184
+ interface AgentInstance {
5185
+ object: 'agent_instance';
5186
+ /** Unique identifier of the agent instance. */
5187
+ id: string;
5188
+ /** Unique identifier of the agent blueprint the instance was minted from. */
5189
+ agentBlueprintId: string;
5190
+ /** Unique identifier of the Organization the instance belongs to. */
5191
+ organizationId: string;
5192
+ /**
5193
+ * Unique identifier of the Organization Membership the instance acts on
5194
+ * behalf of, or `null` for autonomous instances.
5195
+ */
5196
+ organizationMembershipId: string | null;
5197
+ /** How the instance was minted. */
5198
+ type: AgentInstanceType;
5199
+ /** An ISO 8601 timestamp. */
5200
+ createdAt: string;
5201
+ /** An ISO 8601 timestamp. */
5202
+ updatedAt: string;
5203
+ }
5204
+ interface SerializedAgentInstance {
5205
+ object: 'agent_instance';
5206
+ id: string;
5207
+ agent_blueprint_id: string;
5208
+ organization_id: string;
5209
+ organization_membership_id: string | null;
5210
+ type: AgentInstanceType;
5211
+ created_at: string;
5212
+ updated_at: string;
5213
+ }
5214
+ /** Options for listing agent instances. */
5215
+ interface ListAgentInstancesOptions extends PaginationOptions {
5216
+ /** Filter instances to a single Organization. */
5217
+ organizationId?: string;
5218
+ /** Filter instances to a single agent blueprint. */
5219
+ agentBlueprintId?: string;
5220
+ }
5221
+ interface SerializedListAgentInstancesOptions extends PaginationOptions {
5222
+ organization_id?: string;
5223
+ agent_blueprint_id?: string;
5224
+ }
5225
+ //#endregion
4865
5226
  //#region src/agents/interfaces/agent-registration.interface.d.ts
4866
5227
  /** The lifecycle status of an agent registration. */
4867
5228
  type AgentRegistrationStatus = 'unverified' | 'verified' | 'expired' | 'revoked';
@@ -4954,6 +5315,86 @@ interface SerializedAgentRegistration {
4954
5315
  updated_at: string;
4955
5316
  }
4956
5317
  //#endregion
5318
+ //#region src/agents/interfaces/agent-token.interface.d.ts
5319
+ /** Tokens minted for an agent session. */
5320
+ interface AgentToken {
5321
+ /** The access token for the agent session. */
5322
+ accessToken: string;
5323
+ /** The token type, always `Bearer`. */
5324
+ tokenType: 'Bearer';
5325
+ /** Number of seconds until the access token expires. */
5326
+ expiresIn: number;
5327
+ /** The refresh token for the agent session. */
5328
+ refreshToken: string;
5329
+ /** Unique identifier of the agent instance the token belongs to. */
5330
+ agentInstanceId: string;
5331
+ /** Whether a new agent instance was created by this mint. */
5332
+ newInstance: boolean;
5333
+ /** Unique identifier of the agent instance session the token belongs to. */
5334
+ agentInstanceSessionId: string;
5335
+ /** The permission slugs granted to the session. */
5336
+ permissions: string[];
5337
+ }
5338
+ interface SerializedAgentToken {
5339
+ access_token: string;
5340
+ token_type: 'Bearer';
5341
+ expires_in: number;
5342
+ refresh_token: string;
5343
+ agent_instance_id: string;
5344
+ new_instance: boolean;
5345
+ agent_instance_session_id: string;
5346
+ permissions: string[];
5347
+ }
5348
+ interface MintAgentTokenBaseOptions {
5349
+ /** Unique identifier of the agent blueprint to mint from. */
5350
+ agentBlueprintId: string;
5351
+ /** A free-form description of what the session is intended to do. */
5352
+ intent?: string;
5353
+ }
5354
+ /** Options for minting a user-delegated agent token. */
5355
+ interface MintUserDelegatedAgentTokenOptions extends MintAgentTokenBaseOptions {
5356
+ type: 'user_delegated';
5357
+ /** The access token of the user delegating to the agent. */
5358
+ userAccessToken: string;
5359
+ }
5360
+ /** Options for minting an autonomous agent token. */
5361
+ interface MintAutonomousAgentTokenOptions extends MintAgentTokenBaseOptions {
5362
+ type: 'autonomous';
5363
+ /** The organization in which to mint the session. */
5364
+ organizationId: string;
5365
+ }
5366
+ /** Options for minting an agent-delegated agent token. */
5367
+ interface MintAgentDelegatedAgentTokenOptions extends MintAgentTokenBaseOptions {
5368
+ type: 'agent_delegated';
5369
+ /** The access token of the agent delegating to the new agent. */
5370
+ agentAccessToken: string;
5371
+ }
5372
+ /** Options for refreshing an agent token. */
5373
+ interface RefreshAgentTokenOptions extends MintAgentTokenBaseOptions {
5374
+ type: 'refresh';
5375
+ /** The refresh token from a previous mint. */
5376
+ refreshToken: string;
5377
+ }
5378
+ /** Options for minting an agent token from a blueprint. */
5379
+ type MintAgentTokenOptions = MintUserDelegatedAgentTokenOptions | MintAutonomousAgentTokenOptions | MintAgentDelegatedAgentTokenOptions | RefreshAgentTokenOptions;
5380
+ type SerializedMintAgentTokenOptions = {
5381
+ type: 'user_delegated';
5382
+ user_access_token: string;
5383
+ intent?: string;
5384
+ } | {
5385
+ type: 'autonomous';
5386
+ organization_id: string;
5387
+ intent?: string;
5388
+ } | {
5389
+ type: 'agent_delegated';
5390
+ agent_access_token: string;
5391
+ intent?: string;
5392
+ } | {
5393
+ type: 'refresh';
5394
+ refresh_token: string;
5395
+ intent?: string;
5396
+ };
5397
+ //#endregion
4957
5398
  //#region src/agents/interfaces/claim-attempt.interface.d.ts
4958
5399
  /** Options for linking an external user to a claim attempt via the admin API. */
4959
5400
  interface LinkClaimAttemptToExternalUserOptions {
@@ -5124,6 +5565,154 @@ declare class Agents {
5124
5565
  private readonly workos;
5125
5566
  private _jwks?;
5126
5567
  constructor(workos: WorkOS);
5568
+ /**
5569
+ * Create an agent blueprint
5570
+ *
5571
+ * Creates an agent blueprint: the template describing what an agent may do
5572
+ * (its permission ceiling), who may invoke it, and the lifetimes of its
5573
+ * sessions.
5574
+ *
5575
+ * @param options - Configuration for the new agent blueprint.
5576
+ * @returns {Promise<AgentBlueprint>}
5577
+ * @throws {BadRequestException} 400
5578
+ * @throws {ConflictException} 409 - Name already in use.
5579
+ * @throws {UnprocessableEntityException} 422 - Permission, role, or organization not found.
5580
+ */
5581
+ createBlueprint(options: CreateAgentBlueprintOptions): Promise<AgentBlueprint>;
5582
+ /**
5583
+ * List agent blueprints
5584
+ *
5585
+ * Lists the agent blueprints in the current environment.
5586
+ *
5587
+ * @param options - Pagination options.
5588
+ * @returns {Promise<AutoPaginatable<AgentBlueprint, ListAgentBlueprintsOptions>>}
5589
+ */
5590
+ listBlueprints(options?: ListAgentBlueprintsOptions): Promise<AutoPaginatable<AgentBlueprint, ListAgentBlueprintsOptions>>;
5591
+ /**
5592
+ * Get an agent blueprint
5593
+ *
5594
+ * Retrieves an agent blueprint by ID.
5595
+ * @param agentBlueprintId - Unique identifier of the agent blueprint.
5596
+ *
5597
+ * @example
5598
+ * "agent_blueprint_01EHWNCE74X7JSDV0X3SZ3KJNY"
5599
+ *
5600
+ * @returns {Promise<AgentBlueprint>}
5601
+ * @throws {NotFoundException} 404
5602
+ */
5603
+ getBlueprint(agentBlueprintId: string): Promise<AgentBlueprint>;
5604
+ /**
5605
+ * Update an agent blueprint
5606
+ *
5607
+ * Updates an agent blueprint. Omitted fields are left unchanged; provided
5608
+ * lists replace the existing configuration.
5609
+ *
5610
+ * @param options - Object containing the agent blueprint ID and the fields to update.
5611
+ * @returns {Promise<AgentBlueprint>}
5612
+ * @throws {BadRequestException} 400
5613
+ * @throws {NotFoundException} 404
5614
+ * @throws {ConflictException} 409 - Name already in use.
5615
+ * @throws {UnprocessableEntityException} 422 - Permission, role, or organization not found.
5616
+ */
5617
+ updateBlueprint(options: UpdateAgentBlueprintOptions): Promise<AgentBlueprint>;
5618
+ /**
5619
+ * Delete an agent blueprint
5620
+ *
5621
+ * Deletes an agent blueprint by ID.
5622
+ * @param agentBlueprintId - Unique identifier of the agent blueprint.
5623
+ *
5624
+ * @example
5625
+ * "agent_blueprint_01EHWNCE74X7JSDV0X3SZ3KJNY"
5626
+ *
5627
+ * @returns {Promise<void>}
5628
+ * @throws {NotFoundException} 404
5629
+ */
5630
+ deleteBlueprint(agentBlueprintId: string): Promise<void>;
5631
+ /**
5632
+ * Mint an agent token
5633
+ *
5634
+ * Mints tokens for an agent session from a blueprint. Supports
5635
+ * user-delegated, autonomous, and agent-delegated mints, as well as
5636
+ * refreshing an existing session with a refresh token.
5637
+ *
5638
+ * @param options - Object containing the agent blueprint ID, the mint type, and its credentials.
5639
+ * @returns {Promise<AgentToken>}
5640
+ * @throws {BadRequestException} 400
5641
+ * @throws {NotFoundException} 404
5642
+ */
5643
+ mintToken(options: MintAgentTokenOptions): Promise<AgentToken>;
5644
+ /**
5645
+ * List agent instances
5646
+ *
5647
+ * Lists the agent instances in the current environment, optionally filtered
5648
+ * by organization or agent blueprint.
5649
+ *
5650
+ * @param options - Pagination and filter options.
5651
+ * @returns {Promise<AutoPaginatable<AgentInstance, SerializedListAgentInstancesOptions>>}
5652
+ */
5653
+ listInstances(options?: ListAgentInstancesOptions): Promise<AutoPaginatable<AgentInstance, SerializedListAgentInstancesOptions>>;
5654
+ /**
5655
+ * Get an agent instance
5656
+ *
5657
+ * Retrieves an agent instance by ID.
5658
+ * @param agentInstanceId - Unique identifier of the agent instance.
5659
+ *
5660
+ * @example
5661
+ * "agent_instance_01EHWNCE74X7JSDV0X3SZ3KJNY"
5662
+ *
5663
+ * @returns {Promise<AgentInstance>}
5664
+ * @throws {NotFoundException} 404
5665
+ */
5666
+ getInstance(agentInstanceId: string): Promise<AgentInstance>;
5667
+ /**
5668
+ * Delete an agent instance
5669
+ *
5670
+ * Deletes an agent instance by ID.
5671
+ * @param agentInstanceId - Unique identifier of the agent instance.
5672
+ *
5673
+ * @example
5674
+ * "agent_instance_01EHWNCE74X7JSDV0X3SZ3KJNY"
5675
+ *
5676
+ * @returns {Promise<void>}
5677
+ * @throws {NotFoundException} 404
5678
+ */
5679
+ deleteInstance(agentInstanceId: string): Promise<void>;
5680
+ /**
5681
+ * List agent instance sessions
5682
+ *
5683
+ * Lists the agent instance sessions in the current environment, optionally
5684
+ * filtered by agent blueprint or agent instance.
5685
+ *
5686
+ * @param options - Pagination and filter options.
5687
+ * @returns {Promise<AutoPaginatable<AgentInstanceSession, SerializedListAgentInstanceSessionsOptions>>}
5688
+ */
5689
+ listInstanceSessions(options?: ListAgentInstanceSessionsOptions): Promise<AutoPaginatable<AgentInstanceSession, SerializedListAgentInstanceSessionsOptions>>;
5690
+ /**
5691
+ * Get an agent instance session
5692
+ *
5693
+ * Retrieves an agent instance session by ID.
5694
+ * @param agentInstanceSessionId - Unique identifier of the agent instance session.
5695
+ *
5696
+ * @example
5697
+ * "agent_instance_session_01EHWNCE74X7JSDV0X3SZ3KJNY"
5698
+ *
5699
+ * @returns {Promise<AgentInstanceSession>}
5700
+ * @throws {NotFoundException} 404
5701
+ */
5702
+ getInstanceSession(agentInstanceSessionId: string): Promise<AgentInstanceSession>;
5703
+ /**
5704
+ * Revoke an agent instance session
5705
+ *
5706
+ * Revokes an agent instance session by ID, invalidating its tokens.
5707
+ * @param agentInstanceSessionId - Unique identifier of the agent instance session.
5708
+ *
5709
+ * @example
5710
+ * "agent_instance_session_01EHWNCE74X7JSDV0X3SZ3KJNY"
5711
+ *
5712
+ * @returns {Promise<AgentInstanceSession>}
5713
+ * @throws {NotFoundException} 404
5714
+ */
5715
+ revokeInstanceSession(agentInstanceSessionId: string): Promise<AgentInstanceSession>;
5127
5716
  /**
5128
5717
  * Link a claim attempt to an external user
5129
5718
  *
@@ -5184,26 +5773,6 @@ declare class Agents {
5184
5773
  private getJWKS;
5185
5774
  }
5186
5775
  //#endregion
5187
- //#region src/common/utils/pagination.d.ts
5188
- declare class AutoPaginatable<ResourceType, ParametersType extends PaginationOptions = PaginationOptions> {
5189
- protected list: List<ResourceType>;
5190
- private apiCall;
5191
- readonly object: "list";
5192
- readonly options: ParametersType;
5193
- constructor(list: List<ResourceType>, apiCall: (params: PaginationOptions) => Promise<List<ResourceType>>, options?: ParametersType);
5194
- get data(): ResourceType[];
5195
- get listMetadata(): {
5196
- before?: string | null;
5197
- after?: string | null;
5198
- };
5199
- private generatePages;
5200
- /**
5201
- * Automatically paginates over the list of results, returning the complete data set.
5202
- * Returns the first result if `options.limit` is passed to the first request.
5203
- */
5204
- autoPagination(): Promise<ResourceType[]>;
5205
- }
5206
- //#endregion
5207
5776
  //#region src/api-keys/api-keys.d.ts
5208
5777
  declare class ApiKeys {
5209
5778
  private readonly workos;
@@ -6967,6 +7536,15 @@ interface AuditLogSchemaResponse {
6967
7536
  created_at: string;
6968
7537
  }
6969
7538
  //#endregion
7539
+ //#region src/audit-logs/interfaces/audit-logs-retention.interface.d.ts
7540
+ interface AuditLogsRetention {
7541
+ /** The number of days Audit Log events will be retained before being permanently deleted. Valid values are 30 through 330 in 30-day increments and 365 through 3650 in 365-day increments. */
7542
+ retentionPeriodInDays: number | null;
7543
+ }
7544
+ interface AuditLogsRetentionResponse {
7545
+ retention_period_in_days: number | null;
7546
+ }
7547
+ //#endregion
6970
7548
  //#region src/audit-logs/interfaces/create-audit-log-event-options.interface.d.ts
6971
7549
  interface AuditLogActor {
6972
7550
  id: string;
@@ -7037,10 +7615,84 @@ interface SerializedCreateAuditLogSchemaOptions {
7037
7615
  type CreateAuditLogSchemaResponse = AuditLogSchemaResponse;
7038
7616
  type CreateAuditLogSchemaRequestOptions = Pick<PostOptions, 'idempotencyKey'>;
7039
7617
  //#endregion
7618
+ //#region src/audit-logs/interfaces/get-organization-audit-logs-retention-options.interface.d.ts
7619
+ interface GetOrganizationAuditLogsRetentionOptions {
7620
+ /** Unique identifier of the Organization. */
7621
+ id: string;
7622
+ }
7623
+ //#endregion
7624
+ //#region src/audit-logs/interfaces/update-audit-logs-retention-retention-period.interface.d.ts
7625
+ declare const UpdateAuditLogsRetentionRetentionPeriod: {
7626
+ readonly Value1Month: "1_MONTH";
7627
+ readonly Value2Months: "2_MONTHS";
7628
+ readonly Value3Months: "3_MONTHS";
7629
+ readonly Value4Months: "4_MONTHS";
7630
+ readonly Value5Months: "5_MONTHS";
7631
+ readonly Value6Months: "6_MONTHS";
7632
+ readonly Value7Months: "7_MONTHS";
7633
+ readonly Value8Months: "8_MONTHS";
7634
+ readonly Value9Months: "9_MONTHS";
7635
+ readonly Value10Months: "10_MONTHS";
7636
+ readonly Value11Months: "11_MONTHS";
7637
+ readonly Value1Year: "1_YEAR";
7638
+ readonly Value2Years: "2_YEARS";
7639
+ readonly Value3Years: "3_YEARS";
7640
+ readonly Value4Years: "4_YEARS";
7641
+ readonly Value5Years: "5_YEARS";
7642
+ readonly Value6Years: "6_YEARS";
7643
+ readonly Value7Years: "7_YEARS";
7644
+ readonly Value8Years: "8_YEARS";
7645
+ readonly Value9Years: "9_YEARS";
7646
+ readonly Value10Years: "10_YEARS";
7647
+ };
7648
+ type UpdateAuditLogsRetentionRetentionPeriod = (typeof UpdateAuditLogsRetentionRetentionPeriod)[keyof typeof UpdateAuditLogsRetentionRetentionPeriod];
7649
+ //#endregion
7650
+ //#region src/audit-logs/interfaces/update-audit-logs-retention.interface.d.ts
7651
+ interface UpdateAuditLogsRetention {
7652
+ /** The period Audit Log events will be retained. Valid values are `1_MONTH` through `11_MONTHS` in one-month increments and `1_YEAR` through `10_YEARS` in one-year increments. */
7653
+ retentionPeriod: UpdateAuditLogsRetentionRetentionPeriod;
7654
+ }
7655
+ interface UpdateAuditLogsRetentionResponse {
7656
+ retention_period: UpdateAuditLogsRetentionRetentionPeriod;
7657
+ }
7658
+ //#endregion
7659
+ //#region src/audit-logs/interfaces/update-organization-audit-logs-retention-options.interface.d.ts
7660
+ interface UpdateOrganizationAuditLogsRetentionOptions {
7661
+ /** Unique identifier of the Organization. */
7662
+ id: string;
7663
+ /** The period Audit Log events will be retained. Valid values are `1_MONTH` through `11_MONTHS` in one-month increments and `1_YEAR` through `10_YEARS` in one-year increments. */
7664
+ retentionPeriod: UpdateAuditLogsRetentionRetentionPeriod;
7665
+ }
7666
+ //#endregion
7040
7667
  //#region src/audit-logs/audit-logs.d.ts
7041
7668
  declare class AuditLogs {
7042
7669
  private readonly workos;
7043
7670
  constructor(workos: WorkOS);
7671
+ /**
7672
+ * Get Retention
7673
+ *
7674
+ * Get the configured event retention period for the given Organization.
7675
+ * @param options - The request options.
7676
+ * @param options.id - Unique identifier of the Organization.
7677
+ * @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
7678
+ * @returns {Promise<AuditLogsRetention>}
7679
+ * @throws {NotFoundException} 404
7680
+ */
7681
+ getOrganizationAuditLogsRetention(options: GetOrganizationAuditLogsRetentionOptions): Promise<AuditLogsRetention>;
7682
+ /**
7683
+ * Set Retention
7684
+ *
7685
+ * Set the event retention period for the given Organization.
7686
+ * @param options - Object containing retentionPeriod.
7687
+ * @param options.id - Unique identifier of the Organization.
7688
+ * @example "org_01EHZNVPK3SFK441A1RGBFSHRT"
7689
+ * @param options.retentionPeriod - The period Audit Log events will be retained. Valid values are `1_MONTH` through `11_MONTHS` in one-month increments and `1_YEAR` through `10_YEARS` in one-year increments.
7690
+ * @example "1_MONTH"
7691
+ * @returns {Promise<AuditLogsRetention>}
7692
+ * @throws {NotFoundException} 404
7693
+ * @throws {UnprocessableEntityException} 422
7694
+ */
7695
+ updateOrganizationAuditLogsRetention(options: UpdateOrganizationAuditLogsRetentionOptions): Promise<AuditLogsRetention>;
7044
7696
  /**
7045
7697
  * Create Event
7046
7698
  *
@@ -7092,25 +7744,113 @@ declare class AuditLogs {
7092
7744
  createSchema(schema: CreateAuditLogSchemaOptions, options?: CreateAuditLogSchemaRequestOptions): Promise<AuditLogSchema>;
7093
7745
  listSchemas(action: string, options?: PaginationOptions): Promise<AutoPaginatable<AuditLogSchema, PaginationOptions>>;
7094
7746
  }
7095
- //#endregion
7096
- //#region node_modules/jose/dist/types/types.d.ts
7097
- /**
7098
- * JWS "alg" (Algorithm) Header Parameter values supported by this module. Availability of a given
7099
- * identifier additionally depends on the runtime.
7100
- */
7747
+ declare namespace types_d_exports {
7748
+ export { AnyJWK, CompactDecryptResult, CompactJWEHeaderParameters, CompactJWSHeaderParameters, CompactVerifyResult, CritOption, CryptoKey, CryptoKeyStructuralFallback, DecryptOptions, EncryptOptions, FlattenedDecryptResult, FlattenedJWE, FlattenedJWS, FlattenedJWSInput, FlattenedVerifyResult, GeneralDecryptResult, GeneralJWE, GeneralJWS, GeneralJWSInput, GeneralVerifyResult, GetKeyFunction, JSONWebKeySet, JWEContentEncryptionAlgorithm, JWEHeaderParameters, JWEKeyManagementAlgorithm, JWEKeyManagementHeaderParameters, JWK, JWKKeyType, JWKParameters, JWK_AKP_Private, JWK_AKP_Public, JWK_EC_Private, JWK_EC_Public, JWK_OKP_Private, JWK_OKP_Public, JWK_RSA_Private, JWK_RSA_Public, JWK_oct, JWSAlgorithm, JWSHeaderParameters, JWTClaimVerificationOptions, JWTDecryptResult, JWTHeaderParameters, JWTPayload, JWTVerifyResult, JoseHeaderParameters, KeyInput, KeyObject, ProduceJWT, ResolvedKey, SignOptions, VerifyOptions };
7749
+ }
7750
+ /** Supported JWS "alg" (Algorithm) Header Parameter values. Availability depends on the runtime. */
7101
7751
  type JWSAlgorithm = 'HS256' | 'HS384' | 'HS512' | 'RS256' | 'RS384' | 'RS512' | 'PS256' | 'PS384' | 'PS512' | 'ES256' | 'ES384' | 'ES512' | 'EdDSA' | 'Ed25519' | 'ML-DSA-44' | 'ML-DSA-65' | 'ML-DSA-87' | (string & {});
7102
- /**
7103
- * JWE "alg" (Algorithm) Header Parameter values supported by this module. Availability of a given
7104
- * identifier additionally depends on the runtime.
7105
- */
7752
+ /** Supported JWE "alg" (Algorithm) Header Parameter values. Availability depends on the runtime. */
7106
7753
  type JWEKeyManagementAlgorithm = 'dir' | 'A128KW' | 'A192KW' | 'A256KW' | 'A128GCMKW' | 'A192GCMKW' | 'A256GCMKW' | 'ECDH-ES' | 'ECDH-ES+A128KW' | 'ECDH-ES+A192KW' | 'ECDH-ES+A256KW' | 'RSA-OAEP' | 'RSA-OAEP-256' | 'RSA-OAEP-384' | 'RSA-OAEP-512' | 'PBES2-HS256+A128KW' | 'PBES2-HS384+A192KW' | 'PBES2-HS512+A256KW' | (string & {});
7107
7754
  /**
7108
- * JWE "enc" (Encryption Algorithm) Header Parameter values supported by this module. Availability
7109
- * of a given identifier additionally depends on the runtime.
7755
+ * Supported JWE "enc" (Encryption Algorithm) Header Parameter values. Availability depends on the
7756
+ * runtime.
7110
7757
  */
7111
7758
  type JWEContentEncryptionAlgorithm = 'A128CBC-HS256' | 'A192CBC-HS384' | 'A256CBC-HS512' | 'A128GCM' | 'A192GCM' | 'A256GCM' | (string & {});
7112
7759
  /** JWK "kty" (Key Type) Parameter values supported by this module. */
7113
7760
  type JWKKeyType = 'EC' | 'RSA' | 'OKP' | 'AKP' | 'oct' | (string & {});
7761
+ /**
7762
+ * Generic JSON Web Key Parameters.
7763
+ *
7764
+ * > Note: This is declared as a type alias rather than an interface so that it satisfies the implicit index
7765
+ * > signature of the `JsonWebKey` types shipped by `@types/node` and `lib.dom`.
7766
+ */
7767
+ type JWKParameters = {
7768
+ /** JWK "kty" (Key Type) Parameter */
7769
+ kty?: JWKKeyType;
7770
+ /** JWK "alg" (Algorithm) Parameter */
7771
+ alg?: JWSAlgorithm | JWEKeyManagementAlgorithm | JWEContentEncryptionAlgorithm;
7772
+ /** Permitted key operations. */
7773
+ key_ops?: string[];
7774
+ /** Whether the key may be exported. */
7775
+ ext?: boolean;
7776
+ /** JWK "use" (Public Key Use) Parameter */
7777
+ use?: 'sig' | 'enc' | (string & {});
7778
+ /** X.509 certificate chain. */
7779
+ x5c?: string[];
7780
+ /** X.509 certificate SHA-1 thumbprint. */
7781
+ x5t?: string;
7782
+ /** X.509 certificate SHA-256 thumbprint. */
7783
+ 'x5t#S256'?: string;
7784
+ /** X.509 certificate URL. */
7785
+ x5u?: string;
7786
+ /** JWK "kid" (Key ID) Parameter */
7787
+ kid?: string;
7788
+ };
7789
+ /** Convenience interface for public OKP JSON Web Keys. */
7790
+ interface JWK_OKP_Public extends JWKParameters {
7791
+ /** Key pair subtype. */
7792
+ crv: string;
7793
+ /** Public key. */
7794
+ x: string;
7795
+ }
7796
+ /** Convenience interface for private OKP JSON Web Keys. */
7797
+ interface JWK_OKP_Private extends JWK_OKP_Public {
7798
+ /** Private key. */
7799
+ d: string;
7800
+ }
7801
+ /** Convenience interface for public AKP JSON Web Keys. */
7802
+ interface JWK_AKP_Public extends JWKParameters {
7803
+ /** JWK "alg" (Algorithm) Parameter */
7804
+ alg: string;
7805
+ /** AKP JWK "pub" (The Public key) Parameter */
7806
+ pub: string;
7807
+ }
7808
+ /** Convenience interface for private AKP JSON Web Keys. */
7809
+ interface JWK_AKP_Private extends JWK_AKP_Public {
7810
+ /** AKP JWK "priv" (The Private Key) Parameter */
7811
+ priv: string;
7812
+ }
7813
+ /** Convenience interface for public EC JSON Web Keys. */
7814
+ interface JWK_EC_Public extends JWKParameters {
7815
+ /** Curve. */
7816
+ crv: string;
7817
+ /** Public key X coordinate. */
7818
+ x: string;
7819
+ /** Public key Y coordinate. */
7820
+ y: string;
7821
+ }
7822
+ /** Convenience interface for private EC JSON Web Keys. */
7823
+ interface JWK_EC_Private extends JWK_EC_Public {
7824
+ /** Private key. */
7825
+ d: string;
7826
+ }
7827
+ /** Convenience interface for public RSA JSON Web Keys. */
7828
+ interface JWK_RSA_Public extends JWKParameters {
7829
+ /** Public exponent. */
7830
+ e: string;
7831
+ /** Modulus. */
7832
+ n: string;
7833
+ }
7834
+ /** Convenience interface for private RSA JSON Web Keys. */
7835
+ interface JWK_RSA_Private extends JWK_RSA_Public {
7836
+ /** Private exponent. */
7837
+ d: string;
7838
+ /** First factor CRT exponent. */
7839
+ dp: string;
7840
+ /** Second factor CRT exponent. */
7841
+ dq: string;
7842
+ /** First prime factor. */
7843
+ p: string;
7844
+ /** Second prime factor. */
7845
+ q: string;
7846
+ /** First CRT coefficient. */
7847
+ qi: string;
7848
+ }
7849
+ /** Convenience interface for "oct" JSON Web Keys. */
7850
+ interface JWK_oct extends JWKParameters {
7851
+ /** Symmetric key value. */
7852
+ k: string;
7853
+ }
7114
7854
  /**
7115
7855
  * JSON Web Key ({@link https://www.rfc-editor.org/info/rfc7517/ JWK}). "RSA", "EC", "OKP", "AKP",
7116
7856
  * and "oct" key types are supported.
@@ -7125,146 +7865,404 @@ type JWK = {
7125
7865
  kty?: JWKKeyType;
7126
7866
  /** JWK "alg" (Algorithm) Parameter */
7127
7867
  alg?: JWSAlgorithm | JWEKeyManagementAlgorithm | JWEContentEncryptionAlgorithm;
7128
- /** JWK "key_ops" (Key Operations) Parameter */
7868
+ /** Permitted key operations. */
7129
7869
  key_ops?: string[];
7130
- /** JWK "ext" (Extractable) Parameter */
7870
+ /** Whether the key may be exported. */
7131
7871
  ext?: boolean;
7132
7872
  /** JWK "use" (Public Key Use) Parameter */
7133
7873
  use?: 'sig' | 'enc' | (string & {});
7134
- /** JWK "x5c" (X.509 Certificate Chain) Parameter */
7874
+ /** X.509 certificate chain. */
7135
7875
  x5c?: string[];
7136
- /** JWK "x5t" (X.509 Certificate SHA-1 Thumbprint) Parameter */
7876
+ /** X.509 certificate SHA-1 thumbprint. */
7137
7877
  x5t?: string;
7138
- /** JWK "x5t#S256" (X.509 Certificate SHA-256 Thumbprint) Parameter */
7878
+ /** X.509 certificate SHA-256 thumbprint. */
7139
7879
  'x5t#S256'?: string;
7140
- /** JWK "x5u" (X.509 URL) Parameter */
7880
+ /** X.509 certificate URL. */
7141
7881
  x5u?: string;
7142
7882
  /** JWK "kid" (Key ID) Parameter */
7143
7883
  kid?: string;
7144
- /**
7145
- * - EC JWK "crv" (Curve) Parameter
7146
- * - OKP JWK "crv" (The Subtype of Key Pair) Parameter
7147
- */
7884
+ /** EC curve or OKP key pair subtype. */
7148
7885
  crv?: string;
7149
- /**
7150
- * - Private RSA JWK "d" (Private Exponent) Parameter
7151
- * - Private EC JWK "d" (ECC Private Key) Parameter
7152
- * - Private OKP JWK "d" (The Private Key) Parameter
7153
- */
7886
+ /** Private RSA exponent, EC key, or OKP key. */
7154
7887
  d?: string;
7155
- /** Private RSA JWK "dp" (First Factor CRT Exponent) Parameter */
7888
+ /** RSA first factor CRT exponent. */
7156
7889
  dp?: string;
7157
- /** Private RSA JWK "dq" (Second Factor CRT Exponent) Parameter */
7890
+ /** RSA second factor CRT exponent. */
7158
7891
  dq?: string;
7159
- /** RSA JWK "e" (Exponent) Parameter */
7892
+ /** RSA public exponent. */
7160
7893
  e?: string;
7161
- /** Oct JWK "k" (Key Value) Parameter */
7894
+ /** Symmetric key value. */
7162
7895
  k?: string;
7163
- /** RSA JWK "n" (Modulus) Parameter */
7896
+ /** RSA modulus. */
7164
7897
  n?: string;
7165
- /** Private RSA JWK "p" (First Prime Factor) Parameter */
7898
+ /** RSA first prime factor. */
7166
7899
  p?: string;
7167
- /** Private RSA JWK "q" (Second Prime Factor) Parameter */
7900
+ /** RSA second prime factor. */
7168
7901
  q?: string;
7169
- /** Private RSA JWK "qi" (First CRT Coefficient) Parameter */
7902
+ /** RSA first CRT coefficient. */
7170
7903
  qi?: string;
7171
- /**
7172
- * - EC JWK "x" (X Coordinate) Parameter
7173
- * - OKP JWK "x" (The public key) Parameter
7174
- */
7904
+ /** EC public key X coordinate or OKP public key. */
7175
7905
  x?: string;
7176
- /** EC JWK "y" (Y Coordinate) Parameter */
7906
+ /** EC public key Y coordinate. */
7177
7907
  y?: string;
7178
7908
  /** AKP JWK "pub" (Public Key) Parameter */
7179
7909
  pub?: string;
7180
7910
  /** AKP JWK "priv" (Private key) Parameter */
7181
7911
  priv?: string;
7182
- /**
7183
- * RSA JWK "oth" (Other Primes Info) Parameter
7184
- *
7185
- * > Note: Multi-prime RSA keys are not supported; importing a JWK with this parameter present throws.
7186
- */
7912
+ /** Additional RSA prime factors. */
7187
7913
  oth?: Array<{
7188
- /** The Factor CRT Exponent */
7914
+ /** Factor CRT exponent. */
7189
7915
  d?: string;
7190
- /** The Prime Factor */
7916
+ /** Prime factor. */
7191
7917
  r?: string;
7192
- /** The Factor CRT Coefficient */
7918
+ /** Factor CRT coefficient. */
7193
7919
  t?: string;
7194
7920
  }>;
7195
7921
  };
7196
- /**
7197
- * Flattened JWS definition for verify function inputs, allows payload as {@link !Uint8Array} for
7198
- * detached signature validation.
7199
- */
7200
- interface FlattenedJWSInput {
7922
+ /** Discriminated union of supported JSON Web Key shapes, narrowed by the "kty" (Key Type) Parameter. */
7923
+ // Intersect "kty" into each member separately: typedoc omits the parentheses in `X & (A | B)`.
7924
+ type AnyJWK = (JWK_EC_Private & {
7925
+ kty: 'EC';
7926
+ }) | (JWK_EC_Public & {
7927
+ kty: 'EC';
7928
+ }) | (JWK_RSA_Private & {
7929
+ kty: 'RSA';
7930
+ }) | (JWK_RSA_Public & {
7931
+ kty: 'RSA';
7932
+ }) | (JWK_OKP_Private & {
7933
+ kty: 'OKP';
7934
+ }) | (JWK_OKP_Public & {
7935
+ kty: 'OKP';
7936
+ }) | (JWK_AKP_Private & {
7937
+ kty: 'AKP';
7938
+ }) | (JWK_AKP_Public & {
7939
+ kty: 'AKP';
7940
+ }) | (JWK_oct & {
7941
+ kty: 'oct';
7942
+ });
7943
+ /** Key or secret input accepted by all sign, verify, encrypt, and decrypt operations. */
7944
+ type KeyInput = CryptoKey | KeyObject | JWK | Uint8Array;
7945
+ /** Dynamic key resolver for consuming operations. */
7946
+ interface GetKeyFunction<IProtectedHeader, IToken, KeyTypes extends KeyInput = KeyInput> {
7201
7947
  /**
7202
- * The "header" member MUST be present and contain the value JWS Unprotected Header when the JWS
7203
- * Unprotected Header value is non- empty; otherwise, it MUST be absent. This value is represented
7204
- * as an unencoded JSON object, rather than as a string. These Header Parameter values are not
7205
- * integrity protected.
7948
+ * Resolves a key for an unverified token. Throw if no suitable key can be resolved.
7949
+ *
7950
+ * @param token The consumed JWE or JWS token; none of its components have been verified.
7206
7951
  */
7952
+ (protectedHeader: IProtectedHeader, token: IToken): Promise<KeyTypes> | KeyTypes;
7953
+ }
7954
+ /** Flattened JWS verification input. */
7955
+ interface FlattenedJWSInput {
7956
+ /** JWS Unprotected Header as a JSON object. Not integrity protected; omit when empty. */
7207
7957
  header?: JWSHeaderParameters;
7208
- /**
7209
- * The "payload" member MUST be present and contain the value BASE64URL(JWS Payload). When RFC7797
7210
- * "b64": false is used the value passed may also be a {@link !Uint8Array}.
7211
- */
7958
+ /** Base64url-encoded payload; with `b64: false`, supply an unencoded string or Uint8Array. */
7959
+ payload: string | Uint8Array;
7960
+ /** Base64url-encoded UTF-8 JWS Protected Header. Integrity protected; omit when empty. */
7961
+ protected?: string;
7962
+ /** Base64url-encoded signature or MAC. */
7963
+ signature: string;
7964
+ }
7965
+ /** General JWS verification input. */
7966
+ interface GeneralJWSInput {
7967
+ /** Base64url-encoded payload; with `b64: false`, supply an unencoded string or Uint8Array. */
7212
7968
  payload: string | Uint8Array;
7213
7969
  /**
7214
- * The "protected" member MUST be present and contain the value BASE64URL(UTF8(JWS Protected
7215
- * Header)) when the JWS Protected Header value is non-empty; otherwise, it MUST be absent. These
7216
- * Header Parameter values are integrity protected.
7970
+ * The "signatures" member value MUST be an array of JSON objects. Each object represents a
7971
+ * signature or MAC over the JWS Payload and the JWS Protected Header.
7217
7972
  */
7218
- protected?: string;
7219
- /** The "signature" member MUST be present and contain the value BASE64URL(JWS Signature). */
7973
+ signatures: Omit<FlattenedJWSInput, 'payload'>[];
7974
+ }
7975
+ /**
7976
+ * Flattened JWS JSON Serialization token. The payload is an empty string when the
7977
+ * {@link https://www.rfc-editor.org/info/rfc7797/ unencoded payload option} is used.
7978
+ */
7979
+ interface FlattenedJWS extends Partial<FlattenedJWSInput> {
7980
+ payload: string;
7220
7981
  signature: string;
7221
7982
  }
7222
- /** Header Parameters common to JWE and JWS */
7983
+ /**
7984
+ * General JWS JSON Serialization token. The payload is an empty string when the
7985
+ * {@link https://www.rfc-editor.org/info/rfc7797/ unencoded payload option} is used.
7986
+ */
7987
+ interface GeneralJWS {
7988
+ payload: string;
7989
+ signatures: Omit<FlattenedJWSInput, 'payload'>[];
7990
+ }
7991
+ /** Header Parameters common to JWE and JWS. */
7223
7992
  interface JoseHeaderParameters {
7224
7993
  /** "kid" (Key ID) Header Parameter */
7225
7994
  kid?: string;
7226
- /** "x5t" (X.509 Certificate SHA-1 Thumbprint) Header Parameter */
7995
+ /** X.509 certificate SHA-1 thumbprint. */
7227
7996
  x5t?: string;
7228
- /** "x5c" (X.509 Certificate Chain) Header Parameter */
7997
+ /** X.509 certificate chain. */
7229
7998
  x5c?: string[];
7230
- /** "x5u" (X.509 URL) Header Parameter */
7999
+ /** X.509 certificate URL. */
7231
8000
  x5u?: string;
7232
- /** "jku" (JWK Set URL) Header Parameter */
8001
+ /** JWK Set URL. */
7233
8002
  jku?: string;
7234
- /**
7235
- * "jwk" (JSON Web Key) Header Parameter. This must be a public JSON Web Key; private and
7236
- * symmetric key parameters are not permitted.
7237
- */
8003
+ /** Public JWK only; private and symmetric key parameters are not permitted. */
7238
8004
  jwk?: Omit<JWK, 'd' | 'dp' | 'dq' | 'k' | 'p' | 'q' | 'qi' | 'priv' | 'oth'>;
7239
8005
  /** "typ" (Type) Header Parameter */
7240
8006
  typ?: string;
7241
- /** "cty" (Content Type) Header Parameter */
8007
+ /** Content type. */
7242
8008
  cty?: string;
7243
8009
  }
7244
- /** Recognized JWS Header Parameters, any other Header Members may also be present. */
8010
+ /** Recognized JWS Header Parameters; additional members may also be present. */
7245
8011
  interface JWSHeaderParameters extends JoseHeaderParameters {
7246
8012
  /** JWS "alg" (Algorithm) Header Parameter */
7247
8013
  alg?: JWSAlgorithm;
7248
8014
  /**
7249
- * This JWS Extension Header Parameter modifies the JWS Payload representation and the JWS Signing
7250
- * Input computation as per {@link https://www.rfc-editor.org/info/rfc7797/ RFC7797}.
8015
+ * Controls payload encoding and the JWS signing input as defined by
8016
+ * {@link https://www.rfc-editor.org/info/rfc7797/ RFC7797}. Set to `false` and list `b64` in
8017
+ * `crit` to use an unencoded payload.
7251
8018
  */
7252
8019
  b64?: boolean;
7253
- /** JWS "crit" (Critical) Header Parameter */
8020
+ /** Extension parameters that must be recognized. */
7254
8021
  crit?: string[];
7255
8022
  /** Any other JWS Header member. */
7256
8023
  [propName: string]: unknown;
7257
8024
  }
7258
- /** JSON Web Key Set */
8025
+ /** Recognized JWE Key Management-related Header Parameters. */
8026
+ interface JWEKeyManagementHeaderParameters {
8027
+ /** ECDH-ES Agreement PartyUInfo bytes, used in ConcatKDF and added to the JOSE header. */
8028
+ apu?: Uint8Array;
8029
+ /** ECDH-ES Agreement PartyVInfo bytes, used in ConcatKDF and added to the JOSE header. */
8030
+ apv?: Uint8Array;
8031
+ /** PBES2 PBKDF2 iteration count, added to the JOSE header. */
8032
+ p2c?: number;
8033
+ /** @deprecated For testing and vector validation only. */
8034
+ p2s?: Uint8Array;
8035
+ /** @deprecated For testing and vector validation only. */
8036
+ iv?: Uint8Array;
8037
+ /** @deprecated For testing and vector validation only. */
8038
+ epk?: CryptoKey | KeyObject;
8039
+ }
8040
+ /** Flattened JWE JSON Serialization token. */
8041
+ interface FlattenedJWE {
8042
+ /**
8043
+ * Base64url-encoded additional authenticated data; integrity protected but not encrypted. Omit
8044
+ * when empty.
8045
+ */
8046
+ aad?: string;
8047
+ /** Base64url-encoded ciphertext. */
8048
+ ciphertext: string;
8049
+ /** Base64url-encoded encrypted key. Omit when empty. */
8050
+ encrypted_key?: string;
8051
+ /**
8052
+ * JWE Per-Recipient Unprotected Header as a JSON object. Not integrity protected; omit when
8053
+ * empty.
8054
+ */
8055
+ header?: JWEHeaderParameters;
8056
+ /** Base64url-encoded initialization vector. Omit when empty. */
8057
+ iv?: string;
8058
+ /** Base64url-encoded UTF-8 JWE Protected Header. Integrity protected; omit when empty. */
8059
+ protected?: string;
8060
+ /** Base64url-encoded authentication tag. Omit when empty. */
8061
+ tag?: string;
8062
+ /** JWE Shared Unprotected Header as a JSON object. Not integrity protected; omit when empty. */
8063
+ unprotected?: JWEHeaderParameters;
8064
+ }
8065
+ /** General JWE JSON Serialization token. */
8066
+ interface GeneralJWE extends Omit<FlattenedJWE, 'encrypted_key' | 'header'> {
8067
+ recipients: Pick<FlattenedJWE, 'encrypted_key' | 'header'>[];
8068
+ }
8069
+ /** Recognized JWE Header Parameters; additional members may also be present. */
8070
+ interface JWEHeaderParameters extends JoseHeaderParameters {
8071
+ /** JWE "alg" (Algorithm) Header Parameter */
8072
+ alg?: JWEKeyManagementAlgorithm;
8073
+ /** JWE "enc" (Encryption Algorithm) Header Parameter */
8074
+ enc?: JWEContentEncryptionAlgorithm;
8075
+ /** Extension parameters that must be recognized. */
8076
+ crit?: string[];
8077
+ /**
8078
+ * JWE compression algorithm. Only `"DEF"` (DEFLATE) is supported, requiring the runtime's
8079
+ * `CompressionStream` / `DecompressionStream` APIs.
8080
+ */
8081
+ zip?: 'DEF' | (string & {});
8082
+ /** Any other JWE Header member. */
8083
+ [propName: string]: unknown;
8084
+ }
8085
+ /** Shared "crit" option for signing, verification, encryption, and decryption. */
8086
+ interface CritOption {
8087
+ /**
8088
+ * Recognized "crit" (Critical) Header Parameter names. Set each value to `true` to require
8089
+ * integrity protection, or `false` when protection is optional. The JWS `b64` extension is always
8090
+ * recognized and processed.
8091
+ *
8092
+ * > Warning: Other extensions are only checked for syntax and optional integrity protection. Their presence
8093
+ * > is not required by this option. You must check their presence and process them according to the
8094
+ * > profile's validation steps after the operation succeeds.
8095
+ */
8096
+ crit?: {
8097
+ [propName: string]: boolean;
8098
+ };
8099
+ }
8100
+ /** JWE Decryption options. */
8101
+ interface DecryptOptions extends CritOption {
8102
+ /**
8103
+ * Accepted JWE "alg" (Algorithm) Header Parameter values. Defaults to all algorithms applicable
8104
+ * to the key or secret except PBES2, which must be explicitly allowed.
8105
+ */
8106
+ keyManagementAlgorithms?: JWEKeyManagementAlgorithm[];
8107
+ /**
8108
+ * Accepted JWE "enc" (Encryption Algorithm) Header Parameter values. Defaults to all algorithms
8109
+ * applicable to the key or secret.
8110
+ */
8111
+ contentEncryptionAlgorithms?: JWEContentEncryptionAlgorithm[];
8112
+ /**
8113
+ * Maximum "p2c" (PBES2 Count) Header Parameter value, limiting PBKDF2 iterations and their
8114
+ * computational expense. Defaults to 10000; must be a positive safe integer or `Infinity` to
8115
+ * disable the limit.
8116
+ */
8117
+ maxPBES2Count?: number;
8118
+ /**
8119
+ * Maximum decompressed plaintext size in bytes. Defaults to 250000; `0` rejects compressed JWEs,
8120
+ * and `Infinity` disables the limit. Other values must be positive safe integers.
8121
+ */
8122
+ maxDecompressedLength?: number;
8123
+ }
8124
+ /** JWE Encryption options. */
8125
+ interface EncryptOptions extends CritOption {}
8126
+ /** JWT Claims Set verification options. */
8127
+ interface JWTClaimVerificationOptions {
8128
+ /** Expected JWT "aud" (Audience) Claim value(s). Requires the claim to be present. */
8129
+ audience?: string | string[];
8130
+ /**
8131
+ * Clock skew tolerance in seconds or a duration string (e.g. "5 seconds"). Applies to the "nbf"
8132
+ * (Not Before) and "exp" (Expiration Time) claims, and to "iat" (Issued At) when
8133
+ * {@link maxTokenAge} is set.
8134
+ */
8135
+ clockTolerance?: string | number;
8136
+ /** Expected JWT "iss" (Issuer) Claim value(s). Requires the claim to be present. */
8137
+ issuer?: string | string[];
8138
+ /**
8139
+ * Maximum time since the JWT "iat" (Issued At) Claim, in seconds or a duration string (e.g. "2
8140
+ * hours"). Requires the claim to be present.
8141
+ */
8142
+ maxTokenAge?: string | number;
8143
+ /** Expected JWT "sub" (Subject) Claim value. Requires the claim to be present. */
8144
+ subject?: string;
8145
+ /** Expected JWT "typ" (Type) Header Parameter value. Requires the parameter to be present. */
8146
+ typ?: string;
8147
+ /** Date for NumericDate comparisons. Defaults to `new Date()`. */
8148
+ currentDate?: Date;
8149
+ /**
8150
+ * Additional claim names required in the JWT Claims Set. The {@link issuer}, {@link audience},
8151
+ * {@link subject}, and {@link maxTokenAge} options independently require "iss", "aud", "sub", and
8152
+ * "iat", respectively.
8153
+ */
8154
+ requiredClaims?: string[];
8155
+ }
8156
+ /** JWS Verification options. */
8157
+ interface VerifyOptions extends CritOption {
8158
+ /**
8159
+ * Accepted JWS "alg" (Algorithm) Header Parameter values. Defaults to all algorithms applicable
8160
+ * to the key or secret. Unsecured JWTs (`alg: "none"`) are never accepted.
8161
+ */
8162
+ algorithms?: JWSAlgorithm[];
8163
+ }
8164
+ /** JWS Signing options. */
8165
+ interface SignOptions extends CritOption {}
8166
+ /** Recognized JWT Claims Set members; additional members may also be present. */
8167
+ interface JWTPayload {
8168
+ /** JWT Issuer */
8169
+ iss?: string;
8170
+ /** JWT Subject */
8171
+ sub?: string;
8172
+ /** JWT Audience */
8173
+ aud?: string | string[];
8174
+ /** JWT ID */
8175
+ jti?: string;
8176
+ /** Not valid before this Unix timestamp in seconds. */
8177
+ nbf?: number;
8178
+ /** Expiration Unix timestamp in seconds. */
8179
+ exp?: number;
8180
+ /** Issued-at Unix timestamp in seconds. */
8181
+ iat?: number;
8182
+ /** Any other JWT Claim Set member. */
8183
+ [propName: string]: unknown;
8184
+ }
8185
+ /** Flattened JWE JSON Serialization decryption result. */
8186
+ interface FlattenedDecryptResult {
8187
+ /** JWE Additional Authenticated Data, integrity protected but not encrypted. */
8188
+ additionalAuthenticatedData?: Uint8Array;
8189
+ /** Plaintext. */
8190
+ plaintext: Uint8Array;
8191
+ /** JWE Protected Header. */
8192
+ protectedHeader?: JWEHeaderParameters;
8193
+ /** JWE Shared Unprotected Header. Not integrity protected. */
8194
+ sharedUnprotectedHeader?: JWEHeaderParameters;
8195
+ /** JWE Per-Recipient Unprotected Header. Not integrity protected. */
8196
+ unprotectedHeader?: JWEHeaderParameters;
8197
+ }
8198
+ /** General JWE JSON Serialization decryption result. */
8199
+ interface GeneralDecryptResult extends FlattenedDecryptResult {}
8200
+ /** Compact JWE decryption result. */
8201
+ interface CompactDecryptResult {
8202
+ /** Plaintext. */
8203
+ plaintext: Uint8Array;
8204
+ /** JWE Protected Header. */
8205
+ protectedHeader: CompactJWEHeaderParameters;
8206
+ }
8207
+ /** Flattened JWS JSON Serialization verification result. */
8208
+ interface FlattenedVerifyResult {
8209
+ /** JWS Payload. */
8210
+ payload: Uint8Array;
8211
+ /** JWS Protected Header. */
8212
+ protectedHeader?: JWSHeaderParameters;
8213
+ /** JWS Unprotected Header. Not integrity protected. */
8214
+ unprotectedHeader?: JWSHeaderParameters;
8215
+ }
8216
+ /** General JWS JSON Serialization verification result. */
8217
+ interface GeneralVerifyResult extends FlattenedVerifyResult {}
8218
+ /** Compact JWS verification result. */
8219
+ interface CompactVerifyResult {
8220
+ /** JWS Payload. */
8221
+ payload: Uint8Array;
8222
+ /** JWS Protected Header. */
8223
+ protectedHeader: CompactJWSHeaderParameters;
8224
+ }
8225
+ /** Signed JSON Web Token (JWT) verification result. */
8226
+ interface JWTVerifyResult<PayloadType = JWTPayload> {
8227
+ /** JWT Claims Set. */
8228
+ payload: PayloadType & JWTPayload & ([PayloadType] extends [object] ? unknown : unknown extends PayloadType ? unknown : never);
8229
+ /** JWS Protected Header. */
8230
+ protectedHeader: JWTHeaderParameters;
8231
+ }
8232
+ /** Encrypted JSON Web Token (JWT) decryption result. */
8233
+ interface JWTDecryptResult<PayloadType = JWTPayload> {
8234
+ /** JWT Claims Set. */
8235
+ payload: PayloadType & JWTPayload & ([PayloadType] extends [object] ? unknown : unknown extends PayloadType ? unknown : never);
8236
+ /** JWE Protected Header. */
8237
+ protectedHeader: CompactJWEHeaderParameters;
8238
+ }
8239
+ /** Key resolver result metadata. */
8240
+ interface ResolvedKey<KeyType extends CryptoKey | Uint8Array = CryptoKey | Uint8Array> {
8241
+ /** The resolved key, present only when a key resolver is used. */
8242
+ key: KeyType;
8243
+ }
8244
+ /** Recognized Compact JWS Header Parameters; additional members may also be present. */
8245
+ interface CompactJWSHeaderParameters extends JWSHeaderParameters {
8246
+ alg: JWSAlgorithm;
8247
+ }
8248
+ /** Recognized signed JWT Header Parameters; additional members may also be present. */
8249
+ interface JWTHeaderParameters extends CompactJWSHeaderParameters {
8250
+ b64?: boolean;
8251
+ }
8252
+ /** Recognized Compact JWE Header Parameters; additional members may also be present. */
8253
+ interface CompactJWEHeaderParameters extends JWEHeaderParameters {
8254
+ alg: JWEKeyManagementAlgorithm;
8255
+ enc: JWEContentEncryptionAlgorithm;
8256
+ }
8257
+ /** JSON Web Key Set. */
7259
8258
  interface JSONWebKeySet {
7260
8259
  keys: JWK[];
7261
8260
  }
7262
- /**
7263
- * {@link !CryptoKey} is a representation of a key/secret available in all supported runtimes. In
7264
- * addition to the {@link key/import Key Import Functions} you may use the
7265
- * {@link !SubtleCrypto.importKey} API to obtain a {@link !CryptoKey} from your existing key
7266
- * material.
7267
- */
8261
+ /** Node.js {@link !KeyObject} representation accepted as key input. */
8262
+ interface KeyObject {
8263
+ type: string;
8264
+ }
8265
+ /** The runtime's Web Crypto {@link !CryptoKey} representation accepted as key input. */
7268
8266
  type CryptoKey = typeof globalThis extends {
7269
8267
  crypto: {
7270
8268
  subtle: {
@@ -7274,12 +8272,7 @@ type CryptoKey = typeof globalThis extends {
7274
8272
  } ? Extract<R, {
7275
8273
  type: string;
7276
8274
  }> : CryptoKeyStructuralFallback;
7277
- /**
7278
- * Used as {@link CryptoKey} when the host runtime's `crypto` global is not exposed on `typeof
7279
- * globalThis`, including when it is absent from ambient types or declared with `const` or `let`. It
7280
- * remains structurally compatible with host {@link !CryptoKey} declarations so values flow freely to
7281
- * and from {@link !SubtleCrypto} APIs.
7282
- */
8275
+ /** Structural fallback used when the host {@link !CryptoKey} type cannot be inferred. */
7283
8276
  interface CryptoKeyStructuralFallback {
7284
8277
  readonly algorithm: {
7285
8278
  name: string;
@@ -7288,56 +8281,99 @@ interface CryptoKeyStructuralFallback {
7288
8281
  readonly type: string;
7289
8282
  readonly usages: string[];
7290
8283
  }
8284
+ /** Shared fluent API for JWT-producing classes. */
8285
+ interface ProduceJWT {
8286
+ /**
8287
+ * Set the "iss" (Issuer) Claim.
8288
+ *
8289
+ * @param issuer "Issuer" Claim value to set on the JWT Claims Set.
8290
+ */
8291
+ setIssuer(issuer: string): this;
8292
+ /**
8293
+ * Set the "sub" (Subject) Claim.
8294
+ *
8295
+ * @param subject "sub" (Subject) Claim value to set on the JWT Claims Set.
8296
+ */
8297
+ setSubject(subject: string): this;
8298
+ /**
8299
+ * Set the "aud" (Audience) Claim.
8300
+ *
8301
+ * @param audience "aud" (Audience) Claim value to set on the JWT Claims Set.
8302
+ */
8303
+ setAudience(audience: string | string[]): this;
8304
+ /**
8305
+ * Set the "jti" (JWT ID) Claim.
8306
+ *
8307
+ * @param jwtId "jti" (JWT ID) Claim value to set on the JWT Claims Set.
8308
+ */
8309
+ setJti(jwtId: string): this;
8310
+ /**
8311
+ * Set the "nbf" (Not Before) Claim. Numbers are Unix timestamps in seconds; Dates are converted
8312
+ * to seconds. Strings are relative to now, using seconds, minutes, hours, days, weeks, or years
8313
+ * (365.25 days; no months). Prefix `-` or suffix `ago` subtracts the duration.
8314
+ *
8315
+ * @param input "nbf" (Not Before) Claim value as a timestamp, Date, or relative duration.
8316
+ */
8317
+ setNotBefore(input: number | string | Date): this;
8318
+ /**
8319
+ * Set the "exp" (Expiration Time) Claim. Accepts a Unix timestamp in seconds, a Date, or a
8320
+ * duration relative to now using the same formats as {@link setNotBefore}.
8321
+ *
8322
+ * @param input "exp" (Expiration Time) Claim value as a timestamp, Date, or relative duration.
8323
+ */
8324
+ setExpirationTime(input: number | string | Date): this;
8325
+ /**
8326
+ * Set the "iat" (Issued At) Claim. Defaults to the current Unix timestamp in seconds. Accepts a
8327
+ * Unix timestamp in seconds, a Date, or a duration relative to now using the same formats as
8328
+ * {@link setNotBefore}.
8329
+ *
8330
+ * @param input "iat" (Issued At) Claim value as a timestamp, Date, or relative duration.
8331
+ */
8332
+ setIssuedAt(input?: number | string | Date): this;
8333
+ }
7291
8334
  //#endregion
7292
8335
  //#region node_modules/jose/dist/types/jwks/remote.d.ts
7293
8336
  /**
7294
- * When passed to {@link jwks/remote.createRemoteJWKSet createRemoteJWKSet} this allows the resolver
7295
- * to make use of advanced fetch configurations, HTTP Proxies, retry on network errors, etc.
8337
+ * Configures a custom fetch implementation for remote JWKS retrieval.
7296
8338
  *
7297
- * > Note: Known caveat: Expect Type-related issues when passing the inputs through to fetch-like modules,
7298
- * > they hardly ever get their typings inline with actual fetch, you should `@ts-expect-error` them.
8339
+ * > Note: Fetch-like libraries may have incompatible TypeScript signatures even when they accept the
8340
+ * > supplied arguments at runtime.
7299
8341
  */
7300
8342
  declare const customFetch: unique symbol;
7301
- /** See {@link customFetch}. */
8343
+ /** Custom fetch function. Must return HTTP 200 with a JSON JWKS. See {@link customFetch}. */
7302
8344
  type FetchImplementation = (
7303
- /** URL the request is being made sent to {@link !fetch} as the `resource` argument */
8345
+ /** JWKS URL, passed as the fetch resource. */
7304
8346
  url: string,
7305
- /** Options otherwise sent to {@link !fetch} as the `options` argument */
8347
+ /** Options passed to fetch. */
7306
8348
  options: {
7307
- /** HTTP Headers */
7308
8349
  headers: Headers;
7309
- /** The {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods request method} */
7310
8350
  method: 'GET';
7311
8351
  /** See {@link !Request.redirect} */
7312
8352
  redirect: 'manual';
7313
8353
  signal: AbortSignal;
7314
8354
  }) => Promise<Response>;
7315
8355
  /**
7316
- * > Warning: This option has security implications that must be understood, assessed for applicability, and
7317
- * > accepted before use. It is critical that the JSON Web Key Set cache only be writable by your own
7318
- * > code.
8356
+ * Symbol used to configure an externally persisted remote JWKS cache.
7319
8357
  *
7320
- * This option is intended for cloud computing runtimes that cannot keep an in memory cache between
7321
- * their code's invocations. The supplied writable object seeds the resolver's cache and is updated
7322
- * with `jwks` and `uat` after a successful fetch; persist it whenever `uat` changes. Using this in
7323
- * runtimes that can keep an in-memory cache between requests is not desirable.
8358
+ * > Warning: Only trusted application code must be allowed to write this cache; its keys are trusted for
8359
+ * > signature verification.
7324
8360
  */
7325
8361
  declare const jwksCache: unique symbol;
7326
- /** Options for the remote JSON Web Key Set. */
8362
+ /** Remote JWKS resolver options. */
7327
8363
  interface RemoteJWKSetOptions {
7328
8364
  /**
7329
8365
  * Timeout (in milliseconds) for the HTTP request. When reached the request will be aborted and
7330
- * the verification will fail. Default is 5000 (5 seconds).
8366
+ * the verification will fail. Must be a non-negative integer. Default is 5000 (5 seconds).
7331
8367
  */
7332
8368
  timeoutDuration?: number;
7333
8369
  /**
7334
- * Duration (in milliseconds) for which no more HTTP requests will be triggered after a previous
7335
- * successful fetch. Default is 30000 (30 seconds).
8370
+ * Time in milliseconds after a successful fetch before a missing key can trigger another fetch.
8371
+ * Must not be `NaN`. Defaults to 30000 (30 seconds).
7336
8372
  */
7337
8373
  cooldownDuration?: number;
7338
8374
  /**
7339
- * Maximum time (in milliseconds) between successful HTTP requests. Default is 600000 (10
7340
- * minutes).
8375
+ * Maximum age of cached keys in milliseconds. Defaults to 600000 (10 minutes); `Infinity`
8376
+ * disables expiry. Must not be `NaN`.
7341
8377
  */
7342
8378
  cacheMaxAge?: number | typeof Infinity;
7343
8379
  /** Headers to be sent with the HTTP request. */
@@ -7347,16 +8383,16 @@ interface RemoteJWKSetOptions {
7347
8383
  /** See {@link customFetch}. */
7348
8384
  [customFetch]?: FetchImplementation;
7349
8385
  }
7350
- /** See {@link jwksCache}. */
8386
+ /** Shape of an externally persisted remote JWKS cache. */
7351
8387
  interface ExportedJWKSCache {
7352
8388
  /** Current cached JSON Web Key Set */
7353
8389
  jwks: JSONWebKeySet;
7354
- /** Last updated at timestamp (seconds since epoch) */
8390
+ /** Last successful fetch, in milliseconds since Unix epoch. */
7355
8391
  uat: number;
7356
8392
  }
7357
- /** See {@link jwksCache}. */
8393
+ /** Values accepted by the {@link jwksCache} option. */
7358
8394
  type JWKSCacheInput = ExportedJWKSCache | Record<string, never>;
7359
- /** The key resolution function returned by {@link createRemoteJWKSet}. */
8395
+ /** A key resolver created by {@link createRemoteJWKSet}. */
7360
8396
  interface RemoteJWKSet {
7361
8397
  (protectedHeader?: JWSHeaderParameters, token?: FlattenedJWSInput): Promise<CryptoKey>;
7362
8398
  /** Whether the cooldown window following the last successful fetch is still in effect. */
@@ -7374,25 +8410,20 @@ interface RemoteJWKSet {
7374
8410
  */
7375
8411
  reload: () => Promise<void>;
7376
8412
  /**
7377
- * The currently cached JSON Web Key Set, or `undefined` when none has been fetched or seeded via
7378
- * {@link jwksCache} yet.
8413
+ * Returns a structured clone of the cached JSON Web Key Set, or `undefined` before keys have been
8414
+ * fetched or seeded via {@link jwksCache}.
7379
8415
  */
7380
8416
  jwks: () => JSONWebKeySet | undefined;
7381
8417
  }
7382
8418
  /**
7383
- * Returns a function that resolves a JWS JOSE Header to a public key object downloaded from a
7384
- * remote endpoint returning a JSON Web Key Set, that is, for example, an OAuth 2.0 or OIDC
7385
- * jwks_uri. The JSON Web Key Set is fetched when no key matches the selection process but only as
7386
- * frequently as the `cooldownDuration` option allows to prevent abuse. Selection respects the
7387
- * header's "alg" (Algorithm) and "kid" (Key ID) as well as the JWK's "use" (Public Key Use) and
7388
- * "key_ops" (Key Operations). Exactly one key must match; if multiple keys match, the thrown
7389
- * `JWKSMultipleMatchingKeys` can be iterated.
8419
+ * Creates a resolver for a JSON Web Key Set available at an HTTP(S) URL. Fetches the JSON Web Key
8420
+ * Set when the cache is missing or stale. An unmatched key triggers another fetch only when
8421
+ * `cooldownDuration` has elapsed since the last successful fetch. Selection uses the header's "alg"
8422
+ * and "kid" and respects the JWK's "use" and "key_ops". Exactly one key must match.
7390
8423
  *
7391
- * > Note: The function's purpose is to resolve public keys used for verifying signatures and will not work
7392
- * > for public encryption keys.
8424
+ * > Note: Only public signature verification keys are supported, not public encryption keys.
7393
8425
  *
7394
8426
  * @param url URL to fetch the JSON Web Key Set from.
7395
- * @param options Options for the remote JSON Web Key Set.
7396
8427
  */
7397
8428
  declare function createRemoteJWKSet(url: URL, options?: RemoteJWKSetOptions): RemoteJWKSet;
7398
8429
  //#endregion
@@ -7444,6 +8475,7 @@ declare class UserManagement {
7444
8475
  private readonly workos;
7445
8476
  private _jwks;
7446
8477
  clientId: string | undefined;
8478
+ issuer: string | string[] | undefined;
7447
8479
  constructor(workos: WorkOS);
7448
8480
  /**
7449
8481
  * Resolve clientId from method options or fall back to constructor-provided value.
@@ -7829,6 +8861,79 @@ declare class UserManagement {
7829
8861
  * @throws {UnprocessableEntityException} 422
7830
8862
  */
7831
8863
  resendInvitation(invitationId: string, options?: ResendInvitationOptions): Promise<Invitation>;
8864
+ /**
8865
+ * List waitlists
8866
+ *
8867
+ * Get a list of the waitlists in the environment. All waitlists are
8868
+ * returned in a single response — this endpoint is not paginated.
8869
+ * @returns {Promise<List<Waitlist>>}
8870
+ */
8871
+ listWaitlists(): Promise<List<Waitlist>>;
8872
+ /**
8873
+ * Get a waitlist
8874
+ *
8875
+ * Get the details of an existing waitlist. The literal id `default`
8876
+ * is accepted and resolves to the environment's default waitlist.
8877
+ * @returns {Promise<Waitlist>}
8878
+ * @throws {NotFoundException} 404
8879
+ */
8880
+ getWaitlist(waitlistId: string): Promise<Waitlist>;
8881
+ /**
8882
+ * List waitlist entries
8883
+ *
8884
+ * Get a list of the entries on a waitlist matching the criteria specified.
8885
+ * The literal id `default` is accepted and resolves to the environment's
8886
+ * default waitlist.
8887
+ * @param waitlistId - The unique ID of the waitlist.
8888
+ * @param options - Pagination and filter options.
8889
+ * @returns {Promise<AutoPaginatable<WaitlistEntry, SerializedListWaitlistEntriesOptions>>}
8890
+ * @throws {NotFoundException} 404
8891
+ * @throws {UnprocessableEntityException} 422
8892
+ */
8893
+ listWaitlistEntries(waitlistId: string, options?: ListWaitlistEntriesOptions): Promise<AutoPaginatable<WaitlistEntry, SerializedListWaitlistEntriesOptions>>;
8894
+ /**
8895
+ * Create a waitlist entry
8896
+ *
8897
+ * Add an email address to a waitlist. Adding an email address that is
8898
+ * already on the waitlist returns the existing entry unchanged. The
8899
+ * literal id `default` is accepted and resolves to the environment's
8900
+ * default waitlist.
8901
+ * @param waitlistId - The unique ID of the waitlist.
8902
+ * @param payload - Object containing email and optional fields.
8903
+ * @returns {Promise<WaitlistEntry>}
8904
+ * @throws {NotFoundException} 404
8905
+ * @throws {UnprocessableEntityException} 422
8906
+ */
8907
+ createWaitlistEntry(waitlistId: string, payload: CreateWaitlistEntryOptions): Promise<WaitlistEntry>;
8908
+ /**
8909
+ * Approve a waitlist entry
8910
+ *
8911
+ * Approve a waitlist entry, create an invitation for its email address,
8912
+ * and send the invitation email.
8913
+ * @returns {Promise<WaitlistEntry>}
8914
+ * @throws {NotFoundException} 404
8915
+ * @throws {UnprocessableEntityException} 422
8916
+ */
8917
+ approveWaitlistEntry(waitlistEntryId: string): Promise<WaitlistEntry>;
8918
+ /**
8919
+ * Deny a waitlist entry
8920
+ *
8921
+ * Deny a pending waitlist entry.
8922
+ * @returns {Promise<WaitlistEntry>}
8923
+ * @throws {NotFoundException} 404
8924
+ * @throws {UnprocessableEntityException} 422
8925
+ */
8926
+ denyWaitlistEntry(waitlistEntryId: string): Promise<WaitlistEntry>;
8927
+ /**
8928
+ * Delete a waitlist entry
8929
+ *
8930
+ * Remove the entry from the waitlist. Its email address can join again
8931
+ * unless a user with that email now exists in the environment. Deleting
8932
+ * the entry does not revoke an invitation created by approving it.
8933
+ * @returns {Promise<void>}
8934
+ * @throws {NotFoundException} 404
8935
+ */
8936
+ deleteWaitlistEntry(waitlistEntryId: string): Promise<void>;
7832
8937
  /**
7833
8938
  * Revoke Session
7834
8939
  *
@@ -9439,6 +10544,14 @@ declare class WorkOS {
9439
10544
  }>;
9440
10545
  delete(path: string, query?: Record<string, string | number | boolean | undefined>): Promise<void>;
9441
10546
  deleteWithBody<Entity = any>(path: string, entity: Entity): Promise<void>;
10547
+ /**
10548
+ * Consume a successful response body. The request deadline covers the body,
10549
+ * so a stall while it is still streaming surfaces from the transport as a
10550
+ * 408 `HttpClientError` and is translated like a timeout before the headers.
10551
+ * Everything else (a `ParseError` for malformed JSON, a network failure
10552
+ * mid-body) propagates unchanged.
10553
+ */
10554
+ private readResponseJSON;
9442
10555
  emitWarning(warning: string): void;
9443
10556
  private handleHttpError;
9444
10557
  }
@@ -10068,5 +11181,5 @@ interface ConfidentialClientOptions extends WorkOSOptions {
10068
11181
  declare function createWorkOS(options: PublicClientOptions): PublicWorkOS;
10069
11182
  declare function createWorkOS(options: ConfidentialClientOptions): WorkOS;
10070
11183
  //#endregion
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.mts.map
11184
+ export { ReadObjectMetadataResponse as $, GroupDeletedEventResponse as $a, ConnectedAccountAuthMethod as $c, Totp as $d, AuthenticateWithCodeOptions as $f, AuthenticationPasskeySucceededEventResponse as $i, VerifyEmailOptions as $l, CreateOptionsWithParentResourceId as $m, ValidateAgentApiKeyOptions as $n, PermissionDeletedEventResponse as $o, BaseCreateGroupRoleAssignmentOptions as $p, ActionPayload as $r, DataKeyPair as $s, RadarListType as $t, ListUserFeatureFlagsOptions as $u, ApiKeyRequiredException as A, DsyncUserCreatedEvent as Aa, DataIntegrationCredentialsResponseCredential as Ac, CreateUserApiKeyOptions as Ad, AuthenticateWithRefreshTokenOptions as Af, ListDirectoriesOptions as Ah, List as Ai, AddFlagTargetOptions as Al, RoleAssignmentSource as Am, CreateM2MApplication as An, OrganizationDomainVerifiedEvent as Ao, OrganizationRoleResponse as Ap, AgentInstanceSessionStatus as Ar, UserUpdatedEvent as As, AuditLogSchema as At, RetryableRefreshSessionFailureReason as Au, ObjectSummaryResponse as B, EventName as Ba, DataIntegrationAccessTokenResponseAccessTokenResponse as Bc, UserManagementAuthorizationURLOptions as Bd, SerializedAuthenticateWithRadarSmsChallengeOptions as Bf, EventDirectory as Bh, AuthenticationMagicAuthFailedEvent as Bi, ApiKey as Bl, AuthorizationCheckOptionsWithResourceId as Bm, UserConsentOptionChoice as Bn, OrganizationRoleDeletedEvent as Bo, GroupRoleAssignmentEntryForOrganization as Bp, SerializedAgentBlueprintInvocableBy as Br, VaultDataUpdatedEvent as Bs, VerifyChallengeOptions as Bt, MagicAuthEventResponse as Bu, BadRequestException as C, DsyncGroupDeletedEventResponse as Ca, DataIntegration as Cc, EmailVerificationEvent as Cd, User as Cf, SerializedCreateEnvironmentRoleOptions as Ch, DomainDataState as Ci, FlagTarget as Cl, ListRoleAssignmentsOptions as Cm, DeleteClientSecretOptions as Cn, OrganizationDomainCreatedEventResponse as Co, DirectoryUser as Cp, SerializedAgentRegistrationClaimCompletion as Cr, SessionRevokedEvent as Cs, AuditLogTarget as Ct, serializeRevokeSessionOptions as Cu, isAuthenticationErrorData as D, DsyncGroupUserAddedEventResponse as Da, DataIntegrationCustomProviderResponse as Dc, SerializedCreateWaitlistEntryOptions as Dd, AuthenticateWithRefreshTokenPublicClientOptions as Df, EnvironmentRoleResponse as Dh, PutOptions as Di, EvaluationResource as Dl, RoleAssignmentResourceResponse as Dm, UpdateApplicationOptions as Dn, OrganizationDomainUpdatedEventResponse as Do, ListOrganizationRolesResponse as Dp, SerializedAgentInstance as Dr, UserCreatedEventResponse as Ds, AuditLogsRetention as Dt, SerializedResendInvitationOptions as Du, AuthenticationException as E, DsyncGroupUserAddedEvent as Ea, DataIntegrationCustomProvider as Ec, CreateWaitlistEntryOptions as Ed, ImpersonatorResponse as Ef, EnvironmentRoleListResponse as Eh, UnprocessableEntityError as Ei, EvaluationContext as El, RoleAssignmentResource as Em, DeleteApplicationOptions as En, OrganizationDomainUpdatedEvent as Eo, DirectoryUserWithGroupsResponse as Ep, ListAgentInstancesOptions as Er, UserCreatedEvent as Es, SerializedCreateAuditLogEventOptions as Et, ResendInvitationOptions as Eu, UpdateWebhookEndpointEvents as F, DsyncUserUpdatedEventResponse as Fa, DataIntegrationAuthorizeUrlResponse as Fc, CreateOrganizationMembershipOptions as Fd, AuthenticateUserWithOrganizationSelectionCredentials as Ff, Directory as Fh, ApiKeyCreatedEventResponse as Fi, CreatedApiKey as Fl, ListResourcesForMembershipOptionsWithParentExternalId as Fm, RedirectUriInputResponse as Fn, OrganizationMembershipDeletedResponse as Fo, RoleResponse as Fp, AgentBlueprintInvocableBy as Fr, VaultDataCreatedEventResponse as Fs, AuditLogExportResponse as Ft, PasswordResetResponse as Fu, ObjectMetadata as G, FlagDeletedEventResponse as Ga, CustomProviderDefinitionAuthenticateVia as Gc, AuthenticationFactorType as Gd, AuthenticateWithMagicAuthOptions as Gf, RequestHeaders as Gh, AuthenticationMfaSucceededEventResponse as Gi, OrganizationDomainResponse as Gl, UpdateAuthorizationResourceByExternalIdOptions as Gm, AgentCredentialType as Gn, OrganizationUpdatedResponse as Go, SerializedReplaceGroupRoleAssignmentsOptions as Gp, AutoPaginatable as Gr, VaultDekReadEventResponse as Gs, RadarListEntryAlreadyPresentResponse as Gt, SerializedListWaitlistEntriesOptions as Gu, ObjectVersionResponse as H, FlagCreatedEvent as Ha, CreateDataIntegrationOptions as Hc, AuthenticationRadarRiskDetectedEventResponseData as Hd, AuthenticateWithRadarEmailChallengeOptions as Hf, HttpClient as Hh, AuthenticationMagicAuthSucceededEvent as Hi, OrganizationDomainVerificationFailed as Hl, SerializedAuthorizationCheckOptions as Hm, UserObject as Hn, OrganizationRoleUpdatedEvent as Ho, GroupRoleAssignmentEntryWithResourceId as Hp, SerializedCreateAgentBlueprintOptions as Hr, VaultDekDecryptedEvent as Hs, Challenge as Ht, LogoutURLOptions as Hu, UpdateWebhookEndpointStatus as I, EmailVerificationCreatedEvent as Ia, DataIntegrationAuthorizeUrlResponseWire as Ic, SerializedCreateOrganizationMembershipOptions as Id, AuthenticateWithOrganizationSelectionOptions as If, DirectoryResponse as Ih, ApiKeyRevokedEvent as Ii, SerializedCreatedApiKey as Il, ListResourcesForMembershipOptionsWithParentId as Im, ListApplicationsOptions as In, OrganizationMembershipUpdated as Io, ListEffectivePermissionsByExternalIdOptions as Ip, AgentBlueprintSessionSettings as Ir, VaultDataDeletedEvent as Is, AuditLogExportOptions as It, CreateMagicAuthResponse as Iu, ActorResponse as J, FlagUpdatedEvent as Ja, DataIntegrationCredentialsType as Jc, Factor as Jd, AuthenticateWithEmailVerificationOptions as Jf, ResponseHeaders as Jh, AuthenticationOAuthSucceededEvent as Ji, CreateOrganizationDomainOptions as Jl, SerializedListAuthorizationResourcesOptions as Jm, SerializedAgentAccessTokenClaims as Jn, PasswordResetSucceededEvent as Jo, RemoveGroupRoleAssignmentsOptionsForOrganization as Jp, Actions as Jr, VaultMetadataReadEvent as Js, RadarStandaloneResponseWire as Jt, WaitlistEntryState as Ju, ObjectMetadataResponse as K, FlagRuleUpdatedEvent as Ka, DataIntegrationCredentialsDto as Kc, AuthenticationFactorWithSecrets as Kd, SerializedAuthenticateWithMagicAuthOptions as Kf, RequestOptions as Kh, AuthenticationOAuthFailedEvent as Ki, OrganizationDomainState as Kl, GetAuthorizationResourceByExternalIdOptions as Km, AgentCredentialValidation as Kn, PasswordResetCreatedEvent as Ko, BaseRemoveGroupRoleAssignmentsOptions as Kp, PKCE as Kr, VaultKekCreatedEvent as Ks, RadarListEntryAlreadyPresentResponseWire as Kt, WaitlistEntry as Ku, CreateWebhookEndpointEvents as L, EmailVerificationCreatedEventResponse as La, DataIntegrationAccessTokenResponse as Lc, CreateMagicAuthOptions as Ld, SerializedAuthenticateWithOrganizationSelectionOptions as Lf, DirectoryState as Lh, ApiKeyRevokedEventResponse as Li, CreateOrganizationApiKeyOptions as Ll, SerializedListResourcesForMembershipOptions as Lm, CompleteOAuth2Options as Ln, OrganizationMembershipUpdatedResponse as Lo, ListEffectivePermissionsOptions as Lp, CreateAgentBlueprintOptions as Lr, VaultDataDeletedEventResponse as Ls, SerializedAuditLogExportOptions as Lt, CreateMagicAuthResponseResponse as Lu, WebhookEndpoint as M, DsyncUserDeletedEvent as Ma, DataIntegrationCredential as Mc, SerializedCreateUserApiKeyOptions as Md, AuthenticateUserWithPasswordCredentials as Mf, PaginationOptions as Mh, GetOptions as Mi, ValidateApiKeyOptions as Ml, ListMembershipsForResourceByExternalIdOptions as Mm, CreateOAuthApplication as Mn, OrganizationMembershipCreated as Mo, RoleEvent as Mp, SerializedAgentInstanceSession as Mr, VaultByokKeyVerificationCompletedEvent as Ms, AuditLogSchemaResponse as Mt, PasswordReset as Mu, WebhookEndpointResponse as N, DsyncUserDeletedEventResponse as Na, DataIntegrationCredentialResponse as Nc, CreatePasswordResetOptions as Nd, AuthenticateWithPasswordOptions as Nf, DirectoryGroup as Nh, GenerateLinkIntent as Ni, ValidateApiKeyResponse as Nl, ListMembershipsForResourceOptions as Nm, CreateOAuthApplicationResponse as Nn, OrganizationMembershipCreatedResponse as No, RoleEventResponse as Np, SerializedListAgentInstanceSessionsOptions as Nr, VaultByokKeyVerificationCompletedEventResponse as Ns, AuditLogTargetSchema as Nt, PasswordResetEvent as Nu, GenericServerException as O, DsyncGroupUserRemovedEvent as Oa, DataIntegrationCustomProviderAuthenticateVia as Oc, CreateUserOptions as Od, SerializedAuthenticateWithRefreshTokenPublicClientOptions as Of, ListDirectoryUsersOptions as Oh, PostOptions as Oi, LegacyEvaluationContext as Ol, RoleAssignmentResponse as Om, GetApplicationOptions as On, OrganizationDomainVerificationFailedEvent as Oo, OrganizationRoleEvent as Op, SerializedListAgentInstancesOptions as Or, UserDeletedEvent as Os, AuditLogsRetentionResponse as Ot, RefreshSessionFailureReason as Ou, WebhookEndpointStatus as P, DsyncUserUpdatedEvent as Pa, DataIntegrationCredentialType as Pc, SerializedCreatePasswordResetOptions as Pd, SerializedAuthenticateWithPasswordOptions as Pf, DirectoryGroupResponse as Ph, ApiKeyCreatedEvent as Pi, ListOrganizationApiKeysOptions as Pl, ListResourcesForMembershipOptions as Pm, RedirectUriInput as Pn, OrganizationMembershipDeleted as Po, RoleList as Pp, AgentBlueprint as Pr, VaultDataCreatedEvent as Ps, AuditLogExport as Pt, PasswordResetEventResponse as Pu, UpdateObjectOptions as Q, GroupDeletedEvent as Qa, ConnectedAccountState as Qc, FactorWithSecretsResponse as Qd, AuthenticateUserWithCodeCredentials as Qf, AuthenticationPasskeySucceededEvent as Qi, SerializedVerifyEmailOptions as Ql, CreateOptionsWithParentExternalId as Qm, ValidateAgentAccessTokenOptions as Qn, PermissionDeletedEvent as Qo, RemoveGroupRoleAssignmentOptions as Qp, ActionContext as Qr, DataKey as Qs, RadarListAction as Qt, SerializedListUserApiKeysOptions as Qu, WorkOS as R, Event as Ra, DataIntegrationAccessTokenResponseWire as Rc, SerializedCreateMagicAuthOptions as Rd, AuthenticateUserWithRadarSmsChallengeCredentials as Rf, DirectoryStateResponse as Rh, AuthenticationEmailVerificationSucceededEvent as Ri, CreateOrganizationApiKeyRequestOptions as Rl, AuthorizationCheckOptions as Rm, UserConsentOption as Rn, OrganizationRoleCreatedEvent as Ro, BaseGroupRoleAssignmentEntry as Rp, ListAgentBlueprintsOptions as Rr, VaultDataReadEvent as Rs, VerifyResponse as Rt, MagicAuth as Ru, ConflictException as S, DsyncGroupDeletedEvent as Sa, DataIntegrationsListResponseDataAuthMethods as Sc, EmailVerification as Sd, CreateUserResponseResponse as Sf, CreateEnvironmentRoleOptions as Sh, DomainData as Si, FlagPollResponse as Sl, SerializedListRoleAssignmentsForResourceOptions as Sm, ExternalAuthCompleteResponseWire as Sn, OrganizationDomainCreatedEvent as So, DefaultCustomAttributes as Sp, SerializedAgentRegistrationClaim as Sr, SessionCreatedEventResponse as Ss, AuditLogActor as St, SerializedRevokeSessionOptions as Su, AuthenticationErrorData as T, DsyncGroupUpdatedEventResponse as Ta, DataIntegrationState as Tc, EmailVerificationResponse as Td, Impersonator as Tf, EnvironmentRoleList as Th, WorkOSOptions as Ti, FeatureFlagResponse as Tl, RoleAssignment as Tm, ListApplicationClientSecretsOptions as Tn, OrganizationDomainDeletedEventResponse as To, DirectoryUserWithGroups as Tp, AgentInstanceType as Tr, UnknownEvent as Ts, CreateAuditLogEventRequestOptions as Tt, SerializedResetPasswordOptions as Tu, VaultObject as U, FlagCreatedEventResponse as Ua, CustomProviderDefinition as Uc, AuthenticationFactor as Ud, SerializedAuthenticateWithRadarEmailChallengeOptions as Uf, HttpClientInterface as Uh, AuthenticationMagicAuthSucceededEventResponse as Ui, OrganizationDomainVerificationFailedResponse as Ul, DeleteAuthorizationResourceOptions as Um, UserObjectResponse as Un, OrganizationRoleUpdatedEventResponse as Uo, ReplaceGroupRoleAssignmentsOptions as Up, SerializedUpdateAgentBlueprintOptions as Ur, VaultDekDecryptedEventResponse as Us, ChallengeResponse as Ut, Locale as Uu, ObjectVersion as V, EventResponse as Va, CreateUserConnectedAccountOptions as Vc, AuthenticationRadarRiskDetectedEventData as Vd, AuthenticateUserWithRadarEmailChallengeCredentials as Vf, EventDirectoryResponse as Vh, AuthenticationMagicAuthFailedEventResponse as Vi, SerializedApiKey as Vl, AuthorizationCheckResult as Vm, UserConsentOptionChoiceResponse as Vn, OrganizationRoleDeletedEventResponse as Vo, GroupRoleAssignmentEntryWithResourceExternalId as Vp, SerializedAgentBlueprintSessionSettings as Vr, VaultDataUpdatedEventResponse as Vs, EnrollFactorOptions as Vt, MagicAuthResponse as Vu, VaultObjectResponse as W, FlagDeletedEvent as Wa, CustomProviderDefinitionResponse as Wc, AuthenticationFactorResponse as Wd, AuthenticateUserWithMagicAuthCredentials as Wf, HttpClientResponseInterface as Wh, AuthenticationMfaSucceededEvent as Wi, OrganizationDomain as Wl, DeleteAuthorizationResourceByExternalIdOptions as Wm, AgentAccessTokenClaims as Wn, OrganizationUpdatedEvent as Wo, SerializedGroupRoleAssignmentEntry as Wp, UpdateAgentBlueprintOptions as Wr, VaultDekReadEvent as Ws, ChallengeFactorOptions as Wt, ListWaitlistEntriesOptions as Wu, CreateDataKeyResponseWire as X, GroupCreatedEvent as Xa, ConnectedAccount as Xc, FactorType as Xd, AuthenticateWithCodeAndVerifierOptions as Xf, AuthenticationPasskeyFailedEvent as Xi, Waitlist as Xl, AuthorizationResourceResponse as Xm, SerializedValidateAgentCredentialOptions as Xn, PermissionCreatedEvent as Xo, RemoveGroupRoleAssignmentsOptionsWithResourceId as Xp, ResponsePayload as Xr, VaultNamesListedEvent as Xs, RadarStandaloneResponseControl as Xt, SerializedListUsersOptions as Xu, CreateDataKeyResponse as Y, FlagUpdatedEventResponse as Ya, CreateDataIntegrationCredentialOptions as Yc, FactorResponse as Yd, SerializedAuthenticateWithEmailVerificationOptions as Yf, CryptoProvider as Yh, AuthenticationOAuthSucceededEventResponse as Yi, SerializedCreateOrganizationDomainOptions as Yl, AuthorizationResource as Ym, SerializedAgentCredentialValidation as Yn, PasswordResetSucceededEventResponse as Yo, RemoveGroupRoleAssignmentsOptionsWithResourceExternalId as Yp, AuthenticationActionResponseData as Yr, VaultMetadataReadEventResponse as Ys, RadarStandaloneResponseBlocklistType as Yt, ListUsersOptions as Yu, UpdateObjectEntity as Z, GroupCreatedEventResponse as Za, ConnectedAccountResponse as Zc, FactorWithSecrets as Zd, SerializedAuthenticateWithCodeAndVerifierOptions as Zf, AuthenticationPasskeyFailedEventResponse as Zi, WaitlistResponse as Zl, CreateAuthorizationResourceOptions as Zm, ValidAgentCredential as Zn, PermissionCreatedEventResponse as Zo, SerializedRemoveGroupRoleAssignmentsOptions as Zp, UserRegistrationActionResponseData as Zr, VaultNamesListedEventResponse as Zs, RadarStandaloneResponseVerdict as Zt, ListUserApiKeysOptions as Zu, SignatureVerificationException as _, DsyncActivatedEventResponse as _a, DataIntegrationsListResponseDataOwnership as _c, InvitationEventResponse as _d, UserManagementAccessToken as _f, OrganizationRole as _h, SerializedCreateItContactOptions as _i, RemoveFlagTargetOptions as _l, AssignRoleOptionsWithResourceId as _m, ConnectApplicationOAuthResponse as _n, MagicAuthCreatedEventResponse as _o, ConnectionDomain as _p, AgentRegistrationClaimCompletion as _r, RoleDeletedEvent as _s, GetOrganizationAuditLogsRetentionOptions as _t, SendRadarSmsChallengeResponseResponse as _u, PublicWorkOS as a, AuthenticationRadarRiskDetectedEventResponse as aa, UpdateCustomProviderDefinitionResponse as ac, AuthorizationOrganizationMembershipResponse as ad, AuthenticationEvent as af, UpdatePermissionOptions as ah, Organization as ai, ListGroupOrganizationMembershipsOptions as al, GetGroupRoleAssignmentOptions as am, PasswordlessSession as an, GroupMemberRemovedEventResponse as ao, WithResolvedClientId as ap, SerializedLinkClaimAttemptToExternalUserOptions as ar, PipesConnectedAccountConnectionFailedEvent as as, DecryptDataKeyResponse as at, UpdateUserPasswordOptions as au, NotFoundException as b, DsyncGroupCreatedEvent as ba, DataIntegrationsListResponseDataConnectedAccountState as bc, EnrollAuthFactorOptions as bd, AuthenticationResponseResponse as bf, SerializedUpdateEnvironmentRoleOptions as bh, CreateOrganizationRequestOptions as bi, FlagCustomTarget as bl, ListRoleAssignmentsForResourceByExternalIdOptions as bm, ConnectApplicationRedirectUriResponse as bn, OrganizationDeletedEvent as bo, SSOAuthorizationURLOptions as bp, SerializedAgentIdentity as br, RoleUpdatedEventResponse as bs, CreateAuditLogSchemaResponse as bt, SerializedSendInvitationOptions as bu, PortalLinkResponseWire as c, AuthenticationSSOSucceededEvent as ca, GetUserConnectedAccountOptions as cc, OrganizationMembership as cd, AuthenticationEventSsoResponse as cf, Permission as ch, ListOrganizationFeatureFlagsOptions as ci, GetGroupOptions as cl, GroupRoleAssignmentResponse as cm, SerializedListEventOptions as cn, InvitationAcceptedEvent as co, Profile as cp, MintAgentTokenOptions as cr, PipesConnectedAccountDisconnectedEventResponse as cs, WidgetSessionTokenResponseWire as ct, SerializedUpdateOrganizationMembershipOptions as cu, IntentOptions as d, ConnectionActivatedEventResponse as da, DeleteUserConnectedAccountOptions as dc, ListInvitationsOptions as dd, SerializedAuthenticateWithTotpOptions as df, AddOrganizationRolePermissionOptions as dh, CreateItContactOptions as di, SerializedCreateGroupOptions as dl, RemoveRoleOptions as dm, ApplicationCredentialsListItem as dn, InvitationCreatedEventResponse as do, OauthTokensResponse as dp, RefreshAgentTokenOptions as dr, PipesConnectedAccountResponse as ds, FeatureFlagsRuntimeClient as dt, Session as du, AuthenticationPasswordFailedEvent as ea, KeyContext as ec, ListSessionsOptions as ed, TotpResponse as ef, SerializedCreateAuthorizationResourceOptions as eh, UserData as ei, AuthorizeDataIntegrationOptions as el, CreateGroupRoleAssignmentOptions as em, RadarStandaloneAssessRequestAction as en, GroupMemberAddedEvent as eo, SerializedAuthenticateWithCodeOptions as ep, ValidateAgentCredentialOptions as er, PermissionUpdatedEvent as es, ReadObjectOptions as et, SerializedUserApiKeyWithValue as eu, IntentOptionsResponse as f, ConnectionDeactivatedEvent as fa, DeleteDataIntegrationOptions as fc, SerializedListInvitationsOptions as fd, AuthenticateWithSessionCookieFailedResponse as ff, SetOrganizationRolePermissionsOptions as fh, DeleteItContactOptions as fi, AddGroupOrganizationMembershipOptions as fl, RemoveRoleOptionsWithResourceExternalId as fm, ApplicationCredentialsListItemResponse as fn, InvitationResentEvent as fo, ListConnectionsOptions as fp, SerializedAgentToken as fr, PipesConnectedAccountState as fs, CookieSession as ft, SessionResponse as fu, UnauthorizedException as g, DsyncActivatedEvent as ga, DataIntegrationsListResponseDataResponse as gc, InvitationEvent as gd, SessionCookieData as gf, SerializedCreateOrganizationRoleOptions as gh, RevokeItContactOptions as gi, RuntimeClientOptions as gl, AssignRoleOptionsWithResourceExternalId as gm, ConnectApplicationOAuth as gn, MagicAuthCreatedEvent as go, Connection as gp, AgentRegistrationClaim as gr, RoleCreatedEventResponse as gs, UpdateAuditLogsRetentionRetentionPeriod as gt, SendRadarSmsChallengeResponse as gu, UnprocessableEntityException as h, ConnectionDeletedEventResponse as ha, DataIntegrationsListResponseData as hc, Invitation as hd, AuthenticateWithSessionCookieSuccessResponse as hf, CreateOrganizationRoleOptions as hh, ListItContactsOptions as hi, RuntimeClientLogger as hl, AssignRoleOptions as hm, ConnectApplicationM2MResponse as hn, InvitationRevokedEventResponse as ho, GetProfileOptions as hp, AgentRegistration as hr, RoleCreatedEvent as hs, UpdateAuditLogsRetentionResponse as ht, SendRadarSmsChallengeOptions as hu, PublicUserManagement as i, AuthenticationRadarRiskDetectedEvent as ia, UpdateCustomProviderDefinition as ic, AuthorizationOrganizationMembership as id, SmsResponse as if, SerializedUpdatePermissionOptions as ih, UpdateOrganizationOptions as ii, ListGroupsOptions as il, SerializedCreateGroupRoleAssignmentOptions as im, SerializedCreatePasswordlessSessionOptions as in, GroupMemberRemovedEvent as io, SerializedAuthenticateWithOptionsBase as ip, SerializedClaimAttemptResponse as ir, PipesConnectedAccountConnectedEventResponse as is, DecryptDataKeyOptions as it, SerializedUpdateUserPasswordOptions as iu, Webhooks as j, DsyncUserCreatedEventResponse as ja, DataIntegrationCredentialsResponseCredentialResponse as jc, CreateUserApiKeyRequestOptions as jd, SerializedAuthenticateWithRefreshTokenOptions as jf, SerializedListDirectoriesOptions as jh, ListResponse as ji, SerializedValidateApiKeyResponse as jl, RoleAssignmentSourceResponse as jm, CreateM2MApplicationResponse as jn, OrganizationDomainVerifiedEventResponse as jo, Role as jp, ListAgentInstanceSessionsOptions as jr, UserUpdatedEventResponse as js, AuditLogSchemaMetadata as jt, TerminalRefreshSessionFailureReason as ju, WorkOSErrorData as k, DsyncGroupUserRemovedEventResponse as ka, DataIntegrationCredentialsResponseError as kc, SerializedCreateUserOptions as kd, AuthenticateUserWithRefreshTokenCredentials as kf, ListDirectoryGroupsOptions as kh, PatchOptions as ki, TypedEvaluationContext as kl, RoleAssignmentRole as km, CreateApplicationOptions as kn, OrganizationDomainVerificationFailedEventResponse as ko, OrganizationRoleEventResponse as kp, AgentInstanceSession as kr, UserDeletedEventResponse as ks, AuditLogActorSchema as kt, RefreshSessionResponse as ku, GenerateLink as l, AuthenticationSSOSucceededEventResponse as la, GetDataIntegrationOptions as lc, OrganizationMembershipResponse as ld, AuthenticateUserWithTotpCredentials as lf, PermissionResponse as lh, ItContact as li, DeleteGroupOptions as ll, RemoveRoleAssignmentOptions as lm, NewConnectApplicationSecret as ln, InvitationAcceptedEventResponse as lo, ProfileResponse as lp, MintAutonomousAgentTokenOptions as lr, PipesConnectedAccountReauthorizationNeededEvent as ls, CreateTokenOptions as lt, UpdateOrganizationMembershipOptions as lu, SSOIntentOptionsResponse as m, ConnectionDeletedEvent as ma, DataIntegrationsListResponseWire as mc, ListAuthFactorsOptions as md, AuthenticateWithSessionCookieOptions as mf, UpdateOrganizationRoleOptions as mh, ItContactIntent as mi, RuntimeClientStats as ml, SerializedRemoveRoleOptions as mm, ConnectApplicationM2M as mn, InvitationRevokedEvent as mo, GetProfileAndTokenOptions as mp, AgentIdentity as mr, PipesConnectionFailedResponse as ms, UpdateAuditLogsRetention as mt, SendVerificationEmailOptions as mu, PublicClientOptions as n, AuthenticationPasswordSucceededEvent as na, UpdateDataIntegrationOptions as nc, ListOrganizationMembershipsOptions as nd, TotpWithSecretsResponse as nf, UpdateAuthorizationResourceOptions as nh, UserRegistrationActionPayload as ni, UpdateGroupOptions as nl, CreateGroupRoleAssignmentOptionsWithResourceExternalId as nm, SendSessionResponse as nn, GroupMemberEventData as no, AuthenticateWithSessionOptions as np, ClaimAttemptResponse as nr, PipesConnectedAccount as ns, CreateObjectEntity as nt, SerializedUserApiKey as nu, createWorkOS as o, AuthenticationSSOFailedEvent as oa, UpdateCustomProviderDefinitionAuthenticateVia as oc, BaseOrganizationMembership as od, AuthenticationEventResponse as of, CreatePermissionOptions as oh, OrganizationResponse as oi, Group as ol, ListGroupRoleAssignmentsOptions as om, PasswordlessSessionResponse as on, GroupUpdatedEvent as oo, ProfileAndToken as op, AgentToken as or, PipesConnectedAccountConnectionFailedEventResponse as os, CreateDataKeyOptions as ot, SerializedUpdateUserOptions as ou, SSOIntentOptions as p, ConnectionDeactivatedEventResponse as pa, DataIntegrationsListResponse as pc, ListGroupsForOrganizationMembershipOptions as pd, AuthenticateWithSessionCookieFailureReason as pf, SerializedUpdateOrganizationRoleOptions as ph, InviteItContactOptions as pi, SerializedAddGroupOrganizationMembershipOptions as pl, RemoveRoleOptionsWithResourceId as pm, ConnectApplication as pn, InvitationResentEventResponse as po, SerializedListConnectionsOptions as pp, SerializedMintAgentTokenOptions as pr, PipesConnectionFailed as ps, UpdateOrganizationAuditLogsRetentionOptions as pt, SessionStatus as pu, Actor as q, FlagRuleUpdatedEventResponse as qa, DataIntegrationCredentialsDtoResponse as qc, AuthenticationFactorWithSecretsResponse as qd, AuthenticateUserWithEmailVerificationCredentials as qf, ResponseHeaderValue as qh, AuthenticationOAuthFailedEventResponse as qi, OrganizationDomainVerificationStrategy as ql, ListAuthorizationResourcesOptions as qm, InvalidAgentCredential as qn, PasswordResetCreatedEventResponse as qo, RemoveGroupRoleAssignmentsOptions as qp, PKCEPair as qr, VaultKekCreatedEventResponse as qs, RadarStandaloneResponse as qt, WaitlistEntryResponse as qu, PublicSSO as r, AuthenticationPasswordSucceededEventResponse as ra, UpdateDataIntegrationApiKeyOptions as rc, SerializedListOrganizationMembershipsOptions as rd, Sms as rf, ListPermissionsOptions as rh, SerializedUpdateOrganizationOptions as ri, RemoveGroupOrganizationMembershipOptions as rl, CreateGroupRoleAssignmentOptionsWithResourceId as rm, CreatePasswordlessSessionOptions as rn, GroupMemberEventResponseData as ro, SerializedAuthenticatePublicClientBase as rp, LinkClaimAttemptToExternalUserOptions as rr, PipesConnectedAccountConnectedEvent as rs, CreateObjectOptions as rt, UserApiKey as ru, PortalLinkResponse as s, AuthenticationSSOFailedEventResponse as sa, ListUserDataProvidersOptions as sc, BaseOrganizationMembershipResponse as sd, AuthenticationEventSso as sf, SerializedCreatePermissionOptions as sh, ListOrganizationsOptions as si, GroupResponse as sl, GroupRoleAssignment as sm, ListEventOptions as sn, GroupUpdatedEventResponse as so, ProfileAndTokenResponse as sp, MintAgentDelegatedAgentTokenOptions as sr, PipesConnectedAccountDisconnectedEvent as ss, WidgetSessionTokenResponse as st, UpdateUserOptions as su, ConfidentialClientOptions as t, AuthenticationPasswordFailedEventResponse as ta, UpdateUserConnectedAccountOptions as tc, SerializedListSessionsOptions as td, TotpWithSecrets as tf, SerializedUpdateAuthorizationResourceOptions as th, UserDataPayload as ti, SerializedUpdateGroupOptions as tl, CreateGroupRoleAssignmentOptionsForOrganization as tm, RadarStandaloneAssessRequestAuthMethod as tn, GroupMemberAddedEventResponse as to, AuthenticateWithOptionsBase as tp, ClaimAttemptOrganization as tr, PermissionUpdatedEventResponse as ts, ReadObjectResponse as tt, UserApiKeyWithValue as tu, GenerateLinkResponse as u, ConnectionActivatedEvent as ua, GetAccessTokenOptions as uc, OrganizationMembershipStatus as ud, AuthenticateWithTotpOptions as uf, RemoveOrganizationRolePermissionOptions as uh, ItContactResponse as ui, CreateGroupOptions as ul, BaseRemoveRoleOptions as um, NewConnectApplicationSecretResponse as un, InvitationCreatedEvent as uo, OauthTokens as up, MintUserDelegatedAgentTokenOptions as ur, PipesConnectedAccountReauthorizationNeededEventResponse as us, WidgetSessionTokenScopes as ut, AuthMethod as uu, RateLimitExceededException as v, DsyncDeletedEvent as va, DataIntegrationsListResponseDataConnectedAccount as vc, InvitationResponse as vd, AuthenticationMethod as vf, AddEnvironmentRolePermissionOptions as vh, SerializedInviteItContactOptions as vi, ListFeatureFlagsOptions as vl, BaseAssignRoleOptions as vm, ConnectApplicationResponse as vn, OrganizationCreatedEvent as vo, ConnectionResponse as vp, AgentRegistrationKind as vr, RoleDeletedEventResponse as vs, CreateAuditLogSchemaOptions as vt, SerializedSendRadarSmsChallengeOptions as vu, AuthenticationErrorCode as w, DsyncGroupUpdatedEvent as wa, DataIntegrationResponse as wc, EmailVerificationEventResponse as wd, UserResponse as wf, EnvironmentRole as wh, WorkOSResponseError as wi, FeatureFlag as wl, SerializedListRoleAssignmentsOptions as wm, CreateApplicationClientSecretOptions as wn, OrganizationDomainDeletedEvent as wo, DirectoryUserResponse as wp, AgentInstance as wr, SessionRevokedEventResponse as ws, CreateAuditLogEventOptions as wt, ResetPasswordOptions as wu, NoApiKeyProvidedException as x, DsyncGroupCreatedEventResponse as xa, DataIntegrationsListResponseDataConnectedAccountAuthMethod as xc, SerializedEnrollUserInMfaFactorOptions as xd, CreateUserResponse as xf, UpdateEnvironmentRoleOptions as xh, SerializedCreateOrganizationOptions as xi, FlagPollEntry as xl, ListRoleAssignmentsForResourceOptions as xm, ExternalAuthCompleteResponse as xn, OrganizationDeletedResponse as xo, SSOPKCEAuthorizationURLResult as xp, SerializedAgentRegistration as xr, SessionCreatedEvent as xs, SerializedCreateAuditLogSchemaOptions as xt, RevokeSessionOptions as xu, OauthException as y, DsyncDeletedEventResponse as ya, DataIntegrationsListResponseDataConnectedAccountResponse as yc, Identity as yd, AuthenticationResponse as yf, SetEnvironmentRolePermissionsOptions as yh, CreateOrganizationOptions as yi, FlagChange as yl, SerializedAssignRoleOptions as ym, ConnectApplicationRedirectUri as yn, OrganizationCreatedResponse as yo, ConnectionType as yp, AgentRegistrationStatus as yr, RoleUpdatedEvent as ys, CreateAuditLogSchemaRequestOptions as yt, SendInvitationOptions as yu, ObjectSummary as z, EventBase as za, DataIntegrationAccessTokenResponseAccessToken as zc, PKCEAuthorizationURLResult as zd, AuthenticateWithRadarSmsChallengeOptions as zf, DirectoryType as zh, AuthenticationEmailVerificationSucceededEventResponse as zi, SerializedCreateOrganizationApiKeyOptions as zl, AuthorizationCheckOptionsWithResourceExternalId as zm, UserConsentOptionResponse as zn, OrganizationRoleCreatedEventResponse as zo, GroupRoleAssignmentEntry as zp, SerializedAgentBlueprint as zr, VaultDataReadEventResponse as zs, VerifyResponseResponse as zt, MagicAuthEvent as zu };
11185
+ //# sourceMappingURL=factory-zrNVaAD9.d.cts.map