@kya-os/checkpoint-shared 1.8.0 → 1.10.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.
Files changed (155) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/README.md +1 -1
  3. package/dist/agent-catalog.d.mts +12 -0
  4. package/dist/agent-catalog.d.mts.map +1 -0
  5. package/dist/agent-catalog.d.ts +12 -0
  6. package/dist/agent-catalog.d.ts.map +1 -0
  7. package/dist/agent-catalog.js +105 -0
  8. package/dist/agent-catalog.mjs +105 -0
  9. package/dist/agent-catalog.mjs.map +1 -0
  10. package/dist/beacon-types/index.d.mts +18 -0
  11. package/dist/beacon-types/index.d.mts.map +1 -1
  12. package/dist/beacon-types/index.d.ts +18 -0
  13. package/dist/beacon-types/index.d.ts.map +1 -1
  14. package/dist/beacon-types/index.js +116 -12
  15. package/dist/beacon-types/index.mjs +105 -13
  16. package/dist/beacon-types/index.mjs.map +1 -1
  17. package/dist/browser-posture-5fPrsxx7.d.mts.map +1 -1
  18. package/dist/browser-posture-CCR1kh5e.d.ts.map +1 -1
  19. package/dist/browser-posture-cookie.js +1 -1
  20. package/dist/browser-posture-cookie.mjs +1 -1
  21. package/dist/browser-posture-cookie.mjs.map +1 -1
  22. package/dist/browser-posture-proof-verifier-DvsOmFrM.js +202 -0
  23. package/dist/browser-posture-proof-verifier-I0HP2Ics.mjs +180 -0
  24. package/dist/browser-posture-proof-verifier-I0HP2Ics.mjs.map +1 -0
  25. package/dist/browser-posture-proof-verifier.d.mts +25 -0
  26. package/dist/browser-posture-proof-verifier.d.mts.map +1 -0
  27. package/dist/browser-posture-proof-verifier.d.ts +25 -0
  28. package/dist/browser-posture-proof-verifier.d.ts.map +1 -0
  29. package/dist/browser-posture-proof-verifier.js +7 -0
  30. package/dist/browser-posture-proof-verifier.mjs +3 -0
  31. package/dist/browser-posture-proof.d.mts +3 -18
  32. package/dist/browser-posture-proof.d.mts.map +1 -1
  33. package/dist/browser-posture-proof.d.ts +3 -18
  34. package/dist/browser-posture-proof.d.ts.map +1 -1
  35. package/dist/browser-posture-proof.js +6 -131
  36. package/dist/browser-posture-proof.mjs +1 -126
  37. package/dist/browser-posture-proof.mjs.map +1 -1
  38. package/dist/browser-posture.js +36 -5
  39. package/dist/browser-posture.mjs +36 -5
  40. package/dist/browser-posture.mjs.map +1 -1
  41. package/dist/browser.d.mts +0 -282
  42. package/dist/browser.d.mts.map +1 -1
  43. package/dist/browser.d.ts +0 -282
  44. package/dist/browser.d.ts.map +1 -1
  45. package/dist/browser.js +1 -1
  46. package/dist/browser.mjs +1 -1
  47. package/dist/browser.mjs.map +1 -1
  48. package/dist/canonical-signer/index.mjs.map +1 -1
  49. package/dist/consent-handoff.d.mts +0 -3
  50. package/dist/consent-handoff.d.mts.map +1 -1
  51. package/dist/consent-handoff.d.ts +0 -3
  52. package/dist/consent-handoff.d.ts.map +1 -1
  53. package/dist/consent-handoff.mjs.map +1 -1
  54. package/dist/default-sign-in-host.d.mts +10 -0
  55. package/dist/default-sign-in-host.d.mts.map +1 -0
  56. package/dist/default-sign-in-host.d.ts +10 -0
  57. package/dist/default-sign-in-host.d.ts.map +1 -0
  58. package/dist/default-sign-in-host.js +72 -0
  59. package/dist/default-sign-in-host.mjs +66 -0
  60. package/dist/default-sign-in-host.mjs.map +1 -0
  61. package/dist/deploy/index.d.mts +1 -0
  62. package/dist/deploy/index.d.mts.map +1 -1
  63. package/dist/deploy/index.d.ts +1 -0
  64. package/dist/deploy/index.d.ts.map +1 -1
  65. package/dist/deploy/index.js +9 -1
  66. package/dist/deploy/index.mjs +9 -1
  67. package/dist/deploy/index.mjs.map +1 -1
  68. package/dist/errors/index.d.mts +1 -0
  69. package/dist/errors/index.d.mts.map +1 -1
  70. package/dist/errors/index.d.ts +1 -0
  71. package/dist/errors/index.d.ts.map +1 -1
  72. package/dist/errors/index.js +5 -2
  73. package/dist/errors/index.mjs +5 -2
  74. package/dist/errors/index.mjs.map +1 -1
  75. package/dist/{fetcher-CivUCbhL.d.ts → fetcher-CCw4Q95g.d.ts} +2 -2
  76. package/dist/{fetcher-CivUCbhL.d.ts.map → fetcher-CCw4Q95g.d.ts.map} +1 -1
  77. package/dist/{fetcher-cXQsbm6s.d.mts → fetcher-CZfLcbRZ.d.mts} +2 -2
  78. package/dist/{fetcher-cXQsbm6s.d.mts.map → fetcher-CZfLcbRZ.d.mts.map} +1 -1
  79. package/dist/gateway-client-ip.d.mts +0 -2
  80. package/dist/gateway-client-ip.d.mts.map +1 -1
  81. package/dist/gateway-client-ip.d.ts +0 -2
  82. package/dist/gateway-client-ip.d.ts.map +1 -1
  83. package/dist/gateway-client-ip.mjs.map +1 -1
  84. package/dist/host-adapter/index.d.mts +1 -1
  85. package/dist/host-adapter/index.d.ts +1 -1
  86. package/dist/host-adapter/index.js +1 -1
  87. package/dist/host-adapter/index.mjs +1 -1
  88. package/dist/{host-adapter-DHyISsIf.mjs → host-adapter-BKdQHwbi.mjs} +2 -2
  89. package/dist/{host-adapter-DHyISsIf.mjs.map → host-adapter-BKdQHwbi.mjs.map} +1 -1
  90. package/dist/{host-adapter-0F8EpbD6.js → host-adapter-bWftXA9T.js} +1 -1
  91. package/dist/{index-CXbOY7gB.d.ts → index-Cdv_FH0H.d.ts} +3 -3
  92. package/dist/{index-CXbOY7gB.d.ts.map → index-Cdv_FH0H.d.ts.map} +1 -1
  93. package/dist/{index-B3cHxr3O.d.mts → index-DL_dmQBY.d.mts} +3 -3
  94. package/dist/{index-B3cHxr3O.d.mts.map → index-DL_dmQBY.d.mts.map} +1 -1
  95. package/dist/index.d.mts +124 -463
  96. package/dist/index.d.mts.map +1 -1
  97. package/dist/index.d.ts +124 -463
  98. package/dist/index.d.ts.map +1 -1
  99. package/dist/index.js +52 -468
  100. package/dist/index.mjs +40 -435
  101. package/dist/index.mjs.map +1 -1
  102. package/dist/{kya-http-error-codes-UYb1zpGM.js → kya-http-error-codes-B4rUmUEI.js} +2 -0
  103. package/dist/{kya-http-error-codes-7ewV5RuK.d.ts → kya-http-error-codes-C14E4gi3.d.mts} +2 -1
  104. package/dist/kya-http-error-codes-C14E4gi3.d.mts.map +1 -0
  105. package/dist/{kya-http-error-codes-7ewV5RuK.d.mts → kya-http-error-codes-C14E4gi3.d.ts} +2 -1
  106. package/dist/kya-http-error-codes-C14E4gi3.d.ts.map +1 -0
  107. package/dist/{kya-http-error-codes-C2JiWPsi.mjs → kya-http-error-codes-DSBrxNry.mjs} +3 -1
  108. package/dist/kya-http-error-codes-DSBrxNry.mjs.map +1 -0
  109. package/dist/kya-http.d.mts +3 -3
  110. package/dist/kya-http.d.ts +3 -3
  111. package/dist/kya-http.js +7 -3
  112. package/dist/kya-http.mjs +3 -3
  113. package/dist/mcpi/dashboard-config/index.d.mts.map +1 -1
  114. package/dist/mcpi/dashboard-config/index.d.ts.map +1 -1
  115. package/dist/mcpi/dashboard-config/index.mjs.map +1 -1
  116. package/dist/{patterns-B2r7M9wR.js → patterns-CiMpbdAF.js} +1 -1
  117. package/dist/{patterns-B7dQoeE3.mjs → patterns-D4OAsNQY.mjs} +2 -2
  118. package/dist/{patterns-B7dQoeE3.mjs.map → patterns-D4OAsNQY.mjs.map} +1 -1
  119. package/dist/patterns.js +1 -1
  120. package/dist/patterns.mjs +1 -1
  121. package/dist/policy/fetcher.d.mts +1 -1
  122. package/dist/policy/fetcher.d.ts +1 -1
  123. package/dist/policy/schemas.d.mts +1 -1
  124. package/dist/policy/schemas.d.ts +1 -1
  125. package/dist/{registered-sid-DVGTSH0L.js → registered-sid-BZfDOfXy.js} +107 -4
  126. package/dist/{registered-sid-26hNxp6t.mjs → registered-sid-CS9V8nPr.mjs} +85 -6
  127. package/dist/registered-sid-CS9V8nPr.mjs.map +1 -0
  128. package/dist/{registered-sid-D6KCaT1E.d.ts → registered-sid-CnWIU_l1.d.mts} +13 -2
  129. package/dist/registered-sid-CnWIU_l1.d.mts.map +1 -0
  130. package/dist/{registered-sid-D6KCaT1E.d.mts → registered-sid-CnWIU_l1.d.ts} +13 -2
  131. package/dist/registered-sid-CnWIU_l1.d.ts.map +1 -0
  132. package/dist/{schemas-02CI7jgm.d.mts → schemas-BhC88D1-.d.mts} +17 -17
  133. package/dist/{schemas-02CI7jgm.d.mts.map → schemas-BhC88D1-.d.mts.map} +1 -1
  134. package/dist/{schemas-C_3C72SR.d.ts → schemas-DZa1ouGs.d.ts} +17 -17
  135. package/dist/{schemas-C_3C72SR.d.ts.map → schemas-DZa1ouGs.d.ts.map} +1 -1
  136. package/dist/signals/index.d.mts.map +1 -1
  137. package/dist/signals/index.d.ts.map +1 -1
  138. package/dist/signals/index.js +4 -0
  139. package/dist/signals/index.mjs +4 -0
  140. package/dist/signals/index.mjs.map +1 -1
  141. package/dist/tool-protection/index.d.mts +12 -0
  142. package/dist/tool-protection/index.d.mts.map +1 -1
  143. package/dist/tool-protection/index.d.ts +12 -0
  144. package/dist/tool-protection/index.d.ts.map +1 -1
  145. package/dist/tool-protection/index.js +46 -0
  146. package/dist/tool-protection/index.mjs +44 -1
  147. package/dist/tool-protection/index.mjs.map +1 -1
  148. package/fixtures/kya-http/error-codes.json +2 -1
  149. package/package.json +19 -3
  150. package/dist/kya-http-error-codes-7ewV5RuK.d.mts.map +0 -1
  151. package/dist/kya-http-error-codes-7ewV5RuK.d.ts.map +0 -1
  152. package/dist/kya-http-error-codes-C2JiWPsi.mjs.map +0 -1
  153. package/dist/registered-sid-26hNxp6t.mjs.map +0 -1
  154. package/dist/registered-sid-D6KCaT1E.d.mts.map +0 -1
  155. package/dist/registered-sid-D6KCaT1E.d.ts.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,15 +1,17 @@
1
1
  import { A as ZodString, B as $strip, C as ZodNullable, D as ZodPipe, E as ZodOptional, F as ZodError, I as output, L as $loose, M as ZodType, N as ZodUnion, O as ZodPrefault, P as ZodUnknown, R as $partial, S as ZodNull, T as ZodObject, 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 ZodTransform, k as ZodRecord, 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 ZodNumber, x as ZodLiteral, y as ZodIPv6, z as $strict } from "./external-m3Kmafwj.js";
2
+ import { AGENT_CATALOG, AgentCatalogEntry, AgentCatalogTier } from "./agent-catalog.js";
2
3
  import { a as ClientIpTrustPolicy, c as compressIpv6, d as resolveClientIp, f as resolveObservedClientAddress, i as ClientIpSource, l as normalizeClientIp, n as ClientIpHeaders, o as ObservedClientAddressResolution, r as ClientIpResolution, s as ResolveClientIpInput, t as ClientIpHeaderValue, u as parseIpv6 } from "./client-ip-B7w-uHfS.js";
4
+ import { AUTH_DOMAIN, defaultSignInHost, defaultSignInHostLabel, isDefaultSignInHostLabel, isDnsLabel, isUnderAuthDomain, withoutTrailingDots } from "./default-sign-in-host.js";
3
5
  import { t as RULESET_HASH_REGEX } from "./ruleset-hash-IRN5eI9H.js";
