@kya-os/checkpoint-shared 1.6.0 → 1.7.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/dist/{browser-posture-DIaVLuW3.d.ts → browser-posture-B8YiPa5c.d.ts} +5 -5
- package/dist/{browser-posture-DIaVLuW3.d.ts.map → browser-posture-B8YiPa5c.d.ts.map} +1 -1
- package/dist/{browser-posture-BuChqmH5.d.mts → browser-posture-BLhw-MON.d.mts} +5 -5
- package/dist/{browser-posture-BuChqmH5.d.mts.map → browser-posture-BLhw-MON.d.mts.map} +1 -1
- package/dist/browser-posture-cookie.js +1 -1
- package/dist/browser-posture-cookie.mjs +1 -1
- package/dist/browser-posture-cookie.mjs.map +1 -1
- package/dist/browser-posture-proof.d.mts +1 -1
- package/dist/browser-posture-proof.d.mts.map +1 -1
- package/dist/browser-posture-proof.d.ts +1 -1
- package/dist/browser-posture-proof.d.ts.map +1 -1
- package/dist/browser-posture-proof.js +42 -1
- package/dist/browser-posture-proof.mjs +42 -1
- package/dist/browser-posture-proof.mjs.map +1 -1
- package/dist/browser-posture.d.mts +1 -1
- package/dist/browser-posture.d.ts +1 -1
- package/dist/browser-posture.js +1 -1
- package/dist/browser-posture.mjs +1 -1
- package/dist/canonical-signer/index.d.mts.map +1 -1
- package/dist/canonical-signer/index.d.ts.map +1 -1
- package/dist/canonical-signer/index.js +86 -51
- package/dist/canonical-signer/index.mjs +86 -51
- package/dist/canonical-signer/index.mjs.map +1 -1
- package/dist/client-ip-DFamiNoz.d.mts +34 -0
- package/dist/client-ip-DFamiNoz.d.mts.map +1 -0
- package/dist/client-ip-DFamiNoz.d.ts +34 -0
- package/dist/client-ip-DFamiNoz.d.ts.map +1 -0
- package/dist/client-ip.d.mts +2 -0
- package/dist/client-ip.d.ts +2 -0
- package/dist/client-ip.js +7 -0
- package/dist/client-ip.mjs +3 -0
- package/dist/host-adapter/index.d.mts +2 -0
- package/dist/host-adapter/index.d.ts +2 -0
- package/dist/host-adapter/index.js +23 -0
- package/dist/host-adapter/index.mjs +3 -0
- package/dist/host-adapter-C-4IxmqM.mjs +540 -0
- package/dist/host-adapter-C-4IxmqM.mjs.map +1 -0
- package/dist/host-adapter-CwW9YB0U.js +694 -0
- package/dist/index-B7rTovHa.d.mts +707 -0
- package/dist/index-B7rTovHa.d.mts.map +1 -0
- package/dist/index-HaqfPtaL.d.ts +707 -0
- package/dist/index-HaqfPtaL.d.ts.map +1 -0
- package/dist/index.d.mts +107 -981
- package/dist/index.d.mts.map +1 -1
- package/dist/index.d.ts +107 -981
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +73 -2308
- package/dist/index.mjs +5 -2240
- package/dist/index.mjs.map +1 -1
- package/dist/kya-http-error-codes-7ewV5RuK.d.mts +29 -0
- package/dist/kya-http-error-codes-7ewV5RuK.d.mts.map +1 -0
- package/dist/kya-http-error-codes-7ewV5RuK.d.ts +29 -0
- package/dist/kya-http-error-codes-7ewV5RuK.d.ts.map +1 -0
- package/dist/kya-http-error-codes-C2JiWPsi.mjs +73 -0
- package/dist/kya-http-error-codes-C2JiWPsi.mjs.map +1 -0
- package/dist/kya-http-error-codes-UYb1zpGM.js +83 -0
- package/dist/kya-http.d.mts +3 -0
- package/dist/kya-http.d.ts +3 -0
- package/dist/kya-http.js +11 -0
- package/dist/kya-http.mjs +4 -0
- package/dist/policy/enforcement.d.mts +2 -0
- package/dist/policy/enforcement.d.ts +2 -0
- package/dist/policy/enforcement.js +15 -0
- package/dist/policy/enforcement.mjs +3 -0
- package/dist/{posture-origins-Pn-ii-Pp.mjs → posture-origins-Ba83O0cD.mjs} +2 -2
- package/dist/posture-origins-Ba83O0cD.mjs.map +1 -0
- package/dist/{posture-origins-LFkX80oF.js → posture-origins-CdVOdiMT.js} +1 -1
- package/dist/registered-sid-D3g-gZQF.d.mts +11 -0
- package/dist/registered-sid-D3g-gZQF.d.mts.map +1 -0
- package/dist/registered-sid-D3g-gZQF.d.ts +11 -0
- package/dist/registered-sid-D3g-gZQF.d.ts.map +1 -0
- package/dist/registered-sid-eLCNZvIF.js +170 -0
- package/dist/registered-sid-hUl-bvM5.mjs +142 -0
- package/dist/registered-sid-hUl-bvM5.mjs.map +1 -0
- package/dist/step-up-BjP--hG-.d.mts +114 -0
- package/dist/step-up-BjP--hG-.d.mts.map +1 -0
- package/dist/step-up-BjP--hG-.d.ts +114 -0
- package/dist/step-up-BjP--hG-.d.ts.map +1 -0
- package/dist/step-up-C2d8C20x.js +1697 -0
- package/dist/step-up-COlmWJN8.mjs +1513 -0
- package/dist/step-up-COlmWJN8.mjs.map +1 -0
- package/package.json +23 -1
- package/dist/posture-origins-Pn-ii-Pp.mjs.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { A as ZodRecord, B as $strict, C as ZodNull, D as ZodOptional, E as ZodObject, F as ZodUnknown, I as ZodError, L as output, M as ZodTransform, N as ZodType, O as ZodPipe, P as ZodUnion, R as $loose, S as ZodNever, T as ZodNumber, V as $strip, a as input, b as ZodIntersection, c as ZodAny, d as ZodCatch, f as ZodCustom, g as ZodEnum, h as ZodDiscriminatedUnion, i as ZodCoercedNumber, j as ZodString, k as ZodPrefault, l as ZodArray, m as ZodDefault, n as ZodCoercedBoolean, o as ZodRawShape, p as ZodDate, r as ZodCoercedDate, s as ZodSchema, t as external_d_exports, u as ZodBoolean, v as ZodIPv4, w as ZodNullable, x as ZodLiteral, y as ZodIPv6, z as $partial } from "./external-B7WI9FyQ.js";
|
|
2
|
+
import { a as ClientIpTrustPolicy, c as normalizeClientIp, i as ClientIpSource, l as parseIpv6, n as ClientIpHeaders, o as ResolveClientIpInput, r as ClientIpResolution, s as compressIpv6, t as ClientIpHeaderValue, u as resolveClientIp } from "./client-ip-DFamiNoz.js";
|
|
3
|
+
import { $ as PolicyMetadata, A as ChallengeParams, B as EnforcementActionSchema, C as generateDelegationSid, Ct as classifyResponseShape, D as AssuranceTierSchema, Dt as Verdict, E as AssuranceTier, Et as VERDICT_COOKIE_NAME, F as ConditionValueSchema, G as PolicyConditionSchema, H as InstructPayload, I as Decision, J as PolicyEvaluationContext, K as PolicyConfig, L as DecisionSchema, M as ConditionFieldSchema, N as ConditionOperatorSchema, O as BlockReason, Ot as deriveVerdict, P as ConditionValue, Q as PolicyMatchTypeSchema, R as DenyListEntry, S as deriveDelegationPickupUri, St as ResponseShape, T as AllowListEntrySchema, Tt as RenderedResponseLike, U as InstructPayloadSchema, V as EnforcementModeSchema, W as PolicyCondition, X as PolicyEvaluationResult, Y as PolicyEvaluationContextSchema, Z as PolicyEvaluationResultSchema, _ as buildDelegationBearerHeader, _t as ChallengeEnvelopeMode, a as resolveChallengeContext, at as RuleMetadata, b as buildDelegationChallengeHeader, bt as serveBodyReadable200, c as ChallengeWireErrorCode, ct as SuggestedAction, d as DelegationChallengeBody, dt as ThresholdConfigSchema, et as PolicyMetadataSchema, f as DelegationChallengeEnvelope, ft as normalizeChallengeType, g as buildChallengeWire, gt as ACCEPT_CHALLENGE_HEADER, h as HeaderEntry, ht as safeParsePolicyConfig, i as ResolveChallengeContextOptions, it as RedirectTargetSchema, j as ChallengeParamsSchema, k as BlockReasonSchema, kt as encodeVerdictCookie, l as ChallengeWireInput, lt as SuggestedActionSchema, m as DelegationChallengeWireInput, mt as parsePolicyConfig, n as ChallengeContextFailureEvent, nt as PolicyRuleSchema, o as ApprovalQuorumChallengeWireInput, ot as RuleMetadataSchema, p as DelegationChallengeEnvelopeMode, pt as parseEvaluationContext, q as PolicyConfigSchema, r as DEFAULT_CHALLENGE_CONTEXT_TIMEOUT_MS, rt as RedirectTarget, s as ChallengeWireError, st as StrictEnforcementActionSchema, t as ChallengeContextFailure, tt as PolicyRule, u as ChallengeWireKind, ut as ThresholdConfig, v as buildDelegationChallengeBody, vt as FetcherHeaderInput, w as AllowListEntry, wt as acceptsHtml, x as buildDelegationInstructions, xt as BLOCKED_PATH, y as buildDelegationChallengeEnvelope, yt as selectBodyReadable200, z as DenyListEntrySchema } from "./index-HaqfPtaL.js";
|
|
4
|
+
import { n as KYA_HTTP_ERROR_STATUS, r as KyaHttpErrorCode, t as KYA_HTTP_ERROR } from "./kya-http-error-codes-7ewV5RuK.js";
|
|
5
|
+
import { A as FAIL_CLOSED_HEADERS, C as statementApplies, D as NO_EVIDENCE_EXCLUSION_TERM, E as NO_EVIDENCE_EQUALITY_TERM, M as isEngineEnforcing, O as withNoEvidenceExclusion, S as parseCedarStatements, T as NO_EVIDENCE_CATEGORY, _ as pathHasUnnarrowedDenyRule, a as ApprovalQuorum, b as splitCedarBlocks, c as decisionPolicyId, d as RequestFacts, f as analyzePolicySource, g as pathHasExplicitDenyRuleFor, h as isUnnarrowedDenyBlock, i as validateStepUpQuorum, j as FAIL_CLOSED_STATUS, k as FAIL_CLOSED_BODY, l as requiredScopesForRequest, m as isForbidBlock, n as StepUpQuorumCheck, o as approvalQuorumForRequest, p as blockEqualityLiterals, r as StepUpQuorumLike, s as DecisionLike, t as InvalidStepUpReason, u as PolicyHazardAnalysis, v as pathHasUnnarrowedDenyRuleFor, w as statementId, x as ProbeClass, y as pathLiteralsInBlock } from "./step-up-BjP--hG-.js";
|
|
6
|
+
import { a as requestPresentedCredential, i as requestCarriesDelegationProof, n as SID_ATTRIBUTABLE_RESULT, r as DELEGATION_PROOF_HEADERS, t as REGISTERED_SID_MAX_LENGTH } from "./registered-sid-D3g-gZQF.js";
|
|
2
7
|
import { JWK } from "jose";
|
|
3
8
|
import { AUTH_MODES, AuthMode, ConsentProviderType, CredentialProviderConfig, CredentialProviderConfigSchema, IProviderRegistry, OAuthProviderConfig, OAuthProviderConfigSchema, PROVIDER_AUTH_TYPES, ProviderAuthType, ProviderConfig, ProviderConfigSchema, ProviderDefinition as ProviderRegistryDefinition, ProviderDefinitionSchema as ProviderRegistryDefinitionSchema, RegistryLogger, validateProviderConfig, validateProviderDefinition } from "@kya-os/provider-registry";
|
|
4
9
|
//#region src/core/network-assertions.d.ts
|
|
@@ -83,11 +88,11 @@ export declare const DetectionClassSchema: ZodDiscriminatedUnion<[ZodObject<{
|
|
|
83
88
|
Custom: "Custom";
|
|
84
89
|
}>>;
|
|
85
90
|
purpose: ZodOptional<ZodEnum<{
|
|
91
|
+
Other: "Other";
|
|
86
92
|
Testing: "Testing";
|
|
87
93
|
Scraping: "Scraping";
|
|
88
94
|
Monitoring: "Monitoring";
|
|
89
95
|
Analytics: "Analytics";
|
|
90
|
-
Other: "Other";
|
|
91
96
|
}>>;
|
|
92
97
|
}, $strip>, ZodObject<{
|
|
93
98
|
type: ZodLiteral<"Bot">;
|
|
@@ -345,11 +350,11 @@ export declare const DetectionDetailSchema: ZodObject<{
|
|
|
345
350
|
Custom: "Custom";
|
|
346
351
|
}>>;
|
|
347
352
|
purpose: ZodOptional<ZodEnum<{
|
|
353
|
+
Other: "Other";
|
|
348
354
|
Testing: "Testing";
|
|
349
355
|
Scraping: "Scraping";
|
|
350
356
|
Monitoring: "Monitoring";
|
|
351
357
|
Analytics: "Analytics";
|
|
352
|
-
Other: "Other";
|
|
353
358
|
}>>;
|
|
354
359
|
}, $strip>, ZodObject<{
|
|
355
360
|
type: ZodLiteral<"Bot">;
|
|
@@ -422,8 +427,8 @@ export declare const DetectionDetailSchema: ZodObject<{
|
|
|
422
427
|
botType: ZodOptional<ZodString>;
|
|
423
428
|
agentType: ZodOptional<ZodString>;
|
|
424
429
|
verificationMethod: ZodOptional<ZodEnum<{
|
|
425
|
-
error: "error";
|
|
426
430
|
behavioral: "behavioral";
|
|
431
|
+
error: "error";
|
|
427
432
|
pattern: "pattern";
|
|
428
433
|
signature: "signature";
|
|
429
434
|
network: "network";
|
|
@@ -531,11 +536,11 @@ export declare const DetectionResultSchema: ZodObject<{
|
|
|
531
536
|
Custom: "Custom";
|
|
532
537
|
}>>;
|
|
533
538
|
purpose: ZodOptional<ZodEnum<{
|
|
539
|
+
Other: "Other";
|
|
534
540
|
Testing: "Testing";
|
|
535
541
|
Scraping: "Scraping";
|
|
536
542
|
Monitoring: "Monitoring";
|
|
537
543
|
Analytics: "Analytics";
|
|
538
|
-
Other: "Other";
|
|
539
544
|
}>>;
|
|
540
545
|
}, $strip>, ZodObject<{
|
|
541
546
|
type: ZodLiteral<"Bot">;
|
|
@@ -608,8 +613,8 @@ export declare const DetectionResultSchema: ZodObject<{
|
|
|
608
613
|
botType: ZodOptional<ZodString>;
|
|
609
614
|
agentType: ZodOptional<ZodString>;
|
|
610
615
|
verificationMethod: ZodOptional<ZodEnum<{
|
|
611
|
-
error: "error";
|
|
612
616
|
behavioral: "behavioral";
|
|
617
|
+
error: "error";
|
|
613
618
|
pattern: "pattern";
|
|
614
619
|
signature: "signature";
|
|
615
620
|
network: "network";
|
|
@@ -1269,10 +1274,10 @@ export declare const MiddlewareSessionConfigSchema: ZodObject<{
|
|
|
1269
1274
|
}, $strip>;
|
|
1270
1275
|
export type MiddlewareSessionConfig = output<typeof MiddlewareSessionConfigSchema>;
|
|
1271
1276
|
export declare const MiddlewareActionSchema: ZodEnum<{
|
|
1272
|
-
block: "block";
|
|
1273
|
-
log: "log";
|
|
1274
1277
|
allow: "allow";
|
|
1278
|
+
block: "block";
|
|
1275
1279
|
redirect: "redirect";
|
|
1280
|
+
log: "log";
|
|
1276
1281
|
rewrite: "rewrite";
|
|
1277
1282
|
}>;
|
|
1278
1283
|
export type MiddlewareAction = output<typeof MiddlewareActionSchema>;
|
|
@@ -1518,10 +1523,10 @@ export declare const MiddlewareSessionDataSchema: ZodObject<{
|
|
|
1518
1523
|
export type MiddlewareSessionData = output<typeof MiddlewareSessionDataSchema>;
|
|
1519
1524
|
export declare const MiddlewareConfigSchema: ZodObject<{
|
|
1520
1525
|
action: ZodDefault<ZodEnum<{
|
|
1521
|
-
block: "block";
|
|
1522
|
-
log: "log";
|
|
1523
1526
|
allow: "allow";
|
|
1527
|
+
block: "block";
|
|
1524
1528
|
redirect: "redirect";
|
|
1529
|
+
log: "log";
|
|
1525
1530
|
rewrite: "rewrite";
|
|
1526
1531
|
}>>;
|
|
1527
1532
|
session: ZodOptional<ZodObject<{
|
|
@@ -2062,11 +2067,11 @@ export declare const PixelEventSchema: ZodObject<{
|
|
|
2062
2067
|
Custom: "Custom";
|
|
2063
2068
|
}>>;
|
|
2064
2069
|
purpose: ZodOptional<ZodEnum<{
|
|
2070
|
+
Other: "Other";
|
|
2065
2071
|
Testing: "Testing";
|
|
2066
2072
|
Scraping: "Scraping";
|
|
2067
2073
|
Monitoring: "Monitoring";
|
|
2068
2074
|
Analytics: "Analytics";
|
|
2069
|
-
Other: "Other";
|
|
2070
2075
|
}>>;
|
|
2071
2076
|
}, $strip>, ZodObject<{
|
|
2072
2077
|
type: ZodLiteral<"Bot">;
|
|
@@ -2139,8 +2144,8 @@ export declare const PixelEventSchema: ZodObject<{
|
|
|
2139
2144
|
botType: ZodOptional<ZodString>;
|
|
2140
2145
|
agentType: ZodOptional<ZodString>;
|
|
2141
2146
|
verificationMethod: ZodOptional<ZodEnum<{
|
|
2142
|
-
error: "error";
|
|
2143
2147
|
behavioral: "behavioral";
|
|
2148
|
+
error: "error";
|
|
2144
2149
|
pattern: "pattern";
|
|
2145
2150
|
signature: "signature";
|
|
2146
2151
|
network: "network";
|
|
@@ -2303,11 +2308,11 @@ export declare const BatchPixelEventRequestSchema: ZodObject<{
|
|
|
2303
2308
|
Custom: "Custom";
|
|
2304
2309
|
}>>;
|
|
2305
2310
|
purpose: ZodOptional<ZodEnum<{
|
|
2311
|
+
Other: "Other";
|
|
2306
2312
|
Testing: "Testing";
|
|
2307
2313
|
Scraping: "Scraping";
|
|
2308
2314
|
Monitoring: "Monitoring";
|
|
2309
2315
|
Analytics: "Analytics";
|
|
2310
|
-
Other: "Other";
|
|
2311
2316
|
}>>;
|
|
2312
2317
|
}, $strip>, ZodObject<{
|
|
2313
2318
|
type: ZodLiteral<"Bot">;
|
|
@@ -2380,8 +2385,8 @@ export declare const BatchPixelEventRequestSchema: ZodObject<{
|
|
|
2380
2385
|
botType: ZodOptional<ZodString>;
|
|
2381
2386
|
agentType: ZodOptional<ZodString>;
|
|
2382
2387
|
verificationMethod: ZodOptional<ZodEnum<{
|
|
2383
|
-
error: "error";
|
|
2384
2388
|
behavioral: "behavioral";
|
|
2389
|
+
error: "error";
|
|
2385
2390
|
pattern: "pattern";
|
|
2386
2391
|
signature: "signature";
|
|
2387
2392
|
network: "network";
|
|
@@ -2763,11 +2768,11 @@ export declare const PixelTrackingResponseSchema: ZodObject<{
|
|
|
2763
2768
|
Custom: "Custom";
|
|
2764
2769
|
}>>;
|
|
2765
2770
|
purpose: ZodOptional<ZodEnum<{
|
|
2771
|
+
Other: "Other";
|
|
2766
2772
|
Testing: "Testing";
|
|
2767
2773
|
Scraping: "Scraping";
|
|
2768
2774
|
Monitoring: "Monitoring";
|
|
2769
2775
|
Analytics: "Analytics";
|
|
2770
|
-
Other: "Other";
|
|
2771
2776
|
}>>;
|
|
2772
2777
|
}, $strip>, ZodObject<{
|
|
2773
2778
|
type: ZodLiteral<"Bot">;
|
|
@@ -2840,8 +2845,8 @@ export declare const PixelTrackingResponseSchema: ZodObject<{
|
|
|
2840
2845
|
botType: ZodOptional<ZodString>;
|
|
2841
2846
|
agentType: ZodOptional<ZodString>;
|
|
2842
2847
|
verificationMethod: ZodOptional<ZodEnum<{
|
|
2843
|
-
error: "error";
|
|
2844
2848
|
behavioral: "behavioral";
|
|
2849
|
+
error: "error";
|
|
2845
2850
|
pattern: "pattern";
|
|
2846
2851
|
signature: "signature";
|
|
2847
2852
|
network: "network";
|
|
@@ -3000,9 +3005,9 @@ export type PixelSession = output<typeof PixelSessionSchema>;
|
|
|
3000
3005
|
export declare const PixelVerificationStatusSchema: ZodObject<{
|
|
3001
3006
|
status: ZodEnum<{
|
|
3002
3007
|
verified: "verified";
|
|
3003
|
-
failed: "failed";
|
|
3004
3008
|
partial: "partial";
|
|
3005
3009
|
pending: "pending";
|
|
3010
|
+
failed: "failed";
|
|
3006
3011
|
}>;
|
|
3007
3012
|
message: ZodString;
|
|
3008
3013
|
verified: ZodBoolean;
|
|
@@ -3033,8 +3038,8 @@ export type DetectionViewType = output<typeof DetectionViewTypeSchema>;
|
|
|
3033
3038
|
export declare const DetectionStatusSchema: ZodEnum<{
|
|
3034
3039
|
error: "error";
|
|
3035
3040
|
success: "success";
|
|
3036
|
-
failed: "failed";
|
|
3037
3041
|
partial: "partial";
|
|
3042
|
+
failed: "failed";
|
|
3038
3043
|
}>;
|
|
3039
3044
|
export type DetectionStatus = output<typeof DetectionStatusSchema>;
|
|
3040
3045
|
export declare const DetectionErrorDetailsSchema: ZodObject<{
|
|
@@ -3106,11 +3111,11 @@ export declare const SessionDataSchema: ZodObject<{
|
|
|
3106
3111
|
Custom: "Custom";
|
|
3107
3112
|
}>>;
|
|
3108
3113
|
purpose: ZodOptional<ZodEnum<{
|
|
3114
|
+
Other: "Other";
|
|
3109
3115
|
Testing: "Testing";
|
|
3110
3116
|
Scraping: "Scraping";
|
|
3111
3117
|
Monitoring: "Monitoring";
|
|
3112
3118
|
Analytics: "Analytics";
|
|
3113
|
-
Other: "Other";
|
|
3114
3119
|
}>>;
|
|
3115
3120
|
}, $strip>, ZodObject<{
|
|
3116
3121
|
type: ZodLiteral<"Bot">;
|
|
@@ -3183,8 +3188,8 @@ export declare const SessionDataSchema: ZodObject<{
|
|
|
3183
3188
|
botType: ZodOptional<ZodString>;
|
|
3184
3189
|
agentType: ZodOptional<ZodString>;
|
|
3185
3190
|
verificationMethod: ZodOptional<ZodEnum<{
|
|
3186
|
-
error: "error";
|
|
3187
3191
|
behavioral: "behavioral";
|
|
3192
|
+
error: "error";
|
|
3188
3193
|
pattern: "pattern";
|
|
3189
3194
|
signature: "signature";
|
|
3190
3195
|
network: "network";
|
|
@@ -3331,11 +3336,11 @@ export declare const SessionUpdateRequestSchema: ZodObject<{
|
|
|
3331
3336
|
Custom: "Custom";
|
|
3332
3337
|
}>>;
|
|
3333
3338
|
purpose: ZodOptional<ZodEnum<{
|
|
3339
|
+
Other: "Other";
|
|
3334
3340
|
Testing: "Testing";
|
|
3335
3341
|
Scraping: "Scraping";
|
|
3336
3342
|
Monitoring: "Monitoring";
|
|
3337
3343
|
Analytics: "Analytics";
|
|
3338
|
-
Other: "Other";
|
|
3339
3344
|
}>>;
|
|
3340
3345
|
}, $strip>, ZodObject<{
|
|
3341
3346
|
type: ZodLiteral<"Bot">;
|
|
@@ -3408,8 +3413,8 @@ export declare const SessionUpdateRequestSchema: ZodObject<{
|
|
|
3408
3413
|
botType: ZodOptional<ZodString>;
|
|
3409
3414
|
agentType: ZodOptional<ZodString>;
|
|
3410
3415
|
verificationMethod: ZodOptional<ZodEnum<{
|
|
3411
|
-
error: "error";
|
|
3412
3416
|
behavioral: "behavioral";
|
|
3417
|
+
error: "error";
|
|
3413
3418
|
pattern: "pattern";
|
|
3414
3419
|
signature: "signature";
|
|
3415
3420
|
network: "network";
|
|
@@ -3759,8 +3764,8 @@ export declare const MessagePrioritySchema: ZodEnum<{
|
|
|
3759
3764
|
}>;
|
|
3760
3765
|
export type MessagePriority = output<typeof MessagePrioritySchema>;
|
|
3761
3766
|
export declare const WorkerActionSchema: ZodEnum<{
|
|
3762
|
-
error: "error";
|
|
3763
3767
|
status: "status";
|
|
3768
|
+
error: "error";
|
|
3764
3769
|
config: "config";
|
|
3765
3770
|
init: "init";
|
|
3766
3771
|
process: "process";
|
|
@@ -3770,8 +3775,8 @@ export declare const WorkerActionSchema: ZodEnum<{
|
|
|
3770
3775
|
}>;
|
|
3771
3776
|
export type WorkerAction = output<typeof WorkerActionSchema>;
|
|
3772
3777
|
export declare const WorkerMessageTypeSchema: ZodEnum<{
|
|
3773
|
-
error: "error";
|
|
3774
3778
|
status: "status";
|
|
3779
|
+
error: "error";
|
|
3775
3780
|
request: "request";
|
|
3776
3781
|
response: "response";
|
|
3777
3782
|
heartbeat: "heartbeat";
|
|
@@ -3780,15 +3785,15 @@ export type WorkerMessageType = output<typeof WorkerMessageTypeSchema>;
|
|
|
3780
3785
|
export declare const WorkerMessageSchema: ZodObject<{
|
|
3781
3786
|
id: ZodString;
|
|
3782
3787
|
type: ZodEnum<{
|
|
3783
|
-
error: "error";
|
|
3784
3788
|
status: "status";
|
|
3789
|
+
error: "error";
|
|
3785
3790
|
request: "request";
|
|
3786
3791
|
response: "response";
|
|
3787
3792
|
heartbeat: "heartbeat";
|
|
3788
3793
|
}>;
|
|
3789
3794
|
action: ZodEnum<{
|
|
3790
|
-
error: "error";
|
|
3791
3795
|
status: "status";
|
|
3796
|
+
error: "error";
|
|
3792
3797
|
config: "config";
|
|
3793
3798
|
init: "init";
|
|
3794
3799
|
process: "process";
|
|
@@ -4209,11 +4214,11 @@ export declare const DetectionResponseSchema: ZodObject<{
|
|
|
4209
4214
|
Custom: "Custom";
|
|
4210
4215
|
}>>;
|
|
4211
4216
|
purpose: ZodOptional<ZodEnum<{
|
|
4217
|
+
Other: "Other";
|
|
4212
4218
|
Testing: "Testing";
|
|
4213
4219
|
Scraping: "Scraping";
|
|
4214
4220
|
Monitoring: "Monitoring";
|
|
4215
4221
|
Analytics: "Analytics";
|
|
4216
|
-
Other: "Other";
|
|
4217
4222
|
}>>;
|
|
4218
4223
|
}, $strip>, ZodObject<{
|
|
4219
4224
|
type: ZodLiteral<"Bot">;
|
|
@@ -4286,8 +4291,8 @@ export declare const DetectionResponseSchema: ZodObject<{
|
|
|
4286
4291
|
botType: ZodOptional<ZodString>;
|
|
4287
4292
|
agentType: ZodOptional<ZodString>;
|
|
4288
4293
|
verificationMethod: ZodOptional<ZodEnum<{
|
|
4289
|
-
error: "error";
|
|
4290
4294
|
behavioral: "behavioral";
|
|
4295
|
+
error: "error";
|
|
4291
4296
|
pattern: "pattern";
|
|
4292
4297
|
signature: "signature";
|
|
4293
4298
|
network: "network";
|
|
@@ -4424,11 +4429,11 @@ export declare const BatchDetectionResponseSchema: ZodObject<{
|
|
|
4424
4429
|
Custom: "Custom";
|
|
4425
4430
|
}>>;
|
|
4426
4431
|
purpose: ZodOptional<ZodEnum<{
|
|
4432
|
+
Other: "Other";
|
|
4427
4433
|
Testing: "Testing";
|
|
4428
4434
|
Scraping: "Scraping";
|
|
4429
4435
|
Monitoring: "Monitoring";
|
|
4430
4436
|
Analytics: "Analytics";
|
|
4431
|
-
Other: "Other";
|
|
4432
4437
|
}>>;
|
|
4433
4438
|
}, $strip>, ZodObject<{
|
|
4434
4439
|
type: ZodLiteral<"Bot">;
|
|
@@ -4501,8 +4506,8 @@ export declare const BatchDetectionResponseSchema: ZodObject<{
|
|
|
4501
4506
|
botType: ZodOptional<ZodString>;
|
|
4502
4507
|
agentType: ZodOptional<ZodString>;
|
|
4503
4508
|
verificationMethod: ZodOptional<ZodEnum<{
|
|
4504
|
-
error: "error";
|
|
4505
4509
|
behavioral: "behavioral";
|
|
4510
|
+
error: "error";
|
|
4506
4511
|
pattern: "pattern";
|
|
4507
4512
|
signature: "signature";
|
|
4508
4513
|
network: "network";
|
|
@@ -4644,8 +4649,8 @@ export declare const EventTrackingRequestSchema: ZodObject<{
|
|
|
4644
4649
|
timestamp: ZodOptional<ZodString>;
|
|
4645
4650
|
referrer: ZodOptional<ZodString>;
|
|
4646
4651
|
method: ZodOptional<ZodEnum<{
|
|
4647
|
-
GET: "GET";
|
|
4648
4652
|
POST: "POST";
|
|
4653
|
+
GET: "GET";
|
|
4649
4654
|
PUT: "PUT";
|
|
4650
4655
|
DELETE: "DELETE";
|
|
4651
4656
|
PATCH: "PATCH";
|
|
@@ -4827,11 +4832,11 @@ export declare const EventTrackingResponseSchema: ZodObject<{
|
|
|
4827
4832
|
Custom: "Custom";
|
|
4828
4833
|
}>>;
|
|
4829
4834
|
purpose: ZodOptional<ZodEnum<{
|
|
4835
|
+
Other: "Other";
|
|
4830
4836
|
Testing: "Testing";
|
|
4831
4837
|
Scraping: "Scraping";
|
|
4832
4838
|
Monitoring: "Monitoring";
|
|
4833
4839
|
Analytics: "Analytics";
|
|
4834
|
-
Other: "Other";
|
|
4835
4840
|
}>>;
|
|
4836
4841
|
}, $strip>, ZodObject<{
|
|
4837
4842
|
type: ZodLiteral<"Bot">;
|
|
@@ -4904,8 +4909,8 @@ export declare const EventTrackingResponseSchema: ZodObject<{
|
|
|
4904
4909
|
botType: ZodOptional<ZodString>;
|
|
4905
4910
|
agentType: ZodOptional<ZodString>;
|
|
4906
4911
|
verificationMethod: ZodOptional<ZodEnum<{
|
|
4907
|
-
error: "error";
|
|
4908
4912
|
behavioral: "behavioral";
|
|
4913
|
+
error: "error";
|
|
4909
4914
|
pattern: "pattern";
|
|
4910
4915
|
signature: "signature";
|
|
4911
4916
|
network: "network";
|
|
@@ -5010,8 +5015,8 @@ export declare const BatchEventRequestSchema: ZodObject<{
|
|
|
5010
5015
|
timestamp: ZodOptional<ZodString>;
|
|
5011
5016
|
referrer: ZodOptional<ZodString>;
|
|
5012
5017
|
method: ZodOptional<ZodEnum<{
|
|
5013
|
-
GET: "GET";
|
|
5014
5018
|
POST: "POST";
|
|
5019
|
+
GET: "GET";
|
|
5015
5020
|
PUT: "PUT";
|
|
5016
5021
|
DELETE: "DELETE";
|
|
5017
5022
|
PATCH: "PATCH";
|
|
@@ -5202,11 +5207,11 @@ export declare const BatchEventResponseSchema: ZodObject<{
|
|
|
5202
5207
|
Custom: "Custom";
|
|
5203
5208
|
}>>;
|
|
5204
5209
|
purpose: ZodOptional<ZodEnum<{
|
|
5210
|
+
Other: "Other";
|
|
5205
5211
|
Testing: "Testing";
|
|
5206
5212
|
Scraping: "Scraping";
|
|
5207
5213
|
Monitoring: "Monitoring";
|
|
5208
5214
|
Analytics: "Analytics";
|
|
5209
|
-
Other: "Other";
|
|
5210
5215
|
}>>;
|
|
5211
5216
|
}, $strip>, ZodObject<{
|
|
5212
5217
|
type: ZodLiteral<"Bot">;
|
|
@@ -5279,8 +5284,8 @@ export declare const BatchEventResponseSchema: ZodObject<{
|
|
|
5279
5284
|
botType: ZodOptional<ZodString>;
|
|
5280
5285
|
agentType: ZodOptional<ZodString>;
|
|
5281
5286
|
verificationMethod: ZodOptional<ZodEnum<{
|
|
5282
|
-
error: "error";
|
|
5283
5287
|
behavioral: "behavioral";
|
|
5288
|
+
error: "error";
|
|
5284
5289
|
pattern: "pattern";
|
|
5285
5290
|
signature: "signature";
|
|
5286
5291
|
network: "network";
|
|
@@ -5738,11 +5743,11 @@ export declare const DetectionEventSchema: ZodObject<{
|
|
|
5738
5743
|
Custom: "Custom";
|
|
5739
5744
|
}>>;
|
|
5740
5745
|
purpose: ZodOptional<ZodEnum<{
|
|
5746
|
+
Other: "Other";
|
|
5741
5747
|
Testing: "Testing";
|
|
5742
5748
|
Scraping: "Scraping";
|
|
5743
5749
|
Monitoring: "Monitoring";
|
|
5744
5750
|
Analytics: "Analytics";
|
|
5745
|
-
Other: "Other";
|
|
5746
5751
|
}>>;
|
|
5747
5752
|
}, $strip>, ZodObject<{
|
|
5748
5753
|
type: ZodLiteral<"Bot">;
|
|
@@ -5815,8 +5820,8 @@ export declare const DetectionEventSchema: ZodObject<{
|
|
|
5815
5820
|
botType: ZodOptional<ZodString>;
|
|
5816
5821
|
agentType: ZodOptional<ZodString>;
|
|
5817
5822
|
verificationMethod: ZodOptional<ZodEnum<{
|
|
5818
|
-
error: "error";
|
|
5819
5823
|
behavioral: "behavioral";
|
|
5824
|
+
error: "error";
|
|
5820
5825
|
pattern: "pattern";
|
|
5821
5826
|
signature: "signature";
|
|
5822
5827
|
network: "network";
|
|
@@ -5924,9 +5929,9 @@ export declare const StatsUpdateEventSchema: ZodObject<{
|
|
|
5924
5929
|
projectId: ZodOptional<ZodString>;
|
|
5925
5930
|
data: ZodObject<{
|
|
5926
5931
|
period: ZodEnum<{
|
|
5932
|
+
minute: "minute";
|
|
5927
5933
|
hour: "hour";
|
|
5928
5934
|
day: "day";
|
|
5929
|
-
minute: "minute";
|
|
5930
5935
|
}>;
|
|
5931
5936
|
totalRequests: ZodNumber;
|
|
5932
5937
|
agentsDetected: ZodNumber;
|
|
@@ -5981,7 +5986,6 @@ export type DatabaseStatus = output<typeof DatabaseStatusSchema>;
|
|
|
5981
5986
|
export declare const FilterOperatorSchema: ZodEnum<{
|
|
5982
5987
|
in: "in";
|
|
5983
5988
|
null: "null";
|
|
5984
|
-
exists: "exists";
|
|
5985
5989
|
eq: "eq";
|
|
5986
5990
|
neq: "neq";
|
|
5987
5991
|
gt: "gt";
|
|
@@ -5992,6 +5996,7 @@ export declare const FilterOperatorSchema: ZodEnum<{
|
|
|
5992
5996
|
like: "like";
|
|
5993
5997
|
ilike: "ilike";
|
|
5994
5998
|
regex: "regex";
|
|
5999
|
+
exists: "exists";
|
|
5995
6000
|
nexists: "nexists";
|
|
5996
6001
|
nnull: "nnull";
|
|
5997
6002
|
}>;
|
|
@@ -6001,7 +6006,6 @@ export declare const QueryFilterSchema: ZodObject<{
|
|
|
6001
6006
|
operator: ZodEnum<{
|
|
6002
6007
|
in: "in";
|
|
6003
6008
|
null: "null";
|
|
6004
|
-
exists: "exists";
|
|
6005
6009
|
eq: "eq";
|
|
6006
6010
|
neq: "neq";
|
|
6007
6011
|
gt: "gt";
|
|
@@ -6012,6 +6016,7 @@ export declare const QueryFilterSchema: ZodObject<{
|
|
|
6012
6016
|
like: "like";
|
|
6013
6017
|
ilike: "ilike";
|
|
6014
6018
|
regex: "regex";
|
|
6019
|
+
exists: "exists";
|
|
6015
6020
|
nexists: "nexists";
|
|
6016
6021
|
nnull: "nnull";
|
|
6017
6022
|
}>;
|
|
@@ -6076,8 +6081,8 @@ export declare const DetectionMetadataSchema: ZodObject<{
|
|
|
6076
6081
|
export type DetectionMetadata = output<typeof DetectionMetadataSchema>;
|
|
6077
6082
|
export declare const AnalyticsExportParamsSchema: ZodObject<{
|
|
6078
6083
|
format: ZodDefault<ZodEnum<{
|
|
6079
|
-
csv: "csv";
|
|
6080
6084
|
json: "json";
|
|
6085
|
+
csv: "csv";
|
|
6081
6086
|
xlsx: "xlsx";
|
|
6082
6087
|
}>>;
|
|
6083
6088
|
dateRange: ZodObject<{
|
|
@@ -6933,13 +6938,13 @@ export declare const DetectionRuleSchema: ZodObject<{
|
|
|
6933
6938
|
field: ZodString;
|
|
6934
6939
|
operator: ZodEnum<{
|
|
6935
6940
|
in: "in";
|
|
6936
|
-
range: "range";
|
|
6937
|
-
matches: "matches";
|
|
6938
6941
|
equals: "equals";
|
|
6939
6942
|
notEquals: "notEquals";
|
|
6940
6943
|
contains: "contains";
|
|
6941
6944
|
notContains: "notContains";
|
|
6945
|
+
matches: "matches";
|
|
6942
6946
|
notIn: "notIn";
|
|
6947
|
+
range: "range";
|
|
6943
6948
|
exists: "exists";
|
|
6944
6949
|
notExists: "notExists";
|
|
6945
6950
|
}>;
|
|
@@ -7010,13 +7015,13 @@ export declare const AgentProfileSchema: ZodObject<{
|
|
|
7010
7015
|
field: ZodString;
|
|
7011
7016
|
operator: ZodEnum<{
|
|
7012
7017
|
in: "in";
|
|
7013
|
-
range: "range";
|
|
7014
|
-
matches: "matches";
|
|
7015
7018
|
equals: "equals";
|
|
7016
7019
|
notEquals: "notEquals";
|
|
7017
7020
|
contains: "contains";
|
|
7018
7021
|
notContains: "notContains";
|
|
7022
|
+
matches: "matches";
|
|
7019
7023
|
notIn: "notIn";
|
|
7024
|
+
range: "range";
|
|
7020
7025
|
exists: "exists";
|
|
7021
7026
|
notExists: "notExists";
|
|
7022
7027
|
}>;
|
|
@@ -7661,10 +7666,10 @@ export declare const auditLogQuerySchema: ZodObject<{
|
|
|
7661
7666
|
adminId: ZodOptional<ZodString>;
|
|
7662
7667
|
action: ZodOptional<ZodString>;
|
|
7663
7668
|
targetType: ZodOptional<ZodEnum<{
|
|
7664
|
-
organization: "organization";
|
|
7665
7669
|
user: "user";
|
|
7666
7670
|
system: "system";
|
|
7667
7671
|
project: "project";
|
|
7672
|
+
organization: "organization";
|
|
7668
7673
|
}>>;
|
|
7669
7674
|
startDate: ZodOptional<ZodString>;
|
|
7670
7675
|
endDate: ZodOptional<ZodString>;
|
|
@@ -11026,9 +11031,9 @@ export declare const FleetPullRequestReceiptSchema: ZodObject<{
|
|
|
11026
11031
|
}, $strict>;
|
|
11027
11032
|
export declare const TaskMailboxResultSchema: ZodObject<{
|
|
11028
11033
|
outcome: ZodEnum<{
|
|
11029
|
-
failed: "failed";
|
|
11030
11034
|
cancelled: "cancelled";
|
|
11031
11035
|
completed: "completed";
|
|
11036
|
+
failed: "failed";
|
|
11032
11037
|
}>;
|
|
11033
11038
|
artifact: ZodOptional<ZodObject<{
|
|
11034
11039
|
schema: ZodLiteral<"kya.fleet.pull-request.v1">;
|
|
@@ -11247,9 +11252,9 @@ export declare const TaskStandingActionSchema: ZodObject<{
|
|
|
11247
11252
|
kind: ZodLiteral<"task.finish">;
|
|
11248
11253
|
outcome: ZodEnum<{
|
|
11249
11254
|
unknown: "unknown";
|
|
11250
|
-
failed: "failed";
|
|
11251
11255
|
cancelled: "cancelled";
|
|
11252
11256
|
completed: "completed";
|
|
11257
|
+
failed: "failed";
|
|
11253
11258
|
}>;
|
|
11254
11259
|
}, $strict>, ZodObject<{
|
|
11255
11260
|
kind: ZodLiteral<"github.commit">;
|
|
@@ -11281,9 +11286,9 @@ export declare const TaskStandingReconcileSchema: ZodObject<{
|
|
|
11281
11286
|
kind: ZodLiteral<"task.finish">;
|
|
11282
11287
|
outcome: ZodEnum<{
|
|
11283
11288
|
unknown: "unknown";
|
|
11284
|
-
failed: "failed";
|
|
11285
11289
|
cancelled: "cancelled";
|
|
11286
11290
|
completed: "completed";
|
|
11291
|
+
failed: "failed";
|
|
11287
11292
|
}>;
|
|
11288
11293
|
}, $strict>, ZodObject<{
|
|
11289
11294
|
kind: ZodLiteral<"github.commit">;
|
|
@@ -11445,10 +11450,10 @@ export declare const CliIdentityServiceSchema: ZodObject<{
|
|
|
11445
11450
|
}>;
|
|
11446
11451
|
url: ZodNullable<ZodString>;
|
|
11447
11452
|
status: ZodEnum<{
|
|
11453
|
+
not_configured: "not_configured";
|
|
11448
11454
|
configured: "configured";
|
|
11449
11455
|
active_recorded: "active_recorded";
|
|
11450
11456
|
inactive_recorded: "inactive_recorded";
|
|
11451
|
-
not_configured: "not_configured";
|
|
11452
11457
|
}>;
|
|
11453
11458
|
observed_at: ZodNullable<ZodString>;
|
|
11454
11459
|
}, $strict>;
|
|
@@ -11479,10 +11484,10 @@ export declare const CliIdentitySummarySchema: ZodObject<{
|
|
|
11479
11484
|
}>;
|
|
11480
11485
|
url: ZodNullable<ZodString>;
|
|
11481
11486
|
status: ZodEnum<{
|
|
11487
|
+
not_configured: "not_configured";
|
|
11482
11488
|
configured: "configured";
|
|
11483
11489
|
active_recorded: "active_recorded";
|
|
11484
11490
|
inactive_recorded: "inactive_recorded";
|
|
11485
|
-
not_configured: "not_configured";
|
|
11486
11491
|
}>;
|
|
11487
11492
|
observed_at: ZodNullable<ZodString>;
|
|
11488
11493
|
}, $strict>>;
|
|
@@ -12034,8 +12039,8 @@ export declare const MarketplaceSourceSchema: ZodEnum<{
|
|
|
12034
12039
|
}>;
|
|
12035
12040
|
export type MarketplaceSource = output<typeof MarketplaceSourceSchema>;
|
|
12036
12041
|
export declare const ProvisioningModeSchema: ZodEnum<{
|
|
12037
|
-
observe: "observe";
|
|
12038
12042
|
enforce: "enforce";
|
|
12043
|
+
observe: "observe";
|
|
12039
12044
|
}>;
|
|
12040
12045
|
export type ProvisioningMode = output<typeof ProvisioningModeSchema>;
|
|
12041
12046
|
export declare const ProvisioningIdentityProofSchema: ZodDiscriminatedUnion<[ZodObject<{
|
|
@@ -12097,8 +12102,8 @@ export declare const ProvisionKeyRequestSchema: ZodObject<{
|
|
|
12097
12102
|
name: ZodOptional<ZodString>;
|
|
12098
12103
|
}, $strip>;
|
|
12099
12104
|
mode: ZodDefault<ZodEnum<{
|
|
12100
|
-
observe: "observe";
|
|
12101
12105
|
enforce: "enforce";
|
|
12106
|
+
observe: "observe";
|
|
12102
12107
|
}>>;
|
|
12103
12108
|
organizationId: ZodOptional<ZodString>;
|
|
12104
12109
|
metadata: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
|
|
@@ -12345,15 +12350,15 @@ export declare const ExportAnalyticsSchema: ZodObject<{
|
|
|
12345
12350
|
startDate: ZodString;
|
|
12346
12351
|
endDate: ZodString;
|
|
12347
12352
|
format: ZodDefault<ZodEnum<{
|
|
12348
|
-
csv: "csv";
|
|
12349
12353
|
json: "json";
|
|
12354
|
+
csv: "csv";
|
|
12350
12355
|
}>>;
|
|
12351
12356
|
sections: ZodDefault<ZodOptional<ZodArray<ZodEnum<{
|
|
12352
12357
|
confidence: "confidence";
|
|
12358
|
+
sessions: "sessions";
|
|
12353
12359
|
overview: "overview";
|
|
12354
12360
|
traffic: "traffic";
|
|
12355
12361
|
agents: "agents";
|
|
12356
|
-
sessions: "sessions";
|
|
12357
12362
|
}>>>>;
|
|
12358
12363
|
includeRawData: ZodDefault<ZodOptional<ZodBoolean>>;
|
|
12359
12364
|
showAIAgentsOnly: ZodDefault<ZodOptional<ZodBoolean>>;
|
|
@@ -14303,38 +14308,6 @@ export declare function claudeRuntimeLabel(userAgent: string | null | undefined,
|
|
|
14303
14308
|
export declare function refineClaudeDisplayLabel<T extends string | null | undefined>(displayName: T, userAgent: string | null | undefined, runtimeSurface?: string | null): T | string;
|
|
14304
14309
|
export declare function refineSessionGrainClaudeLabel<T extends string | null | undefined>(displayName: T, runtimeSurface: string | null | undefined): T | string;
|
|
14305
14310
|
//#endregion
|
|
14306
|
-
//#region src/utils/client-ip.d.ts
|
|
14307
|
-
export type ClientIpSource = 'explicit' | 'cf-connecting-ip' | 'x-vercel-forwarded-for' | 'x-forwarded-for' | 'x-real-ip' | 'framework' | 'socket' | 'none';
|
|
14308
|
-
export interface ClientIpResolution {
|
|
14309
|
-
ip: string | null;
|
|
14310
|
-
source: ClientIpSource;
|
|
14311
|
-
trusted: boolean;
|
|
14312
|
-
}
|
|
14313
|
-
export type ClientIpTrustPolicy = {
|
|
14314
|
-
platform: 'vercel';
|
|
14315
|
-
} | {
|
|
14316
|
-
platform: 'cloudflare';
|
|
14317
|
-
} | {
|
|
14318
|
-
platform: 'trusted-proxy';
|
|
14319
|
-
trustedHops: number;
|
|
14320
|
-
} | {
|
|
14321
|
-
platform: 'direct';
|
|
14322
|
-
};
|
|
14323
|
-
export type ClientIpHeaderValue = string | readonly string[] | undefined;
|
|
14324
|
-
export type ClientIpHeaders = Headers | Record<string, ClientIpHeaderValue>;
|
|
14325
|
-
export interface ResolveClientIpInput {
|
|
14326
|
-
headers: ClientIpHeaders;
|
|
14327
|
-
directAddress?: string | null;
|
|
14328
|
-
frameworkAddress?: string | null;
|
|
14329
|
-
explicitAddress?: string | null;
|
|
14330
|
-
explicitAddressTrusted?: boolean;
|
|
14331
|
-
policy: ClientIpTrustPolicy;
|
|
14332
|
-
}
|
|
14333
|
-
export declare function parseIpv6(value: string): number[] | null;
|
|
14334
|
-
export declare function compressIpv6(groups: number[]): string;
|
|
14335
|
-
export declare function normalizeClientIp(raw: string | null | undefined): string | null;
|
|
14336
|
-
export declare function resolveClientIp(input: ResolveClientIpInput): ClientIpResolution;
|
|
14337
|
-
//#endregion
|
|
14338
14311
|
//#region src/utils/bot-signals.d.ts
|
|
14339
14312
|
export type BotSignalsSource = 'cloudflare-bot-management' | 'explicit' | 'none';
|
|
14340
14313
|
export interface BotSignalsResolution {
|
|
@@ -15088,9 +15061,9 @@ export declare const ConsentCapabilitySchema: ZodObject<{
|
|
|
15088
15061
|
label: ZodString;
|
|
15089
15062
|
description: ZodString;
|
|
15090
15063
|
icon: ZodEnum<{
|
|
15091
|
-
search: "search";
|
|
15092
|
-
key: "key";
|
|
15093
15064
|
user: "user";
|
|
15065
|
+
key: "key";
|
|
15066
|
+
search: "search";
|
|
15094
15067
|
send: "send";
|
|
15095
15068
|
package: "package";
|
|
15096
15069
|
tools: "tools";
|
|
@@ -15124,9 +15097,9 @@ export declare const ConsentCapabilityGroupSchema: ZodObject<{
|
|
|
15124
15097
|
label: ZodString;
|
|
15125
15098
|
description: ZodString;
|
|
15126
15099
|
icon: ZodEnum<{
|
|
15127
|
-
search: "search";
|
|
15128
|
-
key: "key";
|
|
15129
15100
|
user: "user";
|
|
15101
|
+
key: "key";
|
|
15102
|
+
search: "search";
|
|
15130
15103
|
send: "send";
|
|
15131
15104
|
package: "package";
|
|
15132
15105
|
tools: "tools";
|
|
@@ -15241,9 +15214,9 @@ export declare const ConsentConfigSchema: ZodObject<{
|
|
|
15241
15214
|
label: ZodString;
|
|
15242
15215
|
description: ZodString;
|
|
15243
15216
|
icon: ZodEnum<{
|
|
15244
|
-
search: "search";
|
|
15245
|
-
key: "key";
|
|
15246
15217
|
user: "user";
|
|
15218
|
+
key: "key";
|
|
15219
|
+
search: "search";
|
|
15247
15220
|
send: "send";
|
|
15248
15221
|
package: "package";
|
|
15249
15222
|
tools: "tools";
|
|
@@ -15525,9 +15498,9 @@ export declare const BouncerConfigSchema: ZodObject<{
|
|
|
15525
15498
|
label: ZodString;
|
|
15526
15499
|
description: ZodString;
|
|
15527
15500
|
icon: ZodEnum<{
|
|
15528
|
-
search: "search";
|
|
15529
|
-
key: "key";
|
|
15530
15501
|
user: "user";
|
|
15502
|
+
key: "key";
|
|
15503
|
+
search: "search";
|
|
15531
15504
|
send: "send";
|
|
15532
15505
|
package: "package";
|
|
15533
15506
|
tools: "tools";
|
|
@@ -15683,9 +15656,9 @@ export declare const UpdateBouncerConfigSchema: ZodObject<{
|
|
|
15683
15656
|
label: ZodString;
|
|
15684
15657
|
description: ZodString;
|
|
15685
15658
|
icon: ZodEnum<{
|
|
15686
|
-
search: "search";
|
|
15687
|
-
key: "key";
|
|
15688
15659
|
user: "user";
|
|
15660
|
+
key: "key";
|
|
15661
|
+
search: "search";
|
|
15689
15662
|
send: "send";
|
|
15690
15663
|
package: "package";
|
|
15691
15664
|
tools: "tools";
|
|
@@ -15756,8 +15729,8 @@ export declare const RefreshScopesRequestSchema: ZodObject<{
|
|
|
15756
15729
|
type RefreshScopesRequest = output<typeof RefreshScopesRequestSchema>;
|
|
15757
15730
|
export declare const DelegationStatusSchema: ZodEnum<{
|
|
15758
15731
|
expired: "expired";
|
|
15759
|
-
revoked: "revoked";
|
|
15760
15732
|
active: "active";
|
|
15733
|
+
revoked: "revoked";
|
|
15761
15734
|
}>;
|
|
15762
15735
|
type DelegationStatus = output<typeof DelegationStatusSchema>;
|
|
15763
15736
|
export declare const DelegationSchema: ZodObject<{
|
|
@@ -15772,8 +15745,8 @@ export declare const DelegationSchema: ZodObject<{
|
|
|
15772
15745
|
constraints: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
|
|
15773
15746
|
status: ZodDefault<ZodEnum<{
|
|
15774
15747
|
expired: "expired";
|
|
15775
|
-
revoked: "revoked";
|
|
15776
15748
|
active: "active";
|
|
15749
|
+
revoked: "revoked";
|
|
15777
15750
|
}>>;
|
|
15778
15751
|
issuedAt: ZodString;
|
|
15779
15752
|
expiresAt: ZodOptional<ZodNullable<ZodString>>;
|
|
@@ -15820,8 +15793,8 @@ export declare const BouncerProofSchema: ZodObject<{
|
|
|
15820
15793
|
type BouncerProof = output<typeof BouncerProofSchema>;
|
|
15821
15794
|
export declare const DelegationPollingStatusSchema: ZodObject<{
|
|
15822
15795
|
status: ZodEnum<{
|
|
15823
|
-
error: "error";
|
|
15824
15796
|
expired: "expired";
|
|
15797
|
+
error: "error";
|
|
15825
15798
|
pending: "pending";
|
|
15826
15799
|
completed: "completed";
|
|
15827
15800
|
}>;
|
|
@@ -16368,9 +16341,9 @@ export declare const AnalyticsAgentSourcesQuerySchema: ZodObject<{
|
|
|
16368
16341
|
}>>>;
|
|
16369
16342
|
limit: ZodDefault<ZodOptional<ZodCoercedNumber<unknown>>>;
|
|
16370
16343
|
sortBy: ZodDefault<ZodOptional<ZodEnum<{
|
|
16371
|
-
count: "count";
|
|
16372
16344
|
name: "name";
|
|
16373
16345
|
confidence: "confidence";
|
|
16346
|
+
count: "count";
|
|
16374
16347
|
}>>>;
|
|
16375
16348
|
order: ZodDefault<ZodOptional<ZodEnum<{
|
|
16376
16349
|
asc: "asc";
|
|
@@ -16390,8 +16363,8 @@ export declare const AnalyticsAgentTypesQuerySchema: ZodObject<{
|
|
|
16390
16363
|
type AnalyticsAgentTypesQuery = output<typeof AnalyticsAgentTypesQuerySchema>;
|
|
16391
16364
|
export declare const AnalyticsExportQuerySchema: ZodObject<{
|
|
16392
16365
|
format: ZodDefault<ZodOptional<ZodEnum<{
|
|
16393
|
-
csv: "csv";
|
|
16394
16366
|
json: "json";
|
|
16367
|
+
csv: "csv";
|
|
16395
16368
|
excel: "excel";
|
|
16396
16369
|
}>>>;
|
|
16397
16370
|
startDate: ZodString;
|
|
@@ -16830,597 +16803,6 @@ export declare class StaleVendorRangesError extends Error {
|
|
|
16830
16803
|
}
|
|
16831
16804
|
export declare function assertVendorRangesFresh(vendors: VendorFreshnessInput[], now: Date, maxAgeMs?: number): void;
|
|
16832
16805
|
//#endregion
|
|
16833
|
-
//#region src/policy/schemas.d.ts
|
|
16834
|
-
export declare const EnforcementActionSchema: ZodEnum<{
|
|
16835
|
-
block: "block";
|
|
16836
|
-
log: "log";
|
|
16837
|
-
challenge: "challenge";
|
|
16838
|
-
allow: "allow";
|
|
16839
|
-
redirect: "redirect";
|
|
16840
|
-
permit: "permit";
|
|
16841
|
-
instruct: "instruct";
|
|
16842
|
-
}>;
|
|
16843
|
-
export declare const StrictEnforcementActionSchema: ZodEnum<{
|
|
16844
|
-
block: "block";
|
|
16845
|
-
challenge: "challenge";
|
|
16846
|
-
redirect: "redirect";
|
|
16847
|
-
permit: "permit";
|
|
16848
|
-
instruct: "instruct";
|
|
16849
|
-
}>;
|
|
16850
|
-
export declare const EnforcementModeSchema: ZodEnum<{
|
|
16851
|
-
observe: "observe";
|
|
16852
|
-
enforce: "enforce";
|
|
16853
|
-
}>;
|
|
16854
|
-
export declare const BlockReasonSchema: ZodDiscriminatedUnion<[ZodObject<{
|
|
16855
|
-
kind: ZodLiteral<"Revoked">;
|
|
16856
|
-
}, $strip>, ZodObject<{
|
|
16857
|
-
kind: ZodLiteral<"InvalidSignature">;
|
|
16858
|
-
}, $strip>, ZodObject<{
|
|
16859
|
-
kind: ZodLiteral<"Unauthenticated">;
|
|
16860
|
-
}, $strip>, ZodObject<{
|
|
16861
|
-
kind: ZodLiteral<"Expired">;
|
|
16862
|
-
}, $strip>, ZodObject<{
|
|
16863
|
-
kind: ZodLiteral<"OutOfScope">;
|
|
16864
|
-
requested: ZodString;
|
|
16865
|
-
granted: ZodArray<ZodString>;
|
|
16866
|
-
}, $strip>, ZodObject<{
|
|
16867
|
-
kind: ZodLiteral<"LowReputation">;
|
|
16868
|
-
score: ZodNumber;
|
|
16869
|
-
threshold: ZodNumber;
|
|
16870
|
-
}, $strip>, ZodObject<{
|
|
16871
|
-
kind: ZodLiteral<"PolicyDenied">;
|
|
16872
|
-
detail: ZodString;
|
|
16873
|
-
policyId: ZodOptional<ZodString>;
|
|
16874
|
-
}, $strip>, ZodObject<{
|
|
16875
|
-
kind: ZodLiteral<"AgentAttribution">;
|
|
16876
|
-
vendor: ZodString;
|
|
16877
|
-
tier: ZodNumber;
|
|
16878
|
-
confidence: ZodNumber;
|
|
16879
|
-
}, $strip>, ZodObject<{
|
|
16880
|
-
kind: ZodLiteral<"ParseError">;
|
|
16881
|
-
detail: ZodString;
|
|
16882
|
-
}, $strip>, ZodObject<{
|
|
16883
|
-
kind: ZodLiteral<"Tier3UAMatch">;
|
|
16884
|
-
pattern_id: ZodString;
|
|
16885
|
-
pattern_kind: ZodString;
|
|
16886
|
-
confidence: ZodNumber;
|
|
16887
|
-
}, $strip>], "kind">;
|
|
16888
|
-
type BlockReason = output<typeof BlockReasonSchema>;
|
|
16889
|
-
export declare const AssuranceTierSchema: ZodEnum<{
|
|
16890
|
-
registered: "registered";
|
|
16891
|
-
anonymous: "anonymous";
|
|
16892
|
-
"attested-bearer": "attested-bearer";
|
|
16893
|
-
"key-bound": "key-bound";
|
|
16894
|
-
delegated: "delegated";
|
|
16895
|
-
}>;
|
|
16896
|
-
type AssuranceTier = output<typeof AssuranceTierSchema>;
|
|
16897
|
-
export declare const ChallengeParamsSchema: ZodObject<{
|
|
16898
|
-
nonce: ZodString;
|
|
16899
|
-
audience: ZodString;
|
|
16900
|
-
expiresAt: ZodNumber;
|
|
16901
|
-
algorithmsAccepted: ZodArray<ZodString>;
|
|
16902
|
-
minAssurance: ZodOptional<ZodEnum<{
|
|
16903
|
-
registered: "registered";
|
|
16904
|
-
anonymous: "anonymous";
|
|
16905
|
-
"attested-bearer": "attested-bearer";
|
|
16906
|
-
"key-bound": "key-bound";
|
|
16907
|
-
delegated: "delegated";
|
|
16908
|
-
}>>;
|
|
16909
|
-
policyId: ZodOptional<ZodString>;
|
|
16910
|
-
challengeType: ZodOptional<ZodString>;
|
|
16911
|
-
}, $strip>;
|
|
16912
|
-
type ChallengeParams = output<typeof ChallengeParamsSchema>;
|
|
16913
|
-
export declare function normalizeChallengeType(challengeType: string | undefined): 'delegation' | 'browser_integrity' | 'human_step_up';
|
|
16914
|
-
export declare const RedirectTargetSchema: ZodObject<{
|
|
16915
|
-
url: ZodString;
|
|
16916
|
-
reason: ZodString;
|
|
16917
|
-
state: ZodOptional<ZodString>;
|
|
16918
|
-
policyId: ZodOptional<ZodString>;
|
|
16919
|
-
}, $strip>;
|
|
16920
|
-
type RedirectTarget = output<typeof RedirectTargetSchema>;
|
|
16921
|
-
export declare const SuggestedActionSchema: ZodDiscriminatedUnion<[ZodObject<{
|
|
16922
|
-
kind: ZodLiteral<"UseDifferentScope">;
|
|
16923
|
-
scope: ZodString;
|
|
16924
|
-
}, $strip>, ZodObject<{
|
|
16925
|
-
kind: ZodLiteral<"UpdateRequestField">;
|
|
16926
|
-
field: ZodString;
|
|
16927
|
-
acceptedValues: ZodArray<ZodString>;
|
|
16928
|
-
}, $strip>, ZodObject<{
|
|
16929
|
-
kind: ZodLiteral<"UpgradeProtocolVersion">;
|
|
16930
|
-
version: ZodString;
|
|
16931
|
-
}, $strip>, ZodObject<{
|
|
16932
|
-
kind: ZodLiteral<"Other">;
|
|
16933
|
-
code: ZodString;
|
|
16934
|
-
detail: ZodString;
|
|
16935
|
-
}, $strip>], "kind">;
|
|
16936
|
-
type SuggestedAction = output<typeof SuggestedActionSchema>;
|
|
16937
|
-
export declare const InstructPayloadSchema: ZodObject<{
|
|
16938
|
-
problem: ZodString;
|
|
16939
|
-
title: ZodString;
|
|
16940
|
-
suggestedActions: ZodArray<ZodDiscriminatedUnion<[ZodObject<{
|
|
16941
|
-
kind: ZodLiteral<"UseDifferentScope">;
|
|
16942
|
-
scope: ZodString;
|
|
16943
|
-
}, $strip>, ZodObject<{
|
|
16944
|
-
kind: ZodLiteral<"UpdateRequestField">;
|
|
16945
|
-
field: ZodString;
|
|
16946
|
-
acceptedValues: ZodArray<ZodString>;
|
|
16947
|
-
}, $strip>, ZodObject<{
|
|
16948
|
-
kind: ZodLiteral<"UpgradeProtocolVersion">;
|
|
16949
|
-
version: ZodString;
|
|
16950
|
-
}, $strip>, ZodObject<{
|
|
16951
|
-
kind: ZodLiteral<"Other">;
|
|
16952
|
-
code: ZodString;
|
|
16953
|
-
detail: ZodString;
|
|
16954
|
-
}, $strip>], "kind">>;
|
|
16955
|
-
policyId: ZodOptional<ZodString>;
|
|
16956
|
-
}, $strip>;
|
|
16957
|
-
type InstructPayload = output<typeof InstructPayloadSchema>;
|
|
16958
|
-
export declare const DecisionSchema: ZodDiscriminatedUnion<[ZodObject<{
|
|
16959
|
-
kind: ZodLiteral<"Permit">;
|
|
16960
|
-
policyId: ZodOptional<ZodString>;
|
|
16961
|
-
}, $strip>, ZodObject<{
|
|
16962
|
-
kind: ZodLiteral<"Block">;
|
|
16963
|
-
reason: ZodDiscriminatedUnion<[ZodObject<{
|
|
16964
|
-
kind: ZodLiteral<"Revoked">;
|
|
16965
|
-
}, $strip>, ZodObject<{
|
|
16966
|
-
kind: ZodLiteral<"InvalidSignature">;
|
|
16967
|
-
}, $strip>, ZodObject<{
|
|
16968
|
-
kind: ZodLiteral<"Unauthenticated">;
|
|
16969
|
-
}, $strip>, ZodObject<{
|
|
16970
|
-
kind: ZodLiteral<"Expired">;
|
|
16971
|
-
}, $strip>, ZodObject<{
|
|
16972
|
-
kind: ZodLiteral<"OutOfScope">;
|
|
16973
|
-
requested: ZodString;
|
|
16974
|
-
granted: ZodArray<ZodString>;
|
|
16975
|
-
}, $strip>, ZodObject<{
|
|
16976
|
-
kind: ZodLiteral<"LowReputation">;
|
|
16977
|
-
score: ZodNumber;
|
|
16978
|
-
threshold: ZodNumber;
|
|
16979
|
-
}, $strip>, ZodObject<{
|
|
16980
|
-
kind: ZodLiteral<"PolicyDenied">;
|
|
16981
|
-
detail: ZodString;
|
|
16982
|
-
policyId: ZodOptional<ZodString>;
|
|
16983
|
-
}, $strip>, ZodObject<{
|
|
16984
|
-
kind: ZodLiteral<"AgentAttribution">;
|
|
16985
|
-
vendor: ZodString;
|
|
16986
|
-
tier: ZodNumber;
|
|
16987
|
-
confidence: ZodNumber;
|
|
16988
|
-
}, $strip>, ZodObject<{
|
|
16989
|
-
kind: ZodLiteral<"ParseError">;
|
|
16990
|
-
detail: ZodString;
|
|
16991
|
-
}, $strip>, ZodObject<{
|
|
16992
|
-
kind: ZodLiteral<"Tier3UAMatch">;
|
|
16993
|
-
pattern_id: ZodString;
|
|
16994
|
-
pattern_kind: ZodString;
|
|
16995
|
-
confidence: ZodNumber;
|
|
16996
|
-
}, $strip>], "kind">;
|
|
16997
|
-
}, $strip>, ZodObject<{
|
|
16998
|
-
kind: ZodLiteral<"Challenge">;
|
|
16999
|
-
params: ZodObject<{
|
|
17000
|
-
nonce: ZodString;
|
|
17001
|
-
audience: ZodString;
|
|
17002
|
-
expiresAt: ZodNumber;
|
|
17003
|
-
algorithmsAccepted: ZodArray<ZodString>;
|
|
17004
|
-
minAssurance: ZodOptional<ZodEnum<{
|
|
17005
|
-
registered: "registered";
|
|
17006
|
-
anonymous: "anonymous";
|
|
17007
|
-
"attested-bearer": "attested-bearer";
|
|
17008
|
-
"key-bound": "key-bound";
|
|
17009
|
-
delegated: "delegated";
|
|
17010
|
-
}>>;
|
|
17011
|
-
policyId: ZodOptional<ZodString>;
|
|
17012
|
-
challengeType: ZodOptional<ZodString>;
|
|
17013
|
-
}, $strip>;
|
|
17014
|
-
}, $strip>, ZodObject<{
|
|
17015
|
-
kind: ZodLiteral<"Redirect">;
|
|
17016
|
-
target: ZodObject<{
|
|
17017
|
-
url: ZodString;
|
|
17018
|
-
reason: ZodString;
|
|
17019
|
-
state: ZodOptional<ZodString>;
|
|
17020
|
-
policyId: ZodOptional<ZodString>;
|
|
17021
|
-
}, $strip>;
|
|
17022
|
-
}, $strip>, ZodObject<{
|
|
17023
|
-
kind: ZodLiteral<"Instruct">;
|
|
17024
|
-
payload: ZodObject<{
|
|
17025
|
-
problem: ZodString;
|
|
17026
|
-
title: ZodString;
|
|
17027
|
-
suggestedActions: ZodArray<ZodDiscriminatedUnion<[ZodObject<{
|
|
17028
|
-
kind: ZodLiteral<"UseDifferentScope">;
|
|
17029
|
-
scope: ZodString;
|
|
17030
|
-
}, $strip>, ZodObject<{
|
|
17031
|
-
kind: ZodLiteral<"UpdateRequestField">;
|
|
17032
|
-
field: ZodString;
|
|
17033
|
-
acceptedValues: ZodArray<ZodString>;
|
|
17034
|
-
}, $strip>, ZodObject<{
|
|
17035
|
-
kind: ZodLiteral<"UpgradeProtocolVersion">;
|
|
17036
|
-
version: ZodString;
|
|
17037
|
-
}, $strip>, ZodObject<{
|
|
17038
|
-
kind: ZodLiteral<"Other">;
|
|
17039
|
-
code: ZodString;
|
|
17040
|
-
detail: ZodString;
|
|
17041
|
-
}, $strip>], "kind">>;
|
|
17042
|
-
policyId: ZodOptional<ZodString>;
|
|
17043
|
-
}, $strip>;
|
|
17044
|
-
}, $strip>], "kind">;
|
|
17045
|
-
type Decision = output<typeof DecisionSchema>;
|
|
17046
|
-
export declare const ThresholdConfigSchema: ZodObject<{
|
|
17047
|
-
confidenceThreshold: ZodDefault<ZodNumber>;
|
|
17048
|
-
confidenceAction: ZodDefault<ZodEnum<{
|
|
17049
|
-
block: "block";
|
|
17050
|
-
log: "log";
|
|
17051
|
-
challenge: "challenge";
|
|
17052
|
-
allow: "allow";
|
|
17053
|
-
redirect: "redirect";
|
|
17054
|
-
permit: "permit";
|
|
17055
|
-
instruct: "instruct";
|
|
17056
|
-
}>>;
|
|
17057
|
-
minReputationScore: ZodDefault<ZodNumber>;
|
|
17058
|
-
lowReputationAction: ZodDefault<ZodEnum<{
|
|
17059
|
-
block: "block";
|
|
17060
|
-
log: "log";
|
|
17061
|
-
challenge: "challenge";
|
|
17062
|
-
allow: "allow";
|
|
17063
|
-
redirect: "redirect";
|
|
17064
|
-
permit: "permit";
|
|
17065
|
-
instruct: "instruct";
|
|
17066
|
-
}>>;
|
|
17067
|
-
trustedReputationThreshold: ZodDefault<ZodNumber>;
|
|
17068
|
-
trustSignedRequests: ZodDefault<ZodBoolean>;
|
|
17069
|
-
}, $strip>;
|
|
17070
|
-
export declare const DenyListEntrySchema: ZodObject<{
|
|
17071
|
-
clientDid: ZodOptional<ZodString>;
|
|
17072
|
-
agentDid: ZodOptional<ZodString>;
|
|
17073
|
-
clientName: ZodOptional<ZodString>;
|
|
17074
|
-
agentType: ZodOptional<ZodString>;
|
|
17075
|
-
reason: ZodOptional<ZodString>;
|
|
17076
|
-
blockedAt: ZodOptional<ZodString>;
|
|
17077
|
-
addedBy: ZodOptional<ZodString>;
|
|
17078
|
-
active: ZodDefault<ZodBoolean>;
|
|
17079
|
-
expiresAt: ZodOptional<ZodString>;
|
|
17080
|
-
}, $strip>;
|
|
17081
|
-
export declare const AllowListEntrySchema: ZodObject<{
|
|
17082
|
-
clientDid: ZodOptional<ZodString>;
|
|
17083
|
-
agentDid: ZodOptional<ZodString>;
|
|
17084
|
-
clientName: ZodOptional<ZodString>;
|
|
17085
|
-
agentType: ZodOptional<ZodString>;
|
|
17086
|
-
reason: ZodOptional<ZodString>;
|
|
17087
|
-
addedAt: ZodOptional<ZodString>;
|
|
17088
|
-
addedBy: ZodOptional<ZodString>;
|
|
17089
|
-
}, $strip>;
|
|
17090
|
-
export declare const ConditionOperatorSchema: ZodEnum<{
|
|
17091
|
-
in: "in";
|
|
17092
|
-
matches: "matches";
|
|
17093
|
-
equals: "equals";
|
|
17094
|
-
notEquals: "notEquals";
|
|
17095
|
-
contains: "contains";
|
|
17096
|
-
notContains: "notContains";
|
|
17097
|
-
startsWith: "startsWith";
|
|
17098
|
-
endsWith: "endsWith";
|
|
17099
|
-
greaterThan: "greaterThan";
|
|
17100
|
-
lessThan: "lessThan";
|
|
17101
|
-
greaterThanOrEquals: "greaterThanOrEquals";
|
|
17102
|
-
lessThanOrEquals: "lessThanOrEquals";
|
|
17103
|
-
notIn: "notIn";
|
|
17104
|
-
}>;
|
|
17105
|
-
export declare const ConditionFieldSchema: ZodEnum<{
|
|
17106
|
-
path: "path";
|
|
17107
|
-
origin: "origin";
|
|
17108
|
-
confidence: "confidence";
|
|
17109
|
-
agentType: "agentType";
|
|
17110
|
-
userAgent: "userAgent";
|
|
17111
|
-
method: "method";
|
|
17112
|
-
riskLevel: "riskLevel";
|
|
17113
|
-
agentName: "agentName";
|
|
17114
|
-
agentDid: "agentDid";
|
|
17115
|
-
clientDid: "clientDid";
|
|
17116
|
-
agentVendor: "agentVendor";
|
|
17117
|
-
reputationScore: "reputationScore";
|
|
17118
|
-
signatureVerified: "signatureVerified";
|
|
17119
|
-
isAuthenticated: "isAuthenticated";
|
|
17120
|
-
hasValidDelegation: "hasValidDelegation";
|
|
17121
|
-
}>;
|
|
17122
|
-
export declare const ConditionValueSchema: ZodUnion<readonly [ZodString, ZodNumber, ZodBoolean, ZodArray<ZodString>]>;
|
|
17123
|
-
export declare const PolicyConditionSchema: ZodObject<{
|
|
17124
|
-
field: ZodEnum<{
|
|
17125
|
-
path: "path";
|
|
17126
|
-
origin: "origin";
|
|
17127
|
-
confidence: "confidence";
|
|
17128
|
-
agentType: "agentType";
|
|
17129
|
-
userAgent: "userAgent";
|
|
17130
|
-
method: "method";
|
|
17131
|
-
riskLevel: "riskLevel";
|
|
17132
|
-
agentName: "agentName";
|
|
17133
|
-
agentDid: "agentDid";
|
|
17134
|
-
clientDid: "clientDid";
|
|
17135
|
-
agentVendor: "agentVendor";
|
|
17136
|
-
reputationScore: "reputationScore";
|
|
17137
|
-
signatureVerified: "signatureVerified";
|
|
17138
|
-
isAuthenticated: "isAuthenticated";
|
|
17139
|
-
hasValidDelegation: "hasValidDelegation";
|
|
17140
|
-
}>;
|
|
17141
|
-
operator: ZodEnum<{
|
|
17142
|
-
in: "in";
|
|
17143
|
-
matches: "matches";
|
|
17144
|
-
equals: "equals";
|
|
17145
|
-
notEquals: "notEquals";
|
|
17146
|
-
contains: "contains";
|
|
17147
|
-
notContains: "notContains";
|
|
17148
|
-
startsWith: "startsWith";
|
|
17149
|
-
endsWith: "endsWith";
|
|
17150
|
-
greaterThan: "greaterThan";
|
|
17151
|
-
lessThan: "lessThan";
|
|
17152
|
-
greaterThanOrEquals: "greaterThanOrEquals";
|
|
17153
|
-
lessThanOrEquals: "lessThanOrEquals";
|
|
17154
|
-
notIn: "notIn";
|
|
17155
|
-
}>;
|
|
17156
|
-
value: ZodUnion<readonly [ZodString, ZodNumber, ZodBoolean, ZodArray<ZodString>]>;
|
|
17157
|
-
caseInsensitive: ZodOptional<ZodBoolean>;
|
|
17158
|
-
}, $strip>;
|
|
17159
|
-
export declare const RuleMetadataSchema: ZodObject<{
|
|
17160
|
-
createdAt: ZodOptional<ZodString>;
|
|
17161
|
-
updatedAt: ZodOptional<ZodString>;
|
|
17162
|
-
createdBy: ZodOptional<ZodString>;
|
|
17163
|
-
}, $strip>;
|
|
17164
|
-
export declare const PolicyRuleSchema: ZodObject<{
|
|
17165
|
-
id: ZodString;
|
|
17166
|
-
name: ZodString;
|
|
17167
|
-
description: ZodOptional<ZodString>;
|
|
17168
|
-
priority: ZodDefault<ZodNumber>;
|
|
17169
|
-
conditions: ZodArray<ZodObject<{
|
|
17170
|
-
field: ZodEnum<{
|
|
17171
|
-
path: "path";
|
|
17172
|
-
origin: "origin";
|
|
17173
|
-
confidence: "confidence";
|
|
17174
|
-
agentType: "agentType";
|
|
17175
|
-
userAgent: "userAgent";
|
|
17176
|
-
method: "method";
|
|
17177
|
-
riskLevel: "riskLevel";
|
|
17178
|
-
agentName: "agentName";
|
|
17179
|
-
agentDid: "agentDid";
|
|
17180
|
-
clientDid: "clientDid";
|
|
17181
|
-
agentVendor: "agentVendor";
|
|
17182
|
-
reputationScore: "reputationScore";
|
|
17183
|
-
signatureVerified: "signatureVerified";
|
|
17184
|
-
isAuthenticated: "isAuthenticated";
|
|
17185
|
-
hasValidDelegation: "hasValidDelegation";
|
|
17186
|
-
}>;
|
|
17187
|
-
operator: ZodEnum<{
|
|
17188
|
-
in: "in";
|
|
17189
|
-
matches: "matches";
|
|
17190
|
-
equals: "equals";
|
|
17191
|
-
notEquals: "notEquals";
|
|
17192
|
-
contains: "contains";
|
|
17193
|
-
notContains: "notContains";
|
|
17194
|
-
startsWith: "startsWith";
|
|
17195
|
-
endsWith: "endsWith";
|
|
17196
|
-
greaterThan: "greaterThan";
|
|
17197
|
-
lessThan: "lessThan";
|
|
17198
|
-
greaterThanOrEquals: "greaterThanOrEquals";
|
|
17199
|
-
lessThanOrEquals: "lessThanOrEquals";
|
|
17200
|
-
notIn: "notIn";
|
|
17201
|
-
}>;
|
|
17202
|
-
value: ZodUnion<readonly [ZodString, ZodNumber, ZodBoolean, ZodArray<ZodString>]>;
|
|
17203
|
-
caseInsensitive: ZodOptional<ZodBoolean>;
|
|
17204
|
-
}, $strip>>;
|
|
17205
|
-
action: ZodEnum<{
|
|
17206
|
-
block: "block";
|
|
17207
|
-
log: "log";
|
|
17208
|
-
challenge: "challenge";
|
|
17209
|
-
allow: "allow";
|
|
17210
|
-
redirect: "redirect";
|
|
17211
|
-
permit: "permit";
|
|
17212
|
-
instruct: "instruct";
|
|
17213
|
-
}>;
|
|
17214
|
-
redirectUrl: ZodOptional<ZodString>;
|
|
17215
|
-
message: ZodOptional<ZodString>;
|
|
17216
|
-
enabled: ZodDefault<ZodBoolean>;
|
|
17217
|
-
metadata: ZodOptional<ZodObject<{
|
|
17218
|
-
createdAt: ZodOptional<ZodString>;
|
|
17219
|
-
updatedAt: ZodOptional<ZodString>;
|
|
17220
|
-
createdBy: ZodOptional<ZodString>;
|
|
17221
|
-
}, $strip>>;
|
|
17222
|
-
}, $strip>;
|
|
17223
|
-
export declare const PolicyMetadataSchema: ZodObject<{
|
|
17224
|
-
lastUpdated: ZodOptional<ZodString>;
|
|
17225
|
-
updatedBy: ZodOptional<ZodString>;
|
|
17226
|
-
policyId: ZodOptional<ZodString>;
|
|
17227
|
-
}, $strip>;
|
|
17228
|
-
export declare const PolicyConfigSchema: ZodObject<{
|
|
17229
|
-
version: ZodDefault<ZodString>;
|
|
17230
|
-
enabled: ZodDefault<ZodBoolean>;
|
|
17231
|
-
defaultAction: ZodDefault<ZodEnum<{
|
|
17232
|
-
block: "block";
|
|
17233
|
-
log: "log";
|
|
17234
|
-
challenge: "challenge";
|
|
17235
|
-
allow: "allow";
|
|
17236
|
-
redirect: "redirect";
|
|
17237
|
-
permit: "permit";
|
|
17238
|
-
instruct: "instruct";
|
|
17239
|
-
}>>;
|
|
17240
|
-
redirectUrl: ZodOptional<ZodString>;
|
|
17241
|
-
thresholds: ZodPrefault<ZodObject<{
|
|
17242
|
-
confidenceThreshold: ZodDefault<ZodNumber>;
|
|
17243
|
-
confidenceAction: ZodDefault<ZodEnum<{
|
|
17244
|
-
block: "block";
|
|
17245
|
-
log: "log";
|
|
17246
|
-
challenge: "challenge";
|
|
17247
|
-
allow: "allow";
|
|
17248
|
-
redirect: "redirect";
|
|
17249
|
-
permit: "permit";
|
|
17250
|
-
instruct: "instruct";
|
|
17251
|
-
}>>;
|
|
17252
|
-
minReputationScore: ZodDefault<ZodNumber>;
|
|
17253
|
-
lowReputationAction: ZodDefault<ZodEnum<{
|
|
17254
|
-
block: "block";
|
|
17255
|
-
log: "log";
|
|
17256
|
-
challenge: "challenge";
|
|
17257
|
-
allow: "allow";
|
|
17258
|
-
redirect: "redirect";
|
|
17259
|
-
permit: "permit";
|
|
17260
|
-
instruct: "instruct";
|
|
17261
|
-
}>>;
|
|
17262
|
-
trustedReputationThreshold: ZodDefault<ZodNumber>;
|
|
17263
|
-
trustSignedRequests: ZodDefault<ZodBoolean>;
|
|
17264
|
-
}, $strip>>;
|
|
17265
|
-
denyList: ZodDefault<ZodArray<ZodObject<{
|
|
17266
|
-
clientDid: ZodOptional<ZodString>;
|
|
17267
|
-
agentDid: ZodOptional<ZodString>;
|
|
17268
|
-
clientName: ZodOptional<ZodString>;
|
|
17269
|
-
agentType: ZodOptional<ZodString>;
|
|
17270
|
-
reason: ZodOptional<ZodString>;
|
|
17271
|
-
blockedAt: ZodOptional<ZodString>;
|
|
17272
|
-
addedBy: ZodOptional<ZodString>;
|
|
17273
|
-
active: ZodDefault<ZodBoolean>;
|
|
17274
|
-
expiresAt: ZodOptional<ZodString>;
|
|
17275
|
-
}, $strip>>>;
|
|
17276
|
-
allowList: ZodDefault<ZodArray<ZodObject<{
|
|
17277
|
-
clientDid: ZodOptional<ZodString>;
|
|
17278
|
-
agentDid: ZodOptional<ZodString>;
|
|
17279
|
-
clientName: ZodOptional<ZodString>;
|
|
17280
|
-
agentType: ZodOptional<ZodString>;
|
|
17281
|
-
reason: ZodOptional<ZodString>;
|
|
17282
|
-
addedAt: ZodOptional<ZodString>;
|
|
17283
|
-
addedBy: ZodOptional<ZodString>;
|
|
17284
|
-
}, $strip>>>;
|
|
17285
|
-
rules: ZodDefault<ZodArray<ZodObject<{
|
|
17286
|
-
id: ZodString;
|
|
17287
|
-
name: ZodString;
|
|
17288
|
-
description: ZodOptional<ZodString>;
|
|
17289
|
-
priority: ZodDefault<ZodNumber>;
|
|
17290
|
-
conditions: ZodArray<ZodObject<{
|
|
17291
|
-
field: ZodEnum<{
|
|
17292
|
-
path: "path";
|
|
17293
|
-
origin: "origin";
|
|
17294
|
-
confidence: "confidence";
|
|
17295
|
-
agentType: "agentType";
|
|
17296
|
-
userAgent: "userAgent";
|
|
17297
|
-
method: "method";
|
|
17298
|
-
riskLevel: "riskLevel";
|
|
17299
|
-
agentName: "agentName";
|
|
17300
|
-
agentDid: "agentDid";
|
|
17301
|
-
clientDid: "clientDid";
|
|
17302
|
-
agentVendor: "agentVendor";
|
|
17303
|
-
reputationScore: "reputationScore";
|
|
17304
|
-
signatureVerified: "signatureVerified";
|
|
17305
|
-
isAuthenticated: "isAuthenticated";
|
|
17306
|
-
hasValidDelegation: "hasValidDelegation";
|
|
17307
|
-
}>;
|
|
17308
|
-
operator: ZodEnum<{
|
|
17309
|
-
in: "in";
|
|
17310
|
-
matches: "matches";
|
|
17311
|
-
equals: "equals";
|
|
17312
|
-
notEquals: "notEquals";
|
|
17313
|
-
contains: "contains";
|
|
17314
|
-
notContains: "notContains";
|
|
17315
|
-
startsWith: "startsWith";
|
|
17316
|
-
endsWith: "endsWith";
|
|
17317
|
-
greaterThan: "greaterThan";
|
|
17318
|
-
lessThan: "lessThan";
|
|
17319
|
-
greaterThanOrEquals: "greaterThanOrEquals";
|
|
17320
|
-
lessThanOrEquals: "lessThanOrEquals";
|
|
17321
|
-
notIn: "notIn";
|
|
17322
|
-
}>;
|
|
17323
|
-
value: ZodUnion<readonly [ZodString, ZodNumber, ZodBoolean, ZodArray<ZodString>]>;
|
|
17324
|
-
caseInsensitive: ZodOptional<ZodBoolean>;
|
|
17325
|
-
}, $strip>>;
|
|
17326
|
-
action: ZodEnum<{
|
|
17327
|
-
block: "block";
|
|
17328
|
-
log: "log";
|
|
17329
|
-
challenge: "challenge";
|
|
17330
|
-
allow: "allow";
|
|
17331
|
-
redirect: "redirect";
|
|
17332
|
-
permit: "permit";
|
|
17333
|
-
instruct: "instruct";
|
|
17334
|
-
}>;
|
|
17335
|
-
redirectUrl: ZodOptional<ZodString>;
|
|
17336
|
-
message: ZodOptional<ZodString>;
|
|
17337
|
-
enabled: ZodDefault<ZodBoolean>;
|
|
17338
|
-
metadata: ZodOptional<ZodObject<{
|
|
17339
|
-
createdAt: ZodOptional<ZodString>;
|
|
17340
|
-
updatedAt: ZodOptional<ZodString>;
|
|
17341
|
-
createdBy: ZodOptional<ZodString>;
|
|
17342
|
-
}, $strip>>;
|
|
17343
|
-
}, $strip>>>;
|
|
17344
|
-
excludedPaths: ZodDefault<ZodArray<ZodString>>;
|
|
17345
|
-
includedPaths: ZodOptional<ZodArray<ZodString>>;
|
|
17346
|
-
metadata: ZodOptional<ZodObject<{
|
|
17347
|
-
lastUpdated: ZodOptional<ZodString>;
|
|
17348
|
-
updatedBy: ZodOptional<ZodString>;
|
|
17349
|
-
policyId: ZodOptional<ZodString>;
|
|
17350
|
-
}, $strip>>;
|
|
17351
|
-
policySourceText: ZodOptional<ZodNullable<ZodString>>;
|
|
17352
|
-
policyLanguage: ZodOptional<ZodNullable<ZodString>>;
|
|
17353
|
-
policySourceHash: ZodOptional<ZodNullable<ZodString>>;
|
|
17354
|
-
engineEnforcementEnabled: ZodDefault<ZodOptional<ZodBoolean>>;
|
|
17355
|
-
trustedDelegationRoots: ZodOptional<ZodArray<ZodString>>;
|
|
17356
|
-
authorizationServerIssuer: ZodOptional<ZodString>;
|
|
17357
|
-
}, $strip>;
|
|
17358
|
-
export declare const PolicyEvaluationContextSchema: ZodObject<{
|
|
17359
|
-
agentType: ZodOptional<ZodString>;
|
|
17360
|
-
agentName: ZodOptional<ZodString>;
|
|
17361
|
-
agentVendor: ZodOptional<ZodString>;
|
|
17362
|
-
clientDid: ZodOptional<ZodString>;
|
|
17363
|
-
agentDid: ZodOptional<ZodString>;
|
|
17364
|
-
confidence: ZodOptional<ZodNumber>;
|
|
17365
|
-
reputationScore: ZodOptional<ZodNumber>;
|
|
17366
|
-
riskLevel: ZodOptional<ZodString>;
|
|
17367
|
-
path: ZodOptional<ZodString>;
|
|
17368
|
-
method: ZodOptional<ZodString>;
|
|
17369
|
-
origin: ZodOptional<ZodString>;
|
|
17370
|
-
userAgent: ZodOptional<ZodString>;
|
|
17371
|
-
signatureVerified: ZodDefault<ZodBoolean>;
|
|
17372
|
-
isAuthenticated: ZodDefault<ZodBoolean>;
|
|
17373
|
-
hasValidDelegation: ZodDefault<ZodBoolean>;
|
|
17374
|
-
}, $strip>;
|
|
17375
|
-
export declare const PolicyMatchTypeSchema: ZodEnum<{
|
|
17376
|
-
default: "default";
|
|
17377
|
-
rule: "rule";
|
|
17378
|
-
threshold: "threshold";
|
|
17379
|
-
"allow-list": "allow-list";
|
|
17380
|
-
"deny-list": "deny-list";
|
|
17381
|
-
}>;
|
|
17382
|
-
export declare const PolicyEvaluationResultSchema: ZodObject<{
|
|
17383
|
-
action: ZodEnum<{
|
|
17384
|
-
block: "block";
|
|
17385
|
-
log: "log";
|
|
17386
|
-
challenge: "challenge";
|
|
17387
|
-
allow: "allow";
|
|
17388
|
-
redirect: "redirect";
|
|
17389
|
-
permit: "permit";
|
|
17390
|
-
instruct: "instruct";
|
|
17391
|
-
}>;
|
|
17392
|
-
reason: ZodString;
|
|
17393
|
-
ruleId: ZodOptional<ZodString>;
|
|
17394
|
-
ruleName: ZodOptional<ZodString>;
|
|
17395
|
-
redirectUrl: ZodOptional<ZodString>;
|
|
17396
|
-
message: ZodOptional<ZodString>;
|
|
17397
|
-
matchType: ZodEnum<{
|
|
17398
|
-
default: "default";
|
|
17399
|
-
rule: "rule";
|
|
17400
|
-
threshold: "threshold";
|
|
17401
|
-
"allow-list": "allow-list";
|
|
17402
|
-
"deny-list": "deny-list";
|
|
17403
|
-
}>;
|
|
17404
|
-
}, $strip>;
|
|
17405
|
-
type ThresholdConfig = output<typeof ThresholdConfigSchema>;
|
|
17406
|
-
type DenyListEntry = output<typeof DenyListEntrySchema>;
|
|
17407
|
-
type AllowListEntry = output<typeof AllowListEntrySchema>;
|
|
17408
|
-
type ConditionValue = output<typeof ConditionValueSchema>;
|
|
17409
|
-
type PolicyCondition = output<typeof PolicyConditionSchema>;
|
|
17410
|
-
type RuleMetadata = output<typeof RuleMetadataSchema>;
|
|
17411
|
-
type PolicyRule = output<typeof PolicyRuleSchema>;
|
|
17412
|
-
type PolicyMetadata = output<typeof PolicyMetadataSchema>;
|
|
17413
|
-
type PolicyConfig = output<typeof PolicyConfigSchema>;
|
|
17414
|
-
export declare function isEngineEnforcing(flags: {
|
|
17415
|
-
engineEnforcementEnabled?: boolean | null;
|
|
17416
|
-
enabled?: boolean | null;
|
|
17417
|
-
}): boolean;
|
|
17418
|
-
type PolicyEvaluationContext = output<typeof PolicyEvaluationContextSchema>;
|
|
17419
|
-
type PolicyEvaluationResult = output<typeof PolicyEvaluationResultSchema>;
|
|
17420
|
-
export declare function parsePolicyConfig(data: unknown): PolicyConfig;
|
|
17421
|
-
export declare function safeParsePolicyConfig(data: unknown): PolicyConfig | null;
|
|
17422
|
-
export declare function parseEvaluationContext(data: unknown): PolicyEvaluationContext;
|
|
17423
|
-
//#endregion
|
|
17424
16806
|
//#region src/policy/constants.d.ts
|
|
17425
16807
|
export declare const ENFORCEMENT_ACTIONS: {
|
|
17426
16808
|
readonly PERMIT: "permit";
|
|
@@ -17511,75 +16893,10 @@ export declare const CACHE_TTL: {
|
|
|
17511
16893
|
};
|
|
17512
16894
|
export declare const CURRENT_POLICY_VERSION = "1.0.0";
|
|
17513
16895
|
//#endregion
|
|
17514
|
-
//#region src/policy/fail-closed-response.d.ts
|
|
17515
|
-
export declare const FAIL_CLOSED_STATUS = 503;
|
|
17516
|
-
export declare const FAIL_CLOSED_BODY: {
|
|
17517
|
-
readonly error: "Service temporarily unavailable";
|
|
17518
|
-
readonly source: "checkpoint-middleware";
|
|
17519
|
-
};
|
|
17520
|
-
export declare const FAIL_CLOSED_HEADERS: Readonly<Record<string, string>>;
|
|
17521
|
-
//#endregion
|
|
17522
16896
|
//#region src/policy/evaluator.d.ts
|
|
17523
16897
|
export declare function evaluatePolicy(policy: PolicyConfig, context: PolicyEvaluationContext): PolicyEvaluationResult;
|
|
17524
16898
|
export declare function matchPath(path: string, pattern: string): boolean;
|
|
17525
16899
|
//#endregion
|
|
17526
|
-
//#region src/policy/legacy-carve-out.d.ts
|
|
17527
|
-
export declare const NO_EVIDENCE_CATEGORY = "no_evidence";
|
|
17528
|
-
export declare const NO_EVIDENCE_EXCLUSION_TERM = "principal.category != \"no_evidence\"";
|
|
17529
|
-
export declare const NO_EVIDENCE_EQUALITY_TERM = "principal.category == \"no_evidence\"";
|
|
17530
|
-
export declare function withNoEvidenceExclusion(cedar: string): string;
|
|
17531
|
-
//#endregion
|
|
17532
|
-
//#region src/policy/cedar-principal-scope.d.ts
|
|
17533
|
-
type ProbeClass = 'human' | typeof NO_EVIDENCE_CATEGORY;
|
|
17534
|
-
interface CedarCondition {
|
|
17535
|
-
kind: 'when' | 'unless';
|
|
17536
|
-
body: string;
|
|
17537
|
-
}
|
|
17538
|
-
interface CedarStatement {
|
|
17539
|
-
effect: 'forbid' | 'permit';
|
|
17540
|
-
blockStart: number;
|
|
17541
|
-
start: number;
|
|
17542
|
-
end: number;
|
|
17543
|
-
text: string;
|
|
17544
|
-
scope: string;
|
|
17545
|
-
conditions: CedarCondition[];
|
|
17546
|
-
annotations: string;
|
|
17547
|
-
}
|
|
17548
|
-
interface Facts {
|
|
17549
|
-
category: string;
|
|
17550
|
-
path?: string;
|
|
17551
|
-
discountNaming?: boolean;
|
|
17552
|
-
}
|
|
17553
|
-
export declare function parseCedarStatements(cedar: string): CedarStatement[];
|
|
17554
|
-
export declare function statementApplies(statement: CedarStatement, facts: Facts): boolean;
|
|
17555
|
-
export declare function statementId(statement: CedarStatement): string | undefined;
|
|
17556
|
-
//#endregion
|
|
17557
|
-
//#region src/policy/cedar-rule-match.d.ts
|
|
17558
|
-
interface RequestFacts {
|
|
17559
|
-
path?: string;
|
|
17560
|
-
name?: string;
|
|
17561
|
-
category?: string;
|
|
17562
|
-
}
|
|
17563
|
-
export declare function pathLiteralsInBlock(block: string): string[];
|
|
17564
|
-
export declare function splitCedarBlocks(cedar: string): string[];
|
|
17565
|
-
export declare function blockEqualityLiterals(block: string, attr: string): string[];
|
|
17566
|
-
export declare function isForbidBlock(block: string): boolean;
|
|
17567
|
-
export declare function isUnnarrowedDenyBlock(block: string): boolean;
|
|
17568
|
-
interface PolicyHazardAnalysis {
|
|
17569
|
-
unnarrowedDenyFor(path: string, probe: ProbeClass): boolean;
|
|
17570
|
-
explicitDenyFor(path: string, probe: ProbeClass): boolean;
|
|
17571
|
-
humanHazard(path: string): boolean;
|
|
17572
|
-
noEvidenceHazard(path: string): boolean;
|
|
17573
|
-
noEvidenceNamed(path: string): boolean;
|
|
17574
|
-
}
|
|
17575
|
-
export declare function analyzePolicySource(cedar: string): PolicyHazardAnalysis;
|
|
17576
|
-
export declare function pathHasUnnarrowedDenyRuleFor(cedar: string, path: string, probe: ProbeClass): boolean;
|
|
17577
|
-
export declare function pathHasExplicitDenyRuleFor(cedar: string, path: string, probe: ProbeClass): boolean;
|
|
17578
|
-
export declare function pathHasUnnarrowedDenyRule(cedar: string, path: string): boolean;
|
|
17579
|
-
//#endregion
|
|
17580
|
-
//#region src/policy/required-scopes.d.ts
|
|
17581
|
-
export declare function requiredScopesForRequest(policySource: string | null | undefined, request?: RequestFacts): string[];
|
|
17582
|
-
//#endregion
|
|
17583
16900
|
//#region src/policy/byte-bounded-memo.d.ts
|
|
17584
16901
|
export declare class ByteBoundedMemo<V> {
|
|
17585
16902
|
private readonly budgetBytes;
|
|
@@ -17589,26 +16906,6 @@ export declare class ByteBoundedMemo<V> {
|
|
|
17589
16906
|
remember(key: string, bytes: number, make: () => V): V;
|
|
17590
16907
|
}
|
|
17591
16908
|
//#endregion
|
|
17592
|
-
//#region src/policy/decision-policy-id.d.ts
|
|
17593
|
-
interface DecisionLike {
|
|
17594
|
-
kind: string;
|
|
17595
|
-
policyId?: string;
|
|
17596
|
-
reason?: {
|
|
17597
|
-
kind: string;
|
|
17598
|
-
policyId?: string;
|
|
17599
|
-
};
|
|
17600
|
-
params?: {
|
|
17601
|
-
policyId?: string;
|
|
17602
|
-
};
|
|
17603
|
-
target?: {
|
|
17604
|
-
policyId?: string;
|
|
17605
|
-
};
|
|
17606
|
-
payload?: {
|
|
17607
|
-
policyId?: string;
|
|
17608
|
-
};
|
|
17609
|
-
}
|
|
17610
|
-
export declare function decisionPolicyId(decision: DecisionLike): string | undefined;
|
|
17611
|
-
//#endregion
|
|
17612
16909
|
//#region src/policy/bespoke-policy.d.ts
|
|
17613
16910
|
export declare const BESPOKE_POLICY_IDS: {
|
|
17614
16911
|
readonly denyList: "bespoke-deny-list";
|
|
@@ -17636,27 +16933,6 @@ export declare function escapeCedarString(value: string): string;
|
|
|
17636
16933
|
export declare function unescapeCedarString(value: string): string;
|
|
17637
16934
|
export declare function cedarQuotedValueRegExp(prefixSource: string, flags?: string): RegExp;
|
|
17638
16935
|
//#endregion
|
|
17639
|
-
//#region src/policy/approval-quorum.d.ts
|
|
17640
|
-
interface ApprovalQuorum {
|
|
17641
|
-
n: number;
|
|
17642
|
-
approvers: string[];
|
|
17643
|
-
}
|
|
17644
|
-
export declare function approvalQuorumForRequest(policySource: string | null | undefined, request?: RequestFacts): ApprovalQuorum | null;
|
|
17645
|
-
//#endregion
|
|
17646
|
-
//#region src/policy/step-up.d.ts
|
|
17647
|
-
interface StepUpQuorumLike {
|
|
17648
|
-
n: number;
|
|
17649
|
-
approvers: string[];
|
|
17650
|
-
}
|
|
17651
|
-
type InvalidStepUpReason = 'invalid_step_up_quorum' | 'step_up_no_approvers';
|
|
17652
|
-
type StepUpQuorumCheck = {
|
|
17653
|
-
ok: true;
|
|
17654
|
-
} | {
|
|
17655
|
-
ok: false;
|
|
17656
|
-
reason: InvalidStepUpReason;
|
|
17657
|
-
};
|
|
17658
|
-
export declare function validateStepUpQuorum(quorum: StepUpQuorumLike): StepUpQuorumCheck;
|
|
17659
|
-
//#endregion
|
|
17660
16936
|
//#region src/policy/fetcher.d.ts
|
|
17661
16937
|
interface PolicyCacheAdapter {
|
|
17662
16938
|
get(key: string): Promise<string | null>;
|
|
@@ -17719,149 +16995,6 @@ export declare function createEvaluationContext(options: {
|
|
|
17719
16995
|
userAgent?: string;
|
|
17720
16996
|
}): PolicyEvaluationContext;
|
|
17721
16997
|
//#endregion
|
|
17722
|
-
//#region src/host-adapter/verdict-cookie.d.ts
|
|
17723
|
-
interface RenderedResponseLike {
|
|
17724
|
-
status: number | null;
|
|
17725
|
-
headers: Record<string, string>;
|
|
17726
|
-
}
|
|
17727
|
-
export declare const VERDICT_COOKIE_NAME = "__checkpoint_verdict";
|
|
17728
|
-
type Verdict = 'allowed' | 'denied' | 'redirected';
|
|
17729
|
-
export declare function deriveVerdict(rendered: RenderedResponseLike): Verdict;
|
|
17730
|
-
export declare function encodeVerdictCookie(rendered: RenderedResponseLike): string;
|
|
17731
|
-
//#endregion
|
|
17732
|
-
//#region src/host-adapter/content-negotiation.d.ts
|
|
17733
|
-
export declare function acceptsHtml(input: Headers | Record<string, string | string[] | undefined> | string | undefined): boolean;
|
|
17734
|
-
//#endregion
|
|
17735
|
-
//#region src/host-adapter/decision-mapping.d.ts
|
|
17736
|
-
export declare const BLOCKED_PATH = "/blocked";
|
|
17737
|
-
type ResponseShape = 'pass-through' | 'redirect' | 'html-block' | 'json-block';
|
|
17738
|
-
export declare function classifyResponseShape(rendered: RenderedResponseLike, clientAcceptsHtml: boolean): ResponseShape;
|
|
17739
|
-
//#endregion
|
|
17740
|
-
//#region src/host-adapter/fetcher-envelope.d.ts
|
|
17741
|
-
type FetcherHeaderInput = Headers | Record<string, string | string[] | undefined> | undefined;
|
|
17742
|
-
export declare const ACCEPT_CHALLENGE_HEADER = "kya-accept-challenge";
|
|
17743
|
-
export declare function serveBodyReadable200(headers: FetcherHeaderInput, detectionClass: unknown, isAgent: boolean): boolean;
|
|
17744
|
-
type ChallengeEnvelopeMode = 'spec-401' | 'negotiated' | 'always-200';
|
|
17745
|
-
export declare function selectBodyReadable200(mode: ChallengeEnvelopeMode, headers: FetcherHeaderInput, detectionClass: unknown, isAgent: boolean): boolean;
|
|
17746
|
-
//#endregion
|
|
17747
|
-
//#region src/mcpi/kya-http-error-codes.d.ts
|
|
17748
|
-
export declare const KYA_HTTP_ERROR: {
|
|
17749
|
-
readonly MISSING_SIGNATURE: "kyaos/missing-signature";
|
|
17750
|
-
readonly INVALID_SIGNATURE: "kyaos/invalid-signature";
|
|
17751
|
-
readonly EXPIRED: "kyaos/expired";
|
|
17752
|
-
readonly REPLAY: "kyaos/replay";
|
|
17753
|
-
readonly DID_UNRESOLVABLE: "kyaos/did-unresolvable";
|
|
17754
|
-
readonly AUTHORIZATION_REQUIRED: "kyaos/authorization-required";
|
|
17755
|
-
readonly PROFILE_VIOLATION: "kyaos/profile-violation";
|
|
17756
|
-
readonly DELEGATION_REVOKED: "kyaos/delegation-revoked";
|
|
17757
|
-
readonly SCOPE_INSUFFICIENT: "kyaos/scope-insufficient";
|
|
17758
|
-
readonly CHAIN_BROKEN: "kyaos/chain-broken";
|
|
17759
|
-
readonly HOLDER_MISMATCH: "kyaos/holder-mismatch";
|
|
17760
|
-
readonly AUDIENCE_MISMATCH: "kyaos/audience-mismatch";
|
|
17761
|
-
readonly SESSION_MISMATCH: "kyaos/session-mismatch";
|
|
17762
|
-
readonly PICKUP_PINNED: "kyaos/pickup-pinned";
|
|
17763
|
-
readonly ASSURANCE_INSUFFICIENT: "kyaos/assurance-insufficient";
|
|
17764
|
-
readonly STATUS_PENDING: "kyaos/status-pending";
|
|
17765
|
-
readonly AUTHORIZATION_HOST_UNAVAILABLE: "kyaos/authorization-host-unavailable";
|
|
17766
|
-
readonly REPLAY_STATE_UNAVAILABLE: "kyaos/replay-state-unavailable";
|
|
17767
|
-
readonly REPLAY_CAPACITY: "kyaos/replay-capacity";
|
|
17768
|
-
readonly INVALID_SESSION: "kyaos/invalid-session";
|
|
17769
|
-
readonly PICKUP_EXPIRED: "kyaos/pickup-expired";
|
|
17770
|
-
};
|
|
17771
|
-
export type KyaHttpErrorCode = (typeof KYA_HTTP_ERROR)[keyof typeof KYA_HTTP_ERROR];
|
|
17772
|
-
export declare const KYA_HTTP_ERROR_STATUS: Readonly<Record<KyaHttpErrorCode, number>>;
|
|
17773
|
-
//#endregion
|
|
17774
|
-
//#region src/host-adapter/challenge-wire.d.ts
|
|
17775
|
-
type HeaderEntry = readonly [name: string, value: string];
|
|
17776
|
-
type ChallengeWireKind = 'delegation' | 'approval_quorum';
|
|
17777
|
-
interface ChallengeWireInputBase {
|
|
17778
|
-
realm: string;
|
|
17779
|
-
sid: string;
|
|
17780
|
-
consentUri: string;
|
|
17781
|
-
pickupUri: string;
|
|
17782
|
-
requiredScopes?: readonly string[];
|
|
17783
|
-
pollIntervalS?: number;
|
|
17784
|
-
challengeProof: unknown;
|
|
17785
|
-
minAssurance?: AssuranceTier;
|
|
17786
|
-
}
|
|
17787
|
-
interface DelegationChallengeWireInput extends ChallengeWireInputBase {
|
|
17788
|
-
kind?: 'delegation';
|
|
17789
|
-
resourceMetadataUri: string;
|
|
17790
|
-
}
|
|
17791
|
-
interface ApprovalQuorumChallengeWireInput extends ChallengeWireInputBase {
|
|
17792
|
-
kind: 'approval_quorum';
|
|
17793
|
-
quorum: number;
|
|
17794
|
-
actionNonce: string;
|
|
17795
|
-
}
|
|
17796
|
-
type ChallengeWireInput = DelegationChallengeWireInput | ApprovalQuorumChallengeWireInput;
|
|
17797
|
-
interface CommonChallengeKyaos {
|
|
17798
|
-
sid: string;
|
|
17799
|
-
consent_uri: string;
|
|
17800
|
-
pickup_uri: string;
|
|
17801
|
-
required_scopes?: string[];
|
|
17802
|
-
min_assurance?: AssuranceTier;
|
|
17803
|
-
poll_interval_s: number;
|
|
17804
|
-
challenge_proof: unknown;
|
|
17805
|
-
}
|
|
17806
|
-
interface DelegationChallengeKyaos extends CommonChallengeKyaos {
|
|
17807
|
-
action: {
|
|
17808
|
-
type: 'delegation';
|
|
17809
|
-
consent_uri: string;
|
|
17810
|
-
pickup_uri: string;
|
|
17811
|
-
poll_interval_s: number;
|
|
17812
|
-
pin: {
|
|
17813
|
-
header: 'X-KYA-Pickup-Token';
|
|
17814
|
-
};
|
|
17815
|
-
retry: {
|
|
17816
|
-
header: 'Authorization';
|
|
17817
|
-
scheme: 'Bearer';
|
|
17818
|
-
value_from: 'delegation';
|
|
17819
|
-
};
|
|
17820
|
-
};
|
|
17821
|
-
}
|
|
17822
|
-
interface ApprovalQuorumChallengeKyaos extends CommonChallengeKyaos {
|
|
17823
|
-
kind: 'approval_quorum';
|
|
17824
|
-
quorum: number;
|
|
17825
|
-
action_nonce: string;
|
|
17826
|
-
}
|
|
17827
|
-
interface DelegationChallengeBody {
|
|
17828
|
-
error: typeof KYA_HTTP_ERROR.AUTHORIZATION_REQUIRED;
|
|
17829
|
-
kyaos: DelegationChallengeKyaos | ApprovalQuorumChallengeKyaos;
|
|
17830
|
-
instructions: string;
|
|
17831
|
-
}
|
|
17832
|
-
interface DelegationChallengeEnvelope {
|
|
17833
|
-
status: 401 | 200;
|
|
17834
|
-
headers: HeaderEntry[];
|
|
17835
|
-
body: DelegationChallengeBody;
|
|
17836
|
-
}
|
|
17837
|
-
type DelegationChallengeEnvelopeMode = 'spec-401' | 'fetcher-200';
|
|
17838
|
-
type ChallengeWireErrorCode = 'invalid-realm' | 'invalid-sid' | 'invalid-uri' | 'invalid-scope' | 'invalid-assurance' | 'invalid-interval' | 'invalid-proof' | 'invalid-kind' | 'invalid-quorum' | 'invalid-action-nonce' | 'unsupported-envelope';
|
|
17839
|
-
export declare class ChallengeWireError extends TypeError {
|
|
17840
|
-
readonly code: ChallengeWireErrorCode;
|
|
17841
|
-
constructor(code: ChallengeWireErrorCode, message: string);
|
|
17842
|
-
}
|
|
17843
|
-
export declare function generateDelegationSid(): string;
|
|
17844
|
-
export declare function deriveDelegationPickupUri(consentUri: string, sid: string): string;
|
|
17845
|
-
export declare function buildDelegationChallengeHeader(input: ChallengeWireInput): string;
|
|
17846
|
-
export declare function buildDelegationBearerHeader(realm: string): string;
|
|
17847
|
-
export declare function buildDelegationInstructions(consentUri: string, pickupUri: string, pollIntervalS: number): string;
|
|
17848
|
-
export declare function buildDelegationChallengeBody(input: ChallengeWireInput): DelegationChallengeBody;
|
|
17849
|
-
export declare function buildDelegationChallengeEnvelope(input: ChallengeWireInput, mode?: DelegationChallengeEnvelopeMode): DelegationChallengeEnvelope;
|
|
17850
|
-
export declare const buildChallengeWire: typeof buildDelegationChallengeEnvelope;
|
|
17851
|
-
//#endregion
|
|
17852
|
-
//#region src/host-adapter/challenge-context.d.ts
|
|
17853
|
-
export declare const DEFAULT_CHALLENGE_CONTEXT_TIMEOUT_MS = 3000;
|
|
17854
|
-
type ChallengeContextFailure = 'timeout' | 'resolver-error' | 'invalid-context';
|
|
17855
|
-
interface ChallengeContextFailureEvent {
|
|
17856
|
-
reason: ChallengeContextFailure;
|
|
17857
|
-
message: string;
|
|
17858
|
-
}
|
|
17859
|
-
interface ResolveChallengeContextOptions {
|
|
17860
|
-
timeoutMs?: number;
|
|
17861
|
-
onFailure?: (event: ChallengeContextFailureEvent) => void;
|
|
17862
|
-
}
|
|
17863
|
-
export declare function resolveChallengeContext<TContext>(resolver: ((context: TContext) => ChallengeWireInput | undefined | Promise<ChallengeWireInput | undefined>) | undefined, context: TContext, options?: ResolveChallengeContextOptions): Promise<ChallengeWireInput | undefined>;
|
|
17864
|
-
//#endregion
|
|
17865
16998
|
//#region src/wire/vault.d.ts
|
|
17866
16999
|
export declare const vaultResolveMetaSchema: ZodObject<{
|
|
17867
17000
|
orgSlug: ZodOptional<ZodString>;
|
|
@@ -17998,11 +17131,6 @@ export declare function resolveTrustedDelegationRoots(org: {
|
|
|
17998
17131
|
}): string[];
|
|
17999
17132
|
export declare function deriveMcpiUserDid(slug: string, userId: string): string;
|
|
18000
17133
|
//#endregion
|
|
18001
|
-
//#region src/mcpi/delegation-headers.d.ts
|
|
18002
|
-
export declare const DELEGATION_PROOF_HEADERS: readonly ["kya-os-delegation-credential", "kya-delegation"];
|
|
18003
|
-
export declare function requestCarriesDelegationProof(headers: Headers | Record<string, unknown> | null | undefined): boolean;
|
|
18004
|
-
export declare function requestPresentedCredential(headers: Headers | Record<string, unknown> | null | undefined): boolean;
|
|
18005
|
-
//#endregion
|
|
18006
17134
|
//#region src/mcpi/principal.d.ts
|
|
18007
17135
|
export declare const ANONYMOUS_PRINCIPAL_DID = "did:web:kya.vouched.id:principals:anonymous";
|
|
18008
17136
|
export declare const MCP_CLIENT_DID_HOST = "knowthat.ai";
|
|
@@ -18034,8 +17162,6 @@ export declare const DelegationVerifiedBySchema: ZodEnum<{
|
|
|
18034
17162
|
checkpoint: "checkpoint";
|
|
18035
17163
|
}>;
|
|
18036
17164
|
export type DelegationVerifiedBy = output<typeof DelegationVerifiedBySchema>;
|
|
18037
|
-
export declare const REGISTERED_SID_MAX_LENGTH = 100;
|
|
18038
|
-
export declare const SID_ATTRIBUTABLE_RESULT: "verified";
|
|
18039
17165
|
export declare const ReportedDelegationSchema: ZodObject<{
|
|
18040
17166
|
jti: ZodOptional<ZodString>;
|
|
18041
17167
|
sid: ZodOptional<ZodString>;
|
|
@@ -19196,14 +18322,14 @@ export declare const TaskGrantSchema: ZodObject<{
|
|
|
19196
18322
|
export type TaskGrant = output<typeof TaskGrantSchema>;
|
|
19197
18323
|
export declare const TaskGrantStatusValueSchema: ZodEnum<{
|
|
19198
18324
|
expired: "expired";
|
|
19199
|
-
revoked: "revoked";
|
|
19200
18325
|
active: "active";
|
|
18326
|
+
revoked: "revoked";
|
|
19201
18327
|
replaced: "replaced";
|
|
19202
18328
|
}>;
|
|
19203
18329
|
export declare const TaskGrantEffectiveStatusSchema: ZodEnum<{
|
|
19204
18330
|
expired: "expired";
|
|
19205
|
-
revoked: "revoked";
|
|
19206
18331
|
active: "active";
|
|
18332
|
+
revoked: "revoked";
|
|
19207
18333
|
replaced: "replaced";
|
|
19208
18334
|
not_yet_valid: "not_yet_valid";
|
|
19209
18335
|
ancestor_inactive: "ancestor_inactive";
|
|
@@ -19213,14 +18339,14 @@ export declare const TaskGrantStatusSchema: ZodObject<{
|
|
|
19213
18339
|
grantId: ZodString;
|
|
19214
18340
|
status: ZodEnum<{
|
|
19215
18341
|
expired: "expired";
|
|
19216
|
-
revoked: "revoked";
|
|
19217
18342
|
active: "active";
|
|
18343
|
+
revoked: "revoked";
|
|
19218
18344
|
replaced: "replaced";
|
|
19219
18345
|
}>;
|
|
19220
18346
|
effectiveStatus: ZodEnum<{
|
|
19221
18347
|
expired: "expired";
|
|
19222
|
-
revoked: "revoked";
|
|
19223
18348
|
active: "active";
|
|
18349
|
+
revoked: "revoked";
|
|
19224
18350
|
replaced: "replaced";
|
|
19225
18351
|
not_yet_valid: "not_yet_valid";
|
|
19226
18352
|
ancestor_inactive: "ancestor_inactive";
|
|
@@ -19432,14 +18558,14 @@ export declare const TaskGrantViewSchema: ZodObject<{
|
|
|
19432
18558
|
grantId: ZodString;
|
|
19433
18559
|
status: ZodEnum<{
|
|
19434
18560
|
expired: "expired";
|
|
19435
|
-
revoked: "revoked";
|
|
19436
18561
|
active: "active";
|
|
18562
|
+
revoked: "revoked";
|
|
19437
18563
|
replaced: "replaced";
|
|
19438
18564
|
}>;
|
|
19439
18565
|
effectiveStatus: ZodEnum<{
|
|
19440
18566
|
expired: "expired";
|
|
19441
|
-
revoked: "revoked";
|
|
19442
18567
|
active: "active";
|
|
18568
|
+
revoked: "revoked";
|
|
19443
18569
|
replaced: "replaced";
|
|
19444
18570
|
not_yet_valid: "not_yet_valid";
|
|
19445
18571
|
ancestor_inactive: "ancestor_inactive";
|
|
@@ -19496,14 +18622,14 @@ export declare const TaskGrantListSchema: ZodObject<{
|
|
|
19496
18622
|
grantId: ZodString;
|
|
19497
18623
|
status: ZodEnum<{
|
|
19498
18624
|
expired: "expired";
|
|
19499
|
-
revoked: "revoked";
|
|
19500
18625
|
active: "active";
|
|
18626
|
+
revoked: "revoked";
|
|
19501
18627
|
replaced: "replaced";
|
|
19502
18628
|
}>;
|
|
19503
18629
|
effectiveStatus: ZodEnum<{
|
|
19504
18630
|
expired: "expired";
|
|
19505
|
-
revoked: "revoked";
|
|
19506
18631
|
active: "active";
|
|
18632
|
+
revoked: "revoked";
|
|
19507
18633
|
replaced: "replaced";
|
|
19508
18634
|
not_yet_valid: "not_yet_valid";
|
|
19509
18635
|
ancestor_inactive: "ancestor_inactive";
|
|
@@ -19561,14 +18687,14 @@ export declare const TaskGrantIssueResultSchema: ZodObject<{
|
|
|
19561
18687
|
grantId: ZodString;
|
|
19562
18688
|
status: ZodEnum<{
|
|
19563
18689
|
expired: "expired";
|
|
19564
|
-
revoked: "revoked";
|
|
19565
18690
|
active: "active";
|
|
18691
|
+
revoked: "revoked";
|
|
19566
18692
|
replaced: "replaced";
|
|
19567
18693
|
}>;
|
|
19568
18694
|
effectiveStatus: ZodEnum<{
|
|
19569
18695
|
expired: "expired";
|
|
19570
|
-
revoked: "revoked";
|
|
19571
18696
|
active: "active";
|
|
18697
|
+
revoked: "revoked";
|
|
19572
18698
|
replaced: "replaced";
|
|
19573
18699
|
not_yet_valid: "not_yet_valid";
|
|
19574
18700
|
ancestor_inactive: "ancestor_inactive";
|
|
@@ -19626,14 +18752,14 @@ export declare const TaskGrantRevocationSchema: ZodObject<{
|
|
|
19626
18752
|
grantId: ZodString;
|
|
19627
18753
|
status: ZodEnum<{
|
|
19628
18754
|
expired: "expired";
|
|
19629
|
-
revoked: "revoked";
|
|
19630
18755
|
active: "active";
|
|
18756
|
+
revoked: "revoked";
|
|
19631
18757
|
replaced: "replaced";
|
|
19632
18758
|
}>;
|
|
19633
18759
|
effectiveStatus: ZodEnum<{
|
|
19634
18760
|
expired: "expired";
|
|
19635
|
-
revoked: "revoked";
|
|
19636
18761
|
active: "active";
|
|
18762
|
+
revoked: "revoked";
|
|
19637
18763
|
replaced: "replaced";
|
|
19638
18764
|
not_yet_valid: "not_yet_valid";
|
|
19639
18765
|
ancestor_inactive: "ancestor_inactive";
|
|
@@ -19669,10 +18795,10 @@ export declare const IdentityObservationSchema: ZodObject<{
|
|
|
19669
18795
|
observedAt: ZodNullable<ZodString>;
|
|
19670
18796
|
}, $strict>;
|
|
19671
18797
|
export declare const RegistryAuthorityStateSchema: ZodEnum<{
|
|
18798
|
+
matches: "matches";
|
|
19672
18799
|
unavailable: "unavailable";
|
|
19673
18800
|
not_found: "not_found";
|
|
19674
18801
|
not_observed: "not_observed";
|
|
19675
|
-
matches: "matches";
|
|
19676
18802
|
differs: "differs";
|
|
19677
18803
|
deactivated: "deactivated";
|
|
19678
18804
|
}>;
|
|
@@ -19694,10 +18820,10 @@ export declare const ProjectIdentitySchema: ZodObject<{
|
|
|
19694
18820
|
}, $strict>>;
|
|
19695
18821
|
authoritative: ZodObject<{
|
|
19696
18822
|
state: ZodEnum<{
|
|
18823
|
+
matches: "matches";
|
|
19697
18824
|
unavailable: "unavailable";
|
|
19698
18825
|
not_found: "not_found";
|
|
19699
18826
|
not_observed: "not_observed";
|
|
19700
|
-
matches: "matches";
|
|
19701
18827
|
differs: "differs";
|
|
19702
18828
|
deactivated: "deactivated";
|
|
19703
18829
|
}>;
|
|
@@ -19862,8 +18988,8 @@ export declare const WorkloadEnrollmentSchema: ZodObject<{
|
|
|
19862
18988
|
runnerId: ZodString;
|
|
19863
18989
|
holderDid: ZodString;
|
|
19864
18990
|
status: ZodEnum<{
|
|
19865
|
-
revoked: "revoked";
|
|
19866
18991
|
active: "active";
|
|
18992
|
+
revoked: "revoked";
|
|
19867
18993
|
retiring: "retiring";
|
|
19868
18994
|
retired: "retired";
|
|
19869
18995
|
}>;
|
|
@@ -19891,8 +19017,8 @@ export declare const WorkloadEnrollmentRevocationSchema: ZodObject<{
|
|
|
19891
19017
|
runnerId: ZodString;
|
|
19892
19018
|
holderDid: ZodString;
|
|
19893
19019
|
status: ZodEnum<{
|
|
19894
|
-
revoked: "revoked";
|
|
19895
19020
|
active: "active";
|
|
19021
|
+
revoked: "revoked";
|
|
19896
19022
|
retiring: "retiring";
|
|
19897
19023
|
retired: "retired";
|
|
19898
19024
|
}>;
|
|
@@ -19921,8 +19047,8 @@ export declare const WorkloadEnrollmentResultSchema: ZodObject<{
|
|
|
19921
19047
|
runnerId: ZodString;
|
|
19922
19048
|
holderDid: ZodString;
|
|
19923
19049
|
status: ZodEnum<{
|
|
19924
|
-
revoked: "revoked";
|
|
19925
19050
|
active: "active";
|
|
19051
|
+
revoked: "revoked";
|
|
19926
19052
|
retiring: "retiring";
|
|
19927
19053
|
retired: "retired";
|
|
19928
19054
|
}>;
|
|
@@ -19951,8 +19077,8 @@ export declare const WorkloadEnrollmentListSchema: ZodObject<{
|
|
|
19951
19077
|
runnerId: ZodString;
|
|
19952
19078
|
holderDid: ZodString;
|
|
19953
19079
|
status: ZodEnum<{
|
|
19954
|
-
revoked: "revoked";
|
|
19955
19080
|
active: "active";
|
|
19081
|
+
revoked: "revoked";
|
|
19956
19082
|
retiring: "retiring";
|
|
19957
19083
|
retired: "retired";
|
|
19958
19084
|
}>;
|
|
@@ -19984,8 +19110,8 @@ export declare const ModelCredentialSchema: ZodObject<{
|
|
|
19984
19110
|
fingerprint: ZodString;
|
|
19985
19111
|
version: ZodNumber;
|
|
19986
19112
|
status: ZodEnum<{
|
|
19987
|
-
revoked: "revoked";
|
|
19988
19113
|
active: "active";
|
|
19114
|
+
revoked: "revoked";
|
|
19989
19115
|
}>;
|
|
19990
19116
|
validatedAt: ZodString;
|
|
19991
19117
|
createdByUserId: ZodString;
|
|
@@ -20024,8 +19150,8 @@ export declare const ModelCredentialResultSchema: ZodObject<{
|
|
|
20024
19150
|
fingerprint: ZodString;
|
|
20025
19151
|
version: ZodNumber;
|
|
20026
19152
|
status: ZodEnum<{
|
|
20027
|
-
revoked: "revoked";
|
|
20028
19153
|
active: "active";
|
|
19154
|
+
revoked: "revoked";
|
|
20029
19155
|
}>;
|
|
20030
19156
|
validatedAt: ZodString;
|
|
20031
19157
|
createdByUserId: ZodString;
|
|
@@ -20048,8 +19174,8 @@ export declare const ModelCredentialRevocationSchema: ZodObject<{
|
|
|
20048
19174
|
fingerprint: ZodString;
|
|
20049
19175
|
version: ZodNumber;
|
|
20050
19176
|
status: ZodEnum<{
|
|
20051
|
-
revoked: "revoked";
|
|
20052
19177
|
active: "active";
|
|
19178
|
+
revoked: "revoked";
|
|
20053
19179
|
}>;
|
|
20054
19180
|
validatedAt: ZodString;
|
|
20055
19181
|
createdByUserId: ZodString;
|
|
@@ -20073,8 +19199,8 @@ export declare const ModelCredentialListSchema: ZodObject<{
|
|
|
20073
19199
|
fingerprint: ZodString;
|
|
20074
19200
|
version: ZodNumber;
|
|
20075
19201
|
status: ZodEnum<{
|
|
20076
|
-
revoked: "revoked";
|
|
20077
19202
|
active: "active";
|
|
19203
|
+
revoked: "revoked";
|
|
20078
19204
|
}>;
|
|
20079
19205
|
validatedAt: ZodString;
|
|
20080
19206
|
createdByUserId: ZodString;
|
|
@@ -20106,21 +19232,21 @@ export declare function readableText(value: string): string;
|
|
|
20106
19232
|
//#region src/api/delegation-management.d.ts
|
|
20107
19233
|
export declare const DelegationStoredStatusSchema: ZodEnum<{
|
|
20108
19234
|
expired: "expired";
|
|
20109
|
-
revoked: "revoked";
|
|
20110
19235
|
active: "active";
|
|
19236
|
+
revoked: "revoked";
|
|
20111
19237
|
}>;
|
|
20112
19238
|
export type DelegationStoredStatus = output<typeof DelegationStoredStatusSchema>;
|
|
20113
19239
|
export declare const DelegationEffectiveStatusSchema: ZodEnum<{
|
|
20114
19240
|
expired: "expired";
|
|
20115
|
-
revoked: "revoked";
|
|
20116
19241
|
active: "active";
|
|
19242
|
+
revoked: "revoked";
|
|
20117
19243
|
not_yet_valid: "not_yet_valid";
|
|
20118
19244
|
}>;
|
|
20119
19245
|
export type DelegationEffectiveStatus = output<typeof DelegationEffectiveStatusSchema>;
|
|
20120
19246
|
export declare const DelegationListStatusFilterSchema: ZodEnum<{
|
|
20121
19247
|
expired: "expired";
|
|
20122
|
-
revoked: "revoked";
|
|
20123
19248
|
active: "active";
|
|
19249
|
+
revoked: "revoked";
|
|
20124
19250
|
all: "all";
|
|
20125
19251
|
}>;
|
|
20126
19252
|
export type DelegationListStatusFilter = output<typeof DelegationListStatusFilterSchema>;
|
|
@@ -20144,13 +19270,13 @@ export declare const DelegationManagementItemSchema: ZodObject<{
|
|
|
20144
19270
|
}, $strict>;
|
|
20145
19271
|
status: ZodEnum<{
|
|
20146
19272
|
expired: "expired";
|
|
20147
|
-
revoked: "revoked";
|
|
20148
19273
|
active: "active";
|
|
19274
|
+
revoked: "revoked";
|
|
20149
19275
|
}>;
|
|
20150
19276
|
effectiveStatus: ZodEnum<{
|
|
20151
19277
|
expired: "expired";
|
|
20152
|
-
revoked: "revoked";
|
|
20153
19278
|
active: "active";
|
|
19279
|
+
revoked: "revoked";
|
|
20154
19280
|
not_yet_valid: "not_yet_valid";
|
|
20155
19281
|
}>;
|
|
20156
19282
|
issuedAt: ZodString;
|
|
@@ -20177,13 +19303,13 @@ export declare const DelegationManagementListSchema: ZodObject<{
|
|
|
20177
19303
|
}, $strict>;
|
|
20178
19304
|
status: ZodEnum<{
|
|
20179
19305
|
expired: "expired";
|
|
20180
|
-
revoked: "revoked";
|
|
20181
19306
|
active: "active";
|
|
19307
|
+
revoked: "revoked";
|
|
20182
19308
|
}>;
|
|
20183
19309
|
effectiveStatus: ZodEnum<{
|
|
20184
19310
|
expired: "expired";
|
|
20185
|
-
revoked: "revoked";
|
|
20186
19311
|
active: "active";
|
|
19312
|
+
revoked: "revoked";
|
|
20187
19313
|
not_yet_valid: "not_yet_valid";
|
|
20188
19314
|
}>;
|
|
20189
19315
|
issuedAt: ZodString;
|
|
@@ -20273,13 +19399,13 @@ export declare const DelegationManagementDetailSchema: ZodObject<{
|
|
|
20273
19399
|
}, $strict>;
|
|
20274
19400
|
status: ZodEnum<{
|
|
20275
19401
|
expired: "expired";
|
|
20276
|
-
revoked: "revoked";
|
|
20277
19402
|
active: "active";
|
|
19403
|
+
revoked: "revoked";
|
|
20278
19404
|
}>;
|
|
20279
19405
|
effectiveStatus: ZodEnum<{
|
|
20280
19406
|
expired: "expired";
|
|
20281
|
-
revoked: "revoked";
|
|
20282
19407
|
active: "active";
|
|
19408
|
+
revoked: "revoked";
|
|
20283
19409
|
not_yet_valid: "not_yet_valid";
|
|
20284
19410
|
}>;
|
|
20285
19411
|
issuedAt: ZodString;
|
|
@@ -20501,5 +19627,5 @@ export type AsyncResult<T, E = Error> = Promise<{
|
|
|
20501
19627
|
export declare const VERSION = "0.1.0";
|
|
20502
19628
|
export declare const PACKAGE_NAME = "@kya-os/checkpoint-shared";
|
|
20503
19629
|
//#endregion
|
|
20504
|
-
export { AUTH_MODES, type AddUpdateProviderRequest, type AdminQueryParams, type AgentSourceDistribution, AgentTypeSchema as WasmAgentTypeSchema, type AllowListEntry, type AnalyticsAgentSourcesQuery, type AnalyticsAgentTypesQuery, type AnalyticsChartData, type AnalyticsExportQuery, type AnalyticsQuery, type AnalyticsRealtimeQuery, type AnalyticsRouteContext, type AnalyticsRouteHandler, type AnalyticsSessionsQuery, type AnalyticsSessionsResponse, type AnalyticsSummary as AnalyticsSessionsSummary, AnalyticsSummarySchema as AnalyticsSessionsSummarySchema, AnalyticsSummary$1 as AnalyticsSummary, AnalyticsSummarySchema$1 as AnalyticsSummarySchema, type AnalyticsTimeSeries, type ApiErrorCode, type ApiKeyRouteContext, type ApiKeyRouteHandler, type ApiMethod, type PaginationParams as ApiPaginationParams, type ApiRouteMetadata, type ApprovalQuorum, type ApprovalQuorumChallengeWireInput, type AssuranceTier, type AuthMode, type AuthProviderType, type AuthProviderTypeInput, type AuthenticatedRouteContext, type AuthenticatedRouteHandler, type AuthorizationMode, type BaseAuthProvider, type BaseRouteContext, type BatchResponse, type BlockReason, type BouncerConfig, type BouncerOutcome, type BouncerProof, type CRISPBudget, type CachedPolicy, type ChallengeContextFailure, type ChallengeContextFailureEvent, type ChallengeEnvelopeMode, type ChallengeParams, type ChallengeWireErrorCode, type ChallengeWireInput, type ChallengeWireKind, type ChangePasswordData, type ConditionField, type ConditionOperator, type ConditionValue, type ConfiguredProvider, type ConsentAgentMetadata, type ConsentBranding, type ConsentCapability, type ConsentCapabilityGroup, type ConsentConfig, type ConsentConfigMetadata, type ConsentPolicyResponse, type ConsentPolicyRiskLevel, type ConsentProviderType, type ConsentSignInCopy, type ConsentTerms, type ConsentUI, type CreatedResponse, type CredentialProvider, type CredentialProviderConfig, CredentialProviderConfigSchema, type DateRangeParams, type Decision, type DecisionLike, type Delegation, type DelegationChallengeBody, type DelegationChallengeEnvelope, type DelegationChallengeEnvelopeMode, type DelegationChallengeWireInput, type DelegationLifecycle, type DelegationLifecycleAuditReference, type DelegationLifecycleHuman, type DelegationPollingStatus, type DelegationStatus, type DeletedResponse, type DenyListEntry, type DetectionRouteContext, type DetectionRouteHandler, type EnforcementAction, type EnforcementMode, type EnhancedFingerprintResponse, type ExportParams, type FetcherHeaderInput, type FingerprintAnalysis, type ClientDetection$1 as FingerprintClientDetection, ClientDetectionSchema$1 as FingerprintClientDetectionSchema, type FingerprintDetectRequest, type FingerprintResponse, type ForgotPasswordData, type GatewayConfig, type GatewayConnectedAgent, type GatewayConnectionsSummary, type GatewayToolCall, type GrowthBatchRequest, type GrowthConfigurationReset, type GrowthConfigurationThresholds, type GrowthConfigurationUpdate, type GrowthOpportunitiesQuery, type GrowthOpportunityUpdate, type HeaderEntry, type HttpStatus, type IProviderRegistry, type InstructPayload, type InvalidStepUpReason, type LegacyAuthProviderType, type LintFinding, type ListResponse, type McpIPayload, type MiddlewareContext, type NetworkTiming, type NextRouteContext, type OAuth2Provider, type OAuthClient, type OAuthConnectionStatus, type OAuthMode, type OAuthProviderConfig, OAuthProviderConfigSchema, type OAuthProviderMetadata, type OAuthProviderType, type OAuthProvidersMap, type OAuthTokensResponse, type OptionalNextRouteContext, type OrganizationRouteContext, type OrganizationRouteHandler, PROVIDER_AUTH_TYPES, type PaginationMeta, PaginationParams$1 as PaginationParams, type PaginationResponse as PublicPaginationResponse, PaginationResponseSchema as PublicPaginationResponseSchema, type PerformanceRecalculationRequest, type PixelRouteContext, type PixelRouteHandler, type PolicyCacheAdapter, type PolicyCondition, type PolicyConfig, type PolicyEvaluationContext, type PolicyEvaluationResult, type PolicyFetcherConfig, type PolicyHazardAnalysis, type PolicyMatchType, type PolicyMetadata, type PolicyRule, type ProbeClass, type ProjectRouteContext, type ProjectRouteHandler, type ProviderAuthType, type ProviderConfig, ProviderConfigSchema, type ProviderDefinition, type ProviderRegistryDefinition, ProviderRegistryDefinitionSchema, type ProvidersResponse, type RateLimitErrorResponse, type RecommendationGeneration, type RecommendationQuery, type RedirectTarget, type RefreshScopesRequest, type RegistryLogger, type RenderedResponseLike, type RequestFacts, type ResetPasswordData, type ResolveChallengeContextOptions, type ResponseMeta, type ResponseShape, type RouteConfig, type RouteHandler, type RouteParamValue, type RouteParams, type RouteParamsFromContext, type RuleMetadata, type Scope, type SearchParams, type AgentTypeDistribution$1 as SharedAgentTypeDistribution, AgentTypeDistributionSchema as SharedAgentTypeDistributionSchema, type ApiResponse$1 as SharedApiResponse, type ConfidenceDistribution as SharedConfidenceDistribution, ConfidenceDistributionSchema as SharedConfidenceDistributionSchema, type ErrorResponse$1 as SharedErrorResponse, type ExportResponse as SharedExportResponse, type PaginatedResponse$1 as SharedPaginatedResponse, type SuccessResponse as SharedSuccessResponse, type SignInData, type SignUpData, type StaleVendorDetail, type StepUpQuorumCheck, type StepUpQuorumLike, SuccessResponse$1 as SuccessResponse, type SuggestedAction, type SupportedProviderAuthType, type TLSFingerprint, type ThresholdConfig, type ToolConsentOverrides, type UpdateBouncerConfig, type UpdatedResponse, type UpstreamServer, type UserRouteContext, type UserRouteHandler, type ValidationErrorDetail, type ValidationErrorResponse, type VendorFreshnessInput, type Verdict, type VerifyEmailData, validateProviderConfig, validateProviderDefinition };
|
|
19630
|
+
export { ACCEPT_CHALLENGE_HEADER, AUTH_MODES, type AddUpdateProviderRequest, type AdminQueryParams, type AgentSourceDistribution, AgentTypeSchema as WasmAgentTypeSchema, type AllowListEntry, AllowListEntrySchema, type AnalyticsAgentSourcesQuery, type AnalyticsAgentTypesQuery, type AnalyticsChartData, type AnalyticsExportQuery, type AnalyticsQuery, type AnalyticsRealtimeQuery, type AnalyticsRouteContext, type AnalyticsRouteHandler, type AnalyticsSessionsQuery, type AnalyticsSessionsResponse, type AnalyticsSummary as AnalyticsSessionsSummary, AnalyticsSummarySchema as AnalyticsSessionsSummarySchema, AnalyticsSummary$1 as AnalyticsSummary, AnalyticsSummarySchema$1 as AnalyticsSummarySchema, type AnalyticsTimeSeries, type ApiErrorCode, type ApiKeyRouteContext, type ApiKeyRouteHandler, type ApiMethod, type PaginationParams as ApiPaginationParams, type ApiRouteMetadata, type ApprovalQuorum, type ApprovalQuorumChallengeWireInput, type AssuranceTier, AssuranceTierSchema, type AuthMode, type AuthProviderType, type AuthProviderTypeInput, type AuthenticatedRouteContext, type AuthenticatedRouteHandler, type AuthorizationMode, BLOCKED_PATH, type BaseAuthProvider, type BaseRouteContext, type BatchResponse, type BlockReason, BlockReasonSchema, type BouncerConfig, type BouncerOutcome, type BouncerProof, type CRISPBudget, type CachedPolicy, type ChallengeContextFailure, type ChallengeContextFailureEvent, type ChallengeEnvelopeMode, type ChallengeParams, ChallengeParamsSchema, ChallengeWireError, type ChallengeWireErrorCode, type ChallengeWireInput, type ChallengeWireKind, type ChangePasswordData, ClientIpHeaderValue, ClientIpHeaders, ClientIpResolution, ClientIpSource, ClientIpTrustPolicy, type ConditionField, ConditionFieldSchema, type ConditionOperator, ConditionOperatorSchema, type ConditionValue, ConditionValueSchema, type ConfiguredProvider, type ConsentAgentMetadata, type ConsentBranding, type ConsentCapability, type ConsentCapabilityGroup, type ConsentConfig, type ConsentConfigMetadata, type ConsentPolicyResponse, type ConsentPolicyRiskLevel, type ConsentProviderType, type ConsentSignInCopy, type ConsentTerms, type ConsentUI, type CreatedResponse, type CredentialProvider, type CredentialProviderConfig, CredentialProviderConfigSchema, DEFAULT_CHALLENGE_CONTEXT_TIMEOUT_MS, DELEGATION_PROOF_HEADERS, type DateRangeParams, type Decision, type DecisionLike, DecisionSchema, type Delegation, type DelegationChallengeBody, type DelegationChallengeEnvelope, type DelegationChallengeEnvelopeMode, type DelegationChallengeWireInput, type DelegationLifecycle, type DelegationLifecycleAuditReference, type DelegationLifecycleHuman, type DelegationPollingStatus, type DelegationStatus, type DeletedResponse, type DenyListEntry, DenyListEntrySchema, type DetectionRouteContext, type DetectionRouteHandler, type EnforcementAction, EnforcementActionSchema, type EnforcementMode, EnforcementModeSchema, type EnhancedFingerprintResponse, type ExportParams, FAIL_CLOSED_BODY, FAIL_CLOSED_HEADERS, FAIL_CLOSED_STATUS, type FetcherHeaderInput, type FingerprintAnalysis, type ClientDetection$1 as FingerprintClientDetection, ClientDetectionSchema$1 as FingerprintClientDetectionSchema, type FingerprintDetectRequest, type FingerprintResponse, type ForgotPasswordData, type GatewayConfig, type GatewayConnectedAgent, type GatewayConnectionsSummary, type GatewayToolCall, type GrowthBatchRequest, type GrowthConfigurationReset, type GrowthConfigurationThresholds, type GrowthConfigurationUpdate, type GrowthOpportunitiesQuery, type GrowthOpportunityUpdate, type HeaderEntry, type HttpStatus, type IProviderRegistry, type InstructPayload, InstructPayloadSchema, type InvalidStepUpReason, KYA_HTTP_ERROR, KYA_HTTP_ERROR_STATUS, KyaHttpErrorCode, type LegacyAuthProviderType, type LintFinding, type ListResponse, type McpIPayload, type MiddlewareContext, NO_EVIDENCE_CATEGORY, NO_EVIDENCE_EQUALITY_TERM, NO_EVIDENCE_EXCLUSION_TERM, type NetworkTiming, type NextRouteContext, type OAuth2Provider, type OAuthClient, type OAuthConnectionStatus, type OAuthMode, type OAuthProviderConfig, OAuthProviderConfigSchema, type OAuthProviderMetadata, type OAuthProviderType, type OAuthProvidersMap, type OAuthTokensResponse, type OptionalNextRouteContext, type OrganizationRouteContext, type OrganizationRouteHandler, PROVIDER_AUTH_TYPES, type PaginationMeta, PaginationParams$1 as PaginationParams, type PaginationResponse as PublicPaginationResponse, PaginationResponseSchema as PublicPaginationResponseSchema, type PerformanceRecalculationRequest, type PixelRouteContext, type PixelRouteHandler, type PolicyCacheAdapter, type PolicyCondition, PolicyConditionSchema, type PolicyConfig, PolicyConfigSchema, type PolicyEvaluationContext, PolicyEvaluationContextSchema, type PolicyEvaluationResult, PolicyEvaluationResultSchema, type PolicyFetcherConfig, type PolicyHazardAnalysis, type PolicyMatchType, PolicyMatchTypeSchema, type PolicyMetadata, PolicyMetadataSchema, type PolicyRule, PolicyRuleSchema, type ProbeClass, type ProjectRouteContext, type ProjectRouteHandler, type ProviderAuthType, type ProviderConfig, ProviderConfigSchema, type ProviderDefinition, type ProviderRegistryDefinition, ProviderRegistryDefinitionSchema, type ProvidersResponse, REGISTERED_SID_MAX_LENGTH, type RateLimitErrorResponse, type RecommendationGeneration, type RecommendationQuery, type RedirectTarget, RedirectTargetSchema, type RefreshScopesRequest, type RegistryLogger, type RenderedResponseLike, type RequestFacts, type ResetPasswordData, type ResolveChallengeContextOptions, ResolveClientIpInput, type ResponseMeta, type ResponseShape, type RouteConfig, type RouteHandler, type RouteParamValue, type RouteParams, type RouteParamsFromContext, type RuleMetadata, RuleMetadataSchema, SID_ATTRIBUTABLE_RESULT, type Scope, type SearchParams, type AgentTypeDistribution$1 as SharedAgentTypeDistribution, AgentTypeDistributionSchema as SharedAgentTypeDistributionSchema, type ApiResponse$1 as SharedApiResponse, type ConfidenceDistribution as SharedConfidenceDistribution, ConfidenceDistributionSchema as SharedConfidenceDistributionSchema, type ErrorResponse$1 as SharedErrorResponse, type ExportResponse as SharedExportResponse, type PaginatedResponse$1 as SharedPaginatedResponse, type SuccessResponse as SharedSuccessResponse, type SignInData, type SignUpData, type StaleVendorDetail, type StepUpQuorumCheck, type StepUpQuorumLike, StrictEnforcementActionSchema, SuccessResponse$1 as SuccessResponse, type SuggestedAction, SuggestedActionSchema, type SupportedProviderAuthType, type TLSFingerprint, type ThresholdConfig, ThresholdConfigSchema, type ToolConsentOverrides, type UpdateBouncerConfig, type UpdatedResponse, type UpstreamServer, type UserRouteContext, type UserRouteHandler, VERDICT_COOKIE_NAME, type ValidationErrorDetail, type ValidationErrorResponse, type VendorFreshnessInput, type Verdict, type VerifyEmailData, acceptsHtml, analyzePolicySource, approvalQuorumForRequest, blockEqualityLiterals, buildChallengeWire, buildDelegationBearerHeader, buildDelegationChallengeBody, buildDelegationChallengeEnvelope, buildDelegationChallengeHeader, buildDelegationInstructions, classifyResponseShape, compressIpv6, decisionPolicyId, deriveDelegationPickupUri, deriveVerdict, encodeVerdictCookie, generateDelegationSid, isEngineEnforcing, isForbidBlock, isUnnarrowedDenyBlock, normalizeChallengeType, normalizeClientIp, parseCedarStatements, parseEvaluationContext, parseIpv6, parsePolicyConfig, pathHasExplicitDenyRuleFor, pathHasUnnarrowedDenyRule, pathHasUnnarrowedDenyRuleFor, pathLiteralsInBlock, requestCarriesDelegationProof, requestPresentedCredential, requiredScopesForRequest, resolveChallengeContext, resolveClientIp, safeParsePolicyConfig, selectBodyReadable200, serveBodyReadable200, splitCedarBlocks, statementApplies, statementId, validateProviderConfig, validateProviderDefinition, validateStepUpQuorum, withNoEvidenceExclusion };
|
|
20505
19631
|
//# sourceMappingURL=index.d.ts.map
|