@kya-os/checkpoint-shared 1.5.2 → 1.6.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/CHANGELOG.md +98 -1
- package/dist/beacon-types/index.d.mts +12 -1
- package/dist/beacon-types/index.d.mts.map +1 -1
- package/dist/beacon-types/index.d.ts +12 -1
- package/dist/beacon-types/index.d.ts.map +1 -1
- package/dist/beacon-types/index.js +18 -1
- package/dist/beacon-types/index.mjs +18 -2
- package/dist/beacon-types/index.mjs.map +1 -1
- package/dist/{browser-posture-DVoHMHjY.d.mts → browser-posture-BuChqmH5.d.mts} +2 -2
- package/dist/{browser-posture-DVoHMHjY.d.mts.map → browser-posture-BuChqmH5.d.mts.map} +1 -1
- package/dist/{browser-posture-D4j2a5gi.d.ts → browser-posture-DIaVLuW3.d.ts} +2 -2
- package/dist/{browser-posture-D4j2a5gi.d.ts.map → browser-posture-DIaVLuW3.d.ts.map} +1 -1
- package/dist/browser-posture-proof.d.mts +2 -2
- package/dist/browser-posture-proof.d.ts +2 -2
- package/dist/browser-posture-proof.js +1 -1
- package/dist/browser-posture-proof.mjs +1 -1
- package/dist/browser-posture.d.mts +1 -1
- package/dist/browser-posture.d.ts +1 -1
- package/dist/browser-posture.js +3 -3
- package/dist/browser-posture.mjs +3 -3
- package/dist/browser-posture.mjs.map +1 -1
- package/dist/clearance.d.mts +1 -1
- package/dist/clearance.d.ts +1 -1
- package/dist/clearance.js +2 -2
- package/dist/clearance.mjs +2 -2
- package/dist/errors/index.d.mts +17 -0
- package/dist/errors/index.d.mts.map +1 -1
- package/dist/errors/index.d.ts +17 -0
- package/dist/errors/index.d.ts.map +1 -1
- package/dist/errors/index.js +75 -3
- package/dist/errors/index.mjs +75 -3
- package/dist/errors/index.mjs.map +1 -1
- package/dist/{external-Ct8j_hto.d.ts → external-B7WI9FyQ.d.mts} +2 -2
- package/dist/{external-Ct8j_hto.d.mts.map → external-B7WI9FyQ.d.mts.map} +1 -1
- package/dist/{external-Ct8j_hto.d.mts → external-B7WI9FyQ.d.ts} +2 -2
- package/dist/{external-Ct8j_hto.d.ts.map → external-B7WI9FyQ.d.ts.map} +1 -1
- package/dist/gateway-client-ip.d.mts +1 -1
- package/dist/gateway-client-ip.d.ts +1 -1
- package/dist/gateway-client-ip.js +1 -1
- package/dist/gateway-client-ip.mjs +1 -1
- package/dist/index.d.mts +811 -132
- package/dist/index.d.mts.map +1 -1
- package/dist/index.d.ts +811 -132
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1945 -145
- package/dist/index.mjs +1891 -145
- package/dist/index.mjs.map +1 -1
- package/dist/mcpi/approval-grant/index.d.mts.map +1 -1
- package/dist/mcpi/approval-grant/index.d.ts.map +1 -1
- package/dist/mcpi/approval-grant/index.js +10 -1
- package/dist/mcpi/approval-grant/index.mjs +10 -1
- package/dist/mcpi/approval-grant/index.mjs.map +1 -1
- package/dist/mcpi/dashboard-config/index.d.mts +3 -2
- package/dist/mcpi/dashboard-config/index.d.mts.map +1 -1
- package/dist/mcpi/dashboard-config/index.d.ts +3 -2
- package/dist/mcpi/dashboard-config/index.d.ts.map +1 -1
- package/dist/{posture-origins-CEm83u4D.js → posture-origins-LFkX80oF.js} +6 -0
- package/dist/{posture-origins-Dl7i8j93.mjs → posture-origins-Pn-ii-Pp.mjs} +2 -2
- package/dist/{posture-origins-Dl7i8j93.mjs.map → posture-origins-Pn-ii-Pp.mjs.map} +1 -1
- package/dist/{project-verification-key-CgSVX9_m.mjs → project-verification-key-66N4edKn.mjs} +2 -2
- package/dist/{project-verification-key-CgSVX9_m.mjs.map → project-verification-key-66N4edKn.mjs.map} +1 -1
- package/dist/{project-verification-key-C3L5rd8a.js → project-verification-key-BccT12tQ.js} +1 -1
- package/dist/{schemas-DxY-dk9y.mjs → schemas-7qodsG-Z.mjs} +49 -2
- package/dist/schemas-7qodsG-Z.mjs.map +1 -0
- package/dist/{schemas-BmjNLAE7.js → schemas-YhagYDx_.js} +59 -0
- package/fixtures/cli-registration.v2.json +115 -0
- package/fixtures/detection/reason-codes.json +1 -1
- package/fixtures/kya-http/README.md +34 -26
- package/fixtures/kya-http/protected-resource-metadata.full.json +14 -5
- package/fixtures/kya-http/protected-resource-metadata.invalid-issuer.json +51 -0
- package/fixtures/kya-http/protected-resource-metadata.no-issuer.json +32 -0
- package/fixtures/reviewer-grant-revocation.v1.json +285 -0
- package/package.json +4 -4
- package/dist/schemas-DxY-dk9y.mjs.map +0 -1
- package/fixtures/kya-http/protected-resource-metadata.global.json +0 -28
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,71 @@
|
|
|
1
|
-
import { A as
|
|
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.mjs";
|
|
2
2
|
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";
|
|
3
3
|
import { JWK } from "jose";
|
|
4
|
+
//#region src/core/network-assertions.d.ts
|
|
5
|
+
export declare const ProxyCollectionStateSchema: ZodEnum<{
|
|
6
|
+
current: "current";
|
|
7
|
+
unavailable: "unavailable";
|
|
8
|
+
stale: "stale";
|
|
9
|
+
unsupported: "unsupported";
|
|
10
|
+
conflicting: "conflicting";
|
|
11
|
+
insufficient_support: "insufficient_support";
|
|
12
|
+
}>;
|
|
13
|
+
export type ProxyCollectionState = output<typeof ProxyCollectionStateSchema>;
|
|
14
|
+
export declare const ProxyAssertionSchema: ZodObject<{
|
|
15
|
+
kind: ZodString;
|
|
16
|
+
source: ZodString;
|
|
17
|
+
subjectScope: ZodLiteral<"request_egress">;
|
|
18
|
+
membership: ZodEnum<{
|
|
19
|
+
absent: "absent";
|
|
20
|
+
unknown: "unknown";
|
|
21
|
+
present: "present";
|
|
22
|
+
}>;
|
|
23
|
+
evidenceGrade: ZodEnum<{
|
|
24
|
+
confirmed: "confirmed";
|
|
25
|
+
vendor_reported: "vendor_reported";
|
|
26
|
+
}>;
|
|
27
|
+
collectionState: ZodEnum<{
|
|
28
|
+
current: "current";
|
|
29
|
+
unavailable: "unavailable";
|
|
30
|
+
stale: "stale";
|
|
31
|
+
unsupported: "unsupported";
|
|
32
|
+
conflicting: "conflicting";
|
|
33
|
+
insufficient_support: "insufficient_support";
|
|
34
|
+
}>;
|
|
35
|
+
observedAt: ZodNullable<ZodNumber>;
|
|
36
|
+
expiresAt: ZodNullable<ZodNumber>;
|
|
37
|
+
membershipConfidence: ZodNullable<ZodNumber>;
|
|
38
|
+
sourceReliability: ZodNullable<ZodNumber>;
|
|
39
|
+
fraudProbability: ZodNullable<ZodNumber>;
|
|
40
|
+
proxyClass: ZodOptional<ZodEnum<{
|
|
41
|
+
unknown: "unknown";
|
|
42
|
+
datacenter: "datacenter";
|
|
43
|
+
}>>;
|
|
44
|
+
}, $strict>;
|
|
45
|
+
export type ProxyAssertion = output<typeof ProxyAssertionSchema>;
|
|
46
|
+
export declare function mapProxyAssertions(proxyAssertions: readonly ProxyAssertion[], nowSeconds: number, collectionState: ProxyCollectionState, compatibility?: 'confirmed_current' | 'maxmind_legacy'): {
|
|
47
|
+
proxy: {
|
|
48
|
+
isProxy: boolean;
|
|
49
|
+
proxyType: "unknown" | "datacenter" | "vpn" | "tor" | "residential_proxy";
|
|
50
|
+
confidence: number;
|
|
51
|
+
} | undefined;
|
|
52
|
+
proxyAssertions: readonly {
|
|
53
|
+
kind: string;
|
|
54
|
+
source: string;
|
|
55
|
+
subjectScope: "request_egress";
|
|
56
|
+
membership: "absent" | "unknown" | "present";
|
|
57
|
+
evidenceGrade: "confirmed" | "vendor_reported";
|
|
58
|
+
collectionState: "current" | "unavailable" | "stale" | "unsupported" | "conflicting" | "insufficient_support";
|
|
59
|
+
observedAt: number | null;
|
|
60
|
+
expiresAt: number | null;
|
|
61
|
+
membershipConfidence: number | null;
|
|
62
|
+
sourceReliability: number | null;
|
|
63
|
+
fraudProbability: number | null;
|
|
64
|
+
proxyClass?: "unknown" | "datacenter" | undefined;
|
|
65
|
+
}[];
|
|
66
|
+
proxyCollectionState: "current" | "unavailable" | "stale" | "unsupported" | "conflicting" | "insufficient_support";
|
|
67
|
+
};
|
|
68
|
+
//#endregion
|
|
4
69
|
//#region src/core/detection.d.ts
|
|
5
70
|
export declare const DetectionClassSchema: ZodDiscriminatedUnion<[ZodObject<{
|
|
6
71
|
type: ZodLiteral<"Human">;
|
|
@@ -86,10 +151,19 @@ export interface CheckpointSession {
|
|
|
86
151
|
[key: string]: unknown;
|
|
87
152
|
}
|
|
88
153
|
export type AgentShieldSession = CheckpointSession;
|
|
154
|
+
export interface CheckpointEvents {
|
|
155
|
+
detection: (result: DetectionResult, context?: CheckpointEventContext) => void;
|
|
156
|
+
'agent.detected': (result: DetectionResult, context?: CheckpointEventContext) => void;
|
|
157
|
+
'agent.blocked': (result: DetectionResult, context?: CheckpointEventContext) => void;
|
|
158
|
+
'agent.allowed': (result: DetectionResult, context?: CheckpointEventContext) => void;
|
|
159
|
+
'agent.session.started': (result: DetectionResult, context?: CheckpointEventContext) => void;
|
|
160
|
+
'agent.session.continued': (session: CheckpointSession, context?: CheckpointEventContext) => void;
|
|
161
|
+
error: (error: Error, context?: CheckpointEventContext) => void;
|
|
162
|
+
}
|
|
89
163
|
export declare const DetectionSignalSchema: ZodObject<{
|
|
90
164
|
signalType: ZodEnum<{
|
|
91
|
-
pattern: "pattern";
|
|
92
165
|
behavioral: "behavioral";
|
|
166
|
+
pattern: "pattern";
|
|
93
167
|
signature: "signature";
|
|
94
168
|
network: "network";
|
|
95
169
|
fingerprint: "fingerprint";
|
|
@@ -204,6 +278,45 @@ export declare const NetworkContextSchema: ZodObject<{
|
|
|
204
278
|
lastDetected: ZodOptional<ZodNumber>;
|
|
205
279
|
confidence: ZodNumber;
|
|
206
280
|
}, $strip>>;
|
|
281
|
+
proxyAssertions: ZodOptional<ZodArray<ZodObject<{
|
|
282
|
+
kind: ZodString;
|
|
283
|
+
source: ZodString;
|
|
284
|
+
subjectScope: ZodLiteral<"request_egress">;
|
|
285
|
+
membership: ZodEnum<{
|
|
286
|
+
absent: "absent";
|
|
287
|
+
unknown: "unknown";
|
|
288
|
+
present: "present";
|
|
289
|
+
}>;
|
|
290
|
+
evidenceGrade: ZodEnum<{
|
|
291
|
+
confirmed: "confirmed";
|
|
292
|
+
vendor_reported: "vendor_reported";
|
|
293
|
+
}>;
|
|
294
|
+
collectionState: ZodEnum<{
|
|
295
|
+
current: "current";
|
|
296
|
+
unavailable: "unavailable";
|
|
297
|
+
stale: "stale";
|
|
298
|
+
unsupported: "unsupported";
|
|
299
|
+
conflicting: "conflicting";
|
|
300
|
+
insufficient_support: "insufficient_support";
|
|
301
|
+
}>;
|
|
302
|
+
observedAt: ZodNullable<ZodNumber>;
|
|
303
|
+
expiresAt: ZodNullable<ZodNumber>;
|
|
304
|
+
membershipConfidence: ZodNullable<ZodNumber>;
|
|
305
|
+
sourceReliability: ZodNullable<ZodNumber>;
|
|
306
|
+
fraudProbability: ZodNullable<ZodNumber>;
|
|
307
|
+
proxyClass: ZodOptional<ZodEnum<{
|
|
308
|
+
unknown: "unknown";
|
|
309
|
+
datacenter: "datacenter";
|
|
310
|
+
}>>;
|
|
311
|
+
}, $strict>>>;
|
|
312
|
+
proxyCollectionState: ZodOptional<ZodEnum<{
|
|
313
|
+
current: "current";
|
|
314
|
+
unavailable: "unavailable";
|
|
315
|
+
stale: "stale";
|
|
316
|
+
unsupported: "unsupported";
|
|
317
|
+
conflicting: "conflicting";
|
|
318
|
+
insufficient_support: "insufficient_support";
|
|
319
|
+
}>>;
|
|
207
320
|
}, $strip>;
|
|
208
321
|
export type NetworkContext = output<typeof NetworkContextSchema>;
|
|
209
322
|
export declare const DetectionDetailSchema: ZodObject<{
|
|
@@ -268,8 +381,8 @@ export declare const DetectionDetailSchema: ZodObject<{
|
|
|
268
381
|
detectedPatterns: ZodOptional<ZodArray<ZodString>>;
|
|
269
382
|
signals: ZodDefault<ZodArray<ZodObject<{
|
|
270
383
|
signalType: ZodEnum<{
|
|
271
|
-
pattern: "pattern";
|
|
272
384
|
behavioral: "behavioral";
|
|
385
|
+
pattern: "pattern";
|
|
273
386
|
signature: "signature";
|
|
274
387
|
network: "network";
|
|
275
388
|
fingerprint: "fingerprint";
|
|
@@ -310,8 +423,8 @@ export declare const DetectionDetailSchema: ZodObject<{
|
|
|
310
423
|
agentType: ZodOptional<ZodString>;
|
|
311
424
|
verificationMethod: ZodOptional<ZodEnum<{
|
|
312
425
|
error: "error";
|
|
313
|
-
pattern: "pattern";
|
|
314
426
|
behavioral: "behavioral";
|
|
427
|
+
pattern: "pattern";
|
|
315
428
|
signature: "signature";
|
|
316
429
|
network: "network";
|
|
317
430
|
mcp_i_handshake: "mcp_i_handshake";
|
|
@@ -454,8 +567,8 @@ export declare const DetectionResultSchema: ZodObject<{
|
|
|
454
567
|
detectedPatterns: ZodOptional<ZodArray<ZodString>>;
|
|
455
568
|
signals: ZodDefault<ZodArray<ZodObject<{
|
|
456
569
|
signalType: ZodEnum<{
|
|
457
|
-
pattern: "pattern";
|
|
458
570
|
behavioral: "behavioral";
|
|
571
|
+
pattern: "pattern";
|
|
459
572
|
signature: "signature";
|
|
460
573
|
network: "network";
|
|
461
574
|
fingerprint: "fingerprint";
|
|
@@ -496,8 +609,8 @@ export declare const DetectionResultSchema: ZodObject<{
|
|
|
496
609
|
agentType: ZodOptional<ZodString>;
|
|
497
610
|
verificationMethod: ZodOptional<ZodEnum<{
|
|
498
611
|
error: "error";
|
|
499
|
-
pattern: "pattern";
|
|
500
612
|
behavioral: "behavioral";
|
|
613
|
+
pattern: "pattern";
|
|
501
614
|
signature: "signature";
|
|
502
615
|
network: "network";
|
|
503
616
|
mcp_i_handshake: "mcp_i_handshake";
|
|
@@ -924,8 +1037,8 @@ export declare function riskScoreColumnValue(metadata: unknown): string | null;
|
|
|
924
1037
|
export declare const VerdictEvidenceSchema: ZodObject<{
|
|
925
1038
|
signal: ZodString;
|
|
926
1039
|
plane: ZodEnum<{
|
|
927
|
-
pattern: "pattern";
|
|
928
1040
|
behavioral: "behavioral";
|
|
1041
|
+
pattern: "pattern";
|
|
929
1042
|
signature: "signature";
|
|
930
1043
|
network: "network";
|
|
931
1044
|
fingerprint: "fingerprint";
|
|
@@ -1157,10 +1270,10 @@ export declare const MiddlewareSessionConfigSchema: ZodObject<{
|
|
|
1157
1270
|
export type MiddlewareSessionConfig = output<typeof MiddlewareSessionConfigSchema>;
|
|
1158
1271
|
export declare const MiddlewareActionSchema: ZodEnum<{
|
|
1159
1272
|
block: "block";
|
|
1273
|
+
log: "log";
|
|
1274
|
+
allow: "allow";
|
|
1160
1275
|
redirect: "redirect";
|
|
1161
1276
|
rewrite: "rewrite";
|
|
1162
|
-
allow: "allow";
|
|
1163
|
-
log: "log";
|
|
1164
1277
|
}>;
|
|
1165
1278
|
export type MiddlewareAction = output<typeof MiddlewareActionSchema>;
|
|
1166
1279
|
export declare const ResponseActionSchema: ZodObject<{
|
|
@@ -1406,10 +1519,10 @@ export type MiddlewareSessionData = output<typeof MiddlewareSessionDataSchema>;
|
|
|
1406
1519
|
export declare const MiddlewareConfigSchema: ZodObject<{
|
|
1407
1520
|
action: ZodDefault<ZodEnum<{
|
|
1408
1521
|
block: "block";
|
|
1522
|
+
log: "log";
|
|
1523
|
+
allow: "allow";
|
|
1409
1524
|
redirect: "redirect";
|
|
1410
1525
|
rewrite: "rewrite";
|
|
1411
|
-
allow: "allow";
|
|
1412
|
-
log: "log";
|
|
1413
1526
|
}>>;
|
|
1414
1527
|
session: ZodOptional<ZodObject<{
|
|
1415
1528
|
enabled: ZodDefault<ZodBoolean>;
|
|
@@ -1723,7 +1836,7 @@ export type NewProject = Omit<Project, 'id' | 'friendlyId' | 'createdAt' | 'upda
|
|
|
1723
1836
|
export declare const PixelConfigurationSchema: ZodObject<{
|
|
1724
1837
|
enabled: ZodDefault<ZodBoolean>;
|
|
1725
1838
|
skipPaths: ZodDefault<ZodArray<ZodString>>;
|
|
1726
|
-
allowedDomains: ZodDefault<ZodArray<ZodString
|
|
1839
|
+
allowedDomains: ZodDefault<ZodPipe<ZodArray<ZodString>, ZodTransform<string[], string[]>>>;
|
|
1727
1840
|
blockedAgents: ZodDefault<ZodArray<ZodString>>;
|
|
1728
1841
|
batchSize: ZodDefault<ZodNumber>;
|
|
1729
1842
|
flushInterval: ZodDefault<ZodNumber>;
|
|
@@ -1740,7 +1853,7 @@ export declare const PixelSchema: ZodObject<{
|
|
|
1740
1853
|
configuration: ZodPrefault<ZodObject<{
|
|
1741
1854
|
enabled: ZodDefault<ZodBoolean>;
|
|
1742
1855
|
skipPaths: ZodDefault<ZodArray<ZodString>>;
|
|
1743
|
-
allowedDomains: ZodDefault<ZodArray<ZodString
|
|
1856
|
+
allowedDomains: ZodDefault<ZodPipe<ZodArray<ZodString>, ZodTransform<string[], string[]>>>;
|
|
1744
1857
|
blockedAgents: ZodDefault<ZodArray<ZodString>>;
|
|
1745
1858
|
batchSize: ZodDefault<ZodNumber>;
|
|
1746
1859
|
flushInterval: ZodDefault<ZodNumber>;
|
|
@@ -1985,8 +2098,8 @@ export declare const PixelEventSchema: ZodObject<{
|
|
|
1985
2098
|
detectedPatterns: ZodOptional<ZodArray<ZodString>>;
|
|
1986
2099
|
signals: ZodDefault<ZodArray<ZodObject<{
|
|
1987
2100
|
signalType: ZodEnum<{
|
|
1988
|
-
pattern: "pattern";
|
|
1989
2101
|
behavioral: "behavioral";
|
|
2102
|
+
pattern: "pattern";
|
|
1990
2103
|
signature: "signature";
|
|
1991
2104
|
network: "network";
|
|
1992
2105
|
fingerprint: "fingerprint";
|
|
@@ -2027,8 +2140,8 @@ export declare const PixelEventSchema: ZodObject<{
|
|
|
2027
2140
|
agentType: ZodOptional<ZodString>;
|
|
2028
2141
|
verificationMethod: ZodOptional<ZodEnum<{
|
|
2029
2142
|
error: "error";
|
|
2030
|
-
pattern: "pattern";
|
|
2031
2143
|
behavioral: "behavioral";
|
|
2144
|
+
pattern: "pattern";
|
|
2032
2145
|
signature: "signature";
|
|
2033
2146
|
network: "network";
|
|
2034
2147
|
mcp_i_handshake: "mcp_i_handshake";
|
|
@@ -2226,8 +2339,8 @@ export declare const BatchPixelEventRequestSchema: ZodObject<{
|
|
|
2226
2339
|
detectedPatterns: ZodOptional<ZodArray<ZodString>>;
|
|
2227
2340
|
signals: ZodDefault<ZodArray<ZodObject<{
|
|
2228
2341
|
signalType: ZodEnum<{
|
|
2229
|
-
pattern: "pattern";
|
|
2230
2342
|
behavioral: "behavioral";
|
|
2343
|
+
pattern: "pattern";
|
|
2231
2344
|
signature: "signature";
|
|
2232
2345
|
network: "network";
|
|
2233
2346
|
fingerprint: "fingerprint";
|
|
@@ -2268,8 +2381,8 @@ export declare const BatchPixelEventRequestSchema: ZodObject<{
|
|
|
2268
2381
|
agentType: ZodOptional<ZodString>;
|
|
2269
2382
|
verificationMethod: ZodOptional<ZodEnum<{
|
|
2270
2383
|
error: "error";
|
|
2271
|
-
pattern: "pattern";
|
|
2272
2384
|
behavioral: "behavioral";
|
|
2385
|
+
pattern: "pattern";
|
|
2273
2386
|
signature: "signature";
|
|
2274
2387
|
network: "network";
|
|
2275
2388
|
mcp_i_handshake: "mcp_i_handshake";
|
|
@@ -2686,8 +2799,8 @@ export declare const PixelTrackingResponseSchema: ZodObject<{
|
|
|
2686
2799
|
detectedPatterns: ZodOptional<ZodArray<ZodString>>;
|
|
2687
2800
|
signals: ZodDefault<ZodArray<ZodObject<{
|
|
2688
2801
|
signalType: ZodEnum<{
|
|
2689
|
-
pattern: "pattern";
|
|
2690
2802
|
behavioral: "behavioral";
|
|
2803
|
+
pattern: "pattern";
|
|
2691
2804
|
signature: "signature";
|
|
2692
2805
|
network: "network";
|
|
2693
2806
|
fingerprint: "fingerprint";
|
|
@@ -2728,8 +2841,8 @@ export declare const PixelTrackingResponseSchema: ZodObject<{
|
|
|
2728
2841
|
agentType: ZodOptional<ZodString>;
|
|
2729
2842
|
verificationMethod: ZodOptional<ZodEnum<{
|
|
2730
2843
|
error: "error";
|
|
2731
|
-
pattern: "pattern";
|
|
2732
2844
|
behavioral: "behavioral";
|
|
2845
|
+
pattern: "pattern";
|
|
2733
2846
|
signature: "signature";
|
|
2734
2847
|
network: "network";
|
|
2735
2848
|
mcp_i_handshake: "mcp_i_handshake";
|
|
@@ -3029,8 +3142,8 @@ export declare const SessionDataSchema: ZodObject<{
|
|
|
3029
3142
|
detectedPatterns: ZodOptional<ZodArray<ZodString>>;
|
|
3030
3143
|
signals: ZodDefault<ZodArray<ZodObject<{
|
|
3031
3144
|
signalType: ZodEnum<{
|
|
3032
|
-
pattern: "pattern";
|
|
3033
3145
|
behavioral: "behavioral";
|
|
3146
|
+
pattern: "pattern";
|
|
3034
3147
|
signature: "signature";
|
|
3035
3148
|
network: "network";
|
|
3036
3149
|
fingerprint: "fingerprint";
|
|
@@ -3071,8 +3184,8 @@ export declare const SessionDataSchema: ZodObject<{
|
|
|
3071
3184
|
agentType: ZodOptional<ZodString>;
|
|
3072
3185
|
verificationMethod: ZodOptional<ZodEnum<{
|
|
3073
3186
|
error: "error";
|
|
3074
|
-
pattern: "pattern";
|
|
3075
3187
|
behavioral: "behavioral";
|
|
3188
|
+
pattern: "pattern";
|
|
3076
3189
|
signature: "signature";
|
|
3077
3190
|
network: "network";
|
|
3078
3191
|
mcp_i_handshake: "mcp_i_handshake";
|
|
@@ -3254,8 +3367,8 @@ export declare const SessionUpdateRequestSchema: ZodObject<{
|
|
|
3254
3367
|
detectedPatterns: ZodOptional<ZodArray<ZodString>>;
|
|
3255
3368
|
signals: ZodDefault<ZodArray<ZodObject<{
|
|
3256
3369
|
signalType: ZodEnum<{
|
|
3257
|
-
pattern: "pattern";
|
|
3258
3370
|
behavioral: "behavioral";
|
|
3371
|
+
pattern: "pattern";
|
|
3259
3372
|
signature: "signature";
|
|
3260
3373
|
network: "network";
|
|
3261
3374
|
fingerprint: "fingerprint";
|
|
@@ -3296,8 +3409,8 @@ export declare const SessionUpdateRequestSchema: ZodObject<{
|
|
|
3296
3409
|
agentType: ZodOptional<ZodString>;
|
|
3297
3410
|
verificationMethod: ZodOptional<ZodEnum<{
|
|
3298
3411
|
error: "error";
|
|
3299
|
-
pattern: "pattern";
|
|
3300
3412
|
behavioral: "behavioral";
|
|
3413
|
+
pattern: "pattern";
|
|
3301
3414
|
signature: "signature";
|
|
3302
3415
|
network: "network";
|
|
3303
3416
|
mcp_i_handshake: "mcp_i_handshake";
|
|
@@ -4132,8 +4245,8 @@ export declare const DetectionResponseSchema: ZodObject<{
|
|
|
4132
4245
|
detectedPatterns: ZodOptional<ZodArray<ZodString>>;
|
|
4133
4246
|
signals: ZodDefault<ZodArray<ZodObject<{
|
|
4134
4247
|
signalType: ZodEnum<{
|
|
4135
|
-
pattern: "pattern";
|
|
4136
4248
|
behavioral: "behavioral";
|
|
4249
|
+
pattern: "pattern";
|
|
4137
4250
|
signature: "signature";
|
|
4138
4251
|
network: "network";
|
|
4139
4252
|
fingerprint: "fingerprint";
|
|
@@ -4174,8 +4287,8 @@ export declare const DetectionResponseSchema: ZodObject<{
|
|
|
4174
4287
|
agentType: ZodOptional<ZodString>;
|
|
4175
4288
|
verificationMethod: ZodOptional<ZodEnum<{
|
|
4176
4289
|
error: "error";
|
|
4177
|
-
pattern: "pattern";
|
|
4178
4290
|
behavioral: "behavioral";
|
|
4291
|
+
pattern: "pattern";
|
|
4179
4292
|
signature: "signature";
|
|
4180
4293
|
network: "network";
|
|
4181
4294
|
mcp_i_handshake: "mcp_i_handshake";
|
|
@@ -4347,8 +4460,8 @@ export declare const BatchDetectionResponseSchema: ZodObject<{
|
|
|
4347
4460
|
detectedPatterns: ZodOptional<ZodArray<ZodString>>;
|
|
4348
4461
|
signals: ZodDefault<ZodArray<ZodObject<{
|
|
4349
4462
|
signalType: ZodEnum<{
|
|
4350
|
-
pattern: "pattern";
|
|
4351
4463
|
behavioral: "behavioral";
|
|
4464
|
+
pattern: "pattern";
|
|
4352
4465
|
signature: "signature";
|
|
4353
4466
|
network: "network";
|
|
4354
4467
|
fingerprint: "fingerprint";
|
|
@@ -4389,8 +4502,8 @@ export declare const BatchDetectionResponseSchema: ZodObject<{
|
|
|
4389
4502
|
agentType: ZodOptional<ZodString>;
|
|
4390
4503
|
verificationMethod: ZodOptional<ZodEnum<{
|
|
4391
4504
|
error: "error";
|
|
4392
|
-
pattern: "pattern";
|
|
4393
4505
|
behavioral: "behavioral";
|
|
4506
|
+
pattern: "pattern";
|
|
4394
4507
|
signature: "signature";
|
|
4395
4508
|
network: "network";
|
|
4396
4509
|
mcp_i_handshake: "mcp_i_handshake";
|
|
@@ -4750,8 +4863,8 @@ export declare const EventTrackingResponseSchema: ZodObject<{
|
|
|
4750
4863
|
detectedPatterns: ZodOptional<ZodArray<ZodString>>;
|
|
4751
4864
|
signals: ZodDefault<ZodArray<ZodObject<{
|
|
4752
4865
|
signalType: ZodEnum<{
|
|
4753
|
-
pattern: "pattern";
|
|
4754
4866
|
behavioral: "behavioral";
|
|
4867
|
+
pattern: "pattern";
|
|
4755
4868
|
signature: "signature";
|
|
4756
4869
|
network: "network";
|
|
4757
4870
|
fingerprint: "fingerprint";
|
|
@@ -4792,8 +4905,8 @@ export declare const EventTrackingResponseSchema: ZodObject<{
|
|
|
4792
4905
|
agentType: ZodOptional<ZodString>;
|
|
4793
4906
|
verificationMethod: ZodOptional<ZodEnum<{
|
|
4794
4907
|
error: "error";
|
|
4795
|
-
pattern: "pattern";
|
|
4796
4908
|
behavioral: "behavioral";
|
|
4909
|
+
pattern: "pattern";
|
|
4797
4910
|
signature: "signature";
|
|
4798
4911
|
network: "network";
|
|
4799
4912
|
mcp_i_handshake: "mcp_i_handshake";
|
|
@@ -5125,8 +5238,8 @@ export declare const BatchEventResponseSchema: ZodObject<{
|
|
|
5125
5238
|
detectedPatterns: ZodOptional<ZodArray<ZodString>>;
|
|
5126
5239
|
signals: ZodDefault<ZodArray<ZodObject<{
|
|
5127
5240
|
signalType: ZodEnum<{
|
|
5128
|
-
pattern: "pattern";
|
|
5129
5241
|
behavioral: "behavioral";
|
|
5242
|
+
pattern: "pattern";
|
|
5130
5243
|
signature: "signature";
|
|
5131
5244
|
network: "network";
|
|
5132
5245
|
fingerprint: "fingerprint";
|
|
@@ -5167,8 +5280,8 @@ export declare const BatchEventResponseSchema: ZodObject<{
|
|
|
5167
5280
|
agentType: ZodOptional<ZodString>;
|
|
5168
5281
|
verificationMethod: ZodOptional<ZodEnum<{
|
|
5169
5282
|
error: "error";
|
|
5170
|
-
pattern: "pattern";
|
|
5171
5283
|
behavioral: "behavioral";
|
|
5284
|
+
pattern: "pattern";
|
|
5172
5285
|
signature: "signature";
|
|
5173
5286
|
network: "network";
|
|
5174
5287
|
mcp_i_handshake: "mcp_i_handshake";
|
|
@@ -5661,8 +5774,8 @@ export declare const DetectionEventSchema: ZodObject<{
|
|
|
5661
5774
|
detectedPatterns: ZodOptional<ZodArray<ZodString>>;
|
|
5662
5775
|
signals: ZodDefault<ZodArray<ZodObject<{
|
|
5663
5776
|
signalType: ZodEnum<{
|
|
5664
|
-
pattern: "pattern";
|
|
5665
5777
|
behavioral: "behavioral";
|
|
5778
|
+
pattern: "pattern";
|
|
5666
5779
|
signature: "signature";
|
|
5667
5780
|
network: "network";
|
|
5668
5781
|
fingerprint: "fingerprint";
|
|
@@ -5703,8 +5816,8 @@ export declare const DetectionEventSchema: ZodObject<{
|
|
|
5703
5816
|
agentType: ZodOptional<ZodString>;
|
|
5704
5817
|
verificationMethod: ZodOptional<ZodEnum<{
|
|
5705
5818
|
error: "error";
|
|
5706
|
-
pattern: "pattern";
|
|
5707
5819
|
behavioral: "behavioral";
|
|
5820
|
+
pattern: "pattern";
|
|
5708
5821
|
signature: "signature";
|
|
5709
5822
|
network: "network";
|
|
5710
5823
|
mcp_i_handshake: "mcp_i_handshake";
|
|
@@ -5868,6 +5981,7 @@ export type DatabaseStatus = output<typeof DatabaseStatusSchema>;
|
|
|
5868
5981
|
export declare const FilterOperatorSchema: ZodEnum<{
|
|
5869
5982
|
in: "in";
|
|
5870
5983
|
null: "null";
|
|
5984
|
+
exists: "exists";
|
|
5871
5985
|
eq: "eq";
|
|
5872
5986
|
neq: "neq";
|
|
5873
5987
|
gt: "gt";
|
|
@@ -5878,7 +5992,6 @@ export declare const FilterOperatorSchema: ZodEnum<{
|
|
|
5878
5992
|
like: "like";
|
|
5879
5993
|
ilike: "ilike";
|
|
5880
5994
|
regex: "regex";
|
|
5881
|
-
exists: "exists";
|
|
5882
5995
|
nexists: "nexists";
|
|
5883
5996
|
nnull: "nnull";
|
|
5884
5997
|
}>;
|
|
@@ -5888,6 +6001,7 @@ export declare const QueryFilterSchema: ZodObject<{
|
|
|
5888
6001
|
operator: ZodEnum<{
|
|
5889
6002
|
in: "in";
|
|
5890
6003
|
null: "null";
|
|
6004
|
+
exists: "exists";
|
|
5891
6005
|
eq: "eq";
|
|
5892
6006
|
neq: "neq";
|
|
5893
6007
|
gt: "gt";
|
|
@@ -5898,7 +6012,6 @@ export declare const QueryFilterSchema: ZodObject<{
|
|
|
5898
6012
|
like: "like";
|
|
5899
6013
|
ilike: "ilike";
|
|
5900
6014
|
regex: "regex";
|
|
5901
|
-
exists: "exists";
|
|
5902
6015
|
nexists: "nexists";
|
|
5903
6016
|
nnull: "nnull";
|
|
5904
6017
|
}>;
|
|
@@ -5963,8 +6076,8 @@ export declare const DetectionMetadataSchema: ZodObject<{
|
|
|
5963
6076
|
export type DetectionMetadata = output<typeof DetectionMetadataSchema>;
|
|
5964
6077
|
export declare const AnalyticsExportParamsSchema: ZodObject<{
|
|
5965
6078
|
format: ZodDefault<ZodEnum<{
|
|
5966
|
-
json: "json";
|
|
5967
6079
|
csv: "csv";
|
|
6080
|
+
json: "json";
|
|
5968
6081
|
xlsx: "xlsx";
|
|
5969
6082
|
}>>;
|
|
5970
6083
|
dateRange: ZodObject<{
|
|
@@ -6539,11 +6652,11 @@ export interface FingerprintTestResponse {
|
|
|
6539
6652
|
//#region src/types/fingerprint.d.ts
|
|
6540
6653
|
export declare const IntegrationTypeSchema: ZodEnum<{
|
|
6541
6654
|
wasm: "wasm";
|
|
6655
|
+
express: "express";
|
|
6542
6656
|
pixel: "pixel";
|
|
6543
6657
|
middleware: "middleware";
|
|
6544
6658
|
beacon: "beacon";
|
|
6545
6659
|
noscript: "noscript";
|
|
6546
|
-
express: "express";
|
|
6547
6660
|
edge: "edge";
|
|
6548
6661
|
}>;
|
|
6549
6662
|
export type IntegrationType = output<typeof IntegrationTypeSchema>;
|
|
@@ -6662,11 +6775,11 @@ export declare const CollectedDataSchema: ZodObject<{
|
|
|
6662
6775
|
testId: ZodOptional<ZodString>;
|
|
6663
6776
|
integrationType: ZodEnum<{
|
|
6664
6777
|
wasm: "wasm";
|
|
6778
|
+
express: "express";
|
|
6665
6779
|
pixel: "pixel";
|
|
6666
6780
|
middleware: "middleware";
|
|
6667
6781
|
beacon: "beacon";
|
|
6668
6782
|
noscript: "noscript";
|
|
6669
|
-
express: "express";
|
|
6670
6783
|
edge: "edge";
|
|
6671
6784
|
}>;
|
|
6672
6785
|
timestamp: ZodDate;
|
|
@@ -6784,11 +6897,11 @@ export declare const CollectedDataSchema: ZodObject<{
|
|
|
6784
6897
|
detectionResults: ZodOptional<ZodObject<{
|
|
6785
6898
|
wouldDetectAs: ZodOptional<ZodRecord<ZodEnum<{
|
|
6786
6899
|
wasm: "wasm";
|
|
6900
|
+
express: "express";
|
|
6787
6901
|
pixel: "pixel";
|
|
6788
6902
|
middleware: "middleware";
|
|
6789
6903
|
beacon: "beacon";
|
|
6790
6904
|
noscript: "noscript";
|
|
6791
|
-
express: "express";
|
|
6792
6905
|
edge: "edge";
|
|
6793
6906
|
}> & $partial, ZodObject<{
|
|
6794
6907
|
isAgent: ZodBoolean;
|
|
@@ -6810,8 +6923,8 @@ export declare const DetectionRuleSchema: ZodObject<{
|
|
|
6810
6923
|
name: ZodString;
|
|
6811
6924
|
description: ZodString;
|
|
6812
6925
|
category: ZodEnum<{
|
|
6813
|
-
pattern: "pattern";
|
|
6814
6926
|
behavioral: "behavioral";
|
|
6927
|
+
pattern: "pattern";
|
|
6815
6928
|
signature: "signature";
|
|
6816
6929
|
network: "network";
|
|
6817
6930
|
fingerprint: "fingerprint";
|
|
@@ -6839,11 +6952,11 @@ export declare const DetectionRuleSchema: ZodObject<{
|
|
|
6839
6952
|
priority: ZodDefault<ZodNumber>;
|
|
6840
6953
|
applicableIntegrations: ZodArray<ZodEnum<{
|
|
6841
6954
|
wasm: "wasm";
|
|
6955
|
+
express: "express";
|
|
6842
6956
|
pixel: "pixel";
|
|
6843
6957
|
middleware: "middleware";
|
|
6844
6958
|
beacon: "beacon";
|
|
6845
6959
|
noscript: "noscript";
|
|
6846
|
-
express: "express";
|
|
6847
6960
|
edge: "edge";
|
|
6848
6961
|
}>>;
|
|
6849
6962
|
enabled: ZodDefault<ZodBoolean>;
|
|
@@ -6887,8 +7000,8 @@ export declare const AgentProfileSchema: ZodObject<{
|
|
|
6887
7000
|
name: ZodString;
|
|
6888
7001
|
description: ZodString;
|
|
6889
7002
|
category: ZodEnum<{
|
|
6890
|
-
pattern: "pattern";
|
|
6891
7003
|
behavioral: "behavioral";
|
|
7004
|
+
pattern: "pattern";
|
|
6892
7005
|
signature: "signature";
|
|
6893
7006
|
network: "network";
|
|
6894
7007
|
fingerprint: "fingerprint";
|
|
@@ -6916,11 +7029,11 @@ export declare const AgentProfileSchema: ZodObject<{
|
|
|
6916
7029
|
priority: ZodDefault<ZodNumber>;
|
|
6917
7030
|
applicableIntegrations: ZodArray<ZodEnum<{
|
|
6918
7031
|
wasm: "wasm";
|
|
7032
|
+
express: "express";
|
|
6919
7033
|
pixel: "pixel";
|
|
6920
7034
|
middleware: "middleware";
|
|
6921
7035
|
beacon: "beacon";
|
|
6922
7036
|
noscript: "noscript";
|
|
6923
|
-
express: "express";
|
|
6924
7037
|
edge: "edge";
|
|
6925
7038
|
}>>;
|
|
6926
7039
|
enabled: ZodDefault<ZodBoolean>;
|
|
@@ -7003,11 +7116,11 @@ export declare const FingerprintSearchQuerySchema: ZodObject<{
|
|
|
7003
7116
|
vendor: ZodOptional<ZodString>;
|
|
7004
7117
|
integrationType: ZodOptional<ZodEnum<{
|
|
7005
7118
|
wasm: "wasm";
|
|
7119
|
+
express: "express";
|
|
7006
7120
|
pixel: "pixel";
|
|
7007
7121
|
middleware: "middleware";
|
|
7008
7122
|
beacon: "beacon";
|
|
7009
7123
|
noscript: "noscript";
|
|
7010
|
-
express: "express";
|
|
7011
7124
|
edge: "edge";
|
|
7012
7125
|
}>>;
|
|
7013
7126
|
profileId: ZodOptional<ZodString>;
|
|
@@ -7034,11 +7147,11 @@ export declare const DetectionTestResultSchema: ZodObject<{
|
|
|
7034
7147
|
timestamp: ZodDate;
|
|
7035
7148
|
results: ZodRecord<ZodEnum<{
|
|
7036
7149
|
wasm: "wasm";
|
|
7150
|
+
express: "express";
|
|
7037
7151
|
pixel: "pixel";
|
|
7038
7152
|
middleware: "middleware";
|
|
7039
7153
|
beacon: "beacon";
|
|
7040
7154
|
noscript: "noscript";
|
|
7041
|
-
express: "express";
|
|
7042
7155
|
edge: "edge";
|
|
7043
7156
|
}> & $partial, ZodObject<{
|
|
7044
7157
|
isAgent: ZodBoolean;
|
|
@@ -7068,11 +7181,11 @@ export declare const CollectFingerprintRequestSchema: ZodObject<{
|
|
|
7068
7181
|
testId: ZodOptional<ZodString>;
|
|
7069
7182
|
integrationType: ZodEnum<{
|
|
7070
7183
|
wasm: "wasm";
|
|
7184
|
+
express: "express";
|
|
7071
7185
|
pixel: "pixel";
|
|
7072
7186
|
middleware: "middleware";
|
|
7073
7187
|
beacon: "beacon";
|
|
7074
7188
|
noscript: "noscript";
|
|
7075
|
-
express: "express";
|
|
7076
7189
|
edge: "edge";
|
|
7077
7190
|
}>;
|
|
7078
7191
|
data: ZodAny;
|
|
@@ -7109,11 +7222,11 @@ export declare const TestDetectionRequestSchema: ZodObject<{
|
|
|
7109
7222
|
fingerprintId: ZodString;
|
|
7110
7223
|
integrationTypes: ZodOptional<ZodArray<ZodEnum<{
|
|
7111
7224
|
wasm: "wasm";
|
|
7225
|
+
express: "express";
|
|
7112
7226
|
pixel: "pixel";
|
|
7113
7227
|
middleware: "middleware";
|
|
7114
7228
|
beacon: "beacon";
|
|
7115
7229
|
noscript: "noscript";
|
|
7116
|
-
express: "express";
|
|
7117
7230
|
edge: "edge";
|
|
7118
7231
|
}>>>;
|
|
7119
7232
|
}, $strip>;
|
|
@@ -7548,10 +7661,10 @@ export declare const auditLogQuerySchema: ZodObject<{
|
|
|
7548
7661
|
adminId: ZodOptional<ZodString>;
|
|
7549
7662
|
action: ZodOptional<ZodString>;
|
|
7550
7663
|
targetType: ZodOptional<ZodEnum<{
|
|
7664
|
+
organization: "organization";
|
|
7551
7665
|
user: "user";
|
|
7552
7666
|
system: "system";
|
|
7553
7667
|
project: "project";
|
|
7554
|
-
organization: "organization";
|
|
7555
7668
|
}>>;
|
|
7556
7669
|
startDate: ZodOptional<ZodString>;
|
|
7557
7670
|
endDate: ZodOptional<ZodString>;
|
|
@@ -7859,9 +7972,11 @@ export interface AdminOrganizationSessionAnalytics {
|
|
|
7859
7972
|
aiAgentSessions: number;
|
|
7860
7973
|
botSessions: number;
|
|
7861
7974
|
humanSessions: number;
|
|
7975
|
+
incompleteDataSessions?: number;
|
|
7862
7976
|
aiAgentPercentage: number;
|
|
7863
7977
|
botPercentage: number;
|
|
7864
7978
|
humanPercentage: number;
|
|
7979
|
+
incompleteDataPercentage?: number;
|
|
7865
7980
|
};
|
|
7866
7981
|
patterns: {
|
|
7867
7982
|
peakHours: unknown[];
|
|
@@ -7884,6 +7999,7 @@ export interface AdminSessionIndustryAverages {
|
|
|
7884
7999
|
aiAgentPercentage: number;
|
|
7885
8000
|
botPercentage: number;
|
|
7886
8001
|
humanPercentage: number;
|
|
8002
|
+
incompleteDataPercentage?: number;
|
|
7887
8003
|
};
|
|
7888
8004
|
}
|
|
7889
8005
|
export interface AdminSessionAnomaly {
|
|
@@ -8698,7 +8814,7 @@ export declare const TRAFFIC_TAXONOMY_BUCKETS: readonly ["human", "ai_agent", "a
|
|
|
8698
8814
|
export type TrafficTaxonomyBucket = (typeof TRAFFIC_TAXONOMY_BUCKETS)[number];
|
|
8699
8815
|
export declare const EXCLUSION_BUCKETS: readonly ["vouched", "internal_team", "test_pattern", "shopify_review", "cohort"];
|
|
8700
8816
|
export type ExclusionBucket = (typeof EXCLUSION_BUCKETS)[number];
|
|
8701
|
-
export declare const ADMIN_OVERVIEW_SECTIONS: readonly ["ladder", "installations", "traffic", "lists", "hiAi"];
|
|
8817
|
+
export declare const ADMIN_OVERVIEW_SECTIONS: readonly ["ladder", "installations", "traffic", "lists", "hiAi", "accounts"];
|
|
8702
8818
|
export type AdminOverviewSection = (typeof ADMIN_OVERVIEW_SECTIONS)[number];
|
|
8703
8819
|
export declare const ADMIN_OVERVIEW_CACHE_STATUSES: readonly ["hit", "stale", "miss", "bypass"];
|
|
8704
8820
|
export type AdminOverviewCacheStatus = (typeof ADMIN_OVERVIEW_CACHE_STATUSES)[number];
|
|
@@ -8871,12 +8987,127 @@ export interface AdminOverviewMeta {
|
|
|
8871
8987
|
};
|
|
8872
8988
|
durationsMs: Partial<Record<AdminOverviewSection | 'total', number>>;
|
|
8873
8989
|
}
|
|
8990
|
+
export declare const ADMIN_TRUSTED_METRICS: readonly ["emailsCollected", "users", "signedIn", "onboarded", "activated", "activeUsers", "peopleInOrgs", "installedOrgs"];
|
|
8991
|
+
export type AdminTrustedMetric = (typeof ADMIN_TRUSTED_METRICS)[number];
|
|
8992
|
+
export declare const ADMIN_ORG_EXCLUSION_REASONS: readonly ["test_org", "no_counted_members"];
|
|
8993
|
+
export type AdminOrgExclusionReason = (typeof ADMIN_ORG_EXCLUSION_REASONS)[number];
|
|
8994
|
+
export declare const ADMIN_ACCOUNT_STATUSES: readonly ["counted", "vouched", "internal_team", "test_pattern", "shopify_review", "cohort", "test_org", "no_counted_members"];
|
|
8995
|
+
export type AdminAccountStatus = (typeof ADMIN_ACCOUNT_STATUSES)[number];
|
|
8996
|
+
export interface AdminCountSplit {
|
|
8997
|
+
counted: number;
|
|
8998
|
+
excluded: number;
|
|
8999
|
+
}
|
|
9000
|
+
export interface AdminDailyActive {
|
|
9001
|
+
date: string;
|
|
9002
|
+
counted: number;
|
|
9003
|
+
excluded: number;
|
|
9004
|
+
}
|
|
9005
|
+
export interface AdminActiveUsersSummary {
|
|
9006
|
+
available: boolean;
|
|
9007
|
+
dailyAverage: {
|
|
9008
|
+
counted: number;
|
|
9009
|
+
excluded: number;
|
|
9010
|
+
} | null;
|
|
9011
|
+
daily: AdminDailyActive[];
|
|
9012
|
+
}
|
|
9013
|
+
export interface AdminOverviewAccounts {
|
|
9014
|
+
splits: Record<AdminTrustedMetric, AdminCountSplit | null>;
|
|
9015
|
+
activeUsers: AdminActiveUsersSummary;
|
|
9016
|
+
}
|
|
9017
|
+
export declare const ADMIN_ACCOUNTS_STATUS_FILTERS: readonly ["all", "excluded", "counted", "vouched", "internal_team", "test_pattern", "shopify_review", "cohort", "test_org", "no_counted_members"];
|
|
9018
|
+
export type AdminAccountsStatusFilter = (typeof ADMIN_ACCOUNTS_STATUS_FILTERS)[number];
|
|
9019
|
+
export declare const adminAccountsQuerySchema: ZodObject<{
|
|
9020
|
+
metric: ZodEnum<{
|
|
9021
|
+
emailsCollected: "emailsCollected";
|
|
9022
|
+
users: "users";
|
|
9023
|
+
signedIn: "signedIn";
|
|
9024
|
+
onboarded: "onboarded";
|
|
9025
|
+
activated: "activated";
|
|
9026
|
+
activeUsers: "activeUsers";
|
|
9027
|
+
peopleInOrgs: "peopleInOrgs";
|
|
9028
|
+
installedOrgs: "installedOrgs";
|
|
9029
|
+
}>;
|
|
9030
|
+
window: ZodDefault<ZodEnum<{
|
|
9031
|
+
"7d": "7d";
|
|
9032
|
+
"30d": "30d";
|
|
9033
|
+
"90d": "90d";
|
|
9034
|
+
}>>;
|
|
9035
|
+
status: ZodDefault<ZodEnum<{
|
|
9036
|
+
all: "all";
|
|
9037
|
+
vouched: "vouched";
|
|
9038
|
+
internal_team: "internal_team";
|
|
9039
|
+
test_pattern: "test_pattern";
|
|
9040
|
+
shopify_review: "shopify_review";
|
|
9041
|
+
cohort: "cohort";
|
|
9042
|
+
test_org: "test_org";
|
|
9043
|
+
no_counted_members: "no_counted_members";
|
|
9044
|
+
counted: "counted";
|
|
9045
|
+
excluded: "excluded";
|
|
9046
|
+
}>>;
|
|
9047
|
+
}, $strip>;
|
|
9048
|
+
export type AdminAccountsQuery = output<typeof adminAccountsQuerySchema>;
|
|
9049
|
+
export interface AdminAccountActivity {
|
|
9050
|
+
dashboardActiveDays: number | null;
|
|
9051
|
+
lastDashboardDay: string | null;
|
|
9052
|
+
lastActionAt: string | null;
|
|
9053
|
+
projects: number;
|
|
9054
|
+
detections30d: number;
|
|
9055
|
+
apiKeyLastUsedAt: string | null;
|
|
9056
|
+
}
|
|
9057
|
+
export interface AdminPersonRow {
|
|
9058
|
+
subject: 'person';
|
|
9059
|
+
id: string;
|
|
9060
|
+
email: string;
|
|
9061
|
+
name: string | null;
|
|
9062
|
+
organizationId: string | null;
|
|
9063
|
+
organizationName: string | null;
|
|
9064
|
+
status: AdminAccountStatus;
|
|
9065
|
+
createdAt: string;
|
|
9066
|
+
lastActiveAt: string | null;
|
|
9067
|
+
activity: AdminAccountActivity;
|
|
9068
|
+
}
|
|
9069
|
+
export interface AdminLeadRow {
|
|
9070
|
+
subject: 'lead';
|
|
9071
|
+
id: string;
|
|
9072
|
+
email: string;
|
|
9073
|
+
status: AdminAccountStatus;
|
|
9074
|
+
createdAt: string;
|
|
9075
|
+
}
|
|
9076
|
+
export interface AdminOrgRow {
|
|
9077
|
+
subject: 'org';
|
|
9078
|
+
id: string;
|
|
9079
|
+
name: string;
|
|
9080
|
+
status: AdminAccountStatus;
|
|
9081
|
+
members: AdminCountSplit;
|
|
9082
|
+
createdAt: string;
|
|
9083
|
+
lastActiveAt: string | null;
|
|
9084
|
+
activity: AdminAccountActivity;
|
|
9085
|
+
}
|
|
9086
|
+
export type AdminAccountRow = AdminPersonRow | AdminLeadRow | AdminOrgRow;
|
|
9087
|
+
export interface AdminAccountsResponse {
|
|
9088
|
+
metric: AdminTrustedMetric;
|
|
9089
|
+
window: AdminOverviewWindow;
|
|
9090
|
+
available: boolean;
|
|
9091
|
+
rows: AdminAccountRow[];
|
|
9092
|
+
status: AdminAccountsStatusFilter;
|
|
9093
|
+
total: number;
|
|
9094
|
+
matching: number;
|
|
9095
|
+
split: AdminCountSplit;
|
|
9096
|
+
byStatus: Partial<Record<AdminAccountStatus, number>>;
|
|
9097
|
+
truncated: boolean;
|
|
9098
|
+
dashboardActivity: {
|
|
9099
|
+
available: boolean;
|
|
9100
|
+
};
|
|
9101
|
+
warnings: string[];
|
|
9102
|
+
generatedAt: string;
|
|
9103
|
+
}
|
|
8874
9104
|
export interface AdminOverviewResponse {
|
|
8875
9105
|
ladder: AdminOverviewLadder;
|
|
8876
9106
|
installations: AdminOverviewInstallations;
|
|
8877
9107
|
traffic: AdminOverviewTraffic;
|
|
8878
9108
|
lists: AdminOverviewLists;
|
|
8879
9109
|
hiAi: AdminOverviewHiAi;
|
|
9110
|
+
accounts: AdminOverviewAccounts;
|
|
8880
9111
|
meta: AdminOverviewMeta;
|
|
8881
9112
|
}
|
|
8882
9113
|
//#endregion
|
|
@@ -8962,7 +9193,6 @@ export declare const DEFAULT_ENV_VARS: {
|
|
|
8962
9193
|
readonly AGENTSHIELD_SECRET_KEY: "";
|
|
8963
9194
|
readonly AGENTSHIELD_PIXEL_ID: "";
|
|
8964
9195
|
readonly AGENTSHIELD_API_ENDPOINT: "https://api.agentshield.ai";
|
|
8965
|
-
readonly AGENTSHIELD_WASM_PATH: "/wasm/agentshield_wasm_bg.wasm";
|
|
8966
9196
|
readonly AGENTSHIELD_CACHE_TTL: "3600";
|
|
8967
9197
|
readonly AGENTSHIELD_DEBUG: "false";
|
|
8968
9198
|
readonly AGENTSHIELD_LOG_LEVEL: "info";
|
|
@@ -9131,6 +9361,8 @@ export declare const BARE_ERRORS: {
|
|
|
9131
9361
|
readonly BARE_INVALID_DATE_RANGE: "INVALID_DATE_RANGE";
|
|
9132
9362
|
readonly BARE_INVALID_DATE: "INVALID_DATE";
|
|
9133
9363
|
readonly BARE_UNKNOWN_ERROR: "UNKNOWN_ERROR";
|
|
9364
|
+
readonly BARE_NOT_FOUND: "NOT_FOUND";
|
|
9365
|
+
readonly BARE_FORBIDDEN: "FORBIDDEN";
|
|
9134
9366
|
};
|
|
9135
9367
|
export declare const LOWERCASE_ERRORS: {
|
|
9136
9368
|
readonly LOWERCASE_INVALID_JSON: "invalid_json";
|
|
@@ -9240,7 +9472,41 @@ export declare const KYAOS_PROTOCOL_ERRORS: {
|
|
|
9240
9472
|
readonly KYAOS_SLASH_SESSION_MISMATCH: "kyaos/session-mismatch";
|
|
9241
9473
|
readonly KYAOS_SLASH_POLICY_UNAVAILABLE: "kyaos/policy-unavailable";
|
|
9242
9474
|
};
|
|
9475
|
+
export declare const GATEWAY_VAULT_ERRORS: {
|
|
9476
|
+
readonly MALFORMED_REQUEST_BODY: "MALFORMED_REQUEST_BODY";
|
|
9477
|
+
readonly GATEWAY_NOT_CONFIGURED: "GATEWAY_NOT_CONFIGURED";
|
|
9478
|
+
readonly INVALID_ASSERTION: "INVALID_ASSERTION";
|
|
9479
|
+
readonly INVALID_SIGNATURE: "INVALID_SIGNATURE";
|
|
9480
|
+
readonly ASSERTION_EXPIRED: "ASSERTION_EXPIRED";
|
|
9481
|
+
readonly ASSERTION_REPLAYED: "ASSERTION_REPLAYED";
|
|
9482
|
+
readonly PROJECT_MISMATCH: "PROJECT_MISMATCH";
|
|
9483
|
+
readonly ISSUER_MISMATCH: "ISSUER_MISMATCH";
|
|
9484
|
+
readonly USER_DID_MISMATCH: "USER_DID_MISMATCH";
|
|
9485
|
+
readonly TOOL_NAME_MISMATCH: "TOOL_NAME_MISMATCH";
|
|
9486
|
+
readonly SESSION_ID_MISMATCH: "SESSION_ID_MISMATCH";
|
|
9487
|
+
readonly NOT_AUTHORIZED: "NOT_AUTHORIZED";
|
|
9488
|
+
readonly CREDENTIALS_NOT_CONFIGURED: "CREDENTIALS_NOT_CONFIGURED";
|
|
9489
|
+
readonly OAUTH_EXPIRED: "OAUTH_EXPIRED";
|
|
9490
|
+
};
|
|
9491
|
+
export declare const VAULT_ERRORS: {
|
|
9492
|
+
readonly NO_AGENT_KEY: "NO_AGENT_KEY";
|
|
9493
|
+
};
|
|
9243
9494
|
export declare const ERROR_CODES: {
|
|
9495
|
+
readonly NO_AGENT_KEY: "NO_AGENT_KEY";
|
|
9496
|
+
readonly MALFORMED_REQUEST_BODY: "MALFORMED_REQUEST_BODY";
|
|
9497
|
+
readonly GATEWAY_NOT_CONFIGURED: "GATEWAY_NOT_CONFIGURED";
|
|
9498
|
+
readonly INVALID_ASSERTION: "INVALID_ASSERTION";
|
|
9499
|
+
readonly INVALID_SIGNATURE: "INVALID_SIGNATURE";
|
|
9500
|
+
readonly ASSERTION_EXPIRED: "ASSERTION_EXPIRED";
|
|
9501
|
+
readonly ASSERTION_REPLAYED: "ASSERTION_REPLAYED";
|
|
9502
|
+
readonly PROJECT_MISMATCH: "PROJECT_MISMATCH";
|
|
9503
|
+
readonly ISSUER_MISMATCH: "ISSUER_MISMATCH";
|
|
9504
|
+
readonly USER_DID_MISMATCH: "USER_DID_MISMATCH";
|
|
9505
|
+
readonly TOOL_NAME_MISMATCH: "TOOL_NAME_MISMATCH";
|
|
9506
|
+
readonly SESSION_ID_MISMATCH: "SESSION_ID_MISMATCH";
|
|
9507
|
+
readonly NOT_AUTHORIZED: "NOT_AUTHORIZED";
|
|
9508
|
+
readonly CREDENTIALS_NOT_CONFIGURED: "CREDENTIALS_NOT_CONFIGURED";
|
|
9509
|
+
readonly OAUTH_EXPIRED: "OAUTH_EXPIRED";
|
|
9244
9510
|
readonly KYAOS_SLASH_ISSUER_FORBIDDEN: "kyaos/issuer-forbidden";
|
|
9245
9511
|
readonly KYAOS_SLASH_PROFILE_VIOLATION: "kyaos/profile-violation";
|
|
9246
9512
|
readonly KYAOS_SLASH_INVALID_SESSION: "kyaos/invalid-session";
|
|
@@ -9344,6 +9610,8 @@ export declare const ERROR_CODES: {
|
|
|
9344
9610
|
readonly BARE_INVALID_DATE_RANGE: "INVALID_DATE_RANGE";
|
|
9345
9611
|
readonly BARE_INVALID_DATE: "INVALID_DATE";
|
|
9346
9612
|
readonly BARE_UNKNOWN_ERROR: "UNKNOWN_ERROR";
|
|
9613
|
+
readonly BARE_NOT_FOUND: "NOT_FOUND";
|
|
9614
|
+
readonly BARE_FORBIDDEN: "FORBIDDEN";
|
|
9347
9615
|
readonly MISSING_USER_IDENTIFIER: "MISSING_USER_IDENTIFIER";
|
|
9348
9616
|
readonly USER_NOT_FOUND: "USER_NOT_FOUND";
|
|
9349
9617
|
readonly NO_ORGANIZATION: "NO_ORGANIZATION";
|
|
@@ -9954,10 +10222,10 @@ export declare const LinearActivityObservationSummarySchema: ZodObject<{
|
|
|
9954
10222
|
result: ZodEnum<{
|
|
9955
10223
|
absent: "absent";
|
|
9956
10224
|
rejected: "rejected";
|
|
10225
|
+
unavailable: "unavailable";
|
|
9957
10226
|
delivered: "delivered";
|
|
9958
10227
|
uncertain: "uncertain";
|
|
9959
10228
|
mismatch: "mismatch";
|
|
9960
|
-
unavailable: "unavailable";
|
|
9961
10229
|
}>;
|
|
9962
10230
|
observedAt: ZodString;
|
|
9963
10231
|
httpStatus: ZodNullable<ZodNumber>;
|
|
@@ -9998,10 +10266,10 @@ export declare const LinearObsoleteActivitySchema: ZodObject<{
|
|
|
9998
10266
|
result: ZodEnum<{
|
|
9999
10267
|
absent: "absent";
|
|
10000
10268
|
rejected: "rejected";
|
|
10269
|
+
unavailable: "unavailable";
|
|
10001
10270
|
delivered: "delivered";
|
|
10002
10271
|
uncertain: "uncertain";
|
|
10003
10272
|
mismatch: "mismatch";
|
|
10004
|
-
unavailable: "unavailable";
|
|
10005
10273
|
}>;
|
|
10006
10274
|
observedAt: ZodString;
|
|
10007
10275
|
httpStatus: ZodNullable<ZodNumber>;
|
|
@@ -10044,10 +10312,10 @@ export declare const LinearObsoleteActivityListSchema: ZodObject<{
|
|
|
10044
10312
|
result: ZodEnum<{
|
|
10045
10313
|
absent: "absent";
|
|
10046
10314
|
rejected: "rejected";
|
|
10315
|
+
unavailable: "unavailable";
|
|
10047
10316
|
delivered: "delivered";
|
|
10048
10317
|
uncertain: "uncertain";
|
|
10049
10318
|
mismatch: "mismatch";
|
|
10050
|
-
unavailable: "unavailable";
|
|
10051
10319
|
}>;
|
|
10052
10320
|
observedAt: ZodString;
|
|
10053
10321
|
httpStatus: ZodNullable<ZodNumber>;
|
|
@@ -11177,10 +11445,10 @@ export declare const CliIdentityServiceSchema: ZodObject<{
|
|
|
11177
11445
|
}>;
|
|
11178
11446
|
url: ZodNullable<ZodString>;
|
|
11179
11447
|
status: ZodEnum<{
|
|
11180
|
-
not_configured: "not_configured";
|
|
11181
11448
|
configured: "configured";
|
|
11182
11449
|
active_recorded: "active_recorded";
|
|
11183
11450
|
inactive_recorded: "inactive_recorded";
|
|
11451
|
+
not_configured: "not_configured";
|
|
11184
11452
|
}>;
|
|
11185
11453
|
observed_at: ZodNullable<ZodString>;
|
|
11186
11454
|
}, $strict>;
|
|
@@ -11211,10 +11479,10 @@ export declare const CliIdentitySummarySchema: ZodObject<{
|
|
|
11211
11479
|
}>;
|
|
11212
11480
|
url: ZodNullable<ZodString>;
|
|
11213
11481
|
status: ZodEnum<{
|
|
11214
|
-
not_configured: "not_configured";
|
|
11215
11482
|
configured: "configured";
|
|
11216
11483
|
active_recorded: "active_recorded";
|
|
11217
11484
|
inactive_recorded: "inactive_recorded";
|
|
11485
|
+
not_configured: "not_configured";
|
|
11218
11486
|
}>;
|
|
11219
11487
|
observed_at: ZodNullable<ZodString>;
|
|
11220
11488
|
}, $strict>>;
|
|
@@ -11446,7 +11714,7 @@ export declare const PixelsBulkCreateItemSchema: ZodObject<{
|
|
|
11446
11714
|
domain: ZodOptional<ZodString>;
|
|
11447
11715
|
isActive: ZodDefault<ZodBoolean>;
|
|
11448
11716
|
configuration: ZodOptional<ZodObject<{
|
|
11449
|
-
allowedDomains: ZodDefault<ZodArray<ZodString
|
|
11717
|
+
allowedDomains: ZodDefault<ZodPipe<ZodArray<ZodString>, ZodTransform<string[], string[]>>>;
|
|
11450
11718
|
collectBehavioral: ZodDefault<ZodBoolean>;
|
|
11451
11719
|
enableFingerprinting: ZodDefault<ZodBoolean>;
|
|
11452
11720
|
enableSessionTracking: ZodDefault<ZodBoolean>;
|
|
@@ -11459,7 +11727,7 @@ export declare const PixelsBulkUpdateItemSchema: ZodObject<{
|
|
|
11459
11727
|
domain: ZodOptional<ZodString>;
|
|
11460
11728
|
isActive: ZodOptional<ZodBoolean>;
|
|
11461
11729
|
configuration: ZodOptional<ZodObject<{
|
|
11462
|
-
allowedDomains: ZodOptional<ZodArray<ZodString
|
|
11730
|
+
allowedDomains: ZodOptional<ZodPipe<ZodArray<ZodString>, ZodTransform<string[], string[]>>>;
|
|
11463
11731
|
collectBehavioral: ZodOptional<ZodBoolean>;
|
|
11464
11732
|
enableFingerprinting: ZodOptional<ZodBoolean>;
|
|
11465
11733
|
enableSessionTracking: ZodOptional<ZodBoolean>;
|
|
@@ -11492,7 +11760,7 @@ export declare const PixelsBulkRequestSchema: ZodIntersection<ZodObject<{
|
|
|
11492
11760
|
domain: ZodOptional<ZodString>;
|
|
11493
11761
|
isActive: ZodDefault<ZodBoolean>;
|
|
11494
11762
|
configuration: ZodOptional<ZodObject<{
|
|
11495
|
-
allowedDomains: ZodDefault<ZodArray<ZodString
|
|
11763
|
+
allowedDomains: ZodDefault<ZodPipe<ZodArray<ZodString>, ZodTransform<string[], string[]>>>;
|
|
11496
11764
|
collectBehavioral: ZodDefault<ZodBoolean>;
|
|
11497
11765
|
enableFingerprinting: ZodDefault<ZodBoolean>;
|
|
11498
11766
|
enableSessionTracking: ZodDefault<ZodBoolean>;
|
|
@@ -11507,7 +11775,7 @@ export declare const PixelsBulkRequestSchema: ZodIntersection<ZodObject<{
|
|
|
11507
11775
|
domain: ZodOptional<ZodString>;
|
|
11508
11776
|
isActive: ZodOptional<ZodBoolean>;
|
|
11509
11777
|
configuration: ZodOptional<ZodObject<{
|
|
11510
|
-
allowedDomains: ZodOptional<ZodArray<ZodString
|
|
11778
|
+
allowedDomains: ZodOptional<ZodPipe<ZodArray<ZodString>, ZodTransform<string[], string[]>>>;
|
|
11511
11779
|
collectBehavioral: ZodOptional<ZodBoolean>;
|
|
11512
11780
|
enableFingerprinting: ZodOptional<ZodBoolean>;
|
|
11513
11781
|
enableSessionTracking: ZodOptional<ZodBoolean>;
|
|
@@ -11692,7 +11960,7 @@ export declare const CreatePixelSchema: ZodObject<{
|
|
|
11692
11960
|
configuration: ZodOptional<ZodObject<{
|
|
11693
11961
|
enabled: ZodDefault<ZodBoolean>;
|
|
11694
11962
|
skipPaths: ZodDefault<ZodArray<ZodString>>;
|
|
11695
|
-
allowedDomains: ZodDefault<ZodArray<ZodString
|
|
11963
|
+
allowedDomains: ZodDefault<ZodPipe<ZodArray<ZodString>, ZodTransform<string[], string[]>>>;
|
|
11696
11964
|
blockedAgents: ZodDefault<ZodArray<ZodString>>;
|
|
11697
11965
|
batchSize: ZodDefault<ZodNumber>;
|
|
11698
11966
|
flushInterval: ZodDefault<ZodNumber>;
|
|
@@ -11709,7 +11977,7 @@ export declare const UpdatePixelSchema: ZodObject<{
|
|
|
11709
11977
|
configuration: ZodOptional<ZodObject<{
|
|
11710
11978
|
enabled: ZodDefault<ZodBoolean>;
|
|
11711
11979
|
skipPaths: ZodDefault<ZodArray<ZodString>>;
|
|
11712
|
-
allowedDomains: ZodDefault<ZodArray<ZodString
|
|
11980
|
+
allowedDomains: ZodDefault<ZodPipe<ZodArray<ZodString>, ZodTransform<string[], string[]>>>;
|
|
11713
11981
|
blockedAgents: ZodDefault<ZodArray<ZodString>>;
|
|
11714
11982
|
batchSize: ZodDefault<ZodNumber>;
|
|
11715
11983
|
flushInterval: ZodDefault<ZodNumber>;
|
|
@@ -11770,7 +12038,49 @@ export declare const ProvisioningModeSchema: ZodEnum<{
|
|
|
11770
12038
|
enforce: "enforce";
|
|
11771
12039
|
}>;
|
|
11772
12040
|
export type ProvisioningMode = output<typeof ProvisioningModeSchema>;
|
|
12041
|
+
export declare const ProvisioningIdentityProofSchema: ZodDiscriminatedUnion<[ZodObject<{
|
|
12042
|
+
type: ZodLiteral<"vercel-oidc">;
|
|
12043
|
+
token: ZodString;
|
|
12044
|
+
}, $strip>, ZodObject<{
|
|
12045
|
+
type: ZodLiteral<"railway-oauth">;
|
|
12046
|
+
accessToken: ZodString;
|
|
12047
|
+
}, $strip>, ZodObject<{
|
|
12048
|
+
type: ZodLiteral<"checkpoint-account-link">;
|
|
12049
|
+
token: ZodString;
|
|
12050
|
+
}, $strip>], "type">;
|
|
12051
|
+
export type ProvisioningIdentityProof = output<typeof ProvisioningIdentityProofSchema>;
|
|
12052
|
+
export declare const ProvisioningAccountLinkRequestSchema: ZodObject<{
|
|
12053
|
+
source: ZodEnum<{
|
|
12054
|
+
vercel: "vercel";
|
|
12055
|
+
shopify: "shopify";
|
|
12056
|
+
netlify: "netlify";
|
|
12057
|
+
railway: "railway";
|
|
12058
|
+
shopware: "shopware";
|
|
12059
|
+
mixer: "mixer";
|
|
12060
|
+
}>;
|
|
12061
|
+
externalId: ZodString;
|
|
12062
|
+
resourceId: ZodOptional<ZodString>;
|
|
12063
|
+
}, $strip>;
|
|
12064
|
+
export type ProvisioningAccountLinkRequest = output<typeof ProvisioningAccountLinkRequestSchema>;
|
|
12065
|
+
export declare const ProvisioningAccountLinkResponseSchema: ZodObject<{
|
|
12066
|
+
identityProof: ZodObject<{
|
|
12067
|
+
type: ZodLiteral<"checkpoint-account-link">;
|
|
12068
|
+
token: ZodString;
|
|
12069
|
+
}, $strip>;
|
|
12070
|
+
expiresIn: ZodLiteral<600>;
|
|
12071
|
+
}, $strip>;
|
|
12072
|
+
export type ProvisioningAccountLinkResponse = output<typeof ProvisioningAccountLinkResponseSchema>;
|
|
11773
12073
|
export declare const ProvisionKeyRequestSchema: ZodObject<{
|
|
12074
|
+
identityProof: ZodOptional<ZodDiscriminatedUnion<[ZodObject<{
|
|
12075
|
+
type: ZodLiteral<"vercel-oidc">;
|
|
12076
|
+
token: ZodString;
|
|
12077
|
+
}, $strip>, ZodObject<{
|
|
12078
|
+
type: ZodLiteral<"railway-oauth">;
|
|
12079
|
+
accessToken: ZodString;
|
|
12080
|
+
}, $strip>, ZodObject<{
|
|
12081
|
+
type: ZodLiteral<"checkpoint-account-link">;
|
|
12082
|
+
token: ZodString;
|
|
12083
|
+
}, $strip>], "type">>;
|
|
11774
12084
|
source: ZodEnum<{
|
|
11775
12085
|
vercel: "vercel";
|
|
11776
12086
|
shopify: "shopify";
|
|
@@ -11803,6 +12113,16 @@ export declare const ProvisionKeyResponseSchema: ZodObject<{
|
|
|
11803
12113
|
}, $strip>;
|
|
11804
12114
|
export type ProvisionKeyResponse = output<typeof ProvisionKeyResponseSchema>;
|
|
11805
12115
|
export declare const SsoLinkRequestSchema: ZodObject<{
|
|
12116
|
+
identityProof: ZodOptional<ZodDiscriminatedUnion<[ZodObject<{
|
|
12117
|
+
type: ZodLiteral<"vercel-oidc">;
|
|
12118
|
+
token: ZodString;
|
|
12119
|
+
}, $strip>, ZodObject<{
|
|
12120
|
+
type: ZodLiteral<"railway-oauth">;
|
|
12121
|
+
accessToken: ZodString;
|
|
12122
|
+
}, $strip>, ZodObject<{
|
|
12123
|
+
type: ZodLiteral<"checkpoint-account-link">;
|
|
12124
|
+
token: ZodString;
|
|
12125
|
+
}, $strip>], "type">>;
|
|
11806
12126
|
source: ZodEnum<{
|
|
11807
12127
|
vercel: "vercel";
|
|
11808
12128
|
shopify: "shopify";
|
|
@@ -11853,6 +12173,26 @@ export declare const ProvisioningOrganizationSummarySchema: ZodObject<{
|
|
|
11853
12173
|
}, $strip>;
|
|
11854
12174
|
export type ProvisioningOrganizationSummary = output<typeof ProvisioningOrganizationSummarySchema>;
|
|
11855
12175
|
export declare const ListProvisioningOrganizationsRequestSchema: ZodObject<{
|
|
12176
|
+
source: ZodOptional<ZodEnum<{
|
|
12177
|
+
vercel: "vercel";
|
|
12178
|
+
shopify: "shopify";
|
|
12179
|
+
netlify: "netlify";
|
|
12180
|
+
railway: "railway";
|
|
12181
|
+
shopware: "shopware";
|
|
12182
|
+
mixer: "mixer";
|
|
12183
|
+
}>>;
|
|
12184
|
+
externalId: ZodOptional<ZodString>;
|
|
12185
|
+
resourceId: ZodOptional<ZodString>;
|
|
12186
|
+
identityProof: ZodOptional<ZodDiscriminatedUnion<[ZodObject<{
|
|
12187
|
+
type: ZodLiteral<"vercel-oidc">;
|
|
12188
|
+
token: ZodString;
|
|
12189
|
+
}, $strip>, ZodObject<{
|
|
12190
|
+
type: ZodLiteral<"railway-oauth">;
|
|
12191
|
+
accessToken: ZodString;
|
|
12192
|
+
}, $strip>, ZodObject<{
|
|
12193
|
+
type: ZodLiteral<"checkpoint-account-link">;
|
|
12194
|
+
token: ZodString;
|
|
12195
|
+
}, $strip>], "type">>;
|
|
11856
12196
|
email: ZodString;
|
|
11857
12197
|
}, $strip>;
|
|
11858
12198
|
export type ListProvisioningOrganizationsRequest = output<typeof ListProvisioningOrganizationsRequestSchema>;
|
|
@@ -11869,6 +12209,26 @@ export declare const ListProvisioningOrganizationsResponseSchema: ZodObject<{
|
|
|
11869
12209
|
}, $strip>;
|
|
11870
12210
|
export type ListProvisioningOrganizationsResponse = output<typeof ListProvisioningOrganizationsResponseSchema>;
|
|
11871
12211
|
export declare const CreateProvisioningOrganizationRequestSchema: ZodObject<{
|
|
12212
|
+
source: ZodOptional<ZodEnum<{
|
|
12213
|
+
vercel: "vercel";
|
|
12214
|
+
shopify: "shopify";
|
|
12215
|
+
netlify: "netlify";
|
|
12216
|
+
railway: "railway";
|
|
12217
|
+
shopware: "shopware";
|
|
12218
|
+
mixer: "mixer";
|
|
12219
|
+
}>>;
|
|
12220
|
+
externalId: ZodOptional<ZodString>;
|
|
12221
|
+
resourceId: ZodOptional<ZodString>;
|
|
12222
|
+
identityProof: ZodOptional<ZodDiscriminatedUnion<[ZodObject<{
|
|
12223
|
+
type: ZodLiteral<"vercel-oidc">;
|
|
12224
|
+
token: ZodString;
|
|
12225
|
+
}, $strip>, ZodObject<{
|
|
12226
|
+
type: ZodLiteral<"railway-oauth">;
|
|
12227
|
+
accessToken: ZodString;
|
|
12228
|
+
}, $strip>, ZodObject<{
|
|
12229
|
+
type: ZodLiteral<"checkpoint-account-link">;
|
|
12230
|
+
token: ZodString;
|
|
12231
|
+
}, $strip>], "type">>;
|
|
11872
12232
|
email: ZodString;
|
|
11873
12233
|
name: ZodPipe<ZodString, ZodTransform<string, string>>;
|
|
11874
12234
|
slug: ZodOptional<ZodString>;
|
|
@@ -11985,15 +12345,15 @@ export declare const ExportAnalyticsSchema: ZodObject<{
|
|
|
11985
12345
|
startDate: ZodString;
|
|
11986
12346
|
endDate: ZodString;
|
|
11987
12347
|
format: ZodDefault<ZodEnum<{
|
|
11988
|
-
json: "json";
|
|
11989
12348
|
csv: "csv";
|
|
12349
|
+
json: "json";
|
|
11990
12350
|
}>>;
|
|
11991
12351
|
sections: ZodDefault<ZodOptional<ZodArray<ZodEnum<{
|
|
11992
12352
|
confidence: "confidence";
|
|
11993
|
-
sessions: "sessions";
|
|
11994
12353
|
overview: "overview";
|
|
11995
12354
|
traffic: "traffic";
|
|
11996
12355
|
agents: "agents";
|
|
12356
|
+
sessions: "sessions";
|
|
11997
12357
|
}>>>>;
|
|
11998
12358
|
includeRawData: ZodDefault<ZodOptional<ZodBoolean>>;
|
|
11999
12359
|
showAIAgentsOnly: ZodDefault<ZodOptional<ZodBoolean>>;
|
|
@@ -12148,6 +12508,7 @@ export type AnalyticsOverview = {
|
|
|
12148
12508
|
uniqueHumanSessions?: number;
|
|
12149
12509
|
uniqueBotSessions?: number;
|
|
12150
12510
|
uniqueAIAgentSessions?: number;
|
|
12511
|
+
uniqueIncompleteDataSessions?: number;
|
|
12151
12512
|
mostActiveHour?: {
|
|
12152
12513
|
hour: number;
|
|
12153
12514
|
detections: number;
|
|
@@ -12322,6 +12683,11 @@ export type DashboardStatsResponse = {
|
|
|
12322
12683
|
value: number;
|
|
12323
12684
|
}>;
|
|
12324
12685
|
};
|
|
12686
|
+
sessionBreakdown?: {
|
|
12687
|
+
botSessions: number;
|
|
12688
|
+
humanSessions: number;
|
|
12689
|
+
incompleteDataSessions: number;
|
|
12690
|
+
};
|
|
12325
12691
|
uniqueAgents?: DashboardStatItem;
|
|
12326
12692
|
uniqueUsers?: DashboardStatItem;
|
|
12327
12693
|
};
|
|
@@ -12618,8 +12984,8 @@ export declare const PublicApiHeadersSchema: ZodObject<{
|
|
|
12618
12984
|
export declare const DetectionSignalExposureSchema: ZodObject<{
|
|
12619
12985
|
signals: ZodArray<ZodObject<{
|
|
12620
12986
|
signalType: ZodEnum<{
|
|
12621
|
-
pattern: "pattern";
|
|
12622
12987
|
behavioral: "behavioral";
|
|
12988
|
+
pattern: "pattern";
|
|
12623
12989
|
signature: "signature";
|
|
12624
12990
|
network: "network";
|
|
12625
12991
|
fingerprint: "fingerprint";
|
|
@@ -12678,6 +13044,46 @@ export declare const DetectionSignalExposureSchema: ZodObject<{
|
|
|
12678
13044
|
}, $strip>;
|
|
12679
13045
|
export type DetectionSignalExposure = output<typeof DetectionSignalExposureSchema>;
|
|
12680
13046
|
//#endregion
|
|
13047
|
+
//#region src/api/delegation-lifecycle.d.ts
|
|
13048
|
+
interface DelegationLifecycleHuman {
|
|
13049
|
+
displayName: string | null;
|
|
13050
|
+
email: string | null;
|
|
13051
|
+
emailVerified: boolean;
|
|
13052
|
+
provider: string | null;
|
|
13053
|
+
source: 'linked_oauth_account' | 'grant' | 'unidentified';
|
|
13054
|
+
}
|
|
13055
|
+
interface DelegationLifecycleAuditReference {
|
|
13056
|
+
ledgerId: string;
|
|
13057
|
+
ledgerEpochId: string;
|
|
13058
|
+
sequence: string;
|
|
13059
|
+
eventId: string;
|
|
13060
|
+
entryDigest: string;
|
|
13061
|
+
}
|
|
13062
|
+
interface DelegationLifecycle {
|
|
13063
|
+
projectId: string;
|
|
13064
|
+
delegationId: string;
|
|
13065
|
+
human: DelegationLifecycleHuman;
|
|
13066
|
+
grant: {
|
|
13067
|
+
userDid: string | null;
|
|
13068
|
+
agentDid: string;
|
|
13069
|
+
status: string;
|
|
13070
|
+
issuedAt: string;
|
|
13071
|
+
expiresAt: string | null;
|
|
13072
|
+
revokedAt: string | null;
|
|
13073
|
+
scopes: string[];
|
|
13074
|
+
};
|
|
13075
|
+
issuance: {
|
|
13076
|
+
status: 'recorded' | 'missing' | 'invalid_reference';
|
|
13077
|
+
reference: DelegationLifecycleAuditReference | null;
|
|
13078
|
+
};
|
|
13079
|
+
actions: {
|
|
13080
|
+
count: number;
|
|
13081
|
+
latestAt: string | null;
|
|
13082
|
+
truncated: boolean;
|
|
13083
|
+
};
|
|
13084
|
+
gaps: string[];
|
|
13085
|
+
}
|
|
13086
|
+
//#endregion
|
|
12681
13087
|
//#region src/api/fingerprint.d.ts
|
|
12682
13088
|
declare const ClientDetectionSchema$1: ZodObject<{
|
|
12683
13089
|
webdriver: ZodOptional<ZodBoolean>;
|
|
@@ -13111,6 +13517,7 @@ export declare const ShopifyStatsResponseSchema: ZodObject<{
|
|
|
13111
13517
|
allowedRequests: ZodNumber;
|
|
13112
13518
|
crawlerSessions: ZodOptional<ZodNumber>;
|
|
13113
13519
|
humanSessions: ZodOptional<ZodNumber>;
|
|
13520
|
+
unidentifiedSessions: ZodOptional<ZodNumber>;
|
|
13114
13521
|
threatLevel: ZodEnum<{
|
|
13115
13522
|
low: "low";
|
|
13116
13523
|
medium: "medium";
|
|
@@ -13968,6 +14375,27 @@ export declare function resolveBotSignals(input: ResolveBotSignalsInput): BotSig
|
|
|
13968
14375
|
export declare const ipAddressSchema: ZodUnion<readonly [ZodIPv4, ZodIPv6]>;
|
|
13969
14376
|
export declare const callbackSchema: ZodCustom<(...args: never[]) => unknown, (...args: never[]) => unknown>;
|
|
13970
14377
|
//#endregion
|
|
14378
|
+
//#region src/utils/allowed-domains.d.ts
|
|
14379
|
+
export declare const MAX_ALLOWED_DOMAIN_LENGTH = 300;
|
|
14380
|
+
export declare const MAX_ALLOWED_DOMAINS = 1000;
|
|
14381
|
+
export declare function normalizeAllowedDomainForWrite(entry: string): {
|
|
14382
|
+
ok: true;
|
|
14383
|
+
value: string;
|
|
14384
|
+
} | {
|
|
14385
|
+
ok: false;
|
|
14386
|
+
error: string;
|
|
14387
|
+
};
|
|
14388
|
+
export declare function normalizeStoredAllowedDomain(entry: unknown): string | undefined;
|
|
14389
|
+
export declare function hostMatchesAllowedDomains(hostname: string, allowedDomains: unknown[]): boolean;
|
|
14390
|
+
export declare function normalizeAllowedDomainList(entries: readonly string[]): {
|
|
14391
|
+
values: string[];
|
|
14392
|
+
errors: Array<{
|
|
14393
|
+
index: number;
|
|
14394
|
+
message: string;
|
|
14395
|
+
}>;
|
|
14396
|
+
};
|
|
14397
|
+
export declare const AllowedDomainsSchema: ZodPipe<ZodArray<ZodString>, ZodTransform<string[], string[]>>;
|
|
14398
|
+
//#endregion
|
|
13971
14399
|
//#region src/utils/correlation-id.d.ts
|
|
13972
14400
|
export declare const CORRELATION_ID_HEADER = "x-kya-correlation-id";
|
|
13973
14401
|
export declare const CorrelationIdSchema: ZodString;
|
|
@@ -14660,9 +15088,9 @@ export declare const ConsentCapabilitySchema: ZodObject<{
|
|
|
14660
15088
|
label: ZodString;
|
|
14661
15089
|
description: ZodString;
|
|
14662
15090
|
icon: ZodEnum<{
|
|
15091
|
+
search: "search";
|
|
14663
15092
|
key: "key";
|
|
14664
15093
|
user: "user";
|
|
14665
|
-
search: "search";
|
|
14666
15094
|
send: "send";
|
|
14667
15095
|
package: "package";
|
|
14668
15096
|
tools: "tools";
|
|
@@ -14696,9 +15124,9 @@ export declare const ConsentCapabilityGroupSchema: ZodObject<{
|
|
|
14696
15124
|
label: ZodString;
|
|
14697
15125
|
description: ZodString;
|
|
14698
15126
|
icon: ZodEnum<{
|
|
15127
|
+
search: "search";
|
|
14699
15128
|
key: "key";
|
|
14700
15129
|
user: "user";
|
|
14701
|
-
search: "search";
|
|
14702
15130
|
send: "send";
|
|
14703
15131
|
package: "package";
|
|
14704
15132
|
tools: "tools";
|
|
@@ -14735,6 +15163,27 @@ export declare const ConsentAgentMetadataSchema: ZodObject<{
|
|
|
14735
15163
|
connectedAt: ZodOptional<ZodString>;
|
|
14736
15164
|
}, $strip>;
|
|
14737
15165
|
type ConsentAgentMetadata = output<typeof ConsentAgentMetadataSchema>;
|
|
15166
|
+
export declare const ConsentInputCopySchema: ZodObject<{
|
|
15167
|
+
label: ZodOptional<ZodString>;
|
|
15168
|
+
hint: ZodOptional<ZodString>;
|
|
15169
|
+
}, $strip>;
|
|
15170
|
+
export declare const ConsentSignInCopySchema: ZodObject<{
|
|
15171
|
+
email: ZodOptional<ZodObject<{
|
|
15172
|
+
label: ZodOptional<ZodString>;
|
|
15173
|
+
hint: ZodOptional<ZodString>;
|
|
15174
|
+
}, $strip>>;
|
|
15175
|
+
password: ZodOptional<ZodObject<{
|
|
15176
|
+
label: ZodOptional<ZodString>;
|
|
15177
|
+
hint: ZodOptional<ZodString>;
|
|
15178
|
+
}, $strip>>;
|
|
15179
|
+
rpps: ZodOptional<ZodObject<{
|
|
15180
|
+
label: ZodOptional<ZodString>;
|
|
15181
|
+
hint: ZodOptional<ZodString>;
|
|
15182
|
+
prompt: ZodOptional<ZodString>;
|
|
15183
|
+
}, $strip>>;
|
|
15184
|
+
}, $strip>;
|
|
15185
|
+
type ConsentSignInCopy = output<typeof ConsentSignInCopySchema>;
|
|
15186
|
+
export declare const ConsentScopeLabelsSchema: ZodRecord<ZodString, ZodString>;
|
|
14738
15187
|
export declare const ConsentConfigSchema: ZodObject<{
|
|
14739
15188
|
branding: ZodOptional<ZodObject<{
|
|
14740
15189
|
primaryColor: ZodOptional<ZodString>;
|
|
@@ -14792,9 +15241,9 @@ export declare const ConsentConfigSchema: ZodObject<{
|
|
|
14792
15241
|
label: ZodString;
|
|
14793
15242
|
description: ZodString;
|
|
14794
15243
|
icon: ZodEnum<{
|
|
15244
|
+
search: "search";
|
|
14795
15245
|
key: "key";
|
|
14796
15246
|
user: "user";
|
|
14797
|
-
search: "search";
|
|
14798
15247
|
send: "send";
|
|
14799
15248
|
package: "package";
|
|
14800
15249
|
tools: "tools";
|
|
@@ -14838,6 +15287,22 @@ export declare const ConsentConfigSchema: ZodObject<{
|
|
|
14838
15287
|
revocationPath: ZodOptional<ZodString>;
|
|
14839
15288
|
inactivityDays: ZodOptional<ZodNumber>;
|
|
14840
15289
|
authorizationHost: ZodOptional<ZodString>;
|
|
15290
|
+
signInCopy: ZodOptional<ZodObject<{
|
|
15291
|
+
email: ZodOptional<ZodObject<{
|
|
15292
|
+
label: ZodOptional<ZodString>;
|
|
15293
|
+
hint: ZodOptional<ZodString>;
|
|
15294
|
+
}, $strip>>;
|
|
15295
|
+
password: ZodOptional<ZodObject<{
|
|
15296
|
+
label: ZodOptional<ZodString>;
|
|
15297
|
+
hint: ZodOptional<ZodString>;
|
|
15298
|
+
}, $strip>>;
|
|
15299
|
+
rpps: ZodOptional<ZodObject<{
|
|
15300
|
+
label: ZodOptional<ZodString>;
|
|
15301
|
+
hint: ZodOptional<ZodString>;
|
|
15302
|
+
prompt: ZodOptional<ZodString>;
|
|
15303
|
+
}, $strip>>;
|
|
15304
|
+
}, $strip>>;
|
|
15305
|
+
scopeLabels: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
14841
15306
|
}, $strip>;
|
|
14842
15307
|
type ConsentConfig = output<typeof ConsentConfigSchema>;
|
|
14843
15308
|
export declare const ToolConsentOverridesSchema: ZodOptional<ZodObject<{
|
|
@@ -15060,9 +15525,9 @@ export declare const BouncerConfigSchema: ZodObject<{
|
|
|
15060
15525
|
label: ZodString;
|
|
15061
15526
|
description: ZodString;
|
|
15062
15527
|
icon: ZodEnum<{
|
|
15528
|
+
search: "search";
|
|
15063
15529
|
key: "key";
|
|
15064
15530
|
user: "user";
|
|
15065
|
-
search: "search";
|
|
15066
15531
|
send: "send";
|
|
15067
15532
|
package: "package";
|
|
15068
15533
|
tools: "tools";
|
|
@@ -15106,6 +15571,22 @@ export declare const BouncerConfigSchema: ZodObject<{
|
|
|
15106
15571
|
revocationPath: ZodOptional<ZodString>;
|
|
15107
15572
|
inactivityDays: ZodOptional<ZodNumber>;
|
|
15108
15573
|
authorizationHost: ZodOptional<ZodString>;
|
|
15574
|
+
signInCopy: ZodOptional<ZodObject<{
|
|
15575
|
+
email: ZodOptional<ZodObject<{
|
|
15576
|
+
label: ZodOptional<ZodString>;
|
|
15577
|
+
hint: ZodOptional<ZodString>;
|
|
15578
|
+
}, $strip>>;
|
|
15579
|
+
password: ZodOptional<ZodObject<{
|
|
15580
|
+
label: ZodOptional<ZodString>;
|
|
15581
|
+
hint: ZodOptional<ZodString>;
|
|
15582
|
+
}, $strip>>;
|
|
15583
|
+
rpps: ZodOptional<ZodObject<{
|
|
15584
|
+
label: ZodOptional<ZodString>;
|
|
15585
|
+
hint: ZodOptional<ZodString>;
|
|
15586
|
+
prompt: ZodOptional<ZodString>;
|
|
15587
|
+
}, $strip>>;
|
|
15588
|
+
}, $strip>>;
|
|
15589
|
+
scopeLabels: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
15109
15590
|
}, $strip>>;
|
|
15110
15591
|
discoveredTools: ZodDefault<ZodRecord<ZodString, ZodUnknown>>;
|
|
15111
15592
|
mcpServerUrl: ZodOptional<ZodNullable<ZodString>>;
|
|
@@ -15202,9 +15683,9 @@ export declare const UpdateBouncerConfigSchema: ZodObject<{
|
|
|
15202
15683
|
label: ZodString;
|
|
15203
15684
|
description: ZodString;
|
|
15204
15685
|
icon: ZodEnum<{
|
|
15686
|
+
search: "search";
|
|
15205
15687
|
key: "key";
|
|
15206
15688
|
user: "user";
|
|
15207
|
-
search: "search";
|
|
15208
15689
|
send: "send";
|
|
15209
15690
|
package: "package";
|
|
15210
15691
|
tools: "tools";
|
|
@@ -15248,6 +15729,22 @@ export declare const UpdateBouncerConfigSchema: ZodObject<{
|
|
|
15248
15729
|
revocationPath: ZodOptional<ZodString>;
|
|
15249
15730
|
inactivityDays: ZodOptional<ZodNumber>;
|
|
15250
15731
|
authorizationHost: ZodOptional<ZodString>;
|
|
15732
|
+
signInCopy: ZodOptional<ZodObject<{
|
|
15733
|
+
email: ZodOptional<ZodObject<{
|
|
15734
|
+
label: ZodOptional<ZodString>;
|
|
15735
|
+
hint: ZodOptional<ZodString>;
|
|
15736
|
+
}, $strip>>;
|
|
15737
|
+
password: ZodOptional<ZodObject<{
|
|
15738
|
+
label: ZodOptional<ZodString>;
|
|
15739
|
+
hint: ZodOptional<ZodString>;
|
|
15740
|
+
}, $strip>>;
|
|
15741
|
+
rpps: ZodOptional<ZodObject<{
|
|
15742
|
+
label: ZodOptional<ZodString>;
|
|
15743
|
+
hint: ZodOptional<ZodString>;
|
|
15744
|
+
prompt: ZodOptional<ZodString>;
|
|
15745
|
+
}, $strip>>;
|
|
15746
|
+
}, $strip>>;
|
|
15747
|
+
scopeLabels: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
15251
15748
|
}, $strip>>;
|
|
15252
15749
|
mcpServerUrl: ZodOptional<ZodNullable<ZodString>>;
|
|
15253
15750
|
isEnabled: ZodOptional<ZodBoolean>;
|
|
@@ -15259,8 +15756,8 @@ export declare const RefreshScopesRequestSchema: ZodObject<{
|
|
|
15259
15756
|
type RefreshScopesRequest = output<typeof RefreshScopesRequestSchema>;
|
|
15260
15757
|
export declare const DelegationStatusSchema: ZodEnum<{
|
|
15261
15758
|
expired: "expired";
|
|
15262
|
-
active: "active";
|
|
15263
15759
|
revoked: "revoked";
|
|
15760
|
+
active: "active";
|
|
15264
15761
|
}>;
|
|
15265
15762
|
type DelegationStatus = output<typeof DelegationStatusSchema>;
|
|
15266
15763
|
export declare const DelegationSchema: ZodObject<{
|
|
@@ -15275,8 +15772,8 @@ export declare const DelegationSchema: ZodObject<{
|
|
|
15275
15772
|
constraints: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
|
|
15276
15773
|
status: ZodDefault<ZodEnum<{
|
|
15277
15774
|
expired: "expired";
|
|
15278
|
-
active: "active";
|
|
15279
15775
|
revoked: "revoked";
|
|
15776
|
+
active: "active";
|
|
15280
15777
|
}>>;
|
|
15281
15778
|
issuedAt: ZodString;
|
|
15282
15779
|
expiresAt: ZodOptional<ZodNullable<ZodString>>;
|
|
@@ -15466,6 +15963,41 @@ export declare function isSupportedAuthType(authType: ProviderAuthType): authTyp
|
|
|
15466
15963
|
export declare function fromProviderRegistryFormat(provider: ProviderRegistryDefinition): ProviderDefinition;
|
|
15467
15964
|
export declare function fromProviderRegistryFormatSafe(provider: ProviderRegistryDefinition): ProviderDefinition | null;
|
|
15468
15965
|
//#endregion
|
|
15966
|
+
//#region src/schemas/consent-policy-endpoint.d.ts
|
|
15967
|
+
export declare const ConsentPolicyRiskLevelSchema: ZodEnum<{
|
|
15968
|
+
low: "low";
|
|
15969
|
+
medium: "medium";
|
|
15970
|
+
high: "high";
|
|
15971
|
+
critical: "critical";
|
|
15972
|
+
}>;
|
|
15973
|
+
type ConsentPolicyRiskLevel = output<typeof ConsentPolicyRiskLevelSchema>;
|
|
15974
|
+
export declare const ConsentPolicyCapabilitySchema: ZodObject<{
|
|
15975
|
+
scope: ZodString;
|
|
15976
|
+
defaultOn: ZodBoolean;
|
|
15977
|
+
riskLevel: ZodEnum<{
|
|
15978
|
+
low: "low";
|
|
15979
|
+
medium: "medium";
|
|
15980
|
+
high: "high";
|
|
15981
|
+
critical: "critical";
|
|
15982
|
+
}>;
|
|
15983
|
+
}, $strict>;
|
|
15984
|
+
export declare const ConsentPolicyResponseSchema: ZodObject<{
|
|
15985
|
+
allowedScopes: ZodOptional<ZodArray<ZodString>>;
|
|
15986
|
+
maxGrantSeconds: ZodOptional<ZodNumber>;
|
|
15987
|
+
capabilities: ZodOptional<ZodArray<ZodObject<{
|
|
15988
|
+
scope: ZodString;
|
|
15989
|
+
defaultOn: ZodBoolean;
|
|
15990
|
+
riskLevel: ZodEnum<{
|
|
15991
|
+
low: "low";
|
|
15992
|
+
medium: "medium";
|
|
15993
|
+
high: "high";
|
|
15994
|
+
critical: "critical";
|
|
15995
|
+
}>;
|
|
15996
|
+
}, $strict>>>;
|
|
15997
|
+
etag: ZodString;
|
|
15998
|
+
}, $strict>;
|
|
15999
|
+
type ConsentPolicyResponse = output<typeof ConsentPolicyResponseSchema>;
|
|
16000
|
+
//#endregion
|
|
15469
16001
|
//#region src/schemas/gateway.d.ts
|
|
15470
16002
|
export declare function isPrivateOrReservedHost(hostname: string): boolean;
|
|
15471
16003
|
export declare const safeUrl: ZodString;
|
|
@@ -15481,8 +16013,8 @@ export declare const upstreamServerSchema: ZodObject<{
|
|
|
15481
16013
|
}>>;
|
|
15482
16014
|
authType: ZodDefault<ZodEnum<{
|
|
15483
16015
|
none: "none";
|
|
15484
|
-
vault: "vault";
|
|
15485
16016
|
static: "static";
|
|
16017
|
+
vault: "vault";
|
|
15486
16018
|
}>>;
|
|
15487
16019
|
envVarNames: ZodOptional<ZodArray<ZodString>>;
|
|
15488
16020
|
staticHeaders: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
@@ -15529,7 +16061,6 @@ export declare const upstreamServerSchema: ZodObject<{
|
|
|
15529
16061
|
type UpstreamServer = output<typeof upstreamServerSchema>;
|
|
15530
16062
|
export declare const upstreamServerInputSchema: ZodObject<{
|
|
15531
16063
|
url: ZodString;
|
|
15532
|
-
projectId: ZodOptional<ZodNullable<ZodString>>;
|
|
15533
16064
|
name: ZodString;
|
|
15534
16065
|
enabled: ZodDefault<ZodBoolean>;
|
|
15535
16066
|
authorizationHost: ZodOptional<ZodNullable<ZodString>>;
|
|
@@ -15539,8 +16070,8 @@ export declare const upstreamServerInputSchema: ZodObject<{
|
|
|
15539
16070
|
}>>;
|
|
15540
16071
|
authType: ZodDefault<ZodEnum<{
|
|
15541
16072
|
none: "none";
|
|
15542
|
-
vault: "vault";
|
|
15543
16073
|
static: "static";
|
|
16074
|
+
vault: "vault";
|
|
15544
16075
|
}>>;
|
|
15545
16076
|
envVarNames: ZodOptional<ZodArray<ZodString>>;
|
|
15546
16077
|
staticHeaders: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
@@ -15600,8 +16131,8 @@ export declare const gatewayConfigSchema: ZodObject<{
|
|
|
15600
16131
|
}>>;
|
|
15601
16132
|
authType: ZodDefault<ZodEnum<{
|
|
15602
16133
|
none: "none";
|
|
15603
|
-
vault: "vault";
|
|
15604
16134
|
static: "static";
|
|
16135
|
+
vault: "vault";
|
|
15605
16136
|
}>>;
|
|
15606
16137
|
envVarNames: ZodOptional<ZodArray<ZodString>>;
|
|
15607
16138
|
staticHeaders: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
@@ -15681,7 +16212,6 @@ export declare const gatewayConfigInputSchema: ZodObject<{
|
|
|
15681
16212
|
fleetEndpoint: ZodOptional<ZodString>;
|
|
15682
16213
|
upstreamServers: ZodDefault<ZodArray<ZodObject<{
|
|
15683
16214
|
url: ZodString;
|
|
15684
|
-
projectId: ZodOptional<ZodNullable<ZodString>>;
|
|
15685
16215
|
name: ZodString;
|
|
15686
16216
|
enabled: ZodDefault<ZodBoolean>;
|
|
15687
16217
|
authorizationHost: ZodOptional<ZodNullable<ZodString>>;
|
|
@@ -15691,8 +16221,8 @@ export declare const gatewayConfigInputSchema: ZodObject<{
|
|
|
15691
16221
|
}>>;
|
|
15692
16222
|
authType: ZodDefault<ZodEnum<{
|
|
15693
16223
|
none: "none";
|
|
15694
|
-
vault: "vault";
|
|
15695
16224
|
static: "static";
|
|
16225
|
+
vault: "vault";
|
|
15696
16226
|
}>>;
|
|
15697
16227
|
envVarNames: ZodOptional<ZodArray<ZodString>>;
|
|
15698
16228
|
staticHeaders: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
@@ -15860,8 +16390,8 @@ export declare const AnalyticsAgentTypesQuerySchema: ZodObject<{
|
|
|
15860
16390
|
type AnalyticsAgentTypesQuery = output<typeof AnalyticsAgentTypesQuerySchema>;
|
|
15861
16391
|
export declare const AnalyticsExportQuerySchema: ZodObject<{
|
|
15862
16392
|
format: ZodDefault<ZodOptional<ZodEnum<{
|
|
15863
|
-
json: "json";
|
|
15864
16393
|
csv: "csv";
|
|
16394
|
+
json: "json";
|
|
15865
16395
|
excel: "excel";
|
|
15866
16396
|
}>>>;
|
|
15867
16397
|
startDate: ZodString;
|
|
@@ -16303,17 +16833,17 @@ export declare function assertVendorRangesFresh(vendors: VendorFreshnessInput[],
|
|
|
16303
16833
|
//#region src/policy/schemas.d.ts
|
|
16304
16834
|
export declare const EnforcementActionSchema: ZodEnum<{
|
|
16305
16835
|
block: "block";
|
|
16306
|
-
redirect: "redirect";
|
|
16307
|
-
allow: "allow";
|
|
16308
16836
|
log: "log";
|
|
16309
16837
|
challenge: "challenge";
|
|
16838
|
+
allow: "allow";
|
|
16839
|
+
redirect: "redirect";
|
|
16310
16840
|
permit: "permit";
|
|
16311
16841
|
instruct: "instruct";
|
|
16312
16842
|
}>;
|
|
16313
16843
|
export declare const StrictEnforcementActionSchema: ZodEnum<{
|
|
16314
16844
|
block: "block";
|
|
16315
|
-
redirect: "redirect";
|
|
16316
16845
|
challenge: "challenge";
|
|
16846
|
+
redirect: "redirect";
|
|
16317
16847
|
permit: "permit";
|
|
16318
16848
|
instruct: "instruct";
|
|
16319
16849
|
}>;
|
|
@@ -16517,20 +17047,20 @@ export declare const ThresholdConfigSchema: ZodObject<{
|
|
|
16517
17047
|
confidenceThreshold: ZodDefault<ZodNumber>;
|
|
16518
17048
|
confidenceAction: ZodDefault<ZodEnum<{
|
|
16519
17049
|
block: "block";
|
|
16520
|
-
redirect: "redirect";
|
|
16521
|
-
allow: "allow";
|
|
16522
17050
|
log: "log";
|
|
16523
17051
|
challenge: "challenge";
|
|
17052
|
+
allow: "allow";
|
|
17053
|
+
redirect: "redirect";
|
|
16524
17054
|
permit: "permit";
|
|
16525
17055
|
instruct: "instruct";
|
|
16526
17056
|
}>>;
|
|
16527
17057
|
minReputationScore: ZodDefault<ZodNumber>;
|
|
16528
17058
|
lowReputationAction: ZodDefault<ZodEnum<{
|
|
16529
17059
|
block: "block";
|
|
16530
|
-
redirect: "redirect";
|
|
16531
|
-
allow: "allow";
|
|
16532
17060
|
log: "log";
|
|
16533
17061
|
challenge: "challenge";
|
|
17062
|
+
allow: "allow";
|
|
17063
|
+
redirect: "redirect";
|
|
16534
17064
|
permit: "permit";
|
|
16535
17065
|
instruct: "instruct";
|
|
16536
17066
|
}>>;
|
|
@@ -16674,10 +17204,10 @@ export declare const PolicyRuleSchema: ZodObject<{
|
|
|
16674
17204
|
}, $strip>>;
|
|
16675
17205
|
action: ZodEnum<{
|
|
16676
17206
|
block: "block";
|
|
16677
|
-
redirect: "redirect";
|
|
16678
|
-
allow: "allow";
|
|
16679
17207
|
log: "log";
|
|
16680
17208
|
challenge: "challenge";
|
|
17209
|
+
allow: "allow";
|
|
17210
|
+
redirect: "redirect";
|
|
16681
17211
|
permit: "permit";
|
|
16682
17212
|
instruct: "instruct";
|
|
16683
17213
|
}>;
|
|
@@ -16700,10 +17230,10 @@ export declare const PolicyConfigSchema: ZodObject<{
|
|
|
16700
17230
|
enabled: ZodDefault<ZodBoolean>;
|
|
16701
17231
|
defaultAction: ZodDefault<ZodEnum<{
|
|
16702
17232
|
block: "block";
|
|
16703
|
-
redirect: "redirect";
|
|
16704
|
-
allow: "allow";
|
|
16705
17233
|
log: "log";
|
|
16706
17234
|
challenge: "challenge";
|
|
17235
|
+
allow: "allow";
|
|
17236
|
+
redirect: "redirect";
|
|
16707
17237
|
permit: "permit";
|
|
16708
17238
|
instruct: "instruct";
|
|
16709
17239
|
}>>;
|
|
@@ -16712,20 +17242,20 @@ export declare const PolicyConfigSchema: ZodObject<{
|
|
|
16712
17242
|
confidenceThreshold: ZodDefault<ZodNumber>;
|
|
16713
17243
|
confidenceAction: ZodDefault<ZodEnum<{
|
|
16714
17244
|
block: "block";
|
|
16715
|
-
redirect: "redirect";
|
|
16716
|
-
allow: "allow";
|
|
16717
17245
|
log: "log";
|
|
16718
17246
|
challenge: "challenge";
|
|
17247
|
+
allow: "allow";
|
|
17248
|
+
redirect: "redirect";
|
|
16719
17249
|
permit: "permit";
|
|
16720
17250
|
instruct: "instruct";
|
|
16721
17251
|
}>>;
|
|
16722
17252
|
minReputationScore: ZodDefault<ZodNumber>;
|
|
16723
17253
|
lowReputationAction: ZodDefault<ZodEnum<{
|
|
16724
17254
|
block: "block";
|
|
16725
|
-
redirect: "redirect";
|
|
16726
|
-
allow: "allow";
|
|
16727
17255
|
log: "log";
|
|
16728
17256
|
challenge: "challenge";
|
|
17257
|
+
allow: "allow";
|
|
17258
|
+
redirect: "redirect";
|
|
16729
17259
|
permit: "permit";
|
|
16730
17260
|
instruct: "instruct";
|
|
16731
17261
|
}>>;
|
|
@@ -16795,10 +17325,10 @@ export declare const PolicyConfigSchema: ZodObject<{
|
|
|
16795
17325
|
}, $strip>>;
|
|
16796
17326
|
action: ZodEnum<{
|
|
16797
17327
|
block: "block";
|
|
16798
|
-
redirect: "redirect";
|
|
16799
|
-
allow: "allow";
|
|
16800
17328
|
log: "log";
|
|
16801
17329
|
challenge: "challenge";
|
|
17330
|
+
allow: "allow";
|
|
17331
|
+
redirect: "redirect";
|
|
16802
17332
|
permit: "permit";
|
|
16803
17333
|
instruct: "instruct";
|
|
16804
17334
|
}>;
|
|
@@ -16823,6 +17353,7 @@ export declare const PolicyConfigSchema: ZodObject<{
|
|
|
16823
17353
|
policySourceHash: ZodOptional<ZodNullable<ZodString>>;
|
|
16824
17354
|
engineEnforcementEnabled: ZodDefault<ZodOptional<ZodBoolean>>;
|
|
16825
17355
|
trustedDelegationRoots: ZodOptional<ZodArray<ZodString>>;
|
|
17356
|
+
authorizationServerIssuer: ZodOptional<ZodString>;
|
|
16826
17357
|
}, $strip>;
|
|
16827
17358
|
export declare const PolicyEvaluationContextSchema: ZodObject<{
|
|
16828
17359
|
agentType: ZodOptional<ZodString>;
|
|
@@ -16851,10 +17382,10 @@ export declare const PolicyMatchTypeSchema: ZodEnum<{
|
|
|
16851
17382
|
export declare const PolicyEvaluationResultSchema: ZodObject<{
|
|
16852
17383
|
action: ZodEnum<{
|
|
16853
17384
|
block: "block";
|
|
16854
|
-
redirect: "redirect";
|
|
16855
|
-
allow: "allow";
|
|
16856
17385
|
log: "log";
|
|
16857
17386
|
challenge: "challenge";
|
|
17387
|
+
allow: "allow";
|
|
17388
|
+
redirect: "redirect";
|
|
16858
17389
|
permit: "permit";
|
|
16859
17390
|
instruct: "instruct";
|
|
16860
17391
|
}>;
|
|
@@ -16880,6 +17411,10 @@ type RuleMetadata = output<typeof RuleMetadataSchema>;
|
|
|
16880
17411
|
type PolicyRule = output<typeof PolicyRuleSchema>;
|
|
16881
17412
|
type PolicyMetadata = output<typeof PolicyMetadataSchema>;
|
|
16882
17413
|
type PolicyConfig = output<typeof PolicyConfigSchema>;
|
|
17414
|
+
export declare function isEngineEnforcing(flags: {
|
|
17415
|
+
engineEnforcementEnabled?: boolean | null;
|
|
17416
|
+
enabled?: boolean | null;
|
|
17417
|
+
}): boolean;
|
|
16883
17418
|
type PolicyEvaluationContext = output<typeof PolicyEvaluationContextSchema>;
|
|
16884
17419
|
type PolicyEvaluationResult = output<typeof PolicyEvaluationResultSchema>;
|
|
16885
17420
|
export declare function parsePolicyConfig(data: unknown): PolicyConfig;
|
|
@@ -16976,10 +17511,49 @@ export declare const CACHE_TTL: {
|
|
|
16976
17511
|
};
|
|
16977
17512
|
export declare const CURRENT_POLICY_VERSION = "1.0.0";
|
|
16978
17513
|
//#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
|
|
16979
17522
|
//#region src/policy/evaluator.d.ts
|
|
16980
17523
|
export declare function evaluatePolicy(policy: PolicyConfig, context: PolicyEvaluationContext): PolicyEvaluationResult;
|
|
16981
17524
|
export declare function matchPath(path: string, pattern: string): boolean;
|
|
16982
17525
|
//#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
|
|
16983
17557
|
//#region src/policy/cedar-rule-match.d.ts
|
|
16984
17558
|
interface RequestFacts {
|
|
16985
17559
|
path?: string;
|
|
@@ -16991,11 +17565,30 @@ export declare function splitCedarBlocks(cedar: string): string[];
|
|
|
16991
17565
|
export declare function blockEqualityLiterals(block: string, attr: string): string[];
|
|
16992
17566
|
export declare function isForbidBlock(block: string): boolean;
|
|
16993
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;
|
|
16994
17578
|
export declare function pathHasUnnarrowedDenyRule(cedar: string, path: string): boolean;
|
|
16995
17579
|
//#endregion
|
|
16996
17580
|
//#region src/policy/required-scopes.d.ts
|
|
16997
17581
|
export declare function requiredScopesForRequest(policySource: string | null | undefined, request?: RequestFacts): string[];
|
|
16998
17582
|
//#endregion
|
|
17583
|
+
//#region src/policy/byte-bounded-memo.d.ts
|
|
17584
|
+
export declare class ByteBoundedMemo<V> {
|
|
17585
|
+
private readonly budgetBytes;
|
|
17586
|
+
private readonly entries;
|
|
17587
|
+
private used;
|
|
17588
|
+
constructor(budgetBytes: number);
|
|
17589
|
+
remember(key: string, bytes: number, make: () => V): V;
|
|
17590
|
+
}
|
|
17591
|
+
//#endregion
|
|
16999
17592
|
//#region src/policy/decision-policy-id.d.ts
|
|
17000
17593
|
interface DecisionLike {
|
|
17001
17594
|
kind: string;
|
|
@@ -17036,6 +17629,7 @@ interface LintFinding {
|
|
|
17036
17629
|
message: string;
|
|
17037
17630
|
}
|
|
17038
17631
|
export declare function lintUnnarrowedDenyRules(cedar: string): LintFinding[];
|
|
17632
|
+
export declare function lintMissingBaselinePermit(cedar: string): LintFinding[];
|
|
17039
17633
|
//#endregion
|
|
17040
17634
|
//#region src/policy/cedar-string.d.ts
|
|
17041
17635
|
export declare function escapeCedarString(value: string): string;
|
|
@@ -17407,6 +18001,7 @@ export declare function deriveMcpiUserDid(slug: string, userId: string): string;
|
|
|
17407
18001
|
//#region src/mcpi/delegation-headers.d.ts
|
|
17408
18002
|
export declare const DELEGATION_PROOF_HEADERS: readonly ["kya-os-delegation-credential", "kya-delegation"];
|
|
17409
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;
|
|
17410
18005
|
//#endregion
|
|
17411
18006
|
//#region src/mcpi/principal.d.ts
|
|
17412
18007
|
export declare const ANONYMOUS_PRINCIPAL_DID = "did:web:kya.vouched.id:principals:anonymous";
|
|
@@ -17996,8 +18591,8 @@ export declare const ParentIntegrationStatusSchema: ZodObject<{
|
|
|
17996
18591
|
evidence: ZodNullable<ZodString>;
|
|
17997
18592
|
}, $strict>>;
|
|
17998
18593
|
state: ZodEnum<{
|
|
17999
|
-
partial: "partial";
|
|
18000
18594
|
stale: "stale";
|
|
18595
|
+
partial: "partial";
|
|
18001
18596
|
not_started: "not_started";
|
|
18002
18597
|
awaiting_integration: "awaiting_integration";
|
|
18003
18598
|
satisfied: "satisfied";
|
|
@@ -18601,14 +19196,14 @@ export declare const TaskGrantSchema: ZodObject<{
|
|
|
18601
19196
|
export type TaskGrant = output<typeof TaskGrantSchema>;
|
|
18602
19197
|
export declare const TaskGrantStatusValueSchema: ZodEnum<{
|
|
18603
19198
|
expired: "expired";
|
|
18604
|
-
active: "active";
|
|
18605
19199
|
revoked: "revoked";
|
|
19200
|
+
active: "active";
|
|
18606
19201
|
replaced: "replaced";
|
|
18607
19202
|
}>;
|
|
18608
19203
|
export declare const TaskGrantEffectiveStatusSchema: ZodEnum<{
|
|
18609
19204
|
expired: "expired";
|
|
18610
|
-
active: "active";
|
|
18611
19205
|
revoked: "revoked";
|
|
19206
|
+
active: "active";
|
|
18612
19207
|
replaced: "replaced";
|
|
18613
19208
|
not_yet_valid: "not_yet_valid";
|
|
18614
19209
|
ancestor_inactive: "ancestor_inactive";
|
|
@@ -18618,14 +19213,14 @@ export declare const TaskGrantStatusSchema: ZodObject<{
|
|
|
18618
19213
|
grantId: ZodString;
|
|
18619
19214
|
status: ZodEnum<{
|
|
18620
19215
|
expired: "expired";
|
|
18621
|
-
active: "active";
|
|
18622
19216
|
revoked: "revoked";
|
|
19217
|
+
active: "active";
|
|
18623
19218
|
replaced: "replaced";
|
|
18624
19219
|
}>;
|
|
18625
19220
|
effectiveStatus: ZodEnum<{
|
|
18626
19221
|
expired: "expired";
|
|
18627
|
-
active: "active";
|
|
18628
19222
|
revoked: "revoked";
|
|
19223
|
+
active: "active";
|
|
18629
19224
|
replaced: "replaced";
|
|
18630
19225
|
not_yet_valid: "not_yet_valid";
|
|
18631
19226
|
ancestor_inactive: "ancestor_inactive";
|
|
@@ -18837,14 +19432,14 @@ export declare const TaskGrantViewSchema: ZodObject<{
|
|
|
18837
19432
|
grantId: ZodString;
|
|
18838
19433
|
status: ZodEnum<{
|
|
18839
19434
|
expired: "expired";
|
|
18840
|
-
active: "active";
|
|
18841
19435
|
revoked: "revoked";
|
|
19436
|
+
active: "active";
|
|
18842
19437
|
replaced: "replaced";
|
|
18843
19438
|
}>;
|
|
18844
19439
|
effectiveStatus: ZodEnum<{
|
|
18845
19440
|
expired: "expired";
|
|
18846
|
-
active: "active";
|
|
18847
19441
|
revoked: "revoked";
|
|
19442
|
+
active: "active";
|
|
18848
19443
|
replaced: "replaced";
|
|
18849
19444
|
not_yet_valid: "not_yet_valid";
|
|
18850
19445
|
ancestor_inactive: "ancestor_inactive";
|
|
@@ -18901,14 +19496,14 @@ export declare const TaskGrantListSchema: ZodObject<{
|
|
|
18901
19496
|
grantId: ZodString;
|
|
18902
19497
|
status: ZodEnum<{
|
|
18903
19498
|
expired: "expired";
|
|
18904
|
-
active: "active";
|
|
18905
19499
|
revoked: "revoked";
|
|
19500
|
+
active: "active";
|
|
18906
19501
|
replaced: "replaced";
|
|
18907
19502
|
}>;
|
|
18908
19503
|
effectiveStatus: ZodEnum<{
|
|
18909
19504
|
expired: "expired";
|
|
18910
|
-
active: "active";
|
|
18911
19505
|
revoked: "revoked";
|
|
19506
|
+
active: "active";
|
|
18912
19507
|
replaced: "replaced";
|
|
18913
19508
|
not_yet_valid: "not_yet_valid";
|
|
18914
19509
|
ancestor_inactive: "ancestor_inactive";
|
|
@@ -18966,14 +19561,14 @@ export declare const TaskGrantIssueResultSchema: ZodObject<{
|
|
|
18966
19561
|
grantId: ZodString;
|
|
18967
19562
|
status: ZodEnum<{
|
|
18968
19563
|
expired: "expired";
|
|
18969
|
-
active: "active";
|
|
18970
19564
|
revoked: "revoked";
|
|
19565
|
+
active: "active";
|
|
18971
19566
|
replaced: "replaced";
|
|
18972
19567
|
}>;
|
|
18973
19568
|
effectiveStatus: ZodEnum<{
|
|
18974
19569
|
expired: "expired";
|
|
18975
|
-
active: "active";
|
|
18976
19570
|
revoked: "revoked";
|
|
19571
|
+
active: "active";
|
|
18977
19572
|
replaced: "replaced";
|
|
18978
19573
|
not_yet_valid: "not_yet_valid";
|
|
18979
19574
|
ancestor_inactive: "ancestor_inactive";
|
|
@@ -19031,14 +19626,14 @@ export declare const TaskGrantRevocationSchema: ZodObject<{
|
|
|
19031
19626
|
grantId: ZodString;
|
|
19032
19627
|
status: ZodEnum<{
|
|
19033
19628
|
expired: "expired";
|
|
19034
|
-
active: "active";
|
|
19035
19629
|
revoked: "revoked";
|
|
19630
|
+
active: "active";
|
|
19036
19631
|
replaced: "replaced";
|
|
19037
19632
|
}>;
|
|
19038
19633
|
effectiveStatus: ZodEnum<{
|
|
19039
19634
|
expired: "expired";
|
|
19040
|
-
active: "active";
|
|
19041
19635
|
revoked: "revoked";
|
|
19636
|
+
active: "active";
|
|
19042
19637
|
replaced: "replaced";
|
|
19043
19638
|
not_yet_valid: "not_yet_valid";
|
|
19044
19639
|
ancestor_inactive: "ancestor_inactive";
|
|
@@ -19066,16 +19661,16 @@ export declare const TaskGrantHolderListRequestSchema: ZodObject<{
|
|
|
19066
19661
|
//#region src/api/identity-provisioning.d.ts
|
|
19067
19662
|
export declare const IdentityObservationSchema: ZodObject<{
|
|
19068
19663
|
state: ZodEnum<{
|
|
19664
|
+
unavailable: "unavailable";
|
|
19069
19665
|
healthy: "healthy";
|
|
19070
19666
|
unhealthy: "unhealthy";
|
|
19071
|
-
unavailable: "unavailable";
|
|
19072
19667
|
not_observed: "not_observed";
|
|
19073
19668
|
}>;
|
|
19074
19669
|
observedAt: ZodNullable<ZodString>;
|
|
19075
19670
|
}, $strict>;
|
|
19076
19671
|
export declare const RegistryAuthorityStateSchema: ZodEnum<{
|
|
19077
|
-
not_found: "not_found";
|
|
19078
19672
|
unavailable: "unavailable";
|
|
19673
|
+
not_found: "not_found";
|
|
19079
19674
|
not_observed: "not_observed";
|
|
19080
19675
|
matches: "matches";
|
|
19081
19676
|
differs: "differs";
|
|
@@ -19099,8 +19694,8 @@ export declare const ProjectIdentitySchema: ZodObject<{
|
|
|
19099
19694
|
}, $strict>>;
|
|
19100
19695
|
authoritative: ZodObject<{
|
|
19101
19696
|
state: ZodEnum<{
|
|
19102
|
-
not_found: "not_found";
|
|
19103
19697
|
unavailable: "unavailable";
|
|
19698
|
+
not_found: "not_found";
|
|
19104
19699
|
not_observed: "not_observed";
|
|
19105
19700
|
matches: "matches";
|
|
19106
19701
|
differs: "differs";
|
|
@@ -19124,9 +19719,9 @@ export declare const ProjectIdentitySchema: ZodObject<{
|
|
|
19124
19719
|
configured: ZodBoolean;
|
|
19125
19720
|
observed: ZodObject<{
|
|
19126
19721
|
state: ZodEnum<{
|
|
19722
|
+
unavailable: "unavailable";
|
|
19127
19723
|
healthy: "healthy";
|
|
19128
19724
|
unhealthy: "unhealthy";
|
|
19129
|
-
unavailable: "unavailable";
|
|
19130
19725
|
not_observed: "not_observed";
|
|
19131
19726
|
}>;
|
|
19132
19727
|
observedAt: ZodNullable<ZodString>;
|
|
@@ -19267,8 +19862,8 @@ export declare const WorkloadEnrollmentSchema: ZodObject<{
|
|
|
19267
19862
|
runnerId: ZodString;
|
|
19268
19863
|
holderDid: ZodString;
|
|
19269
19864
|
status: ZodEnum<{
|
|
19270
|
-
active: "active";
|
|
19271
19865
|
revoked: "revoked";
|
|
19866
|
+
active: "active";
|
|
19272
19867
|
retiring: "retiring";
|
|
19273
19868
|
retired: "retired";
|
|
19274
19869
|
}>;
|
|
@@ -19296,8 +19891,8 @@ export declare const WorkloadEnrollmentRevocationSchema: ZodObject<{
|
|
|
19296
19891
|
runnerId: ZodString;
|
|
19297
19892
|
holderDid: ZodString;
|
|
19298
19893
|
status: ZodEnum<{
|
|
19299
|
-
active: "active";
|
|
19300
19894
|
revoked: "revoked";
|
|
19895
|
+
active: "active";
|
|
19301
19896
|
retiring: "retiring";
|
|
19302
19897
|
retired: "retired";
|
|
19303
19898
|
}>;
|
|
@@ -19326,8 +19921,8 @@ export declare const WorkloadEnrollmentResultSchema: ZodObject<{
|
|
|
19326
19921
|
runnerId: ZodString;
|
|
19327
19922
|
holderDid: ZodString;
|
|
19328
19923
|
status: ZodEnum<{
|
|
19329
|
-
active: "active";
|
|
19330
19924
|
revoked: "revoked";
|
|
19925
|
+
active: "active";
|
|
19331
19926
|
retiring: "retiring";
|
|
19332
19927
|
retired: "retired";
|
|
19333
19928
|
}>;
|
|
@@ -19356,8 +19951,8 @@ export declare const WorkloadEnrollmentListSchema: ZodObject<{
|
|
|
19356
19951
|
runnerId: ZodString;
|
|
19357
19952
|
holderDid: ZodString;
|
|
19358
19953
|
status: ZodEnum<{
|
|
19359
|
-
active: "active";
|
|
19360
19954
|
revoked: "revoked";
|
|
19955
|
+
active: "active";
|
|
19361
19956
|
retiring: "retiring";
|
|
19362
19957
|
retired: "retired";
|
|
19363
19958
|
}>;
|
|
@@ -19389,8 +19984,8 @@ export declare const ModelCredentialSchema: ZodObject<{
|
|
|
19389
19984
|
fingerprint: ZodString;
|
|
19390
19985
|
version: ZodNumber;
|
|
19391
19986
|
status: ZodEnum<{
|
|
19392
|
-
active: "active";
|
|
19393
19987
|
revoked: "revoked";
|
|
19988
|
+
active: "active";
|
|
19394
19989
|
}>;
|
|
19395
19990
|
validatedAt: ZodString;
|
|
19396
19991
|
createdByUserId: ZodString;
|
|
@@ -19429,8 +20024,8 @@ export declare const ModelCredentialResultSchema: ZodObject<{
|
|
|
19429
20024
|
fingerprint: ZodString;
|
|
19430
20025
|
version: ZodNumber;
|
|
19431
20026
|
status: ZodEnum<{
|
|
19432
|
-
active: "active";
|
|
19433
20027
|
revoked: "revoked";
|
|
20028
|
+
active: "active";
|
|
19434
20029
|
}>;
|
|
19435
20030
|
validatedAt: ZodString;
|
|
19436
20031
|
createdByUserId: ZodString;
|
|
@@ -19453,8 +20048,8 @@ export declare const ModelCredentialRevocationSchema: ZodObject<{
|
|
|
19453
20048
|
fingerprint: ZodString;
|
|
19454
20049
|
version: ZodNumber;
|
|
19455
20050
|
status: ZodEnum<{
|
|
19456
|
-
active: "active";
|
|
19457
20051
|
revoked: "revoked";
|
|
20052
|
+
active: "active";
|
|
19458
20053
|
}>;
|
|
19459
20054
|
validatedAt: ZodString;
|
|
19460
20055
|
createdByUserId: ZodString;
|
|
@@ -19478,8 +20073,8 @@ export declare const ModelCredentialListSchema: ZodObject<{
|
|
|
19478
20073
|
fingerprint: ZodString;
|
|
19479
20074
|
version: ZodNumber;
|
|
19480
20075
|
status: ZodEnum<{
|
|
19481
|
-
active: "active";
|
|
19482
20076
|
revoked: "revoked";
|
|
20077
|
+
active: "active";
|
|
19483
20078
|
}>;
|
|
19484
20079
|
validatedAt: ZodString;
|
|
19485
20080
|
createdByUserId: ZodString;
|
|
@@ -19511,21 +20106,21 @@ export declare function readableText(value: string): string;
|
|
|
19511
20106
|
//#region src/api/delegation-management.d.ts
|
|
19512
20107
|
export declare const DelegationStoredStatusSchema: ZodEnum<{
|
|
19513
20108
|
expired: "expired";
|
|
19514
|
-
active: "active";
|
|
19515
20109
|
revoked: "revoked";
|
|
20110
|
+
active: "active";
|
|
19516
20111
|
}>;
|
|
19517
20112
|
export type DelegationStoredStatus = output<typeof DelegationStoredStatusSchema>;
|
|
19518
20113
|
export declare const DelegationEffectiveStatusSchema: ZodEnum<{
|
|
19519
20114
|
expired: "expired";
|
|
19520
|
-
active: "active";
|
|
19521
20115
|
revoked: "revoked";
|
|
20116
|
+
active: "active";
|
|
19522
20117
|
not_yet_valid: "not_yet_valid";
|
|
19523
20118
|
}>;
|
|
19524
20119
|
export type DelegationEffectiveStatus = output<typeof DelegationEffectiveStatusSchema>;
|
|
19525
20120
|
export declare const DelegationListStatusFilterSchema: ZodEnum<{
|
|
19526
20121
|
expired: "expired";
|
|
19527
|
-
active: "active";
|
|
19528
20122
|
revoked: "revoked";
|
|
20123
|
+
active: "active";
|
|
19529
20124
|
all: "all";
|
|
19530
20125
|
}>;
|
|
19531
20126
|
export type DelegationListStatusFilter = output<typeof DelegationListStatusFilterSchema>;
|
|
@@ -19549,13 +20144,13 @@ export declare const DelegationManagementItemSchema: ZodObject<{
|
|
|
19549
20144
|
}, $strict>;
|
|
19550
20145
|
status: ZodEnum<{
|
|
19551
20146
|
expired: "expired";
|
|
19552
|
-
active: "active";
|
|
19553
20147
|
revoked: "revoked";
|
|
20148
|
+
active: "active";
|
|
19554
20149
|
}>;
|
|
19555
20150
|
effectiveStatus: ZodEnum<{
|
|
19556
20151
|
expired: "expired";
|
|
19557
|
-
active: "active";
|
|
19558
20152
|
revoked: "revoked";
|
|
20153
|
+
active: "active";
|
|
19559
20154
|
not_yet_valid: "not_yet_valid";
|
|
19560
20155
|
}>;
|
|
19561
20156
|
issuedAt: ZodString;
|
|
@@ -19582,13 +20177,13 @@ export declare const DelegationManagementListSchema: ZodObject<{
|
|
|
19582
20177
|
}, $strict>;
|
|
19583
20178
|
status: ZodEnum<{
|
|
19584
20179
|
expired: "expired";
|
|
19585
|
-
active: "active";
|
|
19586
20180
|
revoked: "revoked";
|
|
20181
|
+
active: "active";
|
|
19587
20182
|
}>;
|
|
19588
20183
|
effectiveStatus: ZodEnum<{
|
|
19589
20184
|
expired: "expired";
|
|
19590
|
-
active: "active";
|
|
19591
20185
|
revoked: "revoked";
|
|
20186
|
+
active: "active";
|
|
19592
20187
|
not_yet_valid: "not_yet_valid";
|
|
19593
20188
|
}>;
|
|
19594
20189
|
issuedAt: ZodString;
|
|
@@ -19678,13 +20273,13 @@ export declare const DelegationManagementDetailSchema: ZodObject<{
|
|
|
19678
20273
|
}, $strict>;
|
|
19679
20274
|
status: ZodEnum<{
|
|
19680
20275
|
expired: "expired";
|
|
19681
|
-
active: "active";
|
|
19682
20276
|
revoked: "revoked";
|
|
20277
|
+
active: "active";
|
|
19683
20278
|
}>;
|
|
19684
20279
|
effectiveStatus: ZodEnum<{
|
|
19685
20280
|
expired: "expired";
|
|
19686
|
-
active: "active";
|
|
19687
20281
|
revoked: "revoked";
|
|
20282
|
+
active: "active";
|
|
19688
20283
|
not_yet_valid: "not_yet_valid";
|
|
19689
20284
|
}>;
|
|
19690
20285
|
issuedAt: ZodString;
|
|
@@ -19810,6 +20405,90 @@ export declare const TrackingReadinessSchema: ZodObject<{
|
|
|
19810
20405
|
}, $strict>>;
|
|
19811
20406
|
}, $strict>;
|
|
19812
20407
|
//#endregion
|
|
20408
|
+
//#region src/api/cli-registration.d.ts
|
|
20409
|
+
export declare const CLI_PAIRING_PROTOCOL_VERSION: 2;
|
|
20410
|
+
export declare const CLI_PAIRING_UPGRADE_MESSAGE = "Upgrade the KYA-OS CLI and run checkpoint init again. This pairing requires independent terminal proof.";
|
|
20411
|
+
export declare const CliPairingProofSchema: ZodString;
|
|
20412
|
+
export declare const CLI_PAIRING_FRAMEWORKS: readonly ["nextjs", "express", "static", "unknown"];
|
|
20413
|
+
export declare const CliPairingRegisterRequestSchema: ZodObject<{
|
|
20414
|
+
protocolVersion: ZodLiteral<2>;
|
|
20415
|
+
exchangeChallenge: ZodString;
|
|
20416
|
+
domainHint: ZodOptional<ZodString>;
|
|
20417
|
+
repoName: ZodOptional<ZodString>;
|
|
20418
|
+
framework: ZodOptional<ZodEnum<{
|
|
20419
|
+
unknown: "unknown";
|
|
20420
|
+
nextjs: "nextjs";
|
|
20421
|
+
express: "express";
|
|
20422
|
+
static: "static";
|
|
20423
|
+
}>>;
|
|
20424
|
+
}, $strict>;
|
|
20425
|
+
export declare const CliPairingApprovedClaimSchema: ZodObject<{
|
|
20426
|
+
userId: ZodString;
|
|
20427
|
+
organizationId: ZodString;
|
|
20428
|
+
projectId: ZodString;
|
|
20429
|
+
}, $strict>;
|
|
20430
|
+
export declare const CliPairingClaimSchema: ZodObject<{
|
|
20431
|
+
userId: ZodString;
|
|
20432
|
+
userEmail: ZodString;
|
|
20433
|
+
userName: ZodNullable<ZodString>;
|
|
20434
|
+
organizationId: ZodString;
|
|
20435
|
+
organizationName: ZodString;
|
|
20436
|
+
organizationSlug: ZodNullable<ZodString>;
|
|
20437
|
+
projectId: ZodString;
|
|
20438
|
+
projectName: ZodString;
|
|
20439
|
+
projectDomain: ZodNullable<ZodString>;
|
|
20440
|
+
}, $strict>;
|
|
20441
|
+
export declare const CliPairingExchangeRequestSchema: ZodObject<{
|
|
20442
|
+
protocolVersion: ZodLiteral<2>;
|
|
20443
|
+
registrationId: ZodString;
|
|
20444
|
+
exchangeVerifier: ZodString;
|
|
20445
|
+
approvedClaim: ZodObject<{
|
|
20446
|
+
userId: ZodString;
|
|
20447
|
+
organizationId: ZodString;
|
|
20448
|
+
projectId: ZodString;
|
|
20449
|
+
}, $strict>;
|
|
20450
|
+
}, $strict>;
|
|
20451
|
+
export declare const CliPairingRegisterDataSchema: ZodObject<{
|
|
20452
|
+
protocolVersion: ZodLiteral<2>;
|
|
20453
|
+
registrationId: ZodString;
|
|
20454
|
+
claimToken: ZodString;
|
|
20455
|
+
claimUrl: ZodString;
|
|
20456
|
+
confirmationCode: ZodString;
|
|
20457
|
+
expiresAt: ZodString;
|
|
20458
|
+
}, $strict>;
|
|
20459
|
+
export declare const CliPairingPrivateStatusDataSchema: ZodDiscriminatedUnion<[ZodObject<{
|
|
20460
|
+
protocolVersion: ZodLiteral<2>;
|
|
20461
|
+
status: ZodLiteral<"pending">;
|
|
20462
|
+
claimed: ZodNull;
|
|
20463
|
+
}, $strict>, ZodObject<{
|
|
20464
|
+
protocolVersion: ZodLiteral<2>;
|
|
20465
|
+
status: ZodLiteral<"claimed">;
|
|
20466
|
+
claimed: ZodObject<{
|
|
20467
|
+
userId: ZodString;
|
|
20468
|
+
userEmail: ZodString;
|
|
20469
|
+
userName: ZodNullable<ZodString>;
|
|
20470
|
+
organizationId: ZodString;
|
|
20471
|
+
organizationName: ZodString;
|
|
20472
|
+
organizationSlug: ZodNullable<ZodString>;
|
|
20473
|
+
projectId: ZodString;
|
|
20474
|
+
projectName: ZodString;
|
|
20475
|
+
projectDomain: ZodNullable<ZodString>;
|
|
20476
|
+
}, $strict>;
|
|
20477
|
+
}, $strict>], "status">;
|
|
20478
|
+
export declare const CliPairingExchangeDataSchema: ZodObject<{
|
|
20479
|
+
protocolVersion: ZodLiteral<2>;
|
|
20480
|
+
userId: ZodString;
|
|
20481
|
+
projectId: ZodString;
|
|
20482
|
+
organizationId: ZodString;
|
|
20483
|
+
friendlyId: ZodNullable<ZodString>;
|
|
20484
|
+
apiKey: ZodString;
|
|
20485
|
+
dashboardUrl: ZodString;
|
|
20486
|
+
}, $strict>;
|
|
20487
|
+
export type CliPairingClaim = output<typeof CliPairingClaimSchema>;
|
|
20488
|
+
export type CliPairingApprovedClaim = output<typeof CliPairingApprovedClaimSchema>;
|
|
20489
|
+
export type CliPairingExchangeRequest = output<typeof CliPairingExchangeRequestSchema>;
|
|
20490
|
+
export type CliPairingPrivateStatusData = output<typeof CliPairingPrivateStatusDataSchema>;
|
|
20491
|
+
//#endregion
|
|
19813
20492
|
//#region src/index.d.ts
|
|
19814
20493
|
export type DeepPartial<T> = { [P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P]; };
|
|
19815
20494
|
export type Nullable<T> = T | null;
|
|
@@ -19822,5 +20501,5 @@ export type AsyncResult<T, E = Error> = Promise<{
|
|
|
19822
20501
|
export declare const VERSION = "0.1.0";
|
|
19823
20502
|
export declare const PACKAGE_NAME = "@kya-os/checkpoint-shared";
|
|
19824
20503
|
//#endregion
|
|
19825
|
-
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 ConsentProviderType, 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 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 PolicyMatchType, type PolicyMetadata, type PolicyRule, 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 };
|
|
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 };
|
|
19826
20505
|
//# sourceMappingURL=index.d.mts.map
|