@kya-os/checkpoint-shared 1.8.0 → 1.9.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 +37 -0
- package/dist/agent-catalog.d.mts +12 -0
- package/dist/agent-catalog.d.mts.map +1 -0
- package/dist/agent-catalog.d.ts +12 -0
- package/dist/agent-catalog.d.ts.map +1 -0
- package/dist/agent-catalog.js +105 -0
- package/dist/agent-catalog.mjs +105 -0
- package/dist/agent-catalog.mjs.map +1 -0
- package/dist/beacon-types/index.d.mts +18 -0
- package/dist/beacon-types/index.d.mts.map +1 -1
- package/dist/beacon-types/index.d.ts +18 -0
- package/dist/beacon-types/index.d.ts.map +1 -1
- package/dist/beacon-types/index.js +116 -12
- package/dist/beacon-types/index.mjs +105 -13
- package/dist/beacon-types/index.mjs.map +1 -1
- package/dist/browser-posture-5fPrsxx7.d.mts.map +1 -1
- package/dist/browser-posture-CCR1kh5e.d.ts.map +1 -1
- package/dist/browser-posture-cookie.js +1 -1
- package/dist/browser-posture-cookie.mjs +1 -1
- package/dist/browser-posture-cookie.mjs.map +1 -1
- package/dist/browser-posture-proof-verifier-DvsOmFrM.js +202 -0
- package/dist/browser-posture-proof-verifier-I0HP2Ics.mjs +180 -0
- package/dist/browser-posture-proof-verifier-I0HP2Ics.mjs.map +1 -0
- package/dist/browser-posture-proof-verifier.d.mts +25 -0
- package/dist/browser-posture-proof-verifier.d.mts.map +1 -0
- package/dist/browser-posture-proof-verifier.d.ts +25 -0
- package/dist/browser-posture-proof-verifier.d.ts.map +1 -0
- package/dist/browser-posture-proof-verifier.js +7 -0
- package/dist/browser-posture-proof-verifier.mjs +3 -0
- package/dist/browser-posture-proof.d.mts +3 -18
- package/dist/browser-posture-proof.d.mts.map +1 -1
- package/dist/browser-posture-proof.d.ts +3 -18
- package/dist/browser-posture-proof.d.ts.map +1 -1
- package/dist/browser-posture-proof.js +6 -131
- package/dist/browser-posture-proof.mjs +1 -126
- package/dist/browser-posture-proof.mjs.map +1 -1
- package/dist/browser-posture.js +1 -1
- package/dist/browser-posture.mjs +1 -1
- package/dist/browser-posture.mjs.map +1 -1
- package/dist/browser.d.mts +0 -282
- package/dist/browser.d.mts.map +1 -1
- package/dist/browser.d.ts +0 -282
- package/dist/browser.d.ts.map +1 -1
- package/dist/browser.js +1 -1
- package/dist/browser.mjs +1 -1
- package/dist/browser.mjs.map +1 -1
- package/dist/canonical-signer/index.mjs.map +1 -1
- package/dist/consent-handoff.d.mts +0 -3
- package/dist/consent-handoff.d.mts.map +1 -1
- package/dist/consent-handoff.d.ts +0 -3
- package/dist/consent-handoff.d.ts.map +1 -1
- package/dist/consent-handoff.mjs.map +1 -1
- package/dist/default-sign-in-host.d.mts +10 -0
- package/dist/default-sign-in-host.d.mts.map +1 -0
- package/dist/default-sign-in-host.d.ts +10 -0
- package/dist/default-sign-in-host.d.ts.map +1 -0
- package/dist/default-sign-in-host.js +72 -0
- package/dist/default-sign-in-host.mjs +66 -0
- package/dist/default-sign-in-host.mjs.map +1 -0
- package/dist/errors/index.d.mts +1 -0
- package/dist/errors/index.d.mts.map +1 -1
- package/dist/errors/index.d.ts +1 -0
- package/dist/errors/index.d.ts.map +1 -1
- package/dist/errors/index.js +5 -2
- package/dist/errors/index.mjs +5 -2
- package/dist/errors/index.mjs.map +1 -1
- package/dist/{fetcher-CivUCbhL.d.ts → fetcher-C8qvwdnA.d.ts} +2 -2
- package/dist/{fetcher-CivUCbhL.d.ts.map → fetcher-C8qvwdnA.d.ts.map} +1 -1
- package/dist/{fetcher-cXQsbm6s.d.mts → fetcher-D2vjr7jB.d.mts} +2 -2
- package/dist/{fetcher-cXQsbm6s.d.mts.map → fetcher-D2vjr7jB.d.mts.map} +1 -1
- package/dist/gateway-client-ip.d.mts +0 -2
- package/dist/gateway-client-ip.d.mts.map +1 -1
- package/dist/gateway-client-ip.d.ts +0 -2
- package/dist/gateway-client-ip.d.ts.map +1 -1
- package/dist/gateway-client-ip.mjs.map +1 -1
- package/dist/host-adapter/index.d.mts +1 -1
- package/dist/host-adapter/index.d.ts +1 -1
- package/dist/host-adapter/index.js +1 -1
- package/dist/host-adapter/index.mjs +1 -1
- package/dist/{host-adapter-DHyISsIf.mjs → host-adapter-BKdQHwbi.mjs} +2 -2
- package/dist/{host-adapter-DHyISsIf.mjs.map → host-adapter-BKdQHwbi.mjs.map} +1 -1
- package/dist/{host-adapter-0F8EpbD6.js → host-adapter-bWftXA9T.js} +1 -1
- package/dist/{index-CXbOY7gB.d.ts → index-DnFsmr_o.d.ts} +3 -3
- package/dist/{index-CXbOY7gB.d.ts.map → index-DnFsmr_o.d.ts.map} +1 -1
- package/dist/{index-B3cHxr3O.d.mts → index-rvw5Bz-r.d.mts} +3 -3
- package/dist/{index-B3cHxr3O.d.mts.map → index-rvw5Bz-r.d.mts.map} +1 -1
- package/dist/index.d.mts +94 -449
- package/dist/index.d.mts.map +1 -1
- package/dist/index.d.ts +94 -449
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +25 -455
- package/dist/index.mjs +17 -422
- package/dist/index.mjs.map +1 -1
- package/dist/{kya-http-error-codes-UYb1zpGM.js → kya-http-error-codes-B4rUmUEI.js} +2 -0
- package/dist/{kya-http-error-codes-7ewV5RuK.d.ts → kya-http-error-codes-C14E4gi3.d.mts} +2 -1
- package/dist/kya-http-error-codes-C14E4gi3.d.mts.map +1 -0
- package/dist/{kya-http-error-codes-7ewV5RuK.d.mts → kya-http-error-codes-C14E4gi3.d.ts} +2 -1
- package/dist/kya-http-error-codes-C14E4gi3.d.ts.map +1 -0
- package/dist/{kya-http-error-codes-C2JiWPsi.mjs → kya-http-error-codes-DSBrxNry.mjs} +3 -1
- package/dist/kya-http-error-codes-DSBrxNry.mjs.map +1 -0
- package/dist/kya-http.d.mts +1 -1
- package/dist/kya-http.d.ts +1 -1
- package/dist/kya-http.js +1 -1
- package/dist/kya-http.mjs +1 -1
- package/dist/mcpi/dashboard-config/index.d.mts.map +1 -1
- package/dist/mcpi/dashboard-config/index.d.ts.map +1 -1
- package/dist/mcpi/dashboard-config/index.mjs.map +1 -1
- package/dist/{patterns-B2r7M9wR.js → patterns-CiMpbdAF.js} +1 -1
- package/dist/{patterns-B7dQoeE3.mjs → patterns-D4OAsNQY.mjs} +2 -2
- package/dist/{patterns-B7dQoeE3.mjs.map → patterns-D4OAsNQY.mjs.map} +1 -1
- package/dist/patterns.js +1 -1
- package/dist/patterns.mjs +1 -1
- package/dist/policy/fetcher.d.mts +1 -1
- package/dist/policy/fetcher.d.ts +1 -1
- package/dist/policy/schemas.d.mts +1 -1
- package/dist/policy/schemas.d.ts +1 -1
- package/dist/{schemas-C_3C72SR.d.ts → schemas-CGKHzcMV.d.ts} +21 -21
- package/dist/{schemas-C_3C72SR.d.ts.map → schemas-CGKHzcMV.d.ts.map} +1 -1
- package/dist/{schemas-02CI7jgm.d.mts → schemas-m-GqyfyO.d.mts} +21 -21
- package/dist/{schemas-02CI7jgm.d.mts.map → schemas-m-GqyfyO.d.mts.map} +1 -1
- package/dist/tool-protection/index.d.mts +12 -0
- package/dist/tool-protection/index.d.mts.map +1 -1
- package/dist/tool-protection/index.d.ts +12 -0
- package/dist/tool-protection/index.d.ts.map +1 -1
- package/dist/tool-protection/index.js +46 -0
- package/dist/tool-protection/index.mjs +44 -1
- package/dist/tool-protection/index.mjs.map +1 -1
- package/fixtures/kya-http/error-codes.json +2 -1
- package/package.json +19 -3
- package/dist/kya-http-error-codes-7ewV5RuK.d.mts.map +0 -1
- package/dist/kya-http-error-codes-7ewV5RuK.d.ts.map +0 -1
- package/dist/kya-http-error-codes-C2JiWPsi.mjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
|
+
import { AGENT_CATALOG, AgentCatalogEntry, AgentCatalogTier } from "./agent-catalog.mjs";
|
|
1
2
|
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.mjs";
|
|
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.mjs";
|
|
4
|
+
import { AUTH_DOMAIN, defaultSignInHost, defaultSignInHostLabel, isDefaultSignInHostLabel, isDnsLabel, isUnderAuthDomain, withoutTrailingDots } from "./default-sign-in-host.mjs";
|
|
3
5
|
import { t as RULESET_HASH_REGEX } from "./ruleset-hash-IRN5eI9H.mjs";
|
|
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-
|
|
5
|
-
import { n as KYA_HTTP_ERROR_STATUS, r as KyaHttpErrorCode, t as KYA_HTTP_ERROR } from "./kya-http-error-codes-
|
|
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-rvw5Bz-r.mjs";
|
|
7
|
+
import { n as KYA_HTTP_ERROR_STATUS, r as KyaHttpErrorCode, t as KYA_HTTP_ERROR } from "./kya-http-error-codes-C14E4gi3.mjs";
|
|
6
8
|
import { n as normalizeChallengeType, t as isEngineEnforcing } from "./engine-enforcing-DiOclGqf.mjs";
|
|
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-
|
|
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-m-GqyfyO.mjs";
|
|
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.mjs";
|
|
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.mjs";
|
|
10
12
|
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.mjs";
|
|
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.mjs";
|
|
12
|
-
import { a as PolicyUnavailableError, i as PolicyFetcherConfig, n as PolicyCacheAdapter, o as isPolicyUnavailableError, r as PolicyFetcher, t as CachedPolicy } from "./fetcher-
|
|
14
|
+
import { a as PolicyUnavailableError, i as PolicyFetcherConfig, n as PolicyCacheAdapter, o as isPolicyUnavailableError, r as PolicyFetcher, t as CachedPolicy } from "./fetcher-D2vjr7jB.mjs";
|
|
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: "
|
|
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;
|
|
@@ -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<{
|
|
@@ -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";
|
|
@@ -1674,9 +1678,9 @@ export declare const UserPlanSchema: ZodEnum<{
|
|
|
1674
1678
|
}>;
|
|
1675
1679
|
export type UserPlan = output<typeof UserPlanSchema>;
|
|
1676
1680
|
export declare const ApiKeyPermissionSchema: ZodEnum<{
|
|
1681
|
+
admin: "admin";
|
|
1677
1682
|
read: "read";
|
|
1678
1683
|
write: "write";
|
|
1679
|
-
admin: "admin";
|
|
1680
1684
|
forward: "forward";
|
|
1681
1685
|
}>;
|
|
1682
1686
|
export type ApiKeyPermission = output<typeof ApiKeyPermissionSchema>;
|
|
@@ -1801,9 +1805,9 @@ export declare const ApiKeySchema: ZodObject<{
|
|
|
1801
1805
|
name: ZodString;
|
|
1802
1806
|
key: ZodString;
|
|
1803
1807
|
permissions: ZodDefault<ZodArray<ZodEnum<{
|
|
1808
|
+
admin: "admin";
|
|
1804
1809
|
read: "read";
|
|
1805
1810
|
write: "write";
|
|
1806
|
-
admin: "admin";
|
|
1807
1811
|
forward: "forward";
|
|
1808
1812
|
}>>>;
|
|
1809
1813
|
rateLimits: ZodPrefault<ZodObject<{
|
|
@@ -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>;
|
|
@@ -5229,9 +5233,9 @@ export declare const ApiKeysBulkCreateItemSchema: ZodObject<{
|
|
|
5229
5233
|
name: ZodString;
|
|
5230
5234
|
projectId: ZodOptional<ZodString>;
|
|
5231
5235
|
permissions: ZodDefault<ZodArray<ZodEnum<{
|
|
5236
|
+
admin: "admin";
|
|
5232
5237
|
read: "read";
|
|
5233
5238
|
write: "write";
|
|
5234
|
-
admin: "admin";
|
|
5235
5239
|
}>>>;
|
|
5236
5240
|
rateLimits: ZodOptional<ZodObject<{
|
|
5237
5241
|
requestsPerSecond: ZodOptional<ZodNumber>;
|
|
@@ -5248,9 +5252,9 @@ export declare const ApiKeysBulkUpdateItemSchema: ZodObject<{
|
|
|
5248
5252
|
id: ZodString;
|
|
5249
5253
|
name: ZodOptional<ZodString>;
|
|
5250
5254
|
permissions: ZodOptional<ZodArray<ZodEnum<{
|
|
5255
|
+
admin: "admin";
|
|
5251
5256
|
read: "read";
|
|
5252
5257
|
write: "write";
|
|
5253
|
-
admin: "admin";
|
|
5254
5258
|
}>>>;
|
|
5255
5259
|
rateLimits: ZodOptional<ZodObject<{
|
|
5256
5260
|
requestsPerSecond: ZodOptional<ZodNumber>;
|
|
@@ -5278,9 +5282,9 @@ export declare const ApiKeysBulkRequestSchema: ZodIntersection<ZodObject<{
|
|
|
5278
5282
|
name: ZodString;
|
|
5279
5283
|
projectId: ZodOptional<ZodString>;
|
|
5280
5284
|
permissions: ZodDefault<ZodArray<ZodEnum<{
|
|
5285
|
+
admin: "admin";
|
|
5281
5286
|
read: "read";
|
|
5282
5287
|
write: "write";
|
|
5283
|
-
admin: "admin";
|
|
5284
5288
|
}>>>;
|
|
5285
5289
|
rateLimits: ZodOptional<ZodObject<{
|
|
5286
5290
|
requestsPerSecond: ZodOptional<ZodNumber>;
|
|
@@ -5296,9 +5300,9 @@ export declare const ApiKeysBulkRequestSchema: ZodIntersection<ZodObject<{
|
|
|
5296
5300
|
id: ZodString;
|
|
5297
5301
|
name: ZodOptional<ZodString>;
|
|
5298
5302
|
permissions: ZodOptional<ZodArray<ZodEnum<{
|
|
5303
|
+
admin: "admin";
|
|
5299
5304
|
read: "read";
|
|
5300
5305
|
write: "write";
|
|
5301
|
-
admin: "admin";
|
|
5302
5306
|
}>>>;
|
|
5303
5307
|
rateLimits: ZodOptional<ZodObject<{
|
|
5304
5308
|
requestsPerSecond: ZodOptional<ZodNumber>;
|
|
@@ -5427,9 +5431,9 @@ export declare const CreateApiKeySchema: ZodObject<{
|
|
|
5427
5431
|
name: ZodString;
|
|
5428
5432
|
projectId: ZodOptional<ZodString>;
|
|
5429
5433
|
permissions: ZodDefault<ZodArray<ZodEnum<{
|
|
5434
|
+
admin: "admin";
|
|
5430
5435
|
read: "read";
|
|
5431
5436
|
write: "write";
|
|
5432
|
-
admin: "admin";
|
|
5433
5437
|
forward: "forward";
|
|
5434
5438
|
}>>>;
|
|
5435
5439
|
rateLimits: ZodOptional<ZodObject<{
|
|
@@ -5445,9 +5449,9 @@ export type CreateApiKeyRequest = output<typeof CreateApiKeySchema>;
|
|
|
5445
5449
|
export declare const UpdateApiKeySchema: ZodObject<{
|
|
5446
5450
|
name: ZodOptional<ZodString>;
|
|
5447
5451
|
permissions: ZodOptional<ZodArray<ZodEnum<{
|
|
5452
|
+
admin: "admin";
|
|
5448
5453
|
read: "read";
|
|
5449
5454
|
write: "write";
|
|
5450
|
-
admin: "admin";
|
|
5451
5455
|
forward: "forward";
|
|
5452
5456
|
}>>>;
|
|
5453
5457
|
rateLimits: ZodOptional<ZodObject<{
|
|
@@ -5594,8 +5598,8 @@ export declare const RevokeProvisionResponseSchema: ZodObject<{
|
|
|
5594
5598
|
}, $strip>;
|
|
5595
5599
|
export type RevokeProvisionResponse = output<typeof RevokeProvisionResponseSchema>;
|
|
5596
5600
|
export declare const ProvisioningOrganizationRoleSchema: ZodEnum<{
|
|
5597
|
-
admin: "admin";
|
|
5598
5601
|
owner: "owner";
|
|
5602
|
+
admin: "admin";
|
|
5599
5603
|
}>;
|
|
5600
5604
|
export type ProvisioningOrganizationRole = output<typeof ProvisioningOrganizationRoleSchema>;
|
|
5601
5605
|
export declare const ProvisioningOrganizationSummarySchema: ZodObject<{
|
|
@@ -5603,8 +5607,8 @@ export declare const ProvisioningOrganizationSummarySchema: ZodObject<{
|
|
|
5603
5607
|
name: ZodString;
|
|
5604
5608
|
slug: ZodString;
|
|
5605
5609
|
role: ZodEnum<{
|
|
5606
|
-
admin: "admin";
|
|
5607
5610
|
owner: "owner";
|
|
5611
|
+
admin: "admin";
|
|
5608
5612
|
}>;
|
|
5609
5613
|
}, $strip>;
|
|
5610
5614
|
export type ProvisioningOrganizationSummary = output<typeof ProvisioningOrganizationSummarySchema>;
|
|
@@ -5638,8 +5642,8 @@ export declare const ListProvisioningOrganizationsResponseSchema: ZodObject<{
|
|
|
5638
5642
|
name: ZodString;
|
|
5639
5643
|
slug: ZodString;
|
|
5640
5644
|
role: ZodEnum<{
|
|
5641
|
-
admin: "admin";
|
|
5642
5645
|
owner: "owner";
|
|
5646
|
+
admin: "admin";
|
|
5643
5647
|
}>;
|
|
5644
5648
|
}, $strip>>;
|
|
5645
5649
|
}, $strip>;
|
|
@@ -5676,8 +5680,8 @@ export declare const CreateProvisioningOrganizationResponseSchema: ZodObject<{
|
|
|
5676
5680
|
name: ZodString;
|
|
5677
5681
|
slug: ZodString;
|
|
5678
5682
|
role: ZodEnum<{
|
|
5679
|
-
admin: "admin";
|
|
5680
5683
|
owner: "owner";
|
|
5684
|
+
admin: "admin";
|
|
5681
5685
|
}>;
|
|
5682
5686
|
}, $strip>;
|
|
5683
5687
|
}, $strip>;
|
|
@@ -5752,7 +5756,7 @@ export declare const UpdateOrganizationSchema: ZodObject<{
|
|
|
5752
5756
|
}, $strip>>;
|
|
5753
5757
|
}, $strip>;
|
|
5754
5758
|
export type UpdateOrganizationRequest = output<typeof UpdateOrganizationSchema>;
|
|
5755
|
-
declare const AnalyticsQuerySchema
|
|
5759
|
+
export declare const AnalyticsQuerySchema: ZodObject<{
|
|
5756
5760
|
projectId: ZodOptional<ZodString>;
|
|
5757
5761
|
pixelId: ZodOptional<ZodString>;
|
|
5758
5762
|
organizationId: ZodOptional<ZodString>;
|
|
@@ -5773,7 +5777,7 @@ declare const AnalyticsQuerySchema$1: ZodObject<{
|
|
|
5773
5777
|
}>>;
|
|
5774
5778
|
aiAgentsOnly: ZodOptional<ZodCoercedBoolean<unknown>>;
|
|
5775
5779
|
}, $strip>;
|
|
5776
|
-
export type AnalyticsQueryRequest = output<typeof AnalyticsQuerySchema
|
|
5780
|
+
export type AnalyticsQueryRequest = output<typeof AnalyticsQuerySchema>;
|
|
5777
5781
|
export declare const ExportAnalyticsSchema: ZodObject<{
|
|
5778
5782
|
projectId: ZodOptional<ZodString>;
|
|
5779
5783
|
organizationId: ZodOptional<ZodString>;
|
|
@@ -5786,10 +5790,10 @@ export declare const ExportAnalyticsSchema: ZodObject<{
|
|
|
5786
5790
|
}>>;
|
|
5787
5791
|
sections: ZodDefault<ZodOptional<ZodArray<ZodEnum<{
|
|
5788
5792
|
confidence: "confidence";
|
|
5793
|
+
sessions: "sessions";
|
|
5789
5794
|
overview: "overview";
|
|
5790
5795
|
traffic: "traffic";
|
|
5791
5796
|
agents: "agents";
|
|
5792
|
-
sessions: "sessions";
|
|
5793
5797
|
}>>>>;
|
|
5794
5798
|
includeRawData: ZodDefault<ZodOptional<ZodBoolean>>;
|
|
5795
5799
|
showAIAgentsOnly: ZodDefault<ZodOptional<ZodBoolean>>;
|
|
@@ -6464,8 +6468,8 @@ export declare const OrganizationSettingsSchema: ZodObject<{
|
|
|
6464
6468
|
}, $strip>;
|
|
6465
6469
|
export type OrganizationSettings = output<typeof OrganizationSettingsSchema>;
|
|
6466
6470
|
export declare const OrganizationRoleSchema: ZodEnum<{
|
|
6467
|
-
admin: "admin";
|
|
6468
6471
|
owner: "owner";
|
|
6472
|
+
admin: "admin";
|
|
6469
6473
|
member: "member";
|
|
6470
6474
|
}>;
|
|
6471
6475
|
export type OrganizationRole = output<typeof OrganizationRoleSchema>;
|
|
@@ -8859,8 +8863,8 @@ export declare const assignmentChangeRequestSchema: ZodObject<{
|
|
|
8859
8863
|
userId: ZodString;
|
|
8860
8864
|
organizationId: ZodString;
|
|
8861
8865
|
role: ZodEnum<{
|
|
8862
|
-
admin: "admin";
|
|
8863
8866
|
owner: "owner";
|
|
8867
|
+
admin: "admin";
|
|
8864
8868
|
member: "member";
|
|
8865
8869
|
}>;
|
|
8866
8870
|
action: ZodEnum<{
|
|
@@ -8874,8 +8878,8 @@ export declare const batchAssignmentRequestSchema: ZodObject<{
|
|
|
8874
8878
|
userIds: ZodArray<ZodString>;
|
|
8875
8879
|
organizationId: ZodString;
|
|
8876
8880
|
role: ZodEnum<{
|
|
8877
|
-
admin: "admin";
|
|
8878
8881
|
owner: "owner";
|
|
8882
|
+
admin: "admin";
|
|
8879
8883
|
member: "member";
|
|
8880
8884
|
}>;
|
|
8881
8885
|
action: ZodEnum<{
|
|
@@ -9896,6 +9900,15 @@ export interface CustomerJourneyRow {
|
|
|
9896
9900
|
stalled: boolean;
|
|
9897
9901
|
createdAt: string;
|
|
9898
9902
|
}
|
|
9903
|
+
export interface CompletedNotInstalledRow {
|
|
9904
|
+
userId: string;
|
|
9905
|
+
email: string;
|
|
9906
|
+
name: string | null;
|
|
9907
|
+
onboardingCompletedAt: string;
|
|
9908
|
+
onboardingChannel: string | null;
|
|
9909
|
+
organizationId: string | null;
|
|
9910
|
+
organizationName: string | null;
|
|
9911
|
+
}
|
|
9899
9912
|
export interface PixelInstallationRow {
|
|
9900
9913
|
pixelId: string;
|
|
9901
9914
|
pixelName: string;
|
|
@@ -10168,38 +10181,12 @@ export declare function deriveCorrelationId(headers: Headers | Record<string, st
|
|
|
10168
10181
|
//#endregion
|
|
10169
10182
|
//#region src/schemas/auth.d.ts
|
|
10170
10183
|
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
10184
|
export declare const resetPasswordSchema: ZodObject<{
|
|
10185
10185
|
token: ZodString;
|
|
10186
10186
|
password: ZodString;
|
|
10187
10187
|
confirmPassword: ZodString;
|
|
10188
10188
|
}, $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
10189
|
type ResetPasswordData = output<typeof resetPasswordSchema>;
|
|
10201
|
-
type ChangePasswordData = output<typeof changePasswordSchema>;
|
|
10202
|
-
type VerifyEmailData = output<typeof verifyEmailSchema>;
|
|
10203
10190
|
//#endregion
|
|
10204
10191
|
//#region src/schemas/admin.d.ts
|
|
10205
10192
|
export declare const PerformanceRecalculationRequestSchema: ZodObject<{
|
|
@@ -10209,7 +10196,6 @@ export declare const PerformanceRecalculationRequestSchema: ZodObject<{
|
|
|
10209
10196
|
monthly: "monthly";
|
|
10210
10197
|
}>>>;
|
|
10211
10198
|
}, $strip>;
|
|
10212
|
-
type PerformanceRecalculationRequest = output<typeof PerformanceRecalculationRequestSchema>;
|
|
10213
10199
|
export declare const GrowthOpportunityUpdateSchema: ZodObject<{
|
|
10214
10200
|
opportunityId: ZodString;
|
|
10215
10201
|
status: ZodOptional<ZodEnum<{
|
|
@@ -10228,12 +10214,10 @@ export declare const GrowthOpportunityUpdateSchema: ZodObject<{
|
|
|
10228
10214
|
}>>;
|
|
10229
10215
|
dismissedReason: ZodOptional<ZodNullable<ZodString>>;
|
|
10230
10216
|
}, $strip>;
|
|
10231
|
-
type GrowthOpportunityUpdate = output<typeof GrowthOpportunityUpdateSchema>;
|
|
10232
10217
|
export declare const GrowthBatchRequestSchema: ZodObject<{
|
|
10233
10218
|
runBatch: ZodDefault<ZodOptional<ZodBoolean>>;
|
|
10234
10219
|
organizationIds: ZodOptional<ZodArray<ZodString>>;
|
|
10235
10220
|
}, $strip>;
|
|
10236
|
-
type GrowthBatchRequest = output<typeof GrowthBatchRequestSchema>;
|
|
10237
10221
|
export declare const GrowthConfigurationThresholdsSchema: ZodObject<{
|
|
10238
10222
|
minAiTrafficRate: ZodOptional<ZodNumber>;
|
|
10239
10223
|
highAiTrafficThreshold: ZodOptional<ZodNumber>;
|
|
@@ -10255,7 +10239,6 @@ export declare const GrowthConfigurationThresholdsSchema: ZodObject<{
|
|
|
10255
10239
|
minSessionsForBenefit: ZodOptional<ZodNumber>;
|
|
10256
10240
|
minAiRateForBenefit: ZodOptional<ZodNumber>;
|
|
10257
10241
|
}, $strict>;
|
|
10258
|
-
type GrowthConfigurationThresholds = output<typeof GrowthConfigurationThresholdsSchema>;
|
|
10259
10242
|
export declare const GrowthConfigurationUpdateSchema: ZodObject<{
|
|
10260
10243
|
configType: ZodEnum<{
|
|
10261
10244
|
enterprise: "enterprise";
|
|
@@ -10285,7 +10268,6 @@ export declare const GrowthConfigurationUpdateSchema: ZodObject<{
|
|
|
10285
10268
|
minAiRateForBenefit: ZodOptional<ZodNumber>;
|
|
10286
10269
|
}, $strict>;
|
|
10287
10270
|
}, $strip>;
|
|
10288
|
-
type GrowthConfigurationUpdate = output<typeof GrowthConfigurationUpdateSchema>;
|
|
10289
10271
|
export declare const GrowthConfigurationResetSchema: ZodObject<{
|
|
10290
10272
|
configType: ZodEnum<{
|
|
10291
10273
|
enterprise: "enterprise";
|
|
@@ -10295,7 +10277,6 @@ export declare const GrowthConfigurationResetSchema: ZodObject<{
|
|
|
10295
10277
|
integration: "integration";
|
|
10296
10278
|
}>;
|
|
10297
10279
|
}, $strip>;
|
|
10298
|
-
type GrowthConfigurationReset = output<typeof GrowthConfigurationResetSchema>;
|
|
10299
10280
|
export declare const AdminQueryParamsSchema: ZodObject<{
|
|
10300
10281
|
limit: ZodDefault<ZodOptional<ZodCoercedNumber<unknown>>>;
|
|
10301
10282
|
offset: ZodDefault<ZodOptional<ZodCoercedNumber<unknown>>>;
|
|
@@ -10305,7 +10286,6 @@ export declare const AdminQueryParamsSchema: ZodObject<{
|
|
|
10305
10286
|
desc: "desc";
|
|
10306
10287
|
}>>>;
|
|
10307
10288
|
}, $strip>;
|
|
10308
|
-
type AdminQueryParams = output<typeof AdminQueryParamsSchema>;
|
|
10309
10289
|
export declare const GrowthOpportunitiesQuerySchema: ZodObject<{
|
|
10310
10290
|
limit: ZodDefault<ZodOptional<ZodCoercedNumber<unknown>>>;
|
|
10311
10291
|
offset: ZodDefault<ZodOptional<ZodCoercedNumber<unknown>>>;
|
|
@@ -10334,7 +10314,6 @@ export declare const GrowthOpportunitiesQuerySchema: ZodObject<{
|
|
|
10334
10314
|
}>>;
|
|
10335
10315
|
assignedTo: ZodOptional<ZodString>;
|
|
10336
10316
|
}, $strip>;
|
|
10337
|
-
type GrowthOpportunitiesQuery = output<typeof GrowthOpportunitiesQuerySchema>;
|
|
10338
10317
|
export declare const RecommendationQuerySchema: ZodObject<{
|
|
10339
10318
|
organizationId: ZodOptional<ZodString>;
|
|
10340
10319
|
type: ZodOptional<ZodEnum<{
|
|
@@ -10346,16 +10325,14 @@ export declare const RecommendationQuerySchema: ZodObject<{
|
|
|
10346
10325
|
minConfidence: ZodOptional<ZodCoercedNumber<unknown>>;
|
|
10347
10326
|
limit: ZodDefault<ZodOptional<ZodCoercedNumber<unknown>>>;
|
|
10348
10327
|
}, $strip>;
|
|
10349
|
-
type RecommendationQuery = output<typeof RecommendationQuerySchema>;
|
|
10350
10328
|
export declare const RecommendationGenerationSchema: ZodObject<{
|
|
10351
10329
|
organizationId: ZodString;
|
|
10352
10330
|
forceRefresh: ZodDefault<ZodOptional<ZodBoolean>>;
|
|
10353
10331
|
}, $strip>;
|
|
10354
|
-
type RecommendationGeneration = output<typeof RecommendationGenerationSchema>;
|
|
10355
10332
|
//#endregion
|
|
10356
10333
|
//#region src/schemas/provider-registry.d.ts
|
|
10357
|
-
type LegacyAuthProviderType
|
|
10358
|
-
export declare function mapLegacyAuthType(legacyType: LegacyAuthProviderType
|
|
10334
|
+
type LegacyAuthProviderType = 'oauth2' | 'credential';
|
|
10335
|
+
export declare function mapLegacyAuthType(legacyType: LegacyAuthProviderType | string): 'oauth2' | 'password' | string;
|
|
10359
10336
|
export declare function mapToLegacyAuthType(canonicalType: string): 'oauth2' | 'credential' | string;
|
|
10360
10337
|
export declare const AUTHORIZATION_MODES: {
|
|
10361
10338
|
readonly OAUTH: "oauth";
|
|
@@ -10376,15 +10353,6 @@ export declare const OAuthConnectionStatusSchema: ZodEnum<{
|
|
|
10376
10353
|
connected: "connected";
|
|
10377
10354
|
disconnected: "disconnected";
|
|
10378
10355
|
}>;
|
|
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
10356
|
export declare const BaseAuthProviderSchema: ZodObject<{
|
|
10389
10357
|
displayName: ZodOptional<ZodString>;
|
|
10390
10358
|
status: ZodDefault<ZodEnum<{
|
|
@@ -10393,7 +10361,6 @@ export declare const BaseAuthProviderSchema: ZodObject<{
|
|
|
10393
10361
|
disconnected: "disconnected";
|
|
10394
10362
|
}>>;
|
|
10395
10363
|
}, $strip>;
|
|
10396
|
-
type BaseAuthProvider = output<typeof BaseAuthProviderSchema>;
|
|
10397
10364
|
export declare const OAuth2ProviderSchema: ZodObject<{
|
|
10398
10365
|
displayName: ZodOptional<ZodString>;
|
|
10399
10366
|
status: ZodDefault<ZodEnum<{
|
|
@@ -10440,6 +10407,10 @@ export declare const CredentialProviderSchema: ZodObject<{
|
|
|
10440
10407
|
type: ZodLiteral<"credential">;
|
|
10441
10408
|
authEndpoint: ZodString;
|
|
10442
10409
|
requestBodyTemplate: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
10410
|
+
requestEncoding: ZodOptional<ZodEnum<{
|
|
10411
|
+
json: "json";
|
|
10412
|
+
form: "form";
|
|
10413
|
+
}>>;
|
|
10443
10414
|
responseFields: ZodObject<{
|
|
10444
10415
|
sessionToken: ZodString;
|
|
10445
10416
|
userId: ZodOptional<ZodString>;
|
|
@@ -10537,6 +10508,10 @@ export declare const ConfiguredProviderSchema: ZodDiscriminatedUnion<[ZodObject<
|
|
|
10537
10508
|
type: ZodLiteral<"credential">;
|
|
10538
10509
|
authEndpoint: ZodString;
|
|
10539
10510
|
requestBodyTemplate: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
10511
|
+
requestEncoding: ZodOptional<ZodEnum<{
|
|
10512
|
+
json: "json";
|
|
10513
|
+
form: "form";
|
|
10514
|
+
}>>;
|
|
10540
10515
|
responseFields: ZodObject<{
|
|
10541
10516
|
sessionToken: ZodString;
|
|
10542
10517
|
userId: ZodOptional<ZodString>;
|
|
@@ -10634,6 +10609,10 @@ export declare const OAuthProvidersMapSchema: ZodRecord<ZodString, ZodDiscrimina
|
|
|
10634
10609
|
type: ZodLiteral<"credential">;
|
|
10635
10610
|
authEndpoint: ZodString;
|
|
10636
10611
|
requestBodyTemplate: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
10612
|
+
requestEncoding: ZodOptional<ZodEnum<{
|
|
10613
|
+
json: "json";
|
|
10614
|
+
form: "form";
|
|
10615
|
+
}>>;
|
|
10637
10616
|
responseFields: ZodObject<{
|
|
10638
10617
|
sessionToken: ZodString;
|
|
10639
10618
|
userId: ZodOptional<ZodString>;
|
|
@@ -10686,7 +10665,6 @@ export declare const OAuthProvidersMapSchema: ZodRecord<ZodString, ZodDiscrimina
|
|
|
10686
10665
|
lastRotatedAt: ZodOptional<ZodString>;
|
|
10687
10666
|
}, $strip>>;
|
|
10688
10667
|
}, $strip>], "type">>;
|
|
10689
|
-
type OAuthProvidersMap = output<typeof OAuthProvidersMapSchema>;
|
|
10690
10668
|
export declare const AddUpdateProviderRequestSchema: ZodDiscriminatedUnion<[ZodObject<{
|
|
10691
10669
|
displayName: ZodOptional<ZodString>;
|
|
10692
10670
|
status: ZodDefault<ZodEnum<{
|
|
@@ -10731,6 +10709,10 @@ export declare const AddUpdateProviderRequestSchema: ZodDiscriminatedUnion<[ZodO
|
|
|
10731
10709
|
type: ZodLiteral<"credential">;
|
|
10732
10710
|
authEndpoint: ZodString;
|
|
10733
10711
|
requestBodyTemplate: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
10712
|
+
requestEncoding: ZodOptional<ZodEnum<{
|
|
10713
|
+
json: "json";
|
|
10714
|
+
form: "form";
|
|
10715
|
+
}>>;
|
|
10734
10716
|
responseFields: ZodObject<{
|
|
10735
10717
|
sessionToken: ZodString;
|
|
10736
10718
|
userId: ZodOptional<ZodString>;
|
|
@@ -10783,7 +10765,6 @@ export declare const AddUpdateProviderRequestSchema: ZodDiscriminatedUnion<[ZodO
|
|
|
10783
10765
|
lastRotatedAt: ZodOptional<ZodString>;
|
|
10784
10766
|
}, $strip>>;
|
|
10785
10767
|
}, $strip>], "type">;
|
|
10786
|
-
type AddUpdateProviderRequest = output<typeof AddUpdateProviderRequestSchema>;
|
|
10787
10768
|
export declare const ScopeSchema: ZodObject<{
|
|
10788
10769
|
name: ZodString;
|
|
10789
10770
|
description: ZodOptional<ZodString>;
|
|
@@ -10804,7 +10785,6 @@ export declare const CRISPBudgetSchema: ZodObject<{
|
|
|
10804
10785
|
computeUnitsPerHour: ZodOptional<ZodNumber>;
|
|
10805
10786
|
computeUnitsPerDay: ZodOptional<ZodNumber>;
|
|
10806
10787
|
}, $strip>;
|
|
10807
|
-
type CRISPBudget = output<typeof CRISPBudgetSchema>;
|
|
10808
10788
|
export declare const ConsentBrandingSchema: ZodObject<{
|
|
10809
10789
|
primaryColor: ZodOptional<ZodString>;
|
|
10810
10790
|
secondaryColor: ZodOptional<ZodString>;
|
|
@@ -10852,8 +10832,8 @@ export declare const ConsentCapabilitySchema: ZodObject<{
|
|
|
10852
10832
|
description: ZodString;
|
|
10853
10833
|
icon: ZodEnum<{
|
|
10854
10834
|
key: "key";
|
|
10855
|
-
user: "user";
|
|
10856
10835
|
search: "search";
|
|
10836
|
+
user: "user";
|
|
10857
10837
|
package: "package";
|
|
10858
10838
|
send: "send";
|
|
10859
10839
|
tools: "tools";
|
|
@@ -10878,7 +10858,6 @@ export declare const ConsentCapabilitySchema: ZodObject<{
|
|
|
10878
10858
|
scopes: ZodArray<ZodString>;
|
|
10879
10859
|
category: ZodOptional<ZodString>;
|
|
10880
10860
|
}, $strip>;
|
|
10881
|
-
type ConsentCapability = output<typeof ConsentCapabilitySchema>;
|
|
10882
10861
|
export declare const ConsentCapabilityGroupSchema: ZodObject<{
|
|
10883
10862
|
id: ZodString;
|
|
10884
10863
|
label: ZodString;
|
|
@@ -10888,8 +10867,8 @@ export declare const ConsentCapabilityGroupSchema: ZodObject<{
|
|
|
10888
10867
|
description: ZodString;
|
|
10889
10868
|
icon: ZodEnum<{
|
|
10890
10869
|
key: "key";
|
|
10891
|
-
user: "user";
|
|
10892
10870
|
search: "search";
|
|
10871
|
+
user: "user";
|
|
10893
10872
|
package: "package";
|
|
10894
10873
|
send: "send";
|
|
10895
10874
|
tools: "tools";
|
|
@@ -10925,7 +10904,6 @@ export declare const ConsentAgentMetadataSchema: ZodObject<{
|
|
|
10925
10904
|
logoUrl: ZodOptional<ZodString>;
|
|
10926
10905
|
connectedAt: ZodOptional<ZodString>;
|
|
10927
10906
|
}, $strip>;
|
|
10928
|
-
type ConsentAgentMetadata = output<typeof ConsentAgentMetadataSchema>;
|
|
10929
10907
|
export declare const ConsentInputCopySchema: ZodObject<{
|
|
10930
10908
|
label: ZodOptional<ZodString>;
|
|
10931
10909
|
hint: ZodOptional<ZodString>;
|
|
@@ -10945,7 +10923,6 @@ export declare const ConsentSignInCopySchema: ZodObject<{
|
|
|
10945
10923
|
prompt: ZodOptional<ZodString>;
|
|
10946
10924
|
}, $strip>>;
|
|
10947
10925
|
}, $strip>;
|
|
10948
|
-
type ConsentSignInCopy = output<typeof ConsentSignInCopySchema>;
|
|
10949
10926
|
export declare const ConsentScopeLabelsSchema: ZodRecord<ZodString, ZodString>;
|
|
10950
10927
|
export declare const ConsentConfigSchema: ZodObject<{
|
|
10951
10928
|
branding: ZodOptional<ZodObject<{
|
|
@@ -11005,8 +10982,8 @@ export declare const ConsentConfigSchema: ZodObject<{
|
|
|
11005
10982
|
description: ZodString;
|
|
11006
10983
|
icon: ZodEnum<{
|
|
11007
10984
|
key: "key";
|
|
11008
|
-
user: "user";
|
|
11009
10985
|
search: "search";
|
|
10986
|
+
user: "user";
|
|
11010
10987
|
package: "package";
|
|
11011
10988
|
send: "send";
|
|
11012
10989
|
tools: "tools";
|
|
@@ -11068,29 +11045,6 @@ export declare const ConsentConfigSchema: ZodObject<{
|
|
|
11068
11045
|
scopeLabels: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
11069
11046
|
}, $strip>;
|
|
11070
11047
|
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
11048
|
export declare const BouncerConfigSchema: ZodObject<{
|
|
11095
11049
|
id: ZodString;
|
|
11096
11050
|
projectId: ZodString;
|
|
@@ -11150,6 +11104,10 @@ export declare const BouncerConfigSchema: ZodObject<{
|
|
|
11150
11104
|
type: ZodLiteral<"credential">;
|
|
11151
11105
|
authEndpoint: ZodString;
|
|
11152
11106
|
requestBodyTemplate: ZodOptional<ZodRecord<ZodString, ZodString>>;
|
|
11107
|
+
requestEncoding: ZodOptional<ZodEnum<{
|
|
11108
|
+
json: "json";
|
|
11109
|
+
form: "form";
|
|
11110
|
+
}>>;
|
|
11153
11111
|
responseFields: ZodObject<{
|
|
11154
11112
|
sessionToken: ZodString;
|
|
11155
11113
|
userId: ZodOptional<ZodString>;
|
|
@@ -11289,8 +11247,8 @@ export declare const BouncerConfigSchema: ZodObject<{
|
|
|
11289
11247
|
description: ZodString;
|
|
11290
11248
|
icon: ZodEnum<{
|
|
11291
11249
|
key: "key";
|
|
11292
|
-
user: "user";
|
|
11293
11250
|
search: "search";
|
|
11251
|
+
user: "user";
|
|
11294
11252
|
package: "package";
|
|
11295
11253
|
send: "send";
|
|
11296
11254
|
tools: "tools";
|
|
@@ -11447,8 +11405,8 @@ export declare const UpdateBouncerConfigSchema: ZodObject<{
|
|
|
11447
11405
|
description: ZodString;
|
|
11448
11406
|
icon: ZodEnum<{
|
|
11449
11407
|
key: "key";
|
|
11450
|
-
user: "user";
|
|
11451
11408
|
search: "search";
|
|
11409
|
+
user: "user";
|
|
11452
11410
|
package: "package";
|
|
11453
11411
|
send: "send";
|
|
11454
11412
|
tools: "tools";
|
|
@@ -11517,88 +11475,17 @@ export declare const RefreshScopesRequestSchema: ZodObject<{
|
|
|
11517
11475
|
mcpServerUrl: ZodOptional<ZodString>;
|
|
11518
11476
|
}, $strict>;
|
|
11519
11477
|
type RefreshScopesRequest = output<typeof RefreshScopesRequestSchema>;
|
|
11520
|
-
|
|
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<{
|
|
11478
|
+
declare const BouncerOutcomeSchema: ZodEnum<{
|
|
11552
11479
|
error: "error";
|
|
11553
11480
|
success: "success";
|
|
11554
11481
|
failed: "failed";
|
|
11555
11482
|
blocked: "blocked";
|
|
11556
11483
|
}>;
|
|
11557
11484
|
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
11485
|
export declare const OAuthModeSchema: ZodEnum<{
|
|
11598
11486
|
proxy: "proxy";
|
|
11599
11487
|
direct: "direct";
|
|
11600
11488
|
}>;
|
|
11601
|
-
type OAuthMode = output<typeof OAuthModeSchema>;
|
|
11602
11489
|
export declare const OAuthProviderMetadataSchema: ZodObject<{
|
|
11603
11490
|
clientId: ZodNullable<ZodString>;
|
|
11604
11491
|
hasClientSecret: ZodBoolean;
|
|
@@ -11688,43 +11575,6 @@ export declare const OAuthTokensResponseSchema: ZodObject<{
|
|
|
11688
11575
|
timestamp: ZodString;
|
|
11689
11576
|
}, $strip>;
|
|
11690
11577
|
}, $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
11578
|
//#endregion
|
|
11729
11579
|
//#region src/schemas/consent-policy-endpoint.d.ts
|
|
11730
11580
|
export declare const ConsentPolicyRiskLevelSchema: ZodEnum<{
|
|
@@ -12094,176 +11944,6 @@ export declare function validateOrThrow<T>(schema: ZodSchema<T>, data: unknown):
|
|
|
12094
11944
|
export declare function partial<T extends ZodRawShape>(schema: ZodObject<T>): ZodObject<{ -readonly [k in keyof T]: ZodOptional<T[k]>; }, $strip>;
|
|
12095
11945
|
export declare function strict<T extends ZodRawShape>(schema: ZodObject<T>): ZodObject<T, $strict>;
|
|
12096
11946
|
//#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
11947
|
//#region src/schemas/rules.d.ts
|
|
12268
11948
|
export declare const UserAgentRuleSchema: ZodObject<{
|
|
12269
11949
|
patterns: ZodArray<ZodString>;
|
|
@@ -12487,16 +12167,6 @@ export declare const DetectionRulesSchema: ZodObject<{
|
|
|
12487
12167
|
}, $strip>;
|
|
12488
12168
|
}, $strip>;
|
|
12489
12169
|
}, $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
12170
|
export declare const RuleValidationResultSchema: ZodObject<{
|
|
12501
12171
|
valid: ZodBoolean;
|
|
12502
12172
|
errors: ZodOptional<ZodArray<ZodObject<{
|
|
@@ -12509,33 +12179,8 @@ export declare const RuleValidationResultSchema: ZodObject<{
|
|
|
12509
12179
|
message: ZodString;
|
|
12510
12180
|
}, $strip>>>;
|
|
12511
12181
|
}, $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
12182
|
type RuleValidationResult$1 = output<typeof RuleValidationResultSchema>;
|
|
12537
12183
|
export declare function validateRules(rules: unknown): RuleValidationResult$1;
|
|
12538
|
-
export declare function parseRules(rules: unknown): DetectionRules$1;
|
|
12539
12184
|
export declare function validateRulesLoose(rules: unknown): RuleValidationResult$1;
|
|
12540
12185
|
//#endregion
|
|
12541
12186
|
//#region src/rules/rule-loader.d.ts
|
|
@@ -13897,8 +13542,8 @@ export declare const ManagementConsentContextSchema: ZodObject<{
|
|
|
13897
13542
|
id: ZodString;
|
|
13898
13543
|
name: ZodString;
|
|
13899
13544
|
role: ZodEnum<{
|
|
13900
|
-
admin: "admin";
|
|
13901
13545
|
owner: "owner";
|
|
13546
|
+
admin: "admin";
|
|
13902
13547
|
member: "member";
|
|
13903
13548
|
}>;
|
|
13904
13549
|
projects: ZodArray<ZodObject<{
|
|
@@ -14022,14 +13667,14 @@ export declare const TaskGrantSchema: ZodObject<{
|
|
|
14022
13667
|
}, $strict>;
|
|
14023
13668
|
export type TaskGrant = output<typeof TaskGrantSchema>;
|
|
14024
13669
|
export declare const TaskGrantStatusValueSchema: ZodEnum<{
|
|
14025
|
-
active: "active";
|
|
14026
13670
|
expired: "expired";
|
|
13671
|
+
active: "active";
|
|
14027
13672
|
revoked: "revoked";
|
|
14028
13673
|
replaced: "replaced";
|
|
14029
13674
|
}>;
|
|
14030
13675
|
export declare const TaskGrantEffectiveStatusSchema: ZodEnum<{
|
|
14031
|
-
active: "active";
|
|
14032
13676
|
expired: "expired";
|
|
13677
|
+
active: "active";
|
|
14033
13678
|
revoked: "revoked";
|
|
14034
13679
|
replaced: "replaced";
|
|
14035
13680
|
not_yet_valid: "not_yet_valid";
|
|
@@ -14039,14 +13684,14 @@ export declare const TaskGrantStatusSchema: ZodObject<{
|
|
|
14039
13684
|
schema: ZodLiteral<"kya.task.grant-status.v1">;
|
|
14040
13685
|
grantId: ZodString;
|
|
14041
13686
|
status: ZodEnum<{
|
|
14042
|
-
active: "active";
|
|
14043
13687
|
expired: "expired";
|
|
13688
|
+
active: "active";
|
|
14044
13689
|
revoked: "revoked";
|
|
14045
13690
|
replaced: "replaced";
|
|
14046
13691
|
}>;
|
|
14047
13692
|
effectiveStatus: ZodEnum<{
|
|
14048
|
-
active: "active";
|
|
14049
13693
|
expired: "expired";
|
|
13694
|
+
active: "active";
|
|
14050
13695
|
revoked: "revoked";
|
|
14051
13696
|
replaced: "replaced";
|
|
14052
13697
|
not_yet_valid: "not_yet_valid";
|
|
@@ -14258,14 +13903,14 @@ export declare const TaskGrantViewSchema: ZodObject<{
|
|
|
14258
13903
|
schema: ZodLiteral<"kya.task.grant-status.v1">;
|
|
14259
13904
|
grantId: ZodString;
|
|
14260
13905
|
status: ZodEnum<{
|
|
14261
|
-
active: "active";
|
|
14262
13906
|
expired: "expired";
|
|
13907
|
+
active: "active";
|
|
14263
13908
|
revoked: "revoked";
|
|
14264
13909
|
replaced: "replaced";
|
|
14265
13910
|
}>;
|
|
14266
13911
|
effectiveStatus: ZodEnum<{
|
|
14267
|
-
active: "active";
|
|
14268
13912
|
expired: "expired";
|
|
13913
|
+
active: "active";
|
|
14269
13914
|
revoked: "revoked";
|
|
14270
13915
|
replaced: "replaced";
|
|
14271
13916
|
not_yet_valid: "not_yet_valid";
|
|
@@ -14322,14 +13967,14 @@ export declare const TaskGrantListSchema: ZodObject<{
|
|
|
14322
13967
|
schema: ZodLiteral<"kya.task.grant-status.v1">;
|
|
14323
13968
|
grantId: ZodString;
|
|
14324
13969
|
status: ZodEnum<{
|
|
14325
|
-
active: "active";
|
|
14326
13970
|
expired: "expired";
|
|
13971
|
+
active: "active";
|
|
14327
13972
|
revoked: "revoked";
|
|
14328
13973
|
replaced: "replaced";
|
|
14329
13974
|
}>;
|
|
14330
13975
|
effectiveStatus: ZodEnum<{
|
|
14331
|
-
active: "active";
|
|
14332
13976
|
expired: "expired";
|
|
13977
|
+
active: "active";
|
|
14333
13978
|
revoked: "revoked";
|
|
14334
13979
|
replaced: "replaced";
|
|
14335
13980
|
not_yet_valid: "not_yet_valid";
|
|
@@ -14387,14 +14032,14 @@ export declare const TaskGrantIssueResultSchema: ZodObject<{
|
|
|
14387
14032
|
schema: ZodLiteral<"kya.task.grant-status.v1">;
|
|
14388
14033
|
grantId: ZodString;
|
|
14389
14034
|
status: ZodEnum<{
|
|
14390
|
-
active: "active";
|
|
14391
14035
|
expired: "expired";
|
|
14036
|
+
active: "active";
|
|
14392
14037
|
revoked: "revoked";
|
|
14393
14038
|
replaced: "replaced";
|
|
14394
14039
|
}>;
|
|
14395
14040
|
effectiveStatus: ZodEnum<{
|
|
14396
|
-
active: "active";
|
|
14397
14041
|
expired: "expired";
|
|
14042
|
+
active: "active";
|
|
14398
14043
|
revoked: "revoked";
|
|
14399
14044
|
replaced: "replaced";
|
|
14400
14045
|
not_yet_valid: "not_yet_valid";
|
|
@@ -14452,14 +14097,14 @@ export declare const TaskGrantRevocationSchema: ZodObject<{
|
|
|
14452
14097
|
schema: ZodLiteral<"kya.task.grant-status.v1">;
|
|
14453
14098
|
grantId: ZodString;
|
|
14454
14099
|
status: ZodEnum<{
|
|
14455
|
-
active: "active";
|
|
14456
14100
|
expired: "expired";
|
|
14101
|
+
active: "active";
|
|
14457
14102
|
revoked: "revoked";
|
|
14458
14103
|
replaced: "replaced";
|
|
14459
14104
|
}>;
|
|
14460
14105
|
effectiveStatus: ZodEnum<{
|
|
14461
|
-
active: "active";
|
|
14462
14106
|
expired: "expired";
|
|
14107
|
+
active: "active";
|
|
14463
14108
|
revoked: "revoked";
|
|
14464
14109
|
replaced: "replaced";
|
|
14465
14110
|
not_yet_valid: "not_yet_valid";
|
|
@@ -14566,10 +14211,10 @@ export declare const ProjectIdentitySchema: ZodObject<{
|
|
|
14566
14211
|
}, $strict>;
|
|
14567
14212
|
export type ProjectIdentity = output<typeof ProjectIdentitySchema>;
|
|
14568
14213
|
export declare const IdentityIntentActionSchema: ZodEnum<{
|
|
14214
|
+
link: "link";
|
|
14569
14215
|
create: "create";
|
|
14570
14216
|
register: "register";
|
|
14571
14217
|
repair: "repair";
|
|
14572
|
-
link: "link";
|
|
14573
14218
|
}>;
|
|
14574
14219
|
export type IdentityIntentAction = output<typeof IdentityIntentActionSchema>;
|
|
14575
14220
|
export declare const IdentityIntentRequestSchema: ZodDiscriminatedUnion<[ZodObject<{
|
|
@@ -14588,8 +14233,8 @@ export declare const IdentityIntentRequestSchema: ZodDiscriminatedUnion<[ZodObje
|
|
|
14588
14233
|
}, $strict>], "action">;
|
|
14589
14234
|
export type IdentityIntentRequest = output<typeof IdentityIntentRequestSchema>;
|
|
14590
14235
|
export declare const IdentityIntentStateSchema: ZodEnum<{
|
|
14591
|
-
unknown: "unknown";
|
|
14592
14236
|
expired: "expired";
|
|
14237
|
+
unknown: "unknown";
|
|
14593
14238
|
failed: "failed";
|
|
14594
14239
|
succeeded: "succeeded";
|
|
14595
14240
|
reviewed: "reviewed";
|
|
@@ -14601,15 +14246,15 @@ export declare const IdentityIntentSchema: ZodObject<{
|
|
|
14601
14246
|
organizationId: ZodString;
|
|
14602
14247
|
projectId: ZodString;
|
|
14603
14248
|
action: ZodEnum<{
|
|
14249
|
+
link: "link";
|
|
14604
14250
|
create: "create";
|
|
14605
14251
|
register: "register";
|
|
14606
14252
|
repair: "repair";
|
|
14607
|
-
link: "link";
|
|
14608
14253
|
}>;
|
|
14609
14254
|
deploymentId: ZodNullable<ZodString>;
|
|
14610
14255
|
state: ZodEnum<{
|
|
14611
|
-
unknown: "unknown";
|
|
14612
14256
|
expired: "expired";
|
|
14257
|
+
unknown: "unknown";
|
|
14613
14258
|
failed: "failed";
|
|
14614
14259
|
succeeded: "succeeded";
|
|
14615
14260
|
reviewed: "reviewed";
|
|
@@ -14932,21 +14577,21 @@ export declare function readableText(value: string): string;
|
|
|
14932
14577
|
//#endregion
|
|
14933
14578
|
//#region src/api/delegation-management.d.ts
|
|
14934
14579
|
export declare const DelegationStoredStatusSchema: ZodEnum<{
|
|
14935
|
-
active: "active";
|
|
14936
14580
|
expired: "expired";
|
|
14581
|
+
active: "active";
|
|
14937
14582
|
revoked: "revoked";
|
|
14938
14583
|
}>;
|
|
14939
14584
|
export type DelegationStoredStatus = output<typeof DelegationStoredStatusSchema>;
|
|
14940
14585
|
export declare const DelegationEffectiveStatusSchema: ZodEnum<{
|
|
14941
|
-
active: "active";
|
|
14942
14586
|
expired: "expired";
|
|
14587
|
+
active: "active";
|
|
14943
14588
|
revoked: "revoked";
|
|
14944
14589
|
not_yet_valid: "not_yet_valid";
|
|
14945
14590
|
}>;
|
|
14946
14591
|
export type DelegationEffectiveStatus = output<typeof DelegationEffectiveStatusSchema>;
|
|
14947
14592
|
export declare const DelegationListStatusFilterSchema: ZodEnum<{
|
|
14948
|
-
active: "active";
|
|
14949
14593
|
expired: "expired";
|
|
14594
|
+
active: "active";
|
|
14950
14595
|
revoked: "revoked";
|
|
14951
14596
|
all: "all";
|
|
14952
14597
|
}>;
|
|
@@ -14970,13 +14615,13 @@ export declare const DelegationManagementItemSchema: ZodObject<{
|
|
|
14970
14615
|
maxCalls: ZodNullable<ZodNumber>;
|
|
14971
14616
|
}, $strict>;
|
|
14972
14617
|
status: ZodEnum<{
|
|
14973
|
-
active: "active";
|
|
14974
14618
|
expired: "expired";
|
|
14619
|
+
active: "active";
|
|
14975
14620
|
revoked: "revoked";
|
|
14976
14621
|
}>;
|
|
14977
14622
|
effectiveStatus: ZodEnum<{
|
|
14978
|
-
active: "active";
|
|
14979
14623
|
expired: "expired";
|
|
14624
|
+
active: "active";
|
|
14980
14625
|
revoked: "revoked";
|
|
14981
14626
|
not_yet_valid: "not_yet_valid";
|
|
14982
14627
|
}>;
|
|
@@ -15003,13 +14648,13 @@ export declare const DelegationManagementListSchema: ZodObject<{
|
|
|
15003
14648
|
maxCalls: ZodNullable<ZodNumber>;
|
|
15004
14649
|
}, $strict>;
|
|
15005
14650
|
status: ZodEnum<{
|
|
15006
|
-
active: "active";
|
|
15007
14651
|
expired: "expired";
|
|
14652
|
+
active: "active";
|
|
15008
14653
|
revoked: "revoked";
|
|
15009
14654
|
}>;
|
|
15010
14655
|
effectiveStatus: ZodEnum<{
|
|
15011
|
-
active: "active";
|
|
15012
14656
|
expired: "expired";
|
|
14657
|
+
active: "active";
|
|
15013
14658
|
revoked: "revoked";
|
|
15014
14659
|
not_yet_valid: "not_yet_valid";
|
|
15015
14660
|
}>;
|
|
@@ -15099,13 +14744,13 @@ export declare const DelegationManagementDetailSchema: ZodObject<{
|
|
|
15099
14744
|
maxCalls: ZodNullable<ZodNumber>;
|
|
15100
14745
|
}, $strict>;
|
|
15101
14746
|
status: ZodEnum<{
|
|
15102
|
-
active: "active";
|
|
15103
14747
|
expired: "expired";
|
|
14748
|
+
active: "active";
|
|
15104
14749
|
revoked: "revoked";
|
|
15105
14750
|
}>;
|
|
15106
14751
|
effectiveStatus: ZodEnum<{
|
|
15107
|
-
active: "active";
|
|
15108
14752
|
expired: "expired";
|
|
14753
|
+
active: "active";
|
|
15109
14754
|
revoked: "revoked";
|
|
15110
14755
|
not_yet_valid: "not_yet_valid";
|
|
15111
14756
|
}>;
|
|
@@ -15328,5 +14973,5 @@ export type AsyncResult<T, E = Error> = Promise<{
|
|
|
15328
14973
|
export declare const VERSION = "0.1.0";
|
|
15329
14974
|
export declare const PACKAGE_NAME = "@kya-os/checkpoint-shared";
|
|
15330
14975
|
//#endregion
|
|
15331
|
-
export { ACCEPT_CHALLENGE_HEADER, ANONYMOUS_PRINCIPAL_DID,
|
|
14976
|
+
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, 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, 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, requestCarriesDelegationProof, requestPresentedCredential, requiredScopesForRequest, resolveBotSignals, resolveChallengeContext, resolveClientIp, resolveObservedClientAddress, safeParsePolicyConfig, selectBodyReadable200, serveBodyReadable200, splitCedarBlocks, statementApplies, statementId, testPattern, testPatterns, validateStepUpQuorum, withNoEvidenceExclusion, withoutTrailingDots };
|
|
15332
14977
|
//# sourceMappingURL=index.d.mts.map
|