4
- import { A as ACCEPT_CHALLENGE_HEADER, B as VERDICT_COOKIE_NAME, C as buildDelegationBearerHeader, D as buildDelegationInstructions, E as buildDelegationChallengeHeader, F as BLOCKED_PATH, H as deriveVerdict, I as ResponseShape, L as classifyResponseShape, M as FetcherHeaderInput, N as selectBodyReadable200, O as deriveDelegationPickupUri, P as serveBodyReadable200, R as acceptsHtml, S as buildChallengeWire, T as buildDelegationChallengeEnvelope, U as encodeVerdictCookie, V as Verdict, _ as DelegationChallengeBody, a as ResolveBotSignalsInput, b as DelegationChallengeWireInput, c as ChallengeContextFailureEvent, d as resolveChallengeContext, f as ApprovalQuorumChallengeWireInput, g as ChallengeWireKind, h as ChallengeWireInput, i as CloudflareRequestCf, j as ChallengeEnvelopeMode, k as generateDelegationSid, l as DEFAULT_CHALLENGE_CONTEXT_TIMEOUT_MS, m as ChallengeWireErrorCode, n as BotSignalsSource, o as resolveBotSignals, p as ChallengeWireError, r as BotSignalsTrustPolicy, s as ChallengeContextFailure, t as BotSignalsResolution, u as ResolveChallengeContextOptions, v as DelegationChallengeEnvelope, w as buildDelegationChallengeBody, x as HeaderEntry, y as DelegationChallengeEnvelopeMode, z as RenderedResponseLike } from "./index-CXbOY7gB.js";
5
- import { n as KYA_HTTP_ERROR_STATUS, r as KyaHttpErrorCode, t as KYA_HTTP_ERROR } from "./kya-http-error-codes-7ewV5RuK.js";
6
+ import { A as ACCEPT_CHALLENGE_HEADER, B as VERDICT_COOKIE_NAME, C as buildDelegationBearerHeader, D as buildDelegationInstructions, E as buildDelegationChallengeHeader, F as BLOCKED_PATH, H as deriveVerdict, I as ResponseShape, L as classifyResponseShape, M as FetcherHeaderInput, N as selectBodyReadable200, O as deriveDelegationPickupUri, P as serveBodyReadable200, R as acceptsHtml, S as buildChallengeWire, T as buildDelegationChallengeEnvelope, U as encodeVerdictCookie, V as Verdict, _ as DelegationChallengeBody, a as ResolveBotSignalsInput, b as DelegationChallengeWireInput, c as ChallengeContextFailureEvent, d as resolveChallengeContext, f as ApprovalQuorumChallengeWireInput, g as ChallengeWireKind, h as ChallengeWireInput, i as CloudflareRequestCf, j as ChallengeEnvelopeMode, k as generateDelegationSid, l as DEFAULT_CHALLENGE_CONTEXT_TIMEOUT_MS, m as ChallengeWireErrorCode, n as BotSignalsSource, o as resolveBotSignals, p as ChallengeWireError, r as BotSignalsTrustPolicy, s as ChallengeContextFailure, t as BotSignalsResolution, u as ResolveChallengeContextOptions, v as DelegationChallengeEnvelope, w as buildDelegationChallengeBody, x as HeaderEntry, y as DelegationChallengeEnvelopeMode, z as RenderedResponseLike } from "./index-Cdv_FH0H.js";
7
+ import { n as KYA_HTTP_ERROR_STATUS, r as KyaHttpErrorCode, t as KYA_HTTP_ERROR } from "./kya-http-error-codes-C14E4gi3.js";
6
8
  import { n as normalizeChallengeType, t as isEngineEnforcing } from "./engine-enforcing-DiOclGqf.js";
7
- import { A as PolicyMetadataSchema, B as ThresholdConfigSchema, C as InstructPayload, D as PolicyConfig, E as PolicyConditionSchema, F as RuleMetadata, I as RuleMetadataSchema, L as SuggestedAction, M as PolicyRuleSchema, N as RedirectTarget, O as PolicyConfigSchema, P as RedirectTargetSchema, R as SuggestedActionSchema, S as EnforcementModeSchema, T as PolicyCondition, V as safeParsePolicyConfig, _ as DenyListEntry, a as BlockReason, b as EnforcementActionSchema, c as ChallengeParamsSchema, f as ConditionOperatorSchema, g as DecisionSchema, h as Decision, i as AssuranceTierSchema, j as PolicyRule, k as PolicyMetadata, m as ConditionValueSchema, n as AllowListEntrySchema, o as BlockReasonSchema, p as ConditionValue, r as AssuranceTier, s as ChallengeParams, t as AllowListEntry, u as ConditionFieldSchema, v as DenyListEntrySchema, w as InstructPayloadSchema, z as ThresholdConfig } from "./schemas-C_3C72SR.js";
9
+ import { A as PolicyMetadataSchema, B as ThresholdConfigSchema, C as InstructPayload, D as PolicyConfig, E as PolicyConditionSchema, F as RuleMetadata, I as RuleMetadataSchema, L as SuggestedAction, M as PolicyRuleSchema, N as RedirectTarget, O as PolicyConfigSchema, P as RedirectTargetSchema, R as SuggestedActionSchema, S as EnforcementModeSchema, T as PolicyCondition, V as safeParsePolicyConfig, _ as DenyListEntry, a as BlockReason, b as EnforcementActionSchema, c as ChallengeParamsSchema, f as ConditionOperatorSchema, g as DecisionSchema, h as Decision, i as AssuranceTierSchema, j as PolicyRule, k as PolicyMetadata, m as ConditionValueSchema, n as AllowListEntrySchema, o as BlockReasonSchema, p as ConditionValue, r as AssuranceTier, s as ChallengeParams, t as AllowListEntry, u as ConditionFieldSchema, v as DenyListEntrySchema, w as InstructPayloadSchema, z as ThresholdConfig } from "./schemas-DZa1ouGs.js";
8
10
  import { a as mapDetectionToReasonCodes, i as formatReasonCodesHeader, n as MAX_REASON_CODES_ON_WIRE, o as DETECTION_REASON_CODES, r as ReasonCodeDetectionFacts, s as DetectionReasonCode, t as MAX_REASON_CODES_HEADER_BYTES } from "./detection-reason-mapping-CQexNvR7.js";
9
11
  import { a as SUSPICIOUS_PATTERNS, c as VALIDATION_PATTERNS, d as testPattern, f as testPatterns, i as OS_PATTERNS, l as extractMatch, n as HEADER_PATTERNS, o as USER_AGENT_PATTERNS, r as MOBILE_PATTERNS, s as UUID_PATTERN, t as BROWSER_PATTERNS, u as findMatchingPattern } from "./patterns-Bp40cwh2.js";
10
- import { _ as normalizeWireMethod, a as requestCarriesDelegationProof, c as KYA_OS_WIRE_METHODS, d as getVerificationReliability, f as getVerificationRiskLevel, g as normalizeHandshakeMethod, h as isKyaOsWireMethod, i as DELEGATION_PROOF_HEADERS, l as VerificationMethod, m as isKyaOsHandshakeMethod, n as SID_ATTRIBUTABLE_RESULT, o as requestPresentedCredential, p as isHighConfidenceVerification, r as ANONYMOUS_PRINCIPAL_DID, s as KYA_OS_HANDSHAKE_METHODS, t as REGISTERED_SID_MAX_LENGTH, u as getVerificationMethodDescription } from "./registered-sid-D6KCaT1E.js";
12
+ import { S as normalizeWireMethod, _ as getVerificationRiskLevel, a as KYA_SIGNED_BODY_MAX_BYTES, b as isKyaOsWireMethod, c as requestCarriesDelegationProof, d as requestPresentsKyaSignature, f as KYA_OS_HANDSHAKE_METHODS, g as getVerificationReliability, h as getVerificationMethodDescription, i as BoundedBody, l as requestDeclaresBody, m as VerificationMethod, n as SID_ATTRIBUTABLE_RESULT, o as readBodyBounded, p as KYA_OS_WIRE_METHODS, r as ANONYMOUS_PRINCIPAL_DID, s as DELEGATION_PROOF_HEADERS, t as REGISTERED_SID_MAX_LENGTH, u as requestPresentedCredential, v as isHighConfidenceVerification, x as normalizeHandshakeMethod, y as isKyaOsHandshakeMethod } from "./registered-sid-CnWIU_l1.js";
11
13
  import { A as NO_EVIDENCE_EQUALITY_TERM, C as pathLiteralsInBlock, D as statementApplies, E as parseCedarStatements, F as FAIL_CLOSED_HEADERS, I as FAIL_CLOSED_STATUS, M as withNoEvidenceExclusion, N as matchPath, O as statementId, P as FAIL_CLOSED_BODY, S as pathHasUnnarrowedDenyRuleFor, T as ProbeClass, _ as requiredScopesForRequest, a as ApprovalQuorum, b as analyzePolicySource, c as BESPOKE_POLICY_IDS, d as isBespokePolicyId, f as isNonNavigablePolicyId, g as ByteBoundedMemo, h as decisionPolicyId, i as validateStepUpQuorum, j as NO_EVIDENCE_EXCLUSION_TERM, k as NO_EVIDENCE_CATEGORY, m as DecisionLike, n as StepUpQuorumCheck, o as approvalQuorumForRequest, p as nonNavigablePolicyLabel, r as StepUpQuorumLike, s as BASELINE_ALLOW_POLICY_ID, t as InvalidStepUpReason, u as bespokePolicyLabel, v as PolicyHazardAnalysis, w as splitCedarBlocks, x as blockEqualityLiterals, y as RequestFacts } from "./step-up-Bz12gYKT.js";
12
- import { a as PolicyUnavailableError, i as PolicyFetcherConfig, n as PolicyCacheAdapter, o as isPolicyUnavailableError, r as PolicyFetcher, t as CachedPolicy } from "./fetcher-CivUCbhL.js";
14
+ import { a as PolicyUnavailableError, i as PolicyFetcherConfig, n as PolicyCacheAdapter, o as isPolicyUnavailableError, r as PolicyFetcher, t as CachedPolicy } from "./fetcher-CCw4Q95g.js";
13
15
  import { JWK } from "jose";
14
16
  import { AuthMode, ConsentProviderType, CredentialProviderConfig, IProviderRegistry, OAuthProviderConfig, ProviderAuthType, ProviderConfig, ProviderDefinition as ProviderRegistryDefinition, RegistryLogger } from "@kya-os/provider-registry";
15
17
  //#region src/core/network-assertions.d.ts
