@workos-inc/node 8.9.0 → 8.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{factory-DlHvKYOI.cjs → factory-CFeJhRhj.cjs} +341 -5
- package/lib/factory-CFeJhRhj.cjs.map +1 -0
- package/lib/{factory-ClnPnWTz.mjs → factory-DA0LsbEO.mjs} +336 -6
- package/lib/factory-DA0LsbEO.mjs.map +1 -0
- package/lib/index.cjs +2 -1
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +2 -2
- package/lib/index.d.mts +2 -2
- package/lib/index.mjs +2 -2
- package/lib/index.mjs.map +1 -1
- package/lib/index.worker.cjs +1 -1
- package/lib/index.worker.d.cts +2 -2
- package/lib/index.worker.d.mts +2 -2
- package/lib/index.worker.mjs +1 -1
- package/lib/{webapi-oTg8yaNv.mjs → webapi-CxKOxXjo.mjs} +784 -853
- package/lib/webapi-CxKOxXjo.mjs.map +1 -0
- package/lib/{webapi-DoOhnR2U.cjs → webapi-N7c2LUJd.cjs} +784 -853
- package/lib/webapi-N7c2LUJd.cjs.map +1 -0
- package/lib/{workos-CcjPGl_n.d.cts → workos-E9suUIQ6.d.cts} +247 -19
- package/lib/{workos-DYZ38_bk.d.mts → workos-b8GMX7lL.d.mts} +247 -19
- package/package.json +7 -8
- package/lib/factory-ClnPnWTz.mjs.map +0 -1
- package/lib/factory-DlHvKYOI.cjs.map +0 -1
- package/lib/webapi-DoOhnR2U.cjs.map +0 -1
- package/lib/webapi-oTg8yaNv.mjs.map +0 -1
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { EventEmitter } from "node:events";
|
|
2
|
+
|
|
1
3
|
//#region src/common/crypto/crypto-provider.d.ts
|
|
2
4
|
/**
|
|
3
5
|
* Interface encapsulating the various crypto computations used by the library,
|
|
@@ -455,7 +457,7 @@ interface CreateOptionsWithParentExternalId extends BaseCreateAuthorizationResou
|
|
|
455
457
|
parentResourceExternalId: string;
|
|
456
458
|
parentResourceTypeSlug: string;
|
|
457
459
|
}
|
|
458
|
-
type CreateAuthorizationResourceOptions = CreateOptionsWithParentResourceId | CreateOptionsWithParentExternalId;
|
|
460
|
+
type CreateAuthorizationResourceOptions = BaseCreateAuthorizationResourceOptions | CreateOptionsWithParentResourceId | CreateOptionsWithParentExternalId;
|
|
459
461
|
interface SerializedCreateAuthorizationResourceOptions {
|
|
460
462
|
external_id: string;
|
|
461
463
|
name: string;
|
|
@@ -2125,6 +2127,12 @@ interface AddFlagTargetOptions {
|
|
|
2125
2127
|
targetId: string;
|
|
2126
2128
|
}
|
|
2127
2129
|
//#endregion
|
|
2130
|
+
//#region src/feature-flags/interfaces/evaluation-context.interface.d.ts
|
|
2131
|
+
interface EvaluationContext {
|
|
2132
|
+
userId?: string;
|
|
2133
|
+
organizationId?: string;
|
|
2134
|
+
}
|
|
2135
|
+
//#endregion
|
|
2128
2136
|
//#region src/feature-flags/interfaces/feature-flag.interface.d.ts
|
|
2129
2137
|
interface FeatureFlag {
|
|
2130
2138
|
object: 'feature_flag';
|
|
@@ -2151,6 +2159,22 @@ interface FeatureFlagResponse {
|
|
|
2151
2159
|
updated_at: string;
|
|
2152
2160
|
}
|
|
2153
2161
|
//#endregion
|
|
2162
|
+
//#region src/feature-flags/interfaces/flag-poll-response.interface.d.ts
|
|
2163
|
+
interface FlagTarget {
|
|
2164
|
+
id: string;
|
|
2165
|
+
enabled: boolean;
|
|
2166
|
+
}
|
|
2167
|
+
interface FlagPollEntry {
|
|
2168
|
+
slug: string;
|
|
2169
|
+
enabled: boolean;
|
|
2170
|
+
default_value: boolean;
|
|
2171
|
+
targets: {
|
|
2172
|
+
users: FlagTarget[];
|
|
2173
|
+
organizations: FlagTarget[];
|
|
2174
|
+
};
|
|
2175
|
+
}
|
|
2176
|
+
type FlagPollResponse = Record<string, FlagPollEntry>;
|
|
2177
|
+
//#endregion
|
|
2154
2178
|
//#region src/feature-flags/interfaces/list-feature-flags-options.interface.d.ts
|
|
2155
2179
|
type ListFeatureFlagsOptions = PaginationOptions;
|
|
2156
2180
|
//#endregion
|
|
@@ -2160,6 +2184,115 @@ interface RemoveFlagTargetOptions {
|
|
|
2160
2184
|
targetId: string;
|
|
2161
2185
|
}
|
|
2162
2186
|
//#endregion
|
|
2187
|
+
//#region src/feature-flags/interfaces/runtime-client-options.interface.d.ts
|
|
2188
|
+
interface RuntimeClientLogger {
|
|
2189
|
+
debug(...args: unknown[]): void;
|
|
2190
|
+
info(...args: unknown[]): void;
|
|
2191
|
+
warn(...args: unknown[]): void;
|
|
2192
|
+
error(...args: unknown[]): void;
|
|
2193
|
+
}
|
|
2194
|
+
interface RuntimeClientOptions {
|
|
2195
|
+
pollingIntervalMs?: number;
|
|
2196
|
+
bootstrapFlags?: Record<string, FlagPollEntry>;
|
|
2197
|
+
requestTimeoutMs?: number;
|
|
2198
|
+
logger?: RuntimeClientLogger;
|
|
2199
|
+
}
|
|
2200
|
+
//#endregion
|
|
2201
|
+
//#region src/feature-flags/interfaces/runtime-client-stats.interface.d.ts
|
|
2202
|
+
interface RuntimeClientStats {
|
|
2203
|
+
pollCount: number;
|
|
2204
|
+
pollErrorCount: number;
|
|
2205
|
+
lastPollAt: Date | null;
|
|
2206
|
+
lastSuccessfulPollAt: Date | null;
|
|
2207
|
+
cacheAge: number | null;
|
|
2208
|
+
flagCount: number;
|
|
2209
|
+
}
|
|
2210
|
+
//#endregion
|
|
2211
|
+
//#region src/vault/interfaces/key.interface.d.ts
|
|
2212
|
+
interface KeyContext {
|
|
2213
|
+
[key: string]: any;
|
|
2214
|
+
}
|
|
2215
|
+
interface DataKeyPair {
|
|
2216
|
+
context: KeyContext;
|
|
2217
|
+
dataKey: DataKey;
|
|
2218
|
+
encryptedKeys: string;
|
|
2219
|
+
}
|
|
2220
|
+
interface DataKey {
|
|
2221
|
+
key: string;
|
|
2222
|
+
id: string;
|
|
2223
|
+
}
|
|
2224
|
+
//#endregion
|
|
2225
|
+
//#region src/vault/interfaces/vault-event.interface.d.ts
|
|
2226
|
+
type VaultActorSource = 'api' | 'dashboard';
|
|
2227
|
+
interface VaultActor {
|
|
2228
|
+
actorId: string;
|
|
2229
|
+
actorSource: VaultActorSource;
|
|
2230
|
+
actorName: string;
|
|
2231
|
+
}
|
|
2232
|
+
interface VaultActorResponse {
|
|
2233
|
+
actor_id: string;
|
|
2234
|
+
actor_source: VaultActorSource;
|
|
2235
|
+
actor_name: string;
|
|
2236
|
+
}
|
|
2237
|
+
interface VaultDataMutatedEventData extends VaultActor {
|
|
2238
|
+
kvName: string;
|
|
2239
|
+
keyId: string;
|
|
2240
|
+
keyContext: KeyContext;
|
|
2241
|
+
}
|
|
2242
|
+
interface VaultDataMutatedEventResponseData extends VaultActorResponse {
|
|
2243
|
+
kv_name: string;
|
|
2244
|
+
key_id: string;
|
|
2245
|
+
key_context: KeyContext;
|
|
2246
|
+
}
|
|
2247
|
+
type VaultDataCreatedEventData = VaultDataMutatedEventData;
|
|
2248
|
+
type VaultDataUpdatedEventData = VaultDataMutatedEventData;
|
|
2249
|
+
type VaultDataCreatedEventResponseData = VaultDataMutatedEventResponseData;
|
|
2250
|
+
type VaultDataUpdatedEventResponseData = VaultDataMutatedEventResponseData;
|
|
2251
|
+
interface VaultDataReadEventData extends VaultActor {
|
|
2252
|
+
kvName: string;
|
|
2253
|
+
keyId: string;
|
|
2254
|
+
}
|
|
2255
|
+
interface VaultDataReadEventResponseData extends VaultActorResponse {
|
|
2256
|
+
kv_name: string;
|
|
2257
|
+
key_id: string;
|
|
2258
|
+
}
|
|
2259
|
+
interface VaultDataDeletedEventData extends VaultActor {
|
|
2260
|
+
kvName: string;
|
|
2261
|
+
}
|
|
2262
|
+
interface VaultDataDeletedEventResponseData extends VaultActorResponse {
|
|
2263
|
+
kv_name: string;
|
|
2264
|
+
}
|
|
2265
|
+
interface VaultMetadataReadEventData extends VaultActor {
|
|
2266
|
+
kvName: string;
|
|
2267
|
+
}
|
|
2268
|
+
interface VaultMetadataReadEventResponseData extends VaultActorResponse {
|
|
2269
|
+
kv_name: string;
|
|
2270
|
+
}
|
|
2271
|
+
type VaultNamesListedEventData = VaultActor;
|
|
2272
|
+
type VaultNamesListedEventResponseData = VaultActorResponse;
|
|
2273
|
+
interface VaultKekCreatedEventData extends VaultActor {
|
|
2274
|
+
keyName: string;
|
|
2275
|
+
keyId: string;
|
|
2276
|
+
}
|
|
2277
|
+
interface VaultKekCreatedEventResponseData extends VaultActorResponse {
|
|
2278
|
+
key_name: string;
|
|
2279
|
+
key_id: string;
|
|
2280
|
+
}
|
|
2281
|
+
interface VaultDekReadEventData extends VaultActor {
|
|
2282
|
+
keyIds: string[];
|
|
2283
|
+
keyContext: KeyContext;
|
|
2284
|
+
}
|
|
2285
|
+
interface VaultDekReadEventResponseData extends VaultActorResponse {
|
|
2286
|
+
key_ids: string[];
|
|
2287
|
+
key_context: KeyContext;
|
|
2288
|
+
}
|
|
2289
|
+
interface VaultDekDecryptedEventData extends VaultActor {
|
|
2290
|
+
keyId: string;
|
|
2291
|
+
}
|
|
2292
|
+
interface VaultDekDecryptedEventResponseData extends VaultActorResponse {
|
|
2293
|
+
key_id: string;
|
|
2294
|
+
}
|
|
2295
|
+
//#endregion
|
|
2163
2296
|
//#region src/common/interfaces/event.interface.d.ts
|
|
2164
2297
|
interface EventBase {
|
|
2165
2298
|
id: string;
|
|
@@ -2707,8 +2840,80 @@ interface FlagRuleUpdatedEventResponse extends EventResponseBase {
|
|
|
2707
2840
|
event: 'flag.rule_updated';
|
|
2708
2841
|
data: FeatureFlagResponse;
|
|
2709
2842
|
}
|
|
2710
|
-
|
|
2711
|
-
|
|
2843
|
+
interface VaultDataCreatedEvent extends EventBase {
|
|
2844
|
+
event: 'vault.data.created';
|
|
2845
|
+
data: VaultDataCreatedEventData;
|
|
2846
|
+
}
|
|
2847
|
+
interface VaultDataCreatedEventResponse extends EventResponseBase {
|
|
2848
|
+
event: 'vault.data.created';
|
|
2849
|
+
data: VaultDataCreatedEventResponseData;
|
|
2850
|
+
}
|
|
2851
|
+
interface VaultDataUpdatedEvent extends EventBase {
|
|
2852
|
+
event: 'vault.data.updated';
|
|
2853
|
+
data: VaultDataUpdatedEventData;
|
|
2854
|
+
}
|
|
2855
|
+
interface VaultDataUpdatedEventResponse extends EventResponseBase {
|
|
2856
|
+
event: 'vault.data.updated';
|
|
2857
|
+
data: VaultDataUpdatedEventResponseData;
|
|
2858
|
+
}
|
|
2859
|
+
interface VaultDataReadEvent extends EventBase {
|
|
2860
|
+
event: 'vault.data.read';
|
|
2861
|
+
data: VaultDataReadEventData;
|
|
2862
|
+
}
|
|
2863
|
+
interface VaultDataReadEventResponse extends EventResponseBase {
|
|
2864
|
+
event: 'vault.data.read';
|
|
2865
|
+
data: VaultDataReadEventResponseData;
|
|
2866
|
+
}
|
|
2867
|
+
interface VaultDataDeletedEvent extends EventBase {
|
|
2868
|
+
event: 'vault.data.deleted';
|
|
2869
|
+
data: VaultDataDeletedEventData;
|
|
2870
|
+
}
|
|
2871
|
+
interface VaultDataDeletedEventResponse extends EventResponseBase {
|
|
2872
|
+
event: 'vault.data.deleted';
|
|
2873
|
+
data: VaultDataDeletedEventResponseData;
|
|
2874
|
+
}
|
|
2875
|
+
interface VaultNamesListedEvent extends EventBase {
|
|
2876
|
+
event: 'vault.names.listed';
|
|
2877
|
+
data: VaultNamesListedEventData;
|
|
2878
|
+
}
|
|
2879
|
+
interface VaultNamesListedEventResponse extends EventResponseBase {
|
|
2880
|
+
event: 'vault.names.listed';
|
|
2881
|
+
data: VaultNamesListedEventResponseData;
|
|
2882
|
+
}
|
|
2883
|
+
interface VaultMetadataReadEvent extends EventBase {
|
|
2884
|
+
event: 'vault.metadata.read';
|
|
2885
|
+
data: VaultMetadataReadEventData;
|
|
2886
|
+
}
|
|
2887
|
+
interface VaultMetadataReadEventResponse extends EventResponseBase {
|
|
2888
|
+
event: 'vault.metadata.read';
|
|
2889
|
+
data: VaultMetadataReadEventResponseData;
|
|
2890
|
+
}
|
|
2891
|
+
interface VaultKekCreatedEvent extends EventBase {
|
|
2892
|
+
event: 'vault.kek.created';
|
|
2893
|
+
data: VaultKekCreatedEventData;
|
|
2894
|
+
}
|
|
2895
|
+
interface VaultKekCreatedEventResponse extends EventResponseBase {
|
|
2896
|
+
event: 'vault.kek.created';
|
|
2897
|
+
data: VaultKekCreatedEventResponseData;
|
|
2898
|
+
}
|
|
2899
|
+
interface VaultDekReadEvent extends EventBase {
|
|
2900
|
+
event: 'vault.dek.read';
|
|
2901
|
+
data: VaultDekReadEventData;
|
|
2902
|
+
}
|
|
2903
|
+
interface VaultDekReadEventResponse extends EventResponseBase {
|
|
2904
|
+
event: 'vault.dek.read';
|
|
2905
|
+
data: VaultDekReadEventResponseData;
|
|
2906
|
+
}
|
|
2907
|
+
interface VaultDekDecryptedEvent extends EventBase {
|
|
2908
|
+
event: 'vault.dek.decrypted';
|
|
2909
|
+
data: VaultDekDecryptedEventData;
|
|
2910
|
+
}
|
|
2911
|
+
interface VaultDekDecryptedEventResponse extends EventResponseBase {
|
|
2912
|
+
event: 'vault.dek.decrypted';
|
|
2913
|
+
data: VaultDekDecryptedEventResponseData;
|
|
2914
|
+
}
|
|
2915
|
+
type Event = AuthenticationEmailVerificationSucceededEvent | AuthenticationMfaSucceededEvent | AuthenticationOAuthFailedEvent | AuthenticationOAuthSucceededEvent | AuthenticationSSOFailedEvent | AuthenticationSSOSucceededEvent | AuthenticationPasskeyFailedEvent | AuthenticationPasskeySucceededEvent | AuthenticationPasswordFailedEvent | AuthenticationPasswordSucceededEvent | AuthenticationMagicAuthFailedEvent | AuthenticationMagicAuthSucceededEvent | AuthenticationRadarRiskDetectedEvent | ConnectionActivatedEvent | ConnectionDeactivatedEvent | ConnectionDeletedEvent | DsyncActivatedEvent | DsyncDeletedEvent | DsyncGroupCreatedEvent | DsyncGroupUpdatedEvent | DsyncGroupDeletedEvent | DsyncGroupUserAddedEvent | DsyncGroupUserRemovedEvent | DsyncUserCreatedEvent | DsyncUserUpdatedEvent | DsyncUserDeletedEvent | EmailVerificationCreatedEvent | InvitationAcceptedEvent | InvitationCreatedEvent | InvitationRevokedEvent | InvitationResentEvent | MagicAuthCreatedEvent | PasswordResetCreatedEvent | PasswordResetSucceededEvent | UserCreatedEvent | UserUpdatedEvent | UserDeletedEvent | OrganizationMembershipCreated | OrganizationMembershipDeleted | OrganizationMembershipUpdated | RoleCreatedEvent | RoleDeletedEvent | RoleUpdatedEvent | OrganizationRoleCreatedEvent | OrganizationRoleUpdatedEvent | OrganizationRoleDeletedEvent | PermissionCreatedEvent | PermissionUpdatedEvent | PermissionDeletedEvent | SessionCreatedEvent | SessionRevokedEvent | OrganizationCreatedEvent | OrganizationUpdatedEvent | OrganizationDeletedEvent | OrganizationDomainVerifiedEvent | OrganizationDomainVerificationFailedEvent | OrganizationDomainCreatedEvent | OrganizationDomainUpdatedEvent | OrganizationDomainDeletedEvent | ApiKeyCreatedEvent | ApiKeyRevokedEvent | FlagCreatedEvent | FlagUpdatedEvent | FlagDeletedEvent | FlagRuleUpdatedEvent | VaultDataCreatedEvent | VaultDataUpdatedEvent | VaultDataReadEvent | VaultDataDeletedEvent | VaultNamesListedEvent | VaultMetadataReadEvent | VaultKekCreatedEvent | VaultDekReadEvent | VaultDekDecryptedEvent;
|
|
2916
|
+
type EventResponse = AuthenticationEmailVerificationSucceededEventResponse | AuthenticationMagicAuthFailedEventResponse | AuthenticationMagicAuthSucceededEventResponse | AuthenticationMfaSucceededEventResponse | AuthenticationOAuthFailedEventResponse | AuthenticationOAuthSucceededEventResponse | AuthenticationPasskeyFailedEventResponse | AuthenticationPasskeySucceededEventResponse | AuthenticationPasswordFailedEventResponse | AuthenticationPasswordSucceededEventResponse | AuthenticationSSOFailedEventResponse | AuthenticationSSOSucceededEventResponse | AuthenticationRadarRiskDetectedEventResponse | ConnectionActivatedEventResponse | ConnectionDeactivatedEventResponse | ConnectionDeletedEventResponse | DsyncActivatedEventResponse | DsyncDeletedEventResponse | DsyncGroupCreatedEventResponse | DsyncGroupUpdatedEventResponse | DsyncGroupDeletedEventResponse | DsyncGroupUserAddedEventResponse | DsyncGroupUserRemovedEventResponse | DsyncUserCreatedEventResponse | DsyncUserUpdatedEventResponse | DsyncUserDeletedEventResponse | EmailVerificationCreatedEventResponse | InvitationAcceptedEventResponse | InvitationCreatedEventResponse | InvitationRevokedEventResponse | InvitationResentEventResponse | MagicAuthCreatedEventResponse | PasswordResetCreatedEventResponse | PasswordResetSucceededEventResponse | UserCreatedEventResponse | UserUpdatedEventResponse | UserDeletedEventResponse | OrganizationMembershipCreatedResponse | OrganizationMembershipDeletedResponse | OrganizationMembershipUpdatedResponse | RoleCreatedEventResponse | RoleDeletedEventResponse | RoleUpdatedEventResponse | OrganizationRoleCreatedEventResponse | OrganizationRoleUpdatedEventResponse | OrganizationRoleDeletedEventResponse | PermissionCreatedEventResponse | PermissionUpdatedEventResponse | PermissionDeletedEventResponse | SessionCreatedEventResponse | SessionRevokedEventResponse | OrganizationCreatedResponse | OrganizationUpdatedResponse | OrganizationDeletedResponse | OrganizationDomainVerifiedEventResponse | OrganizationDomainVerificationFailedEventResponse | OrganizationDomainCreatedEventResponse | OrganizationDomainUpdatedEventResponse | OrganizationDomainDeletedEventResponse | ApiKeyCreatedEventResponse | ApiKeyRevokedEventResponse | FlagCreatedEventResponse | FlagUpdatedEventResponse | FlagDeletedEventResponse | FlagRuleUpdatedEventResponse | VaultDataCreatedEventResponse | VaultDataUpdatedEventResponse | VaultDataReadEventResponse | VaultDataDeletedEventResponse | VaultNamesListedEventResponse | VaultMetadataReadEventResponse | VaultKekCreatedEventResponse | VaultDekReadEventResponse | VaultDekDecryptedEventResponse;
|
|
2712
2917
|
type EventName = Event['event'];
|
|
2713
2918
|
//#endregion
|
|
2714
2919
|
//#region src/common/interfaces/get-options.interface.d.ts
|
|
@@ -3111,6 +3316,7 @@ interface ListEventOptions {
|
|
|
3111
3316
|
limit?: number;
|
|
3112
3317
|
after?: string;
|
|
3113
3318
|
organizationId?: string;
|
|
3319
|
+
order?: 'asc' | 'desc';
|
|
3114
3320
|
}
|
|
3115
3321
|
interface SerializedListEventOptions {
|
|
3116
3322
|
events: EventName[];
|
|
@@ -3119,6 +3325,7 @@ interface SerializedListEventOptions {
|
|
|
3119
3325
|
limit?: number;
|
|
3120
3326
|
after?: string;
|
|
3121
3327
|
organization_id?: string;
|
|
3328
|
+
order?: 'asc' | 'desc';
|
|
3122
3329
|
}
|
|
3123
3330
|
//#endregion
|
|
3124
3331
|
//#region src/events/events.d.ts
|
|
@@ -4469,6 +4676,40 @@ declare class FGA {
|
|
|
4469
4676
|
query(options: QueryOptions, requestOptions?: QueryRequestOptions): Promise<FgaPaginatable<QueryResult, SerializedQueryOptions>>;
|
|
4470
4677
|
}
|
|
4471
4678
|
//#endregion
|
|
4679
|
+
//#region src/feature-flags/runtime-client.d.ts
|
|
4680
|
+
declare class FeatureFlagsRuntimeClient extends EventEmitter {
|
|
4681
|
+
private readonly workos;
|
|
4682
|
+
private readonly store;
|
|
4683
|
+
private readonly evaluator;
|
|
4684
|
+
private readonly pollingIntervalMs;
|
|
4685
|
+
private readonly requestTimeoutMs;
|
|
4686
|
+
private readonly logger?;
|
|
4687
|
+
private closed;
|
|
4688
|
+
private initialized;
|
|
4689
|
+
private consecutiveErrors;
|
|
4690
|
+
private pollTimer;
|
|
4691
|
+
private pollAbortController;
|
|
4692
|
+
private readyResolve;
|
|
4693
|
+
private readyReject;
|
|
4694
|
+
private readyPromise;
|
|
4695
|
+
private stats;
|
|
4696
|
+
constructor(workos: WorkOS, options?: RuntimeClientOptions);
|
|
4697
|
+
waitUntilReady(options?: {
|
|
4698
|
+
timeoutMs?: number;
|
|
4699
|
+
}): Promise<void>;
|
|
4700
|
+
close(): void;
|
|
4701
|
+
isEnabled(flagKey: string, context?: EvaluationContext, defaultValue?: boolean): boolean;
|
|
4702
|
+
getAllFlags(context?: EvaluationContext): Record<string, boolean>;
|
|
4703
|
+
getFlag(flagKey: string): FlagPollEntry | undefined;
|
|
4704
|
+
getStats(): RuntimeClientStats;
|
|
4705
|
+
private resolveReady;
|
|
4706
|
+
private poll;
|
|
4707
|
+
private fetchWithTimeout;
|
|
4708
|
+
private scheduleNextPoll;
|
|
4709
|
+
private emitChanges;
|
|
4710
|
+
private hasEntryChanged;
|
|
4711
|
+
}
|
|
4712
|
+
//#endregion
|
|
4472
4713
|
//#region src/feature-flags/feature-flags.d.ts
|
|
4473
4714
|
declare class FeatureFlags {
|
|
4474
4715
|
private readonly workos;
|
|
@@ -4479,6 +4720,7 @@ declare class FeatureFlags {
|
|
|
4479
4720
|
disableFeatureFlag(slug: string): Promise<FeatureFlag>;
|
|
4480
4721
|
addFlagTarget(options: AddFlagTargetOptions): Promise<void>;
|
|
4481
4722
|
removeFlagTarget(options: RemoveFlagTargetOptions): Promise<void>;
|
|
4723
|
+
createRuntimeClient(options?: RuntimeClientOptions): FeatureFlagsRuntimeClient;
|
|
4482
4724
|
}
|
|
4483
4725
|
//#endregion
|
|
4484
4726
|
//#region src/widgets/interfaces/get-token.d.ts
|
|
@@ -4758,20 +5000,6 @@ declare class WorkOSWorker extends WorkOS {
|
|
|
4758
5000
|
emitWarning(warning: string): void;
|
|
4759
5001
|
}
|
|
4760
5002
|
//#endregion
|
|
4761
|
-
//#region src/vault/interfaces/key.interface.d.ts
|
|
4762
|
-
interface KeyContext {
|
|
4763
|
-
[key: string]: any;
|
|
4764
|
-
}
|
|
4765
|
-
interface DataKeyPair {
|
|
4766
|
-
context: KeyContext;
|
|
4767
|
-
dataKey: DataKey;
|
|
4768
|
-
encryptedKeys: string;
|
|
4769
|
-
}
|
|
4770
|
-
interface DataKey {
|
|
4771
|
-
key: string;
|
|
4772
|
-
id: string;
|
|
4773
|
-
}
|
|
4774
|
-
//#endregion
|
|
4775
5003
|
//#region src/vault/interfaces/key/create-data-key.interface.d.ts
|
|
4776
5004
|
interface CreateDataKeyOptions {
|
|
4777
5005
|
context: KeyContext;
|
|
@@ -4969,5 +5197,5 @@ declare class WorkOS {
|
|
|
4969
5197
|
private handleHttpError;
|
|
4970
5198
|
}
|
|
4971
5199
|
//#endregion
|
|
4972
|
-
export { DebugInfo as $, SerializedResetPasswordOptions as $a, SerializedListResourcesForMembershipOptions as $c, RoleDeletedEventResponse as $i, DirectoryGroup as $l, AuthenticationOAuthFailedEventResponse as $n, CreateOrganizationMembershipOptions as $o, FlagRuleUpdatedEventResponse as $r, ProfileAndToken as $s, GeneratePortalLinkIntent as $t, UnauthorizedException as A, OrganizationDomainState as Aa, BaseRemoveRoleOptions as Ac, OrganizationMembershipUpdated as Ai, RemoveOrganizationRolePermissionOptions as Al, DomainDataState as An, ListInvitationsOptions as Ao, DsyncGroupUpdatedEvent as Ar, SerializedAuthenticateWithRefreshTokenOptions as As, SerializedListResourcesOptions as At, WarrantTokenResponse as B, SerializedUpdateOrganizationMembershipOptions as Ba, ListRoleAssignmentsOptions as Bc, PasswordResetCreatedEvent as Bi, SerializedUpdateEnvironmentRoleOptions as Bl, ApiKeyCreatedEvent as Bn, FactorResponse as Bo, DsyncUserUpdatedEvent as Br, AuthenticateUserWithEmailVerificationCredentials as Bs, CreateAuditLogSchemaOptions as Bt, ConfidentialClientOptions as C, CreateOrganizationApiKeyOptions as Ca, OrganizationRoleResponse as Cc, OrganizationDomainVerificationFailedEventResponse as Ci, UpdatePermissionOptions as Cl, OrganizationResponse as Cn, AuthorizationOrganizationMembershipListResponse as Co, DsyncActivatedEventResponse as Cr, UserResponse as Cs, Resource as Ct, PublicWorkOS as D, SerializedApiKey as Da, RoleList as Dc, OrganizationMembershipCreatedResponse as Di, PermissionList as Dl, CreateOrganizationRequestOptions as Dn, OrganizationMembership as Do, DsyncGroupCreatedEventResponse as Dr, SerializedAuthenticateWithRefreshTokenPublicClientOptions as Ds, SerializedBatchWriteResourcesOptions as Dt, PublicUserManagement as E, ApiKey as Ea, RoleEventResponse as Ec, OrganizationMembershipCreated as Ei, Permission as El, CreateOrganizationOptions as En, BaseOrganizationMembershipResponse as Eo, DsyncGroupCreatedEvent as Er, AuthenticateWithRefreshTokenPublicClientOptions as Es, ResourceResponse as Et, NoApiKeyProvidedException as F, VerifyEmailOptions as Fa, AssignRoleOptions as Fc, OrganizationRoleDeletedEventResponse as Fi, CreateOrganizationRoleOptions as Fl, PostOptions as Fn, InvitationEventResponse as Fo, DsyncGroupUserRemovedEventResponse as Fr, AuthenticateWithOrganizationSelectionOptions as Fs, CookieSession as Ft, SerializedQueryOptions as G, SessionStatus as Ga, RoleAssignmentResourceResponse as Gc, PermissionCreatedEventResponse as Gi, EnvironmentRoleList as Gl, AuthenticationEmailVerificationSucceededEventResponse as Gn, EmailVerification as Go, EventBase as Gr, AuthenticateUserWithCodeCredentials as Gs, AuditLogTarget as Gt, QueryRequestOptions as H, AuthMethod as Ha, RoleAssignmentList as Hc, PasswordResetSucceededEvent as Hi, CreateEnvironmentRoleOptions as Hl, ApiKeyRevokedEvent as Hn, FactorWithSecretsResponse as Ho, EmailVerificationCreatedEvent as Hr, SerializedAuthenticateWithEmailVerificationOptions as Hs, CreateAuditLogSchemaResponse as Ht, BadRequestException as I, SerializedUpdateUserPasswordOptions as Ia, AssignRoleOptionsWithResourceExternalId as Ic, OrganizationRoleUpdatedEvent as Ii, SerializedCreateOrganizationRoleOptions as Il, PatchOptions as In, InvitationResponse as Io, DsyncUserCreatedEvent as Ir, SerializedAuthenticateWithOrganizationSelectionOptions as Is, AuditLogActorSchema as It, CheckRequestOptions as J, SerializedSendInvitationOptions as Ja, ListMembershipsForResourceByExternalIdOptions as Jc, PermissionUpdatedEvent as Ji, ListDirectoryUsersOptions as Jl, AuthenticationMagicAuthSucceededEvent as Jn, EmailVerificationResponse as Jo, FlagCreatedEvent as Jr, AuthenticateWithOptionsBase as Js, SerializedCreateAuditLogEventOptions as Jt, CheckBatchOptions as K, SendVerificationEmailOptions as Ka, RoleAssignmentResponse as Kc, PermissionDeletedEvent as Ki, EnvironmentRoleListResponse as Kl, AuthenticationMagicAuthFailedEvent as Kn, EmailVerificationEvent as Ko, EventName as Kr, AuthenticateWithCodeOptions as Ks, CreateAuditLogEventOptions as Kt, GenericServerException as L, UpdateUserPasswordOptions as La, AssignRoleOptionsWithResourceId as Lc, OrganizationRoleUpdatedEventResponse as Li, OrganizationRole as Ll, List as Ln, Identity as Lo, DsyncUserCreatedEventResponse as Lr, AuthenticateUserWithMagicAuthCredentials as Ls, AuditLogSchema as Lt, RateLimitExceededException as M, CreateOrganizationDomainOptions as Ma, RemoveRoleOptionsWithResourceExternalId as Mc, OrganizationRoleCreatedEvent as Mi, SetOrganizationRolePermissionsOptions as Ml, WorkOSOptions as Mn, ListAuthFactorsOptions as Mo, DsyncGroupUserAddedEvent as Mr, AuthenticateWithPasswordOptions as Ms, UpdateResourceOptions as Mt, OauthException as N, SerializedCreateOrganizationDomainOptions as Na, RemoveRoleOptionsWithResourceId as Nc, OrganizationRoleCreatedEventResponse as Ni, SerializedUpdateOrganizationRoleOptions as Nl, UnprocessableEntityError as Nn, Invitation as No, DsyncGroupUserAddedEventResponse as Nr, SerializedAuthenticateWithPasswordOptions as Ns, ResourceOp as Nt, createWorkOS as O, OrganizationDomain as Oa, RoleResponse as Oc, OrganizationMembershipDeleted as Oi, PermissionListResponse as Ol, SerializedCreateOrganizationOptions as On, OrganizationMembershipResponse as Oo, DsyncGroupDeletedEvent as Or, AuthenticateUserWithRefreshTokenCredentials as Os, SerializedCreateResourceOptions as Ot, NotFoundException as P, SerializedVerifyEmailOptions as Pa, SerializedRemoveRoleOptions as Pc, OrganizationRoleDeletedEvent as Pi, UpdateOrganizationRoleOptions as Pl, PutOptions as Pn, InvitationEvent as Po, DsyncGroupUserRemovedEvent as Pr, AuthenticateUserWithOrganizationSelectionCredentials as Ps, CheckOp as Pt, CheckWarrantOptions as Q, ResetPasswordOptions as Qa, ListResourcesForMembershipOptionsWithParentId as Qc, RoleDeletedEvent as Qi, PaginationOptions as Ql, AuthenticationOAuthFailedEvent as Qn, SerializedCreatePasswordResetOptions as Qo, FlagRuleUpdatedEvent as Qr, WithResolvedClientId as Qs, SerializedAuditLogExportOptions as Qt, ApiKeyRequiredException as R, SerializedUpdateUserOptions as Ra, BaseAssignRoleOptions as Rc, OrganizationUpdatedEvent as Ri, AddEnvironmentRolePermissionOptions as Rl, ListResponse as Rn, IdentityResponse as Ro, DsyncUserDeletedEvent as Rr, AuthenticateWithMagicAuthOptions as Rs, AuditLogSchemaMetadata as Rt, WorkOSWorker as S, SerializedCreatedApiKey as Sa, OrganizationRoleEventResponse as Sc, OrganizationDomainVerificationFailedEvent as Si, SerializedUpdatePermissionOptions as Sl, Organization as Sn, AuthorizationOrganizationMembershipList as So, DsyncActivatedEvent as Sr, User as Ss, ListResourcesOptions as St, PublicSSO as T, SerializedCreateOrganizationApiKeyOptions as Ta, RoleEvent as Tc, OrganizationDomainVerifiedEventResponse as Ti, SerializedCreatePermissionOptions as Tl, ListOrganizationFeatureFlagsOptions as Tn, BaseOrganizationMembership as To, DsyncDeletedEventResponse as Tr, ImpersonatorResponse as Ts, ResourceOptions as Tt, QueryResult as U, Session as Ua, RoleAssignmentListResponse as Uc, PasswordResetSucceededEventResponse as Ui, SerializedCreateEnvironmentRoleOptions as Ul, ApiKeyRevokedEventResponse as Un, EnrollAuthFactorOptions as Uo, EmailVerificationCreatedEventResponse as Ur, AuthenticateWithCodeAndVerifierOptions as Us, SerializedCreateAuditLogSchemaOptions as Ut, QueryOptions as V, UpdateOrganizationMembershipOptions as Va, RoleAssignment as Vc, PasswordResetCreatedEventResponse as Vi, UpdateEnvironmentRoleOptions as Vl, ApiKeyCreatedEventResponse as Vn, FactorWithSecrets$1 as Vo, DsyncUserUpdatedEventResponse as Vr, AuthenticateWithEmailVerificationOptions as Vs, CreateAuditLogSchemaRequestOptions as Vt, QueryResultResponse as W, SessionResponse as Wa, RoleAssignmentResource as Wc, PermissionCreatedEvent as Wi, EnvironmentRole as Wl, AuthenticationEmailVerificationSucceededEvent as Wn, SerializedEnrollUserInMfaFactorOptions as Wo, Event as Wr, SerializedAuthenticateWithCodeAndVerifierOptions as Ws, AuditLogActor as Wt, CheckResultInterface as X, SerializedRevokeSessionOptions as Xa, ListResourcesForMembershipOptions as Xc, RoleCreatedEvent as Xi, ListDirectoriesOptions as Xl, AuthenticationMfaSucceededEvent as Xn, SerializedCreateUserOptions as Xo, FlagDeletedEvent as Xr, SerializedAuthenticatePublicClientBase as Xs, AuditLogExportResponse as Xt, CheckResult as Y, RevokeSessionOptions as Ya, ListMembershipsForResourceOptions as Yc, PermissionUpdatedEventResponse as Yi, ListDirectoryGroupsOptions as Yl, AuthenticationMagicAuthSucceededEventResponse as Yn, CreateUserOptions as Yo, FlagCreatedEventResponse as Yr, AuthenticateWithSessionOptions as Ys, AuditLogExport as Yt, CheckResultResponse as Z, serializeRevokeSessionOptions as Za, ListResourcesForMembershipOptionsWithParentExternalId as Zc, RoleCreatedEventResponse as Zi, SerializedListDirectoriesOptions as Zl, AuthenticationMfaSucceededEventResponse as Zn, CreatePasswordResetOptions as Zo, FlagDeletedEventResponse as Zr, SerializedAuthenticateWithOptionsBase as Zs, AuditLogExportOptions as Zt, CreateDataKeyOptions as _, SerializedValidateApiKeyResponse as _a, DirectoryUserResponse as _c, OrganizationDomainCreatedEventResponse as _i, CreateOptionsWithParentResourceId as _l, UserData as _n, ListSessionsOptions as _o, ConnectionActivatedEventResponse as _r, AuthenticateWithSessionCookieOptions as _s, BatchWriteResourcesOptions as _t, ReadObjectOptions as a, SessionRevokedEventResponse as aa, ListConnectionsOptions as ac, InvitationCreatedEventResponse as ai, DeleteAuthorizationResourceOptions as al, ListEventOptions as an, PasswordResetEvent as ao, AuthenticationPasskeySucceededEventResponse as ar, AuthenticationRadarRiskDetectedEventData as as, SerializedCheckWarrantOptions as at, DirectoryType as au, DataKeyPair as b, ListOrganizationApiKeysOptions as ba, ListOrganizationRolesResponse as bc, OrganizationDomainUpdatedEvent as bi, UpdateAuthorizationResourceOptions as bl, SerializedUpdateOrganizationOptions as bn, SerializedListOrganizationMembershipsOptions as bo, ConnectionDeletedEvent as br, AuthenticationResponse as bs, DeleteResourceOptions as bt, ObjectMetadata as c, UserDeletedEvent as ca, GetProfileOptions as cc, InvitationRevokedEvent as ci, GetAuthorizationResourceByExternalIdOptions as cl, PKCE as cn, MagicAuth as co, AuthenticationPasswordSucceededEvent as cr, AuthenticationEventResponse as cs, PolicyContext as ct, HttpClient as cu, VaultObject as d, UserUpdatedEventResponse as da, ConnectionResponse as dc, MagicAuthCreatedEventResponse as di, AuthorizationResource as dl, Actions as dn, MagicAuthResponse as do, AuthenticationRadarRiskDetectedEventResponse as dr, AuthenticateUserWithTotpCredentials as ds, SerializedWriteWarrantOptions as dt, RequestHeaders as du, RoleUpdatedEvent as ea, ProfileAndTokenResponse as ec, FlagUpdatedEvent as ei, AuthorizationCheckOptions as el, SendSessionResponse as en, ResendInvitationOptions as eo, AuthenticationOAuthSucceededEvent as er, SerializedCreateOrganizationMembershipOptions as es, DebugInfoResponse as et, DirectoryGroupResponse as eu, DeleteObjectOptions as f, RemoveFlagTargetOptions as fa, ConnectionType as fc, OrganizationCreatedEvent as fi, AuthorizationResourceList as fl, AuthenticationActionResponseData as fn, LogoutURLOptions as fo, AuthenticationSSOFailedEvent as fr, AuthenticateWithTotpOptions as fs, Subject as ft, RequestOptions as fu, DecryptDataKeyResponse as g, AddFlagTargetOptions as ga, DirectoryUser as gc, OrganizationDomainCreatedEvent as gi, CreateOptionsWithParentExternalId as gl, ActionPayload as gn, ListUserFeatureFlagsOptions as go, ConnectionActivatedEvent as gr, AuthenticateWithSessionCookieFailureReason as gs, WarrantOp as gt, DecryptDataKeyOptions as h, FeatureFlagResponse as ha, DefaultCustomAttributes as hc, OrganizationDeletedResponse as hi, CreateAuthorizationResourceOptions as hl, ActionContext as hn, SerializedListUsersOptions as ho, AuthenticationSSOSucceededEventResponse as hr, AuthenticateWithSessionCookieFailedResponse as hs, WriteWarrantOptions as ht, CryptoProvider as hu, ReadObjectMetadataResponse as i, SessionRevokedEvent as ia, OauthTokensResponse as ic, InvitationCreatedEvent as ii, SerializedAuthorizationCheckOptions as il, PasswordlessSessionResponse as in, PasswordReset as io, AuthenticationPasskeySucceededEvent as ir, UserManagementAuthorizationURLOptions as is, SerializedCheckOptions as it, DirectoryStateResponse as iu, SignatureVerificationException as j, OrganizationDomainVerificationStrategy as ja, RemoveRoleOptions as jc, OrganizationMembershipUpdatedResponse as ji, AddOrganizationRolePermissionOptions as jl, WorkOSResponseError as jn, SerializedListInvitationsOptions as jo, DsyncGroupUpdatedEventResponse as jr, AuthenticateUserWithPasswordCredentials as js, SerializedResourceOptions as jt, UnprocessableEntityException as k, OrganizationDomainResponse as ka, RemoveRoleAssignmentOptions as kc, OrganizationMembershipDeletedResponse as ki, PermissionResponse as kl, DomainData as kn, OrganizationMembershipStatus as ko, DsyncGroupDeletedEventResponse as kr, AuthenticateWithRefreshTokenOptions as ks, SerializedDeleteResourceOptions as kt, ObjectUpdateBy as l, UserDeletedEventResponse as la, Connection as lc, InvitationRevokedEventResponse as li, ListAuthorizationResourcesOptions as ll, PKCEPair as ln, MagicAuthEvent as lo, AuthenticationPasswordSucceededEventResponse as lr, AuthenticationEventSso as ls, SerializedListWarrantsOptions as lt, HttpClientInterface as lu, CreateObjectOptions as m, FeatureFlag as ma, SSOPKCEAuthorizationURLResult as mc, OrganizationDeletedEvent as mi, AuthorizationResourceResponse as ml, UserRegistrationActionResponseData as mn, ListUsersOptions as mo, AuthenticationSSOSucceededEvent as mr, AccessToken$1 as ms, WarrantResponse as mt, ResponseHeaders as mu, UpdateObjectEntity as n, SessionCreatedEvent as na, ProfileResponse as nc, InvitationAcceptedEvent as ni, AuthorizationCheckOptionsWithResourceId as nl, SerializedCreatePasswordlessSessionOptions as nn, RefreshSessionFailureReason as no, AuthenticationPasskeyFailedEvent as nr, SerializedCreateMagicAuthOptions as ns, DecisionTreeNodeResponse as nt, DirectoryResponse as nu, ReadObjectResponse as o, UserCreatedEvent as oa, SerializedListConnectionsOptions as oc, InvitationResentEvent as oi, DeleteAuthorizationResourceByExternalIdOptions as ol, SerializedListEventOptions as on, PasswordResetEventResponse as oo, AuthenticationPasswordFailedEvent as or, AuthenticationRadarRiskDetectedEventResponseData as os, ListWarrantsOptions as ot, EventDirectory as ou, CreateObjectEntity as p, ListFeatureFlagsOptions as pa, SSOAuthorizationURLOptions as pc, OrganizationCreatedResponse as pi, AuthorizationResourceListResponse as pl, ResponsePayload as pn, Locale as po, AuthenticationSSOFailedEventResponse as pr, SerializedAuthenticateWithTotpOptions as ps, Warrant as pt, ResponseHeaderValue as pu, CheckOptions as q, SendInvitationOptions as qa, RoleAssignmentRole as qc, PermissionDeletedEventResponse as qi, EnvironmentRoleResponse as ql, AuthenticationMagicAuthFailedEventResponse as qn, EmailVerificationEventResponse as qo, EventResponse as qr, SerializedAuthenticateWithCodeOptions as qs, CreateAuditLogEventRequestOptions as qt, UpdateObjectOptions as r, SessionCreatedEventResponse as ra, OauthTokens as rc, InvitationAcceptedEventResponse as ri, AuthorizationCheckResult as rl, PasswordlessSession as rn, RefreshSessionResponse as ro, AuthenticationPasskeyFailedEventResponse as rr, PKCEAuthorizationURLResult as rs, SerializedCheckBatchOptions as rt, DirectoryState as ru, ObjectDigest as s, UserCreatedEventResponse as sa, GetProfileAndTokenOptions as sc, InvitationResentEventResponse as si, UpdateAuthorizationResourceByExternalIdOptions as sl, AutoPaginatable as sn, PasswordResetResponse as so, AuthenticationPasswordFailedEventResponse as sr, AuthenticationEvent as ss, ListWarrantsRequestOptions as st, EventDirectoryResponse as su, WorkOS as t, RoleUpdatedEventResponse as ta, Profile as tc, FlagUpdatedEventResponse as ti, AuthorizationCheckOptionsWithResourceExternalId as tl, CreatePasswordlessSessionOptions as tn, SerializedResendInvitationOptions as to, AuthenticationOAuthSucceededEventResponse as tr, CreateMagicAuthOptions as ts, DecisionTreeNode as tt, Directory as tu, ObjectVersion as u, UserUpdatedEvent as ua, ConnectionDomain as uc, MagicAuthCreatedEvent as ui, SerializedListAuthorizationResourcesOptions as ul, Webhooks as un, MagicAuthEventResponse as uo, AuthenticationRadarRiskDetectedEvent as ur, AuthenticationEventSsoResponse as us, SerializedSubject as ut, HttpClientResponseInterface as uu, CreateDataKeyResponse as v, ValidateApiKeyOptions as va, DirectoryUserWithGroups as vc, OrganizationDomainDeletedEvent as vi, SerializedCreateAuthorizationResourceOptions as vl, UserDataPayload as vn, SerializedListSessionsOptions as vo, ConnectionDeactivatedEvent as vr, AuthenticateWithSessionCookieSuccessResponse as vs, BatchWriteResourcesResponse as vt, PublicClientOptions as w, CreateOrganizationApiKeyRequestOptions as wa, Role as wc, OrganizationDomainVerifiedEvent as wi, CreatePermissionOptions as wl, ListOrganizationsOptions as wn, AuthorizationOrganizationMembershipResponse as wo, DsyncDeletedEvent as wr, Impersonator as ws, ResourceInterface as wt, KeyContext as x, CreatedApiKey as xa, OrganizationRoleEvent as xc, OrganizationDomainUpdatedEventResponse as xi, ListPermissionsOptions as xl, UpdateOrganizationOptions as xn, AuthorizationOrganizationMembership as xo, ConnectionDeletedEventResponse as xr, AuthenticationResponseResponse as xs, GetResourceOptions as xt, DataKey as y, ValidateApiKeyResponse as ya, DirectoryUserWithGroupsResponse as yc, OrganizationDomainDeletedEventResponse as yi, SerializedUpdateAuthorizationResourceOptions as yl, UserRegistrationActionPayload as yn, ListOrganizationMembershipsOptions as yo, ConnectionDeactivatedEventResponse as yr, SessionCookieData as ys, CreateResourceOptions as yt, WarrantToken as z, UpdateUserOptions as za, SerializedAssignRoleOptions as zc, OrganizationUpdatedResponse as zi, SetEnvironmentRolePermissionsOptions as zl, GetOptions as zn, Factor$1 as zo, DsyncUserDeletedEventResponse as zr, SerializedAuthenticateWithMagicAuthOptions as zs, AuditLogTargetSchema as zt };
|
|
4973
|
-
//# sourceMappingURL=workos-
|
|
5200
|
+
export { DecisionTreeNode as $, RuntimeClientLogger as $a, SerializedListConnectionsOptions as $c, RoleUpdatedEventResponse as $i, DeleteAuthorizationResourceByExternalIdOptions as $l, AuthenticationOAuthSucceededEventResponse as $n, PasswordResetEventResponse as $o, FlagUpdatedEventResponse as $r, AuthenticationRadarRiskDetectedEventResponseData as $s, CreatePasswordlessSessionOptions as $t, EventDirectory as $u, OauthException as A, VaultActorSource as Aa, AuthenticateUserWithMagicAuthCredentials as Ac, OrganizationRoleCreatedEvent as Ai, AssignRoleOptionsWithResourceId as Al, WorkOSOptions as An, UpdateUserPasswordOptions as Ao, DsyncGroupUserAddedEvent as Ar, Identity as As, UpdateResourceOptions as At, OrganizationRole as Au, QueryRequestOptions as B, VaultDekDecryptedEventResponseData as Ba, SerializedAuthenticateWithCodeOptions as Bc, PasswordResetSucceededEvent as Bi, RoleAssignmentRole as Bl, ApiKeyRevokedEvent as Bn, SendInvitationOptions as Bo, EmailVerificationCreatedEvent as Br, EmailVerificationEventResponse as Bs, CreateAuditLogSchemaResponse as Bt, EnvironmentRoleResponse as Bu, PublicUserManagement as C, VaultKekCreatedEventResponse as Ca, SerializedAuthenticateWithRefreshTokenOptions as Cc, OrganizationDomainVerifiedEventResponse as Ci, BaseRemoveRoleOptions as Cl, ListOrganizationFeatureFlagsOptions as Cn, OrganizationDomainState as Co, DsyncDeletedEventResponse as Cr, ListInvitationsOptions as Cs, ResourceOptions as Ct, RemoveOrganizationRolePermissionOptions as Cu, UnauthorizedException as D, VaultNamesListedEventResponse as Da, AuthenticateUserWithOrganizationSelectionCredentials as Dc, OrganizationMembershipDeletedResponse as Di, SerializedRemoveRoleOptions as Dl, DomainData as Dn, SerializedVerifyEmailOptions as Do, DsyncGroupDeletedEventResponse as Dr, InvitationEvent as Ds, SerializedDeleteResourceOptions as Dt, UpdateOrganizationRoleOptions as Du, UnprocessableEntityException as E, VaultNamesListedEvent as Ea, SerializedAuthenticateWithPasswordOptions as Ec, OrganizationMembershipDeleted as Ei, RemoveRoleOptionsWithResourceId as El, SerializedCreateOrganizationOptions as En, SerializedCreateOrganizationDomainOptions as Eo, DsyncGroupDeletedEvent as Er, Invitation as Es, SerializedCreateResourceOptions as Et, SerializedUpdateOrganizationRoleOptions as Eu, ApiKeyRequiredException as F, VaultDataReadEventData as Fa, SerializedAuthenticateWithEmailVerificationOptions as Fc, OrganizationRoleUpdatedEventResponse as Fi, RoleAssignmentList as Fl, List as Fn, AuthMethod as Fo, DsyncUserCreatedEventResponse as Fr, FactorWithSecretsResponse as Fs, AuditLogSchema as Ft, CreateEnvironmentRoleOptions as Fu, CheckOptions as G, VaultMetadataReadEventData as Ga, WithResolvedClientId as Gc, PermissionDeletedEventResponse as Gi, ListResourcesForMembershipOptionsWithParentId as Gl, AuthenticationMagicAuthFailedEventResponse as Gn, ResetPasswordOptions as Go, EventResponse as Gr, SerializedCreatePasswordResetOptions as Gs, CreateAuditLogEventRequestOptions as Gt, PaginationOptions as Gu, QueryResultResponse as H, VaultDekReadEventResponseData as Ha, AuthenticateWithSessionOptions as Hc, PermissionCreatedEvent as Hi, ListMembershipsForResourceOptions as Hl, AuthenticationEmailVerificationSucceededEvent as Hn, RevokeSessionOptions as Ho, Event as Hr, CreateUserOptions as Hs, AuditLogActor as Ht, ListDirectoryGroupsOptions as Hu, FeatureFlagsRuntimeClient as I, VaultDataReadEventResponseData as Ia, AuthenticateWithCodeAndVerifierOptions as Ic, OrganizationUpdatedEvent as Ii, RoleAssignmentListResponse as Il, ListResponse as In, Session as Io, DsyncUserDeletedEvent as Ir, EnrollAuthFactorOptions as Is, AuditLogSchemaMetadata as It, SerializedCreateEnvironmentRoleOptions as Iu, CheckResultInterface as J, VaultNamesListedEventResponseData as Ja, Profile as Jc, RoleCreatedEvent as Ji, AuthorizationCheckOptionsWithResourceExternalId as Jl, AuthenticationMfaSucceededEvent as Jn, SerializedResendInvitationOptions as Jo, FlagDeletedEvent as Jr, CreateMagicAuthOptions as Js, AuditLogExportResponse as Jt, Directory as Ju, CheckRequestOptions as K, VaultMetadataReadEventResponseData as Ka, ProfileAndToken as Kc, PermissionUpdatedEvent as Ki, SerializedListResourcesForMembershipOptions as Kl, AuthenticationMagicAuthSucceededEvent as Kn, SerializedResetPasswordOptions as Ko, FlagCreatedEvent as Kr, CreateOrganizationMembershipOptions as Ks, SerializedCreateAuditLogEventOptions as Kt, DirectoryGroup as Ku, WarrantToken as L, VaultDataUpdatedEventData as La, SerializedAuthenticateWithCodeAndVerifierOptions as Lc, OrganizationUpdatedResponse as Li, RoleAssignmentResource as Ll, GetOptions as Ln, SessionResponse as Lo, DsyncUserDeletedEventResponse as Lr, SerializedEnrollUserInMfaFactorOptions as Ls, AuditLogTargetSchema as Lt, EnvironmentRole as Lu, NoApiKeyProvidedException as M, VaultDataCreatedEventResponseData as Ma, SerializedAuthenticateWithMagicAuthOptions as Mc, OrganizationRoleDeletedEvent as Mi, SerializedAssignRoleOptions as Ml, PutOptions as Mn, UpdateUserOptions as Mo, DsyncGroupUserRemovedEvent as Mr, Factor$1 as Ms, CheckOp as Mt, SetEnvironmentRolePermissionsOptions as Mu, BadRequestException as N, VaultDataDeletedEventData as Na, AuthenticateUserWithEmailVerificationCredentials as Nc, OrganizationRoleDeletedEventResponse as Ni, ListRoleAssignmentsOptions as Nl, PostOptions as Nn, SerializedUpdateOrganizationMembershipOptions as No, DsyncGroupUserRemovedEventResponse as Nr, FactorResponse as Ns, CookieSession as Nt, SerializedUpdateEnvironmentRoleOptions as Nu, SignatureVerificationException as O, VaultActor as Oa, AuthenticateWithOrganizationSelectionOptions as Oc, OrganizationMembershipUpdated as Oi, AssignRoleOptions as Ol, DomainDataState as On, VerifyEmailOptions as Oo, DsyncGroupUpdatedEvent as Or, InvitationEventResponse as Os, SerializedListResourcesOptions as Ot, CreateOrganizationRoleOptions as Ou, GenericServerException as P, VaultDataDeletedEventResponseData as Pa, AuthenticateWithEmailVerificationOptions as Pc, OrganizationRoleUpdatedEvent as Pi, RoleAssignment as Pl, PatchOptions as Pn, UpdateOrganizationMembershipOptions as Po, DsyncUserCreatedEvent as Pr, FactorWithSecrets$1 as Ps, AuditLogActorSchema as Pt, UpdateEnvironmentRoleOptions as Pu, DebugInfoResponse as Q, RuntimeClientStats as Qa, ListConnectionsOptions as Qc, RoleUpdatedEvent as Qi, DeleteAuthorizationResourceOptions as Ql, AuthenticationOAuthSucceededEvent as Qn, PasswordResetEvent as Qo, FlagUpdatedEvent as Qr, AuthenticationRadarRiskDetectedEventData as Qs, SendSessionResponse as Qt, DirectoryType as Qu, WarrantTokenResponse as R, VaultDataUpdatedEventResponseData as Ra, AuthenticateUserWithCodeCredentials as Rc, PasswordResetCreatedEvent as Ri, RoleAssignmentResourceResponse as Rl, ApiKeyCreatedEvent as Rn, SessionStatus as Ro, DsyncUserUpdatedEvent as Rr, EmailVerification as Rs, CreateAuditLogSchemaOptions as Rt, EnvironmentRoleList as Ru, PublicSSO as S, VaultKekCreatedEvent as Sa, AuthenticateWithRefreshTokenOptions as Sc, OrganizationDomainVerifiedEvent as Si, RemoveRoleAssignmentOptions as Sl, ListOrganizationsOptions as Sn, OrganizationDomainResponse as So, DsyncDeletedEvent as Sr, OrganizationMembershipStatus as Ss, ResourceInterface as St, PermissionResponse as Su, createWorkOS as T, VaultMetadataReadEventResponse as Ta, AuthenticateWithPasswordOptions as Tc, OrganizationMembershipCreatedResponse as Ti, RemoveRoleOptionsWithResourceExternalId as Tl, CreateOrganizationRequestOptions as Tn, CreateOrganizationDomainOptions as To, DsyncGroupCreatedEventResponse as Tr, ListAuthFactorsOptions as Ts, SerializedBatchWriteResourcesOptions as Tt, SetOrganizationRolePermissionsOptions as Tu, SerializedQueryOptions as U, VaultKekCreatedEventData as Ua, SerializedAuthenticatePublicClientBase as Uc, PermissionCreatedEventResponse as Ui, ListResourcesForMembershipOptions as Ul, AuthenticationEmailVerificationSucceededEventResponse as Un, SerializedRevokeSessionOptions as Uo, EventBase as Ur, SerializedCreateUserOptions as Us, AuditLogTarget as Ut, ListDirectoriesOptions as Uu, QueryResult as V, VaultDekReadEventData as Va, AuthenticateWithOptionsBase as Vc, PasswordResetSucceededEventResponse as Vi, ListMembershipsForResourceByExternalIdOptions as Vl, ApiKeyRevokedEventResponse as Vn, SerializedSendInvitationOptions as Vo, EmailVerificationCreatedEventResponse as Vr, EmailVerificationResponse as Vs, SerializedCreateAuditLogSchemaOptions as Vt, ListDirectoryUsersOptions as Vu, CheckBatchOptions as W, VaultKekCreatedEventResponseData as Wa, SerializedAuthenticateWithOptionsBase as Wc, PermissionDeletedEvent as Wi, ListResourcesForMembershipOptionsWithParentExternalId as Wl, AuthenticationMagicAuthFailedEvent as Wn, serializeRevokeSessionOptions as Wo, EventName as Wr, CreatePasswordResetOptions as Ws, CreateAuditLogEventOptions as Wt, SerializedListDirectoriesOptions as Wu, CheckWarrantOptions as X, DataKeyPair as Xa, OauthTokens as Xc, RoleDeletedEvent as Xi, AuthorizationCheckResult as Xl, AuthenticationOAuthFailedEvent as Xn, RefreshSessionResponse as Xo, FlagRuleUpdatedEvent as Xr, PKCEAuthorizationURLResult as Xs, SerializedAuditLogExportOptions as Xt, DirectoryState as Xu, CheckResultResponse as Y, DataKey as Ya, ProfileResponse as Yc, RoleCreatedEventResponse as Yi, AuthorizationCheckOptionsWithResourceId as Yl, AuthenticationMfaSucceededEventResponse as Yn, RefreshSessionFailureReason as Yo, FlagDeletedEventResponse as Yr, SerializedCreateMagicAuthOptions as Ys, AuditLogExportOptions as Yt, DirectoryResponse as Yu, DebugInfo as Z, KeyContext as Za, OauthTokensResponse as Zc, RoleDeletedEventResponse as Zi, SerializedAuthorizationCheckOptions as Zl, AuthenticationOAuthFailedEventResponse as Zn, PasswordReset as Zo, FlagRuleUpdatedEventResponse as Zr, UserManagementAuthorizationURLOptions as Zs, GeneratePortalLinkIntent as Zt, DirectoryStateResponse as Zu, CreateDataKeyOptions as _, VaultDataUpdatedEventResponse as _a, Impersonator as _c, OrganizationDomainDeletedEventResponse as _i, Role as _l, UserRegistrationActionPayload as _n, CreateOrganizationApiKeyRequestOptions as _o, ConnectionDeactivatedEventResponse as _r, AuthorizationOrganizationMembershipResponse as _s, CreateResourceOptions as _t, CreatePermissionOptions as _u, ReadObjectOptions as a, UserCreatedEventResponse as aa, AuthenticateWithTotpOptions as ac, RequestOptions as ad, InvitationResentEventResponse as ai, ConnectionType as al, AutoPaginatable as an, FlagTarget as ao, AuthenticationPasswordFailedEventResponse as ar, LogoutURLOptions as as, ListWarrantsRequestOptions as at, AuthorizationResourceList as au, ConfidentialClientOptions as b, VaultDekReadEvent as ba, SerializedAuthenticateWithRefreshTokenPublicClientOptions as bc, OrganizationDomainVerificationFailedEvent as bi, RoleList as bl, Organization as bn, SerializedApiKey as bo, DsyncActivatedEvent as br, OrganizationMembership as bs, ListResourcesOptions as bt, PermissionList as bu, ObjectMetadata as c, UserUpdatedEvent as ca, AuthenticateWithSessionCookieFailedResponse as cc, CryptoProvider as cd, MagicAuthCreatedEvent as ci, DefaultCustomAttributes as cl, Webhooks as cn, EvaluationContext as co, AuthenticationRadarRiskDetectedEvent as cr, SerializedListUsersOptions as cs, SerializedSubject as ct, CreateAuthorizationResourceOptions as cu, VaultObject as d, VaultDataCreatedEventResponse as da, AuthenticateWithSessionCookieSuccessResponse as dc, OrganizationCreatedResponse as di, DirectoryUserWithGroups as dl, ResponsePayload as dn, ValidateApiKeyOptions as do, AuthenticationSSOFailedEventResponse as dr, SerializedListSessionsOptions as ds, Warrant as dt, SerializedCreateAuthorizationResourceOptions as du, SessionCreatedEvent as ea, AuthenticationEvent as ec, EventDirectoryResponse as ed, InvitationAcceptedEvent as ei, GetProfileAndTokenOptions as el, SerializedCreatePasswordlessSessionOptions as en, RuntimeClientOptions as eo, AuthenticationPasskeyFailedEvent as er, PasswordResetResponse as es, DecisionTreeNodeResponse as et, UpdateAuthorizationResourceByExternalIdOptions as eu, DeleteObjectOptions as f, VaultDataDeletedEvent as fa, SessionCookieData as fc, OrganizationDeletedEvent as fi, DirectoryUserWithGroupsResponse as fl, UserRegistrationActionResponseData as fn, ValidateApiKeyResponse as fo, AuthenticationSSOSucceededEvent as fr, ListOrganizationMembershipsOptions as fs, WarrantResponse as ft, SerializedUpdateAuthorizationResourceOptions as fu, DecryptDataKeyResponse as g, VaultDataUpdatedEvent as ga, UserResponse as gc, OrganizationDomainDeletedEvent as gi, OrganizationRoleResponse as gl, UserDataPayload as gn, CreateOrganizationApiKeyOptions as go, ConnectionDeactivatedEvent as gr, AuthorizationOrganizationMembershipListResponse as gs, BatchWriteResourcesResponse as gt, UpdatePermissionOptions as gu, DecryptDataKeyOptions as h, VaultDataReadEventResponse as ha, User as hc, OrganizationDomainCreatedEventResponse as hi, OrganizationRoleEventResponse as hl, UserData as hn, SerializedCreatedApiKey as ho, ConnectionActivatedEventResponse as hr, AuthorizationOrganizationMembershipList as hs, BatchWriteResourcesOptions as ht, SerializedUpdatePermissionOptions as hu, ReadObjectMetadataResponse as i, UserCreatedEvent as ia, AuthenticateUserWithTotpCredentials as ic, RequestHeaders as id, InvitationResentEvent as ii, ConnectionResponse as il, SerializedListEventOptions as in, FlagPollResponse as io, AuthenticationPasswordFailedEvent as ir, MagicAuthResponse as is, ListWarrantsOptions as it, AuthorizationResource as iu, NotFoundException as j, VaultDataCreatedEventData as ja, AuthenticateWithMagicAuthOptions as jc, OrganizationRoleCreatedEventResponse as ji, BaseAssignRoleOptions as jl, UnprocessableEntityError as jn, SerializedUpdateUserOptions as jo, DsyncGroupUserAddedEventResponse as jr, IdentityResponse as js, ResourceOp as jt, AddEnvironmentRolePermissionOptions as ju, RateLimitExceededException as k, VaultActorResponse as ka, SerializedAuthenticateWithOrganizationSelectionOptions as kc, OrganizationMembershipUpdatedResponse as ki, AssignRoleOptionsWithResourceExternalId as kl, WorkOSResponseError as kn, SerializedUpdateUserPasswordOptions as ko, DsyncGroupUpdatedEventResponse as kr, InvitationResponse as ks, SerializedResourceOptions as kt, SerializedCreateOrganizationRoleOptions as ku, ObjectUpdateBy as l, UserUpdatedEventResponse as la, AuthenticateWithSessionCookieFailureReason as lc, MagicAuthCreatedEventResponse as li, DirectoryUser as ll, Actions as ln, AddFlagTargetOptions as lo, AuthenticationRadarRiskDetectedEventResponse as lr, ListUserFeatureFlagsOptions as ls, SerializedWriteWarrantOptions as lt, CreateOptionsWithParentExternalId as lu, CreateObjectOptions as m, VaultDataReadEvent as ma, AuthenticationResponseResponse as mc, OrganizationDomainCreatedEvent as mi, OrganizationRoleEvent as ml, ActionPayload as mn, CreatedApiKey as mo, ConnectionActivatedEvent as mr, AuthorizationOrganizationMembership as ms, WarrantOp as mt, ListPermissionsOptions as mu, UpdateObjectEntity as n, SessionRevokedEvent as na, AuthenticationEventSso as nc, HttpClientInterface as nd, InvitationCreatedEvent as ni, Connection as nl, PasswordlessSessionResponse as nn, ListFeatureFlagsOptions as no, AuthenticationPasskeySucceededEvent as nr, MagicAuthEvent as ns, SerializedCheckOptions as nt, ListAuthorizationResourcesOptions as nu, ReadObjectResponse as o, UserDeletedEvent as oa, SerializedAuthenticateWithTotpOptions as oc, ResponseHeaderValue as od, InvitationRevokedEvent as oi, SSOAuthorizationURLOptions as ol, PKCE as on, FeatureFlag as oo, AuthenticationPasswordSucceededEvent as or, Locale as os, PolicyContext as ot, AuthorizationResourceListResponse as ou, CreateObjectEntity as p, VaultDataDeletedEventResponse as pa, AuthenticationResponse as pc, OrganizationDeletedResponse as pi, ListOrganizationRolesResponse as pl, ActionContext as pn, ListOrganizationApiKeysOptions as po, AuthenticationSSOSucceededEventResponse as pr, SerializedListOrganizationMembershipsOptions as ps, WriteWarrantOptions as pt, UpdateAuthorizationResourceOptions as pu, CheckResult as q, VaultNamesListedEventData as qa, ProfileAndTokenResponse as qc, PermissionUpdatedEventResponse as qi, AuthorizationCheckOptions as ql, AuthenticationMagicAuthSucceededEventResponse as qn, ResendInvitationOptions as qo, FlagCreatedEventResponse as qr, SerializedCreateOrganizationMembershipOptions as qs, AuditLogExport as qt, DirectoryGroupResponse as qu, UpdateObjectOptions as r, SessionRevokedEventResponse as ra, AuthenticationEventSsoResponse as rc, HttpClientResponseInterface as rd, InvitationCreatedEventResponse as ri, ConnectionDomain as rl, ListEventOptions as rn, FlagPollEntry as ro, AuthenticationPasskeySucceededEventResponse as rr, MagicAuthEventResponse as rs, SerializedCheckWarrantOptions as rt, SerializedListAuthorizationResourcesOptions as ru, ObjectDigest as s, UserDeletedEventResponse as sa, AccessToken$1 as sc, ResponseHeaders as sd, InvitationRevokedEventResponse as si, SSOPKCEAuthorizationURLResult as sl, PKCEPair as sn, FeatureFlagResponse as so, AuthenticationPasswordSucceededEventResponse as sr, ListUsersOptions as ss, SerializedListWarrantsOptions as st, AuthorizationResourceResponse as su, WorkOS as t, SessionCreatedEventResponse as ta, AuthenticationEventResponse as tc, HttpClient as td, InvitationAcceptedEventResponse as ti, GetProfileOptions as tl, PasswordlessSession as tn, RemoveFlagTargetOptions as to, AuthenticationPasskeyFailedEventResponse as tr, MagicAuth as ts, SerializedCheckBatchOptions as tt, GetAuthorizationResourceByExternalIdOptions as tu, ObjectVersion as u, VaultDataCreatedEvent as ua, AuthenticateWithSessionCookieOptions as uc, OrganizationCreatedEvent as ui, DirectoryUserResponse as ul, AuthenticationActionResponseData as un, SerializedValidateApiKeyResponse as uo, AuthenticationSSOFailedEvent as ur, ListSessionsOptions as us, Subject as ut, CreateOptionsWithParentResourceId as uu, CreateDataKeyResponse as v, VaultDekDecryptedEvent as va, ImpersonatorResponse as vc, OrganizationDomainUpdatedEvent as vi, RoleEvent as vl, SerializedUpdateOrganizationOptions as vn, SerializedCreateOrganizationApiKeyOptions as vo, ConnectionDeletedEvent as vr, BaseOrganizationMembership as vs, DeleteResourceOptions as vt, SerializedCreatePermissionOptions as vu, PublicWorkOS as w, VaultMetadataReadEvent as wa, AuthenticateUserWithPasswordCredentials as wc, OrganizationMembershipCreated as wi, RemoveRoleOptions as wl, CreateOrganizationOptions as wn, OrganizationDomainVerificationStrategy as wo, DsyncGroupCreatedEvent as wr, SerializedListInvitationsOptions as ws, ResourceResponse as wt, AddOrganizationRolePermissionOptions as wu, PublicClientOptions as x, VaultDekReadEventResponse as xa, AuthenticateUserWithRefreshTokenCredentials as xc, OrganizationDomainVerificationFailedEventResponse as xi, RoleResponse as xl, OrganizationResponse as xn, OrganizationDomain as xo, DsyncActivatedEventResponse as xr, OrganizationMembershipResponse as xs, Resource as xt, PermissionListResponse as xu, WorkOSWorker as y, VaultDekDecryptedEventResponse as ya, AuthenticateWithRefreshTokenPublicClientOptions as yc, OrganizationDomainUpdatedEventResponse as yi, RoleEventResponse as yl, UpdateOrganizationOptions as yn, ApiKey as yo, ConnectionDeletedEventResponse as yr, BaseOrganizationMembershipResponse as ys, GetResourceOptions as yt, Permission as yu, QueryOptions as z, VaultDekDecryptedEventData as za, AuthenticateWithCodeOptions as zc, PasswordResetCreatedEventResponse as zi, RoleAssignmentResponse as zl, ApiKeyCreatedEventResponse as zn, SendVerificationEmailOptions as zo, DsyncUserUpdatedEventResponse as zr, EmailVerificationEvent as zs, CreateAuditLogSchemaRequestOptions as zt, EnvironmentRoleListResponse as zu };
|
|
5201
|
+
//# sourceMappingURL=workos-E9suUIQ6.d.cts.map
|