@workos-inc/node 10.10.0 → 10.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-CrK6SPfn.cjs → factory-JdOhqH28.cjs} +90 -23
- package/lib/{factory-CrK6SPfn.cjs.map → factory-JdOhqH28.cjs.map} +1 -1
- package/lib/{factory-vzr4nni7.d.cts → factory-VM3aexOH.d.cts} +148 -202
- package/lib/{factory-vzr4nni7.d.mts → factory-VM3aexOH.d.mts} +148 -202
- package/lib/{factory-2nVUxmEk.mjs → factory-iK-8FO4O.mjs} +90 -23
- package/lib/{factory-2nVUxmEk.mjs.map → factory-iK-8FO4O.mjs.map} +1 -1
- package/lib/index.cjs +6 -4
- 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 +6 -4
- package/lib/index.mjs.map +1 -1
- package/lib/index.worker.cjs +3 -2
- package/lib/index.worker.cjs.map +1 -1
- package/lib/index.worker.d.cts +1 -1
- package/lib/index.worker.d.mts +1 -1
- package/lib/index.worker.mjs +3 -2
- package/lib/index.worker.mjs.map +1 -1
- package/lib/{webapi-BgpV54gi.mjs → webapi-BlhUk1KL.mjs} +1415 -1734
- package/lib/webapi-BlhUk1KL.mjs.map +1 -0
- package/lib/{webapi-BzGFatFp.cjs → webapi-D3QZrB15.cjs} +1415 -1734
- package/lib/webapi-D3QZrB15.cjs.map +1 -0
- package/package.json +2 -2
- package/lib/webapi-BgpV54gi.mjs.map +0 -1
- package/lib/webapi-BzGFatFp.cjs.map +0 -1
|
@@ -2695,10 +2695,38 @@ interface AddFlagTargetOptions {
|
|
|
2695
2695
|
}
|
|
2696
2696
|
//#endregion
|
|
2697
2697
|
//#region src/feature-flags/interfaces/evaluation-context.interface.d.ts
|
|
2698
|
-
|
|
2698
|
+
/**
|
|
2699
|
+
* A single resource in a typed evaluation context. V1 carries only the exact
|
|
2700
|
+
* resource ID; attribute matching is a future capability layered onto this
|
|
2701
|
+
* same shape.
|
|
2702
|
+
*/
|
|
2703
|
+
interface EvaluationResource {
|
|
2704
|
+
id: string;
|
|
2705
|
+
}
|
|
2706
|
+
/**
|
|
2707
|
+
* Legacy evaluation context, accepted for backward compatibility and
|
|
2708
|
+
* normalized internally to the typed form: `userId` matches `user` targets
|
|
2709
|
+
* and `organizationId` matches `organization` targets.
|
|
2710
|
+
*/
|
|
2711
|
+
type LegacyEvaluationContext = {
|
|
2699
2712
|
userId?: string;
|
|
2700
2713
|
organizationId?: string;
|
|
2701
|
-
}
|
|
2714
|
+
};
|
|
2715
|
+
/**
|
|
2716
|
+
* Typed evaluation context: a direct map of target type slug to the resource
|
|
2717
|
+
* being evaluated, e.g.
|
|
2718
|
+
* `{ user: { id: 'user_123' }, workspace: { id: 'ws_1' } }`.
|
|
2719
|
+
* A context contains at most one resource of each type; callers needing a
|
|
2720
|
+
* decision per resource should evaluate once per resource.
|
|
2721
|
+
*/
|
|
2722
|
+
type TypedEvaluationContext = Record<string, EvaluationResource>;
|
|
2723
|
+
/**
|
|
2724
|
+
* Either evaluation context form. The two shapes cannot be mixed in a single
|
|
2725
|
+
* call: a hybrid context (a legacy key alongside a typed resource entry) is
|
|
2726
|
+
* rejected at evaluation time with a logged warning and matches no targets,
|
|
2727
|
+
* so the flag falls back to its default value.
|
|
2728
|
+
*/
|
|
2729
|
+
type EvaluationContext = LegacyEvaluationContext | TypedEvaluationContext;
|
|
2702
2730
|
//#endregion
|
|
2703
2731
|
//#region src/feature-flags/interfaces/feature-flag.interface.d.ts
|
|
2704
2732
|
interface FeatureFlag {
|
|
@@ -2741,6 +2769,11 @@ interface FlagTarget {
|
|
|
2741
2769
|
id: string;
|
|
2742
2770
|
enabled: boolean;
|
|
2743
2771
|
}
|
|
2772
|
+
interface FlagCustomTarget {
|
|
2773
|
+
type: string;
|
|
2774
|
+
id: string;
|
|
2775
|
+
enabled: boolean;
|
|
2776
|
+
}
|
|
2744
2777
|
interface FlagPollEntry {
|
|
2745
2778
|
slug: string;
|
|
2746
2779
|
enabled: boolean;
|
|
@@ -2748,6 +2781,8 @@ interface FlagPollEntry {
|
|
|
2748
2781
|
targets: {
|
|
2749
2782
|
users: FlagTarget[];
|
|
2750
2783
|
organizations: FlagTarget[];
|
|
2784
|
+
/** Absent until the API's custom-targets rollout flag is enabled. */
|
|
2785
|
+
custom_targets?: FlagCustomTarget[];
|
|
2751
2786
|
};
|
|
2752
2787
|
}
|
|
2753
2788
|
type FlagPollResponse = Record<string, FlagPollEntry>;
|
|
@@ -6853,22 +6888,43 @@ declare class AuditLogs {
|
|
|
6853
6888
|
}
|
|
6854
6889
|
//#endregion
|
|
6855
6890
|
//#region node_modules/jose/dist/types/types.d.ts
|
|
6856
|
-
/**
|
|
6857
|
-
|
|
6891
|
+
/**
|
|
6892
|
+
* JWS "alg" (Algorithm) Header Parameter values supported by this module. Availability of a given
|
|
6893
|
+
* identifier additionally depends on the runtime.
|
|
6894
|
+
*/
|
|
6895
|
+
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 & {});
|
|
6896
|
+
/**
|
|
6897
|
+
* JWE "alg" (Algorithm) Header Parameter values supported by this module. Availability of a given
|
|
6898
|
+
* identifier additionally depends on the runtime.
|
|
6899
|
+
*/
|
|
6900
|
+
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 & {});
|
|
6901
|
+
/**
|
|
6902
|
+
* JWE "enc" (Encryption Algorithm) Header Parameter values supported by this module. Availability
|
|
6903
|
+
* of a given identifier additionally depends on the runtime.
|
|
6904
|
+
*/
|
|
6905
|
+
type JWEContentEncryptionAlgorithm = 'A128CBC-HS256' | 'A192CBC-HS384' | 'A256CBC-HS512' | 'A128GCM' | 'A192GCM' | 'A256GCM' | (string & {});
|
|
6906
|
+
/** JWK "kty" (Key Type) Parameter values supported by this module. */
|
|
6907
|
+
type JWKKeyType = 'EC' | 'RSA' | 'OKP' | 'AKP' | 'oct' | (string & {});
|
|
6908
|
+
/**
|
|
6909
|
+
* JSON Web Key ({@link https://www.rfc-editor.org/info/rfc7517/ JWK}). "RSA", "EC", "OKP", "AKP",
|
|
6910
|
+
* and "oct" key types are supported.
|
|
6911
|
+
*
|
|
6912
|
+
* > Note: This is declared as a type alias rather than an interface so that it satisfies the implicit index
|
|
6913
|
+
* > signature of the `JsonWebKey` types shipped by `@types/node` and `lib.dom`. It spells out the
|
|
6914
|
+
* > {@link JWKParameters} members rather than intersecting them so that every JWK member is documented
|
|
6915
|
+
* > in one place.
|
|
6916
|
+
*/
|
|
6917
|
+
type JWK = {
|
|
6858
6918
|
/** JWK "kty" (Key Type) Parameter */
|
|
6859
|
-
kty?:
|
|
6860
|
-
/**
|
|
6861
|
-
|
|
6862
|
-
*
|
|
6863
|
-
* @see {@link https://github.com/panva/jose/issues/210 Algorithm Key Requirements}
|
|
6864
|
-
*/
|
|
6865
|
-
alg?: string;
|
|
6919
|
+
kty?: JWKKeyType;
|
|
6920
|
+
/** JWK "alg" (Algorithm) Parameter */
|
|
6921
|
+
alg?: JWSAlgorithm | JWEKeyManagementAlgorithm | JWEContentEncryptionAlgorithm;
|
|
6866
6922
|
/** JWK "key_ops" (Key Operations) Parameter */
|
|
6867
6923
|
key_ops?: string[];
|
|
6868
6924
|
/** JWK "ext" (Extractable) Parameter */
|
|
6869
6925
|
ext?: boolean;
|
|
6870
6926
|
/** JWK "use" (Public Key Use) Parameter */
|
|
6871
|
-
use?: string;
|
|
6927
|
+
use?: 'sig' | 'enc' | (string & {});
|
|
6872
6928
|
/** JWK "x5c" (X.509 Certificate Chain) Parameter */
|
|
6873
6929
|
x5c?: string[];
|
|
6874
6930
|
/** JWK "x5t" (X.509 Certificate SHA-1 Thumbprint) Parameter */
|
|
@@ -6879,22 +6935,6 @@ interface JWKParameters {
|
|
|
6879
6935
|
x5u?: string;
|
|
6880
6936
|
/** JWK "kid" (Key ID) Parameter */
|
|
6881
6937
|
kid?: string;
|
|
6882
|
-
}
|
|
6883
|
-
/**
|
|
6884
|
-
* JSON Web Key ({@link https://www.rfc-editor.org/rfc/rfc7517 JWK}). "RSA", "EC", "OKP", "AKP", and
|
|
6885
|
-
* "oct" key types are supported.
|
|
6886
|
-
*
|
|
6887
|
-
* @see {@link JWK_AKP_Public}
|
|
6888
|
-
* @see {@link JWK_AKP_Private}
|
|
6889
|
-
* @see {@link JWK_OKP_Public}
|
|
6890
|
-
* @see {@link JWK_OKP_Private}
|
|
6891
|
-
* @see {@link JWK_EC_Public}
|
|
6892
|
-
* @see {@link JWK_EC_Private}
|
|
6893
|
-
* @see {@link JWK_RSA_Public}
|
|
6894
|
-
* @see {@link JWK_RSA_Private}
|
|
6895
|
-
* @see {@link JWK_oct}
|
|
6896
|
-
*/
|
|
6897
|
-
interface JWK extends JWKParameters {
|
|
6898
6938
|
/**
|
|
6899
6939
|
* - EC JWK "crv" (Curve) Parameter
|
|
6900
6940
|
* - OKP JWK "crv" (The Subtype of Key Pair) Parameter
|
|
@@ -6933,7 +6973,20 @@ interface JWK extends JWKParameters {
|
|
|
6933
6973
|
pub?: string;
|
|
6934
6974
|
/** AKP JWK "priv" (Private key) Parameter */
|
|
6935
6975
|
priv?: string;
|
|
6936
|
-
|
|
6976
|
+
/**
|
|
6977
|
+
* RSA JWK "oth" (Other Primes Info) Parameter
|
|
6978
|
+
*
|
|
6979
|
+
* > Note: Multi-prime RSA keys are not supported; importing a JWK with this parameter present throws.
|
|
6980
|
+
*/
|
|
6981
|
+
oth?: Array<{
|
|
6982
|
+
/** The Factor CRT Exponent */
|
|
6983
|
+
d?: string;
|
|
6984
|
+
/** The Prime Factor */
|
|
6985
|
+
r?: string;
|
|
6986
|
+
/** The Factor CRT Coefficient */
|
|
6987
|
+
t?: string;
|
|
6988
|
+
}>;
|
|
6989
|
+
};
|
|
6937
6990
|
/**
|
|
6938
6991
|
* Flattened JWS definition for verify function inputs, allows payload as {@link !Uint8Array} for
|
|
6939
6992
|
* detached signature validation.
|
|
@@ -6972,8 +7025,11 @@ interface JoseHeaderParameters {
|
|
|
6972
7025
|
x5u?: string;
|
|
6973
7026
|
/** "jku" (JWK Set URL) Header Parameter */
|
|
6974
7027
|
jku?: string;
|
|
6975
|
-
/**
|
|
6976
|
-
|
|
7028
|
+
/**
|
|
7029
|
+
* "jwk" (JSON Web Key) Header Parameter. This must be a public JSON Web Key; private and
|
|
7030
|
+
* symmetric key parameters are not permitted.
|
|
7031
|
+
*/
|
|
7032
|
+
jwk?: Omit<JWK, 'd' | 'dp' | 'dq' | 'k' | 'p' | 'q' | 'qi' | 'priv' | 'oth'>;
|
|
6977
7033
|
/** "typ" (Type) Header Parameter */
|
|
6978
7034
|
typ?: string;
|
|
6979
7035
|
/** "cty" (Content Type) Header Parameter */
|
|
@@ -6981,15 +7037,11 @@ interface JoseHeaderParameters {
|
|
|
6981
7037
|
}
|
|
6982
7038
|
/** Recognized JWS Header Parameters, any other Header Members may also be present. */
|
|
6983
7039
|
interface JWSHeaderParameters extends JoseHeaderParameters {
|
|
6984
|
-
/**
|
|
6985
|
-
|
|
6986
|
-
*
|
|
6987
|
-
* @see {@link https://github.com/panva/jose/issues/210#jws-alg Algorithm Key Requirements}
|
|
6988
|
-
*/
|
|
6989
|
-
alg?: string;
|
|
7040
|
+
/** JWS "alg" (Algorithm) Header Parameter */
|
|
7041
|
+
alg?: JWSAlgorithm;
|
|
6990
7042
|
/**
|
|
6991
7043
|
* This JWS Extension Header Parameter modifies the JWS Payload representation and the JWS Signing
|
|
6992
|
-
* Input computation as per {@link https://www.rfc-editor.org/
|
|
7044
|
+
* Input computation as per {@link https://www.rfc-editor.org/info/rfc7797/ RFC7797}.
|
|
6993
7045
|
*/
|
|
6994
7046
|
b64?: boolean;
|
|
6995
7047
|
/** JWS "crit" (Critical) Header Parameter */
|
|
@@ -7007,103 +7059,37 @@ interface JSONWebKeySet {
|
|
|
7007
7059
|
* {@link !SubtleCrypto.importKey} API to obtain a {@link !CryptoKey} from your existing key
|
|
7008
7060
|
* material.
|
|
7009
7061
|
*/
|
|
7010
|
-
type CryptoKey =
|
|
7062
|
+
type CryptoKey = typeof globalThis extends {
|
|
7063
|
+
crypto: {
|
|
7064
|
+
subtle: {
|
|
7065
|
+
generateKey(...args: any[]): Promise<infer R>;
|
|
7066
|
+
};
|
|
7067
|
+
};
|
|
7068
|
+
} ? Extract<R, {
|
|
7011
7069
|
type: string;
|
|
7012
|
-
}
|
|
7070
|
+
}> : CryptoKeyStructuralFallback;
|
|
7071
|
+
/**
|
|
7072
|
+
* Used as {@link CryptoKey} when the host runtime's `crypto` global is not exposed on `typeof
|
|
7073
|
+
* globalThis`, including when it is absent from ambient types or declared with `const` or `let`. It
|
|
7074
|
+
* remains structurally compatible with host {@link !CryptoKey} declarations so values flow freely to
|
|
7075
|
+
* and from {@link !SubtleCrypto} APIs.
|
|
7076
|
+
*/
|
|
7077
|
+
interface CryptoKeyStructuralFallback {
|
|
7078
|
+
readonly algorithm: {
|
|
7079
|
+
name: string;
|
|
7080
|
+
};
|
|
7081
|
+
readonly extractable: boolean;
|
|
7082
|
+
readonly type: string;
|
|
7083
|
+
readonly usages: string[];
|
|
7084
|
+
}
|
|
7013
7085
|
//#endregion
|
|
7014
7086
|
//#region node_modules/jose/dist/types/jwks/remote.d.ts
|
|
7015
7087
|
/**
|
|
7016
7088
|
* When passed to {@link jwks/remote.createRemoteJWKSet createRemoteJWKSet} this allows the resolver
|
|
7017
7089
|
* to make use of advanced fetch configurations, HTTP Proxies, retry on network errors, etc.
|
|
7018
7090
|
*
|
|
7019
|
-
* >
|
|
7020
|
-
* > Known caveat: Expect Type-related issues when passing the inputs through to fetch-like modules,
|
|
7091
|
+
* > Note: Known caveat: Expect Type-related issues when passing the inputs through to fetch-like modules,
|
|
7021
7092
|
* > they hardly ever get their typings inline with actual fetch, you should `@ts-expect-error` them.
|
|
7022
|
-
*
|
|
7023
|
-
* import ky from 'ky'
|
|
7024
|
-
*
|
|
7025
|
-
* let logRequest!: (request: Request) => void
|
|
7026
|
-
* let logResponse!: (request: Request, response: Response) => void
|
|
7027
|
-
* let logRetry!: (request: Request, error: Error, retryCount: number) => void
|
|
7028
|
-
*
|
|
7029
|
-
* const JWKS = jose.createRemoteJWKSet(url, {
|
|
7030
|
-
* [jose.customFetch]: (...args) =>
|
|
7031
|
-
* ky(args[0], {
|
|
7032
|
-
* ...args[1],
|
|
7033
|
-
* hooks: {
|
|
7034
|
-
* beforeRequest: [
|
|
7035
|
-
* (request) => {
|
|
7036
|
-
* logRequest(request)
|
|
7037
|
-
* },
|
|
7038
|
-
* ],
|
|
7039
|
-
* beforeRetry: [
|
|
7040
|
-
* ({ request, error, retryCount }) => {
|
|
7041
|
-
* logRetry(request, error, retryCount)
|
|
7042
|
-
* },
|
|
7043
|
-
* ],
|
|
7044
|
-
* afterResponse: [
|
|
7045
|
-
* (request, _, response) => {
|
|
7046
|
-
* logResponse(request, response)
|
|
7047
|
-
* },
|
|
7048
|
-
* ],
|
|
7049
|
-
* },
|
|
7050
|
-
* }),
|
|
7051
|
-
* })
|
|
7052
|
-
* ```
|
|
7053
|
-
*
|
|
7054
|
-
* import * as undici from 'undici'
|
|
7055
|
-
*
|
|
7056
|
-
* // see https://undici.nodejs.org/#/docs/api/EnvHttpProxyAgent
|
|
7057
|
-
* let envHttpProxyAgent = new undici.EnvHttpProxyAgent()
|
|
7058
|
-
*
|
|
7059
|
-
* // @ts-ignore
|
|
7060
|
-
* const JWKS = jose.createRemoteJWKSet(url, {
|
|
7061
|
-
* [jose.customFetch]: (...args) => {
|
|
7062
|
-
* // @ts-ignore
|
|
7063
|
-
* return undici.fetch(args[0], { ...args[1], dispatcher: envHttpProxyAgent }) // prettier-ignore
|
|
7064
|
-
* },
|
|
7065
|
-
* })
|
|
7066
|
-
* ```
|
|
7067
|
-
*
|
|
7068
|
-
* import * as undici from 'undici'
|
|
7069
|
-
*
|
|
7070
|
-
* // see https://undici.nodejs.org/#/docs/api/RetryAgent
|
|
7071
|
-
* let retryAgent = new undici.RetryAgent(new undici.Agent(), {
|
|
7072
|
-
* statusCodes: [],
|
|
7073
|
-
* errorCodes: [
|
|
7074
|
-
* 'ECONNRESET',
|
|
7075
|
-
* 'ECONNREFUSED',
|
|
7076
|
-
* 'ENOTFOUND',
|
|
7077
|
-
* 'ENETDOWN',
|
|
7078
|
-
* 'ENETUNREACH',
|
|
7079
|
-
* 'EHOSTDOWN',
|
|
7080
|
-
* 'UND_ERR_SOCKET',
|
|
7081
|
-
* ],
|
|
7082
|
-
* })
|
|
7083
|
-
*
|
|
7084
|
-
* // @ts-ignore
|
|
7085
|
-
* const JWKS = jose.createRemoteJWKSet(url, {
|
|
7086
|
-
* [jose.customFetch]: (...args) => {
|
|
7087
|
-
* // @ts-ignore
|
|
7088
|
-
* return undici.fetch(args[0], { ...args[1], dispatcher: retryAgent }) // prettier-ignore
|
|
7089
|
-
* },
|
|
7090
|
-
* })
|
|
7091
|
-
* ```
|
|
7092
|
-
*
|
|
7093
|
-
* import * as undici from 'undici'
|
|
7094
|
-
*
|
|
7095
|
-
* // see https://undici.nodejs.org/#/docs/api/MockAgent
|
|
7096
|
-
* let mockAgent = new undici.MockAgent()
|
|
7097
|
-
* mockAgent.disableNetConnect()
|
|
7098
|
-
*
|
|
7099
|
-
* // @ts-ignore
|
|
7100
|
-
* const JWKS = jose.createRemoteJWKSet(url, {
|
|
7101
|
-
* [jose.customFetch]: (...args) => {
|
|
7102
|
-
* // @ts-ignore
|
|
7103
|
-
* return undici.fetch(args[0], { ...args[1], dispatcher: mockAgent }) // prettier-ignore
|
|
7104
|
-
* },
|
|
7105
|
-
* })
|
|
7106
|
-
* ```
|
|
7107
7093
|
*/
|
|
7108
7094
|
declare const customFetch: unique symbol;
|
|
7109
7095
|
/** See {@link customFetch}. */
|
|
@@ -7121,55 +7107,14 @@ options: {
|
|
|
7121
7107
|
signal: AbortSignal;
|
|
7122
7108
|
}) => Promise<Response>;
|
|
7123
7109
|
/**
|
|
7124
|
-
* >
|
|
7125
|
-
* > This option has security implications that must be understood, assessed for applicability, and
|
|
7110
|
+
* > Warning: This option has security implications that must be understood, assessed for applicability, and
|
|
7126
7111
|
* > accepted before use. It is critical that the JSON Web Key Set cache only be writable by your own
|
|
7127
7112
|
* > code.
|
|
7128
7113
|
*
|
|
7129
7114
|
* This option is intended for cloud computing runtimes that cannot keep an in memory cache between
|
|
7130
|
-
* their code's invocations.
|
|
7131
|
-
*
|
|
7132
|
-
*
|
|
7133
|
-
* When passed to {@link jwks/remote.createRemoteJWKSet createRemoteJWKSet} this allows the passed in
|
|
7134
|
-
* object to:
|
|
7135
|
-
*
|
|
7136
|
-
* - Serve as an initial value for the JSON Web Key Set that the module would otherwise need to
|
|
7137
|
-
* trigger an HTTP request for
|
|
7138
|
-
* - Have the JSON Web Key Set the function optionally ended up triggering an HTTP request for
|
|
7139
|
-
* assigned to it as properties
|
|
7140
|
-
*
|
|
7141
|
-
* The intended use pattern is:
|
|
7142
|
-
*
|
|
7143
|
-
* - Before verifying with {@link jwks/remote.createRemoteJWKSet createRemoteJWKSet} you pull the
|
|
7144
|
-
* previously cached object from a low-latency key-value store offered by the cloud computing
|
|
7145
|
-
* runtime it is executed on;
|
|
7146
|
-
* - Default to an empty object `{}` instead when there's no previously cached value;
|
|
7147
|
-
* - Pass it in as {@link RemoteJWKSetOptions[jwksCache]};
|
|
7148
|
-
* - Afterwards, update the key-value storage if the {@link ExportedJWKSCache.uat `uat`} property of
|
|
7149
|
-
* the object has changed.
|
|
7150
|
-
*
|
|
7151
|
-
* // Prerequisites
|
|
7152
|
-
* let url!: URL
|
|
7153
|
-
* let jwt!: string
|
|
7154
|
-
* let getPreviouslyCachedJWKS!: () => Promise<jose.ExportedJWKSCache>
|
|
7155
|
-
* let storeNewJWKScache!: (cache: jose.ExportedJWKSCache) => Promise<void>
|
|
7156
|
-
*
|
|
7157
|
-
* // Load JSON Web Key Set cache
|
|
7158
|
-
* const jwksCache: jose.JWKSCacheInput = (await getPreviouslyCachedJWKS()) || {}
|
|
7159
|
-
* const { uat } = jwksCache
|
|
7160
|
-
*
|
|
7161
|
-
* const JWKS = jose.createRemoteJWKSet(url, {
|
|
7162
|
-
* [jose.jwksCache]: jwksCache,
|
|
7163
|
-
* })
|
|
7164
|
-
*
|
|
7165
|
-
* // Use JSON Web Key Set cache
|
|
7166
|
-
* await jose.jwtVerify(jwt, JWKS)
|
|
7167
|
-
*
|
|
7168
|
-
* if (uat !== jwksCache.uat) {
|
|
7169
|
-
* // Update JSON Web Key Set cache
|
|
7170
|
-
* await storeNewJWKScache(jwksCache)
|
|
7171
|
-
* }
|
|
7172
|
-
* ```
|
|
7115
|
+
* their code's invocations. The supplied writable object seeds the resolver's cache and is updated
|
|
7116
|
+
* with `jwks` and `uat` after a successful fetch; persist it whenever `uat` changes. Using this in
|
|
7117
|
+
* runtimes that can keep an in-memory cache between requests is not desirable.
|
|
7173
7118
|
*/
|
|
7174
7119
|
declare const jwksCache: unique symbol;
|
|
7175
7120
|
/** Options for the remote JSON Web Key Set. */
|
|
@@ -7205,44 +7150,45 @@ interface ExportedJWKSCache {
|
|
|
7205
7150
|
}
|
|
7206
7151
|
/** See {@link jwksCache}. */
|
|
7207
7152
|
type JWKSCacheInput = ExportedJWKSCache | Record<string, never>;
|
|
7153
|
+
/** The key resolution function returned by {@link createRemoteJWKSet}. */
|
|
7154
|
+
interface RemoteJWKSet {
|
|
7155
|
+
(protectedHeader?: JWSHeaderParameters, token?: FlattenedJWSInput): Promise<CryptoKey>;
|
|
7156
|
+
/** Whether the cooldown window following the last successful fetch is still in effect. */
|
|
7157
|
+
readonly coolingDown: boolean;
|
|
7158
|
+
/**
|
|
7159
|
+
* Whether the currently cached JSON Web Key Set is within its
|
|
7160
|
+
* {@link RemoteJWKSetOptions.cacheMaxAge}.
|
|
7161
|
+
*/
|
|
7162
|
+
readonly fresh: boolean;
|
|
7163
|
+
/** Whether a JSON Web Key Set fetch is currently in flight. */
|
|
7164
|
+
readonly reloading: boolean;
|
|
7165
|
+
/**
|
|
7166
|
+
* Triggers a JSON Web Key Set fetch, bypassing
|
|
7167
|
+
* {@link RemoteJWKSetOptions.cooldownDuration the cooldown}.
|
|
7168
|
+
*/
|
|
7169
|
+
reload: () => Promise<void>;
|
|
7170
|
+
/**
|
|
7171
|
+
* The currently cached JSON Web Key Set, or `undefined` when none has been fetched or seeded via
|
|
7172
|
+
* {@link jwksCache} yet.
|
|
7173
|
+
*/
|
|
7174
|
+
jwks: () => JSONWebKeySet | undefined;
|
|
7175
|
+
}
|
|
7208
7176
|
/**
|
|
7209
7177
|
* Returns a function that resolves a JWS JOSE Header to a public key object downloaded from a
|
|
7210
7178
|
* remote endpoint returning a JSON Web Key Set, that is, for example, an OAuth 2.0 or OIDC
|
|
7211
7179
|
* jwks_uri. The JSON Web Key Set is fetched when no key matches the selection process but only as
|
|
7212
|
-
* frequently as the `cooldownDuration` option allows to prevent abuse.
|
|
7213
|
-
*
|
|
7214
|
-
*
|
|
7215
|
-
*
|
|
7216
|
-
* there is one) while also respecting the JWK "use" (Public Key Use) and JWK "key_ops" (Key
|
|
7217
|
-
* Operations) Parameters (if they are present on the JWK).
|
|
7218
|
-
*
|
|
7219
|
-
* Only a single public key must match the selection process. As shown in the example below when
|
|
7220
|
-
* multiple keys get matched it is possible to opt-in to iterate over the matched keys and attempt
|
|
7221
|
-
* verification in an iterative manner.
|
|
7180
|
+
* frequently as the `cooldownDuration` option allows to prevent abuse. Selection respects the
|
|
7181
|
+
* header's "alg" (Algorithm) and "kid" (Key ID) as well as the JWK's "use" (Public Key Use) and
|
|
7182
|
+
* "key_ops" (Key Operations). Exactly one key must match; if multiple keys match, the thrown
|
|
7183
|
+
* `JWKSMultipleMatchingKeys` can be iterated.
|
|
7222
7184
|
*
|
|
7223
|
-
* >
|
|
7224
|
-
* > The function's purpose is to resolve public keys used for verifying signatures and will not work
|
|
7185
|
+
* > Note: The function's purpose is to resolve public keys used for verifying signatures and will not work
|
|
7225
7186
|
* > for public encryption keys.
|
|
7226
7187
|
*
|
|
7227
|
-
* This function is exported (as a named export) from the main `'jose'` module entry point as well
|
|
7228
|
-
* as from its subpath export `'jose/jwks/remote'`.
|
|
7229
|
-
*
|
|
7230
7188
|
* @param url URL to fetch the JSON Web Key Set from.
|
|
7231
7189
|
* @param options Options for the remote JSON Web Key Set.
|
|
7232
7190
|
*/
|
|
7233
|
-
declare function createRemoteJWKSet(url: URL, options?: RemoteJWKSetOptions):
|
|
7234
|
-
(protectedHeader?: JWSHeaderParameters, token?: FlattenedJWSInput): Promise<CryptoKey>;
|
|
7235
|
-
/** @ignore */
|
|
7236
|
-
coolingDown: boolean;
|
|
7237
|
-
/** @ignore */
|
|
7238
|
-
fresh: boolean;
|
|
7239
|
-
/** @ignore */
|
|
7240
|
-
reloading: boolean;
|
|
7241
|
-
/** @ignore */
|
|
7242
|
-
reload: () => Promise<void>;
|
|
7243
|
-
/** @ignore */
|
|
7244
|
-
jwks: () => JSONWebKeySet | undefined;
|
|
7245
|
-
};
|
|
7191
|
+
declare function createRemoteJWKSet(url: URL, options?: RemoteJWKSetOptions): RemoteJWKSet;
|
|
7246
7192
|
//#endregion
|
|
7247
7193
|
//#region src/user-management/interfaces/session-handler-options.interface.d.ts
|
|
7248
7194
|
interface SessionHandlerOptions {
|
|
@@ -9913,5 +9859,5 @@ interface ConfidentialClientOptions extends WorkOSOptions {
|
|
|
9913
9859
|
declare function createWorkOS(options: PublicClientOptions): PublicWorkOS;
|
|
9914
9860
|
declare function createWorkOS(options: ConfidentialClientOptions): WorkOS;
|
|
9915
9861
|
//#endregion
|
|
9916
|
-
export { ReadObjectMetadataResponse as $, FlagDeletedEventResponse as $a, AuthMethod as $c, ConnectionDomain as $d, AssignRoleOptionsWithResourceId as $f, AuthenticationMfaSucceededEventResponse as $i, Invitation as $l, PasswordlessSessionResponse as $n, OrganizationUpdatedResponse as $o, OrganizationRole as $p, SerializedLinkClaimAttemptToExternalUserOptions as $r, ListGroupsOptions as $s, DataIntegrationsListResponseDataOwnership as $t, UserManagementAccessToken as $u, ApiKeyRequiredException as A, DsyncGroupDeletedEvent as Aa, SerializedCreateOrganizationApiKeyOptions as Ac, AuthenticateWithEmailVerificationOptions as Ad, RemoveGroupRoleAssignmentsOptionsForOrganization as Af, DomainData as Ai, MagicAuthResponse as Al, ResponseHeaders as Am, ConnectedAccountState as An, OrganizationDomainCreatedEvent as Ao, SerializedListAuthorizationResourcesOptions as Ap, CompleteOAuth2Options as Ar, VaultDataCreatedEventResponse as As, SerializedAuditLogExportOptions as At, Factor as Au, ObjectSummaryResponse as B, DsyncUserDeletedEvent as Ba, SerializedCreateOrganizationDomainOptions as Bc, SerializedAuthenticateWithOptionsBase as Bd, SerializedCreateGroupRoleAssignmentOptions as Bf, GetOptions as Bi, ListOrganizationMembershipsOptions as Bl, UpdateCustomProviderDefinitionAuthenticateVia as Bn, OrganizationMembershipCreated as Bo, SerializedUpdatePermissionOptions as Bp, AgentCredentialValidation as Br, VaultDekReadEventResponse as Bs, RadarStandaloneResponse as Bt, SmsResponse as Bu, BadRequestException as C, ConnectionDeletedEventResponse as Ca, ValidateApiKeyOptions as Cc, AuthenticateUserWithRadarEmailChallengeCredentials as Cd, GroupRoleAssignmentEntryWithResourceExternalId as Cf, Organization as Ci, PasswordResetEventResponse as Cl, EventDirectoryResponse as Cm, DataIntegrationCredential as Cn, InvitationRevokedEventResponse as Co, AuthorizationCheckResult as Cp, CreateM2MApplication as Cr, UserDeletedEvent as Cs, AuditLogSchema as Ct, AuthenticationRadarRiskDetectedEventData as Cu, isAuthenticationErrorData as D, DsyncDeletedEventResponse as Da, SerializedCreatedApiKey as Dc, AuthenticateWithMagicAuthOptions as Dd, SerializedReplaceGroupRoleAssignmentsOptions as Df, CreateOrganizationOptions as Di, MagicAuth as Dl, RequestHeaders as Dm, DeleteUserConnectedAccountOptions as Dn, OrganizationCreatedResponse as Do, UpdateAuthorizationResourceByExternalIdOptions as Dp, RedirectUriInput as Dr, VaultByokKeyVerificationCompletedEvent as Ds, AuditLogExport as Dt, AuthenticationFactorType as Du, AuthenticationException as E, DsyncDeletedEvent as Ea, CreatedApiKey as Ec, AuthenticateUserWithMagicAuthCredentials as Ed, SerializedGroupRoleAssignmentEntry as Ef, ListOrganizationFeatureFlagsOptions as Ei, CreateMagicAuthResponseResponse as El, HttpClientResponseInterface as Em, ListUserDataProvidersOptions as En, OrganizationCreatedEvent as Eo, DeleteAuthorizationResourceByExternalIdOptions as Ep, CreateOAuthApplicationResponse as Er, UserUpdatedEventResponse as Es, AuditLogTargetSchema as Et, AuthenticationFactorResponse as Eu, UpdateWebhookEndpointEvents as F, DsyncGroupUserAddedEventResponse as Fa, OrganizationDomain as Fc, AuthenticateWithCodeOptions as Fd, BaseCreateGroupRoleAssignmentOptions as Ff, PutOptions as Fi, ListUserApiKeysOptions as Fl, UpdateDataIntegrationApiKeyOptions as Fn, OrganizationDomainUpdatedEventResponse as Fo, CreateOptionsWithParentResourceId as Fp, UserObject as Fr, VaultDataUpdatedEvent as Fs, Challenge as Ft, Totp as Fu, ObjectMetadata as G, EmailVerificationCreatedEventResponse as Ga, SerializedUserApiKey as Gc, ProfileResponse as Gd, RemoveRoleAssignmentOptions as Gf, ApiKeyRevokedEventResponse as Gi, BaseOrganizationMembershipResponse as Gl, CustomProviderDefinitionAuthenticateVia as Gn, OrganizationMembershipUpdatedResponse as Go, PermissionResponse as Gp, ValidAgentCredential as Gr, VaultNamesListedEvent as Gs, RadarListAction as Gt, AuthenticateUserWithTotpCredentials as Gu, ObjectVersionResponse as H, DsyncUserUpdatedEvent as Ha, VerifyEmailOptions as Hc, ProfileAndToken as Hd, ListGroupRoleAssignmentsOptions as Hf, ApiKeyCreatedEvent as Hi, AuthorizationOrganizationMembership as Hl, CreateDataIntegrationOptions as Hn, OrganizationMembershipDeleted as Ho, CreatePermissionOptions as Hp, SerializedAgentAccessTokenClaims as Hr, VaultKekCreatedEventResponse as Hs, RadarStandaloneResponseBlocklistType as Ht, AuthenticationEventResponse as Hu, UpdateWebhookEndpointStatus as I, DsyncGroupUserRemovedEvent as Ia, OrganizationDomainResponse as Ic, SerializedAuthenticateWithCodeOptions as Id, CreateGroupRoleAssignmentOptions as If, PostOptions as Ii, SerializedListUserApiKeysOptions as Il, DeleteDataIntegrationOptions as In, OrganizationDomainVerificationFailedEvent as Io, SerializedCreateAuthorizationResourceOptions as Ip, UserObjectResponse as Ir, VaultDataUpdatedEventResponse as Is, ChallengeResponse as It, TotpResponse as Iu, ActorResponse as J, EventName as Ja, UpdateUserPasswordOptions as Jc, ListConnectionsOptions as Jd, RemoveRoleOptionsWithResourceExternalId as Jf, AuthenticationMagicAuthFailedEvent as Ji, OrganizationMembershipStatus as Jl, DataIntegrationCredentialsType as Jn, OrganizationRoleDeletedEvent as Jo, SetOrganizationRolePermissionsOptions as Jp, ValidateAgentCredentialOptions as Jr, DataKeyPair as Js, RadarStandaloneAssessRequestAuthMethod as Jt, AuthenticateWithSessionCookieFailedResponse as Ju, ObjectMetadataResponse as K, Event as Ka, UserApiKey as Kc, OauthTokens as Kd, BaseRemoveRoleOptions as Kf, AuthenticationEmailVerificationSucceededEvent as Ki, OrganizationMembership as Kl, DataIntegrationCredentialsDto as Kn, OrganizationRoleCreatedEvent as Ko, RemoveOrganizationRolePermissionOptions as Kp, ValidateAgentAccessTokenOptions as Kr, VaultNamesListedEventResponse as Ks, RadarListType as Kt, AuthenticateWithTotpOptions as Ku, CreateWebhookEndpointEvents as L, DsyncGroupUserRemovedEventResponse as La, OrganizationDomainState as Lc, AuthenticateWithOptionsBase as Ld, CreateGroupRoleAssignmentOptionsForOrganization as Lf, PatchOptions as Li, ListUserFeatureFlagsOptions as Ll, UpdateDataIntegrationOptions as Ln, OrganizationDomainVerificationFailedEventResponse as Lo, SerializedUpdateAuthorizationResourceOptions as Lp, AutoPaginatable as Lr, VaultDekDecryptedEvent as Ls, ChallengeFactorOptions as Lt, TotpWithSecrets as Lu, WebhookEndpoint as M, DsyncGroupUpdatedEvent as Ma, SerializedApiKey as Mc, AuthenticateWithCodeAndVerifierOptions as Md, RemoveGroupRoleAssignmentsOptionsWithResourceId as Mf, WorkOSResponseError as Mi, Locale as Ml, GetAccessTokenOptions as Mn, OrganizationDomainDeletedEvent as Mo, AuthorizationResourceResponse as Mp, UserConsentOptionResponse as Mr, VaultDataDeletedEventResponse as Ms, VerifyResponseResponse as Mt, FactorType as Mu, WebhookEndpointResponse as N, DsyncGroupUpdatedEventResponse as Na, OrganizationDomainVerificationFailed as Nc, SerializedAuthenticateWithCodeAndVerifierOptions as Nd, SerializedRemoveGroupRoleAssignmentsOptions as Nf, WorkOSOptions as Ni, ListUsersOptions as Nl, CreateDataIntegrationCredentialOptions as Nn, OrganizationDomainDeletedEventResponse as No, CreateAuthorizationResourceOptions as Np, UserConsentOptionChoice as Nr, VaultDataReadEvent as Ns, VerifyChallengeOptions as Nt, FactorWithSecrets as Nu, GenericServerException as O, DsyncGroupCreatedEvent as Oa, CreateOrganizationApiKeyOptions as Oc, SerializedAuthenticateWithMagicAuthOptions as Od, BaseRemoveGroupRoleAssignmentsOptions as Of, CreateOrganizationRequestOptions as Oi, MagicAuthEvent as Ol, RequestOptions as Om, UpdateUserConnectedAccountOptions as On, OrganizationDeletedEvent as Oo, GetAuthorizationResourceByExternalIdOptions as Op, RedirectUriInputResponse as Or, VaultByokKeyVerificationCompletedEventResponse as Os, AuditLogExportResponse as Ot, AuthenticationFactorWithSecrets as Ou, WebhookEndpointStatus as P, DsyncGroupUserAddedEvent as Pa, OrganizationDomainVerificationFailedResponse as Pc, AuthenticateUserWithCodeCredentials as Pd, RemoveGroupRoleAssignmentOptions as Pf, UnprocessableEntityError as Pi, SerializedListUsersOptions as Pl, AuthorizeDataIntegrationOptions as Pn, OrganizationDomainUpdatedEvent as Po, CreateOptionsWithParentExternalId as Pp, UserConsentOptionChoiceResponse as Pr, VaultDataReadEventResponse as Ps, EnrollFactorOptions as Pt, FactorWithSecretsResponse as Pu, UpdateObjectOptions as Q, FlagDeletedEvent as Qa, UpdateOrganizationMembershipOptions as Qc, Connection as Qd, AssignRoleOptionsWithResourceExternalId as Qf, AuthenticationMfaSucceededEvent as Qi, ListAuthFactorsOptions as Ql, PasswordlessSession as Qn, OrganizationUpdatedEvent as Qo, SerializedCreateOrganizationRoleOptions as Qp, SerializedClaimAttemptResponse as Qr, RemoveGroupOrganizationMembershipOptions as Qs, DataIntegrationsListResponseDataResponse as Qt, SessionCookieData as Qu, WorkOS as R, DsyncUserCreatedEvent as Ra, OrganizationDomainVerificationStrategy as Rc, AuthenticateWithSessionOptions as Rd, CreateGroupRoleAssignmentOptionsWithResourceExternalId as Rf, List as Ri, ListSessionsOptions as Rl, UpdateCustomProviderDefinition as Rn, OrganizationDomainVerifiedEvent as Ro, UpdateAuthorizationResourceOptions as Rp, AgentAccessTokenClaims as Rr, VaultDekDecryptedEventResponse as Rs, RadarListEntryAlreadyPresentResponse as Rt, TotpWithSecretsResponse as Ru, ConflictException as S, ConnectionDeletedEvent as Sa, SerializedValidateApiKeyResponse as Sc, SerializedAuthenticateWithRadarSmsChallengeOptions as Sd, GroupRoleAssignmentEntryForOrganization as Sf, UpdateOrganizationOptions as Si, PasswordResetEvent as Sl, EventDirectory as Sm, DataIntegrationCustomProviderAuthenticateVia as Sn, InvitationRevokedEvent as So, AuthorizationCheckOptionsWithResourceId as Sp, CreateApplicationOptions as Sr, UserCreatedEventResponse as Ss, AuditLogActorSchema as St, UserManagementAuthorizationURLOptions as Su, AuthenticationErrorData as T, DsyncActivatedEventResponse as Ta, ListOrganizationApiKeysOptions as Tc, SerializedAuthenticateWithRadarEmailChallengeOptions as Td, ReplaceGroupRoleAssignmentsOptions as Tf, ListOrganizationsOptions as Ti, CreateMagicAuthResponse as Tl, HttpClientInterface as Tm, DataIntegrationCredentialType as Tn, MagicAuthCreatedEventResponse as To, DeleteAuthorizationResourceOptions as Tp, CreateOAuthApplication as Tr, UserUpdatedEvent as Ts, AuditLogSchemaResponse as Tt, AuthenticationFactor as Tu, VaultObject as U, DsyncUserUpdatedEventResponse as Ua, SerializedUserApiKeyWithValue as Uc, ProfileAndTokenResponse as Ud, GroupRoleAssignment as Uf, ApiKeyCreatedEventResponse as Ui, AuthorizationOrganizationMembershipResponse as Ul, CustomProviderDefinition as Un, OrganizationMembershipDeletedResponse as Uo, SerializedCreatePermissionOptions as Up, SerializedAgentCredentialValidation as Ur, VaultMetadataReadEvent as Us, RadarStandaloneResponseControl as Ut, AuthenticationEventSso as Uu, ObjectVersion as V, DsyncUserDeletedEventResponse as Va, SerializedVerifyEmailOptions as Vc, WithResolvedClientId as Vd, GetGroupRoleAssignmentOptions as Vf, GenerateLinkIntent as Vi, SerializedListOrganizationMembershipsOptions as Vl, GetDataIntegrationOptions as Vn, OrganizationMembershipCreatedResponse as Vo, UpdatePermissionOptions as Vp, InvalidAgentCredential as Vr, VaultKekCreatedEvent as Vs, RadarStandaloneResponseWire as Vt, AuthenticationEvent as Vu, VaultObjectResponse as W, EmailVerificationCreatedEvent as Wa, UserApiKeyWithValue as Wc, Profile as Wd, GroupRoleAssignmentResponse as Wf, ApiKeyRevokedEvent as Wi, BaseOrganizationMembership as Wl, CustomProviderDefinitionResponse as Wn, OrganizationMembershipUpdated as Wo, Permission as Wp, SerializedValidateAgentCredentialOptions as Wr, VaultMetadataReadEventResponse as Ws, RadarStandaloneResponseVerdict as Wt, AuthenticationEventSsoResponse as Wu, CreateDataKeyResponseWire as X, FlagCreatedEvent as Xa, UpdateUserOptions as Xc, GetProfileAndTokenOptions as Xd, SerializedRemoveRoleOptions as Xf, AuthenticationMagicAuthSucceededEvent as Xi, SerializedListInvitationsOptions as Xl, CreatePasswordlessSessionOptions as Xn, OrganizationRoleUpdatedEvent as Xo, UpdateOrganizationRoleOptions as Xp, ClaimAttemptResponse as Xr, SerializedUpdateGroupOptions as Xs, DataIntegrationsListResponseWire as Xt, AuthenticateWithSessionCookieOptions as Xu, CreateDataKeyResponse as Y, EventResponse as Ya, SerializedUpdateUserOptions as Yc, SerializedListConnectionsOptions as Yd, RemoveRoleOptionsWithResourceId as Yf, AuthenticationMagicAuthFailedEventResponse as Yi, ListInvitationsOptions as Yl, SendSessionResponse as Yn, OrganizationRoleDeletedEventResponse as Yo, SerializedUpdateOrganizationRoleOptions as Yp, ClaimAttemptOrganization as Yr, KeyContext as Ys, DataIntegrationsListResponse as Yt, AuthenticateWithSessionCookieFailureReason as Yu, UpdateObjectEntity as Z, FlagCreatedEventResponse as Za, SerializedUpdateOrganizationMembershipOptions as Zc, GetProfileOptions as Zd, AssignRoleOptions as Zf, AuthenticationMagicAuthSucceededEventResponse as Zi, ListGroupsForOrganizationMembershipOptions as Zl, SerializedCreatePasswordlessSessionOptions as Zn, OrganizationRoleUpdatedEventResponse as Zo, CreateOrganizationRoleOptions as Zp, LinkClaimAttemptToExternalUserOptions as Zr, UpdateGroupOptions as Zs, DataIntegrationsListResponseData as Zt, AuthenticateWithSessionCookieSuccessResponse as Zu, SignatureVerificationException as _, AuthenticationSSOSucceededEventResponse as _a, FlagTarget as _c, AuthenticateUserWithOrganizationSelectionCredentials as _d, RoleResponse as _f, ActionPayload as _i, RefreshSessionFailureReason as _l, Directory as _m, DataIntegration as _n, InvitationAcceptedEventResponse as _o, ListResourcesForMembershipOptionsWithParentExternalId as _p, CreateApplicationClientSecretOptions as _r, SessionCreatedEventResponse as _s, AuditLogActor as _t, CreateOrganizationMembershipOptions as _u, PublicWorkOS as a, AuthenticationPasskeyFailedEventResponse as aa, CreateGroupOptions as ac, User as ad, DirectoryUser as af, AgentRegistrationStatus as ai, SendRadarSmsChallengeResponse as al, SerializedCreateEnvironmentRoleOptions as am, DataIntegrationAccessTokenResponse as an, GroupCreatedEventResponse as ao, ListRoleAssignmentsOptions as ap, ApplicationCredentialsListItemResponse as ar, PermissionCreatedEventResponse as as, DecryptDataKeyResponse as at, SerializedEnrollUserInMfaFactorOptions as au, NotFoundException as b, ConnectionDeactivatedEvent as ba, EvaluationContext as bc, AuthenticateUserWithRadarSmsChallengeCredentials as bd, BaseGroupRoleAssignmentEntry as bf, UserRegistrationActionPayload as bi, TerminalRefreshSessionFailureReason as bl, DirectoryStateResponse as bm, DataIntegrationCustomProvider as bn, InvitationResentEvent as bo, AuthorizationCheckOptions as bp, UpdateApplicationOptions as br, UnknownEvent as bs, CreateAuditLogEventRequestOptions as bt, SerializedCreateMagicAuthOptions as bu, PortalLinkResponseWire as c, AuthenticationPasswordFailedEvent as ca, SerializedAddGroupOrganizationMembershipOptions as cc, ImpersonatorResponse as cd, DirectoryUserWithGroupsResponse as cf, SerializedAgentRegistrationClaim as ci, SendInvitationOptions as cl, EnvironmentRoleListResponse as cm, DataIntegrationAccessTokenResponseAccessTokenResponse as cn, GroupMemberAddedEvent as co, RoleAssignmentResource as cp, ConnectApplicationM2MResponse as cr, PermissionUpdatedEvent as cs, WidgetSessionTokenResponseWire as ct, EmailVerificationEventResponse as cu, IntentOptions as d, AuthenticationPasswordSucceededEventResponse as da, RuntimeClientOptions as dc, AuthenticateUserWithRefreshTokenCredentials as dd, OrganizationRoleEventResponse as df, PKCEPair as di, SerializedRevokeSessionOptions as dl, ListDirectoryGroupsOptions as dm, DataIntegrationCredentialsResponseCredentialResponse as dn, GroupMemberEventResponseData as do, RoleAssignmentRole as dp, ConnectApplicationResponse as dr, RoleCreatedEventResponse as ds, FeatureFlagsRuntimeClient as dt, SerializedCreateUserOptions as du, AuthenticationOAuthFailedEvent as ea, ListGroupOrganizationMembershipsOptions as ec, AuthenticationMethod as ed, ConnectionResponse as ef, AgentIdentity as ei, Session as el, AddEnvironmentRolePermissionOptions as em, DataIntegrationsListResponseDataAuthMethods as en, FlagRuleUpdatedEvent as eo, BaseAssignRoleOptions as ep, ListEventOptions as er, PasswordResetCreatedEvent as es, ReadObjectOptions as et, InvitationEvent as eu, IntentOptionsResponse as f, AuthenticationRadarRiskDetectedEvent as fa, RemoveFlagTargetOptions as fc, AuthenticateWithRefreshTokenOptions as fd, OrganizationRoleResponse as ff, Actions as fi, serializeRevokeSessionOptions as fl, ListDirectoriesOptions as fm, DataIntegrationAuthorizeUrlResponse as fn, GroupMemberRemovedEvent as fo, RoleAssignmentSource as fp, ConnectApplicationRedirectUri as fr, RoleDeletedEvent as fs, CookieSession as ft, CreateUserApiKeyOptions as fu, UnauthorizedException as g, AuthenticationSSOSucceededEvent as ga, FlagPollResponse as gc, SerializedAuthenticateWithPasswordOptions as gd, RoleList as gf, ActionContext as gi, SerializedResendInvitationOptions as gl, DirectoryGroupResponse as gm, ConnectedAccountAuthMethod as gn, InvitationAcceptedEvent as go, ListResourcesForMembershipOptions as gp, DeleteClientSecretOptions as gr, SessionCreatedEvent as gs, SerializedCreateAuditLogSchemaOptions as gt, SerializedCreatePasswordResetOptions as gu, UnprocessableEntityException as h, AuthenticationSSOFailedEventResponse as ha, FlagPollEntry as hc, AuthenticateWithPasswordOptions as hd, RoleEventResponse as hf, UserRegistrationActionResponseData as hi, ResendInvitationOptions as hl, DirectoryGroup as hm, ConnectedAccountResponse as hn, GroupUpdatedEventResponse as ho, ListMembershipsForResourceOptions as hp, ExternalAuthCompleteResponseWire as hr, RoleUpdatedEventResponse as hs, CreateAuditLogSchemaResponse as ht, CreatePasswordResetOptions as hu, PublicUserManagement as i, AuthenticationPasskeyFailedEvent as ia, DeleteGroupOptions as ic, CreateUserResponseResponse as id, DefaultCustomAttributes as if, AgentRegistrationKind as ii, SendRadarSmsChallengeOptions as il, CreateEnvironmentRoleOptions as im, DataIntegrationsListResponseDataConnectedAccountAuthMethod as in, GroupCreatedEvent as io, SerializedListRoleAssignmentsForResourceOptions as ip, ApplicationCredentialsListItem as ir, PermissionCreatedEvent as is, DecryptDataKeyOptions as it, EnrollAuthFactorOptions as iu, Webhooks as j, DsyncGroupDeletedEventResponse as ja, ApiKey as jc, SerializedAuthenticateWithEmailVerificationOptions as jd, RemoveGroupRoleAssignmentsOptionsWithResourceExternalId as jf, DomainDataState as ji, LogoutURLOptions as jl, CryptoProvider as jm, GetUserConnectedAccountOptions as jn, OrganizationDomainCreatedEventResponse as jo, AuthorizationResource as jp, UserConsentOption as jr, VaultDataDeletedEvent as js, VerifyResponse as jt, FactorResponse as ju, WorkOSErrorData as k, DsyncGroupCreatedEventResponse as ka, CreateOrganizationApiKeyRequestOptions as kc, AuthenticateUserWithEmailVerificationCredentials as kd, RemoveGroupRoleAssignmentsOptions as kf, SerializedCreateOrganizationOptions as ki, MagicAuthEventResponse as kl, ResponseHeaderValue as km, CreateUserConnectedAccountOptions as kn, OrganizationDeletedResponse as ko, ListAuthorizationResourcesOptions as kp, ListApplicationsOptions as kr, VaultDataCreatedEvent as ks, AuditLogExportOptions as kt, AuthenticationFactorWithSecretsResponse as ku, GenerateLink as l, AuthenticationPasswordFailedEventResponse as la, RuntimeClientStats as lc, AuthenticateWithRefreshTokenPublicClientOptions as ld, ListOrganizationRolesResponse as lf, SerializedAgentRegistrationClaimCompletion as li, SerializedSendInvitationOptions as ll, EnvironmentRoleResponse as lm, DataIntegrationCredentialsResponseError as ln, GroupMemberAddedEventResponse as lo, RoleAssignmentResourceResponse as lp, ConnectApplicationOAuth as lr, PermissionUpdatedEventResponse as ls, CreateTokenOptions as lt, EmailVerificationResponse as lu, SSOIntentOptionsResponse as m, AuthenticationSSOFailedEvent as ma, FlagChange as mc, AuthenticateUserWithPasswordCredentials as md, RoleEvent as mf, ResponsePayload as mi, SerializedResetPasswordOptions as ml, PaginationOptions as mm, ConnectedAccount as mn, GroupUpdatedEvent as mo, ListMembershipsForResourceByExternalIdOptions as mp, ExternalAuthCompleteResponse as mr, RoleUpdatedEvent as ms, CreateAuditLogSchemaRequestOptions as mt, SerializedCreateUserApiKeyOptions as mu, PublicClientOptions as n, AuthenticationOAuthSucceededEvent as na, GroupResponse as nc, AuthenticationResponseResponse as nd, SSOAuthorizationURLOptions as nf, AgentRegistrationClaim as ni, SessionStatus as nl, SerializedUpdateEnvironmentRoleOptions as nm, DataIntegrationsListResponseDataConnectedAccountResponse as nn, FlagUpdatedEvent as no, ListRoleAssignmentsForResourceByExternalIdOptions as np, NewConnectApplicationSecret as nr, PasswordResetSucceededEvent as ns, CreateObjectEntity as nt, InvitationResponse as nu, createWorkOS as o, AuthenticationPasskeySucceededEvent as oa, SerializedCreateGroupOptions as oc, UserResponse as od, DirectoryUserResponse as of, SerializedAgentIdentity as oi, SendRadarSmsChallengeResponseResponse as ol, EnvironmentRole as om, DataIntegrationAccessTokenResponseWire as on, GroupDeletedEvent as oo, SerializedListRoleAssignmentsOptions as op, ConnectApplication as or, PermissionDeletedEvent as os, CreateDataKeyOptions as ot, EmailVerification as ou, SSOIntentOptions as p, AuthenticationRadarRiskDetectedEventResponse as pa, ListFeatureFlagsOptions as pc, SerializedAuthenticateWithRefreshTokenOptions as pd, Role as pf, AuthenticationActionResponseData as pi, ResetPasswordOptions as pl, SerializedListDirectoriesOptions as pm, DataIntegrationAuthorizeUrlResponseWire as pn, GroupMemberRemovedEventResponse as po, RoleAssignmentSourceResponse as pp, ConnectApplicationRedirectUriResponse as pr, RoleDeletedEventResponse as ps, CreateAuditLogSchemaOptions as pt, CreateUserApiKeyRequestOptions as pu, Actor as q, EventBase as qa, SerializedUpdateUserPasswordOptions as qc, OauthTokensResponse as qd, RemoveRoleOptions as qf, AuthenticationEmailVerificationSucceededEventResponse as qi, OrganizationMembershipResponse as ql, DataIntegrationCredentialsDtoResponse as qn, OrganizationRoleCreatedEventResponse as qo, AddOrganizationRolePermissionOptions as qp, ValidateAgentApiKeyOptions as qr, DataKey as qs, RadarStandaloneAssessRequestAction as qt, SerializedAuthenticateWithTotpOptions as qu, PublicSSO as r, AuthenticationOAuthSucceededEventResponse as ra, GetGroupOptions as rc, CreateUserResponse as rd, SSOPKCEAuthorizationURLResult as rf, AgentRegistrationClaimCompletion as ri, SendVerificationEmailOptions as rl, UpdateEnvironmentRoleOptions as rm, DataIntegrationsListResponseDataConnectedAccountState as rn, FlagUpdatedEventResponse as ro, ListRoleAssignmentsForResourceOptions as rp, NewConnectApplicationSecretResponse as rr, PasswordResetSucceededEventResponse as rs, CreateObjectOptions as rt, Identity as ru, PortalLinkResponse as s, AuthenticationPasskeySucceededEventResponse as sa, AddGroupOrganizationMembershipOptions as sc, Impersonator as sd, DirectoryUserWithGroups as sf, SerializedAgentRegistration as si, SerializedSendRadarSmsChallengeOptions as sl, EnvironmentRoleList as sm, DataIntegrationAccessTokenResponseAccessToken as sn, GroupDeletedEventResponse as so, RoleAssignment as sp, ConnectApplicationM2M as sr, PermissionDeletedEventResponse as ss, WidgetSessionTokenResponse as st, EmailVerificationEvent as su, ConfidentialClientOptions as t, AuthenticationOAuthFailedEventResponse as ta, Group as tc, AuthenticationResponse as td, ConnectionType as tf, AgentRegistration as ti, SessionResponse as tl, SetEnvironmentRolePermissionsOptions as tm, DataIntegrationsListResponseDataConnectedAccount as tn, FlagRuleUpdatedEventResponse as to, SerializedAssignRoleOptions as tp, SerializedListEventOptions as tr, PasswordResetCreatedEventResponse as ts, ReadObjectResponse as tt, InvitationEventResponse as tu, GenerateLinkResponse as u, AuthenticationPasswordSucceededEvent as ua, RuntimeClientLogger as uc, SerializedAuthenticateWithRefreshTokenPublicClientOptions as ud, OrganizationRoleEvent as uf, PKCE as ui, RevokeSessionOptions as ul, ListDirectoryUsersOptions as um, DataIntegrationCredentialsResponseCredential as un, GroupMemberEventData as uo, RoleAssignmentResponse as up, ConnectApplicationOAuthResponse as ur, RoleCreatedEvent as us, WidgetSessionTokenScopes as ut, CreateUserOptions as uu, RateLimitExceededException as v, ConnectionActivatedEvent as va, FeatureFlag as vc, AuthenticateWithOrganizationSelectionOptions as vd, ListEffectivePermissionsByExternalIdOptions as vf, UserData as vi, RefreshSessionResponse as vl, DirectoryResponse as vm, DataIntegrationResponse as vn, InvitationCreatedEvent as vo, ListResourcesForMembershipOptionsWithParentId as vp, ListApplicationClientSecretsOptions as vr, SessionRevokedEvent as vs, AuditLogTarget as vt, SerializedCreateOrganizationMembershipOptions as vu, AuthenticationErrorCode as w, DsyncActivatedEvent as wa, ValidateApiKeyResponse as wc, AuthenticateWithRadarEmailChallengeOptions as wd, GroupRoleAssignmentEntryWithResourceId as wf, OrganizationResponse as wi, PasswordResetResponse as wl, HttpClient as wm, DataIntegrationCredentialResponse as wn, MagicAuthCreatedEvent as wo, SerializedAuthorizationCheckOptions as wp, CreateM2MApplicationResponse as wr, UserDeletedEventResponse as ws, AuditLogSchemaMetadata as wt, AuthenticationRadarRiskDetectedEventResponseData as wu, NoApiKeyProvidedException as x, ConnectionDeactivatedEventResponse as xa, AddFlagTargetOptions as xc, AuthenticateWithRadarSmsChallengeOptions as xd, GroupRoleAssignmentEntry as xf, SerializedUpdateOrganizationOptions as xi, PasswordReset as xl, DirectoryType as xm, DataIntegrationCustomProviderResponse as xn, InvitationResentEventResponse as xo, AuthorizationCheckOptionsWithResourceExternalId as xp, GetApplicationOptions as xr, UserCreatedEvent as xs, SerializedCreateAuditLogEventOptions as xt, PKCEAuthorizationURLResult as xu, OauthException as y, ConnectionActivatedEventResponse as ya, FeatureFlagResponse as yc, SerializedAuthenticateWithOrganizationSelectionOptions as yd, ListEffectivePermissionsOptions as yf, UserDataPayload as yi, RetryableRefreshSessionFailureReason as yl, DirectoryState as ym, DataIntegrationState as yn, InvitationCreatedEventResponse as yo, SerializedListResourcesForMembershipOptions as yp, DeleteApplicationOptions as yr, SessionRevokedEventResponse as ys, CreateAuditLogEventOptions as yt, CreateMagicAuthOptions as yu, ObjectSummary as z, DsyncUserCreatedEventResponse as za, CreateOrganizationDomainOptions as zc, SerializedAuthenticatePublicClientBase as zd, CreateGroupRoleAssignmentOptionsWithResourceId as zf, ListResponse as zi, SerializedListSessionsOptions as zl, UpdateCustomProviderDefinitionResponse as zn, OrganizationDomainVerifiedEventResponse as zo, ListPermissionsOptions as zp, AgentCredentialType as zr, VaultDekReadEvent as zs, RadarListEntryAlreadyPresentResponseWire as zt, Sms as zu };
|
|
9917
|
-
//# sourceMappingURL=factory-
|
|
9862
|
+
export { ReadObjectMetadataResponse as $, FlagDeletedEventResponse as $a, SerializedUpdateUserOptions as $c, SerializedListConnectionsOptions as $d, RemoveRoleOptionsWithResourceId as $f, AuthenticationMfaSucceededEventResponse as $i, ListInvitationsOptions as $l, PasswordlessSessionResponse as $n, OrganizationUpdatedResponse as $o, SerializedUpdateOrganizationRoleOptions as $p, SerializedLinkClaimAttemptToExternalUserOptions as $r, ListGroupsOptions as $s, DataIntegrationsListResponseDataOwnership as $t, AuthenticateWithSessionCookieFailureReason as $u, ApiKeyRequiredException as A, DsyncGroupDeletedEvent as Aa, CreatedApiKey as Ac, AuthenticateUserWithMagicAuthCredentials as Ad, SerializedGroupRoleAssignmentEntry as Af, DomainData as Ai, CreateMagicAuthResponseResponse as Al, HttpClientResponseInterface as Am, ConnectedAccountState as An, OrganizationDomainCreatedEvent as Ao, DeleteAuthorizationResourceByExternalIdOptions as Ap, CompleteOAuth2Options as Ar, VaultDataCreatedEventResponse as As, SerializedAuditLogExportOptions as At, AuthenticationFactorResponse as Au, ObjectSummaryResponse as B, DsyncUserDeletedEvent as Ba, OrganizationDomainResponse as Bc, SerializedAuthenticateWithCodeOptions as Bd, CreateGroupRoleAssignmentOptions as Bf, GetOptions as Bi, SerializedListUserApiKeysOptions as Bl, UpdateCustomProviderDefinitionAuthenticateVia as Bn, OrganizationMembershipCreated as Bo, SerializedCreateAuthorizationResourceOptions as Bp, AgentCredentialValidation as Br, VaultDekReadEventResponse as Bs, RadarStandaloneResponse as Bt, TotpResponse as Bu, BadRequestException as C, ConnectionDeletedEventResponse as Ca, LegacyEvaluationContext as Cc, SerializedAuthenticateWithOrganizationSelectionOptions as Cd, ListEffectivePermissionsOptions as Cf, Organization as Ci, RetryableRefreshSessionFailureReason as Cl, DirectoryState as Cm, DataIntegrationCredential as Cn, InvitationRevokedEventResponse as Co, SerializedListResourcesForMembershipOptions as Cp, CreateM2MApplication as Cr, UserDeletedEvent as Cs, AuditLogSchema as Ct, CreateMagicAuthOptions as Cu, isAuthenticationErrorData as D, DsyncDeletedEventResponse as Da, ValidateApiKeyOptions as Dc, AuthenticateUserWithRadarEmailChallengeCredentials as Dd, GroupRoleAssignmentEntryWithResourceExternalId as Df, CreateOrganizationOptions as Di, PasswordResetEventResponse as Dl, EventDirectoryResponse as Dm, DeleteUserConnectedAccountOptions as Dn, OrganizationCreatedResponse as Do, AuthorizationCheckResult as Dp, RedirectUriInput as Dr, VaultByokKeyVerificationCompletedEvent as Ds, AuditLogExport as Dt, AuthenticationRadarRiskDetectedEventData as Du, AuthenticationException as E, DsyncDeletedEvent as Ea, SerializedValidateApiKeyResponse as Ec, SerializedAuthenticateWithRadarSmsChallengeOptions as Ed, GroupRoleAssignmentEntryForOrganization as Ef, ListOrganizationFeatureFlagsOptions as Ei, PasswordResetEvent as El, EventDirectory as Em, ListUserDataProvidersOptions as En, OrganizationCreatedEvent as Eo, AuthorizationCheckOptionsWithResourceId as Ep, CreateOAuthApplicationResponse as Er, UserUpdatedEventResponse as Es, AuditLogTargetSchema as Et, UserManagementAuthorizationURLOptions as Eu, UpdateWebhookEndpointEvents as F, DsyncGroupUserAddedEventResponse as Fa, ApiKey as Fc, SerializedAuthenticateWithEmailVerificationOptions as Fd, RemoveGroupRoleAssignmentsOptionsWithResourceExternalId as Ff, PutOptions as Fi, LogoutURLOptions as Fl, CryptoProvider as Fm, UpdateDataIntegrationApiKeyOptions as Fn, OrganizationDomainUpdatedEventResponse as Fo, AuthorizationResource as Fp, UserObject as Fr, VaultDataUpdatedEvent as Fs, Challenge as Ft, FactorResponse as Fu, ObjectMetadata as G, EmailVerificationCreatedEventResponse as Ga, SerializedVerifyEmailOptions as Gc, WithResolvedClientId as Gd, GetGroupRoleAssignmentOptions as Gf, ApiKeyRevokedEventResponse as Gi, SerializedListOrganizationMembershipsOptions as Gl, CustomProviderDefinitionAuthenticateVia as Gn, OrganizationMembershipUpdatedResponse as Go, UpdatePermissionOptions as Gp, ValidAgentCredential as Gr, VaultNamesListedEvent as Gs, RadarListAction as Gt, AuthenticationEvent as Gu, ObjectVersionResponse as H, DsyncUserUpdatedEvent as Ha, OrganizationDomainVerificationStrategy as Hc, AuthenticateWithSessionOptions as Hd, CreateGroupRoleAssignmentOptionsWithResourceExternalId as Hf, ApiKeyCreatedEvent as Hi, ListSessionsOptions as Hl, CreateDataIntegrationOptions as Hn, OrganizationMembershipDeleted as Ho, UpdateAuthorizationResourceOptions as Hp, SerializedAgentAccessTokenClaims as Hr, VaultKekCreatedEventResponse as Hs, RadarStandaloneResponseBlocklistType as Ht, TotpWithSecretsResponse as Hu, UpdateWebhookEndpointStatus as I, DsyncGroupUserRemovedEvent as Ia, SerializedApiKey as Ic, AuthenticateWithCodeAndVerifierOptions as Id, RemoveGroupRoleAssignmentsOptionsWithResourceId as If, PostOptions as Ii, Locale as Il, DeleteDataIntegrationOptions as In, OrganizationDomainVerificationFailedEvent as Io, AuthorizationResourceResponse as Ip, UserObjectResponse as Ir, VaultDataUpdatedEventResponse as Is, ChallengeResponse as It, FactorType as Iu, ActorResponse as J, EventName as Ja, UserApiKeyWithValue as Jc, Profile as Jd, GroupRoleAssignmentResponse as Jf, AuthenticationMagicAuthFailedEvent as Ji, BaseOrganizationMembership as Jl, DataIntegrationCredentialsType as Jn, OrganizationRoleDeletedEvent as Jo, Permission as Jp, ValidateAgentCredentialOptions as Jr, DataKeyPair as Js, RadarStandaloneAssessRequestAuthMethod as Jt, AuthenticationEventSsoResponse as Ju, ObjectMetadataResponse as K, Event as Ka, VerifyEmailOptions as Kc, ProfileAndToken as Kd, ListGroupRoleAssignmentsOptions as Kf, AuthenticationEmailVerificationSucceededEvent as Ki, AuthorizationOrganizationMembership as Kl, DataIntegrationCredentialsDto as Kn, OrganizationRoleCreatedEvent as Ko, CreatePermissionOptions as Kp, ValidateAgentAccessTokenOptions as Kr, VaultNamesListedEventResponse as Ks, RadarListType as Kt, AuthenticationEventResponse as Ku, CreateWebhookEndpointEvents as L, DsyncGroupUserRemovedEventResponse as La, OrganizationDomainVerificationFailed as Lc, SerializedAuthenticateWithCodeAndVerifierOptions as Ld, SerializedRemoveGroupRoleAssignmentsOptions as Lf, PatchOptions as Li, ListUsersOptions as Ll, UpdateDataIntegrationOptions as Ln, OrganizationDomainVerificationFailedEventResponse as Lo, CreateAuthorizationResourceOptions as Lp, AutoPaginatable as Lr, VaultDekDecryptedEvent as Ls, ChallengeFactorOptions as Lt, FactorWithSecrets as Lu, WebhookEndpoint as M, DsyncGroupUpdatedEvent as Ma, CreateOrganizationApiKeyOptions as Mc, SerializedAuthenticateWithMagicAuthOptions as Md, BaseRemoveGroupRoleAssignmentsOptions as Mf, WorkOSResponseError as Mi, MagicAuthEvent as Ml, RequestOptions as Mm, GetAccessTokenOptions as Mn, OrganizationDomainDeletedEvent as Mo, GetAuthorizationResourceByExternalIdOptions as Mp, UserConsentOptionResponse as Mr, VaultDataDeletedEventResponse as Ms, VerifyResponseResponse as Mt, AuthenticationFactorWithSecrets as Mu, WebhookEndpointResponse as N, DsyncGroupUpdatedEventResponse as Na, CreateOrganizationApiKeyRequestOptions as Nc, AuthenticateUserWithEmailVerificationCredentials as Nd, RemoveGroupRoleAssignmentsOptions as Nf, WorkOSOptions as Ni, MagicAuthEventResponse as Nl, ResponseHeaderValue as Nm, CreateDataIntegrationCredentialOptions as Nn, OrganizationDomainDeletedEventResponse as No, ListAuthorizationResourcesOptions as Np, UserConsentOptionChoice as Nr, VaultDataReadEvent as Ns, VerifyChallengeOptions as Nt, AuthenticationFactorWithSecretsResponse as Nu, GenericServerException as O, DsyncGroupCreatedEvent as Oa, ValidateApiKeyResponse as Oc, AuthenticateWithRadarEmailChallengeOptions as Od, GroupRoleAssignmentEntryWithResourceId as Of, CreateOrganizationRequestOptions as Oi, PasswordResetResponse as Ol, HttpClient as Om, UpdateUserConnectedAccountOptions as On, OrganizationDeletedEvent as Oo, SerializedAuthorizationCheckOptions as Op, RedirectUriInputResponse as Or, VaultByokKeyVerificationCompletedEventResponse as Os, AuditLogExportResponse as Ot, AuthenticationRadarRiskDetectedEventResponseData as Ou, WebhookEndpointStatus as P, DsyncGroupUserAddedEvent as Pa, SerializedCreateOrganizationApiKeyOptions as Pc, AuthenticateWithEmailVerificationOptions as Pd, RemoveGroupRoleAssignmentsOptionsForOrganization as Pf, UnprocessableEntityError as Pi, MagicAuthResponse as Pl, ResponseHeaders as Pm, AuthorizeDataIntegrationOptions as Pn, OrganizationDomainUpdatedEvent as Po, SerializedListAuthorizationResourcesOptions as Pp, UserConsentOptionChoiceResponse as Pr, VaultDataReadEventResponse as Ps, EnrollFactorOptions as Pt, Factor as Pu, UpdateObjectOptions as Q, FlagDeletedEvent as Qa, UpdateUserPasswordOptions as Qc, ListConnectionsOptions as Qd, RemoveRoleOptionsWithResourceExternalId as Qf, AuthenticationMfaSucceededEvent as Qi, OrganizationMembershipStatus as Ql, PasswordlessSession as Qn, OrganizationUpdatedEvent as Qo, SetOrganizationRolePermissionsOptions as Qp, SerializedClaimAttemptResponse as Qr, RemoveGroupOrganizationMembershipOptions as Qs, DataIntegrationsListResponseDataResponse as Qt, AuthenticateWithSessionCookieFailedResponse as Qu, WorkOS as R, DsyncUserCreatedEvent as Ra, OrganizationDomainVerificationFailedResponse as Rc, AuthenticateUserWithCodeCredentials as Rd, RemoveGroupRoleAssignmentOptions as Rf, List as Ri, SerializedListUsersOptions as Rl, UpdateCustomProviderDefinition as Rn, OrganizationDomainVerifiedEvent as Ro, CreateOptionsWithParentExternalId as Rp, AgentAccessTokenClaims as Rr, VaultDekDecryptedEventResponse as Rs, RadarListEntryAlreadyPresentResponse as Rt, FactorWithSecretsResponse as Ru, ConflictException as S, ConnectionDeletedEvent as Sa, EvaluationResource as Sc, AuthenticateWithOrganizationSelectionOptions as Sd, ListEffectivePermissionsByExternalIdOptions as Sf, UpdateOrganizationOptions as Si, RefreshSessionResponse as Sl, DirectoryResponse as Sm, DataIntegrationCustomProviderAuthenticateVia as Sn, InvitationRevokedEvent as So, ListResourcesForMembershipOptionsWithParentId as Sp, CreateApplicationOptions as Sr, UserCreatedEventResponse as Ss, AuditLogActorSchema as St, SerializedCreateOrganizationMembershipOptions as Su, AuthenticationErrorData as T, DsyncActivatedEventResponse as Ta, AddFlagTargetOptions as Tc, AuthenticateWithRadarSmsChallengeOptions as Td, GroupRoleAssignmentEntry as Tf, ListOrganizationsOptions as Ti, PasswordReset as Tl, DirectoryType as Tm, DataIntegrationCredentialType as Tn, MagicAuthCreatedEventResponse as To, AuthorizationCheckOptionsWithResourceExternalId as Tp, CreateOAuthApplication as Tr, UserUpdatedEvent as Ts, AuditLogSchemaResponse as Tt, PKCEAuthorizationURLResult as Tu, VaultObject as U, DsyncUserUpdatedEventResponse as Ua, CreateOrganizationDomainOptions as Uc, SerializedAuthenticatePublicClientBase as Ud, CreateGroupRoleAssignmentOptionsWithResourceId as Uf, ApiKeyCreatedEventResponse as Ui, SerializedListSessionsOptions as Ul, CustomProviderDefinition as Un, OrganizationMembershipDeletedResponse as Uo, ListPermissionsOptions as Up, SerializedAgentCredentialValidation as Ur, VaultMetadataReadEvent as Us, RadarStandaloneResponseControl as Ut, Sms as Uu, ObjectVersion as V, DsyncUserDeletedEventResponse as Va, OrganizationDomainState as Vc, AuthenticateWithOptionsBase as Vd, CreateGroupRoleAssignmentOptionsForOrganization as Vf, GenerateLinkIntent as Vi, ListUserFeatureFlagsOptions as Vl, GetDataIntegrationOptions as Vn, OrganizationMembershipCreatedResponse as Vo, SerializedUpdateAuthorizationResourceOptions as Vp, InvalidAgentCredential as Vr, VaultKekCreatedEvent as Vs, RadarStandaloneResponseWire as Vt, TotpWithSecrets as Vu, VaultObjectResponse as W, EmailVerificationCreatedEvent as Wa, SerializedCreateOrganizationDomainOptions as Wc, SerializedAuthenticateWithOptionsBase as Wd, SerializedCreateGroupRoleAssignmentOptions as Wf, ApiKeyRevokedEvent as Wi, ListOrganizationMembershipsOptions as Wl, CustomProviderDefinitionResponse as Wn, OrganizationMembershipUpdated as Wo, SerializedUpdatePermissionOptions as Wp, SerializedValidateAgentCredentialOptions as Wr, VaultMetadataReadEventResponse as Ws, RadarStandaloneResponseVerdict as Wt, SmsResponse as Wu, CreateDataKeyResponseWire as X, FlagCreatedEvent as Xa, UserApiKey as Xc, OauthTokens as Xd, BaseRemoveRoleOptions as Xf, AuthenticationMagicAuthSucceededEvent as Xi, OrganizationMembership as Xl, CreatePasswordlessSessionOptions as Xn, OrganizationRoleUpdatedEvent as Xo, RemoveOrganizationRolePermissionOptions as Xp, ClaimAttemptResponse as Xr, SerializedUpdateGroupOptions as Xs, DataIntegrationsListResponseWire as Xt, AuthenticateWithTotpOptions as Xu, CreateDataKeyResponse as Y, EventResponse as Ya, SerializedUserApiKey as Yc, ProfileResponse as Yd, RemoveRoleAssignmentOptions as Yf, AuthenticationMagicAuthFailedEventResponse as Yi, BaseOrganizationMembershipResponse as Yl, SendSessionResponse as Yn, OrganizationRoleDeletedEventResponse as Yo, PermissionResponse as Yp, ClaimAttemptOrganization as Yr, KeyContext as Ys, DataIntegrationsListResponse as Yt, AuthenticateUserWithTotpCredentials as Yu, UpdateObjectEntity as Z, FlagCreatedEventResponse as Za, SerializedUpdateUserPasswordOptions as Zc, OauthTokensResponse as Zd, RemoveRoleOptions as Zf, AuthenticationMagicAuthSucceededEventResponse as Zi, OrganizationMembershipResponse as Zl, SerializedCreatePasswordlessSessionOptions as Zn, OrganizationRoleUpdatedEventResponse as Zo, AddOrganizationRolePermissionOptions as Zp, LinkClaimAttemptToExternalUserOptions as Zr, UpdateGroupOptions as Zs, DataIntegrationsListResponseData as Zt, SerializedAuthenticateWithTotpOptions as Zu, SignatureVerificationException as _, AuthenticationSSOSucceededEventResponse as _a, FlagPollResponse as _c, SerializedAuthenticateWithRefreshTokenOptions as _d, Role as _f, ActionPayload as _i, ResetPasswordOptions as _l, SerializedListDirectoriesOptions as _m, DataIntegration as _n, InvitationAcceptedEventResponse as _o, RoleAssignmentSourceResponse as _p, CreateApplicationClientSecretOptions as _r, SessionCreatedEventResponse as _s, AuditLogActor as _t, CreateUserApiKeyRequestOptions as _u, PublicWorkOS as a, AuthenticationPasskeyFailedEventResponse as aa, CreateGroupOptions as ac, AuthenticationResponse as ad, ConnectionType as af, AgentRegistrationStatus as ai, SessionResponse as al, SetEnvironmentRolePermissionsOptions as am, DataIntegrationAccessTokenResponse as an, GroupCreatedEventResponse as ao, SerializedAssignRoleOptions as ap, ApplicationCredentialsListItemResponse as ar, PermissionCreatedEventResponse as as, DecryptDataKeyResponse as at, InvitationEventResponse as au, NotFoundException as b, ConnectionDeactivatedEvent as ba, FeatureFlagResponse as bc, SerializedAuthenticateWithPasswordOptions as bd, RoleList as bf, UserRegistrationActionPayload as bi, SerializedResendInvitationOptions as bl, DirectoryGroupResponse as bm, DataIntegrationCustomProvider as bn, InvitationResentEvent as bo, ListResourcesForMembershipOptions as bp, UpdateApplicationOptions as br, UnknownEvent as bs, CreateAuditLogEventRequestOptions as bt, SerializedCreatePasswordResetOptions as bu, PortalLinkResponseWire as c, AuthenticationPasswordFailedEvent as ca, SerializedAddGroupOrganizationMembershipOptions as cc, CreateUserResponseResponse as cd, DefaultCustomAttributes as cf, SerializedAgentRegistrationClaim as ci, SendRadarSmsChallengeOptions as cl, CreateEnvironmentRoleOptions as cm, DataIntegrationAccessTokenResponseAccessTokenResponse as cn, GroupMemberAddedEvent as co, SerializedListRoleAssignmentsForResourceOptions as cp, ConnectApplicationM2MResponse as cr, PermissionUpdatedEvent as cs, WidgetSessionTokenResponseWire as ct, EnrollAuthFactorOptions as cu, IntentOptions as d, AuthenticationPasswordSucceededEventResponse as da, RuntimeClientOptions as dc, Impersonator as dd, DirectoryUserWithGroups as df, PKCEPair as di, SerializedSendRadarSmsChallengeOptions as dl, EnvironmentRoleList as dm, DataIntegrationCredentialsResponseCredentialResponse as dn, GroupMemberEventResponseData as do, RoleAssignment as dp, ConnectApplicationResponse as dr, RoleCreatedEventResponse as ds, FeatureFlagsRuntimeClient as dt, EmailVerificationEvent as du, AuthenticationOAuthFailedEvent as ea, ListGroupOrganizationMembershipsOptions as ec, AuthenticateWithSessionCookieOptions as ed, GetProfileAndTokenOptions as ef, AgentIdentity as ei, UpdateUserOptions as el, UpdateOrganizationRoleOptions as em, DataIntegrationsListResponseDataAuthMethods as en, FlagRuleUpdatedEvent as eo, SerializedRemoveRoleOptions as ep, ListEventOptions as er, PasswordResetCreatedEvent as es, ReadObjectOptions as et, SerializedListInvitationsOptions as eu, IntentOptionsResponse as f, AuthenticationRadarRiskDetectedEvent as fa, RemoveFlagTargetOptions as fc, ImpersonatorResponse as fd, DirectoryUserWithGroupsResponse as ff, Actions as fi, SendInvitationOptions as fl, EnvironmentRoleListResponse as fm, DataIntegrationAuthorizeUrlResponse as fn, GroupMemberRemovedEvent as fo, RoleAssignmentResource as fp, ConnectApplicationRedirectUri as fr, RoleDeletedEvent as fs, CookieSession as ft, EmailVerificationEventResponse as fu, UnauthorizedException as g, AuthenticationSSOSucceededEvent as ga, FlagPollEntry as gc, AuthenticateWithRefreshTokenOptions as gd, OrganizationRoleResponse as gf, ActionContext as gi, serializeRevokeSessionOptions as gl, ListDirectoriesOptions as gm, ConnectedAccountAuthMethod as gn, InvitationAcceptedEvent as go, RoleAssignmentSource as gp, DeleteClientSecretOptions as gr, SessionCreatedEvent as gs, SerializedCreateAuditLogSchemaOptions as gt, CreateUserApiKeyOptions as gu, UnprocessableEntityException as h, AuthenticationSSOFailedEventResponse as ha, FlagCustomTarget as hc, AuthenticateUserWithRefreshTokenCredentials as hd, OrganizationRoleEventResponse as hf, UserRegistrationActionResponseData as hi, SerializedRevokeSessionOptions as hl, ListDirectoryGroupsOptions as hm, ConnectedAccountResponse as hn, GroupUpdatedEventResponse as ho, RoleAssignmentRole as hp, ExternalAuthCompleteResponseWire as hr, RoleUpdatedEventResponse as hs, CreateAuditLogSchemaResponse as ht, SerializedCreateUserOptions as hu, PublicUserManagement as i, AuthenticationPasskeyFailedEvent as ia, DeleteGroupOptions as ic, AuthenticationMethod as id, ConnectionResponse as if, AgentRegistrationKind as ii, Session as il, AddEnvironmentRolePermissionOptions as im, DataIntegrationsListResponseDataConnectedAccountAuthMethod as in, GroupCreatedEvent as io, BaseAssignRoleOptions as ip, ApplicationCredentialsListItem as ir, PermissionCreatedEvent as is, DecryptDataKeyOptions as it, InvitationEvent as iu, Webhooks as j, DsyncGroupDeletedEventResponse as ja, SerializedCreatedApiKey as jc, AuthenticateWithMagicAuthOptions as jd, SerializedReplaceGroupRoleAssignmentsOptions as jf, DomainDataState as ji, MagicAuth as jl, RequestHeaders as jm, GetUserConnectedAccountOptions as jn, OrganizationDomainCreatedEventResponse as jo, UpdateAuthorizationResourceByExternalIdOptions as jp, UserConsentOption as jr, VaultDataDeletedEvent as js, VerifyResponse as jt, AuthenticationFactorType as ju, WorkOSErrorData as k, DsyncGroupCreatedEventResponse as ka, ListOrganizationApiKeysOptions as kc, SerializedAuthenticateWithRadarEmailChallengeOptions as kd, ReplaceGroupRoleAssignmentsOptions as kf, SerializedCreateOrganizationOptions as ki, CreateMagicAuthResponse as kl, HttpClientInterface as km, CreateUserConnectedAccountOptions as kn, OrganizationDeletedResponse as ko, DeleteAuthorizationResourceOptions as kp, ListApplicationsOptions as kr, VaultDataCreatedEvent as ks, AuditLogExportOptions as kt, AuthenticationFactor as ku, GenerateLink as l, AuthenticationPasswordFailedEventResponse as la, RuntimeClientStats as lc, User as ld, DirectoryUser as lf, SerializedAgentRegistrationClaimCompletion as li, SendRadarSmsChallengeResponse as ll, SerializedCreateEnvironmentRoleOptions as lm, DataIntegrationCredentialsResponseError as ln, GroupMemberAddedEventResponse as lo, ListRoleAssignmentsOptions as lp, ConnectApplicationOAuth as lr, PermissionUpdatedEventResponse as ls, CreateTokenOptions as lt, SerializedEnrollUserInMfaFactorOptions as lu, SSOIntentOptionsResponse as m, AuthenticationSSOFailedEvent as ma, FlagChange as mc, SerializedAuthenticateWithRefreshTokenPublicClientOptions as md, OrganizationRoleEvent as mf, ResponsePayload as mi, RevokeSessionOptions as ml, ListDirectoryUsersOptions as mm, ConnectedAccount as mn, GroupUpdatedEvent as mo, RoleAssignmentResponse as mp, ExternalAuthCompleteResponse as mr, RoleUpdatedEvent as ms, CreateAuditLogSchemaRequestOptions as mt, CreateUserOptions as mu, PublicClientOptions as n, AuthenticationOAuthSucceededEvent as na, GroupResponse as nc, SessionCookieData as nd, Connection as nf, AgentRegistrationClaim as ni, UpdateOrganizationMembershipOptions as nl, SerializedCreateOrganizationRoleOptions as nm, DataIntegrationsListResponseDataConnectedAccountResponse as nn, FlagUpdatedEvent as no, AssignRoleOptionsWithResourceExternalId as np, NewConnectApplicationSecret as nr, PasswordResetSucceededEvent as ns, CreateObjectEntity as nt, ListAuthFactorsOptions as nu, createWorkOS as o, AuthenticationPasskeySucceededEvent as oa, SerializedCreateGroupOptions as oc, AuthenticationResponseResponse as od, SSOAuthorizationURLOptions as of, SerializedAgentIdentity as oi, SessionStatus as ol, SerializedUpdateEnvironmentRoleOptions as om, DataIntegrationAccessTokenResponseWire as on, GroupDeletedEvent as oo, ListRoleAssignmentsForResourceByExternalIdOptions as op, ConnectApplication as or, PermissionDeletedEvent as os, CreateDataKeyOptions as ot, InvitationResponse as ou, SSOIntentOptions as p, AuthenticationRadarRiskDetectedEventResponse as pa, ListFeatureFlagsOptions as pc, AuthenticateWithRefreshTokenPublicClientOptions as pd, ListOrganizationRolesResponse as pf, AuthenticationActionResponseData as pi, SerializedSendInvitationOptions as pl, EnvironmentRoleResponse as pm, DataIntegrationAuthorizeUrlResponseWire as pn, GroupMemberRemovedEventResponse as po, RoleAssignmentResourceResponse as pp, ConnectApplicationRedirectUriResponse as pr, RoleDeletedEventResponse as ps, CreateAuditLogSchemaOptions as pt, EmailVerificationResponse as pu, Actor as q, EventBase as qa, SerializedUserApiKeyWithValue as qc, ProfileAndTokenResponse as qd, GroupRoleAssignment as qf, AuthenticationEmailVerificationSucceededEventResponse as qi, AuthorizationOrganizationMembershipResponse as ql, DataIntegrationCredentialsDtoResponse as qn, OrganizationRoleCreatedEventResponse as qo, SerializedCreatePermissionOptions as qp, ValidateAgentApiKeyOptions as qr, DataKey as qs, RadarStandaloneAssessRequestAction as qt, AuthenticationEventSso as qu, PublicSSO as r, AuthenticationOAuthSucceededEventResponse as ra, GetGroupOptions as rc, UserManagementAccessToken as rd, ConnectionDomain as rf, AgentRegistrationClaimCompletion as ri, AuthMethod as rl, OrganizationRole as rm, DataIntegrationsListResponseDataConnectedAccountState as rn, FlagUpdatedEventResponse as ro, AssignRoleOptionsWithResourceId as rp, NewConnectApplicationSecretResponse as rr, PasswordResetSucceededEventResponse as rs, CreateObjectOptions as rt, Invitation as ru, PortalLinkResponse as s, AuthenticationPasskeySucceededEventResponse as sa, AddGroupOrganizationMembershipOptions as sc, CreateUserResponse as sd, SSOPKCEAuthorizationURLResult as sf, SerializedAgentRegistration as si, SendVerificationEmailOptions as sl, UpdateEnvironmentRoleOptions as sm, DataIntegrationAccessTokenResponseAccessToken as sn, GroupDeletedEventResponse as so, ListRoleAssignmentsForResourceOptions as sp, ConnectApplicationM2M as sr, PermissionDeletedEventResponse as ss, WidgetSessionTokenResponse as st, Identity as su, ConfidentialClientOptions as t, AuthenticationOAuthFailedEventResponse as ta, Group as tc, AuthenticateWithSessionCookieSuccessResponse as td, GetProfileOptions as tf, AgentRegistration as ti, SerializedUpdateOrganizationMembershipOptions as tl, CreateOrganizationRoleOptions as tm, DataIntegrationsListResponseDataConnectedAccount as tn, FlagRuleUpdatedEventResponse as to, AssignRoleOptions as tp, SerializedListEventOptions as tr, PasswordResetCreatedEventResponse as ts, ReadObjectResponse as tt, ListGroupsForOrganizationMembershipOptions as tu, GenerateLinkResponse as u, AuthenticationPasswordSucceededEvent as ua, RuntimeClientLogger as uc, UserResponse as ud, DirectoryUserResponse as uf, PKCE as ui, SendRadarSmsChallengeResponseResponse as ul, EnvironmentRole as um, DataIntegrationCredentialsResponseCredential as un, GroupMemberEventData as uo, SerializedListRoleAssignmentsOptions as up, ConnectApplicationOAuthResponse as ur, RoleCreatedEvent as us, WidgetSessionTokenScopes as ut, EmailVerification as uu, RateLimitExceededException as v, ConnectionActivatedEvent as va, FlagTarget as vc, AuthenticateUserWithPasswordCredentials as vd, RoleEvent as vf, UserData as vi, SerializedResetPasswordOptions as vl, PaginationOptions as vm, DataIntegrationResponse as vn, InvitationCreatedEvent as vo, ListMembershipsForResourceByExternalIdOptions as vp, ListApplicationClientSecretsOptions as vr, SessionRevokedEvent as vs, AuditLogTarget as vt, SerializedCreateUserApiKeyOptions as vu, AuthenticationErrorCode as w, DsyncActivatedEvent as wa, TypedEvaluationContext as wc, AuthenticateUserWithRadarSmsChallengeCredentials as wd, BaseGroupRoleAssignmentEntry as wf, OrganizationResponse as wi, TerminalRefreshSessionFailureReason as wl, DirectoryStateResponse as wm, DataIntegrationCredentialResponse as wn, MagicAuthCreatedEvent as wo, AuthorizationCheckOptions as wp, CreateM2MApplicationResponse as wr, UserDeletedEventResponse as ws, AuditLogSchemaMetadata as wt, SerializedCreateMagicAuthOptions as wu, NoApiKeyProvidedException as x, ConnectionDeactivatedEventResponse as xa, EvaluationContext as xc, AuthenticateUserWithOrganizationSelectionCredentials as xd, RoleResponse as xf, SerializedUpdateOrganizationOptions as xi, RefreshSessionFailureReason as xl, Directory as xm, DataIntegrationCustomProviderResponse as xn, InvitationResentEventResponse as xo, ListResourcesForMembershipOptionsWithParentExternalId as xp, GetApplicationOptions as xr, UserCreatedEvent as xs, SerializedCreateAuditLogEventOptions as xt, CreateOrganizationMembershipOptions as xu, OauthException as y, ConnectionActivatedEventResponse as ya, FeatureFlag as yc, AuthenticateWithPasswordOptions as yd, RoleEventResponse as yf, UserDataPayload as yi, ResendInvitationOptions as yl, DirectoryGroup as ym, DataIntegrationState as yn, InvitationCreatedEventResponse as yo, ListMembershipsForResourceOptions as yp, DeleteApplicationOptions as yr, SessionRevokedEventResponse as ys, CreateAuditLogEventOptions as yt, CreatePasswordResetOptions as yu, ObjectSummary as z, DsyncUserCreatedEventResponse as za, OrganizationDomain as zc, AuthenticateWithCodeOptions as zd, BaseCreateGroupRoleAssignmentOptions as zf, ListResponse as zi, ListUserApiKeysOptions as zl, UpdateCustomProviderDefinitionResponse as zn, OrganizationDomainVerifiedEventResponse as zo, CreateOptionsWithParentResourceId as zp, AgentCredentialType as zr, VaultDekReadEvent as zs, RadarListEntryAlreadyPresentResponseWire as zt, Totp as zu };
|
|
9863
|
+
//# sourceMappingURL=factory-VM3aexOH.d.cts.map
|