@vorionsys/platform-core 0.1.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/LICENSE +190 -0
- package/README.md +88 -0
- package/dist/a2a/attestation.d.ts +145 -0
- package/dist/a2a/attestation.d.ts.map +1 -0
- package/dist/a2a/attestation.js +353 -0
- package/dist/a2a/attestation.js.map +1 -0
- package/dist/a2a/chain-of-trust.d.ts +143 -0
- package/dist/a2a/chain-of-trust.d.ts.map +1 -0
- package/dist/a2a/chain-of-trust.js +422 -0
- package/dist/a2a/chain-of-trust.js.map +1 -0
- package/dist/a2a/index.d.ts +15 -0
- package/dist/a2a/index.d.ts.map +1 -0
- package/dist/a2a/index.js +23 -0
- package/dist/a2a/index.js.map +1 -0
- package/dist/a2a/openapi.d.ts +22 -0
- package/dist/a2a/openapi.d.ts.map +1 -0
- package/dist/a2a/openapi.js +1133 -0
- package/dist/a2a/openapi.js.map +1 -0
- package/dist/a2a/router.d.ts +167 -0
- package/dist/a2a/router.d.ts.map +1 -0
- package/dist/a2a/router.js +454 -0
- package/dist/a2a/router.js.map +1 -0
- package/dist/a2a/routes.d.ts +11 -0
- package/dist/a2a/routes.d.ts.map +1 -0
- package/dist/a2a/routes.js +442 -0
- package/dist/a2a/routes.js.map +1 -0
- package/dist/a2a/trust-negotiation.d.ts +119 -0
- package/dist/a2a/trust-negotiation.d.ts.map +1 -0
- package/dist/a2a/trust-negotiation.js +425 -0
- package/dist/a2a/trust-negotiation.js.map +1 -0
- package/dist/a2a/types.d.ts +413 -0
- package/dist/a2a/types.d.ts.map +1 -0
- package/dist/a2a/types.js +38 -0
- package/dist/a2a/types.js.map +1 -0
- package/dist/agent-registry/a3i-cache.d.ts +113 -0
- package/dist/agent-registry/a3i-cache.d.ts.map +1 -0
- package/dist/agent-registry/a3i-cache.js +305 -0
- package/dist/agent-registry/a3i-cache.js.map +1 -0
- package/dist/agent-registry/index.d.ts +14 -0
- package/dist/agent-registry/index.d.ts.map +1 -0
- package/dist/agent-registry/index.js +17 -0
- package/dist/agent-registry/index.js.map +1 -0
- package/dist/agent-registry/openapi.d.ts +23 -0
- package/dist/agent-registry/openapi.d.ts.map +1 -0
- package/dist/agent-registry/openapi.js +1377 -0
- package/dist/agent-registry/openapi.js.map +1 -0
- package/dist/agent-registry/routes.d.ts +10 -0
- package/dist/agent-registry/routes.d.ts.map +1 -0
- package/dist/agent-registry/routes.js +485 -0
- package/dist/agent-registry/routes.js.map +1 -0
- package/dist/agent-registry/service.d.ts +159 -0
- package/dist/agent-registry/service.d.ts.map +1 -0
- package/dist/agent-registry/service.js +652 -0
- package/dist/agent-registry/service.js.map +1 -0
- package/dist/agent-registry/tenant-service.d.ts +104 -0
- package/dist/agent-registry/tenant-service.d.ts.map +1 -0
- package/dist/agent-registry/tenant-service.js +313 -0
- package/dist/agent-registry/tenant-service.js.map +1 -0
- package/dist/api/auth.d.ts +55 -0
- package/dist/api/auth.d.ts.map +1 -0
- package/dist/api/auth.js +322 -0
- package/dist/api/auth.js.map +1 -0
- package/dist/api/errors.d.ts +146 -0
- package/dist/api/errors.d.ts.map +1 -0
- package/dist/api/errors.js +464 -0
- package/dist/api/errors.js.map +1 -0
- package/dist/api/index.d.ts +15 -0
- package/dist/api/index.d.ts.map +1 -0
- package/dist/api/index.js +19 -0
- package/dist/api/index.js.map +1 -0
- package/dist/api/middleware/api-key-enforcement.d.ts +131 -0
- package/dist/api/middleware/api-key-enforcement.d.ts.map +1 -0
- package/dist/api/middleware/api-key-enforcement.js +674 -0
- package/dist/api/middleware/api-key-enforcement.js.map +1 -0
- package/dist/api/middleware/audit.d.ts +151 -0
- package/dist/api/middleware/audit.d.ts.map +1 -0
- package/dist/api/middleware/audit.js +384 -0
- package/dist/api/middleware/audit.js.map +1 -0
- package/dist/api/middleware/dpop-enforcement.d.ts +176 -0
- package/dist/api/middleware/dpop-enforcement.d.ts.map +1 -0
- package/dist/api/middleware/dpop-enforcement.js +596 -0
- package/dist/api/middleware/dpop-enforcement.js.map +1 -0
- package/dist/api/middleware/index.d.ts +24 -0
- package/dist/api/middleware/index.d.ts.map +1 -0
- package/dist/api/middleware/index.js +43 -0
- package/dist/api/middleware/index.js.map +1 -0
- package/dist/api/middleware/metrics.d.ts +41 -0
- package/dist/api/middleware/metrics.d.ts.map +1 -0
- package/dist/api/middleware/metrics.js +150 -0
- package/dist/api/middleware/metrics.js.map +1 -0
- package/dist/api/middleware/rate-limits.d.ts +224 -0
- package/dist/api/middleware/rate-limits.d.ts.map +1 -0
- package/dist/api/middleware/rate-limits.js +686 -0
- package/dist/api/middleware/rate-limits.js.map +1 -0
- package/dist/api/middleware/rateLimit.d.ts +165 -0
- package/dist/api/middleware/rateLimit.d.ts.map +1 -0
- package/dist/api/middleware/rateLimit.js +477 -0
- package/dist/api/middleware/rateLimit.js.map +1 -0
- package/dist/api/middleware/redis-rate-limiter.d.ts +279 -0
- package/dist/api/middleware/redis-rate-limiter.d.ts.map +1 -0
- package/dist/api/middleware/redis-rate-limiter.js +1074 -0
- package/dist/api/middleware/redis-rate-limiter.js.map +1 -0
- package/dist/api/middleware/security-headers.d.ts +248 -0
- package/dist/api/middleware/security-headers.d.ts.map +1 -0
- package/dist/api/middleware/security-headers.js +410 -0
- package/dist/api/middleware/security-headers.js.map +1 -0
- package/dist/api/middleware/security.d.ts +156 -0
- package/dist/api/middleware/security.d.ts.map +1 -0
- package/dist/api/middleware/security.js +412 -0
- package/dist/api/middleware/security.js.map +1 -0
- package/dist/api/middleware/validation.d.ts +132 -0
- package/dist/api/middleware/validation.d.ts.map +1 -0
- package/dist/api/middleware/validation.js +363 -0
- package/dist/api/middleware/validation.js.map +1 -0
- package/dist/api/middleware/webhook-verify.d.ts +130 -0
- package/dist/api/middleware/webhook-verify.d.ts.map +1 -0
- package/dist/api/middleware/webhook-verify.js +366 -0
- package/dist/api/middleware/webhook-verify.js.map +1 -0
- package/dist/api/rate-limit.d.ts +115 -0
- package/dist/api/rate-limit.d.ts.map +1 -0
- package/dist/api/rate-limit.js +335 -0
- package/dist/api/rate-limit.js.map +1 -0
- package/dist/api/server.d.ts +37 -0
- package/dist/api/server.d.ts.map +1 -0
- package/dist/api/server.js +2086 -0
- package/dist/api/server.js.map +1 -0
- package/dist/api/validation.d.ts +243 -0
- package/dist/api/validation.d.ts.map +1 -0
- package/dist/api/validation.js +247 -0
- package/dist/api/validation.js.map +1 -0
- package/dist/audit/compliance-reporter.d.ts +271 -0
- package/dist/audit/compliance-reporter.d.ts.map +1 -0
- package/dist/audit/compliance-reporter.js +587 -0
- package/dist/audit/compliance-reporter.js.map +1 -0
- package/dist/audit/db-store.d.ts +689 -0
- package/dist/audit/db-store.d.ts.map +1 -0
- package/dist/audit/db-store.js +589 -0
- package/dist/audit/db-store.js.map +1 -0
- package/dist/audit/event-schema.d.ts +605 -0
- package/dist/audit/event-schema.d.ts.map +1 -0
- package/dist/audit/event-schema.js +566 -0
- package/dist/audit/event-schema.js.map +1 -0
- package/dist/audit/index.d.ts +16 -0
- package/dist/audit/index.d.ts.map +1 -0
- package/dist/audit/index.js +44 -0
- package/dist/audit/index.js.map +1 -0
- package/dist/audit/security-events.d.ts +1624 -0
- package/dist/audit/security-events.d.ts.map +1 -0
- package/dist/audit/security-events.js +775 -0
- package/dist/audit/security-events.js.map +1 -0
- package/dist/audit/security-logger.d.ts +288 -0
- package/dist/audit/security-logger.d.ts.map +1 -0
- package/dist/audit/security-logger.js +820 -0
- package/dist/audit/security-logger.js.map +1 -0
- package/dist/audit/service.d.ts +206 -0
- package/dist/audit/service.d.ts.map +1 -0
- package/dist/audit/service.js +756 -0
- package/dist/audit/service.js.map +1 -0
- package/dist/audit/siem/elastic.d.ts +94 -0
- package/dist/audit/siem/elastic.d.ts.map +1 -0
- package/dist/audit/siem/elastic.js +412 -0
- package/dist/audit/siem/elastic.js.map +1 -0
- package/dist/audit/siem/index.d.ts +179 -0
- package/dist/audit/siem/index.d.ts.map +1 -0
- package/dist/audit/siem/index.js +368 -0
- package/dist/audit/siem/index.js.map +1 -0
- package/dist/audit/siem/loki.d.ts +100 -0
- package/dist/audit/siem/loki.d.ts.map +1 -0
- package/dist/audit/siem/loki.js +406 -0
- package/dist/audit/siem/loki.js.map +1 -0
- package/dist/audit/siem/splunk.d.ts +91 -0
- package/dist/audit/siem/splunk.d.ts.map +1 -0
- package/dist/audit/siem/splunk.js +375 -0
- package/dist/audit/siem/splunk.js.map +1 -0
- package/dist/audit/siem/types.d.ts +547 -0
- package/dist/audit/siem/types.d.ts.map +1 -0
- package/dist/audit/siem/types.js +270 -0
- package/dist/audit/siem/types.js.map +1 -0
- package/dist/audit/types.d.ts +410 -0
- package/dist/audit/types.d.ts.map +1 -0
- package/dist/audit/types.js +130 -0
- package/dist/audit/types.js.map +1 -0
- package/dist/auth/index.d.ts +10 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/index.js +10 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/auth/mfa/index.d.ts +9 -0
- package/dist/auth/mfa/index.d.ts.map +1 -0
- package/dist/auth/mfa/index.js +9 -0
- package/dist/auth/mfa/index.js.map +1 -0
- package/dist/auth/mfa/totp.d.ts +222 -0
- package/dist/auth/mfa/totp.d.ts.map +1 -0
- package/dist/auth/mfa/totp.js +329 -0
- package/dist/auth/mfa/totp.js.map +1 -0
- package/dist/auth/piv-cac/card-removal-handler.d.ts +197 -0
- package/dist/auth/piv-cac/card-removal-handler.d.ts.map +1 -0
- package/dist/auth/piv-cac/card-removal-handler.js +560 -0
- package/dist/auth/piv-cac/card-removal-handler.js.map +1 -0
- package/dist/auth/piv-cac/certificate-auth.d.ts +117 -0
- package/dist/auth/piv-cac/certificate-auth.d.ts.map +1 -0
- package/dist/auth/piv-cac/certificate-auth.js +727 -0
- package/dist/auth/piv-cac/certificate-auth.js.map +1 -0
- package/dist/auth/piv-cac/certificate-mapper.d.ts +141 -0
- package/dist/auth/piv-cac/certificate-mapper.d.ts.map +1 -0
- package/dist/auth/piv-cac/certificate-mapper.js +569 -0
- package/dist/auth/piv-cac/certificate-mapper.js.map +1 -0
- package/dist/auth/piv-cac/crl-validator.d.ts +195 -0
- package/dist/auth/piv-cac/crl-validator.d.ts.map +1 -0
- package/dist/auth/piv-cac/crl-validator.js +824 -0
- package/dist/auth/piv-cac/crl-validator.js.map +1 -0
- package/dist/auth/piv-cac/index.d.ts +72 -0
- package/dist/auth/piv-cac/index.d.ts.map +1 -0
- package/dist/auth/piv-cac/index.js +172 -0
- package/dist/auth/piv-cac/index.js.map +1 -0
- package/dist/auth/piv-cac/ocsp-validator.d.ts +183 -0
- package/dist/auth/piv-cac/ocsp-validator.d.ts.map +1 -0
- package/dist/auth/piv-cac/ocsp-validator.js +657 -0
- package/dist/auth/piv-cac/ocsp-validator.js.map +1 -0
- package/dist/auth/piv-cac/piv-middleware.d.ts +95 -0
- package/dist/auth/piv-cac/piv-middleware.d.ts.map +1 -0
- package/dist/auth/piv-cac/piv-middleware.js +524 -0
- package/dist/auth/piv-cac/piv-middleware.js.map +1 -0
- package/dist/auth/piv-cac/piv-routes.d.ts +29 -0
- package/dist/auth/piv-cac/piv-routes.d.ts.map +1 -0
- package/dist/auth/piv-cac/piv-routes.js +534 -0
- package/dist/auth/piv-cac/piv-routes.js.map +1 -0
- package/dist/auth/piv-cac/pkcs11-provider.d.ts +280 -0
- package/dist/auth/piv-cac/pkcs11-provider.d.ts.map +1 -0
- package/dist/auth/piv-cac/pkcs11-provider.js +535 -0
- package/dist/auth/piv-cac/pkcs11-provider.js.map +1 -0
- package/dist/auth/piv-cac/types.d.ts +4098 -0
- package/dist/auth/piv-cac/types.d.ts.map +1 -0
- package/dist/auth/piv-cac/types.js +495 -0
- package/dist/auth/piv-cac/types.js.map +1 -0
- package/dist/basis/evaluator.d.ts +72 -0
- package/dist/basis/evaluator.d.ts.map +1 -0
- package/dist/basis/evaluator.js +275 -0
- package/dist/basis/evaluator.js.map +1 -0
- package/dist/basis/expression-evaluator.d.ts +77 -0
- package/dist/basis/expression-evaluator.d.ts.map +1 -0
- package/dist/basis/expression-evaluator.js +826 -0
- package/dist/basis/expression-evaluator.js.map +1 -0
- package/dist/basis/index.d.ts +13 -0
- package/dist/basis/index.d.ts.map +1 -0
- package/dist/basis/index.js +13 -0
- package/dist/basis/index.js.map +1 -0
- package/dist/basis/parser.d.ts +376 -0
- package/dist/basis/parser.d.ts.map +1 -0
- package/dist/basis/parser.js +178 -0
- package/dist/basis/parser.js.map +1 -0
- package/dist/basis/types.d.ts +115 -0
- package/dist/basis/types.d.ts.map +1 -0
- package/dist/basis/types.js +5 -0
- package/dist/basis/types.js.map +1 -0
- package/dist/car-extensions/aci-string-extensions.d.ts +10 -0
- package/dist/car-extensions/aci-string-extensions.d.ts.map +1 -0
- package/dist/car-extensions/aci-string-extensions.js +24 -0
- package/dist/car-extensions/aci-string-extensions.js.map +1 -0
- package/dist/car-extensions/builtin-extensions/audit.d.ts +88 -0
- package/dist/car-extensions/builtin-extensions/audit.d.ts.map +1 -0
- package/dist/car-extensions/builtin-extensions/audit.js +445 -0
- package/dist/car-extensions/builtin-extensions/audit.js.map +1 -0
- package/dist/car-extensions/builtin-extensions/governance.d.ts +32 -0
- package/dist/car-extensions/builtin-extensions/governance.d.ts.map +1 -0
- package/dist/car-extensions/builtin-extensions/governance.js +534 -0
- package/dist/car-extensions/builtin-extensions/governance.js.map +1 -0
- package/dist/car-extensions/builtin-extensions/monitoring.d.ts +43 -0
- package/dist/car-extensions/builtin-extensions/monitoring.d.ts.map +1 -0
- package/dist/car-extensions/builtin-extensions/monitoring.js +416 -0
- package/dist/car-extensions/builtin-extensions/monitoring.js.map +1 -0
- package/dist/car-extensions/car-string-extensions.d.ts +355 -0
- package/dist/car-extensions/car-string-extensions.d.ts.map +1 -0
- package/dist/car-extensions/car-string-extensions.js +473 -0
- package/dist/car-extensions/car-string-extensions.js.map +1 -0
- package/dist/car-extensions/executor.d.ts +208 -0
- package/dist/car-extensions/executor.d.ts.map +1 -0
- package/dist/car-extensions/executor.js +789 -0
- package/dist/car-extensions/executor.js.map +1 -0
- package/dist/car-extensions/index.d.ts +94 -0
- package/dist/car-extensions/index.d.ts.map +1 -0
- package/dist/car-extensions/index.js +159 -0
- package/dist/car-extensions/index.js.map +1 -0
- package/dist/car-extensions/registry.d.ts +217 -0
- package/dist/car-extensions/registry.d.ts.map +1 -0
- package/dist/car-extensions/registry.js +450 -0
- package/dist/car-extensions/registry.js.map +1 -0
- package/dist/car-extensions/service.d.ts +220 -0
- package/dist/car-extensions/service.d.ts.map +1 -0
- package/dist/car-extensions/service.js +486 -0
- package/dist/car-extensions/service.js.map +1 -0
- package/dist/car-extensions/types.d.ts +2269 -0
- package/dist/car-extensions/types.d.ts.map +1 -0
- package/dist/car-extensions/types.js +389 -0
- package/dist/car-extensions/types.js.map +1 -0
- package/dist/cognigate/index.d.ts +192 -0
- package/dist/cognigate/index.d.ts.map +1 -0
- package/dist/cognigate/index.js +435 -0
- package/dist/cognigate/index.js.map +1 -0
- package/dist/cognigate/sandbox/capability-broker.d.ts +166 -0
- package/dist/cognigate/sandbox/capability-broker.d.ts.map +1 -0
- package/dist/cognigate/sandbox/capability-broker.js +461 -0
- package/dist/cognigate/sandbox/capability-broker.js.map +1 -0
- package/dist/cognigate/sandbox/filesystem-policy.d.ts +139 -0
- package/dist/cognigate/sandbox/filesystem-policy.d.ts.map +1 -0
- package/dist/cognigate/sandbox/filesystem-policy.js +426 -0
- package/dist/cognigate/sandbox/filesystem-policy.js.map +1 -0
- package/dist/cognigate/sandbox/index.d.ts +17 -0
- package/dist/cognigate/sandbox/index.d.ts.map +1 -0
- package/dist/cognigate/sandbox/index.js +24 -0
- package/dist/cognigate/sandbox/index.js.map +1 -0
- package/dist/cognigate/sandbox/network-policy.d.ts +126 -0
- package/dist/cognigate/sandbox/network-policy.d.ts.map +1 -0
- package/dist/cognigate/sandbox/network-policy.js +382 -0
- package/dist/cognigate/sandbox/network-policy.js.map +1 -0
- package/dist/cognigate/sandbox/sandbox-service.d.ts +70 -0
- package/dist/cognigate/sandbox/sandbox-service.d.ts.map +1 -0
- package/dist/cognigate/sandbox/sandbox-service.js +472 -0
- package/dist/cognigate/sandbox/sandbox-service.js.map +1 -0
- package/dist/cognigate/sandbox/types.d.ts +376 -0
- package/dist/cognigate/sandbox/types.d.ts.map +1 -0
- package/dist/cognigate/sandbox/types.js +179 -0
- package/dist/cognigate/sandbox/types.js.map +1 -0
- package/dist/common/adapters/index.d.ts +34 -0
- package/dist/common/adapters/index.d.ts.map +1 -0
- package/dist/common/adapters/index.js +46 -0
- package/dist/common/adapters/index.js.map +1 -0
- package/dist/common/adapters/memory-cache.d.ts +91 -0
- package/dist/common/adapters/memory-cache.d.ts.map +1 -0
- package/dist/common/adapters/memory-cache.js +201 -0
- package/dist/common/adapters/memory-cache.js.map +1 -0
- package/dist/common/adapters/memory-lock.d.ts +75 -0
- package/dist/common/adapters/memory-lock.d.ts.map +1 -0
- package/dist/common/adapters/memory-lock.js +219 -0
- package/dist/common/adapters/memory-lock.js.map +1 -0
- package/dist/common/adapters/memory-queue.d.ts +64 -0
- package/dist/common/adapters/memory-queue.d.ts.map +1 -0
- package/dist/common/adapters/memory-queue.js +233 -0
- package/dist/common/adapters/memory-queue.js.map +1 -0
- package/dist/common/adapters/memory-ratelimit.d.ts +78 -0
- package/dist/common/adapters/memory-ratelimit.d.ts.map +1 -0
- package/dist/common/adapters/memory-ratelimit.js +196 -0
- package/dist/common/adapters/memory-ratelimit.js.map +1 -0
- package/dist/common/adapters/memory-session.d.ts +105 -0
- package/dist/common/adapters/memory-session.d.ts.map +1 -0
- package/dist/common/adapters/memory-session.js +302 -0
- package/dist/common/adapters/memory-session.js.map +1 -0
- package/dist/common/adapters/provider.d.ts +47 -0
- package/dist/common/adapters/provider.d.ts.map +1 -0
- package/dist/common/adapters/provider.js +347 -0
- package/dist/common/adapters/provider.js.map +1 -0
- package/dist/common/adapters/types.d.ts +247 -0
- package/dist/common/adapters/types.d.ts.map +1 -0
- package/dist/common/adapters/types.js +11 -0
- package/dist/common/adapters/types.js.map +1 -0
- package/dist/common/alerts.d.ts +57 -0
- package/dist/common/alerts.d.ts.map +1 -0
- package/dist/common/alerts.js +216 -0
- package/dist/common/alerts.js.map +1 -0
- package/dist/common/authorization.d.ts +137 -0
- package/dist/common/authorization.d.ts.map +1 -0
- package/dist/common/authorization.js +270 -0
- package/dist/common/authorization.js.map +1 -0
- package/dist/common/canonical-bridge.d.ts +153 -0
- package/dist/common/canonical-bridge.d.ts.map +1 -0
- package/dist/common/canonical-bridge.js +236 -0
- package/dist/common/canonical-bridge.js.map +1 -0
- package/dist/common/canonical-json.d.ts +64 -0
- package/dist/common/canonical-json.d.ts.map +1 -0
- package/dist/common/canonical-json.js +95 -0
- package/dist/common/canonical-json.js.map +1 -0
- package/dist/common/circuit-breaker.d.ts +320 -0
- package/dist/common/circuit-breaker.d.ts.map +1 -0
- package/dist/common/circuit-breaker.js +887 -0
- package/dist/common/circuit-breaker.js.map +1 -0
- package/dist/common/config.d.ts +2053 -0
- package/dist/common/config.d.ts.map +1 -0
- package/dist/common/config.js +1314 -0
- package/dist/common/config.js.map +1 -0
- package/dist/common/contracts/index.d.ts +2 -0
- package/dist/common/contracts/index.d.ts.map +1 -0
- package/dist/common/contracts/index.js +2 -0
- package/dist/common/contracts/index.js.map +1 -0
- package/dist/common/contracts/output.d.ts +81 -0
- package/dist/common/contracts/output.d.ts.map +1 -0
- package/dist/common/contracts/output.js +38 -0
- package/dist/common/contracts/output.js.map +1 -0
- package/dist/common/crypto-utils.d.ts +103 -0
- package/dist/common/crypto-utils.d.ts.map +1 -0
- package/dist/common/crypto-utils.js +275 -0
- package/dist/common/crypto-utils.js.map +1 -0
- package/dist/common/crypto.d.ts +70 -0
- package/dist/common/crypto.d.ts.map +1 -0
- package/dist/common/crypto.js +201 -0
- package/dist/common/crypto.js.map +1 -0
- package/dist/common/database-resilience.d.ts +156 -0
- package/dist/common/database-resilience.d.ts.map +1 -0
- package/dist/common/database-resilience.js +269 -0
- package/dist/common/database-resilience.js.map +1 -0
- package/dist/common/db-metrics.d.ts +90 -0
- package/dist/common/db-metrics.d.ts.map +1 -0
- package/dist/common/db-metrics.js +219 -0
- package/dist/common/db-metrics.js.map +1 -0
- package/dist/common/db-pool.d.ts +307 -0
- package/dist/common/db-pool.d.ts.map +1 -0
- package/dist/common/db-pool.js +879 -0
- package/dist/common/db-pool.js.map +1 -0
- package/dist/common/db.d.ts +105 -0
- package/dist/common/db.d.ts.map +1 -0
- package/dist/common/db.js +216 -0
- package/dist/common/db.js.map +1 -0
- package/dist/common/debug-auth-middleware.d.ts +111 -0
- package/dist/common/debug-auth-middleware.d.ts.map +1 -0
- package/dist/common/debug-auth-middleware.js +285 -0
- package/dist/common/debug-auth-middleware.js.map +1 -0
- package/dist/common/di.d.ts +202 -0
- package/dist/common/di.d.ts.map +1 -0
- package/dist/common/di.js +219 -0
- package/dist/common/di.js.map +1 -0
- package/dist/common/encryption.d.ts +233 -0
- package/dist/common/encryption.d.ts.map +1 -0
- package/dist/common/encryption.js +527 -0
- package/dist/common/encryption.js.map +1 -0
- package/dist/common/error-sanitizer.d.ts +67 -0
- package/dist/common/error-sanitizer.d.ts.map +1 -0
- package/dist/common/error-sanitizer.js +298 -0
- package/dist/common/error-sanitizer.js.map +1 -0
- package/dist/common/errors.d.ts +229 -0
- package/dist/common/errors.d.ts.map +1 -0
- package/dist/common/errors.js +349 -0
- package/dist/common/errors.js.map +1 -0
- package/dist/common/expression/evaluator.d.ts +58 -0
- package/dist/common/expression/evaluator.d.ts.map +1 -0
- package/dist/common/expression/evaluator.js +326 -0
- package/dist/common/expression/evaluator.js.map +1 -0
- package/dist/common/expression/index.d.ts +180 -0
- package/dist/common/expression/index.d.ts.map +1 -0
- package/dist/common/expression/index.js +198 -0
- package/dist/common/expression/index.js.map +1 -0
- package/dist/common/expression/lexer.d.ts +69 -0
- package/dist/common/expression/lexer.d.ts.map +1 -0
- package/dist/common/expression/lexer.js +255 -0
- package/dist/common/expression/lexer.js.map +1 -0
- package/dist/common/expression/parser.d.ts +133 -0
- package/dist/common/expression/parser.d.ts.map +1 -0
- package/dist/common/expression/parser.js +293 -0
- package/dist/common/expression/parser.js.map +1 -0
- package/dist/common/group-membership.d.ts +119 -0
- package/dist/common/group-membership.d.ts.map +1 -0
- package/dist/common/group-membership.js +250 -0
- package/dist/common/group-membership.js.map +1 -0
- package/dist/common/index.d.ts +14 -0
- package/dist/common/index.d.ts.map +1 -0
- package/dist/common/index.js +15 -0
- package/dist/common/index.js.map +1 -0
- package/dist/common/leader-election.d.ts +40 -0
- package/dist/common/leader-election.d.ts.map +1 -0
- package/dist/common/leader-election.js +232 -0
- package/dist/common/leader-election.js.map +1 -0
- package/dist/common/lock.d.ts +77 -0
- package/dist/common/lock.d.ts.map +1 -0
- package/dist/common/lock.js +167 -0
- package/dist/common/lock.js.map +1 -0
- package/dist/common/logger.d.ts +19 -0
- package/dist/common/logger.d.ts.map +1 -0
- package/dist/common/logger.js +80 -0
- package/dist/common/logger.js.map +1 -0
- package/dist/common/metrics-registry.d.ts +48 -0
- package/dist/common/metrics-registry.d.ts.map +1 -0
- package/dist/common/metrics-registry.js +77 -0
- package/dist/common/metrics-registry.js.map +1 -0
- package/dist/common/metrics.d.ts +204 -0
- package/dist/common/metrics.d.ts.map +1 -0
- package/dist/common/metrics.js +497 -0
- package/dist/common/metrics.js.map +1 -0
- package/dist/common/operation-tracker.d.ts +137 -0
- package/dist/common/operation-tracker.d.ts.map +1 -0
- package/dist/common/operation-tracker.js +366 -0
- package/dist/common/operation-tracker.js.map +1 -0
- package/dist/common/provenance/chain.d.ts +54 -0
- package/dist/common/provenance/chain.d.ts.map +1 -0
- package/dist/common/provenance/chain.js +252 -0
- package/dist/common/provenance/chain.js.map +1 -0
- package/dist/common/provenance/index.d.ts +14 -0
- package/dist/common/provenance/index.d.ts.map +1 -0
- package/dist/common/provenance/index.js +19 -0
- package/dist/common/provenance/index.js.map +1 -0
- package/dist/common/provenance/query.d.ts +111 -0
- package/dist/common/provenance/query.d.ts.map +1 -0
- package/dist/common/provenance/query.js +310 -0
- package/dist/common/provenance/query.js.map +1 -0
- package/dist/common/provenance/storage.d.ts +297 -0
- package/dist/common/provenance/storage.d.ts.map +1 -0
- package/dist/common/provenance/storage.js +436 -0
- package/dist/common/provenance/storage.js.map +1 -0
- package/dist/common/provenance/tracker.d.ts +57 -0
- package/dist/common/provenance/tracker.d.ts.map +1 -0
- package/dist/common/provenance/tracker.js +209 -0
- package/dist/common/provenance/tracker.js.map +1 -0
- package/dist/common/provenance/types.d.ts +146 -0
- package/dist/common/provenance/types.d.ts.map +1 -0
- package/dist/common/provenance/types.js +10 -0
- package/dist/common/provenance/types.js.map +1 -0
- package/dist/common/random.d.ts +84 -0
- package/dist/common/random.d.ts.map +1 -0
- package/dist/common/random.js +130 -0
- package/dist/common/random.js.map +1 -0
- package/dist/common/redaction.d.ts +49 -0
- package/dist/common/redaction.d.ts.map +1 -0
- package/dist/common/redaction.js +217 -0
- package/dist/common/redaction.js.map +1 -0
- package/dist/common/redis-cluster.d.ts +538 -0
- package/dist/common/redis-cluster.d.ts.map +1 -0
- package/dist/common/redis-cluster.js +1539 -0
- package/dist/common/redis-cluster.js.map +1 -0
- package/dist/common/redis-resilience.d.ts +270 -0
- package/dist/common/redis-resilience.d.ts.map +1 -0
- package/dist/common/redis-resilience.js +586 -0
- package/dist/common/redis-resilience.js.map +1 -0
- package/dist/common/redis.d.ts +19 -0
- package/dist/common/redis.d.ts.map +1 -0
- package/dist/common/redis.js +73 -0
- package/dist/common/redis.js.map +1 -0
- package/dist/common/safe-json.d.ts +246 -0
- package/dist/common/safe-json.d.ts.map +1 -0
- package/dist/common/safe-json.js +442 -0
- package/dist/common/safe-json.js.map +1 -0
- package/dist/common/secret-generator.d.ts +142 -0
- package/dist/common/secret-generator.d.ts.map +1 -0
- package/dist/common/secret-generator.js +286 -0
- package/dist/common/secret-generator.js.map +1 -0
- package/dist/common/secure-fetch.d.ts +182 -0
- package/dist/common/secure-fetch.d.ts.map +1 -0
- package/dist/common/secure-fetch.js +657 -0
- package/dist/common/secure-fetch.js.map +1 -0
- package/dist/common/security-mode.d.ts +151 -0
- package/dist/common/security-mode.d.ts.map +1 -0
- package/dist/common/security-mode.js +482 -0
- package/dist/common/security-mode.js.map +1 -0
- package/dist/common/telemetry/index.d.ts +82 -0
- package/dist/common/telemetry/index.d.ts.map +1 -0
- package/dist/common/telemetry/index.js +198 -0
- package/dist/common/telemetry/index.js.map +1 -0
- package/dist/common/telemetry/instrumentation.d.ts +167 -0
- package/dist/common/telemetry/instrumentation.d.ts.map +1 -0
- package/dist/common/telemetry/instrumentation.js +492 -0
- package/dist/common/telemetry/instrumentation.js.map +1 -0
- package/dist/common/telemetry/metrics-bridge.d.ts +227 -0
- package/dist/common/telemetry/metrics-bridge.d.ts.map +1 -0
- package/dist/common/telemetry/metrics-bridge.js +437 -0
- package/dist/common/telemetry/metrics-bridge.js.map +1 -0
- package/dist/common/telemetry/middleware.d.ts +114 -0
- package/dist/common/telemetry/middleware.d.ts.map +1 -0
- package/dist/common/telemetry/middleware.js +353 -0
- package/dist/common/telemetry/middleware.js.map +1 -0
- package/dist/common/telemetry/propagation.d.ts +221 -0
- package/dist/common/telemetry/propagation.d.ts.map +1 -0
- package/dist/common/telemetry/propagation.js +409 -0
- package/dist/common/telemetry/propagation.js.map +1 -0
- package/dist/common/telemetry/spans.d.ts +295 -0
- package/dist/common/telemetry/spans.d.ts.map +1 -0
- package/dist/common/telemetry/spans.js +439 -0
- package/dist/common/telemetry/spans.js.map +1 -0
- package/dist/common/telemetry/tracer.d.ts +155 -0
- package/dist/common/telemetry/tracer.d.ts.map +1 -0
- package/dist/common/telemetry/tracer.js +343 -0
- package/dist/common/telemetry/tracer.js.map +1 -0
- package/dist/common/telemetry.d.ts +15 -0
- package/dist/common/telemetry.d.ts.map +1 -0
- package/dist/common/telemetry.js +61 -0
- package/dist/common/telemetry.js.map +1 -0
- package/dist/common/tenant-context.d.ts +253 -0
- package/dist/common/tenant-context.d.ts.map +1 -0
- package/dist/common/tenant-context.js +259 -0
- package/dist/common/tenant-context.js.map +1 -0
- package/dist/common/tenant-verification.d.ts +86 -0
- package/dist/common/tenant-verification.d.ts.map +1 -0
- package/dist/common/tenant-verification.js +184 -0
- package/dist/common/tenant-verification.js.map +1 -0
- package/dist/common/timeout.d.ts +40 -0
- package/dist/common/timeout.d.ts.map +1 -0
- package/dist/common/timeout.js +82 -0
- package/dist/common/timeout.js.map +1 -0
- package/dist/common/token-revocation.d.ts +44 -0
- package/dist/common/token-revocation.d.ts.map +1 -0
- package/dist/common/token-revocation.js +169 -0
- package/dist/common/token-revocation.js.map +1 -0
- package/dist/common/trace.d.ts +149 -0
- package/dist/common/trace.d.ts.map +1 -0
- package/dist/common/trace.js +328 -0
- package/dist/common/trace.js.map +1 -0
- package/dist/common/trust-cache.d.ts +263 -0
- package/dist/common/trust-cache.d.ts.map +1 -0
- package/dist/common/trust-cache.js +670 -0
- package/dist/common/trust-cache.js.map +1 -0
- package/dist/common/types.d.ts +351 -0
- package/dist/common/types.d.ts.map +1 -0
- package/dist/common/types.js +55 -0
- package/dist/common/types.js.map +1 -0
- package/dist/common/validation.d.ts +113 -0
- package/dist/common/validation.d.ts.map +1 -0
- package/dist/common/validation.js +221 -0
- package/dist/common/validation.js.map +1 -0
- package/dist/db/client.d.ts +72 -0
- package/dist/db/client.d.ts.map +1 -0
- package/dist/db/client.js +110 -0
- package/dist/db/client.js.map +1 -0
- package/dist/db/index.d.ts +9 -0
- package/dist/db/index.d.ts.map +1 -0
- package/dist/db/index.js +9 -0
- package/dist/db/index.js.map +1 -0
- package/dist/db/schema/merkle.d.ts +475 -0
- package/dist/db/schema/merkle.d.ts.map +1 -0
- package/dist/db/schema/merkle.js +100 -0
- package/dist/db/schema/merkle.js.map +1 -0
- package/dist/db/schema/proofs.d.ts +412 -0
- package/dist/db/schema/proofs.d.ts.map +1 -0
- package/dist/db/schema/proofs.js +63 -0
- package/dist/db/schema/proofs.js.map +1 -0
- package/dist/enforce/adapters.d.ts +73 -0
- package/dist/enforce/adapters.d.ts.map +1 -0
- package/dist/enforce/adapters.js +293 -0
- package/dist/enforce/adapters.js.map +1 -0
- package/dist/enforce/index.d.ts +213 -0
- package/dist/enforce/index.d.ts.map +1 -0
- package/dist/enforce/index.js +630 -0
- package/dist/enforce/index.js.map +1 -0
- package/dist/enforce/repository.d.ts +203 -0
- package/dist/enforce/repository.d.ts.map +1 -0
- package/dist/enforce/repository.js +359 -0
- package/dist/enforce/repository.js.map +1 -0
- package/dist/enforce/schema.d.ts +1198 -0
- package/dist/enforce/schema.d.ts.map +1 -0
- package/dist/enforce/schema.js +257 -0
- package/dist/enforce/schema.js.map +1 -0
- package/dist/friction/index.d.ts +235 -0
- package/dist/friction/index.d.ts.map +1 -0
- package/dist/friction/index.js +636 -0
- package/dist/friction/index.js.map +1 -0
- package/dist/friction/openapi.d.ts +23 -0
- package/dist/friction/openapi.d.ts.map +1 -0
- package/dist/friction/openapi.js +883 -0
- package/dist/friction/openapi.js.map +1 -0
- package/dist/friction/routes.d.ts +14 -0
- package/dist/friction/routes.d.ts.map +1 -0
- package/dist/friction/routes.js +206 -0
- package/dist/friction/routes.js.map +1 -0
- package/dist/governance/engine.d.ts +158 -0
- package/dist/governance/engine.d.ts.map +1 -0
- package/dist/governance/engine.js +248 -0
- package/dist/governance/engine.js.map +1 -0
- package/dist/governance/evaluator.d.ts +106 -0
- package/dist/governance/evaluator.d.ts.map +1 -0
- package/dist/governance/evaluator.js +277 -0
- package/dist/governance/evaluator.js.map +1 -0
- package/dist/governance/index.d.ts +11 -0
- package/dist/governance/index.d.ts.map +1 -0
- package/dist/governance/index.js +14 -0
- package/dist/governance/index.js.map +1 -0
- package/dist/governance/policy.d.ts +152 -0
- package/dist/governance/policy.d.ts.map +1 -0
- package/dist/governance/policy.js +152 -0
- package/dist/governance/policy.js.map +1 -0
- package/dist/index.d.ts +50 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +61 -0
- package/dist/index.js.map +1 -0
- package/dist/intent/adapters.d.ts +101 -0
- package/dist/intent/adapters.d.ts.map +1 -0
- package/dist/intent/adapters.js +250 -0
- package/dist/intent/adapters.js.map +1 -0
- package/dist/intent/audit.d.ts +119 -0
- package/dist/intent/audit.d.ts.map +1 -0
- package/dist/intent/audit.js +463 -0
- package/dist/intent/audit.js.map +1 -0
- package/dist/intent/classifier/index.d.ts +121 -0
- package/dist/intent/classifier/index.d.ts.map +1 -0
- package/dist/intent/classifier/index.js +232 -0
- package/dist/intent/classifier/index.js.map +1 -0
- package/dist/intent/classifier/patterns.d.ts +129 -0
- package/dist/intent/classifier/patterns.d.ts.map +1 -0
- package/dist/intent/classifier/patterns.js +471 -0
- package/dist/intent/classifier/patterns.js.map +1 -0
- package/dist/intent/classifier/risk.d.ts +177 -0
- package/dist/intent/classifier/risk.d.ts.map +1 -0
- package/dist/intent/classifier/risk.js +335 -0
- package/dist/intent/classifier/risk.js.map +1 -0
- package/dist/intent/cleanup.d.ts +24 -0
- package/dist/intent/cleanup.d.ts.map +1 -0
- package/dist/intent/cleanup.js +104 -0
- package/dist/intent/cleanup.js.map +1 -0
- package/dist/intent/consent.d.ts +238 -0
- package/dist/intent/consent.d.ts.map +1 -0
- package/dist/intent/consent.js +427 -0
- package/dist/intent/consent.js.map +1 -0
- package/dist/intent/escalation.d.ts +284 -0
- package/dist/intent/escalation.d.ts.map +1 -0
- package/dist/intent/escalation.js +618 -0
- package/dist/intent/escalation.js.map +1 -0
- package/dist/intent/gdpr-rate-limiter.d.ts +170 -0
- package/dist/intent/gdpr-rate-limiter.d.ts.map +1 -0
- package/dist/intent/gdpr-rate-limiter.js +385 -0
- package/dist/intent/gdpr-rate-limiter.js.map +1 -0
- package/dist/intent/gdpr.d.ts +323 -0
- package/dist/intent/gdpr.d.ts.map +1 -0
- package/dist/intent/gdpr.js +1013 -0
- package/dist/intent/gdpr.js.map +1 -0
- package/dist/intent/health.d.ts +214 -0
- package/dist/intent/health.d.ts.map +1 -0
- package/dist/intent/health.js +526 -0
- package/dist/intent/health.js.map +1 -0
- package/dist/intent/index.d.ts +565 -0
- package/dist/intent/index.d.ts.map +1 -0
- package/dist/intent/index.js +756 -0
- package/dist/intent/index.js.map +1 -0
- package/dist/intent/metrics.d.ts +399 -0
- package/dist/intent/metrics.d.ts.map +1 -0
- package/dist/intent/metrics.js +886 -0
- package/dist/intent/metrics.js.map +1 -0
- package/dist/intent/openapi.d.ts +22 -0
- package/dist/intent/openapi.d.ts.map +1 -0
- package/dist/intent/openapi.js +1674 -0
- package/dist/intent/openapi.js.map +1 -0
- package/dist/intent/planner/dependency.d.ts +78 -0
- package/dist/intent/planner/dependency.d.ts.map +1 -0
- package/dist/intent/planner/dependency.js +334 -0
- package/dist/intent/planner/dependency.js.map +1 -0
- package/dist/intent/planner/index.d.ts +130 -0
- package/dist/intent/planner/index.d.ts.map +1 -0
- package/dist/intent/planner/index.js +372 -0
- package/dist/intent/planner/index.js.map +1 -0
- package/dist/intent/planner/rollback.d.ts +92 -0
- package/dist/intent/planner/rollback.d.ts.map +1 -0
- package/dist/intent/planner/rollback.js +326 -0
- package/dist/intent/planner/rollback.js.map +1 -0
- package/dist/intent/planner/templates.d.ts +81 -0
- package/dist/intent/planner/templates.d.ts.map +1 -0
- package/dist/intent/planner/templates.js +560 -0
- package/dist/intent/planner/templates.js.map +1 -0
- package/dist/intent/planner/types.d.ts +38 -0
- package/dist/intent/planner/types.d.ts.map +1 -0
- package/dist/intent/planner/types.js +10 -0
- package/dist/intent/planner/types.js.map +1 -0
- package/dist/intent/queue.d.ts +150 -0
- package/dist/intent/queue.d.ts.map +1 -0
- package/dist/intent/queue.js +339 -0
- package/dist/intent/queue.js.map +1 -0
- package/dist/intent/queues.d.ts +176 -0
- package/dist/intent/queues.d.ts.map +1 -0
- package/dist/intent/queues.js +1393 -0
- package/dist/intent/queues.js.map +1 -0
- package/dist/intent/ratelimit.d.ts +147 -0
- package/dist/intent/ratelimit.d.ts.map +1 -0
- package/dist/intent/ratelimit.js +301 -0
- package/dist/intent/ratelimit.js.map +1 -0
- package/dist/intent/replay/comparator.d.ts +73 -0
- package/dist/intent/replay/comparator.d.ts.map +1 -0
- package/dist/intent/replay/comparator.js +320 -0
- package/dist/intent/replay/comparator.js.map +1 -0
- package/dist/intent/replay/index.d.ts +104 -0
- package/dist/intent/replay/index.d.ts.map +1 -0
- package/dist/intent/replay/index.js +487 -0
- package/dist/intent/replay/index.js.map +1 -0
- package/dist/intent/replay/simulator.d.ts +184 -0
- package/dist/intent/replay/simulator.d.ts.map +1 -0
- package/dist/intent/replay/simulator.js +512 -0
- package/dist/intent/replay/simulator.js.map +1 -0
- package/dist/intent/replay/snapshot.d.ts +149 -0
- package/dist/intent/replay/snapshot.d.ts.map +1 -0
- package/dist/intent/replay/snapshot.js +245 -0
- package/dist/intent/replay/snapshot.js.map +1 -0
- package/dist/intent/replay/types.d.ts +143 -0
- package/dist/intent/replay/types.d.ts.map +1 -0
- package/dist/intent/replay/types.js +10 -0
- package/dist/intent/replay/types.js.map +1 -0
- package/dist/intent/repository.d.ts +198 -0
- package/dist/intent/repository.d.ts.map +1 -0
- package/dist/intent/repository.js +538 -0
- package/dist/intent/repository.js.map +1 -0
- package/dist/intent/response-middleware.d.ts +156 -0
- package/dist/intent/response-middleware.d.ts.map +1 -0
- package/dist/intent/response-middleware.js +346 -0
- package/dist/intent/response-middleware.js.map +1 -0
- package/dist/intent/response.d.ts +267 -0
- package/dist/intent/response.d.ts.map +1 -0
- package/dist/intent/response.js +402 -0
- package/dist/intent/response.js.map +1 -0
- package/dist/intent/routes.d.ts +35 -0
- package/dist/intent/routes.d.ts.map +1 -0
- package/dist/intent/routes.js +1023 -0
- package/dist/intent/routes.js.map +1 -0
- package/dist/intent/scheduler.d.ts +45 -0
- package/dist/intent/scheduler.d.ts.map +1 -0
- package/dist/intent/scheduler.js +221 -0
- package/dist/intent/scheduler.js.map +1 -0
- package/dist/intent/schema.d.ts +3817 -0
- package/dist/intent/schema.d.ts.map +1 -0
- package/dist/intent/schema.js +631 -0
- package/dist/intent/schema.js.map +1 -0
- package/dist/intent/shutdown.d.ts +145 -0
- package/dist/intent/shutdown.d.ts.map +1 -0
- package/dist/intent/shutdown.js +468 -0
- package/dist/intent/shutdown.js.map +1 -0
- package/dist/intent/state-machine.d.ts +111 -0
- package/dist/intent/state-machine.d.ts.map +1 -0
- package/dist/intent/state-machine.js +242 -0
- package/dist/intent/state-machine.js.map +1 -0
- package/dist/intent/tracing.d.ts +152 -0
- package/dist/intent/tracing.d.ts.map +1 -0
- package/dist/intent/tracing.js +658 -0
- package/dist/intent/tracing.js.map +1 -0
- package/dist/intent/types.d.ts +188 -0
- package/dist/intent/types.d.ts.map +1 -0
- package/dist/intent/types.js +25 -0
- package/dist/intent/types.js.map +1 -0
- package/dist/intent/webhooks/delivery-repository.d.ts +80 -0
- package/dist/intent/webhooks/delivery-repository.d.ts.map +1 -0
- package/dist/intent/webhooks/delivery-repository.js +251 -0
- package/dist/intent/webhooks/delivery-repository.js.map +1 -0
- package/dist/intent/webhooks/dns-pinning.d.ts +30 -0
- package/dist/intent/webhooks/dns-pinning.d.ts.map +1 -0
- package/dist/intent/webhooks/dns-pinning.js +69 -0
- package/dist/intent/webhooks/dns-pinning.js.map +1 -0
- package/dist/intent/webhooks/index.d.ts +14 -0
- package/dist/intent/webhooks/index.d.ts.map +1 -0
- package/dist/intent/webhooks/index.js +17 -0
- package/dist/intent/webhooks/index.js.map +1 -0
- package/dist/intent/webhooks/signature.d.ts +47 -0
- package/dist/intent/webhooks/signature.d.ts.map +1 -0
- package/dist/intent/webhooks/signature.js +80 -0
- package/dist/intent/webhooks/signature.js.map +1 -0
- package/dist/intent/webhooks/ssrf-protection.d.ts +29 -0
- package/dist/intent/webhooks/ssrf-protection.d.ts.map +1 -0
- package/dist/intent/webhooks/ssrf-protection.js +161 -0
- package/dist/intent/webhooks/ssrf-protection.js.map +1 -0
- package/dist/intent/webhooks/types.d.ts +132 -0
- package/dist/intent/webhooks/types.d.ts.map +1 -0
- package/dist/intent/webhooks/types.js +14 -0
- package/dist/intent/webhooks/types.js.map +1 -0
- package/dist/intent/webhooks.d.ts +618 -0
- package/dist/intent/webhooks.d.ts.map +1 -0
- package/dist/intent/webhooks.js +1836 -0
- package/dist/intent/webhooks.js.map +1 -0
- package/dist/intent-gateway/ai-act-classifier.d.ts +18 -0
- package/dist/intent-gateway/ai-act-classifier.d.ts.map +1 -0
- package/dist/intent-gateway/ai-act-classifier.js +296 -0
- package/dist/intent-gateway/ai-act-classifier.js.map +1 -0
- package/dist/intent-gateway/index.d.ts +43 -0
- package/dist/intent-gateway/index.d.ts.map +1 -0
- package/dist/intent-gateway/index.js +236 -0
- package/dist/intent-gateway/index.js.map +1 -0
- package/dist/intent-gateway/jurisdiction-resolver.d.ts +19 -0
- package/dist/intent-gateway/jurisdiction-resolver.d.ts.map +1 -0
- package/dist/intent-gateway/jurisdiction-resolver.js +236 -0
- package/dist/intent-gateway/jurisdiction-resolver.js.map +1 -0
- package/dist/intent-gateway/policy-composer.d.ts +27 -0
- package/dist/intent-gateway/policy-composer.d.ts.map +1 -0
- package/dist/intent-gateway/policy-composer.js +418 -0
- package/dist/intent-gateway/policy-composer.js.map +1 -0
- package/dist/intent-gateway/regime-selector.d.ts +26 -0
- package/dist/intent-gateway/regime-selector.d.ts.map +1 -0
- package/dist/intent-gateway/regime-selector.js +185 -0
- package/dist/intent-gateway/regime-selector.js.map +1 -0
- package/dist/intent-gateway/types.d.ts +103 -0
- package/dist/intent-gateway/types.d.ts.map +1 -0
- package/dist/intent-gateway/types.js +85 -0
- package/dist/intent-gateway/types.js.map +1 -0
- package/dist/observability/alerts.d.ts +136 -0
- package/dist/observability/alerts.d.ts.map +1 -0
- package/dist/observability/alerts.js +485 -0
- package/dist/observability/alerts.js.map +1 -0
- package/dist/observability/health.d.ts +102 -0
- package/dist/observability/health.d.ts.map +1 -0
- package/dist/observability/health.js +415 -0
- package/dist/observability/health.js.map +1 -0
- package/dist/observability/index.d.ts +29 -0
- package/dist/observability/index.d.ts.map +1 -0
- package/dist/observability/index.js +72 -0
- package/dist/observability/index.js.map +1 -0
- package/dist/observability/logging.d.ts +90 -0
- package/dist/observability/logging.d.ts.map +1 -0
- package/dist/observability/logging.js +260 -0
- package/dist/observability/logging.js.map +1 -0
- package/dist/observability/metrics.d.ts +226 -0
- package/dist/observability/metrics.d.ts.map +1 -0
- package/dist/observability/metrics.js +527 -0
- package/dist/observability/metrics.js.map +1 -0
- package/dist/observability/tracing.d.ts +120 -0
- package/dist/observability/tracing.d.ts.map +1 -0
- package/dist/observability/tracing.js +285 -0
- package/dist/observability/tracing.js.map +1 -0
- package/dist/persistence/audit.d.ts +169 -0
- package/dist/persistence/audit.d.ts.map +1 -0
- package/dist/persistence/audit.js +342 -0
- package/dist/persistence/audit.js.map +1 -0
- package/dist/persistence/index.d.ts +13 -0
- package/dist/persistence/index.d.ts.map +1 -0
- package/dist/persistence/index.js +15 -0
- package/dist/persistence/index.js.map +1 -0
- package/dist/persistence/repository.d.ts +192 -0
- package/dist/persistence/repository.d.ts.map +1 -0
- package/dist/persistence/repository.js +223 -0
- package/dist/persistence/repository.js.map +1 -0
- package/dist/policy/diff.d.ts +88 -0
- package/dist/policy/diff.d.ts.map +1 -0
- package/dist/policy/diff.js +325 -0
- package/dist/policy/diff.js.map +1 -0
- package/dist/policy/distributed-cache.d.ts +205 -0
- package/dist/policy/distributed-cache.d.ts.map +1 -0
- package/dist/policy/distributed-cache.js +683 -0
- package/dist/policy/distributed-cache.js.map +1 -0
- package/dist/policy/evaluator.d.ts +102 -0
- package/dist/policy/evaluator.d.ts.map +1 -0
- package/dist/policy/evaluator.js +648 -0
- package/dist/policy/evaluator.js.map +1 -0
- package/dist/policy/index.d.ts +24 -0
- package/dist/policy/index.d.ts.map +1 -0
- package/dist/policy/index.js +27 -0
- package/dist/policy/index.js.map +1 -0
- package/dist/policy/loader.d.ts +63 -0
- package/dist/policy/loader.d.ts.map +1 -0
- package/dist/policy/loader.js +176 -0
- package/dist/policy/loader.js.map +1 -0
- package/dist/policy/service.d.ts +240 -0
- package/dist/policy/service.d.ts.map +1 -0
- package/dist/policy/service.js +1032 -0
- package/dist/policy/service.js.map +1 -0
- package/dist/policy/types.d.ts +220 -0
- package/dist/policy/types.d.ts.map +1 -0
- package/dist/policy/types.js +36 -0
- package/dist/policy/types.js.map +1 -0
- package/dist/policy/visual-builder/index.d.ts +201 -0
- package/dist/policy/visual-builder/index.d.ts.map +1 -0
- package/dist/policy/visual-builder/index.js +727 -0
- package/dist/policy/visual-builder/index.js.map +1 -0
- package/dist/policy/visual-builder/inheritance.d.ts +151 -0
- package/dist/policy/visual-builder/inheritance.d.ts.map +1 -0
- package/dist/policy/visual-builder/inheritance.js +314 -0
- package/dist/policy/visual-builder/inheritance.js.map +1 -0
- package/dist/policy/visual-builder/propagation.d.ts +146 -0
- package/dist/policy/visual-builder/propagation.d.ts.map +1 -0
- package/dist/policy/visual-builder/propagation.js +299 -0
- package/dist/policy/visual-builder/propagation.js.map +1 -0
- package/dist/policy/visual-builder/routes.d.ts +14 -0
- package/dist/policy/visual-builder/routes.d.ts.map +1 -0
- package/dist/policy/visual-builder/routes.js +528 -0
- package/dist/policy/visual-builder/routes.js.map +1 -0
- package/dist/policy/visual-builder/simulator.d.ts +161 -0
- package/dist/policy/visual-builder/simulator.d.ts.map +1 -0
- package/dist/policy/visual-builder/simulator.js +413 -0
- package/dist/policy/visual-builder/simulator.js.map +1 -0
- package/dist/policy/visual-builder/templates.d.ts +119 -0
- package/dist/policy/visual-builder/templates.d.ts.map +1 -0
- package/dist/policy/visual-builder/templates.js +627 -0
- package/dist/policy/visual-builder/templates.js.map +1 -0
- package/dist/proof/chain/index.d.ts +271 -0
- package/dist/proof/chain/index.d.ts.map +1 -0
- package/dist/proof/chain/index.js +483 -0
- package/dist/proof/chain/index.js.map +1 -0
- package/dist/proof/index.d.ts +206 -0
- package/dist/proof/index.d.ts.map +1 -0
- package/dist/proof/index.js +597 -0
- package/dist/proof/index.js.map +1 -0
- package/dist/proof/merkle-service.d.ts +194 -0
- package/dist/proof/merkle-service.d.ts.map +1 -0
- package/dist/proof/merkle-service.js +463 -0
- package/dist/proof/merkle-service.js.map +1 -0
- package/dist/proof/merkle.d.ts +118 -0
- package/dist/proof/merkle.d.ts.map +1 -0
- package/dist/proof/merkle.js +265 -0
- package/dist/proof/merkle.js.map +1 -0
- package/dist/security/ai-governance/access-policy.d.ts +197 -0
- package/dist/security/ai-governance/access-policy.d.ts.map +1 -0
- package/dist/security/ai-governance/access-policy.js +522 -0
- package/dist/security/ai-governance/access-policy.js.map +1 -0
- package/dist/security/ai-governance/audit-trail.d.ts +241 -0
- package/dist/security/ai-governance/audit-trail.d.ts.map +1 -0
- package/dist/security/ai-governance/audit-trail.js +645 -0
- package/dist/security/ai-governance/audit-trail.js.map +1 -0
- package/dist/security/ai-governance/bias-detection.d.ts +221 -0
- package/dist/security/ai-governance/bias-detection.d.ts.map +1 -0
- package/dist/security/ai-governance/bias-detection.js +615 -0
- package/dist/security/ai-governance/bias-detection.js.map +1 -0
- package/dist/security/ai-governance/index.d.ts +92 -0
- package/dist/security/ai-governance/index.d.ts.map +1 -0
- package/dist/security/ai-governance/index.js +184 -0
- package/dist/security/ai-governance/index.js.map +1 -0
- package/dist/security/ai-governance/middleware.d.ts +110 -0
- package/dist/security/ai-governance/middleware.d.ts.map +1 -0
- package/dist/security/ai-governance/middleware.js +359 -0
- package/dist/security/ai-governance/middleware.js.map +1 -0
- package/dist/security/ai-governance/model-registry.d.ts +229 -0
- package/dist/security/ai-governance/model-registry.d.ts.map +1 -0
- package/dist/security/ai-governance/model-registry.js +535 -0
- package/dist/security/ai-governance/model-registry.js.map +1 -0
- package/dist/security/ai-governance/output-filter.d.ts +150 -0
- package/dist/security/ai-governance/output-filter.d.ts.map +1 -0
- package/dist/security/ai-governance/output-filter.js +561 -0
- package/dist/security/ai-governance/output-filter.js.map +1 -0
- package/dist/security/ai-governance/prompt-injection.d.ts +153 -0
- package/dist/security/ai-governance/prompt-injection.d.ts.map +1 -0
- package/dist/security/ai-governance/prompt-injection.js +614 -0
- package/dist/security/ai-governance/prompt-injection.js.map +1 -0
- package/dist/security/ai-governance/rate-limiter.d.ts +156 -0
- package/dist/security/ai-governance/rate-limiter.d.ts.map +1 -0
- package/dist/security/ai-governance/rate-limiter.js +541 -0
- package/dist/security/ai-governance/rate-limiter.js.map +1 -0
- package/dist/security/ai-governance/types.d.ts +594 -0
- package/dist/security/ai-governance/types.d.ts.map +1 -0
- package/dist/security/ai-governance/types.js +6 -0
- package/dist/security/ai-governance/types.js.map +1 -0
- package/dist/security/alerting/channels/base.d.ts +91 -0
- package/dist/security/alerting/channels/base.d.ts.map +1 -0
- package/dist/security/alerting/channels/base.js +128 -0
- package/dist/security/alerting/channels/base.js.map +1 -0
- package/dist/security/alerting/channels/email.d.ts +92 -0
- package/dist/security/alerting/channels/email.d.ts.map +1 -0
- package/dist/security/alerting/channels/email.js +418 -0
- package/dist/security/alerting/channels/email.js.map +1 -0
- package/dist/security/alerting/channels/http-base.d.ts +86 -0
- package/dist/security/alerting/channels/http-base.d.ts.map +1 -0
- package/dist/security/alerting/channels/http-base.js +133 -0
- package/dist/security/alerting/channels/http-base.js.map +1 -0
- package/dist/security/alerting/channels/index.d.ts +30 -0
- package/dist/security/alerting/channels/index.d.ts.map +1 -0
- package/dist/security/alerting/channels/index.js +22 -0
- package/dist/security/alerting/channels/index.js.map +1 -0
- package/dist/security/alerting/channels/pagerduty.d.ts +70 -0
- package/dist/security/alerting/channels/pagerduty.d.ts.map +1 -0
- package/dist/security/alerting/channels/pagerduty.js +248 -0
- package/dist/security/alerting/channels/pagerduty.js.map +1 -0
- package/dist/security/alerting/channels/slack.d.ts +55 -0
- package/dist/security/alerting/channels/slack.d.ts.map +1 -0
- package/dist/security/alerting/channels/slack.js +215 -0
- package/dist/security/alerting/channels/slack.js.map +1 -0
- package/dist/security/alerting/channels/sns.d.ts +87 -0
- package/dist/security/alerting/channels/sns.d.ts.map +1 -0
- package/dist/security/alerting/channels/sns.js +251 -0
- package/dist/security/alerting/channels/sns.js.map +1 -0
- package/dist/security/alerting/channels/webhook.d.ts +92 -0
- package/dist/security/alerting/channels/webhook.d.ts.map +1 -0
- package/dist/security/alerting/channels/webhook.js +203 -0
- package/dist/security/alerting/channels/webhook.js.map +1 -0
- package/dist/security/alerting/detector.d.ts +217 -0
- package/dist/security/alerting/detector.d.ts.map +1 -0
- package/dist/security/alerting/detector.js +725 -0
- package/dist/security/alerting/detector.js.map +1 -0
- package/dist/security/alerting/index.d.ts +57 -0
- package/dist/security/alerting/index.d.ts.map +1 -0
- package/dist/security/alerting/index.js +214 -0
- package/dist/security/alerting/index.js.map +1 -0
- package/dist/security/alerting/service.d.ts +190 -0
- package/dist/security/alerting/service.d.ts.map +1 -0
- package/dist/security/alerting/service.js +815 -0
- package/dist/security/alerting/service.js.map +1 -0
- package/dist/security/alerting/types.d.ts +2165 -0
- package/dist/security/alerting/types.d.ts.map +1 -0
- package/dist/security/alerting/types.js +278 -0
- package/dist/security/alerting/types.js.map +1 -0
- package/dist/security/anomaly/detectors/account-compromise.d.ts +198 -0
- package/dist/security/anomaly/detectors/account-compromise.d.ts.map +1 -0
- package/dist/security/anomaly/detectors/account-compromise.js +815 -0
- package/dist/security/anomaly/detectors/account-compromise.js.map +1 -0
- package/dist/security/anomaly/detectors/data-exfiltration.d.ts +175 -0
- package/dist/security/anomaly/detectors/data-exfiltration.d.ts.map +1 -0
- package/dist/security/anomaly/detectors/data-exfiltration.js +733 -0
- package/dist/security/anomaly/detectors/data-exfiltration.js.map +1 -0
- package/dist/security/anomaly/detectors/geographic.d.ts +100 -0
- package/dist/security/anomaly/detectors/geographic.d.ts.map +1 -0
- package/dist/security/anomaly/detectors/geographic.js +348 -0
- package/dist/security/anomaly/detectors/geographic.js.map +1 -0
- package/dist/security/anomaly/detectors/index.d.ts +86 -0
- package/dist/security/anomaly/detectors/index.d.ts.map +1 -0
- package/dist/security/anomaly/detectors/index.js +118 -0
- package/dist/security/anomaly/detectors/index.js.map +1 -0
- package/dist/security/anomaly/detectors/lateral-movement.d.ts +168 -0
- package/dist/security/anomaly/detectors/lateral-movement.d.ts.map +1 -0
- package/dist/security/anomaly/detectors/lateral-movement.js +795 -0
- package/dist/security/anomaly/detectors/lateral-movement.js.map +1 -0
- package/dist/security/anomaly/detectors/privilege-escalation.d.ts +177 -0
- package/dist/security/anomaly/detectors/privilege-escalation.d.ts.map +1 -0
- package/dist/security/anomaly/detectors/privilege-escalation.js +741 -0
- package/dist/security/anomaly/detectors/privilege-escalation.js.map +1 -0
- package/dist/security/anomaly/detectors/temporal.d.ts +71 -0
- package/dist/security/anomaly/detectors/temporal.d.ts.map +1 -0
- package/dist/security/anomaly/detectors/temporal.js +398 -0
- package/dist/security/anomaly/detectors/temporal.js.map +1 -0
- package/dist/security/anomaly/detectors/volume.d.ts +97 -0
- package/dist/security/anomaly/detectors/volume.d.ts.map +1 -0
- package/dist/security/anomaly/detectors/volume.js +424 -0
- package/dist/security/anomaly/detectors/volume.js.map +1 -0
- package/dist/security/anomaly/index.d.ts +128 -0
- package/dist/security/anomaly/index.d.ts.map +1 -0
- package/dist/security/anomaly/index.js +378 -0
- package/dist/security/anomaly/index.js.map +1 -0
- package/dist/security/anomaly/types.d.ts +1209 -0
- package/dist/security/anomaly/types.d.ts.map +1 -0
- package/dist/security/anomaly/types.js +193 -0
- package/dist/security/anomaly/types.js.map +1 -0
- package/dist/security/api-keys/cache.d.ts +255 -0
- package/dist/security/api-keys/cache.d.ts.map +1 -0
- package/dist/security/api-keys/cache.js +595 -0
- package/dist/security/api-keys/cache.js.map +1 -0
- package/dist/security/api-keys/db-store.d.ts +150 -0
- package/dist/security/api-keys/db-store.d.ts.map +1 -0
- package/dist/security/api-keys/db-store.js +694 -0
- package/dist/security/api-keys/db-store.js.map +1 -0
- package/dist/security/api-keys/index.d.ts +29 -0
- package/dist/security/api-keys/index.d.ts.map +1 -0
- package/dist/security/api-keys/index.js +81 -0
- package/dist/security/api-keys/index.js.map +1 -0
- package/dist/security/api-keys/middleware.d.ts +164 -0
- package/dist/security/api-keys/middleware.d.ts.map +1 -0
- package/dist/security/api-keys/middleware.js +392 -0
- package/dist/security/api-keys/middleware.js.map +1 -0
- package/dist/security/api-keys/service.d.ts +226 -0
- package/dist/security/api-keys/service.d.ts.map +1 -0
- package/dist/security/api-keys/service.js +861 -0
- package/dist/security/api-keys/service.js.map +1 -0
- package/dist/security/api-keys/store.d.ts +241 -0
- package/dist/security/api-keys/store.d.ts.map +1 -0
- package/dist/security/api-keys/store.js +360 -0
- package/dist/security/api-keys/store.js.map +1 -0
- package/dist/security/api-keys/types.d.ts +718 -0
- package/dist/security/api-keys/types.d.ts.map +1 -0
- package/dist/security/api-keys/types.js +162 -0
- package/dist/security/api-keys/types.js.map +1 -0
- package/dist/security/brute-force.d.ts +390 -0
- package/dist/security/brute-force.d.ts.map +1 -0
- package/dist/security/brute-force.js +677 -0
- package/dist/security/brute-force.js.map +1 -0
- package/dist/security/config-validator.d.ts +152 -0
- package/dist/security/config-validator.d.ts.map +1 -0
- package/dist/security/config-validator.js +667 -0
- package/dist/security/config-validator.js.map +1 -0
- package/dist/security/crypto/fips-mode.d.ts +726 -0
- package/dist/security/crypto/fips-mode.d.ts.map +1 -0
- package/dist/security/crypto/fips-mode.js +1297 -0
- package/dist/security/crypto/fips-mode.js.map +1 -0
- package/dist/security/crypto/index.d.ts +203 -0
- package/dist/security/crypto/index.d.ts.map +1 -0
- package/dist/security/crypto/index.js +293 -0
- package/dist/security/crypto/index.js.map +1 -0
- package/dist/security/crypto/post-quantum/benchmark.d.ts +125 -0
- package/dist/security/crypto/post-quantum/benchmark.d.ts.map +1 -0
- package/dist/security/crypto/post-quantum/benchmark.js +530 -0
- package/dist/security/crypto/post-quantum/benchmark.js.map +1 -0
- package/dist/security/crypto/post-quantum/dilithium.d.ts +146 -0
- package/dist/security/crypto/post-quantum/dilithium.d.ts.map +1 -0
- package/dist/security/crypto/post-quantum/dilithium.js +662 -0
- package/dist/security/crypto/post-quantum/dilithium.js.map +1 -0
- package/dist/security/crypto/post-quantum/hybrid.d.ts +267 -0
- package/dist/security/crypto/post-quantum/hybrid.d.ts.map +1 -0
- package/dist/security/crypto/post-quantum/hybrid.js +457 -0
- package/dist/security/crypto/post-quantum/hybrid.js.map +1 -0
- package/dist/security/crypto/post-quantum/index.d.ts +166 -0
- package/dist/security/crypto/post-quantum/index.d.ts.map +1 -0
- package/dist/security/crypto/post-quantum/index.js +236 -0
- package/dist/security/crypto/post-quantum/index.js.map +1 -0
- package/dist/security/crypto/post-quantum/kyber.d.ts +131 -0
- package/dist/security/crypto/post-quantum/kyber.d.ts.map +1 -0
- package/dist/security/crypto/post-quantum/kyber.js +640 -0
- package/dist/security/crypto/post-quantum/kyber.js.map +1 -0
- package/dist/security/crypto/post-quantum/migration.d.ts +230 -0
- package/dist/security/crypto/post-quantum/migration.d.ts.map +1 -0
- package/dist/security/crypto/post-quantum/migration.js +563 -0
- package/dist/security/crypto/post-quantum/migration.js.map +1 -0
- package/dist/security/crypto/post-quantum/types.d.ts +1056 -0
- package/dist/security/crypto/post-quantum/types.d.ts.map +1 -0
- package/dist/security/crypto/post-quantum/types.js +350 -0
- package/dist/security/crypto/post-quantum/types.js.map +1 -0
- package/dist/security/crypto/shamir/comparison.d.ts +128 -0
- package/dist/security/crypto/shamir/comparison.d.ts.map +1 -0
- package/dist/security/crypto/shamir/comparison.js +423 -0
- package/dist/security/crypto/shamir/comparison.js.map +1 -0
- package/dist/security/crypto/shamir/index.d.ts +76 -0
- package/dist/security/crypto/shamir/index.d.ts.map +1 -0
- package/dist/security/crypto/shamir/index.js +155 -0
- package/dist/security/crypto/shamir/index.js.map +1 -0
- package/dist/security/crypto/shamir/proofs.d.ts +259 -0
- package/dist/security/crypto/shamir/proofs.d.ts.map +1 -0
- package/dist/security/crypto/shamir/proofs.js +605 -0
- package/dist/security/crypto/shamir/proofs.js.map +1 -0
- package/dist/security/crypto/shamir/property-tests.d.ts +104 -0
- package/dist/security/crypto/shamir/property-tests.d.ts.map +1 -0
- package/dist/security/crypto/shamir/property-tests.js +480 -0
- package/dist/security/crypto/shamir/property-tests.js.map +1 -0
- package/dist/security/crypto/shamir/security-analysis.d.ts +97 -0
- package/dist/security/crypto/shamir/security-analysis.d.ts.map +1 -0
- package/dist/security/crypto/shamir/security-analysis.js +503 -0
- package/dist/security/crypto/shamir/security-analysis.js.map +1 -0
- package/dist/security/crypto/shamir/test-vectors.d.ts +116 -0
- package/dist/security/crypto/shamir/test-vectors.d.ts.map +1 -0
- package/dist/security/crypto/shamir/test-vectors.js +377 -0
- package/dist/security/crypto/shamir/test-vectors.js.map +1 -0
- package/dist/security/crypto/shamir/types.d.ts +281 -0
- package/dist/security/crypto/shamir/types.d.ts.map +1 -0
- package/dist/security/crypto/shamir/types.js +82 -0
- package/dist/security/crypto/shamir/types.js.map +1 -0
- package/dist/security/crypto/shamir/verified-shamir.d.ts +170 -0
- package/dist/security/crypto/shamir/verified-shamir.d.ts.map +1 -0
- package/dist/security/crypto/shamir/verified-shamir.js +624 -0
- package/dist/security/crypto/shamir/verified-shamir.js.map +1 -0
- package/dist/security/csrf.d.ts +215 -0
- package/dist/security/csrf.d.ts.map +1 -0
- package/dist/security/csrf.js +467 -0
- package/dist/security/csrf.js.map +1 -0
- package/dist/security/distributed-state.d.ts +331 -0
- package/dist/security/distributed-state.d.ts.map +1 -0
- package/dist/security/distributed-state.js +768 -0
- package/dist/security/distributed-state.js.map +1 -0
- package/dist/security/dlp/index.d.ts +27 -0
- package/dist/security/dlp/index.d.ts.map +1 -0
- package/dist/security/dlp/index.js +54 -0
- package/dist/security/dlp/index.js.map +1 -0
- package/dist/security/dlp/scanner.d.ts +451 -0
- package/dist/security/dlp/scanner.d.ts.map +1 -0
- package/dist/security/dlp/scanner.js +1241 -0
- package/dist/security/dlp/scanner.js.map +1 -0
- package/dist/security/dpop.d.ts +260 -0
- package/dist/security/dpop.d.ts.map +1 -0
- package/dist/security/dpop.js +1058 -0
- package/dist/security/dpop.js.map +1 -0
- package/dist/security/encryption/decorators.d.ts +263 -0
- package/dist/security/encryption/decorators.d.ts.map +1 -0
- package/dist/security/encryption/decorators.js +359 -0
- package/dist/security/encryption/decorators.js.map +1 -0
- package/dist/security/encryption/index.d.ts +83 -0
- package/dist/security/encryption/index.d.ts.map +1 -0
- package/dist/security/encryption/index.js +140 -0
- package/dist/security/encryption/index.js.map +1 -0
- package/dist/security/encryption/key-provider.d.ts +335 -0
- package/dist/security/encryption/key-provider.d.ts.map +1 -0
- package/dist/security/encryption/key-provider.js +853 -0
- package/dist/security/encryption/key-provider.js.map +1 -0
- package/dist/security/encryption/middleware.d.ts +279 -0
- package/dist/security/encryption/middleware.d.ts.map +1 -0
- package/dist/security/encryption/middleware.js +493 -0
- package/dist/security/encryption/middleware.js.map +1 -0
- package/dist/security/encryption/service.d.ts +164 -0
- package/dist/security/encryption/service.d.ts.map +1 -0
- package/dist/security/encryption/service.js +623 -0
- package/dist/security/encryption/service.js.map +1 -0
- package/dist/security/encryption/types.d.ts +745 -0
- package/dist/security/encryption/types.d.ts.map +1 -0
- package/dist/security/encryption/types.js +229 -0
- package/dist/security/encryption/types.js.map +1 -0
- package/dist/security/error-sanitizer.d.ts +329 -0
- package/dist/security/error-sanitizer.d.ts.map +1 -0
- package/dist/security/error-sanitizer.js +700 -0
- package/dist/security/error-sanitizer.js.map +1 -0
- package/dist/security/fingerprint-service.d.ts +139 -0
- package/dist/security/fingerprint-service.d.ts.map +1 -0
- package/dist/security/fingerprint-service.js +240 -0
- package/dist/security/fingerprint-service.js.map +1 -0
- package/dist/security/headers/csp.d.ts +270 -0
- package/dist/security/headers/csp.d.ts.map +1 -0
- package/dist/security/headers/csp.js +655 -0
- package/dist/security/headers/csp.js.map +1 -0
- package/dist/security/headers/hsts.d.ts +161 -0
- package/dist/security/headers/hsts.d.ts.map +1 -0
- package/dist/security/headers/hsts.js +346 -0
- package/dist/security/headers/hsts.js.map +1 -0
- package/dist/security/headers/index.d.ts +47 -0
- package/dist/security/headers/index.d.ts.map +1 -0
- package/dist/security/headers/index.js +110 -0
- package/dist/security/headers/index.js.map +1 -0
- package/dist/security/headers/middleware.d.ts +70 -0
- package/dist/security/headers/middleware.d.ts.map +1 -0
- package/dist/security/headers/middleware.js +549 -0
- package/dist/security/headers/middleware.js.map +1 -0
- package/dist/security/headers/permissions-policy.d.ts +189 -0
- package/dist/security/headers/permissions-policy.d.ts.map +1 -0
- package/dist/security/headers/permissions-policy.js +508 -0
- package/dist/security/headers/permissions-policy.js.map +1 -0
- package/dist/security/headers/types.d.ts +1570 -0
- package/dist/security/headers/types.d.ts.map +1 -0
- package/dist/security/headers/types.js +281 -0
- package/dist/security/headers/types.js.map +1 -0
- package/dist/security/headers/validator.d.ts +36 -0
- package/dist/security/headers/validator.d.ts.map +1 -0
- package/dist/security/headers/validator.js +616 -0
- package/dist/security/headers/validator.js.map +1 -0
- package/dist/security/hsm/aws-cloudhsm.d.ts +157 -0
- package/dist/security/hsm/aws-cloudhsm.d.ts.map +1 -0
- package/dist/security/hsm/aws-cloudhsm.js +712 -0
- package/dist/security/hsm/aws-cloudhsm.js.map +1 -0
- package/dist/security/hsm/azure-hsm.d.ts +174 -0
- package/dist/security/hsm/azure-hsm.d.ts.map +1 -0
- package/dist/security/hsm/azure-hsm.js +792 -0
- package/dist/security/hsm/azure-hsm.js.map +1 -0
- package/dist/security/hsm/gcp-hsm.d.ts +184 -0
- package/dist/security/hsm/gcp-hsm.d.ts.map +1 -0
- package/dist/security/hsm/gcp-hsm.js +817 -0
- package/dist/security/hsm/gcp-hsm.js.map +1 -0
- package/dist/security/hsm/hsm-service.d.ts +264 -0
- package/dist/security/hsm/hsm-service.d.ts.map +1 -0
- package/dist/security/hsm/hsm-service.js +772 -0
- package/dist/security/hsm/hsm-service.js.map +1 -0
- package/dist/security/hsm/index.d.ts +248 -0
- package/dist/security/hsm/index.d.ts.map +1 -0
- package/dist/security/hsm/index.js +329 -0
- package/dist/security/hsm/index.js.map +1 -0
- package/dist/security/hsm/key-ceremony.d.ts +214 -0
- package/dist/security/hsm/key-ceremony.d.ts.map +1 -0
- package/dist/security/hsm/key-ceremony.js +636 -0
- package/dist/security/hsm/key-ceremony.js.map +1 -0
- package/dist/security/hsm/key-operations.d.ts +218 -0
- package/dist/security/hsm/key-operations.d.ts.map +1 -0
- package/dist/security/hsm/key-operations.js +625 -0
- package/dist/security/hsm/key-operations.js.map +1 -0
- package/dist/security/hsm/local-softHSM.d.ts +122 -0
- package/dist/security/hsm/local-softHSM.d.ts.map +1 -0
- package/dist/security/hsm/local-softHSM.js +786 -0
- package/dist/security/hsm/local-softHSM.js.map +1 -0
- package/dist/security/hsm/pkcs11-wrapper.d.ts +386 -0
- package/dist/security/hsm/pkcs11-wrapper.d.ts.map +1 -0
- package/dist/security/hsm/pkcs11-wrapper.js +1149 -0
- package/dist/security/hsm/pkcs11-wrapper.js.map +1 -0
- package/dist/security/hsm/provider.d.ts +333 -0
- package/dist/security/hsm/provider.d.ts.map +1 -0
- package/dist/security/hsm/provider.js +264 -0
- package/dist/security/hsm/provider.js.map +1 -0
- package/dist/security/hsm/thales-luna.d.ts +209 -0
- package/dist/security/hsm/thales-luna.d.ts.map +1 -0
- package/dist/security/hsm/thales-luna.js +820 -0
- package/dist/security/hsm/thales-luna.js.map +1 -0
- package/dist/security/incident/actions/block-ip.d.ts +82 -0
- package/dist/security/incident/actions/block-ip.d.ts.map +1 -0
- package/dist/security/incident/actions/block-ip.js +454 -0
- package/dist/security/incident/actions/block-ip.js.map +1 -0
- package/dist/security/incident/actions/collect-evidence.d.ts +93 -0
- package/dist/security/incident/actions/collect-evidence.d.ts.map +1 -0
- package/dist/security/incident/actions/collect-evidence.js +449 -0
- package/dist/security/incident/actions/collect-evidence.js.map +1 -0
- package/dist/security/incident/actions/index.d.ts +39 -0
- package/dist/security/incident/actions/index.d.ts.map +1 -0
- package/dist/security/incident/actions/index.js +52 -0
- package/dist/security/incident/actions/index.js.map +1 -0
- package/dist/security/incident/actions/isolate-system.d.ts +61 -0
- package/dist/security/incident/actions/isolate-system.d.ts.map +1 -0
- package/dist/security/incident/actions/isolate-system.js +369 -0
- package/dist/security/incident/actions/isolate-system.js.map +1 -0
- package/dist/security/incident/actions/notify-stakeholders.d.ts +70 -0
- package/dist/security/incident/actions/notify-stakeholders.d.ts.map +1 -0
- package/dist/security/incident/actions/notify-stakeholders.js +377 -0
- package/dist/security/incident/actions/notify-stakeholders.js.map +1 -0
- package/dist/security/incident/actions/revoke-credentials.d.ts +75 -0
- package/dist/security/incident/actions/revoke-credentials.d.ts.map +1 -0
- package/dist/security/incident/actions/revoke-credentials.js +320 -0
- package/dist/security/incident/actions/revoke-credentials.js.map +1 -0
- package/dist/security/incident/actions/scale-monitoring.d.ts +88 -0
- package/dist/security/incident/actions/scale-monitoring.d.ts.map +1 -0
- package/dist/security/incident/actions/scale-monitoring.js +473 -0
- package/dist/security/incident/actions/scale-monitoring.js.map +1 -0
- package/dist/security/incident/executor.d.ts +128 -0
- package/dist/security/incident/executor.d.ts.map +1 -0
- package/dist/security/incident/executor.js +695 -0
- package/dist/security/incident/executor.js.map +1 -0
- package/dist/security/incident/index.d.ts +220 -0
- package/dist/security/incident/index.d.ts.map +1 -0
- package/dist/security/incident/index.js +1284 -0
- package/dist/security/incident/index.js.map +1 -0
- package/dist/security/incident/notification.d.ts +68 -0
- package/dist/security/incident/notification.d.ts.map +1 -0
- package/dist/security/incident/notification.js +512 -0
- package/dist/security/incident/notification.js.map +1 -0
- package/dist/security/incident/playbooks/account-compromise.d.ts +13 -0
- package/dist/security/incident/playbooks/account-compromise.d.ts.map +1 -0
- package/dist/security/incident/playbooks/account-compromise.js +379 -0
- package/dist/security/incident/playbooks/account-compromise.js.map +1 -0
- package/dist/security/incident/playbooks/configuration-error.d.ts +17 -0
- package/dist/security/incident/playbooks/configuration-error.d.ts.map +1 -0
- package/dist/security/incident/playbooks/configuration-error.js +340 -0
- package/dist/security/incident/playbooks/configuration-error.js.map +1 -0
- package/dist/security/incident/playbooks/data-breach.d.ts +13 -0
- package/dist/security/incident/playbooks/data-breach.d.ts.map +1 -0
- package/dist/security/incident/playbooks/data-breach.js +394 -0
- package/dist/security/incident/playbooks/data-breach.js.map +1 -0
- package/dist/security/incident/playbooks/denial-of-service.d.ts +13 -0
- package/dist/security/incident/playbooks/denial-of-service.d.ts.map +1 -0
- package/dist/security/incident/playbooks/denial-of-service.js +540 -0
- package/dist/security/incident/playbooks/denial-of-service.js.map +1 -0
- package/dist/security/incident/playbooks/index.d.ts +36 -0
- package/dist/security/incident/playbooks/index.d.ts.map +1 -0
- package/dist/security/incident/playbooks/index.js +56 -0
- package/dist/security/incident/playbooks/index.js.map +1 -0
- package/dist/security/incident/playbooks/insider-threat.d.ts +18 -0
- package/dist/security/incident/playbooks/insider-threat.d.ts.map +1 -0
- package/dist/security/incident/playbooks/insider-threat.js +600 -0
- package/dist/security/incident/playbooks/insider-threat.js.map +1 -0
- package/dist/security/incident/playbooks/malware.d.ts +13 -0
- package/dist/security/incident/playbooks/malware.d.ts.map +1 -0
- package/dist/security/incident/playbooks/malware.js +515 -0
- package/dist/security/incident/playbooks/malware.js.map +1 -0
- package/dist/security/incident/playbooks/ransomware.d.ts +14 -0
- package/dist/security/incident/playbooks/ransomware.d.ts.map +1 -0
- package/dist/security/incident/playbooks/ransomware.js +693 -0
- package/dist/security/incident/playbooks/ransomware.js.map +1 -0
- package/dist/security/incident/playbooks/unauthorized-access.d.ts +13 -0
- package/dist/security/incident/playbooks/unauthorized-access.d.ts.map +1 -0
- package/dist/security/incident/playbooks/unauthorized-access.js +412 -0
- package/dist/security/incident/playbooks/unauthorized-access.js.map +1 -0
- package/dist/security/incident/triggers.d.ts +120 -0
- package/dist/security/incident/triggers.d.ts.map +1 -0
- package/dist/security/incident/triggers.js +708 -0
- package/dist/security/incident/triggers.js.map +1 -0
- package/dist/security/incident/types.d.ts +1517 -0
- package/dist/security/incident/types.d.ts.map +1 -0
- package/dist/security/incident/types.js +222 -0
- package/dist/security/incident/types.js.map +1 -0
- package/dist/security/index.d.ts +59 -0
- package/dist/security/index.d.ts.map +1 -0
- package/dist/security/index.js +295 -0
- package/dist/security/index.js.map +1 -0
- package/dist/security/injection-detector.d.ts +510 -0
- package/dist/security/injection-detector.d.ts.map +1 -0
- package/dist/security/injection-detector.js +1325 -0
- package/dist/security/injection-detector.js.map +1 -0
- package/dist/security/introspection.d.ts +137 -0
- package/dist/security/introspection.d.ts.map +1 -0
- package/dist/security/introspection.js +451 -0
- package/dist/security/introspection.js.map +1 -0
- package/dist/security/key-rotation.d.ts +213 -0
- package/dist/security/key-rotation.d.ts.map +1 -0
- package/dist/security/key-rotation.js +530 -0
- package/dist/security/key-rotation.js.map +1 -0
- package/dist/security/kms/aws-kms.d.ts +152 -0
- package/dist/security/kms/aws-kms.d.ts.map +1 -0
- package/dist/security/kms/aws-kms.js +808 -0
- package/dist/security/kms/aws-kms.js.map +1 -0
- package/dist/security/kms/index.d.ts +165 -0
- package/dist/security/kms/index.d.ts.map +1 -0
- package/dist/security/kms/index.js +351 -0
- package/dist/security/kms/index.js.map +1 -0
- package/dist/security/kms/local.d.ts +127 -0
- package/dist/security/kms/local.d.ts.map +1 -0
- package/dist/security/kms/local.js +682 -0
- package/dist/security/kms/local.js.map +1 -0
- package/dist/security/kms/types.d.ts +1000 -0
- package/dist/security/kms/types.d.ts.map +1 -0
- package/dist/security/kms/types.js +167 -0
- package/dist/security/kms/types.js.map +1 -0
- package/dist/security/kms/vault.d.ts +165 -0
- package/dist/security/kms/vault.d.ts.map +1 -0
- package/dist/security/kms/vault.js +820 -0
- package/dist/security/kms/vault.js.map +1 -0
- package/dist/security/mfa/index.d.ts +17 -0
- package/dist/security/mfa/index.d.ts.map +1 -0
- package/dist/security/mfa/index.js +37 -0
- package/dist/security/mfa/index.js.map +1 -0
- package/dist/security/mfa/mfa-middleware.d.ts +74 -0
- package/dist/security/mfa/mfa-middleware.d.ts.map +1 -0
- package/dist/security/mfa/mfa-middleware.js +244 -0
- package/dist/security/mfa/mfa-middleware.js.map +1 -0
- package/dist/security/mfa/mfa-service.d.ts +115 -0
- package/dist/security/mfa/mfa-service.d.ts.map +1 -0
- package/dist/security/mfa/mfa-service.js +509 -0
- package/dist/security/mfa/mfa-service.js.map +1 -0
- package/dist/security/mfa/mfa-store.d.ts +615 -0
- package/dist/security/mfa/mfa-store.d.ts.map +1 -0
- package/dist/security/mfa/mfa-store.js +431 -0
- package/dist/security/mfa/mfa-store.js.map +1 -0
- package/dist/security/mfa/types.d.ts +417 -0
- package/dist/security/mfa/types.d.ts.map +1 -0
- package/dist/security/mfa/types.js +123 -0
- package/dist/security/mfa/types.js.map +1 -0
- package/dist/security/middleware.d.ts +179 -0
- package/dist/security/middleware.d.ts.map +1 -0
- package/dist/security/middleware.js +534 -0
- package/dist/security/middleware.js.map +1 -0
- package/dist/security/pairwise-did.d.ts +157 -0
- package/dist/security/pairwise-did.d.ts.map +1 -0
- package/dist/security/pairwise-did.js +450 -0
- package/dist/security/pairwise-did.js.map +1 -0
- package/dist/security/pam/break-glass.d.ts +776 -0
- package/dist/security/pam/break-glass.d.ts.map +1 -0
- package/dist/security/pam/break-glass.js +1137 -0
- package/dist/security/pam/break-glass.js.map +1 -0
- package/dist/security/pam/index.d.ts +120 -0
- package/dist/security/pam/index.d.ts.map +1 -0
- package/dist/security/pam/index.js +179 -0
- package/dist/security/pam/index.js.map +1 -0
- package/dist/security/pam/jit-access.d.ts +482 -0
- package/dist/security/pam/jit-access.d.ts.map +1 -0
- package/dist/security/pam/jit-access.js +1030 -0
- package/dist/security/pam/jit-access.js.map +1 -0
- package/dist/security/pam/session-recording.d.ts +1007 -0
- package/dist/security/pam/session-recording.d.ts.map +1 -0
- package/dist/security/pam/session-recording.js +1047 -0
- package/dist/security/pam/session-recording.js.map +1 -0
- package/dist/security/password-hashing.d.ts +199 -0
- package/dist/security/password-hashing.d.ts.map +1 -0
- package/dist/security/password-hashing.js +366 -0
- package/dist/security/password-hashing.js.map +1 -0
- package/dist/security/password-policy.d.ts +304 -0
- package/dist/security/password-policy.d.ts.map +1 -0
- package/dist/security/password-policy.js +730 -0
- package/dist/security/password-policy.js.map +1 -0
- package/dist/security/pkce.d.ts +269 -0
- package/dist/security/pkce.d.ts.map +1 -0
- package/dist/security/pkce.js +408 -0
- package/dist/security/pkce.js.map +1 -0
- package/dist/security/policy-engine/built-in-policies.d.ts +90 -0
- package/dist/security/policy-engine/built-in-policies.d.ts.map +1 -0
- package/dist/security/policy-engine/built-in-policies.js +627 -0
- package/dist/security/policy-engine/built-in-policies.js.map +1 -0
- package/dist/security/policy-engine/condition-evaluator.d.ts +129 -0
- package/dist/security/policy-engine/condition-evaluator.d.ts.map +1 -0
- package/dist/security/policy-engine/condition-evaluator.js +647 -0
- package/dist/security/policy-engine/condition-evaluator.js.map +1 -0
- package/dist/security/policy-engine/engine.d.ts +200 -0
- package/dist/security/policy-engine/engine.d.ts.map +1 -0
- package/dist/security/policy-engine/engine.js +752 -0
- package/dist/security/policy-engine/engine.js.map +1 -0
- package/dist/security/policy-engine/index.d.ts +58 -0
- package/dist/security/policy-engine/index.d.ts.map +1 -0
- package/dist/security/policy-engine/index.js +80 -0
- package/dist/security/policy-engine/index.js.map +1 -0
- package/dist/security/policy-engine/middleware.d.ts +77 -0
- package/dist/security/policy-engine/middleware.d.ts.map +1 -0
- package/dist/security/policy-engine/middleware.js +375 -0
- package/dist/security/policy-engine/middleware.js.map +1 -0
- package/dist/security/policy-engine/rule-evaluator.d.ts +140 -0
- package/dist/security/policy-engine/rule-evaluator.d.ts.map +1 -0
- package/dist/security/policy-engine/rule-evaluator.js +593 -0
- package/dist/security/policy-engine/rule-evaluator.js.map +1 -0
- package/dist/security/policy-engine/types.d.ts +2855 -0
- package/dist/security/policy-engine/types.d.ts.map +1 -0
- package/dist/security/policy-engine/types.js +443 -0
- package/dist/security/policy-engine/types.js.map +1 -0
- package/dist/security/rbac/index.d.ts +317 -0
- package/dist/security/rbac/index.d.ts.map +1 -0
- package/dist/security/rbac/index.js +618 -0
- package/dist/security/rbac/index.js.map +1 -0
- package/dist/security/rbac/permissions.d.ts +305 -0
- package/dist/security/rbac/permissions.d.ts.map +1 -0
- package/dist/security/rbac/permissions.js +947 -0
- package/dist/security/rbac/permissions.js.map +1 -0
- package/dist/security/rbac/policy-engine.d.ts +542 -0
- package/dist/security/rbac/policy-engine.d.ts.map +1 -0
- package/dist/security/rbac/policy-engine.js +1244 -0
- package/dist/security/rbac/policy-engine.js.map +1 -0
- package/dist/security/rbac/roles.d.ts +478 -0
- package/dist/security/rbac/roles.d.ts.map +1 -0
- package/dist/security/rbac/roles.js +363 -0
- package/dist/security/rbac/roles.js.map +1 -0
- package/dist/security/refresh-token.d.ts +305 -0
- package/dist/security/refresh-token.d.ts.map +1 -0
- package/dist/security/refresh-token.js +674 -0
- package/dist/security/refresh-token.js.map +1 -0
- package/dist/security/request-integrity.d.ts +289 -0
- package/dist/security/request-integrity.d.ts.map +1 -0
- package/dist/security/request-integrity.js +663 -0
- package/dist/security/request-integrity.js.map +1 -0
- package/dist/security/revocation-check.d.ts +188 -0
- package/dist/security/revocation-check.d.ts.map +1 -0
- package/dist/security/revocation-check.js +606 -0
- package/dist/security/revocation-check.js.map +1 -0
- package/dist/security/revocation.d.ts +191 -0
- package/dist/security/revocation.d.ts.map +1 -0
- package/dist/security/revocation.js +522 -0
- package/dist/security/revocation.js.map +1 -0
- package/dist/security/secrets-rotation.d.ts +501 -0
- package/dist/security/secrets-rotation.d.ts.map +1 -0
- package/dist/security/secrets-rotation.js +934 -0
- package/dist/security/secrets-rotation.js.map +1 -0
- package/dist/security/secure-memory.d.ts +325 -0
- package/dist/security/secure-memory.d.ts.map +1 -0
- package/dist/security/secure-memory.js +595 -0
- package/dist/security/secure-memory.js.map +1 -0
- package/dist/security/security-service.d.ts +186 -0
- package/dist/security/security-service.d.ts.map +1 -0
- package/dist/security/security-service.js +531 -0
- package/dist/security/security-service.js.map +1 -0
- package/dist/security/service-auth/index.d.ts +20 -0
- package/dist/security/service-auth/index.d.ts.map +1 -0
- package/dist/security/service-auth/index.js +61 -0
- package/dist/security/service-auth/index.js.map +1 -0
- package/dist/security/service-auth/service-account.d.ts +357 -0
- package/dist/security/service-auth/service-account.d.ts.map +1 -0
- package/dist/security/service-auth/service-account.js +475 -0
- package/dist/security/service-auth/service-account.js.map +1 -0
- package/dist/security/service-auth/service-auth-middleware.d.ts +174 -0
- package/dist/security/service-auth/service-auth-middleware.d.ts.map +1 -0
- package/dist/security/service-auth/service-auth-middleware.js +461 -0
- package/dist/security/service-auth/service-auth-middleware.js.map +1 -0
- package/dist/security/service-auth/service-token.d.ts +391 -0
- package/dist/security/service-auth/service-token.d.ts.map +1 -0
- package/dist/security/service-auth/service-token.js +472 -0
- package/dist/security/service-auth/service-token.js.map +1 -0
- package/dist/security/session-manager.d.ts +177 -0
- package/dist/security/session-manager.d.ts.map +1 -0
- package/dist/security/session-manager.js +353 -0
- package/dist/security/session-manager.js.map +1 -0
- package/dist/security/session-store.d.ts +205 -0
- package/dist/security/session-store.d.ts.map +1 -0
- package/dist/security/session-store.js +581 -0
- package/dist/security/session-store.js.map +1 -0
- package/dist/security/siem/connector.d.ts +147 -0
- package/dist/security/siem/connector.d.ts.map +1 -0
- package/dist/security/siem/connector.js +254 -0
- package/dist/security/siem/connector.js.map +1 -0
- package/dist/security/siem/datadog.d.ts +81 -0
- package/dist/security/siem/datadog.d.ts.map +1 -0
- package/dist/security/siem/datadog.js +362 -0
- package/dist/security/siem/datadog.js.map +1 -0
- package/dist/security/siem/elastic.d.ts +83 -0
- package/dist/security/siem/elastic.d.ts.map +1 -0
- package/dist/security/siem/elastic.js +514 -0
- package/dist/security/siem/elastic.js.map +1 -0
- package/dist/security/siem/enrichment.d.ts +133 -0
- package/dist/security/siem/enrichment.d.ts.map +1 -0
- package/dist/security/siem/enrichment.js +434 -0
- package/dist/security/siem/enrichment.js.map +1 -0
- package/dist/security/siem/formatter.d.ts +118 -0
- package/dist/security/siem/formatter.d.ts.map +1 -0
- package/dist/security/siem/formatter.js +381 -0
- package/dist/security/siem/formatter.js.map +1 -0
- package/dist/security/siem/hooks.d.ts +107 -0
- package/dist/security/siem/hooks.d.ts.map +1 -0
- package/dist/security/siem/hooks.js +459 -0
- package/dist/security/siem/hooks.js.map +1 -0
- package/dist/security/siem/index.d.ts +83 -0
- package/dist/security/siem/index.d.ts.map +1 -0
- package/dist/security/siem/index.js +95 -0
- package/dist/security/siem/index.js.map +1 -0
- package/dist/security/siem/service.d.ts +153 -0
- package/dist/security/siem/service.d.ts.map +1 -0
- package/dist/security/siem/service.js +615 -0
- package/dist/security/siem/service.js.map +1 -0
- package/dist/security/siem/splunk.d.ts +76 -0
- package/dist/security/siem/splunk.d.ts.map +1 -0
- package/dist/security/siem/splunk.js +283 -0
- package/dist/security/siem/splunk.js.map +1 -0
- package/dist/security/siem/types.d.ts +1980 -0
- package/dist/security/siem/types.d.ts.map +1 -0
- package/dist/security/siem/types.js +268 -0
- package/dist/security/siem/types.js.map +1 -0
- package/dist/security/tee-production.d.ts +157 -0
- package/dist/security/tee-production.d.ts.map +1 -0
- package/dist/security/tee-production.js +792 -0
- package/dist/security/tee-production.js.map +1 -0
- package/dist/security/tee.d.ts +182 -0
- package/dist/security/tee.d.ts.map +1 -0
- package/dist/security/tee.js +1031 -0
- package/dist/security/tee.js.map +1 -0
- package/dist/security/threat-intel/bot-detection.d.ts +275 -0
- package/dist/security/threat-intel/bot-detection.d.ts.map +1 -0
- package/dist/security/threat-intel/bot-detection.js +890 -0
- package/dist/security/threat-intel/bot-detection.js.map +1 -0
- package/dist/security/threat-intel/credential-stuffing.d.ts +368 -0
- package/dist/security/threat-intel/credential-stuffing.d.ts.map +1 -0
- package/dist/security/threat-intel/credential-stuffing.js +957 -0
- package/dist/security/threat-intel/credential-stuffing.js.map +1 -0
- package/dist/security/threat-intel/index.d.ts +10 -0
- package/dist/security/threat-intel/index.d.ts.map +1 -0
- package/dist/security/threat-intel/index.js +18 -0
- package/dist/security/threat-intel/index.js.map +1 -0
- package/dist/security/threat-intel/ip-reputation.d.ts +323 -0
- package/dist/security/threat-intel/ip-reputation.d.ts.map +1 -0
- package/dist/security/threat-intel/ip-reputation.js +923 -0
- package/dist/security/threat-intel/ip-reputation.js.map +1 -0
- package/dist/security/token-lifecycle.d.ts +272 -0
- package/dist/security/token-lifecycle.d.ts.map +1 -0
- package/dist/security/token-lifecycle.js +732 -0
- package/dist/security/token-lifecycle.js.map +1 -0
- package/dist/security/token-lifetime.d.ts +206 -0
- package/dist/security/token-lifetime.d.ts.map +1 -0
- package/dist/security/token-lifetime.js +388 -0
- package/dist/security/token-lifetime.js.map +1 -0
- package/dist/security/trust-oracle/alerts.d.ts +202 -0
- package/dist/security/trust-oracle/alerts.d.ts.map +1 -0
- package/dist/security/trust-oracle/alerts.js +763 -0
- package/dist/security/trust-oracle/alerts.js.map +1 -0
- package/dist/security/trust-oracle/api.d.ts +116 -0
- package/dist/security/trust-oracle/api.d.ts.map +1 -0
- package/dist/security/trust-oracle/api.js +721 -0
- package/dist/security/trust-oracle/api.js.map +1 -0
- package/dist/security/trust-oracle/continuous-monitoring.d.ts +105 -0
- package/dist/security/trust-oracle/continuous-monitoring.d.ts.map +1 -0
- package/dist/security/trust-oracle/continuous-monitoring.js +696 -0
- package/dist/security/trust-oracle/continuous-monitoring.js.map +1 -0
- package/dist/security/trust-oracle/data-sources.d.ts +126 -0
- package/dist/security/trust-oracle/data-sources.d.ts.map +1 -0
- package/dist/security/trust-oracle/data-sources.js +867 -0
- package/dist/security/trust-oracle/data-sources.js.map +1 -0
- package/dist/security/trust-oracle/index.d.ts +79 -0
- package/dist/security/trust-oracle/index.d.ts.map +1 -0
- package/dist/security/trust-oracle/index.js +206 -0
- package/dist/security/trust-oracle/index.js.map +1 -0
- package/dist/security/trust-oracle/oracle.d.ts +125 -0
- package/dist/security/trust-oracle/oracle.d.ts.map +1 -0
- package/dist/security/trust-oracle/oracle.js +489 -0
- package/dist/security/trust-oracle/oracle.js.map +1 -0
- package/dist/security/trust-oracle/reporting.d.ts +145 -0
- package/dist/security/trust-oracle/reporting.d.ts.map +1 -0
- package/dist/security/trust-oracle/reporting.js +1098 -0
- package/dist/security/trust-oracle/reporting.js.map +1 -0
- package/dist/security/trust-oracle/risk-scorer.d.ts +207 -0
- package/dist/security/trust-oracle/risk-scorer.d.ts.map +1 -0
- package/dist/security/trust-oracle/risk-scorer.js +1033 -0
- package/dist/security/trust-oracle/risk-scorer.js.map +1 -0
- package/dist/security/trust-oracle/types.d.ts +444 -0
- package/dist/security/trust-oracle/types.d.ts.map +1 -0
- package/dist/security/trust-oracle/types.js +6 -0
- package/dist/security/trust-oracle/types.js.map +1 -0
- package/dist/security/trust-oracle/vendor-registry.d.ts +228 -0
- package/dist/security/trust-oracle/vendor-registry.d.ts.map +1 -0
- package/dist/security/trust-oracle/vendor-registry.js +727 -0
- package/dist/security/trust-oracle/vendor-registry.js.map +1 -0
- package/dist/security/types.d.ts +1777 -0
- package/dist/security/types.d.ts.map +1 -0
- package/dist/security/types.js +388 -0
- package/dist/security/types.js.map +1 -0
- package/dist/security/webauthn/index.d.ts +47 -0
- package/dist/security/webauthn/index.d.ts.map +1 -0
- package/dist/security/webauthn/index.js +48 -0
- package/dist/security/webauthn/index.js.map +1 -0
- package/dist/security/webauthn/middleware.d.ts +109 -0
- package/dist/security/webauthn/middleware.d.ts.map +1 -0
- package/dist/security/webauthn/middleware.js +629 -0
- package/dist/security/webauthn/middleware.js.map +1 -0
- package/dist/security/webauthn/service.d.ts +179 -0
- package/dist/security/webauthn/service.d.ts.map +1 -0
- package/dist/security/webauthn/service.js +758 -0
- package/dist/security/webauthn/service.js.map +1 -0
- package/dist/security/webauthn/store.d.ts +240 -0
- package/dist/security/webauthn/store.d.ts.map +1 -0
- package/dist/security/webauthn/store.js +505 -0
- package/dist/security/webauthn/store.js.map +1 -0
- package/dist/security/webauthn/types.d.ts +678 -0
- package/dist/security/webauthn/types.d.ts.map +1 -0
- package/dist/security/webauthn/types.js +176 -0
- package/dist/security/webauthn/types.js.map +1 -0
- package/dist/security/zkp/circuits.d.ts +296 -0
- package/dist/security/zkp/circuits.d.ts.map +1 -0
- package/dist/security/zkp/circuits.js +771 -0
- package/dist/security/zkp/circuits.js.map +1 -0
- package/dist/security/zkp/commitment.d.ts +319 -0
- package/dist/security/zkp/commitment.d.ts.map +1 -0
- package/dist/security/zkp/commitment.js +591 -0
- package/dist/security/zkp/commitment.js.map +1 -0
- package/dist/security/zkp/compliance.d.ts +251 -0
- package/dist/security/zkp/compliance.d.ts.map +1 -0
- package/dist/security/zkp/compliance.js +734 -0
- package/dist/security/zkp/compliance.js.map +1 -0
- package/dist/security/zkp/index.d.ts +184 -0
- package/dist/security/zkp/index.d.ts.map +1 -0
- package/dist/security/zkp/index.js +285 -0
- package/dist/security/zkp/index.js.map +1 -0
- package/dist/security/zkp/integration.d.ts +289 -0
- package/dist/security/zkp/integration.d.ts.map +1 -0
- package/dist/security/zkp/integration.js +571 -0
- package/dist/security/zkp/integration.js.map +1 -0
- package/dist/security/zkp/prover.d.ts +158 -0
- package/dist/security/zkp/prover.d.ts.map +1 -0
- package/dist/security/zkp/prover.js +465 -0
- package/dist/security/zkp/prover.js.map +1 -0
- package/dist/security/zkp/snark-utils.d.ts +321 -0
- package/dist/security/zkp/snark-utils.d.ts.map +1 -0
- package/dist/security/zkp/snark-utils.js +640 -0
- package/dist/security/zkp/snark-utils.js.map +1 -0
- package/dist/security/zkp/types.d.ts +1192 -0
- package/dist/security/zkp/types.d.ts.map +1 -0
- package/dist/security/zkp/types.js +264 -0
- package/dist/security/zkp/types.js.map +1 -0
- package/dist/security/zkp/verifier.d.ts +111 -0
- package/dist/security/zkp/verifier.d.ts.map +1 -0
- package/dist/security/zkp/verifier.js +554 -0
- package/dist/security/zkp/verifier.js.map +1 -0
- package/dist/semantic-governance/context-validator.d.ts +158 -0
- package/dist/semantic-governance/context-validator.d.ts.map +1 -0
- package/dist/semantic-governance/context-validator.js +598 -0
- package/dist/semantic-governance/context-validator.js.map +1 -0
- package/dist/semantic-governance/credential-manager.d.ts +156 -0
- package/dist/semantic-governance/credential-manager.d.ts.map +1 -0
- package/dist/semantic-governance/credential-manager.js +438 -0
- package/dist/semantic-governance/credential-manager.js.map +1 -0
- package/dist/semantic-governance/dual-channel.d.ts +138 -0
- package/dist/semantic-governance/dual-channel.d.ts.map +1 -0
- package/dist/semantic-governance/dual-channel.js +333 -0
- package/dist/semantic-governance/dual-channel.js.map +1 -0
- package/dist/semantic-governance/index.d.ts +107 -0
- package/dist/semantic-governance/index.d.ts.map +1 -0
- package/dist/semantic-governance/index.js +141 -0
- package/dist/semantic-governance/index.js.map +1 -0
- package/dist/semantic-governance/inference-validator.d.ts +114 -0
- package/dist/semantic-governance/inference-validator.d.ts.map +1 -0
- package/dist/semantic-governance/inference-validator.js +390 -0
- package/dist/semantic-governance/inference-validator.js.map +1 -0
- package/dist/semantic-governance/instruction-validator.d.ts +146 -0
- package/dist/semantic-governance/instruction-validator.d.ts.map +1 -0
- package/dist/semantic-governance/instruction-validator.js +363 -0
- package/dist/semantic-governance/instruction-validator.js.map +1 -0
- package/dist/semantic-governance/integration.d.ts +253 -0
- package/dist/semantic-governance/integration.d.ts.map +1 -0
- package/dist/semantic-governance/integration.js +658 -0
- package/dist/semantic-governance/integration.js.map +1 -0
- package/dist/semantic-governance/output-validator.d.ts +135 -0
- package/dist/semantic-governance/output-validator.d.ts.map +1 -0
- package/dist/semantic-governance/output-validator.js +448 -0
- package/dist/semantic-governance/output-validator.js.map +1 -0
- package/dist/semantic-governance/service.d.ts +120 -0
- package/dist/semantic-governance/service.d.ts.map +1 -0
- package/dist/semantic-governance/service.js +527 -0
- package/dist/semantic-governance/service.js.map +1 -0
- package/dist/semantic-governance/types.d.ts +3925 -0
- package/dist/semantic-governance/types.d.ts.map +1 -0
- package/dist/semantic-governance/types.js +471 -0
- package/dist/semantic-governance/types.js.map +1 -0
- package/dist/trust-engine/car-integration.d.ts +263 -0
- package/dist/trust-engine/car-integration.d.ts.map +1 -0
- package/dist/trust-engine/car-integration.js +320 -0
- package/dist/trust-engine/car-integration.js.map +1 -0
- package/dist/trust-engine/context.d.ts +198 -0
- package/dist/trust-engine/context.d.ts.map +1 -0
- package/dist/trust-engine/context.js +308 -0
- package/dist/trust-engine/context.js.map +1 -0
- package/dist/trust-engine/diminishing-returns.d.ts +123 -0
- package/dist/trust-engine/diminishing-returns.d.ts.map +1 -0
- package/dist/trust-engine/diminishing-returns.js +197 -0
- package/dist/trust-engine/diminishing-returns.js.map +1 -0
- package/dist/trust-engine/index.d.ts +433 -0
- package/dist/trust-engine/index.d.ts.map +1 -0
- package/dist/trust-engine/index.js +1241 -0
- package/dist/trust-engine/index.js.map +1 -0
- package/dist/trust-engine/observability.d.ts +175 -0
- package/dist/trust-engine/observability.d.ts.map +1 -0
- package/dist/trust-engine/observability.js +246 -0
- package/dist/trust-engine/observability.js.map +1 -0
- package/dist/trust-engine/signal-diversity.d.ts +130 -0
- package/dist/trust-engine/signal-diversity.d.ts.map +1 -0
- package/dist/trust-engine/signal-diversity.js +238 -0
- package/dist/trust-engine/signal-diversity.js.map +1 -0
- package/dist/versioning/deprecation.d.ts +65 -0
- package/dist/versioning/deprecation.d.ts.map +1 -0
- package/dist/versioning/deprecation.js +199 -0
- package/dist/versioning/deprecation.js.map +1 -0
- package/dist/versioning/index.d.ts +46 -0
- package/dist/versioning/index.d.ts.map +1 -0
- package/dist/versioning/index.js +76 -0
- package/dist/versioning/index.js.map +1 -0
- package/dist/versioning/semver.d.ts +116 -0
- package/dist/versioning/semver.d.ts.map +1 -0
- package/dist/versioning/semver.js +321 -0
- package/dist/versioning/semver.js.map +1 -0
- package/package.json +161 -0
|
@@ -0,0 +1,1674 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI 3.1 Specification for the INTENT Module API
|
|
3
|
+
*
|
|
4
|
+
* This module exports a comprehensive OpenAPI specification for all INTENT-related
|
|
5
|
+
* endpoints including intent submission, retrieval, escalation, and GDPR operations.
|
|
6
|
+
*
|
|
7
|
+
* @packageDocumentation
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* OpenAPI 3.1 specification for the INTENT module
|
|
11
|
+
*/
|
|
12
|
+
export const intentOpenApiSpec = {
|
|
13
|
+
openapi: '3.1.0',
|
|
14
|
+
info: {
|
|
15
|
+
title: 'Vorion INTENT Module API',
|
|
16
|
+
version: '1.0.0',
|
|
17
|
+
description: `
|
|
18
|
+
# INTENT Module API
|
|
19
|
+
|
|
20
|
+
The INTENT module provides production-grade goal processing with validation,
|
|
21
|
+
persistence, audit events, and human-in-the-loop escalation workflows.
|
|
22
|
+
|
|
23
|
+
## API Versioning
|
|
24
|
+
|
|
25
|
+
This API uses URL-based versioning. All endpoints are prefixed with the API version:
|
|
26
|
+
- **Current version**: \`/api/v1\`
|
|
27
|
+
|
|
28
|
+
### Version Negotiation
|
|
29
|
+
|
|
30
|
+
1. **URL Path (Recommended)**: Include version in URL path: \`/api/v1/intents\`
|
|
31
|
+
2. **Accept Header (Fallback)**: Use \`application/vnd.vorion.v1+json\`
|
|
32
|
+
|
|
33
|
+
### Version Headers
|
|
34
|
+
|
|
35
|
+
All responses include:
|
|
36
|
+
- \`X-API-Version\`: The API version used for the request
|
|
37
|
+
|
|
38
|
+
### Deprecation Notices
|
|
39
|
+
|
|
40
|
+
When using deprecated versions or unversioned endpoints:
|
|
41
|
+
- \`Deprecation: true\` header indicates the endpoint is deprecated
|
|
42
|
+
- \`Sunset\` header indicates when the endpoint will be removed
|
|
43
|
+
- \`Warning\` header provides migration guidance
|
|
44
|
+
|
|
45
|
+
## Features
|
|
46
|
+
|
|
47
|
+
- **Intent Lifecycle Management**: Submit, track, cancel, and delete intents
|
|
48
|
+
- **Trust Gate Validation**: Automatic trust level verification for sensitive operations
|
|
49
|
+
- **Escalation Workflows**: Human-in-the-loop approval for high-risk intents
|
|
50
|
+
- **GDPR Compliance**: Soft delete and data erasure support
|
|
51
|
+
- **Audit Trail**: Cryptographically chained event history
|
|
52
|
+
|
|
53
|
+
## Authentication
|
|
54
|
+
|
|
55
|
+
All endpoints require Bearer token authentication. Include the JWT token in the
|
|
56
|
+
Authorization header:
|
|
57
|
+
|
|
58
|
+
\`\`\`
|
|
59
|
+
Authorization: Bearer <token>
|
|
60
|
+
\`\`\`
|
|
61
|
+
|
|
62
|
+
The token must contain:
|
|
63
|
+
- \`tenantId\`: The tenant context for multi-tenant isolation
|
|
64
|
+
- \`sub\`: The user/entity identifier
|
|
65
|
+
- \`jti\`: Token identifier for revocation support
|
|
66
|
+
|
|
67
|
+
## Rate Limiting
|
|
68
|
+
|
|
69
|
+
API requests are rate-limited per tenant. Rate limit headers are included in responses:
|
|
70
|
+
- \`X-RateLimit-Limit\`: Maximum requests per window
|
|
71
|
+
- \`X-RateLimit-Remaining\`: Remaining requests in current window
|
|
72
|
+
- \`X-RateLimit-Reset\`: Unix timestamp when the window resets
|
|
73
|
+
- \`Retry-After\`: Seconds to wait before retrying (on 429 responses)
|
|
74
|
+
`,
|
|
75
|
+
contact: {
|
|
76
|
+
name: 'Agent Anchor AI API Support',
|
|
77
|
+
email: 'api-support@agentanchorai.com',
|
|
78
|
+
},
|
|
79
|
+
license: {
|
|
80
|
+
name: 'MIT',
|
|
81
|
+
url: 'https://opensource.org/licenses/MIT',
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
servers: [
|
|
85
|
+
{
|
|
86
|
+
url: '/api/v1',
|
|
87
|
+
description: 'API v1 base path',
|
|
88
|
+
},
|
|
89
|
+
],
|
|
90
|
+
tags: [
|
|
91
|
+
{
|
|
92
|
+
name: 'Intents',
|
|
93
|
+
description: 'Intent lifecycle management operations',
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
name: 'Escalations',
|
|
97
|
+
description: 'Human-in-the-loop escalation workflows',
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
name: 'Events',
|
|
101
|
+
description: 'Intent event history and verification',
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
name: 'GDPR',
|
|
105
|
+
description: 'Data protection and erasure operations',
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
name: 'Health',
|
|
109
|
+
description: 'Service health and status endpoints',
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
name: 'OpenAPI',
|
|
113
|
+
description: 'API documentation endpoints',
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
paths: {
|
|
117
|
+
'/intent': {
|
|
118
|
+
post: {
|
|
119
|
+
tags: ['Intents'],
|
|
120
|
+
summary: 'Submit a new intent',
|
|
121
|
+
operationId: 'submitIntent',
|
|
122
|
+
description: `
|
|
123
|
+
Submit a new intent for processing. The intent will be validated, deduplicated,
|
|
124
|
+
and queued for evaluation.
|
|
125
|
+
|
|
126
|
+
**Trust Gate Validation**: If the intent type requires a specific trust level,
|
|
127
|
+
the request will be rejected if the caller's trust level is insufficient.
|
|
128
|
+
|
|
129
|
+
**Deduplication**: Identical intents (same goal, context, entity) submitted within
|
|
130
|
+
the deduplication window will return the existing intent instead of creating a duplicate.
|
|
131
|
+
`,
|
|
132
|
+
security: [{ bearerAuth: [] }],
|
|
133
|
+
parameters: [
|
|
134
|
+
{ $ref: '#/components/parameters/TenantId' },
|
|
135
|
+
],
|
|
136
|
+
requestBody: {
|
|
137
|
+
required: true,
|
|
138
|
+
content: {
|
|
139
|
+
'application/json': {
|
|
140
|
+
schema: { $ref: '#/components/schemas/IntentSubmission' },
|
|
141
|
+
examples: {
|
|
142
|
+
basic: {
|
|
143
|
+
summary: 'Basic intent submission',
|
|
144
|
+
value: {
|
|
145
|
+
entityId: '123e4567-e89b-12d3-a456-426614174000',
|
|
146
|
+
goal: 'Send notification to user',
|
|
147
|
+
context: {
|
|
148
|
+
userId: 'user-456',
|
|
149
|
+
message: 'Your order has shipped',
|
|
150
|
+
},
|
|
151
|
+
},
|
|
152
|
+
},
|
|
153
|
+
withPriority: {
|
|
154
|
+
summary: 'High priority intent',
|
|
155
|
+
value: {
|
|
156
|
+
entityId: '123e4567-e89b-12d3-a456-426614174000',
|
|
157
|
+
goal: 'Process urgent payment',
|
|
158
|
+
context: {
|
|
159
|
+
amount: 1000,
|
|
160
|
+
currency: 'USD',
|
|
161
|
+
},
|
|
162
|
+
intentType: 'payment-processing',
|
|
163
|
+
priority: 9,
|
|
164
|
+
idempotencyKey: 'payment-order-789',
|
|
165
|
+
},
|
|
166
|
+
},
|
|
167
|
+
},
|
|
168
|
+
},
|
|
169
|
+
},
|
|
170
|
+
},
|
|
171
|
+
responses: {
|
|
172
|
+
'202': {
|
|
173
|
+
description: 'Intent accepted for processing',
|
|
174
|
+
headers: {
|
|
175
|
+
'X-RateLimit-Limit': { $ref: '#/components/headers/X-RateLimit-Limit' },
|
|
176
|
+
'X-RateLimit-Remaining': { $ref: '#/components/headers/X-RateLimit-Remaining' },
|
|
177
|
+
'X-RateLimit-Reset': { $ref: '#/components/headers/X-RateLimit-Reset' },
|
|
178
|
+
},
|
|
179
|
+
content: {
|
|
180
|
+
'application/json': {
|
|
181
|
+
schema: { $ref: '#/components/schemas/Intent' },
|
|
182
|
+
example: {
|
|
183
|
+
id: '550e8400-e29b-41d4-a716-446655440000',
|
|
184
|
+
tenantId: 'tenant-123',
|
|
185
|
+
entityId: '123e4567-e89b-12d3-a456-426614174000',
|
|
186
|
+
goal: 'Send notification to user',
|
|
187
|
+
context: { userId: 'user-456', message: 'Your order has shipped' },
|
|
188
|
+
metadata: {},
|
|
189
|
+
status: 'pending',
|
|
190
|
+
priority: 0,
|
|
191
|
+
createdAt: '2024-01-15T10:30:00.000Z',
|
|
192
|
+
updatedAt: '2024-01-15T10:30:00.000Z',
|
|
193
|
+
},
|
|
194
|
+
},
|
|
195
|
+
},
|
|
196
|
+
},
|
|
197
|
+
'400': { $ref: '#/components/responses/BadRequest' },
|
|
198
|
+
'401': { $ref: '#/components/responses/Unauthorized' },
|
|
199
|
+
'403': { $ref: '#/components/responses/Forbidden' },
|
|
200
|
+
'429': { $ref: '#/components/responses/TooManyRequests' },
|
|
201
|
+
'500': { $ref: '#/components/responses/InternalError' },
|
|
202
|
+
},
|
|
203
|
+
},
|
|
204
|
+
get: {
|
|
205
|
+
tags: ['Intents'],
|
|
206
|
+
summary: 'List intents',
|
|
207
|
+
operationId: 'listIntents',
|
|
208
|
+
description: `
|
|
209
|
+
List intents for the current tenant with optional filtering and pagination.
|
|
210
|
+
|
|
211
|
+
Results are ordered by creation time (newest first) and use cursor-based
|
|
212
|
+
pagination for efficient traversal of large result sets.
|
|
213
|
+
`,
|
|
214
|
+
security: [{ bearerAuth: [] }],
|
|
215
|
+
parameters: [
|
|
216
|
+
{ $ref: '#/components/parameters/TenantId' },
|
|
217
|
+
{ $ref: '#/components/parameters/EntityIdFilter' },
|
|
218
|
+
{ $ref: '#/components/parameters/StatusFilter' },
|
|
219
|
+
{ $ref: '#/components/parameters/Limit' },
|
|
220
|
+
{ $ref: '#/components/parameters/Cursor' },
|
|
221
|
+
],
|
|
222
|
+
responses: {
|
|
223
|
+
'200': {
|
|
224
|
+
description: 'List of intents',
|
|
225
|
+
headers: {
|
|
226
|
+
'X-RateLimit-Limit': { $ref: '#/components/headers/X-RateLimit-Limit' },
|
|
227
|
+
'X-RateLimit-Remaining': { $ref: '#/components/headers/X-RateLimit-Remaining' },
|
|
228
|
+
'X-RateLimit-Reset': { $ref: '#/components/headers/X-RateLimit-Reset' },
|
|
229
|
+
},
|
|
230
|
+
content: {
|
|
231
|
+
'application/json': {
|
|
232
|
+
schema: { $ref: '#/components/schemas/IntentListResponse' },
|
|
233
|
+
},
|
|
234
|
+
},
|
|
235
|
+
},
|
|
236
|
+
'400': { $ref: '#/components/responses/BadRequest' },
|
|
237
|
+
'401': { $ref: '#/components/responses/Unauthorized' },
|
|
238
|
+
'403': { $ref: '#/components/responses/Forbidden' },
|
|
239
|
+
'429': { $ref: '#/components/responses/TooManyRequests' },
|
|
240
|
+
'500': { $ref: '#/components/responses/InternalError' },
|
|
241
|
+
},
|
|
242
|
+
},
|
|
243
|
+
},
|
|
244
|
+
'/intent/{id}': {
|
|
245
|
+
get: {
|
|
246
|
+
tags: ['Intents'],
|
|
247
|
+
summary: 'Get intent by ID',
|
|
248
|
+
operationId: 'getIntent',
|
|
249
|
+
description: `
|
|
250
|
+
Retrieve a specific intent by its ID, including events and evaluations.
|
|
251
|
+
|
|
252
|
+
The response includes the full intent object along with:
|
|
253
|
+
- Event history (most recent first)
|
|
254
|
+
- Evaluation records (trust gate, basis, decision stages)
|
|
255
|
+
`,
|
|
256
|
+
security: [{ bearerAuth: [] }],
|
|
257
|
+
parameters: [
|
|
258
|
+
{ $ref: '#/components/parameters/TenantId' },
|
|
259
|
+
{ $ref: '#/components/parameters/IntentId' },
|
|
260
|
+
],
|
|
261
|
+
responses: {
|
|
262
|
+
'200': {
|
|
263
|
+
description: 'Intent details with events and evaluations',
|
|
264
|
+
headers: {
|
|
265
|
+
'X-RateLimit-Limit': { $ref: '#/components/headers/X-RateLimit-Limit' },
|
|
266
|
+
'X-RateLimit-Remaining': { $ref: '#/components/headers/X-RateLimit-Remaining' },
|
|
267
|
+
'X-RateLimit-Reset': { $ref: '#/components/headers/X-RateLimit-Reset' },
|
|
268
|
+
},
|
|
269
|
+
content: {
|
|
270
|
+
'application/json': {
|
|
271
|
+
schema: { $ref: '#/components/schemas/IntentWithEvents' },
|
|
272
|
+
},
|
|
273
|
+
},
|
|
274
|
+
},
|
|
275
|
+
'401': { $ref: '#/components/responses/Unauthorized' },
|
|
276
|
+
'403': { $ref: '#/components/responses/Forbidden' },
|
|
277
|
+
'404': { $ref: '#/components/responses/NotFound' },
|
|
278
|
+
'429': { $ref: '#/components/responses/TooManyRequests' },
|
|
279
|
+
'500': { $ref: '#/components/responses/InternalError' },
|
|
280
|
+
},
|
|
281
|
+
},
|
|
282
|
+
delete: {
|
|
283
|
+
tags: ['Intents', 'GDPR'],
|
|
284
|
+
summary: 'Delete intent (GDPR soft delete)',
|
|
285
|
+
operationId: 'deleteIntent',
|
|
286
|
+
description: `
|
|
287
|
+
Soft delete an intent for GDPR compliance. The intent record is marked as deleted
|
|
288
|
+
and sensitive data (context, metadata) is cleared, but the audit trail is preserved.
|
|
289
|
+
|
|
290
|
+
After soft deletion:
|
|
291
|
+
- The intent will not appear in list queries
|
|
292
|
+
- The intent ID remains valid for audit purposes
|
|
293
|
+
- Context and metadata fields are emptied
|
|
294
|
+
- The \`deletedAt\` timestamp is set
|
|
295
|
+
|
|
296
|
+
**Note**: Permanently deleted after the retention period (configurable).
|
|
297
|
+
`,
|
|
298
|
+
security: [{ bearerAuth: [] }],
|
|
299
|
+
parameters: [
|
|
300
|
+
{ $ref: '#/components/parameters/TenantId' },
|
|
301
|
+
{ $ref: '#/components/parameters/IntentId' },
|
|
302
|
+
],
|
|
303
|
+
responses: {
|
|
304
|
+
'204': {
|
|
305
|
+
description: 'Intent successfully deleted',
|
|
306
|
+
headers: {
|
|
307
|
+
'X-RateLimit-Limit': { $ref: '#/components/headers/X-RateLimit-Limit' },
|
|
308
|
+
'X-RateLimit-Remaining': { $ref: '#/components/headers/X-RateLimit-Remaining' },
|
|
309
|
+
'X-RateLimit-Reset': { $ref: '#/components/headers/X-RateLimit-Reset' },
|
|
310
|
+
},
|
|
311
|
+
},
|
|
312
|
+
'401': { $ref: '#/components/responses/Unauthorized' },
|
|
313
|
+
'403': { $ref: '#/components/responses/Forbidden' },
|
|
314
|
+
'404': { $ref: '#/components/responses/NotFound' },
|
|
315
|
+
'429': { $ref: '#/components/responses/TooManyRequests' },
|
|
316
|
+
'500': { $ref: '#/components/responses/InternalError' },
|
|
317
|
+
},
|
|
318
|
+
},
|
|
319
|
+
},
|
|
320
|
+
'/intent/{id}/cancel': {
|
|
321
|
+
post: {
|
|
322
|
+
tags: ['Intents'],
|
|
323
|
+
summary: 'Cancel an intent',
|
|
324
|
+
operationId: 'cancelIntent',
|
|
325
|
+
description: `
|
|
326
|
+
Cancel an in-flight intent. Only intents in cancellable states can be cancelled:
|
|
327
|
+
- \`pending\`
|
|
328
|
+
- \`evaluating\`
|
|
329
|
+
- \`escalated\`
|
|
330
|
+
|
|
331
|
+
Intents in terminal states (\`completed\`, \`failed\`, \`cancelled\`, \`approved\`, \`denied\`)
|
|
332
|
+
cannot be cancelled.
|
|
333
|
+
`,
|
|
334
|
+
security: [{ bearerAuth: [] }],
|
|
335
|
+
parameters: [
|
|
336
|
+
{ $ref: '#/components/parameters/TenantId' },
|
|
337
|
+
{ $ref: '#/components/parameters/IntentId' },
|
|
338
|
+
],
|
|
339
|
+
requestBody: {
|
|
340
|
+
required: true,
|
|
341
|
+
content: {
|
|
342
|
+
'application/json': {
|
|
343
|
+
schema: { $ref: '#/components/schemas/CancelIntentRequest' },
|
|
344
|
+
example: {
|
|
345
|
+
reason: 'User requested cancellation',
|
|
346
|
+
},
|
|
347
|
+
},
|
|
348
|
+
},
|
|
349
|
+
},
|
|
350
|
+
responses: {
|
|
351
|
+
'200': {
|
|
352
|
+
description: 'Intent cancelled successfully',
|
|
353
|
+
headers: {
|
|
354
|
+
'X-RateLimit-Limit': { $ref: '#/components/headers/X-RateLimit-Limit' },
|
|
355
|
+
'X-RateLimit-Remaining': { $ref: '#/components/headers/X-RateLimit-Remaining' },
|
|
356
|
+
'X-RateLimit-Reset': { $ref: '#/components/headers/X-RateLimit-Reset' },
|
|
357
|
+
},
|
|
358
|
+
content: {
|
|
359
|
+
'application/json': {
|
|
360
|
+
schema: { $ref: '#/components/schemas/Intent' },
|
|
361
|
+
},
|
|
362
|
+
},
|
|
363
|
+
},
|
|
364
|
+
'400': { $ref: '#/components/responses/BadRequest' },
|
|
365
|
+
'401': { $ref: '#/components/responses/Unauthorized' },
|
|
366
|
+
'403': { $ref: '#/components/responses/Forbidden' },
|
|
367
|
+
'404': { $ref: '#/components/responses/NotFound' },
|
|
368
|
+
'429': { $ref: '#/components/responses/TooManyRequests' },
|
|
369
|
+
'500': { $ref: '#/components/responses/InternalError' },
|
|
370
|
+
},
|
|
371
|
+
},
|
|
372
|
+
},
|
|
373
|
+
'/intent/{id}/escalate': {
|
|
374
|
+
post: {
|
|
375
|
+
tags: ['Intents', 'Escalations'],
|
|
376
|
+
summary: 'Escalate an intent',
|
|
377
|
+
operationId: 'escalateIntent',
|
|
378
|
+
description: `
|
|
379
|
+
Create an escalation for an intent that requires human approval.
|
|
380
|
+
|
|
381
|
+
This endpoint is typically called by the evaluation pipeline when a policy
|
|
382
|
+
rule triggers an escalation action, but can also be invoked manually.
|
|
383
|
+
|
|
384
|
+
The escalation will be routed to the specified recipient(s) and will
|
|
385
|
+
timeout if not resolved within the specified duration.
|
|
386
|
+
`,
|
|
387
|
+
security: [{ bearerAuth: [] }],
|
|
388
|
+
parameters: [
|
|
389
|
+
{ $ref: '#/components/parameters/TenantId' },
|
|
390
|
+
{ $ref: '#/components/parameters/IntentId' },
|
|
391
|
+
],
|
|
392
|
+
requestBody: {
|
|
393
|
+
required: true,
|
|
394
|
+
content: {
|
|
395
|
+
'application/json': {
|
|
396
|
+
schema: { $ref: '#/components/schemas/EscalateIntentRequest' },
|
|
397
|
+
example: {
|
|
398
|
+
reason: 'High-value transaction requires manual approval',
|
|
399
|
+
reasonCategory: 'high_risk',
|
|
400
|
+
escalatedTo: 'finance-approvers',
|
|
401
|
+
timeout: 'PT4H',
|
|
402
|
+
},
|
|
403
|
+
},
|
|
404
|
+
},
|
|
405
|
+
},
|
|
406
|
+
responses: {
|
|
407
|
+
'201': {
|
|
408
|
+
description: 'Escalation created',
|
|
409
|
+
headers: {
|
|
410
|
+
'X-RateLimit-Limit': { $ref: '#/components/headers/X-RateLimit-Limit' },
|
|
411
|
+
'X-RateLimit-Remaining': { $ref: '#/components/headers/X-RateLimit-Remaining' },
|
|
412
|
+
'X-RateLimit-Reset': { $ref: '#/components/headers/X-RateLimit-Reset' },
|
|
413
|
+
},
|
|
414
|
+
content: {
|
|
415
|
+
'application/json': {
|
|
416
|
+
schema: { $ref: '#/components/schemas/Escalation' },
|
|
417
|
+
},
|
|
418
|
+
},
|
|
419
|
+
},
|
|
420
|
+
'400': { $ref: '#/components/responses/BadRequest' },
|
|
421
|
+
'401': { $ref: '#/components/responses/Unauthorized' },
|
|
422
|
+
'403': { $ref: '#/components/responses/Forbidden' },
|
|
423
|
+
'404': { $ref: '#/components/responses/NotFound' },
|
|
424
|
+
'429': { $ref: '#/components/responses/TooManyRequests' },
|
|
425
|
+
'500': { $ref: '#/components/responses/InternalError' },
|
|
426
|
+
},
|
|
427
|
+
},
|
|
428
|
+
},
|
|
429
|
+
'/intent/{id}/events': {
|
|
430
|
+
get: {
|
|
431
|
+
tags: ['Events'],
|
|
432
|
+
summary: 'Get intent events',
|
|
433
|
+
operationId: 'getIntentEvents',
|
|
434
|
+
description: `
|
|
435
|
+
Retrieve the event history for an intent. Events are ordered by occurrence time
|
|
436
|
+
(most recent first) and include cryptographic hashes for tamper detection.
|
|
437
|
+
|
|
438
|
+
Each event contains:
|
|
439
|
+
- Event type (e.g., \`intent.submitted\`, \`intent.status.changed\`)
|
|
440
|
+
- Event payload with relevant data
|
|
441
|
+
- Occurrence timestamp
|
|
442
|
+
- Hash and previous hash for chain integrity verification
|
|
443
|
+
`,
|
|
444
|
+
security: [{ bearerAuth: [] }],
|
|
445
|
+
parameters: [
|
|
446
|
+
{ $ref: '#/components/parameters/TenantId' },
|
|
447
|
+
{ $ref: '#/components/parameters/IntentId' },
|
|
448
|
+
{
|
|
449
|
+
name: 'limit',
|
|
450
|
+
in: 'query',
|
|
451
|
+
description: 'Maximum number of events to return',
|
|
452
|
+
schema: {
|
|
453
|
+
type: 'integer',
|
|
454
|
+
minimum: 1,
|
|
455
|
+
maximum: 100,
|
|
456
|
+
default: 10,
|
|
457
|
+
},
|
|
458
|
+
},
|
|
459
|
+
],
|
|
460
|
+
responses: {
|
|
461
|
+
'200': {
|
|
462
|
+
description: 'List of intent events',
|
|
463
|
+
headers: {
|
|
464
|
+
'X-RateLimit-Limit': { $ref: '#/components/headers/X-RateLimit-Limit' },
|
|
465
|
+
'X-RateLimit-Remaining': { $ref: '#/components/headers/X-RateLimit-Remaining' },
|
|
466
|
+
'X-RateLimit-Reset': { $ref: '#/components/headers/X-RateLimit-Reset' },
|
|
467
|
+
},
|
|
468
|
+
content: {
|
|
469
|
+
'application/json': {
|
|
470
|
+
schema: {
|
|
471
|
+
type: 'object',
|
|
472
|
+
properties: {
|
|
473
|
+
data: {
|
|
474
|
+
type: 'array',
|
|
475
|
+
items: { $ref: '#/components/schemas/IntentEvent' },
|
|
476
|
+
},
|
|
477
|
+
},
|
|
478
|
+
required: ['data'],
|
|
479
|
+
},
|
|
480
|
+
},
|
|
481
|
+
},
|
|
482
|
+
},
|
|
483
|
+
'401': { $ref: '#/components/responses/Unauthorized' },
|
|
484
|
+
'403': { $ref: '#/components/responses/Forbidden' },
|
|
485
|
+
'404': { $ref: '#/components/responses/NotFound' },
|
|
486
|
+
'429': { $ref: '#/components/responses/TooManyRequests' },
|
|
487
|
+
'500': { $ref: '#/components/responses/InternalError' },
|
|
488
|
+
},
|
|
489
|
+
},
|
|
490
|
+
},
|
|
491
|
+
'/intent/{id}/verify': {
|
|
492
|
+
get: {
|
|
493
|
+
tags: ['Events'],
|
|
494
|
+
summary: 'Verify intent event chain',
|
|
495
|
+
operationId: 'verifyIntentEventChain',
|
|
496
|
+
description: `
|
|
497
|
+
Verify the cryptographic integrity of an intent's event chain.
|
|
498
|
+
|
|
499
|
+
This endpoint validates that:
|
|
500
|
+
- Each event's hash matches its content
|
|
501
|
+
- The chain of previous hashes is unbroken
|
|
502
|
+
- No events have been tampered with
|
|
503
|
+
|
|
504
|
+
Returns verification status and details about any chain breaks.
|
|
505
|
+
`,
|
|
506
|
+
security: [{ bearerAuth: [] }],
|
|
507
|
+
parameters: [
|
|
508
|
+
{ $ref: '#/components/parameters/TenantId' },
|
|
509
|
+
{ $ref: '#/components/parameters/IntentId' },
|
|
510
|
+
],
|
|
511
|
+
responses: {
|
|
512
|
+
'200': {
|
|
513
|
+
description: 'Chain verification result',
|
|
514
|
+
headers: {
|
|
515
|
+
'X-RateLimit-Limit': { $ref: '#/components/headers/X-RateLimit-Limit' },
|
|
516
|
+
'X-RateLimit-Remaining': { $ref: '#/components/headers/X-RateLimit-Remaining' },
|
|
517
|
+
'X-RateLimit-Reset': { $ref: '#/components/headers/X-RateLimit-Reset' },
|
|
518
|
+
},
|
|
519
|
+
content: {
|
|
520
|
+
'application/json': {
|
|
521
|
+
schema: { $ref: '#/components/schemas/ChainVerificationResult' },
|
|
522
|
+
examples: {
|
|
523
|
+
valid: {
|
|
524
|
+
summary: 'Valid chain',
|
|
525
|
+
value: { valid: true },
|
|
526
|
+
},
|
|
527
|
+
invalid: {
|
|
528
|
+
summary: 'Broken chain',
|
|
529
|
+
value: {
|
|
530
|
+
valid: false,
|
|
531
|
+
invalidAt: 3,
|
|
532
|
+
error: 'Chain broken at event 3: hash mismatch',
|
|
533
|
+
},
|
|
534
|
+
},
|
|
535
|
+
},
|
|
536
|
+
},
|
|
537
|
+
},
|
|
538
|
+
},
|
|
539
|
+
'401': { $ref: '#/components/responses/Unauthorized' },
|
|
540
|
+
'403': { $ref: '#/components/responses/Forbidden' },
|
|
541
|
+
'404': { $ref: '#/components/responses/NotFound' },
|
|
542
|
+
'429': { $ref: '#/components/responses/TooManyRequests' },
|
|
543
|
+
'500': { $ref: '#/components/responses/InternalError' },
|
|
544
|
+
},
|
|
545
|
+
},
|
|
546
|
+
},
|
|
547
|
+
'/intent/{id}/escalation': {
|
|
548
|
+
get: {
|
|
549
|
+
tags: ['Escalations'],
|
|
550
|
+
summary: 'Get escalation for intent',
|
|
551
|
+
operationId: 'getIntentEscalation',
|
|
552
|
+
description: 'Get the most recent escalation associated with an intent.',
|
|
553
|
+
security: [{ bearerAuth: [] }],
|
|
554
|
+
parameters: [
|
|
555
|
+
{ $ref: '#/components/parameters/TenantId' },
|
|
556
|
+
{ $ref: '#/components/parameters/IntentId' },
|
|
557
|
+
],
|
|
558
|
+
responses: {
|
|
559
|
+
'200': {
|
|
560
|
+
description: 'Escalation details',
|
|
561
|
+
headers: {
|
|
562
|
+
'X-RateLimit-Limit': { $ref: '#/components/headers/X-RateLimit-Limit' },
|
|
563
|
+
'X-RateLimit-Remaining': { $ref: '#/components/headers/X-RateLimit-Remaining' },
|
|
564
|
+
'X-RateLimit-Reset': { $ref: '#/components/headers/X-RateLimit-Reset' },
|
|
565
|
+
},
|
|
566
|
+
content: {
|
|
567
|
+
'application/json': {
|
|
568
|
+
schema: { $ref: '#/components/schemas/Escalation' },
|
|
569
|
+
},
|
|
570
|
+
},
|
|
571
|
+
},
|
|
572
|
+
'401': { $ref: '#/components/responses/Unauthorized' },
|
|
573
|
+
'403': { $ref: '#/components/responses/Forbidden' },
|
|
574
|
+
'404': { $ref: '#/components/responses/NotFound' },
|
|
575
|
+
'429': { $ref: '#/components/responses/TooManyRequests' },
|
|
576
|
+
'500': { $ref: '#/components/responses/InternalError' },
|
|
577
|
+
},
|
|
578
|
+
},
|
|
579
|
+
},
|
|
580
|
+
'/intent/escalation/{id}/resolve': {
|
|
581
|
+
put: {
|
|
582
|
+
tags: ['Escalations'],
|
|
583
|
+
summary: 'Resolve an escalation',
|
|
584
|
+
operationId: 'resolveEscalation',
|
|
585
|
+
description: `
|
|
586
|
+
Resolve an escalation by approving or rejecting it.
|
|
587
|
+
|
|
588
|
+
**Authorization**: Only authorized users can resolve escalations:
|
|
589
|
+
- Admin roles (\`admin\`, \`tenant:admin\`, \`escalation:admin\`)
|
|
590
|
+
- Direct assignees (escalatedTo matches user ID)
|
|
591
|
+
- Verified group members (database-verified group membership)
|
|
592
|
+
- Explicitly assigned approvers
|
|
593
|
+
|
|
594
|
+
The resolution will update both the escalation and the associated intent's status.
|
|
595
|
+
`,
|
|
596
|
+
security: [{ bearerAuth: [] }],
|
|
597
|
+
parameters: [
|
|
598
|
+
{ $ref: '#/components/parameters/TenantId' },
|
|
599
|
+
{ $ref: '#/components/parameters/EscalationId' },
|
|
600
|
+
],
|
|
601
|
+
requestBody: {
|
|
602
|
+
required: true,
|
|
603
|
+
content: {
|
|
604
|
+
'application/json': {
|
|
605
|
+
schema: { $ref: '#/components/schemas/ResolveEscalationRequest' },
|
|
606
|
+
examples: {
|
|
607
|
+
approve: {
|
|
608
|
+
summary: 'Approve escalation',
|
|
609
|
+
value: {
|
|
610
|
+
resolution: 'approved',
|
|
611
|
+
notes: 'Verified by finance team - amount within authorized limits',
|
|
612
|
+
},
|
|
613
|
+
},
|
|
614
|
+
reject: {
|
|
615
|
+
summary: 'Reject escalation',
|
|
616
|
+
value: {
|
|
617
|
+
resolution: 'rejected',
|
|
618
|
+
notes: 'Transaction violates policy - see ticket #1234',
|
|
619
|
+
},
|
|
620
|
+
},
|
|
621
|
+
},
|
|
622
|
+
},
|
|
623
|
+
},
|
|
624
|
+
},
|
|
625
|
+
responses: {
|
|
626
|
+
'200': {
|
|
627
|
+
description: 'Escalation resolved',
|
|
628
|
+
headers: {
|
|
629
|
+
'X-RateLimit-Limit': { $ref: '#/components/headers/X-RateLimit-Limit' },
|
|
630
|
+
'X-RateLimit-Remaining': { $ref: '#/components/headers/X-RateLimit-Remaining' },
|
|
631
|
+
'X-RateLimit-Reset': { $ref: '#/components/headers/X-RateLimit-Reset' },
|
|
632
|
+
},
|
|
633
|
+
content: {
|
|
634
|
+
'application/json': {
|
|
635
|
+
schema: { $ref: '#/components/schemas/Escalation' },
|
|
636
|
+
},
|
|
637
|
+
},
|
|
638
|
+
},
|
|
639
|
+
'400': { $ref: '#/components/responses/BadRequest' },
|
|
640
|
+
'401': { $ref: '#/components/responses/Unauthorized' },
|
|
641
|
+
'403': { $ref: '#/components/responses/Forbidden' },
|
|
642
|
+
'404': { $ref: '#/components/responses/NotFound' },
|
|
643
|
+
'429': { $ref: '#/components/responses/TooManyRequests' },
|
|
644
|
+
'500': { $ref: '#/components/responses/InternalError' },
|
|
645
|
+
},
|
|
646
|
+
},
|
|
647
|
+
},
|
|
648
|
+
'/intent/health': {
|
|
649
|
+
get: {
|
|
650
|
+
tags: ['Health'],
|
|
651
|
+
summary: 'Intent service health check',
|
|
652
|
+
operationId: 'getIntentHealth',
|
|
653
|
+
description: `
|
|
654
|
+
Check the health status of the intent service and its dependencies.
|
|
655
|
+
|
|
656
|
+
This endpoint does not require authentication and is suitable for
|
|
657
|
+
load balancer health checks.
|
|
658
|
+
`,
|
|
659
|
+
responses: {
|
|
660
|
+
'200': {
|
|
661
|
+
description: 'Service is healthy',
|
|
662
|
+
content: {
|
|
663
|
+
'application/json': {
|
|
664
|
+
schema: { $ref: '#/components/schemas/HealthResponse' },
|
|
665
|
+
example: {
|
|
666
|
+
status: 'healthy',
|
|
667
|
+
timestamp: '2024-01-15T10:30:00.000Z',
|
|
668
|
+
checks: {
|
|
669
|
+
database: { status: 'ok', latencyMs: 5 },
|
|
670
|
+
redis: { status: 'ok', latencyMs: 2 },
|
|
671
|
+
queues: { status: 'ok' },
|
|
672
|
+
},
|
|
673
|
+
},
|
|
674
|
+
},
|
|
675
|
+
},
|
|
676
|
+
},
|
|
677
|
+
'503': {
|
|
678
|
+
description: 'Service is unhealthy',
|
|
679
|
+
content: {
|
|
680
|
+
'application/json': {
|
|
681
|
+
schema: { $ref: '#/components/schemas/HealthResponse' },
|
|
682
|
+
example: {
|
|
683
|
+
status: 'unhealthy',
|
|
684
|
+
timestamp: '2024-01-15T10:30:00.000Z',
|
|
685
|
+
checks: {
|
|
686
|
+
database: { status: 'error', error: 'Connection timeout' },
|
|
687
|
+
redis: { status: 'ok', latencyMs: 2 },
|
|
688
|
+
queues: { status: 'ok' },
|
|
689
|
+
},
|
|
690
|
+
},
|
|
691
|
+
},
|
|
692
|
+
},
|
|
693
|
+
},
|
|
694
|
+
},
|
|
695
|
+
},
|
|
696
|
+
},
|
|
697
|
+
'/intent/openapi.json': {
|
|
698
|
+
get: {
|
|
699
|
+
tags: ['OpenAPI'],
|
|
700
|
+
summary: 'Get OpenAPI specification',
|
|
701
|
+
operationId: 'getOpenApiSpec',
|
|
702
|
+
description: 'Returns the OpenAPI 3.1 specification for the INTENT module API.',
|
|
703
|
+
responses: {
|
|
704
|
+
'200': {
|
|
705
|
+
description: 'OpenAPI specification',
|
|
706
|
+
content: {
|
|
707
|
+
'application/json': {
|
|
708
|
+
schema: {
|
|
709
|
+
type: 'object',
|
|
710
|
+
description: 'OpenAPI 3.1 specification document',
|
|
711
|
+
},
|
|
712
|
+
},
|
|
713
|
+
},
|
|
714
|
+
},
|
|
715
|
+
},
|
|
716
|
+
},
|
|
717
|
+
},
|
|
718
|
+
'/intent/gdpr/export/{entityId}': {
|
|
719
|
+
get: {
|
|
720
|
+
tags: ['GDPR'],
|
|
721
|
+
summary: 'Export entity data (GDPR)',
|
|
722
|
+
operationId: 'exportEntityData',
|
|
723
|
+
description: `
|
|
724
|
+
Export all data associated with an entity for GDPR data portability requests.
|
|
725
|
+
|
|
726
|
+
Returns all intents, events, evaluations, and escalations associated with the
|
|
727
|
+
specified entity in a structured format.
|
|
728
|
+
`,
|
|
729
|
+
security: [{ bearerAuth: [] }],
|
|
730
|
+
parameters: [
|
|
731
|
+
{ $ref: '#/components/parameters/TenantId' },
|
|
732
|
+
{
|
|
733
|
+
name: 'entityId',
|
|
734
|
+
in: 'path',
|
|
735
|
+
required: true,
|
|
736
|
+
description: 'Entity UUID to export data for',
|
|
737
|
+
schema: {
|
|
738
|
+
type: 'string',
|
|
739
|
+
format: 'uuid',
|
|
740
|
+
},
|
|
741
|
+
},
|
|
742
|
+
],
|
|
743
|
+
responses: {
|
|
744
|
+
'200': {
|
|
745
|
+
description: 'Entity data export',
|
|
746
|
+
headers: {
|
|
747
|
+
'X-RateLimit-Limit': { $ref: '#/components/headers/X-RateLimit-Limit' },
|
|
748
|
+
'X-RateLimit-Remaining': { $ref: '#/components/headers/X-RateLimit-Remaining' },
|
|
749
|
+
'X-RateLimit-Reset': { $ref: '#/components/headers/X-RateLimit-Reset' },
|
|
750
|
+
},
|
|
751
|
+
content: {
|
|
752
|
+
'application/json': {
|
|
753
|
+
schema: { $ref: '#/components/schemas/GdprDataExport' },
|
|
754
|
+
},
|
|
755
|
+
},
|
|
756
|
+
},
|
|
757
|
+
'401': { $ref: '#/components/responses/Unauthorized' },
|
|
758
|
+
'403': { $ref: '#/components/responses/Forbidden' },
|
|
759
|
+
'404': { $ref: '#/components/responses/NotFound' },
|
|
760
|
+
'429': { $ref: '#/components/responses/TooManyRequests' },
|
|
761
|
+
'500': { $ref: '#/components/responses/InternalError' },
|
|
762
|
+
},
|
|
763
|
+
},
|
|
764
|
+
},
|
|
765
|
+
'/intent/gdpr/erase/{entityId}': {
|
|
766
|
+
delete: {
|
|
767
|
+
tags: ['GDPR'],
|
|
768
|
+
summary: 'Erase entity data (GDPR)',
|
|
769
|
+
operationId: 'eraseEntityData',
|
|
770
|
+
description: `
|
|
771
|
+
Erase all data associated with an entity for GDPR right-to-erasure requests.
|
|
772
|
+
|
|
773
|
+
This operation:
|
|
774
|
+
- Soft deletes all intents for the entity
|
|
775
|
+
- Clears sensitive context and metadata
|
|
776
|
+
- Preserves minimal audit trail for compliance
|
|
777
|
+
|
|
778
|
+
**Note**: Some data may be retained for legal/compliance purposes as documented
|
|
779
|
+
in your data retention policy.
|
|
780
|
+
`,
|
|
781
|
+
security: [{ bearerAuth: [] }],
|
|
782
|
+
parameters: [
|
|
783
|
+
{ $ref: '#/components/parameters/TenantId' },
|
|
784
|
+
{
|
|
785
|
+
name: 'entityId',
|
|
786
|
+
in: 'path',
|
|
787
|
+
required: true,
|
|
788
|
+
description: 'Entity UUID to erase data for',
|
|
789
|
+
schema: {
|
|
790
|
+
type: 'string',
|
|
791
|
+
format: 'uuid',
|
|
792
|
+
},
|
|
793
|
+
},
|
|
794
|
+
],
|
|
795
|
+
responses: {
|
|
796
|
+
'200': {
|
|
797
|
+
description: 'Entity data erased',
|
|
798
|
+
headers: {
|
|
799
|
+
'X-RateLimit-Limit': { $ref: '#/components/headers/X-RateLimit-Limit' },
|
|
800
|
+
'X-RateLimit-Remaining': { $ref: '#/components/headers/X-RateLimit-Remaining' },
|
|
801
|
+
'X-RateLimit-Reset': { $ref: '#/components/headers/X-RateLimit-Reset' },
|
|
802
|
+
},
|
|
803
|
+
content: {
|
|
804
|
+
'application/json': {
|
|
805
|
+
schema: { $ref: '#/components/schemas/GdprEraseResponse' },
|
|
806
|
+
example: {
|
|
807
|
+
entityId: '123e4567-e89b-12d3-a456-426614174000',
|
|
808
|
+
intentsErased: 15,
|
|
809
|
+
erasedAt: '2024-01-15T10:30:00.000Z',
|
|
810
|
+
},
|
|
811
|
+
},
|
|
812
|
+
},
|
|
813
|
+
},
|
|
814
|
+
'401': { $ref: '#/components/responses/Unauthorized' },
|
|
815
|
+
'403': { $ref: '#/components/responses/Forbidden' },
|
|
816
|
+
'404': { $ref: '#/components/responses/NotFound' },
|
|
817
|
+
'429': { $ref: '#/components/responses/TooManyRequests' },
|
|
818
|
+
'500': { $ref: '#/components/responses/InternalError' },
|
|
819
|
+
},
|
|
820
|
+
},
|
|
821
|
+
},
|
|
822
|
+
},
|
|
823
|
+
components: {
|
|
824
|
+
securitySchemes: {
|
|
825
|
+
bearerAuth: {
|
|
826
|
+
type: 'http',
|
|
827
|
+
scheme: 'bearer',
|
|
828
|
+
bearerFormat: 'JWT',
|
|
829
|
+
description: `
|
|
830
|
+
JWT token for authentication. The token must contain:
|
|
831
|
+
- \`tenantId\`: Tenant identifier for multi-tenant isolation
|
|
832
|
+
- \`sub\`: User/entity identifier
|
|
833
|
+
- \`jti\`: Token identifier for revocation support
|
|
834
|
+
- \`exp\`: Expiration timestamp
|
|
835
|
+
`,
|
|
836
|
+
},
|
|
837
|
+
},
|
|
838
|
+
parameters: {
|
|
839
|
+
TenantId: {
|
|
840
|
+
name: 'X-Tenant-ID',
|
|
841
|
+
in: 'header',
|
|
842
|
+
description: 'Tenant identifier (extracted from JWT if not provided)',
|
|
843
|
+
schema: {
|
|
844
|
+
type: 'string',
|
|
845
|
+
},
|
|
846
|
+
},
|
|
847
|
+
IntentId: {
|
|
848
|
+
name: 'id',
|
|
849
|
+
in: 'path',
|
|
850
|
+
required: true,
|
|
851
|
+
description: 'Intent UUID',
|
|
852
|
+
schema: {
|
|
853
|
+
type: 'string',
|
|
854
|
+
format: 'uuid',
|
|
855
|
+
},
|
|
856
|
+
},
|
|
857
|
+
EscalationId: {
|
|
858
|
+
name: 'id',
|
|
859
|
+
in: 'path',
|
|
860
|
+
required: true,
|
|
861
|
+
description: 'Escalation UUID',
|
|
862
|
+
schema: {
|
|
863
|
+
type: 'string',
|
|
864
|
+
format: 'uuid',
|
|
865
|
+
},
|
|
866
|
+
},
|
|
867
|
+
EntityIdFilter: {
|
|
868
|
+
name: 'entityId',
|
|
869
|
+
in: 'query',
|
|
870
|
+
description: 'Filter by entity ID',
|
|
871
|
+
schema: {
|
|
872
|
+
type: 'string',
|
|
873
|
+
format: 'uuid',
|
|
874
|
+
},
|
|
875
|
+
},
|
|
876
|
+
StatusFilter: {
|
|
877
|
+
name: 'status',
|
|
878
|
+
in: 'query',
|
|
879
|
+
description: 'Filter by intent status',
|
|
880
|
+
schema: {
|
|
881
|
+
$ref: '#/components/schemas/IntentStatus',
|
|
882
|
+
},
|
|
883
|
+
},
|
|
884
|
+
Limit: {
|
|
885
|
+
name: 'limit',
|
|
886
|
+
in: 'query',
|
|
887
|
+
description: 'Maximum number of results to return',
|
|
888
|
+
schema: {
|
|
889
|
+
type: 'integer',
|
|
890
|
+
minimum: 1,
|
|
891
|
+
maximum: 100,
|
|
892
|
+
default: 50,
|
|
893
|
+
},
|
|
894
|
+
},
|
|
895
|
+
Cursor: {
|
|
896
|
+
name: 'cursor',
|
|
897
|
+
in: 'query',
|
|
898
|
+
description: 'Pagination cursor (last item ID from previous page)',
|
|
899
|
+
schema: {
|
|
900
|
+
type: 'string',
|
|
901
|
+
format: 'uuid',
|
|
902
|
+
},
|
|
903
|
+
},
|
|
904
|
+
},
|
|
905
|
+
headers: {
|
|
906
|
+
'X-RateLimit-Limit': {
|
|
907
|
+
description: 'Maximum number of requests allowed in the current time window',
|
|
908
|
+
schema: {
|
|
909
|
+
type: 'integer',
|
|
910
|
+
},
|
|
911
|
+
},
|
|
912
|
+
'X-RateLimit-Remaining': {
|
|
913
|
+
description: 'Number of requests remaining in the current time window',
|
|
914
|
+
schema: {
|
|
915
|
+
type: 'integer',
|
|
916
|
+
},
|
|
917
|
+
},
|
|
918
|
+
'X-RateLimit-Reset': {
|
|
919
|
+
description: 'Unix timestamp when the rate limit window resets',
|
|
920
|
+
schema: {
|
|
921
|
+
type: 'integer',
|
|
922
|
+
},
|
|
923
|
+
},
|
|
924
|
+
},
|
|
925
|
+
schemas: {
|
|
926
|
+
IntentSubmission: {
|
|
927
|
+
type: 'object',
|
|
928
|
+
description: 'Request body for submitting a new intent',
|
|
929
|
+
required: ['entityId', 'goal', 'context'],
|
|
930
|
+
properties: {
|
|
931
|
+
entityId: {
|
|
932
|
+
type: 'string',
|
|
933
|
+
format: 'uuid',
|
|
934
|
+
description: 'UUID of the entity (agent, user, service) submitting the intent',
|
|
935
|
+
},
|
|
936
|
+
goal: {
|
|
937
|
+
type: 'string',
|
|
938
|
+
minLength: 1,
|
|
939
|
+
maxLength: 1024,
|
|
940
|
+
description: 'Description of what the intent aims to achieve',
|
|
941
|
+
},
|
|
942
|
+
context: {
|
|
943
|
+
type: 'object',
|
|
944
|
+
additionalProperties: true,
|
|
945
|
+
description: 'Contextual data for intent evaluation (max 64KB)',
|
|
946
|
+
},
|
|
947
|
+
metadata: {
|
|
948
|
+
type: 'object',
|
|
949
|
+
additionalProperties: true,
|
|
950
|
+
description: 'Optional metadata for tracking and filtering',
|
|
951
|
+
},
|
|
952
|
+
intentType: {
|
|
953
|
+
type: 'string',
|
|
954
|
+
minLength: 1,
|
|
955
|
+
maxLength: 128,
|
|
956
|
+
description: 'Type classification for routing and policy matching',
|
|
957
|
+
},
|
|
958
|
+
priority: {
|
|
959
|
+
type: 'integer',
|
|
960
|
+
minimum: 0,
|
|
961
|
+
maximum: 9,
|
|
962
|
+
default: 0,
|
|
963
|
+
description: 'Priority level (0=lowest, 9=highest)',
|
|
964
|
+
},
|
|
965
|
+
idempotencyKey: {
|
|
966
|
+
type: 'string',
|
|
967
|
+
maxLength: 128,
|
|
968
|
+
description: 'Client-provided key for idempotent submissions',
|
|
969
|
+
},
|
|
970
|
+
},
|
|
971
|
+
},
|
|
972
|
+
Intent: {
|
|
973
|
+
type: 'object',
|
|
974
|
+
description: 'An intent representing a goal to be governed',
|
|
975
|
+
required: ['id', 'tenantId', 'entityId', 'goal', 'context', 'metadata', 'status', 'createdAt', 'updatedAt'],
|
|
976
|
+
properties: {
|
|
977
|
+
id: {
|
|
978
|
+
type: 'string',
|
|
979
|
+
format: 'uuid',
|
|
980
|
+
description: 'Unique intent identifier',
|
|
981
|
+
},
|
|
982
|
+
tenantId: {
|
|
983
|
+
type: 'string',
|
|
984
|
+
description: 'Tenant identifier',
|
|
985
|
+
},
|
|
986
|
+
entityId: {
|
|
987
|
+
type: 'string',
|
|
988
|
+
format: 'uuid',
|
|
989
|
+
description: 'Entity that submitted the intent',
|
|
990
|
+
},
|
|
991
|
+
goal: {
|
|
992
|
+
type: 'string',
|
|
993
|
+
description: 'Intent goal description',
|
|
994
|
+
},
|
|
995
|
+
intentType: {
|
|
996
|
+
type: 'string',
|
|
997
|
+
// OpenAPI 3.1 uses type arrays for nullable
|
|
998
|
+
description: 'Intent type classification',
|
|
999
|
+
},
|
|
1000
|
+
context: {
|
|
1001
|
+
type: 'object',
|
|
1002
|
+
additionalProperties: true,
|
|
1003
|
+
description: 'Intent context data',
|
|
1004
|
+
},
|
|
1005
|
+
metadata: {
|
|
1006
|
+
type: 'object',
|
|
1007
|
+
additionalProperties: true,
|
|
1008
|
+
description: 'Intent metadata',
|
|
1009
|
+
},
|
|
1010
|
+
priority: {
|
|
1011
|
+
type: 'integer',
|
|
1012
|
+
description: 'Priority level (0-9)',
|
|
1013
|
+
},
|
|
1014
|
+
status: {
|
|
1015
|
+
$ref: '#/components/schemas/IntentStatus',
|
|
1016
|
+
},
|
|
1017
|
+
trustSnapshot: {
|
|
1018
|
+
type: 'object',
|
|
1019
|
+
// OpenAPI 3.1 uses type arrays for nullable
|
|
1020
|
+
additionalProperties: true,
|
|
1021
|
+
description: 'Trust state snapshot at submission time',
|
|
1022
|
+
},
|
|
1023
|
+
trustLevel: {
|
|
1024
|
+
type: 'integer',
|
|
1025
|
+
// OpenAPI 3.1 uses type arrays for nullable
|
|
1026
|
+
minimum: 0,
|
|
1027
|
+
maximum: 4,
|
|
1028
|
+
description: 'Trust level (L0-L4)',
|
|
1029
|
+
},
|
|
1030
|
+
trustScore: {
|
|
1031
|
+
type: 'integer',
|
|
1032
|
+
// OpenAPI 3.1 uses type arrays for nullable
|
|
1033
|
+
minimum: 0,
|
|
1034
|
+
maximum: 1000,
|
|
1035
|
+
description: 'Trust score (0-1000)',
|
|
1036
|
+
},
|
|
1037
|
+
createdAt: {
|
|
1038
|
+
type: 'string',
|
|
1039
|
+
format: 'date-time',
|
|
1040
|
+
description: 'Creation timestamp',
|
|
1041
|
+
},
|
|
1042
|
+
updatedAt: {
|
|
1043
|
+
type: 'string',
|
|
1044
|
+
format: 'date-time',
|
|
1045
|
+
description: 'Last update timestamp',
|
|
1046
|
+
},
|
|
1047
|
+
deletedAt: {
|
|
1048
|
+
type: ['string', 'null'],
|
|
1049
|
+
format: 'date-time',
|
|
1050
|
+
description: 'Soft delete timestamp (GDPR)',
|
|
1051
|
+
},
|
|
1052
|
+
cancellationReason: {
|
|
1053
|
+
type: ['string', 'null'],
|
|
1054
|
+
description: 'Reason for cancellation if cancelled',
|
|
1055
|
+
},
|
|
1056
|
+
},
|
|
1057
|
+
},
|
|
1058
|
+
IntentStatus: {
|
|
1059
|
+
type: 'string',
|
|
1060
|
+
enum: ['pending', 'evaluating', 'approved', 'denied', 'escalated', 'executing', 'completed', 'failed', 'cancelled'],
|
|
1061
|
+
description: `Intent lifecycle status:
|
|
1062
|
+
- \`pending\`: Awaiting evaluation
|
|
1063
|
+
- \`evaluating\`: Being evaluated by the policy engine
|
|
1064
|
+
- \`approved\`: Approved for execution
|
|
1065
|
+
- \`denied\`: Denied by policy
|
|
1066
|
+
- \`escalated\`: Awaiting human approval
|
|
1067
|
+
- \`executing\`: Currently executing
|
|
1068
|
+
- \`completed\`: Successfully completed
|
|
1069
|
+
- \`failed\`: Execution failed
|
|
1070
|
+
- \`cancelled\`: Cancelled by user or system`,
|
|
1071
|
+
},
|
|
1072
|
+
IntentWithEvents: {
|
|
1073
|
+
allOf: [
|
|
1074
|
+
{ $ref: '#/components/schemas/Intent' },
|
|
1075
|
+
{
|
|
1076
|
+
type: 'object',
|
|
1077
|
+
properties: {
|
|
1078
|
+
events: {
|
|
1079
|
+
type: 'array',
|
|
1080
|
+
items: { $ref: '#/components/schemas/IntentEvent' },
|
|
1081
|
+
description: 'Recent events for this intent',
|
|
1082
|
+
},
|
|
1083
|
+
evaluations: {
|
|
1084
|
+
type: 'array',
|
|
1085
|
+
items: { $ref: '#/components/schemas/IntentEvaluation' },
|
|
1086
|
+
description: 'Evaluation records for this intent',
|
|
1087
|
+
},
|
|
1088
|
+
},
|
|
1089
|
+
},
|
|
1090
|
+
],
|
|
1091
|
+
},
|
|
1092
|
+
IntentEvent: {
|
|
1093
|
+
type: 'object',
|
|
1094
|
+
description: 'An event in the intent lifecycle',
|
|
1095
|
+
required: ['id', 'intentId', 'eventType', 'payload', 'occurredAt'],
|
|
1096
|
+
properties: {
|
|
1097
|
+
id: {
|
|
1098
|
+
type: 'string',
|
|
1099
|
+
format: 'uuid',
|
|
1100
|
+
description: 'Event identifier',
|
|
1101
|
+
},
|
|
1102
|
+
intentId: {
|
|
1103
|
+
type: 'string',
|
|
1104
|
+
format: 'uuid',
|
|
1105
|
+
description: 'Associated intent ID',
|
|
1106
|
+
},
|
|
1107
|
+
eventType: {
|
|
1108
|
+
type: 'string',
|
|
1109
|
+
description: 'Event type (e.g., intent.submitted, intent.approved)',
|
|
1110
|
+
},
|
|
1111
|
+
payload: {
|
|
1112
|
+
type: 'object',
|
|
1113
|
+
additionalProperties: true,
|
|
1114
|
+
description: 'Event payload data',
|
|
1115
|
+
},
|
|
1116
|
+
occurredAt: {
|
|
1117
|
+
type: 'string',
|
|
1118
|
+
format: 'date-time',
|
|
1119
|
+
description: 'Event occurrence timestamp',
|
|
1120
|
+
},
|
|
1121
|
+
hash: {
|
|
1122
|
+
type: 'string',
|
|
1123
|
+
// OpenAPI 3.1 uses type arrays for nullable
|
|
1124
|
+
description: 'SHA-256 hash for tamper detection',
|
|
1125
|
+
},
|
|
1126
|
+
previousHash: {
|
|
1127
|
+
type: 'string',
|
|
1128
|
+
// OpenAPI 3.1 uses type arrays for nullable
|
|
1129
|
+
description: 'Previous event hash for chain integrity',
|
|
1130
|
+
},
|
|
1131
|
+
},
|
|
1132
|
+
},
|
|
1133
|
+
IntentEvaluation: {
|
|
1134
|
+
type: 'object',
|
|
1135
|
+
description: 'An evaluation record for an intent',
|
|
1136
|
+
required: ['id', 'intentId', 'tenantId', 'result', 'createdAt'],
|
|
1137
|
+
properties: {
|
|
1138
|
+
id: {
|
|
1139
|
+
type: 'string',
|
|
1140
|
+
format: 'uuid',
|
|
1141
|
+
description: 'Evaluation identifier',
|
|
1142
|
+
},
|
|
1143
|
+
intentId: {
|
|
1144
|
+
type: 'string',
|
|
1145
|
+
format: 'uuid',
|
|
1146
|
+
description: 'Associated intent ID',
|
|
1147
|
+
},
|
|
1148
|
+
tenantId: {
|
|
1149
|
+
type: 'string',
|
|
1150
|
+
description: 'Tenant identifier',
|
|
1151
|
+
},
|
|
1152
|
+
result: {
|
|
1153
|
+
$ref: '#/components/schemas/EvaluationPayload',
|
|
1154
|
+
},
|
|
1155
|
+
createdAt: {
|
|
1156
|
+
type: 'string',
|
|
1157
|
+
format: 'date-time',
|
|
1158
|
+
description: 'Evaluation timestamp',
|
|
1159
|
+
},
|
|
1160
|
+
},
|
|
1161
|
+
},
|
|
1162
|
+
EvaluationPayload: {
|
|
1163
|
+
type: 'object',
|
|
1164
|
+
description: 'Evaluation result data by stage',
|
|
1165
|
+
required: ['stage'],
|
|
1166
|
+
properties: {
|
|
1167
|
+
stage: {
|
|
1168
|
+
type: 'string',
|
|
1169
|
+
enum: ['trust-snapshot', 'trust-gate', 'basis', 'decision', 'error', 'cancelled'],
|
|
1170
|
+
description: 'Evaluation stage',
|
|
1171
|
+
},
|
|
1172
|
+
},
|
|
1173
|
+
discriminator: {
|
|
1174
|
+
propertyName: 'stage',
|
|
1175
|
+
},
|
|
1176
|
+
oneOf: [
|
|
1177
|
+
{
|
|
1178
|
+
type: 'object',
|
|
1179
|
+
properties: {
|
|
1180
|
+
stage: { type: 'string', const: 'trust-snapshot' },
|
|
1181
|
+
result: { type: 'object' }, // nullable in 3.0
|
|
1182
|
+
},
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
type: 'object',
|
|
1186
|
+
properties: {
|
|
1187
|
+
stage: { type: 'string', const: 'trust-gate' },
|
|
1188
|
+
passed: { type: 'boolean' },
|
|
1189
|
+
requiredLevel: { type: 'integer' },
|
|
1190
|
+
actualLevel: { type: 'integer' },
|
|
1191
|
+
},
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
type: 'object',
|
|
1195
|
+
properties: {
|
|
1196
|
+
stage: { type: 'string', const: 'basis' },
|
|
1197
|
+
evaluation: { type: 'object' },
|
|
1198
|
+
namespace: { type: 'string' },
|
|
1199
|
+
},
|
|
1200
|
+
},
|
|
1201
|
+
{
|
|
1202
|
+
type: 'object',
|
|
1203
|
+
properties: {
|
|
1204
|
+
stage: { type: 'string', const: 'decision' },
|
|
1205
|
+
decision: { type: 'object' },
|
|
1206
|
+
},
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
type: 'object',
|
|
1210
|
+
properties: {
|
|
1211
|
+
stage: { type: 'string', const: 'error' },
|
|
1212
|
+
error: {
|
|
1213
|
+
type: 'object',
|
|
1214
|
+
properties: {
|
|
1215
|
+
message: { type: 'string' },
|
|
1216
|
+
timestamp: { type: 'string', format: 'date-time' },
|
|
1217
|
+
},
|
|
1218
|
+
},
|
|
1219
|
+
},
|
|
1220
|
+
},
|
|
1221
|
+
{
|
|
1222
|
+
type: 'object',
|
|
1223
|
+
properties: {
|
|
1224
|
+
stage: { type: 'string', const: 'cancelled' },
|
|
1225
|
+
reason: { type: 'string' },
|
|
1226
|
+
cancelledBy: { type: 'string' },
|
|
1227
|
+
},
|
|
1228
|
+
},
|
|
1229
|
+
],
|
|
1230
|
+
},
|
|
1231
|
+
IntentListResponse: {
|
|
1232
|
+
type: 'object',
|
|
1233
|
+
required: ['data', 'pagination'],
|
|
1234
|
+
properties: {
|
|
1235
|
+
data: {
|
|
1236
|
+
type: 'array',
|
|
1237
|
+
items: { $ref: '#/components/schemas/Intent' },
|
|
1238
|
+
},
|
|
1239
|
+
pagination: {
|
|
1240
|
+
type: 'object',
|
|
1241
|
+
properties: {
|
|
1242
|
+
nextCursor: {
|
|
1243
|
+
type: 'string',
|
|
1244
|
+
format: 'uuid',
|
|
1245
|
+
description: 'Cursor for next page',
|
|
1246
|
+
},
|
|
1247
|
+
hasMore: {
|
|
1248
|
+
type: 'boolean',
|
|
1249
|
+
description: 'Whether more results are available',
|
|
1250
|
+
},
|
|
1251
|
+
},
|
|
1252
|
+
},
|
|
1253
|
+
},
|
|
1254
|
+
},
|
|
1255
|
+
CancelIntentRequest: {
|
|
1256
|
+
type: 'object',
|
|
1257
|
+
required: ['reason'],
|
|
1258
|
+
properties: {
|
|
1259
|
+
reason: {
|
|
1260
|
+
type: 'string',
|
|
1261
|
+
minLength: 1,
|
|
1262
|
+
maxLength: 500,
|
|
1263
|
+
description: 'Reason for cancellation',
|
|
1264
|
+
},
|
|
1265
|
+
},
|
|
1266
|
+
},
|
|
1267
|
+
EscalateIntentRequest: {
|
|
1268
|
+
type: 'object',
|
|
1269
|
+
required: ['reason', 'reasonCategory', 'escalatedTo'],
|
|
1270
|
+
properties: {
|
|
1271
|
+
reason: {
|
|
1272
|
+
type: 'string',
|
|
1273
|
+
description: 'Human-readable reason for escalation',
|
|
1274
|
+
},
|
|
1275
|
+
reasonCategory: {
|
|
1276
|
+
$ref: '#/components/schemas/EscalationReasonCategory',
|
|
1277
|
+
},
|
|
1278
|
+
escalatedTo: {
|
|
1279
|
+
type: 'string',
|
|
1280
|
+
description: 'User ID, role, or group to escalate to',
|
|
1281
|
+
},
|
|
1282
|
+
timeout: {
|
|
1283
|
+
type: 'string',
|
|
1284
|
+
pattern: '^P(?:\\d+D)?(?:T(?:\\d+H)?(?:\\d+M)?(?:\\d+S)?)?$',
|
|
1285
|
+
default: 'PT1H',
|
|
1286
|
+
description: 'ISO 8601 duration for escalation timeout',
|
|
1287
|
+
},
|
|
1288
|
+
context: {
|
|
1289
|
+
type: 'object',
|
|
1290
|
+
additionalProperties: true,
|
|
1291
|
+
description: 'Additional context for the approver',
|
|
1292
|
+
},
|
|
1293
|
+
},
|
|
1294
|
+
},
|
|
1295
|
+
Escalation: {
|
|
1296
|
+
type: 'object',
|
|
1297
|
+
description: 'An escalation requiring human approval',
|
|
1298
|
+
required: ['id', 'intentId', 'tenantId', 'reason', 'reasonCategory', 'escalatedTo', 'status', 'timeout', 'timeoutAt', 'slaBreached', 'createdAt', 'updatedAt'],
|
|
1299
|
+
properties: {
|
|
1300
|
+
id: {
|
|
1301
|
+
type: 'string',
|
|
1302
|
+
format: 'uuid',
|
|
1303
|
+
description: 'Escalation identifier',
|
|
1304
|
+
},
|
|
1305
|
+
intentId: {
|
|
1306
|
+
type: 'string',
|
|
1307
|
+
format: 'uuid',
|
|
1308
|
+
description: 'Associated intent ID',
|
|
1309
|
+
},
|
|
1310
|
+
tenantId: {
|
|
1311
|
+
type: 'string',
|
|
1312
|
+
description: 'Tenant identifier',
|
|
1313
|
+
},
|
|
1314
|
+
reason: {
|
|
1315
|
+
type: 'string',
|
|
1316
|
+
description: 'Reason for escalation',
|
|
1317
|
+
},
|
|
1318
|
+
reasonCategory: {
|
|
1319
|
+
$ref: '#/components/schemas/EscalationReasonCategory',
|
|
1320
|
+
},
|
|
1321
|
+
escalatedTo: {
|
|
1322
|
+
type: 'string',
|
|
1323
|
+
description: 'Target user, role, or group',
|
|
1324
|
+
},
|
|
1325
|
+
escalatedBy: {
|
|
1326
|
+
type: 'string',
|
|
1327
|
+
description: 'Entity that created the escalation',
|
|
1328
|
+
},
|
|
1329
|
+
status: {
|
|
1330
|
+
$ref: '#/components/schemas/EscalationStatus',
|
|
1331
|
+
},
|
|
1332
|
+
resolution: {
|
|
1333
|
+
type: ['object', 'null'],
|
|
1334
|
+
properties: {
|
|
1335
|
+
resolvedBy: { type: 'string' },
|
|
1336
|
+
resolvedAt: { type: 'string', format: 'date-time' },
|
|
1337
|
+
notes: { type: 'string' },
|
|
1338
|
+
},
|
|
1339
|
+
},
|
|
1340
|
+
timeout: {
|
|
1341
|
+
type: 'string',
|
|
1342
|
+
description: 'ISO 8601 duration',
|
|
1343
|
+
},
|
|
1344
|
+
timeoutAt: {
|
|
1345
|
+
type: 'string',
|
|
1346
|
+
format: 'date-time',
|
|
1347
|
+
description: 'Timeout deadline',
|
|
1348
|
+
},
|
|
1349
|
+
acknowledgedAt: {
|
|
1350
|
+
type: 'string',
|
|
1351
|
+
format: 'date-time',
|
|
1352
|
+
// OpenAPI 3.1 uses type arrays for nullable
|
|
1353
|
+
description: 'When the escalation was acknowledged',
|
|
1354
|
+
},
|
|
1355
|
+
slaBreached: {
|
|
1356
|
+
type: 'boolean',
|
|
1357
|
+
description: 'Whether the SLA was breached',
|
|
1358
|
+
},
|
|
1359
|
+
context: {
|
|
1360
|
+
type: 'object',
|
|
1361
|
+
// OpenAPI 3.1 uses type arrays for nullable
|
|
1362
|
+
additionalProperties: true,
|
|
1363
|
+
description: 'Escalation context',
|
|
1364
|
+
},
|
|
1365
|
+
metadata: {
|
|
1366
|
+
type: 'object',
|
|
1367
|
+
// OpenAPI 3.1 uses type arrays for nullable
|
|
1368
|
+
additionalProperties: true,
|
|
1369
|
+
description: 'Escalation metadata',
|
|
1370
|
+
},
|
|
1371
|
+
createdAt: {
|
|
1372
|
+
type: 'string',
|
|
1373
|
+
format: 'date-time',
|
|
1374
|
+
description: 'Creation timestamp',
|
|
1375
|
+
},
|
|
1376
|
+
updatedAt: {
|
|
1377
|
+
type: 'string',
|
|
1378
|
+
format: 'date-time',
|
|
1379
|
+
description: 'Last update timestamp',
|
|
1380
|
+
},
|
|
1381
|
+
},
|
|
1382
|
+
},
|
|
1383
|
+
EscalationStatus: {
|
|
1384
|
+
type: 'string',
|
|
1385
|
+
enum: ['pending', 'acknowledged', 'approved', 'rejected', 'timeout', 'cancelled'],
|
|
1386
|
+
description: `Escalation status:
|
|
1387
|
+
- \`pending\`: Awaiting acknowledgment
|
|
1388
|
+
- \`acknowledged\`: Acknowledged by approver
|
|
1389
|
+
- \`approved\`: Approved by approver
|
|
1390
|
+
- \`rejected\`: Rejected by approver
|
|
1391
|
+
- \`timeout\`: Timed out without resolution
|
|
1392
|
+
- \`cancelled\`: Cancelled`,
|
|
1393
|
+
},
|
|
1394
|
+
EscalationReasonCategory: {
|
|
1395
|
+
type: 'string',
|
|
1396
|
+
enum: ['trust_insufficient', 'high_risk', 'policy_violation', 'manual_review', 'constraint_escalate'],
|
|
1397
|
+
description: `Reason for escalation:
|
|
1398
|
+
- \`trust_insufficient\`: Entity trust level too low
|
|
1399
|
+
- \`high_risk\`: High-risk operation detected
|
|
1400
|
+
- \`policy_violation\`: Policy rule triggered escalation
|
|
1401
|
+
- \`manual_review\`: Requires manual review
|
|
1402
|
+
- \`constraint_escalate\`: Constraint evaluation triggered escalation`,
|
|
1403
|
+
},
|
|
1404
|
+
ResolveEscalationRequest: {
|
|
1405
|
+
type: 'object',
|
|
1406
|
+
required: ['resolution'],
|
|
1407
|
+
properties: {
|
|
1408
|
+
resolution: {
|
|
1409
|
+
type: 'string',
|
|
1410
|
+
enum: ['approved', 'rejected'],
|
|
1411
|
+
description: 'Resolution decision',
|
|
1412
|
+
},
|
|
1413
|
+
notes: {
|
|
1414
|
+
type: 'string',
|
|
1415
|
+
maxLength: 1000,
|
|
1416
|
+
description: 'Optional notes explaining the decision',
|
|
1417
|
+
},
|
|
1418
|
+
},
|
|
1419
|
+
},
|
|
1420
|
+
ChainVerificationResult: {
|
|
1421
|
+
type: 'object',
|
|
1422
|
+
description: 'Result of cryptographic event chain verification',
|
|
1423
|
+
required: ['valid'],
|
|
1424
|
+
properties: {
|
|
1425
|
+
valid: {
|
|
1426
|
+
type: 'boolean',
|
|
1427
|
+
description: 'Whether the chain is valid',
|
|
1428
|
+
},
|
|
1429
|
+
invalidAt: {
|
|
1430
|
+
type: 'integer',
|
|
1431
|
+
description: 'Index of first invalid event (if invalid)',
|
|
1432
|
+
},
|
|
1433
|
+
error: {
|
|
1434
|
+
type: 'string',
|
|
1435
|
+
description: 'Error description (if invalid)',
|
|
1436
|
+
},
|
|
1437
|
+
},
|
|
1438
|
+
},
|
|
1439
|
+
HealthResponse: {
|
|
1440
|
+
type: 'object',
|
|
1441
|
+
description: 'Health check response with service status and dependency checks',
|
|
1442
|
+
required: ['status', 'timestamp'],
|
|
1443
|
+
properties: {
|
|
1444
|
+
status: {
|
|
1445
|
+
type: 'string',
|
|
1446
|
+
enum: ['healthy', 'degraded', 'unhealthy'],
|
|
1447
|
+
description: 'Overall health status',
|
|
1448
|
+
},
|
|
1449
|
+
timestamp: {
|
|
1450
|
+
type: 'string',
|
|
1451
|
+
format: 'date-time',
|
|
1452
|
+
description: 'Health check timestamp',
|
|
1453
|
+
},
|
|
1454
|
+
checks: {
|
|
1455
|
+
type: 'object',
|
|
1456
|
+
properties: {
|
|
1457
|
+
database: {
|
|
1458
|
+
type: 'object',
|
|
1459
|
+
properties: {
|
|
1460
|
+
status: { type: 'string', enum: ['ok', 'error', 'timeout'] },
|
|
1461
|
+
latencyMs: { type: 'integer' },
|
|
1462
|
+
error: { type: 'string' },
|
|
1463
|
+
},
|
|
1464
|
+
},
|
|
1465
|
+
redis: {
|
|
1466
|
+
type: 'object',
|
|
1467
|
+
properties: {
|
|
1468
|
+
status: { type: 'string', enum: ['ok', 'error', 'timeout'] },
|
|
1469
|
+
latencyMs: { type: 'integer' },
|
|
1470
|
+
error: { type: 'string' },
|
|
1471
|
+
},
|
|
1472
|
+
},
|
|
1473
|
+
queues: {
|
|
1474
|
+
type: 'object',
|
|
1475
|
+
properties: {
|
|
1476
|
+
status: { type: 'string', enum: ['ok', 'error'] },
|
|
1477
|
+
error: { type: 'string' },
|
|
1478
|
+
},
|
|
1479
|
+
},
|
|
1480
|
+
},
|
|
1481
|
+
},
|
|
1482
|
+
},
|
|
1483
|
+
},
|
|
1484
|
+
GdprDataExport: {
|
|
1485
|
+
type: 'object',
|
|
1486
|
+
description: 'GDPR data export containing all data associated with an entity',
|
|
1487
|
+
required: ['entityId', 'exportedAt', 'intents'],
|
|
1488
|
+
properties: {
|
|
1489
|
+
entityId: {
|
|
1490
|
+
type: 'string',
|
|
1491
|
+
format: 'uuid',
|
|
1492
|
+
description: 'Entity identifier',
|
|
1493
|
+
},
|
|
1494
|
+
exportedAt: {
|
|
1495
|
+
type: 'string',
|
|
1496
|
+
format: 'date-time',
|
|
1497
|
+
description: 'Export timestamp',
|
|
1498
|
+
},
|
|
1499
|
+
intents: {
|
|
1500
|
+
type: 'array',
|
|
1501
|
+
items: { $ref: '#/components/schemas/IntentWithEvents' },
|
|
1502
|
+
description: 'All intents for the entity',
|
|
1503
|
+
},
|
|
1504
|
+
escalations: {
|
|
1505
|
+
type: 'array',
|
|
1506
|
+
items: { $ref: '#/components/schemas/Escalation' },
|
|
1507
|
+
description: 'All escalations for the entity',
|
|
1508
|
+
},
|
|
1509
|
+
},
|
|
1510
|
+
},
|
|
1511
|
+
GdprEraseResponse: {
|
|
1512
|
+
type: 'object',
|
|
1513
|
+
description: 'Response from GDPR data erasure request with count of erased records',
|
|
1514
|
+
required: ['entityId', 'intentsErased', 'erasedAt'],
|
|
1515
|
+
properties: {
|
|
1516
|
+
entityId: {
|
|
1517
|
+
type: 'string',
|
|
1518
|
+
format: 'uuid',
|
|
1519
|
+
description: 'Entity identifier',
|
|
1520
|
+
},
|
|
1521
|
+
intentsErased: {
|
|
1522
|
+
type: 'integer',
|
|
1523
|
+
description: 'Number of intents erased',
|
|
1524
|
+
},
|
|
1525
|
+
erasedAt: {
|
|
1526
|
+
type: 'string',
|
|
1527
|
+
format: 'date-time',
|
|
1528
|
+
description: 'Erasure timestamp',
|
|
1529
|
+
},
|
|
1530
|
+
},
|
|
1531
|
+
},
|
|
1532
|
+
Error: {
|
|
1533
|
+
type: 'object',
|
|
1534
|
+
description: 'Standard error response wrapper',
|
|
1535
|
+
required: ['error'],
|
|
1536
|
+
properties: {
|
|
1537
|
+
error: {
|
|
1538
|
+
type: 'object',
|
|
1539
|
+
required: ['code', 'message'],
|
|
1540
|
+
properties: {
|
|
1541
|
+
code: {
|
|
1542
|
+
type: 'string',
|
|
1543
|
+
description: 'Error code',
|
|
1544
|
+
},
|
|
1545
|
+
message: {
|
|
1546
|
+
type: 'string',
|
|
1547
|
+
description: 'Human-readable error message',
|
|
1548
|
+
},
|
|
1549
|
+
details: {
|
|
1550
|
+
type: 'object',
|
|
1551
|
+
additionalProperties: true,
|
|
1552
|
+
description: 'Additional error details',
|
|
1553
|
+
},
|
|
1554
|
+
},
|
|
1555
|
+
},
|
|
1556
|
+
},
|
|
1557
|
+
},
|
|
1558
|
+
},
|
|
1559
|
+
responses: {
|
|
1560
|
+
BadRequest: {
|
|
1561
|
+
description: 'Bad request - invalid input parameters',
|
|
1562
|
+
content: {
|
|
1563
|
+
'application/json': {
|
|
1564
|
+
schema: { $ref: '#/components/schemas/Error' },
|
|
1565
|
+
example: {
|
|
1566
|
+
error: {
|
|
1567
|
+
code: 'VALIDATION_ERROR',
|
|
1568
|
+
message: 'Invalid request body',
|
|
1569
|
+
details: {
|
|
1570
|
+
field: 'entityId',
|
|
1571
|
+
issue: 'Must be a valid UUID',
|
|
1572
|
+
},
|
|
1573
|
+
},
|
|
1574
|
+
},
|
|
1575
|
+
},
|
|
1576
|
+
},
|
|
1577
|
+
},
|
|
1578
|
+
Unauthorized: {
|
|
1579
|
+
description: 'Unauthorized - missing or invalid authentication',
|
|
1580
|
+
content: {
|
|
1581
|
+
'application/json': {
|
|
1582
|
+
schema: { $ref: '#/components/schemas/Error' },
|
|
1583
|
+
example: {
|
|
1584
|
+
error: {
|
|
1585
|
+
code: 'UNAUTHORIZED',
|
|
1586
|
+
message: 'Authentication required',
|
|
1587
|
+
},
|
|
1588
|
+
},
|
|
1589
|
+
},
|
|
1590
|
+
},
|
|
1591
|
+
},
|
|
1592
|
+
Forbidden: {
|
|
1593
|
+
description: 'Forbidden - insufficient permissions',
|
|
1594
|
+
content: {
|
|
1595
|
+
'application/json': {
|
|
1596
|
+
schema: { $ref: '#/components/schemas/Error' },
|
|
1597
|
+
example: {
|
|
1598
|
+
error: {
|
|
1599
|
+
code: 'FORBIDDEN',
|
|
1600
|
+
message: 'Insufficient permissions to access this resource',
|
|
1601
|
+
},
|
|
1602
|
+
},
|
|
1603
|
+
},
|
|
1604
|
+
},
|
|
1605
|
+
},
|
|
1606
|
+
NotFound: {
|
|
1607
|
+
description: 'Resource not found',
|
|
1608
|
+
content: {
|
|
1609
|
+
'application/json': {
|
|
1610
|
+
schema: { $ref: '#/components/schemas/Error' },
|
|
1611
|
+
example: {
|
|
1612
|
+
error: {
|
|
1613
|
+
code: 'NOT_FOUND',
|
|
1614
|
+
message: 'Intent not found',
|
|
1615
|
+
},
|
|
1616
|
+
},
|
|
1617
|
+
},
|
|
1618
|
+
},
|
|
1619
|
+
},
|
|
1620
|
+
TooManyRequests: {
|
|
1621
|
+
description: 'Rate limit exceeded',
|
|
1622
|
+
headers: {
|
|
1623
|
+
'Retry-After': {
|
|
1624
|
+
description: 'Seconds to wait before retrying',
|
|
1625
|
+
schema: {
|
|
1626
|
+
type: 'integer',
|
|
1627
|
+
},
|
|
1628
|
+
},
|
|
1629
|
+
},
|
|
1630
|
+
content: {
|
|
1631
|
+
'application/json': {
|
|
1632
|
+
schema: { $ref: '#/components/schemas/Error' },
|
|
1633
|
+
example: {
|
|
1634
|
+
error: {
|
|
1635
|
+
code: 'RATE_LIMIT_EXCEEDED',
|
|
1636
|
+
message: 'Too many requests, please retry after 60 seconds',
|
|
1637
|
+
},
|
|
1638
|
+
},
|
|
1639
|
+
},
|
|
1640
|
+
},
|
|
1641
|
+
},
|
|
1642
|
+
InternalError: {
|
|
1643
|
+
description: 'Internal server error',
|
|
1644
|
+
content: {
|
|
1645
|
+
'application/json': {
|
|
1646
|
+
schema: { $ref: '#/components/schemas/Error' },
|
|
1647
|
+
example: {
|
|
1648
|
+
error: {
|
|
1649
|
+
code: 'INTERNAL_ERROR',
|
|
1650
|
+
message: 'An unexpected error occurred',
|
|
1651
|
+
},
|
|
1652
|
+
},
|
|
1653
|
+
},
|
|
1654
|
+
},
|
|
1655
|
+
},
|
|
1656
|
+
},
|
|
1657
|
+
},
|
|
1658
|
+
security: [
|
|
1659
|
+
{ bearerAuth: [] },
|
|
1660
|
+
],
|
|
1661
|
+
};
|
|
1662
|
+
/**
|
|
1663
|
+
* Get the OpenAPI specification as a JSON string
|
|
1664
|
+
*/
|
|
1665
|
+
export function getOpenApiSpecJson() {
|
|
1666
|
+
return JSON.stringify(intentOpenApiSpec, null, 2);
|
|
1667
|
+
}
|
|
1668
|
+
/**
|
|
1669
|
+
* Get the OpenAPI specification object
|
|
1670
|
+
*/
|
|
1671
|
+
export function getOpenApiSpec() {
|
|
1672
|
+
return intentOpenApiSpec;
|
|
1673
|
+
}
|
|
1674
|
+
//# sourceMappingURL=openapi.js.map
|