@@ -27,8 +29,8 @@ export declare const ProxyAssertionSchema: ZodObject<{
27
29
  source: ZodString;
28
30
  subjectScope: ZodLiteral<"request_egress">;
29
31
  membership: ZodEnum<{
30
- unknown: "unknown";
31
32
  absent: "absent";
33
+ unknown: "unknown";
32
34
  present: "present";
33
35
  }>;
34
36
  evidenceGrade: ZodEnum<{
@@ -64,7 +66,7 @@ export declare function mapProxyAssertions(proxyAssertions: readonly ProxyAssert
64
66
  kind: string;
65
67
  source: string;
66
68
  subjectScope: "request_egress";
67
- membership: "unknown" | "absent" | "present";
69
+ membership: "absent" | "unknown" | "present";
68
70
  evidenceGrade: "confirmed" | "vendor_reported";
69
71
  collectionState: "current" | "unavailable" | "stale" | "unsupported" | "conflicting" | "insufficient_support";
70
72
  observedAt: number | null;
@@ -147,8 +149,8 @@ export declare const RequestContextSchema: ZodObject<{
147
149
  export type RequestContext = output<typeof RequestContextSchema>;
148
150
  export declare const DetectionSignalSchema: ZodObject<{
149
151
  signalType: ZodEnum<{
150
- pattern: "pattern";
151
152
  behavioral: "behavioral";
153
+ pattern: "pattern";
152
154
  signature: "signature";
153
155
  network: "network";
154
156
  fingerprint: "fingerprint";
@@ -268,8 +270,8 @@ export declare const NetworkContextSchema: ZodObject<{
268
270
  source: ZodString;
269
271
  subjectScope: ZodLiteral<"request_egress">;
270
272
  membership: ZodEnum<{
271
- unknown: "unknown";
272
273
  absent: "absent";
274
+ unknown: "unknown";
273
275
  present: "present";
274
276
  }>;
275
277
  evidenceGrade: ZodEnum<{
@@ -369,8 +371,8 @@ export declare const DetectionDetailSchema: ZodObject<{
369
371
  detectedPatterns: ZodOptional<ZodArray<ZodString>>;
370
372
  signals: ZodDefault<ZodArray<ZodObject<{
371
373
  signalType: ZodEnum<{
372
- pattern: "pattern";
373
374
  behavioral: "behavioral";
375
+ pattern: "pattern";
374
376
  signature: "signature";
375
377
  network: "network";
376
378
  fingerprint: "fingerprint";
@@ -410,9 +412,9 @@ export declare const DetectionDetailSchema: ZodObject<{
410
412
  botType: ZodOptional<ZodString>;
411
413
  agentType: ZodOptional<ZodString>;
412
414
  verificationMethod: ZodOptional<ZodEnum<{
415
+ behavioral: "behavioral";
413
416
  error: "error";
414
417
  pattern: "pattern";
415
- behavioral: "behavioral";
416
418
  kyaos_handshake: "kyaos_handshake";
417
419
  mcp_i_handshake: "mcp_i_handshake";
418
420
  signature: "signature";
@@ -558,8 +560,8 @@ export declare const DetectionResultSchema: ZodObject<{
558
560
  detectedPatterns: ZodOptional<ZodArray<ZodString>>;
559
561
  signals: ZodDefault<ZodArray<ZodObject<{
560
562
  signalType: ZodEnum<{
561
- pattern: "pattern";
562
563
  behavioral: "behavioral";
564
+ pattern: "pattern";
563
565
  signature: "signature";
564
566
  network: "network";
565
567
  fingerprint: "fingerprint";
@@ -599,9 +601,9 @@ export declare const DetectionResultSchema: ZodObject<{
599
601
  botType: ZodOptional<ZodString>;
600
602
  agentType: ZodOptional<ZodString>;
601
603
  verificationMethod: ZodOptional<ZodEnum<{
604
+ behavioral: "behavioral";
602
605
  error: "error";
603
606
  pattern: "pattern";
604
- behavioral: "behavioral";
605
607
  kyaos_handshake: "kyaos_handshake";
606
608
  mcp_i_handshake: "mcp_i_handshake";
607
609
  signature: "signature";
@@ -1028,8 +1030,8 @@ export declare function riskScoreColumnValue(metadata: unknown): string | null;
1028
1030
  export declare const VerdictEvidenceSchema: ZodObject<{
1029
1031
  signal: ZodString;
1030
1032
  plane: ZodEnum<{
1031
- pattern: "pattern";
1032
1033
  behavioral: "behavioral";
1034
+ pattern: "pattern";
1033
1035
  signature: "signature";
1034
1036
  network: "network";
1035
1037
  fingerprint: "fingerprint";
@@ -1223,6 +1225,7 @@ export declare const INTERNAL_ERRORS: {
1223
1225
  readonly TRANSACTION_FAILED: "TRANSACTION_FAILED";
1224
1226
  readonly DELETE_FAILED: "DELETE_FAILED";
1225
1227
  readonly PARTITION_RETIREMENT_IN_PROGRESS: "PARTITION_RETIREMENT_IN_PROGRESS";
1228
+ readonly FLY_CLEANUP_FAILED: "FLY_CLEANUP_FAILED";
1226
1229
  };
1227
1230
  export declare const SESSION_ERRORS: {
1228
1231
  readonly SESSION_NOT_FOUND: "SESSION_NOT_FOUND";
@@ -1602,6 +1605,7 @@ export declare const ERROR_CODES: {
1602
1605
  readonly TRANSACTION_FAILED: "TRANSACTION_FAILED";
1603
1606
  readonly DELETE_FAILED: "DELETE_FAILED";
1604
1607
  readonly PARTITION_RETIREMENT_IN_PROGRESS: "PARTITION_RETIREMENT_IN_PROGRESS";
1608
+ readonly FLY_CLEANUP_FAILED: "FLY_CLEANUP_FAILED";
1605
1609
  readonly CONNECTION_FAILED: "NETWORK_CONNECTION_FAILED";
1606
1610
  readonly TIMEOUT: "NETWORK_TIMEOUT";
1607
1611
  readonly DNS_RESOLUTION_FAILED: "NETWORK_DNS_FAILED";
@@ -2224,10 +2228,10 @@ export declare const PatternUpdateRequestSchema: ZodObject<{
2224
2228
  enabled: ZodBoolean;
2225
2229
  }, $strip>>;
2226
2230
  action: ZodEnum<{
2231
+ replace: "replace";
2227
2232
  add: "add";
2228
2233
  update: "update";
2229
2234
  remove: "remove";
2230
- replace: "replace";
2231
2235
  }>;
2232
2236
  }, $strip>;
2233
2237
  export type PatternUpdateRequest = output<typeof PatternUpdateRequestSchema>;
@@ -2317,8 +2321,8 @@ export declare const DetectionResponseSchema: ZodObject<{
2317
2321
  detectedPatterns: ZodOptional<ZodArray<ZodString>>;
2318
2322
  signals: ZodDefault<ZodArray<ZodObject<{
2319
2323
  signalType: ZodEnum<{
2320
- pattern: "pattern";
2321
2324
  behavioral: "behavioral";
2325
+ pattern: "pattern";
2322
2326
  signature: "signature";
2323
2327
  network: "network";
2324
2328
  fingerprint: "fingerprint";
@@ -2358,9 +2362,9 @@ export declare const DetectionResponseSchema: ZodObject<{
2358
2362
  botType: ZodOptional<ZodString>;
2359
2363
  agentType: ZodOptional<ZodString>;
2360
2364
  verificationMethod: ZodOptional<ZodEnum<{
2365
+ behavioral: "behavioral";
2361
2366
  error: "error";
2362
2367
  pattern: "pattern";
2363
- behavioral: "behavioral";
2364
2368
  kyaos_handshake: "kyaos_handshake";
2365
2369
  mcp_i_handshake: "mcp_i_handshake";
2366
2370
  signature: "signature";
@@ -2535,8 +2539,8 @@ export declare const BatchDetectionResponseSchema: ZodObject<{
2535
2539
  detectedPatterns: ZodOptional<ZodArray<ZodString>>;
2536
2540
  signals: ZodDefault<ZodArray<ZodObject<{
2537
2541
  signalType: ZodEnum<{
2538
- pattern: "pattern";
2539
2542
  behavioral: "behavioral";
2543
+ pattern: "pattern";
2540
2544
  signature: "signature";
2541
2545
  network: "network";
2542
2546
  fingerprint: "fingerprint";
@@ -2576,9 +2580,9 @@ export declare const BatchDetectionResponseSchema: ZodObject<{
2576
2580
  botType: ZodOptional<ZodString>;
2577
2581
  agentType: ZodOptional<ZodString>;
2578
2582
  verificationMethod: ZodOptional<ZodEnum<{
2583
+ behavioral: "behavioral";
2579
2584
  error: "error";
2580
2585
  pattern: "pattern";
2581
- behavioral: "behavioral";
2582
2586
  kyaos_handshake: "kyaos_handshake";
2583
2587
  mcp_i_handshake: "mcp_i_handshake";
2584
2588
  signature: "signature";
@@ -2719,8 +2723,8 @@ export declare const EventTrackingRequestSchema: ZodObject<{
2719
2723
  timestamp: ZodOptional<ZodString>;
2720
2724
  referrer: ZodOptional<ZodString>;
2721
2725
  method: ZodOptional<ZodEnum<{
2722
- GET: "GET";
2723
2726
  POST: "POST";
2727
+ GET: "GET";
2724
2728
  PUT: "PUT";
2725
2729
  DELETE: "DELETE";
2726
2730
  PATCH: "PATCH";
@@ -2828,6 +2832,8 @@ export declare const EventTrackingRequestSchema: ZodObject<{
2828
2832
  keyDwellCount: ZodOptional<ZodNumber>;
2829
2833
  keyDwellUnder5: ZodOptional<ZodNumber>;
2830
2834
  keyDwellSumMs: ZodOptional<ZodNumber>;
2835
+ keyDwellCongested: ZodOptional<ZodNumber>;
2836
+ keyDwellStampFlat: ZodOptional<ZodNumber>;
2831
2837
  keyGapCount: ZodOptional<ZodNumber>;
2832
2838
  keyGapUnder5: ZodOptional<ZodNumber>;
2833
2839
  pressCount: ZodOptional<ZodNumber>;
@@ -2835,6 +2841,8 @@ export declare const EventTrackingRequestSchema: ZodObject<{
2835
2841
  pressAdjacentUnder5: ZodOptional<ZodNumber>;
2836
2842
  pressUnder10: ZodOptional<ZodNumber>;
2837
2843
  pressSumMs: ZodOptional<ZodNumber>;
2844
+ pressCongested: ZodOptional<ZodNumber>;
2845
+ pressStampFlat: ZodOptional<ZodNumber>;
2838
2846
  mouseClicks: ZodOptional<ZodNumber>;
2839
2847
  zeroTrailClicks: ZodOptional<ZodNumber>;
2840
2848
  kinematicsVersion: ZodOptional<ZodNumber>;
@@ -2941,8 +2949,8 @@ export declare const EventTrackingResponseSchema: ZodObject<{
2941
2949
  detectedPatterns: ZodOptional<ZodArray<ZodString>>;
2942
2950
  signals: ZodDefault<ZodArray<ZodObject<{
2943
2951
  signalType: ZodEnum<{
2944
- pattern: "pattern";
2945
2952
  behavioral: "behavioral";
2953
+ pattern: "pattern";
2946
2954
  signature: "signature";
2947
2955
  network: "network";
2948
2956
  fingerprint: "fingerprint";
@@ -2982,9 +2990,9 @@ export declare const EventTrackingResponseSchema: ZodObject<{
2982
2990
  botType: ZodOptional<ZodString>;
2983
2991
  agentType: ZodOptional<ZodString>;
2984
2992
  verificationMethod: ZodOptional<ZodEnum<{
2993
+ behavioral: "behavioral";
2985
2994
  error: "error";
2986
2995
  pattern: "pattern";
2987
- behavioral: "behavioral";
2988
2996
  kyaos_handshake: "kyaos_handshake";
2989
2997
  mcp_i_handshake: "mcp_i_handshake";
2990
2998
  signature: "signature";
@@ -3088,8 +3096,8 @@ export declare const BatchEventRequestSchema: ZodObject<{
3088
3096
  timestamp: ZodOptional<ZodString>;
3089
3097
  referrer: ZodOptional<ZodString>;
3090
3098
  method: ZodOptional<ZodEnum<{
3091
- GET: "GET";
3092
3099
  POST: "POST";
3100
+ GET: "GET";
3093
3101
  PUT: "PUT";
3094
3102
  DELETE: "DELETE";
3095
3103
  PATCH: "PATCH";
@@ -3197,6 +3205,8 @@ export declare const BatchEventRequestSchema: ZodObject<{
3197
3205
  keyDwellCount: ZodOptional<ZodNumber>;
3198
3206
  keyDwellUnder5: ZodOptional<ZodNumber>;
3199
3207
  keyDwellSumMs: ZodOptional<ZodNumber>;
3208
+ keyDwellCongested: ZodOptional<ZodNumber>;
3209
+ keyDwellStampFlat: ZodOptional<ZodNumber>;
3200
3210
  keyGapCount: ZodOptional<ZodNumber>;
3201
3211
  keyGapUnder5: ZodOptional<ZodNumber>;
3202
3212
  pressCount: ZodOptional<ZodNumber>;
@@ -3204,6 +3214,8 @@ export declare const BatchEventRequestSchema: ZodObject<{
3204
3214
  pressAdjacentUnder5: ZodOptional<ZodNumber>;
3205
3215
  pressUnder10: ZodOptional<ZodNumber>;
3206
3216
  pressSumMs: ZodOptional<ZodNumber>;
3217
+ pressCongested: ZodOptional<ZodNumber>;
3218
+ pressStampFlat: ZodOptional<ZodNumber>;
3207
3219
  mouseClicks: ZodOptional<ZodNumber>;
3208
3220
  zeroTrailClicks: ZodOptional<ZodNumber>;
3209
3221
  kinematicsVersion: ZodOptional<ZodNumber>;
@@ -3319,8 +3331,8 @@ export declare const BatchEventResponseSchema: ZodObject<{
3319
3331
  detectedPatterns: ZodOptional<ZodArray<ZodString>>;
3320
3332
  signals: ZodDefault<ZodArray<ZodObject<{
3321
3333
  signalType: ZodEnum<{
3322
- pattern: "pattern";
3323
3334
  behavioral: "behavioral";
3335
+ pattern: "pattern";
3324
3336
  signature: "signature";
3325
3337
  network: "network";
3326
3338
  fingerprint: "fingerprint";
@@ -3360,9 +3372,9 @@ export declare const BatchEventResponseSchema: ZodObject<{
3360
3372
  botType: ZodOptional<ZodString>;
3361
3373
  agentType: ZodOptional<ZodString>;
3362
3374
  verificationMethod: ZodOptional<ZodEnum<{
3375
+ behavioral: "behavioral";
3363
3376
  error: "error";
3364
3377
  pattern: "pattern";
3365
- behavioral: "behavioral";
3366
3378
  kyaos_handshake: "kyaos_handshake";
3367
3379
  mcp_i_handshake: "mcp_i_handshake";
3368
3380
  signature: "signature";
@@ -4584,6 +4596,7 @@ export declare const TaskStandingAdmissionRequestSchema: ZodObject<{
4584
4596
  }, $strict>;
4585
4597
  export type TaskStandingAdmissionRequest = output<typeof TaskStandingAdmissionRequestSchema>;
4586
4598
  export declare const TaskStandingAdmissionReceiptBaseSchema: ZodObject<{
4599
+ taskId: ZodString;
4587
4600
  ownerEpoch: ZodNumber;
4588
4601
  capabilities: ZodArray<ZodEnum<{
4589
4602
  "task.execute": "task.execute";
@@ -4599,7 +4612,6 @@ export declare const TaskStandingAdmissionReceiptBaseSchema: ZodObject<{
4599
4612
  maxRequestBytes: ZodNumber;
4600
4613
  reservedCostMicrousd: ZodNumber;
4601
4614
  }, $strict>>;
4602
- taskId: ZodString;
4603
4615
  repository: ZodString;
4604
4616
  sourceRevision: ZodNumber;
4605
4617
  baseSha: ZodString;
@@ -4628,6 +4640,7 @@ export declare const TaskStandingAdmissionReceiptBaseSchema: ZodObject<{
4628
4640
  credentialExport: ZodLiteral<false>;
4629
4641
  }, $strict>;
4630
4642
  export declare const TaskStandingAdmissionSchema: ZodObject<{
4643
+ taskId: ZodString;
4631
4644
  ownerEpoch: ZodNumber;
4632
4645
  capabilities: ZodArray<ZodEnum<{
4633
4646
  "task.execute": "task.execute";
@@ -4643,7 +4656,6 @@ export declare const TaskStandingAdmissionSchema: ZodObject<{
4643
4656
  maxRequestBytes: ZodNumber;
4644
4657
  reservedCostMicrousd: ZodNumber;
4645
4658
  }, $strict>>;
4646
- taskId: ZodString;
4647
4659
  repository: ZodString;
4648
4660
  sourceRevision: ZodNumber;
4649
4661
  baseSha: ZodString;
@@ -5752,7 +5764,7 @@ export declare const UpdateOrganizationSchema: ZodObject<{
5752
5764
  }, $strip>>;
5753
5765
  }, $strip>;
5754
5766
  export type UpdateOrganizationRequest = output<typeof UpdateOrganizationSchema>;
5755
- declare const AnalyticsQuerySchema$1: ZodObject<{
5767
+ export declare const AnalyticsQuerySchema: ZodObject<{
5756
5768
  projectId: ZodOptional<ZodString>;
5757
5769
  pixelId: ZodOptional<ZodString>;
5758
5770
  organizationId: ZodOptional<ZodString>;
@@ -5773,7 +5785,7 @@ declare const AnalyticsQuerySchema$1: ZodObject<{
5773
5785
  }>>;
5774
5786
  aiAgentsOnly: ZodOptional<ZodCoercedBoolean<unknown>>;
5775
5787
  }, $strip>;
5776
- export type AnalyticsQueryRequest = output<typeof AnalyticsQuerySchema$1>;
5788
+ export type AnalyticsQueryRequest = output<typeof AnalyticsQuerySchema>;
5777
5789
  export declare const ExportAnalyticsSchema: ZodObject<{
5778
5790
  projectId: ZodOptional<ZodString>;
5779
5791
  organizationId: ZodOptional<ZodString>;
@@ -6203,8 +6215,8 @@ export type ApiKeyWithProject = {
6203
6215
  export declare const DetectionSignalExposureSchema: ZodObject<{
6204
6216
  signals: ZodArray<ZodObject<{
6205
6217
  signalType: ZodEnum<{
6206
- pattern: "pattern";
6207
6218
  behavioral: "behavioral";
6219
+ pattern: "pattern";
6208
6220
  signature: "signature";
6209
6221
  network: "network";
6210
6222
  fingerprint: "fingerprint";
@@ -6974,8 +6986,8 @@ export declare const DetectionEventSchema: ZodObject<{
6974
6986
  detectedPatterns: ZodOptional<ZodArray<ZodString>>;
6975
6987
  signals: ZodDefault<ZodArray<ZodObject<{
6976
6988
  signalType: ZodEnum<{
6977
- pattern: "pattern";
6978
6989
  behavioral: "behavioral";
6990
+ pattern: "pattern";
6979
6991
  signature: "signature";
6980
6992
  network: "network";
6981
6993
  fingerprint: "fingerprint";
@@ -7015,9 +7027,9 @@ export declare const DetectionEventSchema: ZodObject<{
7015
7027
  botType: ZodOptional<ZodString>;
7016
7028
  agentType: ZodOptional<ZodString>;
7017
7029
  verificationMethod: ZodOptional<ZodEnum<{
7030
+ behavioral: "behavioral";
7018
7031
  error: "error";
7019
7032
  pattern: "pattern";
7020
- behavioral: "behavioral";
7021
7033
  kyaos_handshake: "kyaos_handshake";
7022
7034
  mcp_i_handshake: "mcp_i_handshake";
7023
7035
  signature: "signature";
@@ -7514,6 +7526,8 @@ export declare const ClientDetectionSchema: ZodObject<{
7514
7526
  keyDwellCount: ZodOptional<ZodNumber>;
7515
7527
  keyDwellUnder5: ZodOptional<ZodNumber>;
7516
7528
  keyDwellSumMs: ZodOptional<ZodNumber>;
7529
+ keyDwellCongested: ZodOptional<ZodNumber>;
7530
+ keyDwellStampFlat: ZodOptional<ZodNumber>;
7517
7531
  keyGapCount: ZodOptional<ZodNumber>;
7518
7532
  keyGapUnder5: ZodOptional<ZodNumber>;
7519
7533
  pressCount: ZodOptional<ZodNumber>;
@@ -7521,6 +7535,8 @@ export declare const ClientDetectionSchema: ZodObject<{
7521
7535
  pressAdjacentUnder5: ZodOptional<ZodNumber>;
7522
7536
  pressUnder10: ZodOptional<ZodNumber>;
7523
7537
  pressSumMs: ZodOptional<ZodNumber>;
7538
+ pressCongested: ZodOptional<ZodNumber>;
7539
+ pressStampFlat: ZodOptional<ZodNumber>;
7524
7540
  mouseClicks: ZodOptional<ZodNumber>;
7525
7541
  zeroTrailClicks: ZodOptional<ZodNumber>;
7526
7542
  kinematicsVersion: ZodOptional<ZodNumber>;
@@ -7621,6 +7637,8 @@ export declare const PixelTrackingRequestSchema: ZodObject<{
7621
7637
  keyDwellCount: ZodOptional<ZodNumber>;
7622
7638
  keyDwellUnder5: ZodOptional<ZodNumber>;
7623
7639
  keyDwellSumMs: ZodOptional<ZodNumber>;
7640
+ keyDwellCongested: ZodOptional<ZodNumber>;
7641
+ keyDwellStampFlat: ZodOptional<ZodNumber>;
7624
7642
  keyGapCount: ZodOptional<ZodNumber>;
7625
7643
  keyGapUnder5: ZodOptional<ZodNumber>;
7626
7644
  pressCount: ZodOptional<ZodNumber>;
@@ -7628,6 +7646,8 @@ export declare const PixelTrackingRequestSchema: ZodObject<{
7628
7646
  pressAdjacentUnder5: ZodOptional<ZodNumber>;
7629
7647
  pressUnder10: ZodOptional<ZodNumber>;
7630
7648
  pressSumMs: ZodOptional<ZodNumber>;
7649
+ pressCongested: ZodOptional<ZodNumber>;
7650
+ pressStampFlat: ZodOptional<ZodNumber>;
7631
7651
  mouseClicks: ZodOptional<ZodNumber>;
7632
7652
  zeroTrailClicks: ZodOptional<ZodNumber>;
7633
7653
  kinematicsVersion: ZodOptional<ZodNumber>;
@@ -7736,8 +7756,8 @@ export declare const PixelTrackingResponseSchema: ZodObject<{
7736
7756
  detectedPatterns: ZodOptional<ZodArray<ZodString>>;
7737
7757
  signals: ZodDefault<ZodArray<ZodObject<{
7738
7758
  signalType: ZodEnum<{
7739
- pattern: "pattern";
7740
7759
  behavioral: "behavioral";
7760
+ pattern: "pattern";
7741
7761
  signature: "signature";
7742
7762
  network: "network";
7743
7763
  fingerprint: "fingerprint";
@@ -7777,9 +7797,9 @@ export declare const PixelTrackingResponseSchema: ZodObject<{
7777
7797
  botType: ZodOptional<ZodString>;
7778
7798
  agentType: ZodOptional<ZodString>;
7779
7799
  verificationMethod: ZodOptional<ZodEnum<{
7800
+ behavioral: "behavioral";
7780
7801
  error: "error";
7781
7802
  pattern: "pattern";
7782
- behavioral: "behavioral";
7783
7803
  kyaos_handshake: "kyaos_handshake";
7784
7804
  mcp_i_handshake: "mcp_i_handshake";
7785
7805
  signature: "signature";
@@ -8929,10 +8949,10 @@ export declare const auditLogQuerySchema: ZodObject<{
8929
8949
  adminId: ZodOptional<ZodString>;
8930
8950
  action: ZodOptional<ZodString>;
8931
8951
  targetType: ZodOptional<ZodEnum<{
8952
+ organization: "organization";
8932
8953
  user: "user";
8933
8954
  system: "system";
8934
8955
  project: "project";
8935
- organization: "organization";
8936
8956
  }>>;
8937
8957
  startDate: ZodOptional<ZodString>;
8938
8958
  endDate: ZodOptional<ZodString>;
@@ -9896,6 +9916,15 @@ export interface CustomerJourneyRow {
9896
9916
  stalled: boolean;
9897
9917
  createdAt: string;
9898
9918
  }
9919
+ export interface CompletedNotInstalledRow {
9920
+ userId: string;
9921
+ email: string;
9922
+ name: string | null;
9923
+ onboardingCompletedAt: string;
9924
+ onboardingChannel: string | null;
9925
+ organizationId: string | null;
9926
+ organizationName: string | null;
9927
+ }
9899
9928
  export interface PixelInstallationRow {
9900
9929
  pixelId: string;
9901
9930
  pixelName: string;
@@ -10168,38 +10197,12 @@ export declare function deriveCorrelationId(headers: Headers | Record<string, st
10168
10197
  //#endregion
10169
10198
  //#region src/schemas/auth.d.ts
10170
10199
  export declare const passwordSchema: ZodString;
10171
- export declare const signInSchema: ZodObject<{
10172
- email: ZodString;
10173
- password: ZodString;
10174
- }, $strip>;
10175
- export declare const signUpSchema: ZodObject<{
10176
- email: ZodString;
10177
- name: ZodOptional<ZodString>;
10178
- password: ZodString;
10179
- confirmPassword: ZodString;
10180
- }, $strip>;
10181
- export declare const forgotPasswordSchema: ZodObject<{
10182
- email: ZodString;
10183
- }, $strip>;
10184
10200
  export declare const resetPasswordSchema: ZodObject<{
10185
10201
  token: ZodString;
10186
10202
  password: ZodString;
10187
10203
  confirmPassword: ZodString;
10188
10204
  }, $strip>;
10189
- export declare const changePasswordSchema: ZodObject<{
10190
- currentPassword: ZodOptional<ZodString>;
10191
- newPassword: ZodString;
10192
- confirmPassword: ZodString;
10193
- }, $strip>;
10194
- export declare const verifyEmailSchema: ZodObject<{
10195
- token: ZodString;
10196
- }, $strip>;
10197
- type SignInData = output<typeof signInSchema>;
10198
- type SignUpData = output<typeof signUpSchema>;
10199
- type ForgotPasswordData = output<typeof forgotPasswordSchema>;
10200
10205
  type ResetPasswordData = output<typeof resetPasswordSchema>;
10201
- type ChangePasswordData = output<typeof changePasswordSchema>;
10202
- type VerifyEmailData = output<typeof verifyEmailSchema>;
10203
10206
  //#endregion
10204
10207
  //#region src/schemas/admin.d.ts
10205
10208
  export declare const PerformanceRecalculationRequestSchema: ZodObject<{
@@ -10209,7 +10212,6 @@ export declare const PerformanceRecalculationRequestSchema: ZodObject<{
10209
10212
  monthly: "monthly";
10210
10213
  }>>>;
10211
10214
  }, $strip>;
10212
- type PerformanceRecalculationRequest = output<typeof PerformanceRecalculationRequestSchema>;
10213
10215
  export declare const GrowthOpportunityUpdateSchema: ZodObject<{
10214
10216
  opportunityId: ZodString;
10215
10217
  status: ZodOptional<ZodEnum<{
@@ -10228,12 +10230,10 @@ export declare const GrowthOpportunityUpdateSchema: ZodObject<{
10228
10230
  }>>;
10229
10231
  dismissedReason: ZodOptional<ZodNullable<ZodString>>;
10230
10232
  }, $strip>;
10231
- type GrowthOpportunityUpdate = output<typeof GrowthOpportunityUpdateSchema>;
10232
10233
  export declare const GrowthBatchRequestSchema: ZodObject<{
10233
10234
  runBatch: ZodDefault<ZodOptional<ZodBoolean>>;
10234
10235
  organizationIds: ZodOptional<ZodArray<ZodString>>;
10235
10236
  }, $strip>;
10236
- type GrowthBatchRequest = output<typeof GrowthBatchRequestSchema>;
10237
10237
  export declare const GrowthConfigurationThresholdsSchema: ZodObject<{
10238
10238
  minAiTrafficRate: ZodOptional<ZodNumber>;
10239
10239
  highAiTrafficThreshold: ZodOptional<ZodNumber>;
@@ -10255,7 +10255,6 @@ export declare const GrowthConfigurationThresholdsSchema: ZodObject<{
10255
10255
  minSessionsForBenefit: ZodOptional<ZodNumber>;
10256
10256
  minAiRateForBenefit: ZodOptional<ZodNumber>;
10257
10257
  }, $strict>;
10258
- type GrowthConfigurationThresholds = output<typeof GrowthConfigurationThresholdsSchema>;
10259
10258
  export declare const GrowthConfigurationUpdateSchema: ZodObject<{
10260
10259
  configType: ZodEnum<{
10261
10260
  enterprise: "enterprise";
@@ -10285,7 +10284,6 @@ export declare const GrowthConfigurationUpdateSchema: ZodObject<{
10285
10284
  minAiRateForBenefit: ZodOptional<ZodNumber>;
10286
10285
  }, $strict>;
10287
10286
  }, $strip>;
10288
- type GrowthConfigurationUpdate = output<typeof GrowthConfigurationUpdateSchema>;
10289
10287
  export declare const GrowthConfigurationResetSchema: ZodObject<{
10290
10288
  configType: ZodEnum<{
10291
10289
  enterprise: "enterprise";
@@ -10295,7 +10293,6 @@ export declare const GrowthConfigurationResetSchema: ZodObject<{
10295
10293
  integration: "integration";
10296
10294
  }>;
10297
10295
  }, $strip>;
10298
- type GrowthConfigurationReset = output<typeof GrowthConfigurationResetSchema>;
10299
10296
  export declare const AdminQueryParamsSchema: ZodObject<{
10300
10297
  limit: ZodDefault<ZodOptional<ZodCoercedNumber<unknown>>>;
10301
10298
  offset: ZodDefault<ZodOptional<ZodCoercedNumber<unknown>>>;
@@ -10305,7 +10302,6 @@ export declare const AdminQueryParamsSchema: ZodObject<{
10305
10302
  desc: "desc";
10306
10303
  }>>>;
10307
10304
  }, $strip>;
10308
- type AdminQueryParams = output<typeof AdminQueryParamsSchema>;
10309
10305
  export declare const GrowthOpportunitiesQuerySchema: ZodObject<{
10310
10306
  limit: ZodDefault<ZodOptional<ZodCoercedNumber<unknown>>>;
10311
10307
  offset: ZodDefault<ZodOptional<ZodCoercedNumber<unknown>>>;
@@ -10334,7 +10330,6 @@ export declare const GrowthOpportunitiesQuerySchema: ZodObject<{
10334
10330
  }>>;
10335
10331
  assignedTo: ZodOptional<ZodString>;
10336
10332
  }, $strip>;
10337
- type GrowthOpportunitiesQuery = output<typeof GrowthOpportunitiesQuerySchema>;
10338
10333
  export declare const RecommendationQuerySchema: ZodObject<{
10339
10334
  organizationId: ZodOptional<ZodString>;
10340
10335
  type: ZodOptional<ZodEnum<{
@@ -10346,16 +10341,14 @@ export declare const RecommendationQuerySchema: ZodObject<{
10346
10341
  minConfidence: ZodOptional<ZodCoercedNumber<unknown>>;
10347
10342
  limit: ZodDefault<ZodOptional<ZodCoercedNumber<unknown>>>;
10348
10343
  }, $strip>;
10349
- type RecommendationQuery = output<typeof RecommendationQuerySchema>;
10350
10344
  export declare const RecommendationGenerationSchema: ZodObject<{
10351
10345
  organizationId: ZodString;
10352
10346
  forceRefresh: ZodDefault<ZodOptional<ZodBoolean>>;
10353
10347
  }, $strip>;
10354
- type RecommendationGeneration = output<typeof RecommendationGenerationSchema>;
10355
10348
  //#endregion
10356
10349
  //#region src/schemas/provider-registry.d.ts
10357
- type LegacyAuthProviderType$1 = 'oauth2' | 'credential';
10358
- export declare function mapLegacyAuthType(legacyType: LegacyAuthProviderType$1 | string): 'oauth2' | 'password' | string;
10350
+ type LegacyAuthProviderType = 'oauth2' | 'credential';
10351
+ export declare function mapLegacyAuthType(legacyType: LegacyAuthProviderType | string): 'oauth2' | 'password' | string;
10359
10352
  export declare function mapToLegacyAuthType(canonicalType: string): 'oauth2' | 'credential' | string;
10360
10353
  export declare const AUTHORIZATION_MODES: {
10361
10354
  readonly OAUTH: "oauth";
@@ -10376,15 +10369,6 @@ export declare const OAuthConnectionStatusSchema: ZodEnum<{
10376
10369
  connected: "connected";
10377
10370
  disconnected: "disconnected";
10378
10371
  }>;
10379
- type OAuthConnectionStatus = output<typeof OAuthConnectionStatusSchema>;
10380
- export declare const AuthProviderTypeSchema: ZodPipe<ZodEnum<{
10381
- credential: "credential";
10382
- password: "password";
10383
- oauth2: "oauth2";
10384
- }>, ZodTransform<"password" | "oauth2", "credential" | "password" | "oauth2">>;
10385
- type AuthProviderTypeInput = 'oauth2' | 'credential' | 'password';
10386
- type AuthProviderType = 'oauth2' | 'password';
10387
- type LegacyAuthProviderType = 'oauth2' | 'credential';
10388
10372
  export declare const BaseAuthProviderSchema: ZodObject<{
10389
10373
  displayName: ZodOptional<ZodString>;
10390
10374
  status: ZodDefault<ZodEnum<{
@@ -10393,7 +10377,6 @@ export declare const BaseAuthProviderSchema: ZodObject<{
10393
10377
  disconnected: "disconnected";
10394
10378
  }>>;
10395
10379
  }, $strip>;
10396
- type BaseAuthProvider = output<typeof BaseAuthProviderSchema>;
10397
10380
  export declare const OAuth2ProviderSchema: ZodObject<{
10398
10381
  displayName: ZodOptional<ZodString>;
10399
10382
  status: ZodDefault<ZodEnum<{
@@ -10440,6 +10423,10 @@ export declare const CredentialProviderSchema: ZodObject<{
10440
10423
  type: ZodLiteral<"credential">;
10441
10424
  authEndpoint: ZodString;
10442
10425
  requestBodyTemplate: ZodOptional<ZodRecord<ZodString, ZodString>>;
10426
+ requestEncoding: ZodOptional<ZodEnum<{
10427
+ json: "json";
10428
+ form: "form";
10429
+ }>>;
10443
10430
  responseFields: ZodObject<{
10444
10431
  sessionToken: ZodString;
10445
10432
  userId: ZodOptional<ZodString>;
@@ -10537,6 +10524,10 @@ export declare const ConfiguredProviderSchema: ZodDiscriminatedUnion<[ZodObject<
10537
10524
  type: ZodLiteral<"credential">;
10538
10525
  authEndpoint: ZodString;
10539
10526
  requestBodyTemplate: ZodOptional<ZodRecord<ZodString, ZodString>>;
10527
+ requestEncoding: ZodOptional<ZodEnum<{
10528
+ json: "json";
10529
+ form: "form";
10530
+ }>>;
10540
10531
  responseFields: ZodObject<{
10541
10532
  sessionToken: ZodString;
10542
10533
  userId: ZodOptional<ZodString>;
@@ -10634,6 +10625,10 @@ export declare const OAuthProvidersMapSchema: ZodRecord<ZodString, ZodDiscrimina
10634
10625
  type: ZodLiteral<"credential">;
10635
10626
  authEndpoint: ZodString;
10636
10627
  requestBodyTemplate: ZodOptional<ZodRecord<ZodString, ZodString>>;
10628
+ requestEncoding: ZodOptional<ZodEnum<{
10629
+ json: "json";
10630
+ form: "form";
10631
+ }>>;
10637
10632
  responseFields: ZodObject<{
10638
10633
  sessionToken: ZodString;
10639
10634
  userId: ZodOptional<ZodString>;
@@ -10686,7 +10681,6 @@ export declare const OAuthProvidersMapSchema: ZodRecord<ZodString, ZodDiscrimina
10686
10681
  lastRotatedAt: ZodOptional<ZodString>;
10687
10682
  }, $strip>>;
10688
10683
  }, $strip>], "type">>;
10689
- type OAuthProvidersMap = output<typeof OAuthProvidersMapSchema>;
10690
10684
  export declare const AddUpdateProviderRequestSchema: ZodDiscriminatedUnion<[ZodObject<{
10691
10685
  displayName: ZodOptional<ZodString>;
10692
10686
  status: ZodDefault<ZodEnum<{
@@ -10731,6 +10725,10 @@ export declare const AddUpdateProviderRequestSchema: ZodDiscriminatedUnion<[ZodO
10731
10725
  type: ZodLiteral<"credential">;
10732
10726
  authEndpoint: ZodString;
10733
10727
  requestBodyTemplate: ZodOptional<ZodRecord<ZodString, ZodString>>;
10728
+ requestEncoding: ZodOptional<ZodEnum<{
10729
+ json: "json";
10730
+ form: "form";
10731
+ }>>;
10734
10732
  responseFields: ZodObject<{
10735
10733
  sessionToken: ZodString;
10736
10734
  userId: ZodOptional<ZodString>;
@@ -10783,7 +10781,6 @@ export declare const AddUpdateProviderRequestSchema: ZodDiscriminatedUnion<[ZodO
10783
10781
  lastRotatedAt: ZodOptional<ZodString>;
10784
10782
  }, $strip>>;
10785
10783
  }, $strip>], "type">;
10786
- type AddUpdateProviderRequest = output<typeof AddUpdateProviderRequestSchema>;
10787
10784
  export declare const ScopeSchema: ZodObject<{
10788
10785
  name: ZodString;
10789
10786
  description: ZodOptional<ZodString>;
@@ -10804,7 +10801,6 @@ export declare const CRISPBudgetSchema: ZodObject<{
10804
10801
  computeUnitsPerHour: ZodOptional<ZodNumber>;
10805
10802
  computeUnitsPerDay: ZodOptional<ZodNumber>;
10806
10803
  }, $strip>;
10807
- type CRISPBudget = output<typeof CRISPBudgetSchema>;
10808
10804
  export declare const ConsentBrandingSchema: ZodObject<{
10809
10805
  primaryColor: ZodOptional<ZodString>;
10810
10806
  secondaryColor: ZodOptional<ZodString>;
@@ -10852,10 +10848,10 @@ export declare const ConsentCapabilitySchema: ZodObject<{
10852
10848
  description: ZodString;
10853
10849
  icon: ZodEnum<{
10854
10850
  key: "key";
10855
- user: "user";
10856
10851
  search: "search";
10857
- package: "package";
10852
+ user: "user";
10858
10853
  send: "send";
10854
+ package: "package";
10859
10855
  tools: "tools";
10860
10856
  cart: "cart";
10861
10857
  card: "card";
@@ -10878,7 +10874,6 @@ export declare const ConsentCapabilitySchema: ZodObject<{
10878
10874
  scopes: ZodArray<ZodString>;
10879
10875
  category: ZodOptional<ZodString>;
10880
10876
  }, $strip>;
10881
- type ConsentCapability = output<typeof ConsentCapabilitySchema>;
10882
10877
  export declare const ConsentCapabilityGroupSchema: ZodObject<{
10883
10878
  id: ZodString;
10884
10879
  label: ZodString;
@@ -10888,10 +10883,10 @@ export declare const ConsentCapabilityGroupSchema: ZodObject<{
10888
10883
  description: ZodString;
10889
10884
  icon: ZodEnum<{
10890
10885
  key: "key";
10891
- user: "user";
10892
10886
  search: "search";
10893
- package: "package";
10887
+ user: "user";
10894
10888
  send: "send";
10889
+ package: "package";
10895
10890
  tools: "tools";
10896
10891
  cart: "cart";
10897
10892
  card: "card";
@@ -10925,7 +10920,6 @@ export declare const ConsentAgentMetadataSchema: ZodObject<{
10925
10920
  logoUrl: ZodOptional<ZodString>;
10926
10921
  connectedAt: ZodOptional<ZodString>;
10927
10922
  }, $strip>;
10928
- type ConsentAgentMetadata = output<typeof ConsentAgentMetadataSchema>;
10929
10923
  export declare const ConsentInputCopySchema: ZodObject<{
10930
10924
  label: ZodOptional<ZodString>;
10931
10925
  hint: ZodOptional<ZodString>;
@@ -10945,7 +10939,6 @@ export declare const ConsentSignInCopySchema: ZodObject<{
10945
10939
  prompt: ZodOptional<ZodString>;
10946
10940
  }, $strip>>;
10947
10941
  }, $strip>;
10948
- type ConsentSignInCopy = output<typeof ConsentSignInCopySchema>;
10949
10942
  export declare const ConsentScopeLabelsSchema: ZodRecord<ZodString, ZodString>;
10950
10943
  export declare const ConsentConfigSchema: ZodObject<{
10951
10944
  branding: ZodOptional<ZodObject<{
@@ -11005,10 +10998,10 @@ export declare const ConsentConfigSchema: ZodObject<{
11005
10998
  description: ZodString;
11006
10999
  icon: ZodEnum<{
11007
11000
  key: "key";
11008
- user: "user";
11009
11001
  search: "search";
11010
- package: "package";
11002
+ user: "user";
11011
11003
  send: "send";
11004
+ package: "package";
11012
11005
  tools: "tools";
11013
11006
  cart: "cart";
11014
11007
  card: "card";
@@ -11068,29 +11061,6 @@ export declare const ConsentConfigSchema: ZodObject<{
11068
11061
  scopeLabels: ZodOptional<ZodRecord<ZodString, ZodString>>;
11069
11062
  }, $strip>;
11070
11063
  type ConsentConfig = output<typeof ConsentConfigSchema>;
11071
- export declare const ToolConsentOverridesSchema: ZodOptional<ZodObject<{
11072
- branding: ZodOptional<ZodObject<{
11073
- primaryColor: ZodOptional<ZodOptional<ZodString>>;
11074
- secondaryColor: ZodOptional<ZodOptional<ZodString>>;
11075
- logoUrl: ZodOptional<ZodOptional<ZodString>>;
11076
- companyName: ZodOptional<ZodOptional<ZodString>>;
11077
- theme: ZodOptional<ZodOptional<ZodEnum<{
11078
- light: "light";
11079
- dark: "dark";
11080
- auto: "auto";
11081
- }>>>;
11082
- }, $strip>>;
11083
- terms: ZodOptional<ZodObject<{
11084
- url: ZodOptional<ZodOptional<ZodString>>;
11085
- text: ZodOptional<ZodOptional<ZodString>>;
11086
- required: ZodOptional<ZodOptional<ZodBoolean>>;
11087
- version: ZodOptional<ZodOptional<ZodString>>;
11088
- privacyUrl: ZodOptional<ZodOptional<ZodString>>;
11089
- }, $strip>>;
11090
- headerText: ZodOptional<ZodString>;
11091
- description: ZodOptional<ZodString>;
11092
- }, $strip>>;
11093
- type ToolConsentOverrides = output<typeof ToolConsentOverridesSchema>;
11094
11064
  export declare const BouncerConfigSchema: ZodObject<{
11095
11065
  id: ZodString;
11096
11066
  projectId: ZodString;
@@ -11150,6 +11120,10 @@ export declare const BouncerConfigSchema: ZodObject<{
11150
11120
  type: ZodLiteral<"credential">;
11151
11121
  authEndpoint: ZodString;
11152
11122
  requestBodyTemplate: ZodOptional<ZodRecord<ZodString, ZodString>>;
11123
+ requestEncoding: ZodOptional<ZodEnum<{
11124
+ json: "json";
11125
+ form: "form";
11126
+ }>>;
11153
11127
  responseFields: ZodObject<{
11154
11128
  sessionToken: ZodString;
11155
11129
  userId: ZodOptional<ZodString>;
@@ -11289,10 +11263,10 @@ export declare const BouncerConfigSchema: ZodObject<{
11289
11263
  description: ZodString;
11290
11264
  icon: ZodEnum<{
11291
11265
  key: "key";
11292
- user: "user";
11293
11266
  search: "search";
11294
- package: "package";
11267
+ user: "user";
11295
11268
  send: "send";
11269
+ package: "package";
11296
11270
  tools: "tools";
11297
11271
  cart: "cart";
11298
11272
  card: "card";
@@ -11447,10 +11421,10 @@ export declare const UpdateBouncerConfigSchema: ZodObject<{
11447
11421
  description: ZodString;
11448
11422
  icon: ZodEnum<{
11449
11423
  key: "key";
11450
- user: "user";
11451
11424
  search: "search";
11452
- package: "package";
11425
+ user: "user";
11453
11426
  send: "send";
11427
+ package: "package";
11454
11428
  tools: "tools";
11455
11429
  cart: "cart";
11456
11430
  card: "card";
@@ -11517,88 +11491,17 @@ export declare const RefreshScopesRequestSchema: ZodObject<{
11517
11491
  mcpServerUrl: ZodOptional<ZodString>;
11518
11492
  }, $strict>;
11519
11493
  type RefreshScopesRequest = output<typeof RefreshScopesRequestSchema>;
11520
- export declare const DelegationStatusSchema: ZodEnum<{
11521
- active: "active";
11522
- expired: "expired";
11523
- revoked: "revoked";
11524
- }>;
11525
- type DelegationStatus = output<typeof DelegationStatusSchema>;
11526
- export declare const DelegationSchema: ZodObject<{
11527
- id: ZodString;
11528
- projectId: ZodString;
11529
- agentDid: ZodString;
11530
- agentName: ZodOptional<ZodNullable<ZodString>>;
11531
- userDid: ZodOptional<ZodNullable<ZodString>>;
11532
- userId: ZodOptional<ZodNullable<ZodString>>;
11533
- userIdentifier: ZodOptional<ZodNullable<ZodString>>;
11534
- scopes: ZodArray<ZodString>;
11535
- constraints: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
11536
- status: ZodDefault<ZodEnum<{
11537
- active: "active";
11538
- expired: "expired";
11539
- revoked: "revoked";
11540
- }>>;
11541
- issuedAt: ZodString;
11542
- expiresAt: ZodOptional<ZodNullable<ZodString>>;
11543
- revokedAt: ZodOptional<ZodNullable<ZodString>>;
11544
- revocationReason: ZodOptional<ZodNullable<ZodString>>;
11545
- credentialJwt: ZodOptional<ZodNullable<ZodString>>;
11546
- metadata: ZodDefault<ZodRecord<ZodString, ZodUnknown>>;
11547
- createdAt: ZodString;
11548
- updatedAt: ZodString;
11549
- }, $strip>;
11550
- type Delegation = output<typeof DelegationSchema>;
11551
- export declare const BouncerOutcomeSchema: ZodEnum<{
11494
+ declare const BouncerOutcomeSchema: ZodEnum<{
11552
11495
  error: "error";
11553
11496
  success: "success";
11554
11497
  failed: "failed";
11555
11498
  blocked: "blocked";
11556
11499
  }>;
11557
11500
  type BouncerOutcome = output<typeof BouncerOutcomeSchema>;
11558
- export declare const BouncerProofSchema: ZodObject<{
11559
- id: ZodString;
11560
- projectId: ZodString;
11561
- delegationId: ZodOptional<ZodNullable<ZodString>>;
11562
- sessionId: ZodString;
11563
- agentDid: ZodString;
11564
- userIdentifier: ZodOptional<ZodNullable<ZodString>>;
11565
- toolName: ZodString;
11566
- toolArgs: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
11567
- toolResult: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
11568
- scopes: ZodOptional<ZodNullable<ZodArray<ZodString>>>;
11569
- signature: ZodString;
11570
- publicKey: ZodString;
11571
- timestamp: ZodNumber;
11572
- nonce: ZodString;
11573
- crispDelta: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
11574
- outcome: ZodDefault<ZodEnum<{
11575
- error: "error";
11576
- success: "success";
11577
- failed: "failed";
11578
- blocked: "blocked";
11579
- }>>;
11580
- errorMessage: ZodOptional<ZodNullable<ZodString>>;
11581
- createdAt: ZodString;
11582
- }, $strip>;
11583
- type BouncerProof = output<typeof BouncerProofSchema>;
11584
- export declare const DelegationPollingStatusSchema: ZodObject<{
11585
- status: ZodEnum<{
11586
- error: "error";
11587
- expired: "expired";
11588
- pending: "pending";
11589
- completed: "completed";
11590
- }>;
11591
- delegationJwt: ZodOptional<ZodString>;
11592
- authUrl: ZodOptional<ZodString>;
11593
- errorMessage: ZodOptional<ZodString>;
11594
- expiresAt: ZodOptional<ZodString>;
11595
- }, $strip>;
11596
- type DelegationPollingStatus = output<typeof DelegationPollingStatusSchema>;
11597
11501
  export declare const OAuthModeSchema: ZodEnum<{
11598
11502
  proxy: "proxy";
11599
11503
  direct: "direct";
11600
11504
  }>;
11601
- type OAuthMode = output<typeof OAuthModeSchema>;
11602
11505
  export declare const OAuthProviderMetadataSchema: ZodObject<{
11603
11506
  clientId: ZodNullable<ZodString>;
11604
11507
  hasClientSecret: ZodBoolean;
@@ -11688,43 +11591,6 @@ export declare const OAuthTokensResponseSchema: ZodObject<{
11688
11591
  timestamp: ZodString;
11689
11592
  }, $strip>;
11690
11593
  }, $strip>;
11691
- type OAuthTokensResponse = output<typeof OAuthTokensResponseSchema>;
11692
- export declare const ProviderDefinitionSchema: ZodObject<{
11693
- id: ZodString;
11694
- type: ZodPipe<ZodEnum<{
11695
- credential: "credential";
11696
- password: "password";
11697
- oauth2: "oauth2";
11698
- }>, ZodTransform<"password" | "oauth2", "credential" | "password" | "oauth2">>;
11699
- displayName: ZodOptional<ZodString>;
11700
- configured: ZodDefault<ZodBoolean>;
11701
- authorizationUrl: ZodOptional<ZodString>;
11702
- tokenUrl: ZodOptional<ZodString>;
11703
- userInfoUrl: ZodOptional<ZodString>;
11704
- supportsPKCE: ZodOptional<ZodBoolean>;
11705
- requiresClientSecret: ZodOptional<ZodBoolean>;
11706
- clientId: ZodOptional<ZodNullable<ZodString>>;
11707
- hasClientSecret: ZodDefault<ZodBoolean>;
11708
- scopes: ZodOptional<ZodArray<ZodString>>;
11709
- defaultScopes: ZodOptional<ZodArray<ZodString>>;
11710
- mode: ZodOptional<ZodEnum<{
11711
- proxy: "proxy";
11712
- direct: "direct";
11713
- }>>;
11714
- metadata: ZodOptional<ZodObject<{
11715
- clientIdSecretName: ZodOptional<ZodString>;
11716
- clientSecretName: ZodOptional<ZodString>;
11717
- apiKeySecretName: ZodOptional<ZodString>;
11718
- clientSecretVersion: ZodOptional<ZodNumber>;
11719
- lastRotatedAt: ZodOptional<ZodString>;
11720
- }, $strip>>;
11721
- }, $strip>;
11722
- type ProviderDefinition = output<typeof ProviderDefinitionSchema>;
11723
- export declare function toProviderRegistryFormat(provider: ProviderDefinition): ProviderRegistryDefinition;
11724
- type SupportedProviderAuthType = 'oauth2' | 'password';
11725
- export declare function isSupportedAuthType(authType: ProviderAuthType): authType is SupportedProviderAuthType;
11726
- export declare function fromProviderRegistryFormat(provider: ProviderRegistryDefinition): ProviderDefinition;
11727
- export declare function fromProviderRegistryFormatSafe(provider: ProviderRegistryDefinition): ProviderDefinition | null;
11728
11594
  //#endregion
11729
11595
  //#region src/schemas/consent-policy-endpoint.d.ts
11730
11596
  export declare const ConsentPolicyRiskLevelSchema: ZodEnum<{
@@ -12094,176 +11960,6 @@ export declare function validateOrThrow<T>(schema: ZodSchema<T>, data: unknown):
12094
11960
  export declare function partial<T extends ZodRawShape>(schema: ZodObject<T>): ZodObject<{ -readonly [k in keyof T]: ZodOptional<T[k]>; }, $strip>;
12095
11961
  export declare function strict<T extends ZodRawShape>(schema: ZodObject<T>): ZodObject<T, $strict>;
12096
11962
  //#endregion
12097
- //#region src/schemas/analytics.d.ts
12098
- export declare const AnalyticsQuerySchema: ZodObject<{
12099
- duration: ZodDefault<ZodOptional<ZodEnum<{
12100
- week: "week";
12101
- month: "month";
12102
- quarter: "quarter";
12103
- year: "year";
12104
- }>>>;
12105
- groupBy: ZodDefault<ZodOptional<ZodEnum<{
12106
- hour: "hour";
12107
- day: "day";
12108
- week: "week";
12109
- month: "month";
12110
- }>>>;
12111
- startDate: ZodOptional<ZodString>;
12112
- endDate: ZodOptional<ZodString>;
12113
- }, $strip>;
12114
- type AnalyticsQuery = output<typeof AnalyticsQuerySchema>;
12115
- export declare const AnalyticsSessionsQuerySchema: ZodObject<{
12116
- duration: ZodDefault<ZodOptional<ZodEnum<{
12117
- week: "week";
12118
- month: "month";
12119
- }>>>;
12120
- groupBy: ZodDefault<ZodOptional<ZodEnum<{
12121
- hour: "hour";
12122
- day: "day";
12123
- }>>>;
12124
- }, $strip>;
12125
- type AnalyticsSessionsQuery = output<typeof AnalyticsSessionsQuerySchema>;
12126
- export declare const AnalyticsAgentSourcesQuerySchema: ZodObject<{
12127
- duration: ZodDefault<ZodOptional<ZodEnum<{
12128
- week: "week";
12129
- month: "month";
12130
- quarter: "quarter";
12131
- }>>>;
12132
- limit: ZodDefault<ZodOptional<ZodCoercedNumber<unknown>>>;
12133
- sortBy: ZodDefault<ZodOptional<ZodEnum<{
12134
- confidence: "confidence";
12135
- name: "name";
12136
- count: "count";
12137
- }>>>;
12138
- order: ZodDefault<ZodOptional<ZodEnum<{
12139
- asc: "asc";
12140
- desc: "desc";
12141
- }>>>;
12142
- }, $strip>;
12143
- type AnalyticsAgentSourcesQuery = output<typeof AnalyticsAgentSourcesQuerySchema>;
12144
- export declare const AnalyticsAgentTypesQuerySchema: ZodObject<{
12145
- duration: ZodDefault<ZodOptional<ZodEnum<{
12146
- week: "week";
12147
- month: "month";
12148
- quarter: "quarter";
12149
- }>>>;
12150
- limit: ZodDefault<ZodOptional<ZodCoercedNumber<unknown>>>;
12151
- includeRaw: ZodDefault<ZodOptional<ZodCoercedBoolean<unknown>>>;
12152
- }, $strip>;
12153
- type AnalyticsAgentTypesQuery = output<typeof AnalyticsAgentTypesQuerySchema>;
12154
- export declare const AnalyticsExportQuerySchema: ZodObject<{
12155
- format: ZodDefault<ZodOptional<ZodEnum<{
12156
- csv: "csv";
12157
- json: "json";
12158
- excel: "excel";
12159
- }>>>;
12160
- startDate: ZodString;
12161
- endDate: ZodString;
12162
- includeMetadata: ZodDefault<ZodOptional<ZodCoercedBoolean<unknown>>>;
12163
- includeRawData: ZodDefault<ZodOptional<ZodCoercedBoolean<unknown>>>;
12164
- }, $strip>;
12165
- type AnalyticsExportQuery = output<typeof AnalyticsExportQuerySchema>;
12166
- export declare const AnalyticsRealtimeQuerySchema: ZodObject<{
12167
- timeWindow: ZodDefault<ZodOptional<ZodEnum<{
12168
- "1h": "1h";
12169
- "6h": "6h";
12170
- "24h": "24h";
12171
- }>>>;
12172
- refreshInterval: ZodDefault<ZodOptional<ZodCoercedNumber<unknown>>>;
12173
- }, $strip>;
12174
- type AnalyticsRealtimeQuery = output<typeof AnalyticsRealtimeQuerySchema>;
12175
- export declare const AnalyticsTimeSeriesSchema: ZodObject<{
12176
- timestamp: ZodString;
12177
- totalDetections: ZodNumber;
12178
- agentDetections: ZodNumber;
12179
- humanDetections: ZodNumber;
12180
- uniqueSessions: ZodNumber;
12181
- avgConfidence: ZodNumber;
12182
- }, $strip>;
12183
- type AnalyticsTimeSeries = output<typeof AnalyticsTimeSeriesSchema>;
12184
- declare const AnalyticsSummarySchema: ZodObject<{
12185
- totalAgentDetections: ZodNumber;
12186
- totalDetections: ZodNumber;
12187
- uniqueAgentSessions: ZodNumber;
12188
- totalSessions: ZodNumber;
12189
- avgConfidence: ZodNumber;
12190
- agentDetectionsChange: ZodNumber;
12191
- agentDetectionsChangeCount: ZodNumber;
12192
- totalDetectionsChange: ZodNumber;
12193
- totalDetectionsChangeCount: ZodNumber;
12194
- agentSessionsChange: ZodNumber;
12195
- agentSessionsChangeCount: ZodNumber;
12196
- }, $strip>;
12197
- type AnalyticsSummary = output<typeof AnalyticsSummarySchema>;
12198
- export declare const AnalyticsChartDataSchema: ZodObject<{
12199
- month: ZodString;
12200
- timestamp: ZodString;
12201
- agentDetections: ZodNumber;
12202
- totalDetections: ZodNumber;
12203
- humanDetections: ZodNumber;
12204
- uniqueSessions: ZodNumber;
12205
- avgConfidence: ZodNumber;
12206
- }, $strip>;
12207
- type AnalyticsChartData = output<typeof AnalyticsChartDataSchema>;
12208
- export declare const AnalyticsSessionsResponseSchema: ZodObject<{
12209
- success: ZodLiteral<true>;
12210
- data: ZodObject<{
12211
- chartData: ZodArray<ZodObject<{
12212
- month: ZodString;
12213
- timestamp: ZodString;
12214
- agentDetections: ZodNumber;
12215
- totalDetections: ZodNumber;
12216
- humanDetections: ZodNumber;
12217
- uniqueSessions: ZodNumber;
12218
- avgConfidence: ZodNumber;
12219
- }, $strip>>;
12220
- stats: ZodObject<{
12221
- totalAgentDetections: ZodNumber;
12222
- totalDetections: ZodNumber;
12223
- uniqueAgentSessions: ZodNumber;
12224
- totalSessions: ZodNumber;
12225
- avgConfidence: ZodNumber;
12226
- agentDetectionsChange: ZodNumber;
12227
- agentDetectionsChangeCount: ZodNumber;
12228
- totalDetectionsChange: ZodNumber;
12229
- totalDetectionsChangeCount: ZodNumber;
12230
- agentSessionsChange: ZodNumber;
12231
- agentSessionsChangeCount: ZodNumber;
12232
- }, $strip>;
12233
- period: ZodEnum<{
12234
- week: "week";
12235
- month: "month";
12236
- }>;
12237
- dateRange: ZodObject<{
12238
- start: ZodString;
12239
- end: ZodString;
12240
- }, $strip>;
12241
- }, $strip>;
12242
- }, $strip>;
12243
- type AnalyticsSessionsResponse = output<typeof AnalyticsSessionsResponseSchema>;
12244
- declare const AgentTypeDistributionSchema: ZodObject<{
12245
- agentType: ZodString;
12246
- count: ZodNumber;
12247
- uniqueSessions: ZodNumber;
12248
- avgConfidence: ZodNumber;
12249
- percentage: ZodNumber;
12250
- }, $strip>;
12251
- type AgentTypeDistribution$1 = output<typeof AgentTypeDistributionSchema>;
12252
- export declare const AgentSourceDistributionSchema: ZodObject<{
12253
- source: ZodString;
12254
- count: ZodNumber;
12255
- avgConfidence: ZodNumber;
12256
- percentage: ZodNumber;
12257
- userAgents: ZodOptional<ZodArray<ZodString>>;
12258
- }, $strip>;
12259
- type AgentSourceDistribution = output<typeof AgentSourceDistributionSchema>;
12260
- declare const ConfidenceDistributionSchema: ZodObject<{
12261
- range: ZodString;
12262
- count: ZodNumber;
12263
- percentage: ZodNumber;
12264
- }, $strip>;
12265
- type ConfidenceDistribution = output<typeof ConfidenceDistributionSchema>;
12266
- //#endregion
12267
11963
  //#region src/schemas/rules.d.ts
12268
11964
  export declare const UserAgentRuleSchema: ZodObject<{
12269
11965
  patterns: ZodArray<ZodString>;
@@ -12487,16 +12183,6 @@ export declare const DetectionRulesSchema: ZodObject<{
12487
12183
  }, $strip>;
12488
12184
  }, $strip>;
12489
12185
  }, $strip>;
12490
- export declare const RuleLoadOptionsSchema: ZodObject<{
12491
- cdnUrl: ZodOptional<ZodString>;
12492
- forceRefresh: ZodOptional<ZodBoolean>;
12493
- cacheDuration: ZodOptional<ZodNumber>;
12494
- validationMode: ZodOptional<ZodEnum<{
12495
- strict: "strict";
12496
- none: "none";
12497
- loose: "loose";
12498
- }>>;
12499
- }, $strip>;
12500
12186
  export declare const RuleValidationResultSchema: ZodObject<{
12501
12187
  valid: ZodBoolean;
12502
12188
  errors: ZodOptional<ZodArray<ZodObject<{
@@ -12509,33 +12195,8 @@ export declare const RuleValidationResultSchema: ZodObject<{
12509
12195
  message: ZodString;
12510
12196
  }, $strip>>>;
12511
12197
  }, $strip>;
12512
- export declare const RuleUpdateEventSchema: ZodObject<{
12513
- previousVersion: ZodString;
12514
- newVersion: ZodString;
12515
- timestamp: ZodString;
12516
- changes: ZodOptional<ZodObject<{
12517
- added: ZodArray<ZodString>;
12518
- modified: ZodArray<ZodString>;
12519
- removed: ZodArray<ZodString>;
12520
- }, $strip>>;
12521
- }, $strip>;
12522
- export declare const RuleMatchResultSchema: ZodObject<{
12523
- matched: ZodBoolean;
12524
- rule: ZodOptional<ZodString>;
12525
- category: ZodOptional<ZodEnum<{
12526
- userAgent: "userAgent";
12527
- behavioral: "behavioral";
12528
- signature: "signature";
12529
- header: "header";
12530
- ipRange: "ipRange";
12531
- }>>;
12532
- confidence: ZodOptional<ZodNumber>;
12533
- details: ZodOptional<ZodRecord<ZodString, ZodAny>>;
12534
- }, $strip>;
12535
- type DetectionRules$1 = output<typeof DetectionRulesSchema>;
12536
12198
  type RuleValidationResult$1 = output<typeof RuleValidationResultSchema>;
12537
12199
  export declare function validateRules(rules: unknown): RuleValidationResult$1;
12538
- export declare function parseRules(rules: unknown): DetectionRules$1;
12539
12200
  export declare function validateRulesLoose(rules: unknown): RuleValidationResult$1;
12540
12201
  //#endregion
12541
12202
  //#region src/rules/rule-loader.d.ts
@@ -14022,14 +13683,14 @@ export declare const TaskGrantSchema: ZodObject<{
14022
13683
  }, $strict>;
14023
13684
  export type TaskGrant = output<typeof TaskGrantSchema>;
14024
13685
  export declare const TaskGrantStatusValueSchema: ZodEnum<{
14025
- active: "active";
14026
13686
  expired: "expired";
13687
+ active: "active";
14027
13688
  revoked: "revoked";
14028
13689
  replaced: "replaced";
14029
13690
  }>;
14030
13691
  export declare const TaskGrantEffectiveStatusSchema: ZodEnum<{
14031
- active: "active";
14032
13692
  expired: "expired";
13693
+ active: "active";
14033
13694
  revoked: "revoked";
14034
13695
  replaced: "replaced";
14035
13696
  not_yet_valid: "not_yet_valid";
@@ -14039,14 +13700,14 @@ export declare const TaskGrantStatusSchema: ZodObject<{
14039
13700
  schema: ZodLiteral<"kya.task.grant-status.v1">;
14040
13701
  grantId: ZodString;
14041
13702
  status: ZodEnum<{
14042
- active: "active";
14043
13703
  expired: "expired";
13704
+ active: "active";
14044
13705
  revoked: "revoked";
14045
13706
  replaced: "replaced";
14046
13707
  }>;
14047
13708
  effectiveStatus: ZodEnum<{
14048
- active: "active";
14049
13709
  expired: "expired";
13710
+ active: "active";
14050
13711
  revoked: "revoked";
14051
13712
  replaced: "replaced";
14052
13713
  not_yet_valid: "not_yet_valid";
@@ -14120,6 +13781,7 @@ export declare const TaskGrantAdmissionRequestSchema: ZodObject<{
14120
13781
  }, $strict>;
14121
13782
  export type TaskGrantAdmissionRequest = output<typeof TaskGrantAdmissionRequestSchema>;
14122
13783
  export declare const TaskGrantAdmissionSchema: ZodObject<{
13784
+ taskId: ZodString;
14123
13785
  ownerEpoch: ZodNumber;
14124
13786
  capabilities: ZodArray<ZodEnum<{
14125
13787
  "task.execute": "task.execute";
@@ -14135,7 +13797,6 @@ export declare const TaskGrantAdmissionSchema: ZodObject<{
14135
13797
  maxRequestBytes: ZodNumber;
14136
13798
  reservedCostMicrousd: ZodNumber;
14137
13799
  }, $strict>>;
14138
- taskId: ZodString;
14139
13800
  repository: ZodString;
14140
13801
  sourceRevision: ZodNumber;
14141
13802
  baseSha: ZodString;
@@ -14258,14 +13919,14 @@ export declare const TaskGrantViewSchema: ZodObject<{
14258
13919
  schema: ZodLiteral<"kya.task.grant-status.v1">;
14259
13920
  grantId: ZodString;
14260
13921
  status: ZodEnum<{
14261
- active: "active";
14262
13922
  expired: "expired";
13923
+ active: "active";
14263
13924
  revoked: "revoked";
14264
13925
  replaced: "replaced";
14265
13926
  }>;
14266
13927
  effectiveStatus: ZodEnum<{
14267
- active: "active";
14268
13928
  expired: "expired";
13929
+ active: "active";
14269
13930
  revoked: "revoked";
14270
13931
  replaced: "replaced";
14271
13932
  not_yet_valid: "not_yet_valid";
@@ -14322,14 +13983,14 @@ export declare const TaskGrantListSchema: ZodObject<{
14322
13983
  schema: ZodLiteral<"kya.task.grant-status.v1">;
14323
13984
  grantId: ZodString;
14324
13985
  status: ZodEnum<{
14325
- active: "active";
14326
13986
  expired: "expired";
13987
+ active: "active";
14327
13988
  revoked: "revoked";
14328
13989
  replaced: "replaced";
14329
13990
  }>;
14330
13991
  effectiveStatus: ZodEnum<{
14331
- active: "active";
14332
13992
  expired: "expired";
13993
+ active: "active";
14333
13994
  revoked: "revoked";
14334
13995
  replaced: "replaced";
14335
13996
  not_yet_valid: "not_yet_valid";
@@ -14387,14 +14048,14 @@ export declare const TaskGrantIssueResultSchema: ZodObject<{
14387
14048
  schema: ZodLiteral<"kya.task.grant-status.v1">;
14388
14049
  grantId: ZodString;
14389
14050
  status: ZodEnum<{
14390
- active: "active";
14391
14051
  expired: "expired";
14052
+ active: "active";
14392
14053
  revoked: "revoked";
14393
14054
  replaced: "replaced";
14394
14055
  }>;
14395
14056
  effectiveStatus: ZodEnum<{
14396
- active: "active";
14397
14057
  expired: "expired";
14058
+ active: "active";
14398
14059
  revoked: "revoked";
14399
14060
  replaced: "replaced";
14400
14061
  not_yet_valid: "not_yet_valid";
@@ -14452,14 +14113,14 @@ export declare const TaskGrantRevocationSchema: ZodObject<{
14452
14113
  schema: ZodLiteral<"kya.task.grant-status.v1">;
14453
14114
  grantId: ZodString;
14454
14115
  status: ZodEnum<{
14455
- active: "active";
14456
14116
  expired: "expired";
14117
+ active: "active";
14457
14118
  revoked: "revoked";
14458
14119
  replaced: "replaced";
14459
14120
  }>;
14460
14121
  effectiveStatus: ZodEnum<{
14461
- active: "active";
14462
14122
  expired: "expired";
14123
+ active: "active";
14463
14124
  revoked: "revoked";
14464
14125
  replaced: "replaced";
14465
14126
  not_yet_valid: "not_yet_valid";
@@ -14566,10 +14227,10 @@ export declare const ProjectIdentitySchema: ZodObject<{
14566
14227
  }, $strict>;
14567
14228
  export type ProjectIdentity = output<typeof ProjectIdentitySchema>;
14568
14229
  export declare const IdentityIntentActionSchema: ZodEnum<{
14230
+ link: "link";
14569
14231
  create: "create";
14570
14232
  register: "register";
14571
14233
  repair: "repair";
14572
- link: "link";
14573
14234
  }>;
14574
14235
  export type IdentityIntentAction = output<typeof IdentityIntentActionSchema>;
14575
14236
  export declare const IdentityIntentRequestSchema: ZodDiscriminatedUnion<[ZodObject<{
@@ -14588,8 +14249,8 @@ export declare const IdentityIntentRequestSchema: ZodDiscriminatedUnion<[ZodObje
14588
14249
  }, $strict>], "action">;
14589
14250
  export type IdentityIntentRequest = output<typeof IdentityIntentRequestSchema>;
14590
14251
  export declare const IdentityIntentStateSchema: ZodEnum<{
14591
- unknown: "unknown";
14592
14252
  expired: "expired";
14253
+ unknown: "unknown";
14593
14254
  failed: "failed";
14594
14255
  succeeded: "succeeded";
14595
14256
  reviewed: "reviewed";
@@ -14601,15 +14262,15 @@ export declare const IdentityIntentSchema: ZodObject<{
14601
14262
  organizationId: ZodString;
14602
14263
  projectId: ZodString;
14603
14264
  action: ZodEnum<{
14265
+ link: "link";
14604
14266
  create: "create";
14605
14267
  register: "register";
14606
14268
  repair: "repair";
14607
- link: "link";
14608
14269
  }>;
14609
14270
  deploymentId: ZodNullable<ZodString>;
14610
14271
  state: ZodEnum<{
14611
- unknown: "unknown";
14612
14272
  expired: "expired";
14273
+ unknown: "unknown";
14613
14274
  failed: "failed";
14614
14275
  succeeded: "succeeded";
14615
14276
  reviewed: "reviewed";
@@ -14932,21 +14593,21 @@ export declare function readableText(value: string): string;
14932
14593
  //#endregion
14933
14594
  //#region src/api/delegation-management.d.ts
14934
14595
  export declare const DelegationStoredStatusSchema: ZodEnum<{
14935
- active: "active";
14936
14596
  expired: "expired";
14597
+ active: "active";
14937
14598
  revoked: "revoked";
14938
14599
  }>;
14939
14600
  export type DelegationStoredStatus = output<typeof DelegationStoredStatusSchema>;
14940
14601
  export declare const DelegationEffectiveStatusSchema: ZodEnum<{
14941
- active: "active";
14942
14602
  expired: "expired";
14603
+ active: "active";
14943
14604
  revoked: "revoked";
14944
14605
  not_yet_valid: "not_yet_valid";
14945
14606
  }>;
14946
14607
  export type DelegationEffectiveStatus = output<typeof DelegationEffectiveStatusSchema>;
14947
14608
  export declare const DelegationListStatusFilterSchema: ZodEnum<{
14948
- active: "active";
14949
14609
  expired: "expired";
14610
+ active: "active";
14950
14611
  revoked: "revoked";
14951
14612
  all: "all";
14952
14613
  }>;
@@ -14970,13 +14631,13 @@ export declare const DelegationManagementItemSchema: ZodObject<{
14970
14631
  maxCalls: ZodNullable<ZodNumber>;
14971
14632
  }, $strict>;
14972
14633
  status: ZodEnum<{
14973
- active: "active";
14974
14634
  expired: "expired";
14635
+ active: "active";
14975
14636
  revoked: "revoked";
14976
14637
  }>;
14977
14638
  effectiveStatus: ZodEnum<{
14978
- active: "active";
14979
14639
  expired: "expired";
14640
+ active: "active";
14980
14641
  revoked: "revoked";
14981
14642
  not_yet_valid: "not_yet_valid";
14982
14643
  }>;
@@ -15003,13 +14664,13 @@ export declare const DelegationManagementListSchema: ZodObject<{
15003
14664
  maxCalls: ZodNullable<ZodNumber>;
15004
14665
  }, $strict>;
15005
14666
  status: ZodEnum<{
15006
- active: "active";
15007
14667
  expired: "expired";
14668
+ active: "active";
15008
14669
  revoked: "revoked";
15009
14670
  }>;
15010
14671
  effectiveStatus: ZodEnum<{
15011
- active: "active";
15012
14672
  expired: "expired";
14673
+ active: "active";
15013
14674
  revoked: "revoked";
15014
14675
  not_yet_valid: "not_yet_valid";
15015
14676
  }>;
@@ -15099,13 +14760,13 @@ export declare const DelegationManagementDetailSchema: ZodObject<{
15099
14760
  maxCalls: ZodNullable<ZodNumber>;
15100
14761
  }, $strict>;
15101
14762
  status: ZodEnum<{
15102
- active: "active";
15103
14763
  expired: "expired";
14764
+ active: "active";
15104
14765
  revoked: "revoked";
15105
14766
  }>;
15106
14767
  effectiveStatus: ZodEnum<{
15107
- active: "active";
15108
14768
  expired: "expired";
14769
+ active: "active";
15109
14770
  revoked: "revoked";
15110
14771
  not_yet_valid: "not_yet_valid";
15111
14772
  }>;
@@ -15328,5 +14989,5 @@ export type AsyncResult<T, E = Error> = Promise<{
15328
14989
  export declare const VERSION = "0.1.0";
15329
14990
  export declare const PACKAGE_NAME = "@kya-os/checkpoint-shared";
15330
14991
  //#endregion
15331
- export { ACCEPT_CHALLENGE_HEADER, ANONYMOUS_PRINCIPAL_DID, type AddUpdateProviderRequest, type AdminQueryParams, type AgentSourceDistribution, type AllowListEntry, AllowListEntrySchema, type AnalyticsAgentSourcesQuery, type AnalyticsAgentTypesQuery, type AnalyticsChartData, type AnalyticsExportQuery, type AnalyticsQuery, type AnalyticsRealtimeQuery, type AnalyticsSessionsQuery, type AnalyticsSessionsResponse, type AnalyticsSummary as AnalyticsSessionsSummary, AnalyticsSummarySchema as AnalyticsSessionsSummarySchema, type AnalyticsTimeSeries, type ApprovalQuorum, type ApprovalQuorumChallengeWireInput, type AssuranceTier, AssuranceTierSchema, type AuthMode, type AuthProviderType, type AuthProviderTypeInput, type AuthorizationMode, BASELINE_ALLOW_POLICY_ID, BESPOKE_POLICY_IDS, BLOCKED_PATH, BROWSER_PATTERNS, type BaseAuthProvider, type BlockReason, BlockReasonSchema, BotSignalsResolution, BotSignalsSource, BotSignalsTrustPolicy, type BouncerConfig, type BouncerOutcome, type BouncerProof, ByteBoundedMemo, type CRISPBudget, type CachedPolicy, type ChallengeContextFailure, type ChallengeContextFailureEvent, type ChallengeEnvelopeMode, type ChallengeParams, ChallengeParamsSchema, ChallengeWireError, type ChallengeWireErrorCode, type ChallengeWireInput, type ChallengeWireKind, type ChangePasswordData, ClientIpHeaderValue, ClientIpHeaders, ClientIpResolution, ClientIpSource, ClientIpTrustPolicy, CloudflareRequestCf, type ConditionField, ConditionFieldSchema, type ConditionOperator, ConditionOperatorSchema, type ConditionValue, ConditionValueSchema, type ConfiguredProvider, type ConsentAgentMetadata, type ConsentBranding, type ConsentCapability, type ConsentCapabilityGroup, type ConsentConfig, type ConsentConfigMetadata, type ConsentPolicyResponse, type ConsentPolicyRiskLevel, type ConsentProviderType, type ConsentSignInCopy, type ConsentTerms, type ConsentUI, type CredentialProvider, type CredentialProviderConfig, DEFAULT_CHALLENGE_CONTEXT_TIMEOUT_MS, DELEGATION_PROOF_HEADERS, DETECTION_REASON_CODES, type Decision, type DecisionLike, DecisionSchema, type Delegation, type DelegationChallengeBody, type DelegationChallengeEnvelope, type DelegationChallengeEnvelopeMode, type DelegationChallengeWireInput, type DelegationLifecycle, type DelegationLifecycleAuditReference, type DelegationLifecycleHuman, type DelegationPollingStatus, type DelegationStatus, type DenyListEntry, DenyListEntrySchema, DetectionReasonCode, type EnforcementAction, EnforcementActionSchema, type EnforcementMode, EnforcementModeSchema, FAIL_CLOSED_BODY, FAIL_CLOSED_HEADERS, FAIL_CLOSED_STATUS, type FetcherHeaderInput, type FingerprintAnalysis, type FingerprintResponse, type ForgotPasswordData, type GatewayConfig, type GatewayConnectedAgent, type GatewayConnectionsSummary, type GatewayToolCall, type GrowthBatchRequest, type GrowthConfigurationReset, type GrowthConfigurationThresholds, type GrowthConfigurationUpdate, type GrowthOpportunitiesQuery, type GrowthOpportunityUpdate, HEADER_PATTERNS, type HeaderEntry, type IProviderRegistry, type InstructPayload, InstructPayloadSchema, type InvalidStepUpReason, KYA_HTTP_ERROR, KYA_HTTP_ERROR_STATUS, KYA_OS_HANDSHAKE_METHODS, KYA_OS_WIRE_METHODS, KyaHttpErrorCode, type LegacyAuthProviderType, type LintFinding, MAX_REASON_CODES_HEADER_BYTES, MAX_REASON_CODES_ON_WIRE, MOBILE_PATTERNS, type McpIPayload, NO_EVIDENCE_CATEGORY, NO_EVIDENCE_EQUALITY_TERM, NO_EVIDENCE_EXCLUSION_TERM, type NetworkTiming, type NextRouteContext, type OAuth2Provider, type OAuthClient, type OAuthConnectionStatus, type OAuthMode, type OAuthProviderConfig, type OAuthProviderMetadata, type OAuthProviderType, type OAuthProvidersMap, type OAuthTokensResponse, OS_PATTERNS, ObservedClientAddressResolution, type OptionalNextRouteContext, type PerformanceRecalculationRequest, type PolicyCacheAdapter, type PolicyCondition, PolicyConditionSchema, type PolicyConfig, PolicyConfigSchema, PolicyFetcher, type PolicyFetcherConfig, type PolicyHazardAnalysis, type PolicyMetadata, PolicyMetadataSchema, type PolicyRule, PolicyRuleSchema, PolicyUnavailableError, type ProbeClass, type ProviderAuthType, type ProviderConfig, type ProviderDefinition, type ProviderRegistryDefinition, type ProvidersResponse, REGISTERED_SID_MAX_LENGTH, RULESET_HASH_REGEX, ReasonCodeDetectionFacts, type RecommendationGeneration, type RecommendationQuery, type RedirectTarget, RedirectTargetSchema, type RefreshScopesRequest, type RegistryLogger, type RenderedResponseLike, type RequestFacts, type ResetPasswordData, ResolveBotSignalsInput, type ResolveChallengeContextOptions, ResolveClientIpInput, type ResponseShape, type RouteParamValue, type RouteParams, type RouteParamsFromContext, type RuleMetadata, RuleMetadataSchema, SID_ATTRIBUTABLE_RESULT, SUSPICIOUS_PATTERNS, type Scope, type AgentTypeDistribution$1 as SharedAgentTypeDistribution, AgentTypeDistributionSchema as SharedAgentTypeDistributionSchema, type ConfidenceDistribution as SharedConfidenceDistribution, ConfidenceDistributionSchema as SharedConfidenceDistributionSchema, type SignInData, type SignUpData, type StaleVendorDetail, type StepUpQuorumCheck, type StepUpQuorumLike, type SuggestedAction, SuggestedActionSchema, type SupportedProviderAuthType, type TLSFingerprint, type ThresholdConfig, ThresholdConfigSchema, type ToolConsentOverrides, USER_AGENT_PATTERNS, UUID_PATTERN, type UpdateBouncerConfig, type UpstreamServer, VALIDATION_PATTERNS, VERDICT_COOKIE_NAME, type VendorFreshnessInput, type Verdict, VerificationMethod, type VerifyEmailData, acceptsHtml, analyzePolicySource, approvalQuorumForRequest, bespokePolicyLabel, blockEqualityLiterals, buildChallengeWire, buildDelegationBearerHeader, buildDelegationChallengeBody, buildDelegationChallengeEnvelope, buildDelegationChallengeHeader, buildDelegationInstructions, classifyResponseShape, compressIpv6, decisionPolicyId, deriveDelegationPickupUri, deriveVerdict, encodeVerdictCookie, extractMatch, findMatchingPattern, formatReasonCodesHeader, generateDelegationSid, getVerificationMethodDescription, getVerificationReliability, getVerificationRiskLevel, isBespokePolicyId, isEngineEnforcing, isHighConfidenceVerification, isKyaOsHandshakeMethod, isKyaOsWireMethod, isNonNavigablePolicyId, isPolicyUnavailableError, mapDetectionToReasonCodes, matchPath, nonNavigablePolicyLabel, normalizeChallengeType, normalizeClientIp, normalizeHandshakeMethod, normalizeWireMethod, parseCedarStatements, parseIpv6, pathHasUnnarrowedDenyRuleFor, pathLiteralsInBlock, requestCarriesDelegationProof, requestPresentedCredential, requiredScopesForRequest, resolveBotSignals, resolveChallengeContext, resolveClientIp, resolveObservedClientAddress, safeParsePolicyConfig, selectBodyReadable200, serveBodyReadable200, splitCedarBlocks, statementApplies, statementId, testPattern, testPatterns, validateStepUpQuorum, withNoEvidenceExclusion };
14992
+ export { ACCEPT_CHALLENGE_HEADER, AGENT_CATALOG, ANONYMOUS_PRINCIPAL_DID, AUTH_DOMAIN, AgentCatalogEntry, AgentCatalogTier, type AllowListEntry, AllowListEntrySchema, type ApprovalQuorum, type ApprovalQuorumChallengeWireInput, type AssuranceTier, AssuranceTierSchema, type AuthMode, type AuthorizationMode, BASELINE_ALLOW_POLICY_ID, BESPOKE_POLICY_IDS, BLOCKED_PATH, BROWSER_PATTERNS, type BlockReason, BlockReasonSchema, BotSignalsResolution, BotSignalsSource, BotSignalsTrustPolicy, type BouncerConfig, type BouncerOutcome, BoundedBody, ByteBoundedMemo, type CachedPolicy, type ChallengeContextFailure, type ChallengeContextFailureEvent, type ChallengeEnvelopeMode, type ChallengeParams, ChallengeParamsSchema, ChallengeWireError, type ChallengeWireErrorCode, type ChallengeWireInput, type ChallengeWireKind, ClientIpHeaderValue, ClientIpHeaders, ClientIpResolution, ClientIpSource, ClientIpTrustPolicy, CloudflareRequestCf, type ConditionField, ConditionFieldSchema, type ConditionOperator, ConditionOperatorSchema, type ConditionValue, ConditionValueSchema, type ConfiguredProvider, type ConsentBranding, type ConsentCapabilityGroup, type ConsentConfig, type ConsentConfigMetadata, type ConsentPolicyResponse, type ConsentPolicyRiskLevel, type ConsentProviderType, type ConsentTerms, type ConsentUI, type CredentialProvider, type CredentialProviderConfig, DEFAULT_CHALLENGE_CONTEXT_TIMEOUT_MS, DELEGATION_PROOF_HEADERS, DETECTION_REASON_CODES, type Decision, type DecisionLike, DecisionSchema, type DelegationChallengeBody, type DelegationChallengeEnvelope, type DelegationChallengeEnvelopeMode, type DelegationChallengeWireInput, type DelegationLifecycle, type DelegationLifecycleAuditReference, type DelegationLifecycleHuman, type DenyListEntry, DenyListEntrySchema, DetectionReasonCode, type EnforcementAction, EnforcementActionSchema, type EnforcementMode, EnforcementModeSchema, FAIL_CLOSED_BODY, FAIL_CLOSED_HEADERS, FAIL_CLOSED_STATUS, type FetcherHeaderInput, type FingerprintAnalysis, type FingerprintResponse, type GatewayConfig, type GatewayConnectedAgent, type GatewayConnectionsSummary, type GatewayToolCall, HEADER_PATTERNS, type HeaderEntry, type IProviderRegistry, type InstructPayload, InstructPayloadSchema, type InvalidStepUpReason, KYA_HTTP_ERROR, KYA_HTTP_ERROR_STATUS, KYA_OS_HANDSHAKE_METHODS, KYA_OS_WIRE_METHODS, KYA_SIGNED_BODY_MAX_BYTES, KyaHttpErrorCode, type LintFinding, MAX_REASON_CODES_HEADER_BYTES, MAX_REASON_CODES_ON_WIRE, MOBILE_PATTERNS, type McpIPayload, NO_EVIDENCE_CATEGORY, NO_EVIDENCE_EQUALITY_TERM, NO_EVIDENCE_EXCLUSION_TERM, type NetworkTiming, type NextRouteContext, type OAuth2Provider, type OAuthClient, type OAuthProviderConfig, type OAuthProviderMetadata, type OAuthProviderType, OS_PATTERNS, ObservedClientAddressResolution, type OptionalNextRouteContext, type PolicyCacheAdapter, type PolicyCondition, PolicyConditionSchema, type PolicyConfig, PolicyConfigSchema, PolicyFetcher, type PolicyFetcherConfig, type PolicyHazardAnalysis, type PolicyMetadata, PolicyMetadataSchema, type PolicyRule, PolicyRuleSchema, PolicyUnavailableError, type ProbeClass, type ProviderAuthType, type ProviderConfig, type ProviderRegistryDefinition, type ProvidersResponse, REGISTERED_SID_MAX_LENGTH, RULESET_HASH_REGEX, ReasonCodeDetectionFacts, type RedirectTarget, RedirectTargetSchema, type RefreshScopesRequest, type RegistryLogger, type RenderedResponseLike, type RequestFacts, type ResetPasswordData, ResolveBotSignalsInput, type ResolveChallengeContextOptions, ResolveClientIpInput, type ResponseShape, type RouteParamValue, type RouteParams, type RouteParamsFromContext, type RuleMetadata, RuleMetadataSchema, SID_ATTRIBUTABLE_RESULT, SUSPICIOUS_PATTERNS, type Scope, type StaleVendorDetail, type StepUpQuorumCheck, type StepUpQuorumLike, type SuggestedAction, SuggestedActionSchema, type TLSFingerprint, type ThresholdConfig, ThresholdConfigSchema, USER_AGENT_PATTERNS, UUID_PATTERN, type UpdateBouncerConfig, type UpstreamServer, VALIDATION_PATTERNS, VERDICT_COOKIE_NAME, type VendorFreshnessInput, type Verdict, VerificationMethod, acceptsHtml, analyzePolicySource, approvalQuorumForRequest, bespokePolicyLabel, blockEqualityLiterals, buildChallengeWire, buildDelegationBearerHeader, buildDelegationChallengeBody, buildDelegationChallengeEnvelope, buildDelegationChallengeHeader, buildDelegationInstructions, classifyResponseShape, compressIpv6, decisionPolicyId, defaultSignInHost, defaultSignInHostLabel, deriveDelegationPickupUri, deriveVerdict, encodeVerdictCookie, extractMatch, findMatchingPattern, formatReasonCodesHeader, generateDelegationSid, getVerificationMethodDescription, getVerificationReliability, getVerificationRiskLevel, isBespokePolicyId, isDefaultSignInHostLabel, isDnsLabel, isEngineEnforcing, isHighConfidenceVerification, isKyaOsHandshakeMethod, isKyaOsWireMethod, isNonNavigablePolicyId, isPolicyUnavailableError, isUnderAuthDomain, mapDetectionToReasonCodes, matchPath, nonNavigablePolicyLabel, normalizeChallengeType, normalizeClientIp, normalizeHandshakeMethod, normalizeWireMethod, parseCedarStatements, parseIpv6, pathHasUnnarrowedDenyRuleFor, pathLiteralsInBlock, readBodyBounded, requestCarriesDelegationProof, requestDeclaresBody, requestPresentedCredential, requestPresentsKyaSignature, requiredScopesForRequest, resolveBotSignals, resolveChallengeContext, resolveClientIp, resolveObservedClientAddress, safeParsePolicyConfig, selectBodyReadable200, serveBodyReadable200, splitCedarBlocks, statementApplies, statementId, testPattern, testPatterns, validateStepUpQuorum, withNoEvidenceExclusion, withoutTrailingDots };
15332
14993
  //# sourceMappingURL=index.d.ts.map